EMR / Paginator / ListBootstrapActions

ListBootstrapActions#

class EMR.Paginator.ListBootstrapActions#
paginator = client.get_paginator('list_bootstrap_actions')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from EMR.Client.list_bootstrap_actions().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    ClusterId='string',
    PaginationConfig={
        'MaxItems': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • ClusterId (string) –

    [REQUIRED]

    The cluster identifier for the bootstrap actions to list.

  • PaginationConfig (dict) –

    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.

Return type:

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.