list_bootstrap_actions

list_bootstrap_actions(**kwargs)

Provides information about the bootstrap actions associated with a cluster.

See also: AWS API Documentation

Request Syntax

response = client.list_bootstrap_actions(
    ClusterId='string',
    Marker='string'
)
Parameters
  • ClusterId (string) --

    [REQUIRED]

    The cluster identifier for the bootstrap actions to list.

  • Marker (string) -- The pagination token that indicates the next set of results to retrieve.
Return type

dict

Returns

Response Syntax

{
    'BootstrapActions': [
        {
            'Name': 'string',
            'ScriptPath': 'string',
            'Args': [
                'string',
            ]
        },
    ],
    'Marker': '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) --
    • Marker (string) --

      The pagination token that indicates the next set of results to retrieve.

Exceptions

  • EMR.Client.exceptions.InternalServerException
  • EMR.Client.exceptions.InvalidRequestException