BedrockAgentCoreControlPlaneFrontingLayer / Paginator / ListCodeInterpreters

ListCodeInterpreters

class BedrockAgentCoreControlPlaneFrontingLayer.Paginator.ListCodeInterpreters
paginator = client.get_paginator('list_code_interpreters')
paginate(**kwargs)

Creates an iterator that will paginate through responses from BedrockAgentCoreControlPlaneFrontingLayer.Client.list_code_interpreters().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    type='SYSTEM'|'CUSTOM',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • type (string) – The type of code interpreters 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.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

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

Return type:

dict

Returns:

Response Syntax

{
    'codeInterpreterSummaries': [
        {
            'codeInterpreterId': 'string',
            'codeInterpreterArn': 'string',
            'name': 'string',
            'description': 'string',
            'status': 'CREATING'|'CREATE_FAILED'|'READY'|'DELETING'|'DELETE_FAILED'|'DELETED',
            'createdAt': datetime(2015, 1, 1),
            'lastUpdatedAt': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • codeInterpreterSummaries (list) –

      The list of code interpreter summaries.

      • (dict) –

        Contains summary information about a code interpreter. A code interpreter enables Amazon Bedrock Agent to execute code.

        • codeInterpreterId (string) –

          The unique identifier of the code interpreter.

        • codeInterpreterArn (string) –

          The Amazon Resource Name (ARN) of the code interpreter.

        • name (string) –

          The name of the code interpreter.

        • description (string) –

          The description of the code interpreter.

        • status (string) –

          The current status of the code interpreter.

        • createdAt (datetime) –

          The timestamp when the code interpreter was created.

        • lastUpdatedAt (datetime) –

          The timestamp when the code interpreter was last updated.

    • NextToken (string) –

      A token to resume pagination.