:doc:`EMR <../../emr>` / Paginator / ListBootstrapActions

********************
ListBootstrapActions
********************



.. py:class:: EMR.Paginator.ListBootstrapActions

  ::

    
    paginator = client.get_paginator('list_bootstrap_actions')

  
  

  .. py:method:: paginate(**kwargs)

    Creates an iterator that will paginate through responses from :py:meth:`EMR.Client.list_bootstrap_actions`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListBootstrapActions>`_    


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          ClusterId='string',
          PaginationConfig={
              'MaxItems': 123,
              'StartingToken': 'string'
          }
      )
      
    :type ClusterId: string
    :param ClusterId: **[REQUIRED]** 

      The cluster identifier for the bootstrap actions to list.

      

    
    :type PaginationConfig: dict
    :param PaginationConfig: 

      A dictionary that provides parameters to control pagination.

      

    
      - **MaxItems** *(integer) --* 

        The total number of items to return. If the total number of items available is more than the value specified in max-items then a ``NextToken`` will be provided in the output that you can use to resume pagination.

        

      
      - **StartingToken** *(string) --* 

        A token to specify where to start paginating. This is the ``NextToken`` from a previous response.

        

      
    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax**

      
      ::

        {
            'BootstrapActions': [
                {
                    'Name': 'string',
                    'ScriptPath': 'string',
                    'Args': [
                        'string',
                    ]
                },
            ],
            'NextToken': 'string'
        }
        
      **Response Structure**

      

      - *(dict) --* 

        This output contains the bootstrap actions detail.

        
        

        - **BootstrapActions** *(list) --* 

          The bootstrap actions associated with the cluster.

          
          

          - *(dict) --* 

            An entity describing an executable that runs on a cluster.

            
            

            - **Name** *(string) --* 

              The name of the command.

              
            

            - **ScriptPath** *(string) --* 

              The Amazon S3 location of the command script.

              
            

            - **Args** *(list) --* 

              Arguments for Amazon EMR to pass to the command for execution.

              
              

              - *(string) --* 
          
        
      
        

        - **NextToken** *(string) --* 

          A token to resume pagination.

          
    