BedrockAgentCoreControlPlaneFrontingLayer / Client / list_code_interpreters
list_code_interpreters¶
- BedrockAgentCoreControlPlaneFrontingLayer.Client.list_code_interpreters(**kwargs)¶
Lists all custom code interpreters in your account.
See also: AWS API Documentation
Request Syntax
response = client.list_code_interpreters( maxResults=123, nextToken='string', type='SYSTEM'|'CUSTOM' )
- Parameters:
maxResults (integer) – The maximum number of results to return in the response.
nextToken (string) – A token to retrieve the next page of results.
type (string) – The type of code interpreters to list.
- 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 retrieve the next page of results.
Exceptions
BedrockAgentCoreControlPlaneFrontingLayer.Client.exceptions.AccessDeniedException
BedrockAgentCoreControlPlaneFrontingLayer.Client.exceptions.ValidationException
BedrockAgentCoreControlPlaneFrontingLayer.Client.exceptions.ThrottlingException
BedrockAgentCoreControlPlaneFrontingLayer.Client.exceptions.InternalServerException