v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-141531,219979.8 KB

Creates a custom code interpreter.

put/code-interpreters

Request body

namestring required

The name of the code interpreter. The name must be unique within your account.

descriptionstring password

The description of the code interpreter.

executionRoleArnstring

The Amazon Resource Name (ARN) of the IAM role that provides permissions for the code interpreter to access Amazon Web Services services.

clientTokenstring

A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock AgentCore ignores the request but does not return an error.

tagsobject

A map of tag keys and values to assign to the code interpreter. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.

Response

Success

codeInterpreterIdstring required

The unique identifier of the created code interpreter.

codeInterpreterArnstring required

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

createdAtstring date-time required

The timestamp when the code interpreter was created.

status'CREATING' | 'CREATE_FAILED' | 'READY' | 'DELETING' | 'DELETE_FAILED' | 'DELETED' required

The current status of the code interpreter.