<?php
// This file was auto-generated from sdk-root/src/data/bedrock-agentcore/2024-02-28/api-2.json
return [ 'version' => '2.0', 'metadata' => [ 'apiVersion' => '2024-02-28', 'auth' => [ 'aws.auth#sigv4', ], 'endpointPrefix' => 'bedrock-agentcore', 'protocol' => 'rest-json', 'protocols' => [ 'rest-json', ], 'serviceFullName' => 'Amazon Bedrock AgentCore', 'serviceId' => 'Bedrock AgentCore', 'signatureVersion' => 'v4', 'signingName' => 'bedrock-agentcore', 'uid' => 'bedrock-agentcore-2024-02-28', ], 'operations' => [ 'BatchCreateMemoryRecords' => [ 'name' => 'BatchCreateMemoryRecords', 'http' => [ 'method' => 'POST', 'requestUri' => '/memories/{memoryId}/memoryRecords/batchCreate', 'responseCode' => 201, ], 'input' => [ 'shape' => 'BatchCreateMemoryRecordsInput', ], 'output' => [ 'shape' => 'BatchCreateMemoryRecordsOutput', ], 'errors' => [ [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottledException', ], [ 'shape' => 'ServiceException', ], ], 'idempotent' => true, ], 'BatchDeleteMemoryRecords' => [ 'name' => 'BatchDeleteMemoryRecords', 'http' => [ 'method' => 'POST', 'requestUri' => '/memories/{memoryId}/memoryRecords/batchDelete', 'responseCode' => 200, ], 'input' => [ 'shape' => 'BatchDeleteMemoryRecordsInput', ], 'output' => [ 'shape' => 'BatchDeleteMemoryRecordsOutput', ], 'errors' => [ [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottledException', ], [ 'shape' => 'ServiceException', ], ], ], 'BatchUpdateMemoryRecords' => [ 'name' => 'BatchUpdateMemoryRecords', 'http' => [ 'method' => 'POST', 'requestUri' => '/memories/{memoryId}/memoryRecords/batchUpdate', 'responseCode' => 200, ], 'input' => [ 'shape' => 'BatchUpdateMemoryRecordsInput', ], 'output' => [ 'shape' => 'BatchUpdateMemoryRecordsOutput', ], 'errors' => [ [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottledException', ], [ 'shape' => 'ServiceException', ], ], ], 'CompleteResourceTokenAuth' => [ 'name' => 'CompleteResourceTokenAuth', 'http' => [ 'method' => 'POST', 'requestUri' => '/identities/CompleteResourceTokenAuth', 'responseCode' => 200, ], 'input' => [ 'shape' => 'CompleteResourceTokenAuthRequest', ], 'output' => [ 'shape' => 'CompleteResourceTokenAuthResponse', ], 'errors' => [ [ 'shape' => 'UnauthorizedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'InternalServerException', ], ], ], 'CreateEvent' => [ 'name' => 'CreateEvent', 'http' => [ 'method' => 'POST', 'requestUri' => '/memories/{memoryId}/events', 'responseCode' => 201, ], 'input' => [ 'shape' => 'CreateEventInput', ], 'output' => [ 'shape' => 'CreateEventOutput', ], 'errors' => [ [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InvalidInputException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottledException', ], [ 'shape' => 'ServiceException', ], ], 'idempotent' => true, ], 'DeleteEvent' => [ 'name' => 'DeleteEvent', 'http' => [ 'method' => 'DELETE', 'requestUri' => '/memories/{memoryId}/actor/{actorId}/sessions/{sessionId}/events/{eventId}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'DeleteEventInput', ], 'output' => [ 'shape' => 'DeleteEventOutput', ], 'errors' => [ [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InvalidInputException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottledException', ], [ 'shape' => 'ServiceException', ], ], ], 'DeleteMemoryRecord' => [ 'name' => 'DeleteMemoryRecord', 'http' => [ 'method' => 'DELETE', 'requestUri' => '/memories/{memoryId}/memoryRecords/{memoryRecordId}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'DeleteMemoryRecordInput', ], 'output' => [ 'shape' => 'DeleteMemoryRecordOutput', ], 'errors' => [ [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InvalidInputException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottledException', ], [ 'shape' => 'ServiceException', ], ], ], 'Evaluate' => [ 'name' => 'Evaluate', 'http' => [ 'method' => 'POST', 'requestUri' => '/evaluations/evaluate/{evaluatorId}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'EvaluateRequest', ], 'output' => [ 'shape' => 'EvaluateResponse', ], 'errors' => [ [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'UnauthorizedException', ], [ 'shape' => 'DuplicateIdException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'InternalServerException', ], ], ], 'GetAgentCard' => [ 'name' => 'GetAgentCard', 'http' => [ 'method' => 'GET', 'requestUri' => '/runtimes/{agentRuntimeArn}/invocations/.well-known/agent-card.json', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetAgentCardRequest', ], 'output' => [ 'shape' => 'GetAgentCardResponse', ], 'errors' => [ [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'RuntimeClientError', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'InternalServerException', ], ], ], 'GetBrowserSession' => [ 'name' => 'GetBrowserSession', 'http' => [ 'method' => 'GET', 'requestUri' => '/browsers/{browserIdentifier}/sessions/get', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetBrowserSessionRequest', ], 'output' => [ 'shape' => 'GetBrowserSessionResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'InternalServerException', ], ], 'readonly' => true, ], 'GetCodeInterpreterSession' => [ 'name' => 'GetCodeInterpreterSession', 'http' => [ 'method' => 'GET', 'requestUri' => '/code-interpreters/{codeInterpreterIdentifier}/sessions/get', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetCodeInterpreterSessionRequest', ], 'output' => [ 'shape' => 'GetCodeInterpreterSessionResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'InternalServerException', ], ], 'readonly' => true, ], 'GetEvent' => [ 'name' => 'GetEvent', 'http' => [ 'method' => 'GET', 'requestUri' => '/memories/{memoryId}/actor/{actorId}/sessions/{sessionId}/events/{eventId}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetEventInput', ], 'output' => [ 'shape' => 'GetEventOutput', ], 'errors' => [ [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InvalidInputException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottledException', ], [ 'shape' => 'ServiceException', ], ], 'readonly' => true, ], 'GetMemoryRecord' => [ 'name' => 'GetMemoryRecord', 'http' => [ 'method' => 'GET', 'requestUri' => '/memories/{memoryId}/memoryRecord/{memoryRecordId}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetMemoryRecordInput', ], 'output' => [ 'shape' => 'GetMemoryRecordOutput', ], 'errors' => [ [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InvalidInputException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottledException', ], [ 'shape' => 'ServiceException', ], ], 'readonly' => true, ], 'GetResourceApiKey' => [ 'name' => 'GetResourceApiKey', 'http' => [ 'method' => 'POST', 'requestUri' => '/identities/api-key', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetResourceApiKeyRequest', ], 'output' => [ 'shape' => 'GetResourceApiKeyResponse', ], 'errors' => [ [ 'shape' => 'UnauthorizedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'InternalServerException', ], ], 'readonly' => true, ], 'GetResourceOauth2Token' => [ 'name' => 'GetResourceOauth2Token', 'http' => [ 'method' => 'POST', 'requestUri' => '/identities/oauth2/token', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetResourceOauth2TokenRequest', ], 'output' => [ 'shape' => 'GetResourceOauth2TokenResponse', ], 'errors' => [ [ 'shape' => 'UnauthorizedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'InternalServerException', ], ], 'readonly' => true, ], 'GetWorkloadAccessToken' => [ 'name' => 'GetWorkloadAccessToken', 'http' => [ 'method' => 'POST', 'requestUri' => '/identities/GetWorkloadAccessToken', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetWorkloadAccessTokenRequest', ], 'output' => [ 'shape' => 'GetWorkloadAccessTokenResponse', ], 'errors' => [ [ 'shape' => 'UnauthorizedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'InternalServerException', ], ], ], 'GetWorkloadAccessTokenForJWT' => [ 'name' => 'GetWorkloadAccessTokenForJWT', 'http' => [ 'method' => 'POST', 'requestUri' => '/identities/GetWorkloadAccessTokenForJWT', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetWorkloadAccessTokenForJWTRequest', ], 'output' => [ 'shape' => 'GetWorkloadAccessTokenForJWTResponse', ], 'errors' => [ [ 'shape' => 'UnauthorizedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'InternalServerException', ], ], ], 'GetWorkloadAccessTokenForUserId' => [ 'name' => 'GetWorkloadAccessTokenForUserId', 'http' => [ 'method' => 'POST', 'requestUri' => '/identities/GetWorkloadAccessTokenForUserId', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetWorkloadAccessTokenForUserIdRequest', ], 'output' => [ 'shape' => 'GetWorkloadAccessTokenForUserIdResponse', ], 'errors' => [ [ 'shape' => 'UnauthorizedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'InternalServerException', ], ], ], 'InvokeAgentRuntime' => [ 'name' => 'InvokeAgentRuntime', 'http' => [ 'method' => 'POST', 'requestUri' => '/runtimes/{agentRuntimeArn}/invocations', 'responseCode' => 200, ], 'input' => [ 'shape' => 'InvokeAgentRuntimeRequest', ], 'output' => [ 'shape' => 'InvokeAgentRuntimeResponse', ], 'errors' => [ [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'RuntimeClientError', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'InternalServerException', ], ], ], 'InvokeCodeInterpreter' => [ 'name' => 'InvokeCodeInterpreter', 'http' => [ 'method' => 'POST', 'requestUri' => '/code-interpreters/{codeInterpreterIdentifier}/tools/invoke', 'responseCode' => 200, ], 'input' => [ 'shape' => 'InvokeCodeInterpreterRequest', ], 'output' => [ 'shape' => 'InvokeCodeInterpreterResponse', ], 'errors' => [ [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'InternalServerException', ], ], ], 'ListActors' => [ 'name' => 'ListActors', 'http' => [ 'method' => 'POST', 'requestUri' => '/memories/{memoryId}/actors', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListActorsInput', ], 'output' => [ 'shape' => 'ListActorsOutput', ], 'errors' => [ [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InvalidInputException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottledException', ], [ 'shape' => 'ServiceException', ], ], 'readonly' => true, ], 'ListBrowserSessions' => [ 'name' => 'ListBrowserSessions', 'http' => [ 'method' => 'POST', 'requestUri' => '/browsers/{browserIdentifier}/sessions/list', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListBrowserSessionsRequest', ], 'output' => [ 'shape' => 'ListBrowserSessionsResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'InternalServerException', ], ], 'readonly' => true, ], 'ListCodeInterpreterSessions' => [ 'name' => 'ListCodeInterpreterSessions', 'http' => [ 'method' => 'POST', 'requestUri' => '/code-interpreters/{codeInterpreterIdentifier}/sessions/list', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListCodeInterpreterSessionsRequest', ], 'output' => [ 'shape' => 'ListCodeInterpreterSessionsResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'InternalServerException', ], ], 'readonly' => true, ], 'ListEvents' => [ 'name' => 'ListEvents', 'http' => [ 'method' => 'POST', 'requestUri' => '/memories/{memoryId}/actor/{actorId}/sessions/{sessionId}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListEventsInput', ], 'output' => [ 'shape' => 'ListEventsOutput', ], 'errors' => [ [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InvalidInputException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottledException', ], [ 'shape' => 'ServiceException', ], ], 'readonly' => true, ], 'ListMemoryExtractionJobs' => [ 'name' => 'ListMemoryExtractionJobs', 'http' => [ 'method' => 'POST', 'requestUri' => '/memories/{memoryId}/extractionJobs', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListMemoryExtractionJobsInput', ], 'output' => [ 'shape' => 'ListMemoryExtractionJobsOutput', ], 'errors' => [ [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottledException', ], [ 'shape' => 'ServiceException', ], ], ], 'ListMemoryRecords' => [ 'name' => 'ListMemoryRecords', 'http' => [ 'method' => 'POST', 'requestUri' => '/memories/{memoryId}/memoryRecords', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListMemoryRecordsInput', ], 'output' => [ 'shape' => 'ListMemoryRecordsOutput', ], 'errors' => [ [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InvalidInputException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottledException', ], [ 'shape' => 'ServiceException', ], ], 'readonly' => true, ], 'ListSessions' => [ 'name' => 'ListSessions', 'http' => [ 'method' => 'POST', 'requestUri' => '/memories/{memoryId}/actor/{actorId}/sessions', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListSessionsInput', ], 'output' => [ 'shape' => 'ListSessionsOutput', ], 'errors' => [ [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InvalidInputException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottledException', ], [ 'shape' => 'ServiceException', ], ], 'readonly' => true, ], 'RetrieveMemoryRecords' => [ 'name' => 'RetrieveMemoryRecords', 'http' => [ 'method' => 'POST', 'requestUri' => '/memories/{memoryId}/retrieve', 'responseCode' => 200, ], 'input' => [ 'shape' => 'RetrieveMemoryRecordsInput', ], 'output' => [ 'shape' => 'RetrieveMemoryRecordsOutput', ], 'errors' => [ [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InvalidInputException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottledException', ], [ 'shape' => 'ServiceException', ], ], ], 'StartBrowserSession' => [ 'name' => 'StartBrowserSession', 'http' => [ 'method' => 'PUT', 'requestUri' => '/browsers/{browserIdentifier}/sessions/start', 'responseCode' => 200, ], 'input' => [ 'shape' => 'StartBrowserSessionRequest', ], 'output' => [ 'shape' => 'StartBrowserSessionResponse', ], 'errors' => [ [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'InternalServerException', ], ], 'idempotent' => true, ], 'StartCodeInterpreterSession' => [ 'name' => 'StartCodeInterpreterSession', 'http' => [ 'method' => 'PUT', 'requestUri' => '/code-interpreters/{codeInterpreterIdentifier}/sessions/start', 'responseCode' => 200, ], 'input' => [ 'shape' => 'StartCodeInterpreterSessionRequest', ], 'output' => [ 'shape' => 'StartCodeInterpreterSessionResponse', ], 'errors' => [ [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'InternalServerException', ], ], 'idempotent' => true, ], 'StartMemoryExtractionJob' => [ 'name' => 'StartMemoryExtractionJob', 'http' => [ 'method' => 'POST', 'requestUri' => '/memories/{memoryId}/extractionJobs/start', 'responseCode' => 200, ], 'input' => [ 'shape' => 'StartMemoryExtractionJobInput', ], 'output' => [ 'shape' => 'StartMemoryExtractionJobOutput', ], 'errors' => [ [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottledException', ], [ 'shape' => 'ServiceException', ], ], 'idempotent' => true, ], 'StopBrowserSession' => [ 'name' => 'StopBrowserSession', 'http' => [ 'method' => 'PUT', 'requestUri' => '/browsers/{browserIdentifier}/sessions/stop', 'responseCode' => 200, ], 'input' => [ 'shape' => 'StopBrowserSessionRequest', ], 'output' => [ 'shape' => 'StopBrowserSessionResponse', ], 'errors' => [ [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'InternalServerException', ], ], 'idempotent' => true, ], 'StopCodeInterpreterSession' => [ 'name' => 'StopCodeInterpreterSession', 'http' => [ 'method' => 'PUT', 'requestUri' => '/code-interpreters/{codeInterpreterIdentifier}/sessions/stop', 'responseCode' => 200, ], 'input' => [ 'shape' => 'StopCodeInterpreterSessionRequest', ], 'output' => [ 'shape' => 'StopCodeInterpreterSessionResponse', ], 'errors' => [ [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'InternalServerException', ], ], 'idempotent' => true, ], 'StopRuntimeSession' => [ 'name' => 'StopRuntimeSession', 'http' => [ 'method' => 'POST', 'requestUri' => '/runtimes/{agentRuntimeArn}/stopruntimesession', 'responseCode' => 200, ], 'input' => [ 'shape' => 'StopRuntimeSessionRequest', ], 'output' => [ 'shape' => 'StopRuntimeSessionResponse', ], 'errors' => [ [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'UnauthorizedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'RuntimeClientError', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'InternalServerException', ], ], 'idempotent' => true, ], 'UpdateBrowserStream' => [ 'name' => 'UpdateBrowserStream', 'http' => [ 'method' => 'PUT', 'requestUri' => '/browsers/{browserIdentifier}/sessions/streams/update', 'responseCode' => 200, ], 'input' => [ 'shape' => 'UpdateBrowserStreamRequest', ], 'output' => [ 'shape' => 'UpdateBrowserStreamResponse', ], 'errors' => [ [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'InternalServerException', ], ], 'idempotent' => true, ], ], 'shapes' => [ 'AccessDeniedException' => [ 'type' => 'structure', 'members' => [ 'message' => [ 'shape' => 'NonBlankString', ], ], 'error' => [ 'httpStatusCode' => 403, 'senderFault' => true, ], 'exception' => true, ], 'AccessTokenType' => [ 'type' => 'string', 'max' => 131072, 'min' => 1, 'sensitive' => true, ], 'ActorId' => [ 'type' => 'string', 'max' => 255, 'min' => 1, 'pattern' => '[a-zA-Z0-9][a-zA-Z0-9-_/]*(?::[a-zA-Z0-9-_/]+)*[a-zA-Z0-9-_/]*', ], 'ActorSummary' => [ 'type' => 'structure', 'required' => [ 'actorId', ], 'members' => [ 'actorId' => [ 'shape' => 'ActorId', ], ], ], 'ActorSummaryList' => [ 'type' => 'list', 'member' => [ 'shape' => 'ActorSummary', ], ], 'AgentCard' => [ 'type' => 'structure', 'members' => [], 'document' => true, ], 'ApiKeyType' => [ 'type' => 'string', 'max' => 65536, 'min' => 1, 'sensitive' => true, ], 'AuthorizationUrlType' => [ 'type' => 'string', 'min' => 1, 'sensitive' => true, ], 'AutomationStream' => [ 'type' => 'structure', 'required' => [ 'streamEndpoint', 'streamStatus', ], 'members' => [ 'streamEndpoint' => [ 'shape' => 'BrowserStreamEndpoint', ], 'streamStatus' => [ 'shape' => 'AutomationStreamStatus', ], ], ], 'AutomationStreamStatus' => [ 'type' => 'string', 'enum' => [ 'ENABLED', 'DISABLED', ], ], 'AutomationStreamUpdate' => [ 'type' => 'structure', 'members' => [ 'streamStatus' => [ 'shape' => 'AutomationStreamStatus', ], ], ], 'BatchCreateMemoryRecordsInput' => [ 'type' => 'structure', 'required' => [ 'memoryId', 'records', ], 'members' => [ 'memoryId' => [ 'shape' => 'MemoryId', 'location' => 'uri', 'locationName' => 'memoryId', ], 'records' => [ 'shape' => 'MemoryRecordsCreateInputList', ], 'clientToken' => [ 'shape' => 'String', 'idempotencyToken' => true, ], ], ], 'BatchCreateMemoryRecordsOutput' => [ 'type' => 'structure', 'required' => [ 'successfulRecords', 'failedRecords', ], 'members' => [ 'successfulRecords' => [ 'shape' => 'MemoryRecordsOutputList', ], 'failedRecords' => [ 'shape' => 'MemoryRecordsOutputList', ], ], ], 'BatchDeleteMemoryRecordsInput' => [ 'type' => 'structure', 'required' => [ 'memoryId', 'records', ], 'members' => [ 'memoryId' => [ 'shape' => 'MemoryId', 'location' => 'uri', 'locationName' => 'memoryId', ], 'records' => [ 'shape' => 'MemoryRecordsDeleteInputList', ], ], ], 'BatchDeleteMemoryRecordsOutput' => [ 'type' => 'structure', 'required' => [ 'successfulRecords', 'failedRecords', ], 'members' => [ 'successfulRecords' => [ 'shape' => 'MemoryRecordsOutputList', ], 'failedRecords' => [ 'shape' => 'MemoryRecordsOutputList', ], ], ], 'BatchUpdateMemoryRecordsInput' => [ 'type' => 'structure', 'required' => [ 'memoryId', 'records', ], 'members' => [ 'memoryId' => [ 'shape' => 'MemoryId', 'location' => 'uri', 'locationName' => 'memoryId', ], 'records' => [ 'shape' => 'MemoryRecordsUpdateInputList', ], ], ], 'BatchUpdateMemoryRecordsOutput' => [ 'type' => 'structure', 'required' => [ 'successfulRecords', 'failedRecords', ], 'members' => [ 'successfulRecords' => [ 'shape' => 'MemoryRecordsOutputList', ], 'failedRecords' => [ 'shape' => 'MemoryRecordsOutputList', ], ], ], 'Blob' => [ 'type' => 'blob', ], 'Body' => [ 'type' => 'blob', 'max' => 100000000, 'min' => 0, 'sensitive' => true, ], 'Boolean' => [ 'type' => 'boolean', 'box' => true, ], 'Branch' => [ 'type' => 'structure', 'required' => [ 'name', ], 'members' => [ 'rootEventId' => [ 'shape' => 'EventId', ], 'name' => [ 'shape' => 'BranchName', ], ], ], 'BranchFilter' => [ 'type' => 'structure', 'required' => [ 'name', ], 'members' => [ 'name' => [ 'shape' => 'BranchName', ], 'includeParentBranches' => [ 'shape' => 'Boolean', ], ], ], 'BranchName' => [ 'type' => 'string', 'max' => 100, 'min' => 1, 'pattern' => '[a-zA-Z0-9][a-zA-Z0-9-_]*', ], 'BrowserSessionId' => [ 'type' => 'string', 'pattern' => '[0-9a-zA-Z]{1,40}', ], 'BrowserSessionStatus' => [ 'type' => 'string', 'enum' => [ 'READY', 'TERMINATED', ], ], 'BrowserSessionStream' => [ 'type' => 'structure', 'required' => [ 'automationStream', ], 'members' => [ 'automationStream' => [ 'shape' => 'AutomationStream', ], 'liveViewStream' => [ 'shape' => 'LiveViewStream', ], ], ], 'BrowserSessionSummaries' => [ 'type' => 'list', 'member' => [ 'shape' => 'BrowserSessionSummary', ], ], 'BrowserSessionSummary' => [ 'type' => 'structure', 'required' => [ 'browserIdentifier', 'sessionId', 'status', 'createdAt', ], 'members' => [ 'browserIdentifier' => [ 'shape' => 'String', ], 'sessionId' => [ 'shape' => 'BrowserSessionId', ], 'name' => [ 'shape' => 'Name', ], 'status' => [ 'shape' => 'BrowserSessionStatus', ], 'createdAt' => [ 'shape' => 'DateTimestamp', ], 'lastUpdatedAt' => [ 'shape' => 'DateTimestamp', ], ], ], 'BrowserSessionTimeout' => [ 'type' => 'integer', 'box' => true, 'max' => 28800, 'min' => 1, ], 'BrowserStreamEndpoint' => [ 'type' => 'string', 'max' => 512, 'min' => 10, ], 'ClientToken' => [ 'type' => 'string', 'max' => 256, 'min' => 33, 'pattern' => '[a-zA-Z0-9](-*[a-zA-Z0-9]){0,256}', ], 'CodeInterpreterResult' => [ 'type' => 'structure', 'required' => [ 'content', ], 'members' => [ 'content' => [ 'shape' => 'ContentBlockList', ], 'structuredContent' => [ 'shape' => 'ToolResultStructuredContent', ], 'isError' => [ 'shape' => 'Boolean', ], ], 'event' => true, ], 'CodeInterpreterSessionId' => [ 'type' => 'string', 'pattern' => '[0-9a-zA-Z]{1,40}', ], 'CodeInterpreterSessionStatus' => [ 'type' => 'string', 'enum' => [ 'READY', 'TERMINATED', ], ], 'CodeInterpreterSessionSummaries' => [ 'type' => 'list', 'member' => [ 'shape' => 'CodeInterpreterSessionSummary', ], ], 'CodeInterpreterSessionSummary' => [ 'type' => 'structure', 'required' => [ 'codeInterpreterIdentifier', 'sessionId', 'status', 'createdAt', ], 'members' => [ 'codeInterpreterIdentifier' => [ 'shape' => 'String', ], 'sessionId' => [ 'shape' => 'CodeInterpreterSessionId', ], 'name' => [ 'shape' => 'Name', ], 'status' => [ 'shape' => 'CodeInterpreterSessionStatus', ], 'createdAt' => [ 'shape' => 'DateTimestamp', ], 'lastUpdatedAt' => [ 'shape' => 'DateTimestamp', ], ], ], 'CodeInterpreterSessionTimeout' => [ 'type' => 'integer', 'box' => true, 'max' => 28800, 'min' => 1, ], 'CodeInterpreterStreamOutput' => [ 'type' => 'structure', 'members' => [ 'result' => [ 'shape' => 'CodeInterpreterResult', ], 'accessDeniedException' => [ 'shape' => 'AccessDeniedException', ], 'conflictException' => [ 'shape' => 'ConflictException', ], 'internalServerException' => [ 'shape' => 'InternalServerException', ], 'resourceNotFoundException' => [ 'shape' => 'ResourceNotFoundException', ], 'serviceQuotaExceededException' => [ 'shape' => 'ServiceQuotaExceededException', ], 'throttlingException' => [ 'shape' => 'ThrottlingException', ], 'validationException' => [ 'shape' => 'ValidationException', ], ], 'eventstream' => true, ], 'CompleteResourceTokenAuthRequest' => [ 'type' => 'structure', 'required' => [ 'userIdentifier', 'sessionUri', ], 'members' => [ 'userIdentifier' => [ 'shape' => 'UserIdentifier', ], 'sessionUri' => [ 'shape' => 'RequestUri', ], ], ], 'CompleteResourceTokenAuthResponse' => [ 'type' => 'structure', 'members' => [], ], 'ConflictException' => [ 'type' => 'structure', 'members' => [ 'message' => [ 'shape' => 'NonBlankString', ], ], 'error' => [ 'httpStatusCode' => 409, 'senderFault' => true, ], 'exception' => true, ], 'Content' => [ 'type' => 'structure', 'members' => [ 'text' => [ 'shape' => 'ContentTextString', ], ], 'union' => true, ], 'ContentBlock' => [ 'type' => 'structure', 'required' => [ 'type', ], 'members' => [ 'type' => [ 'shape' => 'ContentBlockType', ], 'text' => [ 'shape' => 'String', ], 'data' => [ 'shape' => 'Blob', ], 'mimeType' => [ 'shape' => 'String', ], 'uri' => [ 'shape' => 'String', ], 'name' => [ 'shape' => 'String', ], 'description' => [ 'shape' => 'String', ], 'size' => [ 'shape' => 'Long', ], 'resource' => [ 'shape' => 'ResourceContent', ], ], ], 'ContentBlockList' => [ 'type' => 'list', 'member' => [ 'shape' => 'ContentBlock', ], ], 'ContentBlockType' => [ 'type' => 'string', 'enum' => [ 'text', 'image', 'resource', 'resource_link', ], ], 'ContentTextString' => [ 'type' => 'string', 'max' => 9000, 'min' => 1, 'sensitive' => true, ], 'Context' => [ 'type' => 'structure', 'members' => [ 'spanContext' => [ 'shape' => 'SpanContext', ], ], 'union' => true, ], 'Conversational' => [ 'type' => 'structure', 'required' => [ 'content', 'role', ], 'members' => [ 'content' => [ 'shape' => 'Content', ], 'role' => [ 'shape' => 'Role', ], ], ], 'CreateEventInput' => [ 'type' => 'structure', 'required' => [ 'memoryId', 'actorId', 'eventTimestamp', 'payload', ], 'members' => [ 'memoryId' => [ 'shape' => 'MemoryId', 'location' => 'uri', 'locationName' => 'memoryId', ], 'actorId' => [ 'shape' => 'ActorId', ], 'sessionId' => [ 'shape' => 'SessionId', ], 'eventTimestamp' => [ 'shape' => 'Timestamp', ], 'payload' => [ 'shape' => 'PayloadTypeList', ], 'branch' => [ 'shape' => 'Branch', ], 'clientToken' => [ 'shape' => 'String', 'idempotencyToken' => true, ], 'metadata' => [ 'shape' => 'MetadataMap', ], ], ], 'CreateEventOutput' => [ 'type' => 'structure', 'required' => [ 'event', ], 'members' => [ 'event' => [ 'shape' => 'Event', ], ], ], 'CredentialProviderName' => [ 'type' => 'string', 'max' => 128, 'min' => 1, 'pattern' => '[a-zA-Z0-9\\-_]+', ], 'CustomRequestKeyType' => [ 'type' => 'string', 'max' => 256, 'min' => 1, 'pattern' => '[a-zA-Z0-9\\-_\\.]+', ], 'CustomRequestParametersType' => [ 'type' => 'map', 'key' => [ 'shape' => 'CustomRequestKeyType', ], 'value' => [ 'shape' => 'CustomRequestValueType', ], ], 'CustomRequestValueType' => [ 'type' => 'string', 'max' => 2048, 'min' => 1, 'sensitive' => true, ], 'DateTimestamp' => [ 'type' => 'timestamp', 'timestampFormat' => 'iso8601', ], 'DeleteEventInput' => [ 'type' => 'structure', 'required' => [ 'memoryId', 'sessionId', 'eventId', 'actorId', ], 'members' => [ 'memoryId' => [ 'shape' => 'MemoryId', 'location' => 'uri', 'locationName' => 'memoryId', ], 'sessionId' => [ 'shape' => 'SessionId', 'location' => 'uri', 'locationName' => 'sessionId', ], 'eventId' => [ 'shape' => 'EventId', 'location' => 'uri', 'locationName' => 'eventId', ], 'actorId' => [ 'shape' => 'ActorId', 'location' => 'uri', 'locationName' => 'actorId', ], ], ], 'DeleteEventOutput' => [ 'type' => 'structure', 'required' => [ 'eventId', ], 'members' => [ 'eventId' => [ 'shape' => 'EventId', ], ], ], 'DeleteMemoryRecordInput' => [ 'type' => 'structure', 'required' => [ 'memoryId', 'memoryRecordId', ], 'members' => [ 'memoryId' => [ 'shape' => 'MemoryId', 'location' => 'uri', 'locationName' => 'memoryId', ], 'memoryRecordId' => [ 'shape' => 'MemoryRecordId', 'location' => 'uri', 'locationName' => 'memoryRecordId', ], ], ], 'DeleteMemoryRecordOutput' => [ 'type' => 'structure', 'required' => [ 'memoryRecordId', ], 'members' => [ 'memoryRecordId' => [ 'shape' => 'MemoryRecordId', ], ], ], 'Document' => [ 'type' => 'structure', 'members' => [], 'document' => true, 'sensitive' => true, ], 'Double' => [ 'type' => 'double', 'box' => true, ], 'DuplicateIdException' => [ 'type' => 'structure', 'members' => [ 'message' => [ 'shape' => 'NonBlankString', ], ], 'error' => [ 'httpStatusCode' => 409, 'senderFault' => true, ], 'exception' => true, ], 'EvaluateRequest' => [ 'type' => 'structure', 'required' => [ 'evaluatorId', 'evaluationInput', ], 'members' => [ 'evaluatorId' => [ 'shape' => 'EvaluatorId', 'location' => 'uri', 'locationName' => 'evaluatorId', ], 'evaluationInput' => [ 'shape' => 'EvaluationInput', ], 'evaluationTarget' => [ 'shape' => 'EvaluationTarget', ], ], ], 'EvaluateResponse' => [ 'type' => 'structure', 'required' => [ 'evaluationResults', ], 'members' => [ 'evaluationResults' => [ 'shape' => 'EvaluationResults', ], ], ], 'EvaluationErrorCode' => [ 'type' => 'string', 'max' => 1024, 'min' => 1, ], 'EvaluationErrorMessage' => [ 'type' => 'string', 'max' => 2048, 'min' => 0, ], 'EvaluationExplanation' => [ 'type' => 'string', 'max' => 2048, 'min' => 0, 'sensitive' => true, ], 'EvaluationInput' => [ 'type' => 'structure', 'members' => [ 'sessionSpans' => [ 'shape' => 'Spans', ], ], 'union' => true, ], 'EvaluationResultContent' => [ 'type' => 'structure', 'required' => [ 'evaluatorArn', 'evaluatorId', 'evaluatorName', 'context', ], 'members' => [ 'evaluatorArn' => [ 'shape' => 'EvaluatorArn', ], 'evaluatorId' => [ 'shape' => 'EvaluatorId', ], 'evaluatorName' => [ 'shape' => 'EvaluatorName', ], 'explanation' => [ 'shape' => 'EvaluationExplanation', ], 'context' => [ 'shape' => 'Context', ], 'value' => [ 'shape' => 'Double', ], 'label' => [ 'shape' => 'String', ], 'tokenUsage' => [ 'shape' => 'TokenUsage', ], 'errorMessage' => [ 'shape' => 'EvaluationErrorMessage', ], 'errorCode' => [ 'shape' => 'EvaluationErrorCode', ], ], ], 'EvaluationResults' => [ 'type' => 'list', 'member' => [ 'shape' => 'EvaluationResultContent', ], ], 'EvaluationTarget' => [ 'type' => 'structure', 'members' => [ 'spanIds' => [ 'shape' => 'SpanIds', ], 'traceIds' => [ 'shape' => 'TraceIds', ], ], 'union' => true, ], 'EvaluatorArn' => [ 'type' => 'string', 'pattern' => 'arn:aws:bedrock-agentcore:[a-z0-9-]+:[0-9]{12}:evaluator\\/[a-zA-Z][a-zA-Z0-9-_]{0,99}-[a-zA-Z0-9]{10}$|^arn:aws:bedrock-agentcore:::evaluator/Builtin.[a-zA-Z0-9_-]+', ], 'EvaluatorId' => [ 'type' => 'string', 'pattern' => '(Builtin.[a-zA-Z0-9_-]+|[a-zA-Z][a-zA-Z0-9-_]{0,99}-[a-zA-Z0-9]{10})', ], 'EvaluatorName' => [ 'type' => 'string', 'pattern' => '(Builtin.[a-zA-Z0-9_-]+|[a-zA-Z][a-zA-Z0-9_]{0,47})', ], 'Event' => [ 'type' => 'structure', 'required' => [ 'memoryId', 'actorId', 'sessionId', 'eventId', 'eventTimestamp', 'payload', ], 'members' => [ 'memoryId' => [ 'shape' => 'MemoryId', ], 'actorId' => [ 'shape' => 'ActorId', ], 'sessionId' => [ 'shape' => 'SessionId', ], 'eventId' => [ 'shape' => 'EventId', ], 'eventTimestamp' => [ 'shape' => 'Timestamp', ], 'payload' => [ 'shape' => 'PayloadTypeList', ], 'branch' => [ 'shape' => 'Branch', ], 'metadata' => [ 'shape' => 'MetadataMap', ], ], ], 'EventId' => [ 'type' => 'string', 'pattern' => '[0-9]+#[a-fA-F0-9]+', ], 'EventList' => [ 'type' => 'list', 'member' => [ 'shape' => 'Event', ], ], 'EventMetadataFilterExpression' => [ 'type' => 'structure', 'required' => [ 'left', 'operator', ], 'members' => [ 'left' => [ 'shape' => 'LeftExpression', ], 'operator' => [ 'shape' => 'OperatorType', ], 'right' => [ 'shape' => 'RightExpression', ], ], ], 'EventMetadataFilterList' => [ 'type' => 'list', 'member' => [ 'shape' => 'EventMetadataFilterExpression', ], 'max' => 5, 'min' => 1, ], 'ExtractionJob' => [ 'type' => 'structure', 'required' => [ 'jobId', ], 'members' => [ 'jobId' => [ 'shape' => 'String', ], ], ], 'ExtractionJobFilterInput' => [ 'type' => 'structure', 'members' => [ 'strategyId' => [ 'shape' => 'String', ], 'sessionId' => [ 'shape' => 'String', ], 'actorId' => [ 'shape' => 'String', ], 'status' => [ 'shape' => 'ExtractionJobStatus', ], ], ], 'ExtractionJobMessages' => [ 'type' => 'structure', 'members' => [ 'messagesList' => [ 'shape' => 'MessagesList', ], ], 'union' => true, ], 'ExtractionJobMetadata' => [ 'type' => 'structure', 'required' => [ 'jobID', 'messages', ], 'members' => [ 'jobID' => [ 'shape' => 'String', ], 'messages' => [ 'shape' => 'ExtractionJobMessages', ], 'status' => [ 'shape' => 'ExtractionJobStatus', ], 'failureReason' => [ 'shape' => 'String', ], 'strategyId' => [ 'shape' => 'String', ], 'sessionId' => [ 'shape' => 'String', ], 'actorId' => [ 'shape' => 'String', ], ], ], 'ExtractionJobMetadataList' => [ 'type' => 'list', 'member' => [ 'shape' => 'ExtractionJobMetadata', ], ], 'ExtractionJobStatus' => [ 'type' => 'string', 'enum' => [ 'FAILED', ], ], 'FilterInput' => [ 'type' => 'structure', 'members' => [ 'branch' => [ 'shape' => 'BranchFilter', ], 'eventMetadata' => [ 'shape' => 'EventMetadataFilterList', ], ], ], 'GetAgentCardRequest' => [ 'type' => 'structure', 'required' => [ 'agentRuntimeArn', ], 'members' => [ 'runtimeSessionId' => [ 'shape' => 'SessionType', 'idempotencyToken' => true, 'location' => 'header', 'locationName' => 'X-Amzn-Bedrock-AgentCore-Runtime-Session-Id', ], 'agentRuntimeArn' => [ 'shape' => 'String', 'location' => 'uri', 'locationName' => 'agentRuntimeArn', ], 'qualifier' => [ 'shape' => 'String', 'location' => 'querystring', 'locationName' => 'qualifier', ], ], ], 'GetAgentCardResponse' => [ 'type' => 'structure', 'required' => [ 'agentCard', ], 'members' => [ 'runtimeSessionId' => [ 'shape' => 'SessionId', 'location' => 'header', 'locationName' => 'X-Amzn-Bedrock-AgentCore-Runtime-Session-Id', ], 'agentCard' => [ 'shape' => 'AgentCard', ], 'statusCode' => [ 'shape' => 'HttpResponseCode', 'location' => 'statusCode', ], ], 'payload' => 'agentCard', ], 'GetBrowserSessionRequest' => [ 'type' => 'structure', 'required' => [ 'browserIdentifier', 'sessionId', ], 'members' => [ 'browserIdentifier' => [ 'shape' => 'String', 'location' => 'uri', 'locationName' => 'browserIdentifier', ], 'sessionId' => [ 'shape' => 'BrowserSessionId', 'location' => 'querystring', 'locationName' => 'sessionId', ], ], ], 'GetBrowserSessionResponse' => [ 'type' => 'structure', 'required' => [ 'browserIdentifier', 'sessionId', 'createdAt', ], 'members' => [ 'browserIdentifier' => [ 'shape' => 'String', ], 'sessionId' => [ 'shape' => 'BrowserSessionId', ], 'name' => [ 'shape' => 'Name', ], 'createdAt' => [ 'shape' => 'DateTimestamp', ], 'viewPort' => [ 'shape' => 'ViewPort', ], 'sessionTimeoutSeconds' => [ 'shape' => 'BrowserSessionTimeout', ], 'status' => [ 'shape' => 'BrowserSessionStatus', ], 'streams' => [ 'shape' => 'BrowserSessionStream', ], 'sessionReplayArtifact' => [ 'shape' => 'String', ], 'lastUpdatedAt' => [ 'shape' => 'DateTimestamp', ], ], ], 'GetCodeInterpreterSessionRequest' => [ 'type' => 'structure', 'required' => [ 'codeInterpreterIdentifier', 'sessionId', ], 'members' => [ 'codeInterpreterIdentifier' => [ 'shape' => 'String', 'location' => 'uri', 'locationName' => 'codeInterpreterIdentifier', ], 'sessionId' => [ 'shape' => 'CodeInterpreterSessionId', 'location' => 'querystring', 'locationName' => 'sessionId', ], ], ], 'GetCodeInterpreterSessionResponse' => [ 'type' => 'structure', 'required' => [ 'codeInterpreterIdentifier', 'sessionId', 'createdAt', ], 'members' => [ 'codeInterpreterIdentifier' => [ 'shape' => 'String', ], 'sessionId' => [ 'shape' => 'CodeInterpreterSessionId', ], 'name' => [ 'shape' => 'Name', ], 'createdAt' => [ 'shape' => 'DateTimestamp', ], 'sessionTimeoutSeconds' => [ 'shape' => 'CodeInterpreterSessionTimeout', ], 'status' => [ 'shape' => 'CodeInterpreterSessionStatus', ], ], ], 'GetEventInput' => [ 'type' => 'structure', 'required' => [ 'memoryId', 'sessionId', 'actorId', 'eventId', ], 'members' => [ 'memoryId' => [ 'shape' => 'MemoryId', 'location' => 'uri', 'locationName' => 'memoryId', ], 'sessionId' => [ 'shape' => 'SessionId', 'location' => 'uri', 'locationName' => 'sessionId', ], 'actorId' => [ 'shape' => 'ActorId', 'location' => 'uri', 'locationName' => 'actorId', ], 'eventId' => [ 'shape' => 'EventId', 'location' => 'uri', 'locationName' => 'eventId', ], ], ], 'GetEventOutput' => [ 'type' => 'structure', 'required' => [ 'event', ], 'members' => [ 'event' => [ 'shape' => 'Event', ], ], ], 'GetMemoryRecordInput' => [ 'type' => 'structure', 'required' => [ 'memoryId', 'memoryRecordId', ], 'members' => [ 'memoryId' => [ 'shape' => 'MemoryId', 'location' => 'uri', 'locationName' => 'memoryId', ], 'memoryRecordId' => [ 'shape' => 'MemoryRecordId', 'location' => 'uri', 'locationName' => 'memoryRecordId', ], ], ], 'GetMemoryRecordOutput' => [ 'type' => 'structure', 'required' => [ 'memoryRecord', ], 'members' => [ 'memoryRecord' => [ 'shape' => 'MemoryRecord', ], ], ], 'GetResourceApiKeyRequest' => [ 'type' => 'structure', 'required' => [ 'workloadIdentityToken', 'resourceCredentialProviderName', ], 'members' => [ 'workloadIdentityToken' => [ 'shape' => 'WorkloadIdentityTokenType', ], 'resourceCredentialProviderName' => [ 'shape' => 'CredentialProviderName', ], ], ], 'GetResourceApiKeyResponse' => [ 'type' => 'structure', 'required' => [ 'apiKey', ], 'members' => [ 'apiKey' => [ 'shape' => 'ApiKeyType', ], ], ], 'GetResourceOauth2TokenRequest' => [ 'type' => 'structure', 'required' => [ 'workloadIdentityToken', 'resourceCredentialProviderName', 'scopes', 'oauth2Flow', ], 'members' => [ 'workloadIdentityToken' => [ 'shape' => 'WorkloadIdentityTokenType', ], 'resourceCredentialProviderName' => [ 'shape' => 'CredentialProviderName', ], 'scopes' => [ 'shape' => 'ScopesListType', ], 'oauth2Flow' => [ 'shape' => 'Oauth2FlowType', ], 'sessionUri' => [ 'shape' => 'RequestUri', ], 'resourceOauth2ReturnUrl' => [ 'shape' => 'ResourceOauth2ReturnUrlType', ], 'forceAuthentication' => [ 'shape' => 'Boolean', ], 'customParameters' => [ 'shape' => 'CustomRequestParametersType', ], 'customState' => [ 'shape' => 'State', ], ], ], 'GetResourceOauth2TokenResponse' => [ 'type' => 'structure', 'members' => [ 'authorizationUrl' => [ 'shape' => 'AuthorizationUrlType', ], 'accessToken' => [ 'shape' => 'AccessTokenType', ], 'sessionUri' => [ 'shape' => 'RequestUri', ], 'sessionStatus' => [ 'shape' => 'SessionStatus', ], ], ], 'GetWorkloadAccessTokenForJWTRequest' => [ 'type' => 'structure', 'required' => [ 'workloadName', 'userToken', ], 'members' => [ 'workloadName' => [ 'shape' => 'WorkloadIdentityNameType', ], 'userToken' => [ 'shape' => 'UserTokenType', ], ], ], 'GetWorkloadAccessTokenForJWTResponse' => [ 'type' => 'structure', 'required' => [ 'workloadAccessToken', ], 'members' => [ 'workloadAccessToken' => [ 'shape' => 'WorkloadIdentityTokenType', ], ], ], 'GetWorkloadAccessTokenForUserIdRequest' => [ 'type' => 'structure', 'required' => [ 'workloadName', 'userId', ], 'members' => [ 'workloadName' => [ 'shape' => 'WorkloadIdentityNameType', ], 'userId' => [ 'shape' => 'UserIdType', ], ], ], 'GetWorkloadAccessTokenForUserIdResponse' => [ 'type' => 'structure', 'required' => [ 'workloadAccessToken', ], 'members' => [ 'workloadAccessToken' => [ 'shape' => 'WorkloadIdentityTokenType', ], ], ], 'GetWorkloadAccessTokenRequest' => [ 'type' => 'structure', 'required' => [ 'workloadName', ], 'members' => [ 'workloadName' => [ 'shape' => 'WorkloadIdentityNameType', ], ], ], 'GetWorkloadAccessTokenResponse' => [ 'type' => 'structure', 'required' => [ 'workloadAccessToken', ], 'members' => [ 'workloadAccessToken' => [ 'shape' => 'WorkloadIdentityTokenType', ], ], ], 'HttpResponseCode' => [ 'type' => 'integer', 'box' => true, ], 'InputContentBlock' => [ 'type' => 'structure', 'required' => [ 'path', ], 'members' => [ 'path' => [ 'shape' => 'MaxLenString', ], 'text' => [ 'shape' => 'MaxLenString', ], 'blob' => [ 'shape' => 'Body', ], ], ], 'InputContentBlockList' => [ 'type' => 'list', 'member' => [ 'shape' => 'InputContentBlock', ], ], 'Integer' => [ 'type' => 'integer', 'box' => true, ], 'InternalServerException' => [ 'type' => 'structure', 'members' => [ 'message' => [ 'shape' => 'NonBlankString', ], ], 'error' => [ 'httpStatusCode' => 500, ], 'exception' => true, 'fault' => true, ], 'InvalidInputException' => [ 'type' => 'structure', 'required' => [ 'message', ], 'members' => [ 'message' => [ 'shape' => 'String', ], ], 'error' => [ 'httpStatusCode' => 400, 'senderFault' => true, ], 'exception' => true, ], 'InvokeAgentRuntimeRequest' => [ 'type' => 'structure', 'required' => [ 'agentRuntimeArn', 'payload', ], 'members' => [ 'contentType' => [ 'shape' => 'MimeType', 'location' => 'header', 'locationName' => 'Content-Type', ], 'accept' => [ 'shape' => 'MimeType', 'location' => 'header', 'locationName' => 'Accept', ], 'mcpSessionId' => [ 'shape' => 'StringType', 'location' => 'header', 'locationName' => 'Mcp-Session-Id', ], 'runtimeSessionId' => [ 'shape' => 'SessionType', 'idempotencyToken' => true, 'location' => 'header', 'locationName' => 'X-Amzn-Bedrock-AgentCore-Runtime-Session-Id', ], 'mcpProtocolVersion' => [ 'shape' => 'StringType', 'location' => 'header', 'locationName' => 'Mcp-Protocol-Version', ], 'runtimeUserId' => [ 'shape' => 'StringType', 'location' => 'header', 'locationName' => 'X-Amzn-Bedrock-AgentCore-Runtime-User-Id', ], 'traceId' => [ 'shape' => 'InvokeAgentRuntimeRequestTraceIdString', 'location' => 'header', 'locationName' => 'X-Amzn-Trace-Id', ], 'traceParent' => [ 'shape' => 'InvokeAgentRuntimeRequestTraceParentString', 'location' => 'header', 'locationName' => 'traceparent', ], 'traceState' => [ 'shape' => 'InvokeAgentRuntimeRequestTraceStateString', 'location' => 'header', 'locationName' => 'tracestate', ], 'baggage' => [ 'shape' => 'InvokeAgentRuntimeRequestBaggageString', 'location' => 'header', 'locationName' => 'baggage', ], 'agentRuntimeArn' => [ 'shape' => 'String', 'location' => 'uri', 'locationName' => 'agentRuntimeArn', ], 'qualifier' => [ 'shape' => 'String', 'location' => 'querystring', 'locationName' => 'qualifier', ], 'accountId' => [ 'shape' => 'InvokeAgentRuntimeRequestAccountIdString', 'location' => 'querystring', 'locationName' => 'accountId', ], 'payload' => [ 'shape' => 'Body', ], ], 'payload' => 'payload', ], 'InvokeAgentRuntimeRequestAccountIdString' => [ 'type' => 'string', 'pattern' => '[0-9]{12}', ], 'InvokeAgentRuntimeRequestBaggageString' => [ 'type' => 'string', 'max' => 8192, 'min' => 0, ], 'InvokeAgentRuntimeRequestTraceIdString' => [ 'type' => 'string', 'max' => 128, 'min' => 0, ], 'InvokeAgentRuntimeRequestTraceParentString' => [ 'type' => 'string', 'max' => 128, 'min' => 0, ], 'InvokeAgentRuntimeRequestTraceStateString' => [ 'type' => 'string', 'max' => 512, 'min' => 0, ], 'InvokeAgentRuntimeResponse' => [ 'type' => 'structure', 'required' => [ 'contentType', ], 'members' => [ 'runtimeSessionId' => [ 'shape' => 'SessionId', 'location' => 'header', 'locationName' => 'X-Amzn-Bedrock-AgentCore-Runtime-Session-Id', ], 'mcpSessionId' => [ 'shape' => 'SessionId', 'location' => 'header', 'locationName' => 'Mcp-Session-Id', ], 'mcpProtocolVersion' => [ 'shape' => 'String', 'location' => 'header', 'locationName' => 'Mcp-Protocol-Version', ], 'traceId' => [ 'shape' => 'String', 'location' => 'header', 'locationName' => 'X-Amzn-Trace-Id', ], 'traceParent' => [ 'shape' => 'String', 'location' => 'header', 'locationName' => 'traceparent', ], 'traceState' => [ 'shape' => 'String', 'location' => 'header', 'locationName' => 'tracestate', ], 'baggage' => [ 'shape' => 'String', 'location' => 'header', 'locationName' => 'baggage', ], 'contentType' => [ 'shape' => 'String', 'location' => 'header', 'locationName' => 'Content-Type', ], 'response' => [ 'shape' => 'ResponseStream', ], 'statusCode' => [ 'shape' => 'HttpResponseCode', 'location' => 'statusCode', ], ], 'payload' => 'response', ], 'InvokeCodeInterpreterRequest' => [ 'type' => 'structure', 'required' => [ 'codeInterpreterIdentifier', 'name', ], 'members' => [ 'codeInterpreterIdentifier' => [ 'shape' => 'String', 'location' => 'uri', 'locationName' => 'codeInterpreterIdentifier', ], 'sessionId' => [ 'shape' => 'CodeInterpreterSessionId', 'location' => 'header', 'locationName' => 'x-amzn-code-interpreter-session-id', ], 'traceId' => [ 'shape' => 'InvokeCodeInterpreterRequestTraceIdString', 'location' => 'header', 'locationName' => 'X-Amzn-Trace-Id', ], 'traceParent' => [ 'shape' => 'InvokeCodeInterpreterRequestTraceParentString', 'location' => 'header', 'locationName' => 'traceparent', ], 'name' => [ 'shape' => 'ToolName', ], 'arguments' => [ 'shape' => 'ToolArguments', ], ], ], 'InvokeCodeInterpreterRequestTraceIdString' => [ 'type' => 'string', 'max' => 1024, 'min' => 0, ], 'InvokeCodeInterpreterRequestTraceParentString' => [ 'type' => 'string', 'max' => 1024, 'min' => 0, ], 'InvokeCodeInterpreterResponse' => [ 'type' => 'structure', 'required' => [ 'stream', ], 'members' => [ 'sessionId' => [ 'shape' => 'CodeInterpreterSessionId', 'location' => 'header', 'locationName' => 'x-amzn-code-interpreter-session-id', ], 'stream' => [ 'shape' => 'CodeInterpreterStreamOutput', ], ], 'payload' => 'stream', ], 'LeftExpression' => [ 'type' => 'structure', 'members' => [ 'metadataKey' => [ 'shape' => 'MetadataKey', ], ], 'union' => true, ], 'ListActorsInput' => [ 'type' => 'structure', 'required' => [ 'memoryId', ], 'members' => [ 'memoryId' => [ 'shape' => 'MemoryId', 'location' => 'uri', 'locationName' => 'memoryId', ], 'maxResults' => [ 'shape' => 'MaxResults', ], 'nextToken' => [ 'shape' => 'PaginationToken', ], ], ], 'ListActorsOutput' => [ 'type' => 'structure', 'required' => [ 'actorSummaries', ], 'members' => [ 'actorSummaries' => [ 'shape' => 'ActorSummaryList', ], 'nextToken' => [ 'shape' => 'PaginationToken', ], ], ], 'ListBrowserSessionsRequest' => [ 'type' => 'structure', 'required' => [ 'browserIdentifier', ], 'members' => [ 'browserIdentifier' => [ 'shape' => 'String', 'location' => 'uri', 'locationName' => 'browserIdentifier', ], 'maxResults' => [ 'shape' => 'MaxResults', ], 'nextToken' => [ 'shape' => 'NextToken', ], 'status' => [ 'shape' => 'BrowserSessionStatus', ], ], ], 'ListBrowserSessionsResponse' => [ 'type' => 'structure', 'required' => [ 'items', ], 'members' => [ 'items' => [ 'shape' => 'BrowserSessionSummaries', ], 'nextToken' => [ 'shape' => 'NextToken', ], ], ], 'ListCodeInterpreterSessionsRequest' => [ 'type' => 'structure', 'required' => [ 'codeInterpreterIdentifier', ], 'members' => [ 'codeInterpreterIdentifier' => [ 'shape' => 'String', 'location' => 'uri', 'locationName' => 'codeInterpreterIdentifier', ], 'maxResults' => [ 'shape' => 'MaxResults', ], 'nextToken' => [ 'shape' => 'NextToken', ], 'status' => [ 'shape' => 'CodeInterpreterSessionStatus', ], ], ], 'ListCodeInterpreterSessionsResponse' => [ 'type' => 'structure', 'required' => [ 'items', ], 'members' => [ 'items' => [ 'shape' => 'CodeInterpreterSessionSummaries', ], 'nextToken' => [ 'shape' => 'NextToken', ], ], ], 'ListEventsInput' => [ 'type' => 'structure', 'required' => [ 'memoryId', 'sessionId', 'actorId', ], 'members' => [ 'memoryId' => [ 'shape' => 'MemoryId', 'location' => 'uri', 'locationName' => 'memoryId', ], 'sessionId' => [ 'shape' => 'SessionId', 'location' => 'uri', 'locationName' => 'sessionId', ], 'actorId' => [ 'shape' => 'ActorId', 'location' => 'uri', 'locationName' => 'actorId', ], 'includePayloads' => [ 'shape' => 'Boolean', ], 'filter' => [ 'shape' => 'FilterInput', ], 'maxResults' => [ 'shape' => 'MaxResults', ], 'nextToken' => [ 'shape' => 'PaginationToken', ], ], ], 'ListEventsOutput' => [ 'type' => 'structure', 'required' => [ 'events', ], 'members' => [ 'events' => [ 'shape' => 'EventList', ], 'nextToken' => [ 'shape' => 'PaginationToken', ], ], ], 'ListMemoryExtractionJobsInput' => [ 'type' => 'structure', 'required' => [ 'memoryId', ], 'members' => [ 'memoryId' => [ 'shape' => 'MemoryId', 'location' => 'uri', 'locationName' => 'memoryId', ], 'maxResults' => [ 'shape' => 'ListMemoryExtractionJobsInputMaxResultsInteger', ], 'filter' => [ 'shape' => 'ExtractionJobFilterInput', ], 'nextToken' => [ 'shape' => 'PaginationToken', ], ], ], 'ListMemoryExtractionJobsInputMaxResultsInteger' => [ 'type' => 'integer', 'box' => true, 'max' => 50, 'min' => 1, ], 'ListMemoryExtractionJobsOutput' => [ 'type' => 'structure', 'required' => [ 'jobs', ], 'members' => [ 'jobs' => [ 'shape' => 'ExtractionJobMetadataList', ], 'nextToken' => [ 'shape' => 'PaginationToken', ], ], ], 'ListMemoryRecordsInput' => [ 'type' => 'structure', 'required' => [ 'memoryId', 'namespace', ], 'members' => [ 'memoryId' => [ 'shape' => 'MemoryId', 'location' => 'uri', 'locationName' => 'memoryId', ], 'namespace' => [ 'shape' => 'Namespace', ], 'memoryStrategyId' => [ 'shape' => 'MemoryStrategyId', ], 'maxResults' => [ 'shape' => 'MaxResults', ], 'nextToken' => [ 'shape' => 'PaginationToken', ], ], ], 'ListMemoryRecordsOutput' => [ 'type' => 'structure', 'required' => [ 'memoryRecordSummaries', ], 'members' => [ 'memoryRecordSummaries' => [ 'shape' => 'MemoryRecordSummaryList', ], 'nextToken' => [ 'shape' => 'PaginationToken', ], ], ], 'ListSessionsInput' => [ 'type' => 'structure', 'required' => [ 'memoryId', 'actorId', ], 'members' => [ 'memoryId' => [ 'shape' => 'MemoryId', 'location' => 'uri', 'locationName' => 'memoryId', ], 'actorId' => [ 'shape' => 'ActorId', 'location' => 'uri', 'locationName' => 'actorId', ], 'maxResults' => [ 'shape' => 'MaxResults', ], 'nextToken' => [ 'shape' => 'PaginationToken', ], ], ], 'ListSessionsOutput' => [ 'type' => 'structure', 'required' => [ 'sessionSummaries', ], 'members' => [ 'sessionSummaries' => [ 'shape' => 'SessionSummaryList', ], 'nextToken' => [ 'shape' => 'PaginationToken', ], ], ], 'LiveViewStream' => [ 'type' => 'structure', 'members' => [ 'streamEndpoint' => [ 'shape' => 'BrowserStreamEndpoint', ], ], ], 'Long' => [ 'type' => 'long', 'box' => true, ], 'MaxLenString' => [ 'type' => 'string', 'max' => 100000000, 'min' => 0, ], 'MaxResults' => [ 'type' => 'integer', 'box' => true, 'max' => 100, 'min' => 1, ], 'MemoryContent' => [ 'type' => 'structure', 'members' => [ 'text' => [ 'shape' => 'MemoryContentTextString', ], ], 'union' => true, ], 'MemoryContentTextString' => [ 'type' => 'string', 'max' => 16000, 'min' => 1, 'sensitive' => true, ], 'MemoryId' => [ 'type' => 'string', 'min' => 12, 'pattern' => '[a-zA-Z][a-zA-Z0-9-_]{0,99}-[a-zA-Z0-9]{10}', ], 'MemoryMetadataFilterExpression' => [ 'type' => 'structure', 'required' => [ 'left', 'operator', ], 'members' => [ 'left' => [ 'shape' => 'LeftExpression', ], 'operator' => [ 'shape' => 'OperatorType', ], 'right' => [ 'shape' => 'RightExpression', ], ], ], 'MemoryMetadataFilterList' => [ 'type' => 'list', 'member' => [ 'shape' => 'MemoryMetadataFilterExpression', ], 'max' => 1, 'min' => 1, ], 'MemoryRecord' => [ 'type' => 'structure', 'required' => [ 'memoryRecordId', 'content', 'memoryStrategyId', 'namespaces', 'createdAt', ], 'members' => [ 'memoryRecordId' => [ 'shape' => 'MemoryRecordId', ], 'content' => [ 'shape' => 'MemoryContent', ], 'memoryStrategyId' => [ 'shape' => 'MemoryStrategyId', ], 'namespaces' => [ 'shape' => 'NamespacesList', ], 'createdAt' => [ 'shape' => 'Timestamp', ], 'metadata' => [ 'shape' => 'MetadataMap', ], ], ], 'MemoryRecordCreateInput' => [ 'type' => 'structure', 'required' => [ 'requestIdentifier', 'namespaces', 'content', 'timestamp', ], 'members' => [ 'requestIdentifier' => [ 'shape' => 'RequestIdentifier', ], 'namespaces' => [ 'shape' => 'NamespacesList', ], 'content' => [ 'shape' => 'MemoryContent', ], 'timestamp' => [ 'shape' => 'Timestamp', ], 'memoryStrategyId' => [ 'shape' => 'MemoryStrategyId', ], ], ], 'MemoryRecordDeleteInput' => [ 'type' => 'structure', 'required' => [ 'memoryRecordId', ], 'members' => [ 'memoryRecordId' => [ 'shape' => 'MemoryRecordId', ], ], ], 'MemoryRecordId' => [ 'type' => 'string', 'max' => 50, 'min' => 40, 'pattern' => 'mem-[a-zA-Z0-9-_]*', ], 'MemoryRecordOutput' => [ 'type' => 'structure', 'required' => [ 'memoryRecordId', 'status', ], 'members' => [ 'memoryRecordId' => [ 'shape' => 'MemoryRecordId', ], 'status' => [ 'shape' => 'MemoryRecordStatus', ], 'requestIdentifier' => [ 'shape' => 'RequestIdentifier', ], 'errorCode' => [ 'shape' => 'Integer', ], 'errorMessage' => [ 'shape' => 'String', ], ], ], 'MemoryRecordStatus' => [ 'type' => 'string', 'enum' => [ 'SUCCEEDED', 'FAILED', ], ], 'MemoryRecordSummary' => [ 'type' => 'structure', 'required' => [ 'memoryRecordId', 'content', 'memoryStrategyId', 'namespaces', 'createdAt', ], 'members' => [ 'memoryRecordId' => [ 'shape' => 'MemoryRecordId', ], 'content' => [ 'shape' => 'MemoryContent', ], 'memoryStrategyId' => [ 'shape' => 'MemoryStrategyId', ], 'namespaces' => [ 'shape' => 'NamespacesList', ], 'createdAt' => [ 'shape' => 'Timestamp', ], 'score' => [ 'shape' => 'Double', ], 'metadata' => [ 'shape' => 'MetadataMap', ], ], ], 'MemoryRecordSummaryList' => [ 'type' => 'list', 'member' => [ 'shape' => 'MemoryRecordSummary', ], ], 'MemoryRecordUpdateInput' => [ 'type' => 'structure', 'required' => [ 'memoryRecordId', 'timestamp', ], 'members' => [ 'memoryRecordId' => [ 'shape' => 'MemoryRecordId', ], 'timestamp' => [ 'shape' => 'Timestamp', ], 'content' => [ 'shape' => 'MemoryContent', ], 'namespaces' => [ 'shape' => 'NamespacesList', ], 'memoryStrategyId' => [ 'shape' => 'MemoryStrategyId', ], ], ], 'MemoryRecordsCreateInputList' => [ 'type' => 'list', 'member' => [ 'shape' => 'MemoryRecordCreateInput', ], 'max' => 100, 'min' => 0, ], 'MemoryRecordsDeleteInputList' => [ 'type' => 'list', 'member' => [ 'shape' => 'MemoryRecordDeleteInput', ], 'max' => 100, 'min' => 0, ], 'MemoryRecordsOutputList' => [ 'type' => 'list', 'member' => [ 'shape' => 'MemoryRecordOutput', ], ], 'MemoryRecordsUpdateInputList' => [ 'type' => 'list', 'member' => [ 'shape' => 'MemoryRecordUpdateInput', ], 'max' => 100, 'min' => 0, ], 'MemoryStrategyId' => [ 'type' => 'string', 'max' => 100, 'min' => 1, 'pattern' => '[a-zA-Z0-9][a-zA-Z0-9-_]*', ], 'MessageMetadata' => [ 'type' => 'structure', 'required' => [ 'eventId', 'messageIndex', ], 'members' => [ 'eventId' => [ 'shape' => 'String', ], 'messageIndex' => [ 'shape' => 'Integer', ], ], ], 'MessagesList' => [ 'type' => 'list', 'member' => [ 'shape' => 'MessageMetadata', ], ], 'MetadataKey' => [ 'type' => 'string', 'max' => 128, 'min' => 1, 'pattern' => '[a-zA-Z0-9\\s._:/=+@-]*', ], 'MetadataMap' => [ 'type' => 'map', 'key' => [ 'shape' => 'MetadataKey', ], 'value' => [ 'shape' => 'MetadataValue', ], 'max' => 15, 'min' => 0, ], 'MetadataValue' => [ 'type' => 'structure', 'members' => [ 'stringValue' => [ 'shape' => 'MetadataValueStringValueString', ], ], 'union' => true, ], 'MetadataValueStringValueString' => [ 'type' => 'string', 'max' => 256, 'min' => 0, 'pattern' => '[a-zA-Z0-9\\s._:/=+@-]*', ], 'MimeType' => [ 'type' => 'string', 'max' => 256, 'min' => 1, ], 'Name' => [ 'type' => 'string', 'max' => 100, 'min' => 1, ], 'Namespace' => [ 'type' => 'string', 'max' => 1024, 'min' => 1, 'pattern' => '[a-zA-Z0-9/*][a-zA-Z0-9-_/*]*(?::[a-zA-Z0-9-_/*]+)*[a-zA-Z0-9-_/*]*', ], 'NamespacesList' => [ 'type' => 'list', 'member' => [ 'shape' => 'Namespace', ], 'max' => 1, 'min' => 0, ], 'NextToken' => [ 'type' => 'string', 'max' => 2048, 'min' => 1, 'pattern' => '\\S*', ], 'NonBlankString' => [ 'type' => 'string', 'pattern' => '[\\s\\S]+', ], 'Oauth2FlowType' => [ 'type' => 'string', 'enum' => [ 'USER_FEDERATION', 'M2M', ], ], 'OperatorType' => [ 'type' => 'string', 'enum' => [ 'EQUALS_TO', 'EXISTS', 'NOT_EXISTS', ], ], 'PaginationToken' => [ 'type' => 'string', ], 'PayloadType' => [ 'type' => 'structure', 'members' => [ 'conversational' => [ 'shape' => 'Conversational', ], 'blob' => [ 'shape' => 'Document', ], ], 'union' => true, ], 'PayloadTypeList' => [ 'type' => 'list', 'member' => [ 'shape' => 'PayloadType', ], 'max' => 100, 'min' => 0, ], 'ProgrammingLanguage' => [ 'type' => 'string', 'enum' => [ 'python', 'javascript', 'typescript', ], ], 'RequestIdentifier' => [ 'type' => 'string', 'max' => 80, 'min' => 1, 'pattern' => '[a-zA-Z0-9_-]+', ], 'RequestUri' => [ 'type' => 'string', 'max' => 1024, 'min' => 1, 'pattern' => 'urn:ietf:params:oauth:request_uri:[a-zA-Z0-9-._~]+', ], 'ResourceContent' => [ 'type' => 'structure', 'required' => [ 'type', ], 'members' => [ 'type' => [ 'shape' => 'ResourceContentType', ], 'uri' => [ 'shape' => 'String', ], 'mimeType' => [ 'shape' => 'String', ], 'text' => [ 'shape' => 'String', ], 'blob' => [ 'shape' => 'Blob', ], ], ], 'ResourceContentType' => [ 'type' => 'string', 'enum' => [ 'text', 'blob', ], ], 'ResourceNotFoundException' => [ 'type' => 'structure', 'members' => [ 'message' => [ 'shape' => 'NonBlankString', ], ], 'error' => [ 'httpStatusCode' => 404, 'senderFault' => true, ], 'exception' => true, ], 'ResourceOauth2ReturnUrlType' => [ 'type' => 'string', 'max' => 2048, 'min' => 1, 'pattern' => '\\w+:(\\/?\\/?)[^\\s]+', ], 'ResponseStream' => [ 'type' => 'blob', 'sensitive' => true, 'streaming' => true, ], 'RetrieveMemoryRecordsInput' => [ 'type' => 'structure', 'required' => [ 'memoryId', 'namespace', 'searchCriteria', ], 'members' => [ 'memoryId' => [ 'shape' => 'MemoryId', 'location' => 'uri', 'locationName' => 'memoryId', ], 'namespace' => [ 'shape' => 'Namespace', ], 'searchCriteria' => [ 'shape' => 'SearchCriteria', ], 'nextToken' => [ 'shape' => 'PaginationToken', ], 'maxResults' => [ 'shape' => 'MaxResults', ], ], ], 'RetrieveMemoryRecordsOutput' => [ 'type' => 'structure', 'required' => [ 'memoryRecordSummaries', ], 'members' => [ 'memoryRecordSummaries' => [ 'shape' => 'MemoryRecordSummaryList', ], 'nextToken' => [ 'shape' => 'PaginationToken', ], ], ], 'RightExpression' => [ 'type' => 'structure', 'members' => [ 'metadataValue' => [ 'shape' => 'MetadataValue', ], ], 'union' => true, ], 'Role' => [ 'type' => 'string', 'enum' => [ 'ASSISTANT', 'USER', 'TOOL', 'OTHER', ], ], 'RuntimeClientError' => [ 'type' => 'structure', 'members' => [ 'message' => [ 'shape' => 'NonBlankString', ], ], 'error' => [ 'httpStatusCode' => 424, 'senderFault' => true, ], 'exception' => true, ], 'ScopeType' => [ 'type' => 'string', 'max' => 128, 'min' => 1, ], 'ScopesListType' => [ 'type' => 'list', 'member' => [ 'shape' => 'ScopeType', ], ], 'SearchCriteria' => [ 'type' => 'structure', 'required' => [ 'searchQuery', ], 'members' => [ 'searchQuery' => [ 'shape' => 'SearchCriteriaSearchQueryString', ], 'memoryStrategyId' => [ 'shape' => 'MemoryStrategyId', ], 'topK' => [ 'shape' => 'SearchCriteriaTopKInteger', ], 'metadataFilters' => [ 'shape' => 'MemoryMetadataFilterList', ], ], ], 'SearchCriteriaSearchQueryString' => [ 'type' => 'string', 'max' => 10000, 'min' => 1, 'sensitive' => true, ], 'SearchCriteriaTopKInteger' => [ 'type' => 'integer', 'box' => true, 'max' => 100, 'min' => 1, ], 'ServiceException' => [ 'type' => 'structure', 'required' => [ 'message', ], 'members' => [ 'message' => [ 'shape' => 'String', ], ], 'error' => [ 'httpStatusCode' => 500, ], 'exception' => true, 'fault' => true, ], 'ServiceQuotaExceededException' => [ 'type' => 'structure', 'members' => [ 'message' => [ 'shape' => 'NonBlankString', ], ], 'error' => [ 'httpStatusCode' => 402, 'senderFault' => true, ], 'exception' => true, ], 'SessionId' => [ 'type' => 'string', 'max' => 100, 'min' => 1, 'pattern' => '[a-zA-Z0-9][a-zA-Z0-9-_]*', ], 'SessionStatus' => [ 'type' => 'string', 'enum' => [ 'IN_PROGRESS', 'FAILED', ], ], 'SessionSummary' => [ 'type' => 'structure', 'required' => [ 'sessionId', 'actorId', 'createdAt', ], 'members' => [ 'sessionId' => [ 'shape' => 'SessionId', ], 'actorId' => [ 'shape' => 'ActorId', ], 'createdAt' => [ 'shape' => 'Timestamp', ], ], ], 'SessionSummaryList' => [ 'type' => 'list', 'member' => [ 'shape' => 'SessionSummary', ], ], 'SessionType' => [ 'type' => 'string', 'max' => 256, 'min' => 33, ], 'Span' => [ 'type' => 'structure', 'members' => [], 'document' => true, ], 'SpanContext' => [ 'type' => 'structure', 'required' => [ 'sessionId', ], 'members' => [ 'sessionId' => [ 'shape' => 'String', ], 'traceId' => [ 'shape' => 'String', ], 'spanId' => [ 'shape' => 'String', ], ], ], 'SpanId' => [ 'type' => 'string', 'max' => 16, 'min' => 16, ], 'SpanIds' => [ 'type' => 'list', 'member' => [ 'shape' => 'SpanId', ], 'max' => 10, 'min' => 1, ], 'Spans' => [ 'type' => 'list', 'member' => [ 'shape' => 'Span', ], 'max' => 1000, 'min' => 1, 'sensitive' => true, ], 'StartBrowserSessionRequest' => [ 'type' => 'structure', 'required' => [ 'browserIdentifier', ], 'members' => [ 'traceId' => [ 'shape' => 'StartBrowserSessionRequestTraceIdString', 'location' => 'header', 'locationName' => 'X-Amzn-Trace-Id', ], 'traceParent' => [ 'shape' => 'StartBrowserSessionRequestTraceParentString', 'location' => 'header', 'locationName' => 'traceparent', ], 'browserIdentifier' => [ 'shape' => 'String', 'location' => 'uri', 'locationName' => 'browserIdentifier', ], 'name' => [ 'shape' => 'Name', ], 'sessionTimeoutSeconds' => [ 'shape' => 'BrowserSessionTimeout', ], 'viewPort' => [ 'shape' => 'ViewPort', ], 'clientToken' => [ 'shape' => 'ClientToken', 'idempotencyToken' => true, ], ], ], 'StartBrowserSessionRequestTraceIdString' => [ 'type' => 'string', 'max' => 1024, 'min' => 0, ], 'StartBrowserSessionRequestTraceParentString' => [ 'type' => 'string', 'max' => 1024, 'min' => 0, ], 'StartBrowserSessionResponse' => [ 'type' => 'structure', 'required' => [ 'browserIdentifier', 'sessionId', 'createdAt', ], 'members' => [ 'browserIdentifier' => [ 'shape' => 'String', ], 'sessionId' => [ 'shape' => 'BrowserSessionId', ], 'createdAt' => [ 'shape' => 'DateTimestamp', ], 'streams' => [ 'shape' => 'BrowserSessionStream', ], ], ], 'StartCodeInterpreterSessionRequest' => [ 'type' => 'structure', 'required' => [ 'codeInterpreterIdentifier', ], 'members' => [ 'traceId' => [ 'shape' => 'StartCodeInterpreterSessionRequestTraceIdString', 'location' => 'header', 'locationName' => 'X-Amzn-Trace-Id', ], 'traceParent' => [ 'shape' => 'StartCodeInterpreterSessionRequestTraceParentString', 'location' => 'header', 'locationName' => 'traceparent', ], 'codeInterpreterIdentifier' => [ 'shape' => 'String', 'location' => 'uri', 'locationName' => 'codeInterpreterIdentifier', ], 'name' => [ 'shape' => 'Name', ], 'sessionTimeoutSeconds' => [ 'shape' => 'CodeInterpreterSessionTimeout', ], 'clientToken' => [ 'shape' => 'ClientToken', 'idempotencyToken' => true, ], ], ], 'StartCodeInterpreterSessionRequestTraceIdString' => [ 'type' => 'string', 'max' => 1024, 'min' => 0, ], 'StartCodeInterpreterSessionRequestTraceParentString' => [ 'type' => 'string', 'max' => 1024, 'min' => 0, ], 'StartCodeInterpreterSessionResponse' => [ 'type' => 'structure', 'required' => [ 'codeInterpreterIdentifier', 'sessionId', 'createdAt', ], 'members' => [ 'codeInterpreterIdentifier' => [ 'shape' => 'String', ], 'sessionId' => [ 'shape' => 'CodeInterpreterSessionId', ], 'createdAt' => [ 'shape' => 'DateTimestamp', ], ], ], 'StartMemoryExtractionJobInput' => [ 'type' => 'structure', 'required' => [ 'memoryId', 'extractionJob', ], 'members' => [ 'memoryId' => [ 'shape' => 'MemoryId', 'location' => 'uri', 'locationName' => 'memoryId', ], 'extractionJob' => [ 'shape' => 'ExtractionJob', ], 'clientToken' => [ 'shape' => 'String', 'idempotencyToken' => true, ], ], ], 'StartMemoryExtractionJobOutput' => [ 'type' => 'structure', 'required' => [ 'jobId', ], 'members' => [ 'jobId' => [ 'shape' => 'String', ], ], ], 'State' => [ 'type' => 'string', 'max' => 4096, 'min' => 1, 'sensitive' => true, ], 'StopBrowserSessionRequest' => [ 'type' => 'structure', 'required' => [ 'browserIdentifier', 'sessionId', ], 'members' => [ 'traceId' => [ 'shape' => 'StopBrowserSessionRequestTraceIdString', 'location' => 'header', 'locationName' => 'X-Amzn-Trace-Id', ], 'traceParent' => [ 'shape' => 'StopBrowserSessionRequestTraceParentString', 'location' => 'header', 'locationName' => 'traceparent', ], 'browserIdentifier' => [ 'shape' => 'String', 'location' => 'uri', 'locationName' => 'browserIdentifier', ], 'sessionId' => [ 'shape' => 'BrowserSessionId', 'location' => 'querystring', 'locationName' => 'sessionId', ], 'clientToken' => [ 'shape' => 'ClientToken', 'idempotencyToken' => true, ], ], ], 'StopBrowserSessionRequestTraceIdString' => [ 'type' => 'string', 'max' => 1024, 'min' => 0, ], 'StopBrowserSessionRequestTraceParentString' => [ 'type' => 'string', 'max' => 1024, 'min' => 0, ], 'StopBrowserSessionResponse' => [ 'type' => 'structure', 'required' => [ 'browserIdentifier', 'sessionId', 'lastUpdatedAt', ], 'members' => [ 'browserIdentifier' => [ 'shape' => 'String', ], 'sessionId' => [ 'shape' => 'BrowserSessionId', ], 'lastUpdatedAt' => [ 'shape' => 'DateTimestamp', ], ], ], 'StopCodeInterpreterSessionRequest' => [ 'type' => 'structure', 'required' => [ 'codeInterpreterIdentifier', 'sessionId', ], 'members' => [ 'traceId' => [ 'shape' => 'StopCodeInterpreterSessionRequestTraceIdString', 'location' => 'header', 'locationName' => 'X-Amzn-Trace-Id', ], 'traceParent' => [ 'shape' => 'StopCodeInterpreterSessionRequestTraceParentString', 'location' => 'header', 'locationName' => 'traceparent', ], 'codeInterpreterIdentifier' => [ 'shape' => 'String', 'location' => 'uri', 'locationName' => 'codeInterpreterIdentifier', ], 'sessionId' => [ 'shape' => 'CodeInterpreterSessionId', 'location' => 'querystring', 'locationName' => 'sessionId', ], 'clientToken' => [ 'shape' => 'ClientToken', 'idempotencyToken' => true, ], ], ], 'StopCodeInterpreterSessionRequestTraceIdString' => [ 'type' => 'string', 'max' => 1024, 'min' => 0, ], 'StopCodeInterpreterSessionRequestTraceParentString' => [ 'type' => 'string', 'max' => 1024, 'min' => 0, ], 'StopCodeInterpreterSessionResponse' => [ 'type' => 'structure', 'required' => [ 'codeInterpreterIdentifier', 'sessionId', 'lastUpdatedAt', ], 'members' => [ 'codeInterpreterIdentifier' => [ 'shape' => 'String', ], 'sessionId' => [ 'shape' => 'CodeInterpreterSessionId', ], 'lastUpdatedAt' => [ 'shape' => 'DateTimestamp', ], ], ], 'StopRuntimeSessionRequest' => [ 'type' => 'structure', 'required' => [ 'runtimeSessionId', 'agentRuntimeArn', ], 'members' => [ 'runtimeSessionId' => [ 'shape' => 'SessionType', 'location' => 'header', 'locationName' => 'X-Amzn-Bedrock-AgentCore-Runtime-Session-Id', ], 'agentRuntimeArn' => [ 'shape' => 'String', 'location' => 'uri', 'locationName' => 'agentRuntimeArn', ], 'qualifier' => [ 'shape' => 'String', 'location' => 'querystring', 'locationName' => 'qualifier', ], 'clientToken' => [ 'shape' => 'ClientToken', 'idempotencyToken' => true, ], ], ], 'StopRuntimeSessionResponse' => [ 'type' => 'structure', 'members' => [ 'runtimeSessionId' => [ 'shape' => 'SessionId', 'location' => 'header', 'locationName' => 'X-Amzn-Bedrock-AgentCore-Runtime-Session-Id', ], 'statusCode' => [ 'shape' => 'HttpResponseCode', 'location' => 'statusCode', ], ], ], 'StreamUpdate' => [ 'type' => 'structure', 'members' => [ 'automationStreamUpdate' => [ 'shape' => 'AutomationStreamUpdate', ], ], 'union' => true, ], 'String' => [ 'type' => 'string', ], 'StringList' => [ 'type' => 'list', 'member' => [ 'shape' => 'MaxLenString', ], ], 'StringType' => [ 'type' => 'string', 'max' => 1024, 'min' => 1, ], 'TaskStatus' => [ 'type' => 'string', 'enum' => [ 'submitted', 'working', 'completed', 'canceled', 'failed', ], ], 'ThrottledException' => [ 'type' => 'structure', 'required' => [ 'message', ], 'members' => [ 'message' => [ 'shape' => 'String', ], ], 'error' => [ 'httpStatusCode' => 429, 'senderFault' => true, ], 'exception' => true, ], 'ThrottlingException' => [ 'type' => 'structure', 'members' => [ 'message' => [ 'shape' => 'NonBlankString', ], ], 'error' => [ 'httpStatusCode' => 429, 'senderFault' => true, ], 'exception' => true, ], 'Timestamp' => [ 'type' => 'timestamp', ], 'TokenUsage' => [ 'type' => 'structure', 'members' => [ 'inputTokens' => [ 'shape' => 'Integer', ], 'outputTokens' => [ 'shape' => 'Integer', ], 'totalTokens' => [ 'shape' => 'Integer', ], ], ], 'ToolArguments' => [ 'type' => 'structure', 'members' => [ 'code' => [ 'shape' => 'MaxLenString', ], 'language' => [ 'shape' => 'ProgrammingLanguage', ], 'clearContext' => [ 'shape' => 'Boolean', ], 'command' => [ 'shape' => 'MaxLenString', ], 'path' => [ 'shape' => 'MaxLenString', ], 'paths' => [ 'shape' => 'StringList', ], 'content' => [ 'shape' => 'InputContentBlockList', ], 'directoryPath' => [ 'shape' => 'MaxLenString', ], 'taskId' => [ 'shape' => 'MaxLenString', ], ], ], 'ToolName' => [ 'type' => 'string', 'enum' => [ 'executeCode', 'executeCommand', 'readFiles', 'listFiles', 'removeFiles', 'writeFiles', 'startCommandExecution', 'getTask', 'stopTask', ], ], 'ToolResultStructuredContent' => [ 'type' => 'structure', 'members' => [ 'taskId' => [ 'shape' => 'String', ], 'taskStatus' => [ 'shape' => 'TaskStatus', ], 'stdout' => [ 'shape' => 'String', ], 'stderr' => [ 'shape' => 'String', ], 'exitCode' => [ 'shape' => 'Integer', ], 'executionTime' => [ 'shape' => 'Double', ], ], ], 'TraceId' => [ 'type' => 'string', 'max' => 32, 'min' => 32, ], 'TraceIds' => [ 'type' => 'list', 'member' => [ 'shape' => 'TraceId', ], 'max' => 10, 'min' => 1, ], 'UnauthorizedException' => [ 'type' => 'structure', 'members' => [ 'message' => [ 'shape' => 'NonBlankString', ], ], 'error' => [ 'httpStatusCode' => 401, 'senderFault' => true, ], 'exception' => true, ], 'UpdateBrowserStreamRequest' => [ 'type' => 'structure', 'required' => [ 'browserIdentifier', 'sessionId', 'streamUpdate', ], 'members' => [ 'browserIdentifier' => [ 'shape' => 'String', 'location' => 'uri', 'locationName' => 'browserIdentifier', ], 'sessionId' => [ 'shape' => 'BrowserSessionId', 'location' => 'querystring', 'locationName' => 'sessionId', ], 'streamUpdate' => [ 'shape' => 'StreamUpdate', ], 'clientToken' => [ 'shape' => 'ClientToken', 'idempotencyToken' => true, ], ], ], 'UpdateBrowserStreamResponse' => [ 'type' => 'structure', 'required' => [ 'browserIdentifier', 'sessionId', 'streams', 'updatedAt', ], 'members' => [ 'browserIdentifier' => [ 'shape' => 'String', ], 'sessionId' => [ 'shape' => 'BrowserSessionId', ], 'streams' => [ 'shape' => 'BrowserSessionStream', ], 'updatedAt' => [ 'shape' => 'DateTimestamp', ], ], ], 'UserIdType' => [ 'type' => 'string', 'max' => 128, 'min' => 1, ], 'UserIdentifier' => [ 'type' => 'structure', 'members' => [ 'userToken' => [ 'shape' => 'UserTokenType', ], 'userId' => [ 'shape' => 'UserIdType', ], ], 'union' => true, ], 'UserTokenType' => [ 'type' => 'string', 'max' => 131072, 'min' => 1, 'pattern' => '[A-Za-z0-9-_=]+.[A-Za-z0-9-_=]+.[A-Za-z0-9-_=]+', 'sensitive' => true, ], 'ValidationException' => [ 'type' => 'structure', 'required' => [ 'message', 'reason', ], 'members' => [ 'message' => [ 'shape' => 'String', ], 'reason' => [ 'shape' => 'ValidationExceptionReason', ], 'fieldList' => [ 'shape' => 'ValidationExceptionFieldList', ], ], 'error' => [ 'httpStatusCode' => 400, 'senderFault' => true, ], 'exception' => true, ], 'ValidationExceptionField' => [ 'type' => 'structure', 'required' => [ 'name', 'message', ], 'members' => [ 'name' => [ 'shape' => 'String', ], 'message' => [ 'shape' => 'String', ], ], ], 'ValidationExceptionFieldList' => [ 'type' => 'list', 'member' => [ 'shape' => 'ValidationExceptionField', ], ], 'ValidationExceptionReason' => [ 'type' => 'string', 'enum' => [ 'CannotParse', 'FieldValidationFailed', 'IdempotentParameterMismatchException', 'EventInOtherSession', 'ResourceConflict', ], ], 'ViewPort' => [ 'type' => 'structure', 'required' => [ 'width', 'height', ], 'members' => [ 'width' => [ 'shape' => 'ViewPortWidth', ], 'height' => [ 'shape' => 'ViewPortHeight', ], ], ], 'ViewPortHeight' => [ 'type' => 'integer', 'box' => true, 'max' => 2160, 'min' => 240, ], 'ViewPortWidth' => [ 'type' => 'integer', 'box' => true, 'max' => 3840, 'min' => 320, ], 'WorkloadIdentityNameType' => [ 'type' => 'string', 'max' => 255, 'min' => 3, 'pattern' => '[A-Za-z0-9_.-]+', ], 'WorkloadIdentityTokenType' => [ 'type' => 'string', 'max' => 131072, 'min' => 1, 'sensitive' => true, ], ],];
