<?php
// This file was auto-generated from sdk-root/src/data/bedrock/2023-04-20/api-2.json
return [ 'version' => '2.0', 'metadata' => [ 'apiVersion' => '2023-04-20', 'auth' => [ 'aws.auth#sigv4', ], 'endpointPrefix' => 'bedrock', 'protocol' => 'rest-json', 'protocols' => [ 'rest-json', ], 'serviceFullName' => 'Amazon Bedrock', 'serviceId' => 'Bedrock', 'signatureVersion' => 'v4', 'signingName' => 'bedrock', 'uid' => 'bedrock-2023-04-20', ], 'operations' => [ 'BatchDeleteEvaluationJob' => [ 'name' => 'BatchDeleteEvaluationJob', 'http' => [ 'method' => 'POST', 'requestUri' => '/evaluation-jobs/batch-delete', 'responseCode' => 202, ], 'input' => [ 'shape' => 'BatchDeleteEvaluationJobRequest', ], 'output' => [ 'shape' => 'BatchDeleteEvaluationJobResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'CreateEvaluationJob' => [ 'name' => 'CreateEvaluationJob', 'http' => [ 'method' => 'POST', 'requestUri' => '/evaluation-jobs', 'responseCode' => 202, ], 'input' => [ 'shape' => 'CreateEvaluationJobRequest', ], 'output' => [ 'shape' => 'CreateEvaluationJobResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'CreateGuardrail' => [ 'name' => 'CreateGuardrail', 'http' => [ 'method' => 'POST', 'requestUri' => '/guardrails', 'responseCode' => 202, ], 'input' => [ 'shape' => 'CreateGuardrailRequest', ], 'output' => [ 'shape' => 'CreateGuardrailResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'TooManyTagsException', ], [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'CreateGuardrailVersion' => [ 'name' => 'CreateGuardrailVersion', 'http' => [ 'method' => 'POST', 'requestUri' => '/guardrails/{guardrailIdentifier}', 'responseCode' => 202, ], 'input' => [ 'shape' => 'CreateGuardrailVersionRequest', ], 'output' => [ 'shape' => 'CreateGuardrailVersionResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'CreateInferenceProfile' => [ 'name' => 'CreateInferenceProfile', 'http' => [ 'method' => 'POST', 'requestUri' => '/inference-profiles', 'responseCode' => 201, ], 'input' => [ 'shape' => 'CreateInferenceProfileRequest', ], 'output' => [ 'shape' => 'CreateInferenceProfileResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'TooManyTagsException', ], [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'CreateMarketplaceModelEndpoint' => [ 'name' => 'CreateMarketplaceModelEndpoint', 'http' => [ 'method' => 'POST', 'requestUri' => '/marketplace-model/endpoints', 'responseCode' => 200, ], 'input' => [ 'shape' => 'CreateMarketplaceModelEndpointRequest', ], 'output' => [ 'shape' => 'CreateMarketplaceModelEndpointResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'CreateModelCopyJob' => [ 'name' => 'CreateModelCopyJob', 'http' => [ 'method' => 'POST', 'requestUri' => '/model-copy-jobs', 'responseCode' => 201, ], 'input' => [ 'shape' => 'CreateModelCopyJobRequest', ], 'output' => [ 'shape' => 'CreateModelCopyJobResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'TooManyTagsException', ], ], 'idempotent' => true, ], 'CreateModelCustomizationJob' => [ 'name' => 'CreateModelCustomizationJob', 'http' => [ 'method' => 'POST', 'requestUri' => '/model-customization-jobs', 'responseCode' => 201, ], 'input' => [ 'shape' => 'CreateModelCustomizationJobRequest', ], 'output' => [ 'shape' => 'CreateModelCustomizationJobResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'TooManyTagsException', ], [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'CreateModelImportJob' => [ 'name' => 'CreateModelImportJob', 'http' => [ 'method' => 'POST', 'requestUri' => '/model-import-jobs', 'responseCode' => 201, ], 'input' => [ 'shape' => 'CreateModelImportJobRequest', ], 'output' => [ 'shape' => 'CreateModelImportJobResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'TooManyTagsException', ], [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'CreateModelInvocationJob' => [ 'name' => 'CreateModelInvocationJob', 'http' => [ 'method' => 'POST', 'requestUri' => '/model-invocation-job', 'responseCode' => 200, ], 'input' => [ 'shape' => 'CreateModelInvocationJobRequest', ], 'output' => [ 'shape' => 'CreateModelInvocationJobResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'CreateProvisionedModelThroughput' => [ 'name' => 'CreateProvisionedModelThroughput', 'http' => [ 'method' => 'POST', 'requestUri' => '/provisioned-model-throughput', 'responseCode' => 201, ], 'input' => [ 'shape' => 'CreateProvisionedModelThroughputRequest', ], 'output' => [ 'shape' => 'CreateProvisionedModelThroughputResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'TooManyTagsException', ], [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'DeleteCustomModel' => [ 'name' => 'DeleteCustomModel', 'http' => [ 'method' => 'DELETE', 'requestUri' => '/custom-models/{modelIdentifier}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'DeleteCustomModelRequest', ], 'output' => [ 'shape' => 'DeleteCustomModelResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'DeleteGuardrail' => [ 'name' => 'DeleteGuardrail', 'http' => [ 'method' => 'DELETE', 'requestUri' => '/guardrails/{guardrailIdentifier}', 'responseCode' => 202, ], 'input' => [ 'shape' => 'DeleteGuardrailRequest', ], 'output' => [ 'shape' => 'DeleteGuardrailResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'DeleteImportedModel' => [ 'name' => 'DeleteImportedModel', 'http' => [ 'method' => 'DELETE', 'requestUri' => '/imported-models/{modelIdentifier}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'DeleteImportedModelRequest', ], 'output' => [ 'shape' => 'DeleteImportedModelResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'DeleteInferenceProfile' => [ 'name' => 'DeleteInferenceProfile', 'http' => [ 'method' => 'DELETE', 'requestUri' => '/inference-profiles/{inferenceProfileIdentifier}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'DeleteInferenceProfileRequest', ], 'output' => [ 'shape' => 'DeleteInferenceProfileResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'DeleteMarketplaceModelEndpoint' => [ 'name' => 'DeleteMarketplaceModelEndpoint', 'http' => [ 'method' => 'DELETE', 'requestUri' => '/marketplace-model/endpoints/{endpointArn}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'DeleteMarketplaceModelEndpointRequest', ], 'output' => [ 'shape' => 'DeleteMarketplaceModelEndpointResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'DeleteModelInvocationLoggingConfiguration' => [ 'name' => 'DeleteModelInvocationLoggingConfiguration', 'http' => [ 'method' => 'DELETE', 'requestUri' => '/logging/modelinvocations', 'responseCode' => 200, ], 'input' => [ 'shape' => 'DeleteModelInvocationLoggingConfigurationRequest', ], 'output' => [ 'shape' => 'DeleteModelInvocationLoggingConfigurationResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'DeleteProvisionedModelThroughput' => [ 'name' => 'DeleteProvisionedModelThroughput', 'http' => [ 'method' => 'DELETE', 'requestUri' => '/provisioned-model-throughput/{provisionedModelId}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'DeleteProvisionedModelThroughputRequest', ], 'output' => [ 'shape' => 'DeleteProvisionedModelThroughputResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'DeregisterMarketplaceModelEndpoint' => [ 'name' => 'DeregisterMarketplaceModelEndpoint', 'http' => [ 'method' => 'DELETE', 'requestUri' => '/marketplace-model/endpoints/{endpointArn}/registration', 'responseCode' => 200, ], 'input' => [ 'shape' => 'DeregisterMarketplaceModelEndpointRequest', ], 'output' => [ 'shape' => 'DeregisterMarketplaceModelEndpointResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ServiceUnavailableException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'GetCustomModel' => [ 'name' => 'GetCustomModel', 'http' => [ 'method' => 'GET', 'requestUri' => '/custom-models/{modelIdentifier}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetCustomModelRequest', ], 'output' => [ 'shape' => 'GetCustomModelResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'GetEvaluationJob' => [ 'name' => 'GetEvaluationJob', 'http' => [ 'method' => 'GET', 'requestUri' => '/evaluation-jobs/{jobIdentifier}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetEvaluationJobRequest', ], 'output' => [ 'shape' => 'GetEvaluationJobResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'GetFoundationModel' => [ 'name' => 'GetFoundationModel', 'http' => [ 'method' => 'GET', 'requestUri' => '/foundation-models/{modelIdentifier}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetFoundationModelRequest', ], 'output' => [ 'shape' => 'GetFoundationModelResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'GetGuardrail' => [ 'name' => 'GetGuardrail', 'http' => [ 'method' => 'GET', 'requestUri' => '/guardrails/{guardrailIdentifier}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetGuardrailRequest', ], 'output' => [ 'shape' => 'GetGuardrailResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'GetImportedModel' => [ 'name' => 'GetImportedModel', 'http' => [ 'method' => 'GET', 'requestUri' => '/imported-models/{modelIdentifier}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetImportedModelRequest', ], 'output' => [ 'shape' => 'GetImportedModelResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'GetInferenceProfile' => [ 'name' => 'GetInferenceProfile', 'http' => [ 'method' => 'GET', 'requestUri' => '/inference-profiles/{inferenceProfileIdentifier}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetInferenceProfileRequest', ], 'output' => [ 'shape' => 'GetInferenceProfileResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'GetMarketplaceModelEndpoint' => [ 'name' => 'GetMarketplaceModelEndpoint', 'http' => [ 'method' => 'GET', 'requestUri' => '/marketplace-model/endpoints/{endpointArn}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetMarketplaceModelEndpointRequest', ], 'output' => [ 'shape' => 'GetMarketplaceModelEndpointResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'GetModelCopyJob' => [ 'name' => 'GetModelCopyJob', 'http' => [ 'method' => 'GET', 'requestUri' => '/model-copy-jobs/{jobArn}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetModelCopyJobRequest', ], 'output' => [ 'shape' => 'GetModelCopyJobResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'GetModelCustomizationJob' => [ 'name' => 'GetModelCustomizationJob', 'http' => [ 'method' => 'GET', 'requestUri' => '/model-customization-jobs/{jobIdentifier}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetModelCustomizationJobRequest', ], 'output' => [ 'shape' => 'GetModelCustomizationJobResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'GetModelImportJob' => [ 'name' => 'GetModelImportJob', 'http' => [ 'method' => 'GET', 'requestUri' => '/model-import-jobs/{jobIdentifier}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetModelImportJobRequest', ], 'output' => [ 'shape' => 'GetModelImportJobResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'GetModelInvocationJob' => [ 'name' => 'GetModelInvocationJob', 'http' => [ 'method' => 'GET', 'requestUri' => '/model-invocation-job/{jobIdentifier}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetModelInvocationJobRequest', ], 'output' => [ 'shape' => 'GetModelInvocationJobResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'GetModelInvocationLoggingConfiguration' => [ 'name' => 'GetModelInvocationLoggingConfiguration', 'http' => [ 'method' => 'GET', 'requestUri' => '/logging/modelinvocations', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetModelInvocationLoggingConfigurationRequest', ], 'output' => [ 'shape' => 'GetModelInvocationLoggingConfigurationResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'GetPromptRouter' => [ 'name' => 'GetPromptRouter', 'http' => [ 'method' => 'GET', 'requestUri' => '/prompt-routers/{promptRouterArn}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetPromptRouterRequest', ], 'output' => [ 'shape' => 'GetPromptRouterResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'GetProvisionedModelThroughput' => [ 'name' => 'GetProvisionedModelThroughput', 'http' => [ 'method' => 'GET', 'requestUri' => '/provisioned-model-throughput/{provisionedModelId}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetProvisionedModelThroughputRequest', ], 'output' => [ 'shape' => 'GetProvisionedModelThroughputResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'ListCustomModels' => [ 'name' => 'ListCustomModels', 'http' => [ 'method' => 'GET', 'requestUri' => '/custom-models', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListCustomModelsRequest', ], 'output' => [ 'shape' => 'ListCustomModelsResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'ListEvaluationJobs' => [ 'name' => 'ListEvaluationJobs', 'http' => [ 'method' => 'GET', 'requestUri' => '/evaluation-jobs', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListEvaluationJobsRequest', ], 'output' => [ 'shape' => 'ListEvaluationJobsResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'ListFoundationModels' => [ 'name' => 'ListFoundationModels', 'http' => [ 'method' => 'GET', 'requestUri' => '/foundation-models', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListFoundationModelsRequest', ], 'output' => [ 'shape' => 'ListFoundationModelsResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'ListGuardrails' => [ 'name' => 'ListGuardrails', 'http' => [ 'method' => 'GET', 'requestUri' => '/guardrails', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListGuardrailsRequest', ], 'output' => [ 'shape' => 'ListGuardrailsResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'ListImportedModels' => [ 'name' => 'ListImportedModels', 'http' => [ 'method' => 'GET', 'requestUri' => '/imported-models', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListImportedModelsRequest', ], 'output' => [ 'shape' => 'ListImportedModelsResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'ListInferenceProfiles' => [ 'name' => 'ListInferenceProfiles', 'http' => [ 'method' => 'GET', 'requestUri' => '/inference-profiles', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListInferenceProfilesRequest', ], 'output' => [ 'shape' => 'ListInferenceProfilesResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'ListMarketplaceModelEndpoints' => [ 'name' => 'ListMarketplaceModelEndpoints', 'http' => [ 'method' => 'GET', 'requestUri' => '/marketplace-model/endpoints', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListMarketplaceModelEndpointsRequest', ], 'output' => [ 'shape' => 'ListMarketplaceModelEndpointsResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'ListModelCopyJobs' => [ 'name' => 'ListModelCopyJobs', 'http' => [ 'method' => 'GET', 'requestUri' => '/model-copy-jobs', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListModelCopyJobsRequest', ], 'output' => [ 'shape' => 'ListModelCopyJobsResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'ListModelCustomizationJobs' => [ 'name' => 'ListModelCustomizationJobs', 'http' => [ 'method' => 'GET', 'requestUri' => '/model-customization-jobs', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListModelCustomizationJobsRequest', ], 'output' => [ 'shape' => 'ListModelCustomizationJobsResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'ListModelImportJobs' => [ 'name' => 'ListModelImportJobs', 'http' => [ 'method' => 'GET', 'requestUri' => '/model-import-jobs', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListModelImportJobsRequest', ], 'output' => [ 'shape' => 'ListModelImportJobsResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'ListModelInvocationJobs' => [ 'name' => 'ListModelInvocationJobs', 'http' => [ 'method' => 'GET', 'requestUri' => '/model-invocation-jobs', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListModelInvocationJobsRequest', ], 'output' => [ 'shape' => 'ListModelInvocationJobsResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'ListPromptRouters' => [ 'name' => 'ListPromptRouters', 'http' => [ 'method' => 'GET', 'requestUri' => '/prompt-routers', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListPromptRoutersRequest', ], 'output' => [ 'shape' => 'ListPromptRoutersResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'ListProvisionedModelThroughputs' => [ 'name' => 'ListProvisionedModelThroughputs', 'http' => [ 'method' => 'GET', 'requestUri' => '/provisioned-model-throughputs', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListProvisionedModelThroughputsRequest', ], 'output' => [ 'shape' => 'ListProvisionedModelThroughputsResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'ListTagsForResource' => [ 'name' => 'ListTagsForResource', 'http' => [ 'method' => 'POST', 'requestUri' => '/listTagsForResource', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListTagsForResourceRequest', ], 'output' => [ 'shape' => 'ListTagsForResourceResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'PutModelInvocationLoggingConfiguration' => [ 'name' => 'PutModelInvocationLoggingConfiguration', 'http' => [ 'method' => 'PUT', 'requestUri' => '/logging/modelinvocations', 'responseCode' => 200, ], 'input' => [ 'shape' => 'PutModelInvocationLoggingConfigurationRequest', ], 'output' => [ 'shape' => 'PutModelInvocationLoggingConfigurationResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'RegisterMarketplaceModelEndpoint' => [ 'name' => 'RegisterMarketplaceModelEndpoint', 'http' => [ 'method' => 'POST', 'requestUri' => '/marketplace-model/endpoints/{endpointIdentifier}/registration', 'responseCode' => 200, ], 'input' => [ 'shape' => 'RegisterMarketplaceModelEndpointRequest', ], 'output' => [ 'shape' => 'RegisterMarketplaceModelEndpointResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ServiceUnavailableException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'StopEvaluationJob' => [ 'name' => 'StopEvaluationJob', 'http' => [ 'method' => 'POST', 'requestUri' => '/evaluation-job/{jobIdentifier}/stop', 'responseCode' => 200, ], 'input' => [ 'shape' => 'StopEvaluationJobRequest', ], 'output' => [ 'shape' => 'StopEvaluationJobResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'StopModelCustomizationJob' => [ 'name' => 'StopModelCustomizationJob', 'http' => [ 'method' => 'POST', 'requestUri' => '/model-customization-jobs/{jobIdentifier}/stop', 'responseCode' => 200, ], 'input' => [ 'shape' => 'StopModelCustomizationJobRequest', ], 'output' => [ 'shape' => 'StopModelCustomizationJobResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'StopModelInvocationJob' => [ 'name' => 'StopModelInvocationJob', 'http' => [ 'method' => 'POST', 'requestUri' => '/model-invocation-job/{jobIdentifier}/stop', 'responseCode' => 200, ], 'input' => [ 'shape' => 'StopModelInvocationJobRequest', ], 'output' => [ 'shape' => 'StopModelInvocationJobResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'TagResource' => [ 'name' => 'TagResource', 'http' => [ 'method' => 'POST', 'requestUri' => '/tagResource', 'responseCode' => 200, ], 'input' => [ 'shape' => 'TagResourceRequest', ], 'output' => [ 'shape' => 'TagResourceResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'TooManyTagsException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'UntagResource' => [ 'name' => 'UntagResource', 'http' => [ 'method' => 'POST', 'requestUri' => '/untagResource', 'responseCode' => 200, ], 'input' => [ 'shape' => 'UntagResourceRequest', ], 'output' => [ 'shape' => 'UntagResourceResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'UpdateGuardrail' => [ 'name' => 'UpdateGuardrail', 'http' => [ 'method' => 'PUT', 'requestUri' => '/guardrails/{guardrailIdentifier}', 'responseCode' => 202, ], 'input' => [ 'shape' => 'UpdateGuardrailRequest', ], 'output' => [ 'shape' => 'UpdateGuardrailResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'UpdateMarketplaceModelEndpoint' => [ 'name' => 'UpdateMarketplaceModelEndpoint', 'http' => [ 'method' => 'PATCH', 'requestUri' => '/marketplace-model/endpoints/{endpointArn}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'UpdateMarketplaceModelEndpointRequest', ], 'output' => [ 'shape' => 'UpdateMarketplaceModelEndpointResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'UpdateProvisionedModelThroughput' => [ 'name' => 'UpdateProvisionedModelThroughput', 'http' => [ 'method' => 'PATCH', 'requestUri' => '/provisioned-model-throughput/{provisionedModelId}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'UpdateProvisionedModelThroughputRequest', ], 'output' => [ 'shape' => 'UpdateProvisionedModelThroughputResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], ], 'shapes' => [ 'AcceptEula' => [ 'type' => 'boolean', ], 'AccessDeniedException' => [ 'type' => 'structure', 'members' => [ 'message' => [ 'shape' => 'NonBlankString', ], ], 'error' => [ 'httpStatusCode' => 403, 'senderFault' => true, ], 'exception' => true, ], 'AccountId' => [ 'type' => 'string', 'pattern' => '[0-9]{12}', ], 'AdditionalModelRequestFields' => [ 'type' => 'map', 'key' => [ 'shape' => 'AdditionalModelRequestFieldsKey', ], 'value' => [ 'shape' => 'AdditionalModelRequestFieldsValue', ], ], 'AdditionalModelRequestFieldsKey' => [ 'type' => 'string', 'max' => 100, 'min' => 1, ], 'AdditionalModelRequestFieldsValue' => [ 'type' => 'structure', 'members' => [], 'document' => true, ], 'ApplicationType' => [ 'type' => 'string', 'enum' => [ 'ModelEvaluation', 'RagEvaluation', ], ], 'Arn' => [ 'type' => 'string', 'max' => 2048, 'min' => 0, ], 'AutomatedEvaluationConfig' => [ 'type' => 'structure', 'required' => [ 'datasetMetricConfigs', ], 'members' => [ 'datasetMetricConfigs' => [ 'shape' => 'EvaluationDatasetMetricConfigs', ], 'evaluatorModelConfig' => [ 'shape' => 'EvaluatorModelConfig', ], ], ], 'BaseModelIdentifier' => [ 'type' => 'string', 'max' => 2048, 'min' => 1, 'pattern' => '(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})|(([0-9a-zA-Z][_-]?)+)', ], 'BatchDeleteEvaluationJobError' => [ 'type' => 'structure', 'required' => [ 'jobIdentifier', 'code', ], 'members' => [ 'jobIdentifier' => [ 'shape' => 'EvaluationJobIdentifier', ], 'code' => [ 'shape' => 'String', ], 'message' => [ 'shape' => 'String', ], ], ], 'BatchDeleteEvaluationJobErrors' => [ 'type' => 'list', 'member' => [ 'shape' => 'BatchDeleteEvaluationJobError', ], 'max' => 25, 'min' => 0, ], 'BatchDeleteEvaluationJobItem' => [ 'type' => 'structure', 'required' => [ 'jobIdentifier', 'jobStatus', ], 'members' => [ 'jobIdentifier' => [ 'shape' => 'EvaluationJobIdentifier', ], 'jobStatus' => [ 'shape' => 'EvaluationJobStatus', ], ], ], 'BatchDeleteEvaluationJobItems' => [ 'type' => 'list', 'member' => [ 'shape' => 'BatchDeleteEvaluationJobItem', ], ], 'BatchDeleteEvaluationJobRequest' => [ 'type' => 'structure', 'required' => [ 'jobIdentifiers', ], 'members' => [ 'jobIdentifiers' => [ 'shape' => 'EvaluationJobIdentifiers', ], ], ], 'BatchDeleteEvaluationJobResponse' => [ 'type' => 'structure', 'required' => [ 'errors', 'evaluationJobs', ], 'members' => [ 'errors' => [ 'shape' => 'BatchDeleteEvaluationJobErrors', ], 'evaluationJobs' => [ 'shape' => 'BatchDeleteEvaluationJobItems', ], ], ], 'BedrockEvaluatorModel' => [ 'type' => 'structure', 'required' => [ 'modelIdentifier', ], 'members' => [ 'modelIdentifier' => [ 'shape' => 'EvaluatorModelIdentifier', ], ], ], 'BedrockEvaluatorModels' => [ 'type' => 'list', 'member' => [ 'shape' => 'BedrockEvaluatorModel', ], 'max' => 1, 'min' => 1, ], 'BedrockModelArn' => [ 'type' => 'string', 'max' => 2048, 'min' => 1, 'pattern' => '(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))))|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):inference-profile/[a-zA-Z0-9-:.]+)|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)', ], 'BedrockModelId' => [ 'type' => 'string', 'max' => 140, 'min' => 0, 'pattern' => '[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}(/[a-z0-9]{12}|)', ], 'Boolean' => [ 'type' => 'boolean', 'box' => true, ], 'BrandedName' => [ 'type' => 'string', 'max' => 20, 'min' => 1, 'pattern' => '.*', ], 'BucketName' => [ 'type' => 'string', 'max' => 63, 'min' => 3, ], 'ByteContentBlob' => [ 'type' => 'blob', 'max' => 10485760, 'min' => 1, 'sensitive' => true, ], 'ByteContentDoc' => [ 'type' => 'structure', 'required' => [ 'identifier', 'contentType', 'data', ], 'members' => [ 'identifier' => [ 'shape' => 'Identifier', ], 'contentType' => [ 'shape' => 'ContentType', ], 'data' => [ 'shape' => 'ByteContentBlob', ], ], ], 'CloudWatchConfig' => [ 'type' => 'structure', 'required' => [ 'logGroupName', 'roleArn', ], 'members' => [ 'logGroupName' => [ 'shape' => 'LogGroupName', ], 'roleArn' => [ 'shape' => 'RoleArn', ], 'largeDataDeliveryS3Config' => [ 'shape' => 'S3Config', ], ], ], 'CommitmentDuration' => [ 'type' => 'string', 'enum' => [ 'OneMonth', 'SixMonths', ], ], 'ConflictException' => [ 'type' => 'structure', 'members' => [ 'message' => [ 'shape' => 'NonBlankString', ], ], 'error' => [ 'httpStatusCode' => 400, 'senderFault' => true, ], 'exception' => true, ], 'ContentType' => [ 'type' => 'string', 'pattern' => '.*[a-z]{1,20}/.{1,20}.*', ], 'CreateEvaluationJobRequest' => [ 'type' => 'structure', 'required' => [ 'jobName', 'roleArn', 'evaluationConfig', 'inferenceConfig', 'outputDataConfig', ], 'members' => [ 'jobName' => [ 'shape' => 'EvaluationJobName', ], 'jobDescription' => [ 'shape' => 'EvaluationJobDescription', ], 'clientRequestToken' => [ 'shape' => 'IdempotencyToken', 'idempotencyToken' => true, ], 'roleArn' => [ 'shape' => 'RoleArn', ], 'customerEncryptionKeyId' => [ 'shape' => 'KmsKeyId', ], 'jobTags' => [ 'shape' => 'TagList', ], 'applicationType' => [ 'shape' => 'ApplicationType', ], 'evaluationConfig' => [ 'shape' => 'EvaluationConfig', ], 'inferenceConfig' => [ 'shape' => 'EvaluationInferenceConfig', ], 'outputDataConfig' => [ 'shape' => 'EvaluationOutputDataConfig', ], ], ], 'CreateEvaluationJobResponse' => [ 'type' => 'structure', 'required' => [ 'jobArn', ], 'members' => [ 'jobArn' => [ 'shape' => 'EvaluationJobArn', ], ], ], 'CreateGuardrailRequest' => [ 'type' => 'structure', 'required' => [ 'name', 'blockedInputMessaging', 'blockedOutputsMessaging', ], 'members' => [ 'name' => [ 'shape' => 'GuardrailName', ], 'description' => [ 'shape' => 'GuardrailDescription', ], 'topicPolicyConfig' => [ 'shape' => 'GuardrailTopicPolicyConfig', ], 'contentPolicyConfig' => [ 'shape' => 'GuardrailContentPolicyConfig', ], 'wordPolicyConfig' => [ 'shape' => 'GuardrailWordPolicyConfig', ], 'sensitiveInformationPolicyConfig' => [ 'shape' => 'GuardrailSensitiveInformationPolicyConfig', ], 'contextualGroundingPolicyConfig' => [ 'shape' => 'GuardrailContextualGroundingPolicyConfig', ], 'blockedInputMessaging' => [ 'shape' => 'GuardrailBlockedMessaging', ], 'blockedOutputsMessaging' => [ 'shape' => 'GuardrailBlockedMessaging', ], 'kmsKeyId' => [ 'shape' => 'KmsKeyId', ], 'tags' => [ 'shape' => 'TagList', ], 'clientRequestToken' => [ 'shape' => 'IdempotencyToken', 'idempotencyToken' => true, ], ], ], 'CreateGuardrailResponse' => [ 'type' => 'structure', 'required' => [ 'guardrailId', 'guardrailArn', 'version', 'createdAt', ], 'members' => [ 'guardrailId' => [ 'shape' => 'GuardrailId', ], 'guardrailArn' => [ 'shape' => 'GuardrailArn', ], 'version' => [ 'shape' => 'GuardrailDraftVersion', ], 'createdAt' => [ 'shape' => 'Timestamp', ], ], ], 'CreateGuardrailVersionRequest' => [ 'type' => 'structure', 'required' => [ 'guardrailIdentifier', ], 'members' => [ 'guardrailIdentifier' => [ 'shape' => 'GuardrailIdentifier', 'location' => 'uri', 'locationName' => 'guardrailIdentifier', ], 'description' => [ 'shape' => 'GuardrailDescription', ], 'clientRequestToken' => [ 'shape' => 'IdempotencyToken', 'idempotencyToken' => true, ], ], ], 'CreateGuardrailVersionResponse' => [ 'type' => 'structure', 'required' => [ 'guardrailId', 'version', ], 'members' => [ 'guardrailId' => [ 'shape' => 'GuardrailId', ], 'version' => [ 'shape' => 'GuardrailNumericalVersion', ], ], ], 'CreateInferenceProfileRequest' => [ 'type' => 'structure', 'required' => [ 'inferenceProfileName', 'modelSource', ], 'members' => [ 'inferenceProfileName' => [ 'shape' => 'InferenceProfileName', ], 'description' => [ 'shape' => 'InferenceProfileDescription', ], 'clientRequestToken' => [ 'shape' => 'IdempotencyToken', 'idempotencyToken' => true, ], 'modelSource' => [ 'shape' => 'InferenceProfileModelSource', ], 'tags' => [ 'shape' => 'TagList', ], ], ], 'CreateInferenceProfileResponse' => [ 'type' => 'structure', 'required' => [ 'inferenceProfileArn', ], 'members' => [ 'inferenceProfileArn' => [ 'shape' => 'InferenceProfileArn', ], 'status' => [ 'shape' => 'InferenceProfileStatus', ], ], ], 'CreateMarketplaceModelEndpointRequest' => [ 'type' => 'structure', 'required' => [ 'modelSourceIdentifier', 'endpointConfig', 'endpointName', ], 'members' => [ 'modelSourceIdentifier' => [ 'shape' => 'ModelSourceIdentifier', ], 'endpointConfig' => [ 'shape' => 'EndpointConfig', ], 'acceptEula' => [ 'shape' => 'AcceptEula', ], 'endpointName' => [ 'shape' => 'EndpointName', ], 'clientRequestToken' => [ 'shape' => 'IdempotencyToken', 'idempotencyToken' => true, ], 'tags' => [ 'shape' => 'TagList', ], ], ], 'CreateMarketplaceModelEndpointResponse' => [ 'type' => 'structure', 'required' => [ 'marketplaceModelEndpoint', ], 'members' => [ 'marketplaceModelEndpoint' => [ 'shape' => 'MarketplaceModelEndpoint', ], ], ], 'CreateModelCopyJobRequest' => [ 'type' => 'structure', 'required' => [ 'sourceModelArn', 'targetModelName', ], 'members' => [ 'sourceModelArn' => [ 'shape' => 'ModelArn', ], 'targetModelName' => [ 'shape' => 'CustomModelName', ], 'modelKmsKeyId' => [ 'shape' => 'KmsKeyId', ], 'targetModelTags' => [ 'shape' => 'TagList', ], 'clientRequestToken' => [ 'shape' => 'IdempotencyToken', 'idempotencyToken' => true, ], ], ], 'CreateModelCopyJobResponse' => [ 'type' => 'structure', 'required' => [ 'jobArn', ], 'members' => [ 'jobArn' => [ 'shape' => 'ModelCopyJobArn', ], ], ], 'CreateModelCustomizationJobRequest' => [ 'type' => 'structure', 'required' => [ 'jobName', 'customModelName', 'roleArn', 'baseModelIdentifier', 'trainingDataConfig', 'outputDataConfig', ], 'members' => [ 'jobName' => [ 'shape' => 'JobName', ], 'customModelName' => [ 'shape' => 'CustomModelName', ], 'roleArn' => [ 'shape' => 'RoleArn', ], 'clientRequestToken' => [ 'shape' => 'IdempotencyToken', 'idempotencyToken' => true, ], 'baseModelIdentifier' => [ 'shape' => 'BaseModelIdentifier', ], 'customizationType' => [ 'shape' => 'CustomizationType', ], 'customModelKmsKeyId' => [ 'shape' => 'KmsKeyId', ], 'jobTags' => [ 'shape' => 'TagList', ], 'customModelTags' => [ 'shape' => 'TagList', ], 'trainingDataConfig' => [ 'shape' => 'TrainingDataConfig', ], 'validationDataConfig' => [ 'shape' => 'ValidationDataConfig', ], 'outputDataConfig' => [ 'shape' => 'OutputDataConfig', ], 'hyperParameters' => [ 'shape' => 'ModelCustomizationHyperParameters', ], 'vpcConfig' => [ 'shape' => 'VpcConfig', ], 'customizationConfig' => [ 'shape' => 'CustomizationConfig', ], ], ], 'CreateModelCustomizationJobResponse' => [ 'type' => 'structure', 'required' => [ 'jobArn', ], 'members' => [ 'jobArn' => [ 'shape' => 'ModelCustomizationJobArn', ], ], ], 'CreateModelImportJobRequest' => [ 'type' => 'structure', 'required' => [ 'jobName', 'importedModelName', 'roleArn', 'modelDataSource', ], 'members' => [ 'jobName' => [ 'shape' => 'JobName', ], 'importedModelName' => [ 'shape' => 'ImportedModelName', ], 'roleArn' => [ 'shape' => 'RoleArn', ], 'modelDataSource' => [ 'shape' => 'ModelDataSource', ], 'jobTags' => [ 'shape' => 'TagList', ], 'importedModelTags' => [ 'shape' => 'TagList', ], 'clientRequestToken' => [ 'shape' => 'IdempotencyToken', ], 'vpcConfig' => [ 'shape' => 'VpcConfig', ], 'importedModelKmsKeyId' => [ 'shape' => 'KmsKeyId', ], ], ], 'CreateModelImportJobResponse' => [ 'type' => 'structure', 'required' => [ 'jobArn', ], 'members' => [ 'jobArn' => [ 'shape' => 'ModelImportJobArn', ], ], ], 'CreateModelInvocationJobRequest' => [ 'type' => 'structure', 'required' => [ 'jobName', 'roleArn', 'modelId', 'inputDataConfig', 'outputDataConfig', ], 'members' => [ 'jobName' => [ 'shape' => 'ModelInvocationJobName', ], 'roleArn' => [ 'shape' => 'RoleArn', ], 'clientRequestToken' => [ 'shape' => 'ModelInvocationIdempotencyToken', 'idempotencyToken' => true, ], 'modelId' => [ 'shape' => 'ModelId', ], 'inputDataConfig' => [ 'shape' => 'ModelInvocationJobInputDataConfig', ], 'outputDataConfig' => [ 'shape' => 'ModelInvocationJobOutputDataConfig', ], 'vpcConfig' => [ 'shape' => 'VpcConfig', ], 'timeoutDurationInHours' => [ 'shape' => 'ModelInvocationJobTimeoutDurationInHours', ], 'tags' => [ 'shape' => 'TagList', ], ], ], 'CreateModelInvocationJobResponse' => [ 'type' => 'structure', 'required' => [ 'jobArn', ], 'members' => [ 'jobArn' => [ 'shape' => 'ModelInvocationJobArn', ], ], ], 'CreateProvisionedModelThroughputRequest' => [ 'type' => 'structure', 'required' => [ 'modelUnits', 'provisionedModelName', 'modelId', ], 'members' => [ 'clientRequestToken' => [ 'shape' => 'IdempotencyToken', 'idempotencyToken' => true, ], 'modelUnits' => [ 'shape' => 'PositiveInteger', ], 'provisionedModelName' => [ 'shape' => 'ProvisionedModelName', ], 'modelId' => [ 'shape' => 'ModelIdentifier', ], 'commitmentDuration' => [ 'shape' => 'CommitmentDuration', ], 'tags' => [ 'shape' => 'TagList', ], ], ], 'CreateProvisionedModelThroughputResponse' => [ 'type' => 'structure', 'required' => [ 'provisionedModelArn', ], 'members' => [ 'provisionedModelArn' => [ 'shape' => 'ProvisionedModelArn', ], ], ], 'CustomModelArn' => [ 'type' => 'string', 'max' => 1011, 'min' => 20, 'pattern' => 'arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}/[a-z0-9]{12}', ], 'CustomModelName' => [ 'type' => 'string', 'max' => 63, 'min' => 1, 'pattern' => '([0-9a-zA-Z][_-]?){1,63}', ], 'CustomModelSummary' => [ 'type' => 'structure', 'required' => [ 'modelArn', 'modelName', 'creationTime', 'baseModelArn', 'baseModelName', ], 'members' => [ 'modelArn' => [ 'shape' => 'CustomModelArn', ], 'modelName' => [ 'shape' => 'CustomModelName', ], 'creationTime' => [ 'shape' => 'Timestamp', ], 'baseModelArn' => [ 'shape' => 'ModelArn', ], 'baseModelName' => [ 'shape' => 'ModelName', ], 'customizationType' => [ 'shape' => 'CustomizationType', ], 'ownerAccountId' => [ 'shape' => 'AccountId', ], ], ], 'CustomModelSummaryList' => [ 'type' => 'list', 'member' => [ 'shape' => 'CustomModelSummary', ], ], 'CustomizationConfig' => [ 'type' => 'structure', 'members' => [ 'distillationConfig' => [ 'shape' => 'DistillationConfig', ], ], 'union' => true, ], 'CustomizationType' => [ 'type' => 'string', 'enum' => [ 'FINE_TUNING', 'CONTINUED_PRE_TRAINING', 'DISTILLATION', ], ], 'DeleteCustomModelRequest' => [ 'type' => 'structure', 'required' => [ 'modelIdentifier', ], 'members' => [ 'modelIdentifier' => [ 'shape' => 'ModelIdentifier', 'location' => 'uri', 'locationName' => 'modelIdentifier', ], ], ], 'DeleteCustomModelResponse' => [ 'type' => 'structure', 'members' => [], ], 'DeleteGuardrailRequest' => [ 'type' => 'structure', 'required' => [ 'guardrailIdentifier', ], 'members' => [ 'guardrailIdentifier' => [ 'shape' => 'GuardrailIdentifier', 'location' => 'uri', 'locationName' => 'guardrailIdentifier', ], 'guardrailVersion' => [ 'shape' => 'GuardrailNumericalVersion', 'location' => 'querystring', 'locationName' => 'guardrailVersion', ], ], ], 'DeleteGuardrailResponse' => [ 'type' => 'structure', 'members' => [], ], 'DeleteImportedModelRequest' => [ 'type' => 'structure', 'required' => [ 'modelIdentifier', ], 'members' => [ 'modelIdentifier' => [ 'shape' => 'ImportedModelIdentifier', 'location' => 'uri', 'locationName' => 'modelIdentifier', ], ], ], 'DeleteImportedModelResponse' => [ 'type' => 'structure', 'members' => [], ], 'DeleteInferenceProfileRequest' => [ 'type' => 'structure', 'required' => [ 'inferenceProfileIdentifier', ], 'members' => [ 'inferenceProfileIdentifier' => [ 'shape' => 'InferenceProfileIdentifier', 'location' => 'uri', 'locationName' => 'inferenceProfileIdentifier', ], ], ], 'DeleteInferenceProfileResponse' => [ 'type' => 'structure', 'members' => [], ], 'DeleteMarketplaceModelEndpointRequest' => [ 'type' => 'structure', 'required' => [ 'endpointArn', ], 'members' => [ 'endpointArn' => [ 'shape' => 'Arn', 'location' => 'uri', 'locationName' => 'endpointArn', ], ], ], 'DeleteMarketplaceModelEndpointResponse' => [ 'type' => 'structure', 'members' => [], ], 'DeleteModelInvocationLoggingConfigurationRequest' => [ 'type' => 'structure', 'members' => [], ], 'DeleteModelInvocationLoggingConfigurationResponse' => [ 'type' => 'structure', 'members' => [], ], 'DeleteProvisionedModelThroughputRequest' => [ 'type' => 'structure', 'required' => [ 'provisionedModelId', ], 'members' => [ 'provisionedModelId' => [ 'shape' => 'ProvisionedModelId', 'location' => 'uri', 'locationName' => 'provisionedModelId', ], ], ], 'DeleteProvisionedModelThroughputResponse' => [ 'type' => 'structure', 'members' => [], ], 'DeregisterMarketplaceModelEndpointRequest' => [ 'type' => 'structure', 'required' => [ 'endpointArn', ], 'members' => [ 'endpointArn' => [ 'shape' => 'Arn', 'location' => 'uri', 'locationName' => 'endpointArn', ], ], ], 'DeregisterMarketplaceModelEndpointResponse' => [ 'type' => 'structure', 'members' => [], ], 'DistillationConfig' => [ 'type' => 'structure', 'required' => [ 'teacherModelConfig', ], 'members' => [ 'teacherModelConfig' => [ 'shape' => 'TeacherModelConfig', ], ], ], 'EndpointConfig' => [ 'type' => 'structure', 'members' => [ 'sageMaker' => [ 'shape' => 'SageMakerEndpoint', ], ], 'union' => true, ], 'EndpointName' => [ 'type' => 'string', 'max' => 30, 'min' => 1, ], 'ErrorMessage' => [ 'type' => 'string', 'max' => 2048, 'min' => 0, ], 'ErrorMessages' => [ 'type' => 'list', 'member' => [ 'shape' => 'ErrorMessage', ], 'max' => 20, 'min' => 0, ], 'EvaluationBedrockModel' => [ 'type' => 'structure', 'required' => [ 'modelIdentifier', ], 'members' => [ 'modelIdentifier' => [ 'shape' => 'EvaluationModelIdentifier', ], 'inferenceParams' => [ 'shape' => 'EvaluationModelInferenceParams', ], 'performanceConfig' => [ 'shape' => 'PerformanceConfiguration', ], ], ], 'EvaluationConfig' => [ 'type' => 'structure', 'members' => [ 'automated' => [ 'shape' => 'AutomatedEvaluationConfig', ], 'human' => [ 'shape' => 'HumanEvaluationConfig', ], ], 'union' => true, ], 'EvaluationDataset' => [ 'type' => 'structure', 'required' => [ 'name', ], 'members' => [ 'name' => [ 'shape' => 'EvaluationDatasetName', ], 'datasetLocation' => [ 'shape' => 'EvaluationDatasetLocation', ], ], ], 'EvaluationDatasetLocation' => [ 'type' => 'structure', 'members' => [ 's3Uri' => [ 'shape' => 'S3Uri', ], ], 'union' => true, ], 'EvaluationDatasetMetricConfig' => [ 'type' => 'structure', 'required' => [ 'taskType', 'dataset', 'metricNames', ], 'members' => [ 'taskType' => [ 'shape' => 'EvaluationTaskType', ], 'dataset' => [ 'shape' => 'EvaluationDataset', ], 'metricNames' => [ 'shape' => 'EvaluationMetricNames', ], ], ], 'EvaluationDatasetMetricConfigs' => [ 'type' => 'list', 'member' => [ 'shape' => 'EvaluationDatasetMetricConfig', ], 'max' => 5, 'min' => 1, ], 'EvaluationDatasetName' => [ 'type' => 'string', 'max' => 63, 'min' => 1, 'pattern' => '[0-9a-zA-Z-_.]+', 'sensitive' => true, ], 'EvaluationInferenceConfig' => [ 'type' => 'structure', 'members' => [ 'models' => [ 'shape' => 'EvaluationModelConfigs', ], 'ragConfigs' => [ 'shape' => 'RagConfigs', ], ], 'union' => true, ], 'EvaluationJobArn' => [ 'type' => 'string', 'max' => 1011, 'min' => 0, 'pattern' => 'arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:evaluation-job/[a-z0-9]{12}', ], 'EvaluationJobDescription' => [ 'type' => 'string', 'max' => 200, 'min' => 1, 'pattern' => '.+', 'sensitive' => true, ], 'EvaluationJobIdentifier' => [ 'type' => 'string', 'max' => 1011, 'min' => 0, 'pattern' => '(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:evaluation-job/[a-z0-9]{12})', 'sensitive' => true, ], 'EvaluationJobIdentifiers' => [ 'type' => 'list', 'member' => [ 'shape' => 'EvaluationJobIdentifier', ], 'max' => 25, 'min' => 1, ], 'EvaluationJobName' => [ 'type' => 'string', 'max' => 63, 'min' => 1, 'pattern' => '[a-z0-9](-*[a-z0-9]){0,62}', ], 'EvaluationJobStatus' => [ 'type' => 'string', 'enum' => [ 'InProgress', 'Completed', 'Failed', 'Stopping', 'Stopped', 'Deleting', ], ], 'EvaluationJobType' => [ 'type' => 'string', 'enum' => [ 'Human', 'Automated', ], ], 'EvaluationMetricDescription' => [ 'type' => 'string', 'max' => 63, 'min' => 1, 'pattern' => '.+', 'sensitive' => true, ], 'EvaluationMetricName' => [ 'type' => 'string', 'max' => 63, 'min' => 1, 'pattern' => '[0-9a-zA-Z-_.]+', 'sensitive' => true, ], 'EvaluationMetricNames' => [ 'type' => 'list', 'member' => [ 'shape' => 'EvaluationMetricName', ], 'max' => 15, 'min' => 1, ], 'EvaluationModelConfig' => [ 'type' => 'structure', 'members' => [ 'bedrockModel' => [ 'shape' => 'EvaluationBedrockModel', ], ], 'union' => true, ], 'EvaluationModelConfigs' => [ 'type' => 'list', 'member' => [ 'shape' => 'EvaluationModelConfig', ], 'max' => 2, 'min' => 1, ], 'EvaluationModelIdentifier' => [ 'type' => 'string', 'max' => 2048, 'min' => 1, 'pattern' => '(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:((:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:provisioned-model/[a-z0-9]{12})|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:application-inference-profile/[a-z0-9]{12})|([0-9]{12}:inference-profile/(([a-z-]{2,8}.)[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63})))|([0-9]{12}:default-prompt-router/[a-zA-Z0-9-:.]+)))|(([a-z]{2}[.]{1})([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|arn:aws(-[^:]+)?:sagemaker:[a-z0-9-]{1,20}:[0-9]{12}:endpoint/[a-z0-9-]{1,63}', ], 'EvaluationModelIdentifiers' => [ 'type' => 'list', 'member' => [ 'shape' => 'EvaluationModelIdentifier', ], 'max' => 2, 'min' => 0, ], 'EvaluationModelInferenceParams' => [ 'type' => 'string', 'max' => 1023, 'min' => 1, 'sensitive' => true, ], 'EvaluationOutputDataConfig' => [ 'type' => 'structure', 'required' => [ 's3Uri', ], 'members' => [ 's3Uri' => [ 'shape' => 'S3Uri', ], ], ], 'EvaluationRatingMethod' => [ 'type' => 'string', 'max' => 100, 'min' => 1, 'pattern' => '[0-9a-zA-Z-_]+', ], 'EvaluationSummaries' => [ 'type' => 'list', 'member' => [ 'shape' => 'EvaluationSummary', ], 'max' => 5, 'min' => 1, ], 'EvaluationSummary' => [ 'type' => 'structure', 'required' => [ 'jobArn', 'jobName', 'status', 'creationTime', 'jobType', 'evaluationTaskTypes', ], 'members' => [ 'jobArn' => [ 'shape' => 'EvaluationJobArn', ], 'jobName' => [ 'shape' => 'EvaluationJobName', ], 'status' => [ 'shape' => 'EvaluationJobStatus', ], 'creationTime' => [ 'shape' => 'Timestamp', ], 'jobType' => [ 'shape' => 'EvaluationJobType', ], 'evaluationTaskTypes' => [ 'shape' => 'EvaluationTaskTypes', ], 'modelIdentifiers' => [ 'shape' => 'EvaluationModelIdentifiers', ], 'ragIdentifiers' => [ 'shape' => 'RAGIdentifiers', ], 'evaluatorModelIdentifiers' => [ 'shape' => 'EvaluatorModelIdentifiers', ], 'applicationType' => [ 'shape' => 'ApplicationType', ], ], ], 'EvaluationTaskType' => [ 'type' => 'string', 'enum' => [ 'Summarization', 'Classification', 'QuestionAndAnswer', 'Generation', 'Custom', ], 'max' => 63, 'min' => 1, 'pattern' => '[A-Za-z0-9]+', ], 'EvaluationTaskTypes' => [ 'type' => 'list', 'member' => [ 'shape' => 'EvaluationTaskType', ], 'max' => 5, 'min' => 1, ], 'EvaluatorModelConfig' => [ 'type' => 'structure', 'members' => [ 'bedrockEvaluatorModels' => [ 'shape' => 'BedrockEvaluatorModels', ], ], 'union' => true, ], 'EvaluatorModelIdentifier' => [ 'type' => 'string', 'max' => 2048, 'min' => 1, 'pattern' => 'arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/[a-z0-9-]{1,63}[.]{1}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}$|(^[a-z0-9-]+[.][a-z0-9-]+([.][a-z0-9-]+)*(:[a-z0-9-]+)?$)|^[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}(/[a-z0-9]{12}|)', ], 'EvaluatorModelIdentifiers' => [ 'type' => 'list', 'member' => [ 'shape' => 'EvaluatorModelIdentifier', ], 'max' => 1, 'min' => 0, ], 'ExternalSource' => [ 'type' => 'structure', 'required' => [ 'sourceType', ], 'members' => [ 'sourceType' => [ 'shape' => 'ExternalSourceType', ], 's3Location' => [ 'shape' => 'S3ObjectDoc', ], 'byteContent' => [ 'shape' => 'ByteContentDoc', ], ], ], 'ExternalSourceType' => [ 'type' => 'string', 'enum' => [ 'S3', 'BYTE_CONTENT', ], ], 'ExternalSources' => [ 'type' => 'list', 'member' => [ 'shape' => 'ExternalSource', ], 'max' => 1, 'min' => 1, ], 'ExternalSourcesGenerationConfiguration' => [ 'type' => 'structure', 'members' => [ 'promptTemplate' => [ 'shape' => 'PromptTemplate', ], 'guardrailConfiguration' => [ 'shape' => 'GuardrailConfiguration', ], 'kbInferenceConfig' => [ 'shape' => 'KbInferenceConfig', ], 'additionalModelRequestFields' => [ 'shape' => 'AdditionalModelRequestFields', ], ], ], 'ExternalSourcesRetrieveAndGenerateConfiguration' => [ 'type' => 'structure', 'required' => [ 'modelArn', 'sources', ], 'members' => [ 'modelArn' => [ 'shape' => 'BedrockModelArn', ], 'sources' => [ 'shape' => 'ExternalSources', ], 'generationConfiguration' => [ 'shape' => 'ExternalSourcesGenerationConfiguration', ], ], ], 'FilterAttribute' => [ 'type' => 'structure', 'required' => [ 'key', 'value', ], 'members' => [ 'key' => [ 'shape' => 'FilterKey', ], 'value' => [ 'shape' => 'FilterValue', ], ], ], 'FilterKey' => [ 'type' => 'string', 'max' => 100, 'min' => 1, ], 'FilterValue' => [ 'type' => 'structure', 'members' => [], 'document' => true, ], 'FineTuningJobStatus' => [ 'type' => 'string', 'enum' => [ 'InProgress', 'Completed', 'Failed', 'Stopping', 'Stopped', ], ], 'FoundationModelArn' => [ 'type' => 'string', 'pattern' => 'arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/[a-z0-9-]{1,63}[.]{1}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}', ], 'FoundationModelDetails' => [ 'type' => 'structure', 'required' => [ 'modelArn', 'modelId', ], 'members' => [ 'modelArn' => [ 'shape' => 'FoundationModelArn', ], 'modelId' => [ 'shape' => 'BedrockModelId', ], 'modelName' => [ 'shape' => 'BrandedName', ], 'providerName' => [ 'shape' => 'BrandedName', ], 'inputModalities' => [ 'shape' => 'ModelModalityList', ], 'outputModalities' => [ 'shape' => 'ModelModalityList', ], 'responseStreamingSupported' => [ 'shape' => 'Boolean', ], 'customizationsSupported' => [ 'shape' => 'ModelCustomizationList', ], 'inferenceTypesSupported' => [ 'shape' => 'InferenceTypeList', ], 'modelLifecycle' => [ 'shape' => 'FoundationModelLifecycle', ], ], ], 'FoundationModelLifecycle' => [ 'type' => 'structure', 'required' => [ 'status', ], 'members' => [ 'status' => [ 'shape' => 'FoundationModelLifecycleStatus', ], ], ], 'FoundationModelLifecycleStatus' => [ 'type' => 'string', 'enum' => [ 'ACTIVE', 'LEGACY', ], ], 'FoundationModelSummary' => [ 'type' => 'structure', 'required' => [ 'modelArn', 'modelId', ], 'members' => [ 'modelArn' => [ 'shape' => 'FoundationModelArn', ], 'modelId' => [ 'shape' => 'BedrockModelId', ], 'modelName' => [ 'shape' => 'BrandedName', ], 'providerName' => [ 'shape' => 'BrandedName', ], 'inputModalities' => [ 'shape' => 'ModelModalityList', ], 'outputModalities' => [ 'shape' => 'ModelModalityList', ], 'responseStreamingSupported' => [ 'shape' => 'Boolean', ], 'customizationsSupported' => [ 'shape' => 'ModelCustomizationList', ], 'inferenceTypesSupported' => [ 'shape' => 'InferenceTypeList', ], 'modelLifecycle' => [ 'shape' => 'FoundationModelLifecycle', ], ], ], 'FoundationModelSummaryList' => [ 'type' => 'list', 'member' => [ 'shape' => 'FoundationModelSummary', ], ], 'GenerationConfiguration' => [ 'type' => 'structure', 'members' => [ 'promptTemplate' => [ 'shape' => 'PromptTemplate', ], 'guardrailConfiguration' => [ 'shape' => 'GuardrailConfiguration', ], 'kbInferenceConfig' => [ 'shape' => 'KbInferenceConfig', ], 'additionalModelRequestFields' => [ 'shape' => 'AdditionalModelRequestFields', ], ], ], 'GetCustomModelRequest' => [ 'type' => 'structure', 'required' => [ 'modelIdentifier', ], 'members' => [ 'modelIdentifier' => [ 'shape' => 'ModelIdentifier', 'location' => 'uri', 'locationName' => 'modelIdentifier', ], ], ], 'GetCustomModelResponse' => [ 'type' => 'structure', 'required' => [ 'modelArn', 'modelName', 'jobArn', 'baseModelArn', 'trainingDataConfig', 'outputDataConfig', 'creationTime', ], 'members' => [ 'modelArn' => [ 'shape' => 'ModelArn', ], 'modelName' => [ 'shape' => 'CustomModelName', ], 'jobName' => [ 'shape' => 'JobName', ], 'jobArn' => [ 'shape' => 'ModelCustomizationJobArn', ], 'baseModelArn' => [ 'shape' => 'ModelArn', ], 'customizationType' => [ 'shape' => 'CustomizationType', ], 'modelKmsKeyArn' => [ 'shape' => 'KmsKeyArn', ], 'hyperParameters' => [ 'shape' => 'ModelCustomizationHyperParameters', ], 'trainingDataConfig' => [ 'shape' => 'TrainingDataConfig', ], 'validationDataConfig' => [ 'shape' => 'ValidationDataConfig', ], 'outputDataConfig' => [ 'shape' => 'OutputDataConfig', ], 'trainingMetrics' => [ 'shape' => 'TrainingMetrics', ], 'validationMetrics' => [ 'shape' => 'ValidationMetrics', ], 'creationTime' => [ 'shape' => 'Timestamp', ], 'customizationConfig' => [ 'shape' => 'CustomizationConfig', ], ], ], 'GetEvaluationJobRequest' => [ 'type' => 'structure', 'required' => [ 'jobIdentifier', ], 'members' => [ 'jobIdentifier' => [ 'shape' => 'EvaluationJobIdentifier', 'location' => 'uri', 'locationName' => 'jobIdentifier', ], ], ], 'GetEvaluationJobResponse' => [ 'type' => 'structure', 'required' => [ 'jobName', 'status', 'jobArn', 'roleArn', 'jobType', 'evaluationConfig', 'inferenceConfig', 'outputDataConfig', 'creationTime', ], 'members' => [ 'jobName' => [ 'shape' => 'EvaluationJobName', ], 'status' => [ 'shape' => 'EvaluationJobStatus', ], 'jobArn' => [ 'shape' => 'EvaluationJobArn', ], 'jobDescription' => [ 'shape' => 'EvaluationJobDescription', ], 'roleArn' => [ 'shape' => 'RoleArn', ], 'customerEncryptionKeyId' => [ 'shape' => 'KmsKeyId', ], 'jobType' => [ 'shape' => 'EvaluationJobType', ], 'applicationType' => [ 'shape' => 'ApplicationType', ], 'evaluationConfig' => [ 'shape' => 'EvaluationConfig', ], 'inferenceConfig' => [ 'shape' => 'EvaluationInferenceConfig', ], 'outputDataConfig' => [ 'shape' => 'EvaluationOutputDataConfig', ], 'creationTime' => [ 'shape' => 'Timestamp', ], 'lastModifiedTime' => [ 'shape' => 'Timestamp', ], 'failureMessages' => [ 'shape' => 'ErrorMessages', ], ], ], 'GetFoundationModelRequest' => [ 'type' => 'structure', 'required' => [ 'modelIdentifier', ], 'members' => [ 'modelIdentifier' => [ 'shape' => 'ModelIdentifier', 'location' => 'uri', 'locationName' => 'modelIdentifier', ], ], ], 'GetFoundationModelResponse' => [ 'type' => 'structure', 'members' => [ 'modelDetails' => [ 'shape' => 'FoundationModelDetails', ], ], ], 'GetGuardrailRequest' => [ 'type' => 'structure', 'required' => [ 'guardrailIdentifier', ], 'members' => [ 'guardrailIdentifier' => [ 'shape' => 'GuardrailIdentifier', 'location' => 'uri', 'locationName' => 'guardrailIdentifier', ], 'guardrailVersion' => [ 'shape' => 'GuardrailVersion', 'location' => 'querystring', 'locationName' => 'guardrailVersion', ], ], ], 'GetGuardrailResponse' => [ 'type' => 'structure', 'required' => [ 'name', 'guardrailId', 'guardrailArn', 'version', 'status', 'createdAt', 'updatedAt', 'blockedInputMessaging', 'blockedOutputsMessaging', ], 'members' => [ 'name' => [ 'shape' => 'GuardrailName', ], 'description' => [ 'shape' => 'GuardrailDescription', ], 'guardrailId' => [ 'shape' => 'GuardrailId', ], 'guardrailArn' => [ 'shape' => 'GuardrailArn', ], 'version' => [ 'shape' => 'GuardrailVersion', ], 'status' => [ 'shape' => 'GuardrailStatus', ], 'topicPolicy' => [ 'shape' => 'GuardrailTopicPolicy', ], 'contentPolicy' => [ 'shape' => 'GuardrailContentPolicy', ], 'wordPolicy' => [ 'shape' => 'GuardrailWordPolicy', ], 'sensitiveInformationPolicy' => [ 'shape' => 'GuardrailSensitiveInformationPolicy', ], 'contextualGroundingPolicy' => [ 'shape' => 'GuardrailContextualGroundingPolicy', ], 'createdAt' => [ 'shape' => 'Timestamp', ], 'updatedAt' => [ 'shape' => 'Timestamp', ], 'statusReasons' => [ 'shape' => 'GuardrailStatusReasons', ], 'failureRecommendations' => [ 'shape' => 'GuardrailFailureRecommendations', ], 'blockedInputMessaging' => [ 'shape' => 'GuardrailBlockedMessaging', ], 'blockedOutputsMessaging' => [ 'shape' => 'GuardrailBlockedMessaging', ], 'kmsKeyArn' => [ 'shape' => 'KmsKeyArn', ], ], ], 'GetImportedModelRequest' => [ 'type' => 'structure', 'required' => [ 'modelIdentifier', ], 'members' => [ 'modelIdentifier' => [ 'shape' => 'ImportedModelIdentifier', 'location' => 'uri', 'locationName' => 'modelIdentifier', ], ], ], 'GetImportedModelResponse' => [ 'type' => 'structure', 'members' => [ 'modelArn' => [ 'shape' => 'ImportedModelArn', ], 'modelName' => [ 'shape' => 'ImportedModelName', ], 'jobName' => [ 'shape' => 'JobName', ], 'jobArn' => [ 'shape' => 'ModelImportJobArn', ], 'modelDataSource' => [ 'shape' => 'ModelDataSource', ], 'creationTime' => [ 'shape' => 'Timestamp', ], 'modelArchitecture' => [ 'shape' => 'String', ], 'modelKmsKeyArn' => [ 'shape' => 'KmsKeyArn', ], 'instructSupported' => [ 'shape' => 'InstructSupported', ], ], ], 'GetInferenceProfileRequest' => [ 'type' => 'structure', 'required' => [ 'inferenceProfileIdentifier', ], 'members' => [ 'inferenceProfileIdentifier' => [ 'shape' => 'InferenceProfileIdentifier', 'location' => 'uri', 'locationName' => 'inferenceProfileIdentifier', ], ], ], 'GetInferenceProfileResponse' => [ 'type' => 'structure', 'required' => [ 'inferenceProfileName', 'inferenceProfileArn', 'models', 'inferenceProfileId', 'status', 'type', ], 'members' => [ 'inferenceProfileName' => [ 'shape' => 'InferenceProfileName', ], 'description' => [ 'shape' => 'InferenceProfileDescription', ], 'createdAt' => [ 'shape' => 'Timestamp', ], 'updatedAt' => [ 'shape' => 'Timestamp', ], 'inferenceProfileArn' => [ 'shape' => 'InferenceProfileArn', ], 'models' => [ 'shape' => 'InferenceProfileModels', ], 'inferenceProfileId' => [ 'shape' => 'InferenceProfileId', ], 'status' => [ 'shape' => 'InferenceProfileStatus', ], 'type' => [ 'shape' => 'InferenceProfileType', ], ], ], 'GetMarketplaceModelEndpointRequest' => [ 'type' => 'structure', 'required' => [ 'endpointArn', ], 'members' => [ 'endpointArn' => [ 'shape' => 'Arn', 'location' => 'uri', 'locationName' => 'endpointArn', ], ], ], 'GetMarketplaceModelEndpointResponse' => [ 'type' => 'structure', 'members' => [ 'marketplaceModelEndpoint' => [ 'shape' => 'MarketplaceModelEndpoint', ], ], ], 'GetModelCopyJobRequest' => [ 'type' => 'structure', 'required' => [ 'jobArn', ], 'members' => [ 'jobArn' => [ 'shape' => 'ModelCopyJobArn', 'location' => 'uri', 'locationName' => 'jobArn', ], ], ], 'GetModelCopyJobResponse' => [ 'type' => 'structure', 'required' => [ 'jobArn', 'status', 'creationTime', 'targetModelArn', 'sourceAccountId', 'sourceModelArn', ], 'members' => [ 'jobArn' => [ 'shape' => 'ModelCopyJobArn', ], 'status' => [ 'shape' => 'ModelCopyJobStatus', ], 'creationTime' => [ 'shape' => 'Timestamp', ], 'targetModelArn' => [ 'shape' => 'CustomModelArn', ], 'targetModelName' => [ 'shape' => 'CustomModelName', ], 'sourceAccountId' => [ 'shape' => 'AccountId', ], 'sourceModelArn' => [ 'shape' => 'ModelArn', ], 'targetModelKmsKeyArn' => [ 'shape' => 'KmsKeyArn', ], 'targetModelTags' => [ 'shape' => 'TagList', ], 'failureMessage' => [ 'shape' => 'ErrorMessage', ], 'sourceModelName' => [ 'shape' => 'CustomModelName', ], ], ], 'GetModelCustomizationJobRequest' => [ 'type' => 'structure', 'required' => [ 'jobIdentifier', ], 'members' => [ 'jobIdentifier' => [ 'shape' => 'ModelCustomizationJobIdentifier', 'location' => 'uri', 'locationName' => 'jobIdentifier', ], ], ], 'GetModelCustomizationJobResponse' => [ 'type' => 'structure', 'required' => [ 'jobArn', 'jobName', 'outputModelName', 'roleArn', 'creationTime', 'baseModelArn', 'trainingDataConfig', 'validationDataConfig', 'outputDataConfig', ], 'members' => [ 'jobArn' => [ 'shape' => 'ModelCustomizationJobArn', ], 'jobName' => [ 'shape' => 'JobName', ], 'outputModelName' => [ 'shape' => 'CustomModelName', ], 'outputModelArn' => [ 'shape' => 'CustomModelArn', ], 'clientRequestToken' => [ 'shape' => 'IdempotencyToken', ], 'roleArn' => [ 'shape' => 'RoleArn', ], 'status' => [ 'shape' => 'ModelCustomizationJobStatus', ], 'failureMessage' => [ 'shape' => 'ErrorMessage', ], 'creationTime' => [ 'shape' => 'Timestamp', ], 'lastModifiedTime' => [ 'shape' => 'Timestamp', ], 'endTime' => [ 'shape' => 'Timestamp', ], 'baseModelArn' => [ 'shape' => 'FoundationModelArn', ], 'hyperParameters' => [ 'shape' => 'ModelCustomizationHyperParameters', ], 'trainingDataConfig' => [ 'shape' => 'TrainingDataConfig', ], 'validationDataConfig' => [ 'shape' => 'ValidationDataConfig', ], 'outputDataConfig' => [ 'shape' => 'OutputDataConfig', ], 'customizationType' => [ 'shape' => 'CustomizationType', ], 'outputModelKmsKeyArn' => [ 'shape' => 'KmsKeyArn', ], 'trainingMetrics' => [ 'shape' => 'TrainingMetrics', ], 'validationMetrics' => [ 'shape' => 'ValidationMetrics', ], 'vpcConfig' => [ 'shape' => 'VpcConfig', ], 'customizationConfig' => [ 'shape' => 'CustomizationConfig', ], ], ], 'GetModelImportJobRequest' => [ 'type' => 'structure', 'required' => [ 'jobIdentifier', ], 'members' => [ 'jobIdentifier' => [ 'shape' => 'ModelImportJobIdentifier', 'location' => 'uri', 'locationName' => 'jobIdentifier', ], ], ], 'GetModelImportJobResponse' => [ 'type' => 'structure', 'members' => [ 'jobArn' => [ 'shape' => 'ModelImportJobArn', ], 'jobName' => [ 'shape' => 'JobName', ], 'importedModelName' => [ 'shape' => 'ImportedModelName', ], 'importedModelArn' => [ 'shape' => 'ImportedModelArn', ], 'roleArn' => [ 'shape' => 'RoleArn', ], 'modelDataSource' => [ 'shape' => 'ModelDataSource', ], 'status' => [ 'shape' => 'ModelImportJobStatus', ], 'failureMessage' => [ 'shape' => 'ErrorMessage', ], 'creationTime' => [ 'shape' => 'Timestamp', ], 'lastModifiedTime' => [ 'shape' => 'Timestamp', ], 'endTime' => [ 'shape' => 'Timestamp', ], 'vpcConfig' => [ 'shape' => 'VpcConfig', ], 'importedModelKmsKeyArn' => [ 'shape' => 'KmsKeyArn', ], ], ], 'GetModelInvocationJobRequest' => [ 'type' => 'structure', 'required' => [ 'jobIdentifier', ], 'members' => [ 'jobIdentifier' => [ 'shape' => 'ModelInvocationJobIdentifier', 'location' => 'uri', 'locationName' => 'jobIdentifier', ], ], ], 'GetModelInvocationJobResponse' => [ 'type' => 'structure', 'required' => [ 'jobArn', 'modelId', 'roleArn', 'submitTime', 'inputDataConfig', 'outputDataConfig', ], 'members' => [ 'jobArn' => [ 'shape' => 'ModelInvocationJobArn', ], 'jobName' => [ 'shape' => 'ModelInvocationJobName', ], 'modelId' => [ 'shape' => 'ModelId', ], 'clientRequestToken' => [ 'shape' => 'ModelInvocationIdempotencyToken', ], 'roleArn' => [ 'shape' => 'RoleArn', ], 'status' => [ 'shape' => 'ModelInvocationJobStatus', ], 'message' => [ 'shape' => 'Message', ], 'submitTime' => [ 'shape' => 'Timestamp', ], 'lastModifiedTime' => [ 'shape' => 'Timestamp', ], 'endTime' => [ 'shape' => 'Timestamp', ], 'inputDataConfig' => [ 'shape' => 'ModelInvocationJobInputDataConfig', ], 'outputDataConfig' => [ 'shape' => 'ModelInvocationJobOutputDataConfig', ], 'vpcConfig' => [ 'shape' => 'VpcConfig', ], 'timeoutDurationInHours' => [ 'shape' => 'ModelInvocationJobTimeoutDurationInHours', ], 'jobExpirationTime' => [ 'shape' => 'Timestamp', ], ], ], 'GetModelInvocationLoggingConfigurationRequest' => [ 'type' => 'structure', 'members' => [], ], 'GetModelInvocationLoggingConfigurationResponse' => [ 'type' => 'structure', 'members' => [ 'loggingConfig' => [ 'shape' => 'LoggingConfig', ], ], ], 'GetPromptRouterRequest' => [ 'type' => 'structure', 'required' => [ 'promptRouterArn', ], 'members' => [ 'promptRouterArn' => [ 'shape' => 'PromptRouterArn', 'location' => 'uri', 'locationName' => 'promptRouterArn', ], ], ], 'GetPromptRouterResponse' => [ 'type' => 'structure', 'required' => [ 'promptRouterName', 'routingCriteria', 'promptRouterArn', 'models', 'fallbackModel', 'status', 'type', ], 'members' => [ 'promptRouterName' => [ 'shape' => 'PromptRouterName', ], 'routingCriteria' => [ 'shape' => 'RoutingCriteria', ], 'description' => [ 'shape' => 'PromptRouterDescription', ], 'createdAt' => [ 'shape' => 'Timestamp', ], 'updatedAt' => [ 'shape' => 'Timestamp', ], 'promptRouterArn' => [ 'shape' => 'PromptRouterArn', ], 'models' => [ 'shape' => 'PromptRouterTargetModels', ], 'fallbackModel' => [ 'shape' => 'PromptRouterTargetModel', ], 'status' => [ 'shape' => 'PromptRouterStatus', ], 'type' => [ 'shape' => 'PromptRouterType', ], ], ], 'GetProvisionedModelThroughputRequest' => [ 'type' => 'structure', 'required' => [ 'provisionedModelId', ], 'members' => [ 'provisionedModelId' => [ 'shape' => 'ProvisionedModelId', 'location' => 'uri', 'locationName' => 'provisionedModelId', ], ], ], 'GetProvisionedModelThroughputResponse' => [ 'type' => 'structure', 'required' => [ 'modelUnits', 'desiredModelUnits', 'provisionedModelName', 'provisionedModelArn', 'modelArn', 'desiredModelArn', 'foundationModelArn', 'status', 'creationTime', 'lastModifiedTime', ], 'members' => [ 'modelUnits' => [ 'shape' => 'PositiveInteger', ], 'desiredModelUnits' => [ 'shape' => 'PositiveInteger', ], 'provisionedModelName' => [ 'shape' => 'ProvisionedModelName', ], 'provisionedModelArn' => [ 'shape' => 'ProvisionedModelArn', ], 'modelArn' => [ 'shape' => 'ModelArn', ], 'desiredModelArn' => [ 'shape' => 'ModelArn', ], 'foundationModelArn' => [ 'shape' => 'FoundationModelArn', ], 'status' => [ 'shape' => 'ProvisionedModelStatus', ], 'creationTime' => [ 'shape' => 'Timestamp', ], 'lastModifiedTime' => [ 'shape' => 'Timestamp', ], 'failureMessage' => [ 'shape' => 'ErrorMessage', ], 'commitmentDuration' => [ 'shape' => 'CommitmentDuration', ], 'commitmentExpirationTime' => [ 'shape' => 'Timestamp', ], ], ], 'GuardrailArn' => [ 'type' => 'string', 'max' => 2048, 'min' => 0, 'pattern' => 'arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:guardrail/[a-z0-9]+', ], 'GuardrailBlockedMessaging' => [ 'type' => 'string', 'max' => 500, 'min' => 1, 'sensitive' => true, ], 'GuardrailConfiguration' => [ 'type' => 'structure', 'required' => [ 'guardrailId', 'guardrailVersion', ], 'members' => [ 'guardrailId' => [ 'shape' => 'GuardrailConfigurationGuardrailIdString', ], 'guardrailVersion' => [ 'shape' => 'GuardrailConfigurationGuardrailVersionString', ], ], ], 'GuardrailConfigurationGuardrailIdString' => [ 'type' => 'string', 'max' => 64, 'min' => 0, 'pattern' => '[a-z0-9]+', ], 'GuardrailConfigurationGuardrailVersionString' => [ 'type' => 'string', 'max' => 5, 'min' => 1, 'pattern' => '(([1-9][0-9]{0,7})|(DRAFT))', ], 'GuardrailContentFilter' => [ 'type' => 'structure', 'required' => [ 'type', 'inputStrength', 'outputStrength', ], 'members' => [ 'type' => [ 'shape' => 'GuardrailContentFilterType', ], 'inputStrength' => [ 'shape' => 'GuardrailFilterStrength', ], 'outputStrength' => [ 'shape' => 'GuardrailFilterStrength', ], 'inputModalities' => [ 'shape' => 'GuardrailModalities', ], 'outputModalities' => [ 'shape' => 'GuardrailModalities', ], ], ], 'GuardrailContentFilterConfig' => [ 'type' => 'structure', 'required' => [ 'type', 'inputStrength', 'outputStrength', ], 'members' => [ 'type' => [ 'shape' => 'GuardrailContentFilterType', ], 'inputStrength' => [ 'shape' => 'GuardrailFilterStrength', ], 'outputStrength' => [ 'shape' => 'GuardrailFilterStrength', ], 'inputModalities' => [ 'shape' => 'GuardrailModalities', ], 'outputModalities' => [ 'shape' => 'GuardrailModalities', ], ], ], 'GuardrailContentFilterType' => [ 'type' => 'string', 'enum' => [ 'SEXUAL', 'VIOLENCE', 'HATE', 'INSULTS', 'MISCONDUCT', 'PROMPT_ATTACK', ], ], 'GuardrailContentFilters' => [ 'type' => 'list', 'member' => [ 'shape' => 'GuardrailContentFilter', ], 'max' => 6, 'min' => 1, ], 'GuardrailContentFiltersConfig' => [ 'type' => 'list', 'member' => [ 'shape' => 'GuardrailContentFilterConfig', ], 'max' => 6, 'min' => 1, ], 'GuardrailContentPolicy' => [ 'type' => 'structure', 'members' => [ 'filters' => [ 'shape' => 'GuardrailContentFilters', ], ], ], 'GuardrailContentPolicyConfig' => [ 'type' => 'structure', 'required' => [ 'filtersConfig', ], 'members' => [ 'filtersConfig' => [ 'shape' => 'GuardrailContentFiltersConfig', ], ], ], 'GuardrailContextualGroundingFilter' => [ 'type' => 'structure', 'required' => [ 'type', 'threshold', ], 'members' => [ 'type' => [ 'shape' => 'GuardrailContextualGroundingFilterType', ], 'threshold' => [ 'shape' => 'GuardrailContextualGroundingFilterThresholdDouble', ], ], ], 'GuardrailContextualGroundingFilterConfig' => [ 'type' => 'structure', 'required' => [ 'type', 'threshold', ], 'members' => [ 'type' => [ 'shape' => 'GuardrailContextualGroundingFilterType', ], 'threshold' => [ 'shape' => 'GuardrailContextualGroundingFilterConfigThresholdDouble', ], ], ], 'GuardrailContextualGroundingFilterConfigThresholdDouble' => [ 'type' => 'double', 'box' => true, 'min' => 0, ], 'GuardrailContextualGroundingFilterThresholdDouble' => [ 'type' => 'double', 'box' => true, 'min' => 0, ], 'GuardrailContextualGroundingFilterType' => [ 'type' => 'string', 'enum' => [ 'GROUNDING', 'RELEVANCE', ], ], 'GuardrailContextualGroundingFilters' => [ 'type' => 'list', 'member' => [ 'shape' => 'GuardrailContextualGroundingFilter', ], 'min' => 1, ], 'GuardrailContextualGroundingFiltersConfig' => [ 'type' => 'list', 'member' => [ 'shape' => 'GuardrailContextualGroundingFilterConfig', ], 'min' => 1, ], 'GuardrailContextualGroundingPolicy' => [ 'type' => 'structure', 'required' => [ 'filters', ], 'members' => [ 'filters' => [ 'shape' => 'GuardrailContextualGroundingFilters', ], ], ], 'GuardrailContextualGroundingPolicyConfig' => [ 'type' => 'structure', 'required' => [ 'filtersConfig', ], 'members' => [ 'filtersConfig' => [ 'shape' => 'GuardrailContextualGroundingFiltersConfig', ], ], ], 'GuardrailDescription' => [ 'type' => 'string', 'max' => 200, 'min' => 1, 'sensitive' => true, ], 'GuardrailDraftVersion' => [ 'type' => 'string', 'max' => 5, 'min' => 5, 'pattern' => 'DRAFT', ], 'GuardrailFailureRecommendation' => [ 'type' => 'string', 'max' => 200, 'min' => 1, 'sensitive' => true, ], 'GuardrailFailureRecommendations' => [ 'type' => 'list', 'member' => [ 'shape' => 'GuardrailFailureRecommendation', ], 'max' => 100, 'min' => 0, ], 'GuardrailFilterStrength' => [ 'type' => 'string', 'enum' => [ 'NONE', 'LOW', 'MEDIUM', 'HIGH', ], ], 'GuardrailId' => [ 'type' => 'string', 'max' => 64, 'min' => 0, 'pattern' => '[a-z0-9]+', ], 'GuardrailIdentifier' => [ 'type' => 'string', 'max' => 2048, 'min' => 0, 'pattern' => '(([a-z0-9]+)|(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:guardrail/[a-z0-9]+))', ], 'GuardrailManagedWordLists' => [ 'type' => 'list', 'member' => [ 'shape' => 'GuardrailManagedWords', ], ], 'GuardrailManagedWordListsConfig' => [ 'type' => 'list', 'member' => [ 'shape' => 'GuardrailManagedWordsConfig', ], ], 'GuardrailManagedWords' => [ 'type' => 'structure', 'required' => [ 'type', ], 'members' => [ 'type' => [ 'shape' => 'GuardrailManagedWordsType', ], ], ], 'GuardrailManagedWordsConfig' => [ 'type' => 'structure', 'required' => [ 'type', ], 'members' => [ 'type' => [ 'shape' => 'GuardrailManagedWordsType', ], ], ], 'GuardrailManagedWordsType' => [ 'type' => 'string', 'enum' => [ 'PROFANITY', ], ], 'GuardrailModalities' => [ 'type' => 'list', 'member' => [ 'shape' => 'GuardrailModality', ], 'max' => 2, 'min' => 1, ], 'GuardrailModality' => [ 'type' => 'string', 'enum' => [ 'TEXT', 'IMAGE', ], 'sensitive' => true, ], 'GuardrailName' => [ 'type' => 'string', 'max' => 50, 'min' => 1, 'pattern' => '[0-9a-zA-Z-_]+', 'sensitive' => true, ], 'GuardrailNumericalVersion' => [ 'type' => 'string', 'pattern' => '[1-9][0-9]{0,7}', ], 'GuardrailPiiEntities' => [ 'type' => 'list', 'member' => [ 'shape' => 'GuardrailPiiEntity', ], 'min' => 1, ], 'GuardrailPiiEntitiesConfig' => [ 'type' => 'list', 'member' => [ 'shape' => 'GuardrailPiiEntityConfig', ], 'min' => 1, ], 'GuardrailPiiEntity' => [ 'type' => 'structure', 'required' => [ 'type', 'action', ], 'members' => [ 'type' => [ 'shape' => 'GuardrailPiiEntityType', ], 'action' => [ 'shape' => 'GuardrailSensitiveInformationAction', ], ], ], 'GuardrailPiiEntityConfig' => [ 'type' => 'structure', 'required' => [ 'type', 'action', ], 'members' => [ 'type' => [ 'shape' => 'GuardrailPiiEntityType', ], 'action' => [ 'shape' => 'GuardrailSensitiveInformationAction', ], ], ], 'GuardrailPiiEntityType' => [ 'type' => 'string', 'enum' => [ 'ADDRESS', 'AGE', 'AWS_ACCESS_KEY', 'AWS_SECRET_KEY', 'CA_HEALTH_NUMBER', 'CA_SOCIAL_INSURANCE_NUMBER', 'CREDIT_DEBIT_CARD_CVV', 'CREDIT_DEBIT_CARD_EXPIRY', 'CREDIT_DEBIT_CARD_NUMBER', 'DRIVER_ID', 'EMAIL', 'INTERNATIONAL_BANK_ACCOUNT_NUMBER', 'IP_ADDRESS', 'LICENSE_PLATE', 'MAC_ADDRESS', 'NAME', 'PASSWORD', 'PHONE', 'PIN', 'SWIFT_CODE', 'UK_NATIONAL_HEALTH_SERVICE_NUMBER', 'UK_NATIONAL_INSURANCE_NUMBER', 'UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER', 'URL', 'USERNAME', 'US_BANK_ACCOUNT_NUMBER', 'US_BANK_ROUTING_NUMBER', 'US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER', 'US_PASSPORT_NUMBER', 'US_SOCIAL_SECURITY_NUMBER', 'VEHICLE_IDENTIFICATION_NUMBER', ], ], 'GuardrailRegex' => [ 'type' => 'structure', 'required' => [ 'name', 'pattern', 'action', ], 'members' => [ 'name' => [ 'shape' => 'GuardrailRegexNameString', ], 'description' => [ 'shape' => 'GuardrailRegexDescriptionString', ], 'pattern' => [ 'shape' => 'GuardrailRegexPatternString', ], 'action' => [ 'shape' => 'GuardrailSensitiveInformationAction', ], ], ], 'GuardrailRegexConfig' => [ 'type' => 'structure', 'required' => [ 'name', 'pattern', 'action', ], 'members' => [ 'name' => [ 'shape' => 'GuardrailRegexConfigNameString', ], 'description' => [ 'shape' => 'GuardrailRegexConfigDescriptionString', ], 'pattern' => [ 'shape' => 'GuardrailRegexConfigPatternString', ], 'action' => [ 'shape' => 'GuardrailSensitiveInformationAction', ], ], ], 'GuardrailRegexConfigDescriptionString' => [ 'type' => 'string', 'max' => 1000, 'min' => 1, ], 'GuardrailRegexConfigNameString' => [ 'type' => 'string', 'max' => 100, 'min' => 1, ], 'GuardrailRegexConfigPatternString' => [ 'type' => 'string', 'max' => 500, 'min' => 1, ], 'GuardrailRegexDescriptionString' => [ 'type' => 'string', 'max' => 1000, 'min' => 1, ], 'GuardrailRegexNameString' => [ 'type' => 'string', 'max' => 100, 'min' => 1, ], 'GuardrailRegexPatternString' => [ 'type' => 'string', 'max' => 500, 'min' => 1, ], 'GuardrailRegexes' => [ 'type' => 'list', 'member' => [ 'shape' => 'GuardrailRegex', ], ], 'GuardrailRegexesConfig' => [ 'type' => 'list', 'member' => [ 'shape' => 'GuardrailRegexConfig', ], 'max' => 10, 'min' => 1, ], 'GuardrailSensitiveInformationAction' => [ 'type' => 'string', 'enum' => [ 'BLOCK', 'ANONYMIZE', ], ], 'GuardrailSensitiveInformationPolicy' => [ 'type' => 'structure', 'members' => [ 'piiEntities' => [ 'shape' => 'GuardrailPiiEntities', ], 'regexes' => [ 'shape' => 'GuardrailRegexes', ], ], ], 'GuardrailSensitiveInformationPolicyConfig' => [ 'type' => 'structure', 'members' => [ 'piiEntitiesConfig' => [ 'shape' => 'GuardrailPiiEntitiesConfig', ], 'regexesConfig' => [ 'shape' => 'GuardrailRegexesConfig', ], ], ], 'GuardrailStatus' => [ 'type' => 'string', 'enum' => [ 'CREATING', 'UPDATING', 'VERSIONING', 'READY', 'FAILED', 'DELETING', ], ], 'GuardrailStatusReason' => [ 'type' => 'string', 'max' => 200, 'min' => 1, 'sensitive' => true, ], 'GuardrailStatusReasons' => [ 'type' => 'list', 'member' => [ 'shape' => 'GuardrailStatusReason', ], 'max' => 100, 'min' => 0, ], 'GuardrailSummaries' => [ 'type' => 'list', 'member' => [ 'shape' => 'GuardrailSummary', ], 'max' => 1000, 'min' => 0, ], 'GuardrailSummary' => [ 'type' => 'structure', 'required' => [ 'id', 'arn', 'status', 'name', 'version', 'createdAt', 'updatedAt', ], 'members' => [ 'id' => [ 'shape' => 'GuardrailId', ], 'arn' => [ 'shape' => 'GuardrailArn', ], 'status' => [ 'shape' => 'GuardrailStatus', ], 'name' => [ 'shape' => 'GuardrailName', ], 'description' => [ 'shape' => 'GuardrailDescription', ], 'version' => [ 'shape' => 'GuardrailVersion', ], 'createdAt' => [ 'shape' => 'Timestamp', ], 'updatedAt' => [ 'shape' => 'Timestamp', ], ], ], 'GuardrailTopic' => [ 'type' => 'structure', 'required' => [ 'name', 'definition', ], 'members' => [ 'name' => [ 'shape' => 'GuardrailTopicName', ], 'definition' => [ 'shape' => 'GuardrailTopicDefinition', ], 'examples' => [ 'shape' => 'GuardrailTopicExamples', ], 'type' => [ 'shape' => 'GuardrailTopicType', ], ], ], 'GuardrailTopicConfig' => [ 'type' => 'structure', 'required' => [ 'name', 'definition', 'type', ], 'members' => [ 'name' => [ 'shape' => 'GuardrailTopicName', ], 'definition' => [ 'shape' => 'GuardrailTopicDefinition', ], 'examples' => [ 'shape' => 'GuardrailTopicExamples', ], 'type' => [ 'shape' => 'GuardrailTopicType', ], ], ], 'GuardrailTopicDefinition' => [ 'type' => 'string', 'max' => 200, 'min' => 1, 'sensitive' => true, ], 'GuardrailTopicExample' => [ 'type' => 'string', 'max' => 100, 'min' => 1, 'sensitive' => true, ], 'GuardrailTopicExamples' => [ 'type' => 'list', 'member' => [ 'shape' => 'GuardrailTopicExample', ], 'max' => 5, 'min' => 0, ], 'GuardrailTopicName' => [ 'type' => 'string', 'max' => 100, 'min' => 1, 'pattern' => '[0-9a-zA-Z-_ !?.]+', 'sensitive' => true, ], 'GuardrailTopicPolicy' => [ 'type' => 'structure', 'required' => [ 'topics', ], 'members' => [ 'topics' => [ 'shape' => 'GuardrailTopics', ], ], ], 'GuardrailTopicPolicyConfig' => [ 'type' => 'structure', 'required' => [ 'topicsConfig', ], 'members' => [ 'topicsConfig' => [ 'shape' => 'GuardrailTopicsConfig', ], ], ], 'GuardrailTopicType' => [ 'type' => 'string', 'enum' => [ 'DENY', ], ], 'GuardrailTopics' => [ 'type' => 'list', 'member' => [ 'shape' => 'GuardrailTopic', ], 'max' => 30, 'min' => 1, ], 'GuardrailTopicsConfig' => [ 'type' => 'list', 'member' => [ 'shape' => 'GuardrailTopicConfig', ], 'max' => 30, 'min' => 1, ], 'GuardrailVersion' => [ 'type' => 'string', 'pattern' => '(([1-9][0-9]{0,7})|(DRAFT))', ], 'GuardrailWord' => [ 'type' => 'structure', 'required' => [ 'text', ], 'members' => [ 'text' => [ 'shape' => 'GuardrailWordTextString', ], ], ], 'GuardrailWordConfig' => [ 'type' => 'structure', 'required' => [ 'text', ], 'members' => [ 'text' => [ 'shape' => 'GuardrailWordConfigTextString', ], ], ], 'GuardrailWordConfigTextString' => [ 'type' => 'string', 'max' => 100, 'min' => 1, ], 'GuardrailWordPolicy' => [ 'type' => 'structure', 'members' => [ 'words' => [ 'shape' => 'GuardrailWords', ], 'managedWordLists' => [ 'shape' => 'GuardrailManagedWordLists', ], ], ], 'GuardrailWordPolicyConfig' => [ 'type' => 'structure', 'members' => [ 'wordsConfig' => [ 'shape' => 'GuardrailWordsConfig', ], 'managedWordListsConfig' => [ 'shape' => 'GuardrailManagedWordListsConfig', ], ], ], 'GuardrailWordTextString' => [ 'type' => 'string', 'max' => 100, 'min' => 1, ], 'GuardrailWords' => [ 'type' => 'list', 'member' => [ 'shape' => 'GuardrailWord', ], 'max' => 10000, 'min' => 1, ], 'GuardrailWordsConfig' => [ 'type' => 'list', 'member' => [ 'shape' => 'GuardrailWordConfig', ], 'max' => 10000, 'min' => 1, ], 'HumanEvaluationConfig' => [ 'type' => 'structure', 'required' => [ 'datasetMetricConfigs', ], 'members' => [ 'humanWorkflowConfig' => [ 'shape' => 'HumanWorkflowConfig', ], 'customMetrics' => [ 'shape' => 'HumanEvaluationCustomMetrics', ], 'datasetMetricConfigs' => [ 'shape' => 'EvaluationDatasetMetricConfigs', ], ], ], 'HumanEvaluationCustomMetric' => [ 'type' => 'structure', 'required' => [ 'name', 'ratingMethod', ], 'members' => [ 'name' => [ 'shape' => 'EvaluationMetricName', ], 'description' => [ 'shape' => 'EvaluationMetricDescription', ], 'ratingMethod' => [ 'shape' => 'EvaluationRatingMethod', ], ], ], 'HumanEvaluationCustomMetrics' => [ 'type' => 'list', 'member' => [ 'shape' => 'HumanEvaluationCustomMetric', ], 'max' => 10, 'min' => 1, ], 'HumanTaskInstructions' => [ 'type' => 'string', 'max' => 5000, 'min' => 1, 'pattern' => '[\\S\\s]+', 'sensitive' => true, ], 'HumanWorkflowConfig' => [ 'type' => 'structure', 'required' => [ 'flowDefinitionArn', ], 'members' => [ 'flowDefinitionArn' => [ 'shape' => 'SageMakerFlowDefinitionArn', ], 'instructions' => [ 'shape' => 'HumanTaskInstructions', ], ], ], 'IdempotencyToken' => [ 'type' => 'string', 'max' => 256, 'min' => 1, 'pattern' => '[a-zA-Z0-9](-*[a-zA-Z0-9])*', ], 'Identifier' => [ 'type' => 'string', 'max' => 1024, 'min' => 1, 'sensitive' => true, ], 'ImportedModelArn' => [ 'type' => 'string', 'max' => 1011, 'min' => 20, 'pattern' => 'arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:imported-model/[a-z0-9]{12}', ], 'ImportedModelIdentifier' => [ 'type' => 'string', 'max' => 1011, 'min' => 1, 'pattern' => '(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:imported-model/[a-z0-9]{12})|(([0-9a-zA-Z][_-]?)+)', ], 'ImportedModelName' => [ 'type' => 'string', 'max' => 63, 'min' => 1, 'pattern' => '([0-9a-zA-Z][_-]?)+', ], 'ImportedModelSummary' => [ 'type' => 'structure', 'required' => [ 'modelArn', 'modelName', 'creationTime', ], 'members' => [ 'modelArn' => [ 'shape' => 'ImportedModelArn', ], 'modelName' => [ 'shape' => 'ImportedModelName', ], 'creationTime' => [ 'shape' => 'Timestamp', ], 'instructSupported' => [ 'shape' => 'InstructSupported', ], 'modelArchitecture' => [ 'shape' => 'ModelArchitecture', ], ], ], 'ImportedModelSummaryList' => [ 'type' => 'list', 'member' => [ 'shape' => 'ImportedModelSummary', ], ], 'InferenceProfileArn' => [ 'type' => 'string', 'max' => 2048, 'min' => 1, 'pattern' => 'arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{0,20}):(|[0-9]{12}):(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+', ], 'InferenceProfileDescription' => [ 'type' => 'string', 'max' => 200, 'min' => 1, 'pattern' => '([0-9a-zA-Z:.][ _-]?)+', 'sensitive' => true, ], 'InferenceProfileId' => [ 'type' => 'string', 'max' => 64, 'min' => 1, 'pattern' => '[a-zA-Z0-9-:.]+', ], 'InferenceProfileIdentifier' => [ 'type' => 'string', 'max' => 2048, 'min' => 1, 'pattern' => '(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{0,20}):(|[0-9]{12}):(inference-profile|application-inference-profile)/)?[a-zA-Z0-9-:.]+', ], 'InferenceProfileModel' => [ 'type' => 'structure', 'members' => [ 'modelArn' => [ 'shape' => 'FoundationModelArn', ], ], ], 'InferenceProfileModelSource' => [ 'type' => 'structure', 'members' => [ 'copyFrom' => [ 'shape' => 'InferenceProfileModelSourceArn', ], ], 'union' => true, ], 'InferenceProfileModelSourceArn' => [ 'type' => 'string', 'max' => 2048, 'min' => 1, 'pattern' => 'arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{0,20}):(|[0-9]{12}):(inference-profile|foundation-model)/[a-zA-Z0-9-:.]+', ], 'InferenceProfileModels' => [ 'type' => 'list', 'member' => [ 'shape' => 'InferenceProfileModel', ], 'max' => 5, 'min' => 1, ], 'InferenceProfileName' => [ 'type' => 'string', 'max' => 64, 'min' => 1, 'pattern' => '([0-9a-zA-Z][ _-]?)+', ], 'InferenceProfileStatus' => [ 'type' => 'string', 'enum' => [ 'ACTIVE', ], ], 'InferenceProfileSummaries' => [ 'type' => 'list', 'member' => [ 'shape' => 'InferenceProfileSummary', ], ], 'InferenceProfileSummary' => [ 'type' => 'structure', 'required' => [ 'inferenceProfileName', 'inferenceProfileArn', 'models', 'inferenceProfileId', 'status', 'type', ], 'members' => [ 'inferenceProfileName' => [ 'shape' => 'InferenceProfileName', ], 'description' => [ 'shape' => 'InferenceProfileDescription', ], 'createdAt' => [ 'shape' => 'Timestamp', ], 'updatedAt' => [ 'shape' => 'Timestamp', ], 'inferenceProfileArn' => [ 'shape' => 'InferenceProfileArn', ], 'models' => [ 'shape' => 'InferenceProfileModels', ], 'inferenceProfileId' => [ 'shape' => 'InferenceProfileId', ], 'status' => [ 'shape' => 'InferenceProfileStatus', ], 'type' => [ 'shape' => 'InferenceProfileType', ], ], ], 'InferenceProfileType' => [ 'type' => 'string', 'enum' => [ 'SYSTEM_DEFINED', 'APPLICATION', ], ], 'InferenceType' => [ 'type' => 'string', 'enum' => [ 'ON_DEMAND', 'PROVISIONED', ], ], 'InferenceTypeList' => [ 'type' => 'list', 'member' => [ 'shape' => 'InferenceType', ], ], 'InstanceCount' => [ 'type' => 'integer', 'box' => true, 'min' => 1, ], 'InstanceType' => [ 'type' => 'string', 'max' => 50, 'min' => 1, ], 'InstructSupported' => [ 'type' => 'boolean', 'box' => true, ], 'Integer' => [ 'type' => 'integer', 'box' => true, ], 'InternalServerException' => [ 'type' => 'structure', 'members' => [ 'message' => [ 'shape' => 'NonBlankString', ], ], 'error' => [ 'httpStatusCode' => 500, ], 'exception' => true, 'fault' => true, ], 'InvocationLogSource' => [ 'type' => 'structure', 'members' => [ 's3Uri' => [ 'shape' => 'S3Uri', ], ], 'union' => true, ], 'InvocationLogsConfig' => [ 'type' => 'structure', 'required' => [ 'invocationLogSource', ], 'members' => [ 'usePromptResponse' => [ 'shape' => 'UsePromptResponse', ], 'invocationLogSource' => [ 'shape' => 'InvocationLogSource', ], 'requestMetadataFilters' => [ 'shape' => 'RequestMetadataFilters', ], ], ], 'JobName' => [ 'type' => 'string', 'max' => 63, 'min' => 1, 'pattern' => '[a-zA-Z0-9](-*[a-zA-Z0-9\\+\\-\\.])*', ], 'KbInferenceConfig' => [ 'type' => 'structure', 'members' => [ 'textInferenceConfig' => [ 'shape' => 'TextInferenceConfig', ], ], ], 'KeyPrefix' => [ 'type' => 'string', 'max' => 1024, 'min' => 0, ], 'KmsKeyArn' => [ 'type' => 'string', 'max' => 2048, 'min' => 1, 'pattern' => 'arn:aws(-[^:]+)?:kms:[a-zA-Z0-9-]*:[0-9]{12}:key/[a-zA-Z0-9-]{36}', ], 'KmsKeyId' => [ 'type' => 'string', 'max' => 2048, 'min' => 1, 'pattern' => '(arn:aws(-[^:]+)?:kms:[a-zA-Z0-9-]*:[0-9]{12}:((key/[a-zA-Z0-9-]{36})|(alias/[a-zA-Z0-9-_/]+)))|([a-zA-Z0-9-]{36})|(alias/[a-zA-Z0-9-_/]+)', ], 'KnowledgeBaseConfig' => [ 'type' => 'structure', 'members' => [ 'retrieveConfig' => [ 'shape' => 'RetrieveConfig', ], 'retrieveAndGenerateConfig' => [ 'shape' => 'RetrieveAndGenerateConfiguration', ], ], 'union' => true, ], 'KnowledgeBaseId' => [ 'type' => 'string', 'max' => 10, 'min' => 0, 'pattern' => '[0-9a-zA-Z]+', ], 'KnowledgeBaseRetrievalConfiguration' => [ 'type' => 'structure', 'required' => [ 'vectorSearchConfiguration', ], 'members' => [ 'vectorSearchConfiguration' => [ 'shape' => 'KnowledgeBaseVectorSearchConfiguration', ], ], ], 'KnowledgeBaseRetrieveAndGenerateConfiguration' => [ 'type' => 'structure', 'required' => [ 'knowledgeBaseId', 'modelArn', ], 'members' => [ 'knowledgeBaseId' => [ 'shape' => 'KnowledgeBaseId', ], 'modelArn' => [ 'shape' => 'BedrockModelArn', ], 'retrievalConfiguration' => [ 'shape' => 'KnowledgeBaseRetrievalConfiguration', ], 'generationConfiguration' => [ 'shape' => 'GenerationConfiguration', ], 'orchestrationConfiguration' => [ 'shape' => 'OrchestrationConfiguration', ], ], ], 'KnowledgeBaseVectorSearchConfiguration' => [ 'type' => 'structure', 'members' => [ 'numberOfResults' => [ 'shape' => 'KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger', ], 'overrideSearchType' => [ 'shape' => 'SearchType', ], 'filter' => [ 'shape' => 'RetrievalFilter', ], ], ], 'KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger' => [ 'type' => 'integer', 'box' => true, 'max' => 100, 'min' => 1, ], 'ListCustomModelsRequest' => [ 'type' => 'structure', 'members' => [ 'creationTimeBefore' => [ 'shape' => 'Timestamp', 'location' => 'querystring', 'locationName' => 'creationTimeBefore', ], 'creationTimeAfter' => [ 'shape' => 'Timestamp', 'location' => 'querystring', 'locationName' => 'creationTimeAfter', ], 'nameContains' => [ 'shape' => 'CustomModelName', 'location' => 'querystring', 'locationName' => 'nameContains', ], 'baseModelArnEquals' => [ 'shape' => 'ModelArn', 'location' => 'querystring', 'locationName' => 'baseModelArnEquals', ], 'foundationModelArnEquals' => [ 'shape' => 'FoundationModelArn', 'location' => 'querystring', 'locationName' => 'foundationModelArnEquals', ], 'maxResults' => [ 'shape' => 'MaxResults', 'location' => 'querystring', 'locationName' => 'maxResults', ], 'nextToken' => [ 'shape' => 'PaginationToken', 'location' => 'querystring', 'locationName' => 'nextToken', ], 'sortBy' => [ 'shape' => 'SortModelsBy', 'location' => 'querystring', 'locationName' => 'sortBy', ], 'sortOrder' => [ 'shape' => 'SortOrder', 'location' => 'querystring', 'locationName' => 'sortOrder', ], 'isOwned' => [ 'shape' => 'Boolean', 'location' => 'querystring', 'locationName' => 'isOwned', ], ], ], 'ListCustomModelsResponse' => [ 'type' => 'structure', 'members' => [ 'nextToken' => [ 'shape' => 'PaginationToken', ], 'modelSummaries' => [ 'shape' => 'CustomModelSummaryList', ], ], ], 'ListEvaluationJobsRequest' => [ 'type' => 'structure', 'members' => [ 'creationTimeAfter' => [ 'shape' => 'Timestamp', 'location' => 'querystring', 'locationName' => 'creationTimeAfter', ], 'creationTimeBefore' => [ 'shape' => 'Timestamp', 'location' => 'querystring', 'locationName' => 'creationTimeBefore', ], 'statusEquals' => [ 'shape' => 'EvaluationJobStatus', 'location' => 'querystring', 'locationName' => 'statusEquals', ], 'applicationTypeEquals' => [ 'shape' => 'ApplicationType', 'location' => 'querystring', 'locationName' => 'applicationTypeEquals', ], 'nameContains' => [ 'shape' => 'EvaluationJobName', 'location' => 'querystring', 'locationName' => 'nameContains', ], 'maxResults' => [ 'shape' => 'MaxResults', 'location' => 'querystring', 'locationName' => 'maxResults', ], 'nextToken' => [ 'shape' => 'PaginationToken', 'location' => 'querystring', 'locationName' => 'nextToken', ], 'sortBy' => [ 'shape' => 'SortJobsBy', 'location' => 'querystring', 'locationName' => 'sortBy', ], 'sortOrder' => [ 'shape' => 'SortOrder', 'location' => 'querystring', 'locationName' => 'sortOrder', ], ], ], 'ListEvaluationJobsResponse' => [ 'type' => 'structure', 'members' => [ 'nextToken' => [ 'shape' => 'PaginationToken', ], 'jobSummaries' => [ 'shape' => 'EvaluationSummaries', ], ], ], 'ListFoundationModelsRequest' => [ 'type' => 'structure', 'members' => [ 'byProvider' => [ 'shape' => 'Provider', 'location' => 'querystring', 'locationName' => 'byProvider', ], 'byCustomizationType' => [ 'shape' => 'ModelCustomization', 'location' => 'querystring', 'locationName' => 'byCustomizationType', ], 'byOutputModality' => [ 'shape' => 'ModelModality', 'location' => 'querystring', 'locationName' => 'byOutputModality', ], 'byInferenceType' => [ 'shape' => 'InferenceType', 'location' => 'querystring', 'locationName' => 'byInferenceType', ], ], ], 'ListFoundationModelsResponse' => [ 'type' => 'structure', 'members' => [ 'modelSummaries' => [ 'shape' => 'FoundationModelSummaryList', ], ], ], 'ListGuardrailsRequest' => [ 'type' => 'structure', 'members' => [ 'guardrailIdentifier' => [ 'shape' => 'GuardrailIdentifier', 'location' => 'querystring', 'locationName' => 'guardrailIdentifier', ], 'maxResults' => [ 'shape' => 'MaxResults', 'location' => 'querystring', 'locationName' => 'maxResults', ], 'nextToken' => [ 'shape' => 'PaginationToken', 'location' => 'querystring', 'locationName' => 'nextToken', ], ], ], 'ListGuardrailsResponse' => [ 'type' => 'structure', 'required' => [ 'guardrails', ], 'members' => [ 'guardrails' => [ 'shape' => 'GuardrailSummaries', ], 'nextToken' => [ 'shape' => 'PaginationToken', ], ], ], 'ListImportedModelsRequest' => [ 'type' => 'structure', 'members' => [ 'creationTimeBefore' => [ 'shape' => 'Timestamp', 'location' => 'querystring', 'locationName' => 'creationTimeBefore', ], 'creationTimeAfter' => [ 'shape' => 'Timestamp', 'location' => 'querystring', 'locationName' => 'creationTimeAfter', ], 'nameContains' => [ 'shape' => 'ImportedModelName', 'location' => 'querystring', 'locationName' => 'nameContains', ], 'maxResults' => [ 'shape' => 'MaxResults', 'location' => 'querystring', 'locationName' => 'maxResults', ], 'nextToken' => [ 'shape' => 'PaginationToken', 'location' => 'querystring', 'locationName' => 'nextToken', ], 'sortBy' => [ 'shape' => 'SortModelsBy', 'location' => 'querystring', 'locationName' => 'sortBy', ], 'sortOrder' => [ 'shape' => 'SortOrder', 'location' => 'querystring', 'locationName' => 'sortOrder', ], ], ], 'ListImportedModelsResponse' => [ 'type' => 'structure', 'members' => [ 'nextToken' => [ 'shape' => 'PaginationToken', ], 'modelSummaries' => [ 'shape' => 'ImportedModelSummaryList', ], ], ], 'ListInferenceProfilesRequest' => [ 'type' => 'structure', 'members' => [ 'maxResults' => [ 'shape' => 'MaxResults', 'location' => 'querystring', 'locationName' => 'maxResults', ], 'nextToken' => [ 'shape' => 'PaginationToken', 'location' => 'querystring', 'locationName' => 'nextToken', ], 'typeEquals' => [ 'shape' => 'InferenceProfileType', 'location' => 'querystring', 'locationName' => 'type', ], ], ], 'ListInferenceProfilesResponse' => [ 'type' => 'structure', 'members' => [ 'inferenceProfileSummaries' => [ 'shape' => 'InferenceProfileSummaries', ], 'nextToken' => [ 'shape' => 'PaginationToken', ], ], ], 'ListMarketplaceModelEndpointsRequest' => [ 'type' => 'structure', 'members' => [ 'maxResults' => [ 'shape' => 'MaxResults', 'location' => 'querystring', 'locationName' => 'maxResults', ], 'nextToken' => [ 'shape' => 'PaginationToken', 'location' => 'querystring', 'locationName' => 'nextToken', ], 'modelSourceEquals' => [ 'shape' => 'ModelSourceIdentifier', 'location' => 'querystring', 'locationName' => 'modelSourceIdentifier', ], ], ], 'ListMarketplaceModelEndpointsResponse' => [ 'type' => 'structure', 'members' => [ 'marketplaceModelEndpoints' => [ 'shape' => 'MarketplaceModelEndpointSummaries', ], 'nextToken' => [ 'shape' => 'PaginationToken', ], ], ], 'ListModelCopyJobsRequest' => [ 'type' => 'structure', 'members' => [ 'creationTimeAfter' => [ 'shape' => 'Timestamp', 'location' => 'querystring', 'locationName' => 'creationTimeAfter', ], 'creationTimeBefore' => [ 'shape' => 'Timestamp', 'location' => 'querystring', 'locationName' => 'creationTimeBefore', ], 'statusEquals' => [ 'shape' => 'ModelCopyJobStatus', 'location' => 'querystring', 'locationName' => 'statusEquals', ], 'sourceAccountEquals' => [ 'shape' => 'AccountId', 'location' => 'querystring', 'locationName' => 'sourceAccountEquals', ], 'sourceModelArnEquals' => [ 'shape' => 'ModelArn', 'location' => 'querystring', 'locationName' => 'sourceModelArnEquals', ], 'targetModelNameContains' => [ 'shape' => 'CustomModelName', 'location' => 'querystring', 'locationName' => 'outputModelNameContains', ], 'maxResults' => [ 'shape' => 'MaxResults', 'location' => 'querystring', 'locationName' => 'maxResults', ], 'nextToken' => [ 'shape' => 'PaginationToken', 'location' => 'querystring', 'locationName' => 'nextToken', ], 'sortBy' => [ 'shape' => 'SortJobsBy', 'location' => 'querystring', 'locationName' => 'sortBy', ], 'sortOrder' => [ 'shape' => 'SortOrder', 'location' => 'querystring', 'locationName' => 'sortOrder', ], ], ], 'ListModelCopyJobsResponse' => [ 'type' => 'structure', 'members' => [ 'nextToken' => [ 'shape' => 'PaginationToken', ], 'modelCopyJobSummaries' => [ 'shape' => 'ModelCopyJobSummaries', ], ], ], 'ListModelCustomizationJobsRequest' => [ 'type' => 'structure', 'members' => [ 'creationTimeAfter' => [ 'shape' => 'Timestamp', 'location' => 'querystring', 'locationName' => 'creationTimeAfter', ], 'creationTimeBefore' => [ 'shape' => 'Timestamp', 'location' => 'querystring', 'locationName' => 'creationTimeBefore', ], 'statusEquals' => [ 'shape' => 'FineTuningJobStatus', 'location' => 'querystring', 'locationName' => 'statusEquals', ], 'nameContains' => [ 'shape' => 'JobName', 'location' => 'querystring', 'locationName' => 'nameContains', ], 'maxResults' => [ 'shape' => 'MaxResults', 'location' => 'querystring', 'locationName' => 'maxResults', ], 'nextToken' => [ 'shape' => 'PaginationToken', 'location' => 'querystring', 'locationName' => 'nextToken', ], 'sortBy' => [ 'shape' => 'SortJobsBy', 'location' => 'querystring', 'locationName' => 'sortBy', ], 'sortOrder' => [ 'shape' => 'SortOrder', 'location' => 'querystring', 'locationName' => 'sortOrder', ], ], ], 'ListModelCustomizationJobsResponse' => [ 'type' => 'structure', 'members' => [ 'nextToken' => [ 'shape' => 'PaginationToken', ], 'modelCustomizationJobSummaries' => [ 'shape' => 'ModelCustomizationJobSummaries', ], ], ], 'ListModelImportJobsRequest' => [ 'type' => 'structure', 'members' => [ 'creationTimeAfter' => [ 'shape' => 'Timestamp', 'location' => 'querystring', 'locationName' => 'creationTimeAfter', ], 'creationTimeBefore' => [ 'shape' => 'Timestamp', 'location' => 'querystring', 'locationName' => 'creationTimeBefore', ], 'statusEquals' => [ 'shape' => 'ModelImportJobStatus', 'location' => 'querystring', 'locationName' => 'statusEquals', ], 'nameContains' => [ 'shape' => 'JobName', 'location' => 'querystring', 'locationName' => 'nameContains', ], 'maxResults' => [ 'shape' => 'MaxResults', 'location' => 'querystring', 'locationName' => 'maxResults', ], 'nextToken' => [ 'shape' => 'PaginationToken', 'location' => 'querystring', 'locationName' => 'nextToken', ], 'sortBy' => [ 'shape' => 'SortJobsBy', 'location' => 'querystring', 'locationName' => 'sortBy', ], 'sortOrder' => [ 'shape' => 'SortOrder', 'location' => 'querystring', 'locationName' => 'sortOrder', ], ], ], 'ListModelImportJobsResponse' => [ 'type' => 'structure', 'members' => [ 'nextToken' => [ 'shape' => 'PaginationToken', ], 'modelImportJobSummaries' => [ 'shape' => 'ModelImportJobSummaries', ], ], ], 'ListModelInvocationJobsRequest' => [ 'type' => 'structure', 'members' => [ 'submitTimeAfter' => [ 'shape' => 'Timestamp', 'location' => 'querystring', 'locationName' => 'submitTimeAfter', ], 'submitTimeBefore' => [ 'shape' => 'Timestamp', 'location' => 'querystring', 'locationName' => 'submitTimeBefore', ], 'statusEquals' => [ 'shape' => 'ModelInvocationJobStatus', 'location' => 'querystring', 'locationName' => 'statusEquals', ], 'nameContains' => [ 'shape' => 'ModelInvocationJobName', 'location' => 'querystring', 'locationName' => 'nameContains', ], 'maxResults' => [ 'shape' => 'MaxResults', 'location' => 'querystring', 'locationName' => 'maxResults', ], 'nextToken' => [ 'shape' => 'PaginationToken', 'location' => 'querystring', 'locationName' => 'nextToken', ], 'sortBy' => [ 'shape' => 'SortJobsBy', 'location' => 'querystring', 'locationName' => 'sortBy', ], 'sortOrder' => [ 'shape' => 'SortOrder', 'location' => 'querystring', 'locationName' => 'sortOrder', ], ], ], 'ListModelInvocationJobsResponse' => [ 'type' => 'structure', 'members' => [ 'nextToken' => [ 'shape' => 'PaginationToken', ], 'invocationJobSummaries' => [ 'shape' => 'ModelInvocationJobSummaries', ], ], ], 'ListPromptRoutersRequest' => [ 'type' => 'structure', 'members' => [ 'maxResults' => [ 'shape' => 'MaxResults', 'location' => 'querystring', 'locationName' => 'maxResults', ], 'nextToken' => [ 'shape' => 'PaginationToken', 'location' => 'querystring', 'locationName' => 'nextToken', ], ], ], 'ListPromptRoutersResponse' => [ 'type' => 'structure', 'members' => [ 'promptRouterSummaries' => [ 'shape' => 'PromptRouterSummaries', ], 'nextToken' => [ 'shape' => 'PaginationToken', ], ], ], 'ListProvisionedModelThroughputsRequest' => [ 'type' => 'structure', 'members' => [ 'creationTimeAfter' => [ 'shape' => 'Timestamp', 'location' => 'querystring', 'locationName' => 'creationTimeAfter', ], 'creationTimeBefore' => [ 'shape' => 'Timestamp', 'location' => 'querystring', 'locationName' => 'creationTimeBefore', ], 'statusEquals' => [ 'shape' => 'ProvisionedModelStatus', 'location' => 'querystring', 'locationName' => 'statusEquals', ], 'modelArnEquals' => [ 'shape' => 'ModelArn', 'location' => 'querystring', 'locationName' => 'modelArnEquals', ], 'nameContains' => [ 'shape' => 'ProvisionedModelName', 'location' => 'querystring', 'locationName' => 'nameContains', ], 'maxResults' => [ 'shape' => 'MaxResults', 'location' => 'querystring', 'locationName' => 'maxResults', ], 'nextToken' => [ 'shape' => 'PaginationToken', 'location' => 'querystring', 'locationName' => 'nextToken', ], 'sortBy' => [ 'shape' => 'SortByProvisionedModels', 'location' => 'querystring', 'locationName' => 'sortBy', ], 'sortOrder' => [ 'shape' => 'SortOrder', 'location' => 'querystring', 'locationName' => 'sortOrder', ], ], ], 'ListProvisionedModelThroughputsResponse' => [ 'type' => 'structure', 'members' => [ 'nextToken' => [ 'shape' => 'PaginationToken', ], 'provisionedModelSummaries' => [ 'shape' => 'ProvisionedModelSummaries', ], ], ], 'ListTagsForResourceRequest' => [ 'type' => 'structure', 'required' => [ 'resourceARN', ], 'members' => [ 'resourceARN' => [ 'shape' => 'TaggableResourcesArn', ], ], ], 'ListTagsForResourceResponse' => [ 'type' => 'structure', 'members' => [ 'tags' => [ 'shape' => 'TagList', ], ], ], 'LogGroupName' => [ 'type' => 'string', 'max' => 512, 'min' => 1, ], 'LoggingConfig' => [ 'type' => 'structure', 'members' => [ 'cloudWatchConfig' => [ 'shape' => 'CloudWatchConfig', ], 's3Config' => [ 'shape' => 'S3Config', ], 'textDataDeliveryEnabled' => [ 'shape' => 'Boolean', ], 'imageDataDeliveryEnabled' => [ 'shape' => 'Boolean', ], 'embeddingDataDeliveryEnabled' => [ 'shape' => 'Boolean', ], 'videoDataDeliveryEnabled' => [ 'shape' => 'Boolean', ], ], ], 'MarketplaceModelEndpoint' => [ 'type' => 'structure', 'required' => [ 'endpointArn', 'modelSourceIdentifier', 'createdAt', 'updatedAt', 'endpointConfig', 'endpointStatus', ], 'members' => [ 'endpointArn' => [ 'shape' => 'Arn', ], 'modelSourceIdentifier' => [ 'shape' => 'ModelSourceIdentifier', ], 'status' => [ 'shape' => 'Status', ], 'statusMessage' => [ 'shape' => 'String', ], 'createdAt' => [ 'shape' => 'Timestamp', ], 'updatedAt' => [ 'shape' => 'Timestamp', ], 'endpointConfig' => [ 'shape' => 'EndpointConfig', ], 'endpointStatus' => [ 'shape' => 'String', ], 'endpointStatusMessage' => [ 'shape' => 'String', ], ], ], 'MarketplaceModelEndpointSummaries' => [ 'type' => 'list', 'member' => [ 'shape' => 'MarketplaceModelEndpointSummary', ], 'max' => 1000, 'min' => 0, ], 'MarketplaceModelEndpointSummary' => [ 'type' => 'structure', 'required' => [ 'endpointArn', 'modelSourceIdentifier', 'createdAt', 'updatedAt', ], 'members' => [ 'endpointArn' => [ 'shape' => 'Arn', ], 'modelSourceIdentifier' => [ 'shape' => 'ModelSourceIdentifier', ], 'status' => [ 'shape' => 'Status', ], 'statusMessage' => [ 'shape' => 'String', ], 'createdAt' => [ 'shape' => 'Timestamp', ], 'updatedAt' => [ 'shape' => 'Timestamp', ], ], ], 'MaxResults' => [ 'type' => 'integer', 'box' => true, 'max' => 1000, 'min' => 1, ], 'MaxTokens' => [ 'type' => 'integer', 'box' => true, 'max' => 65536, 'min' => 0, ], 'Message' => [ 'type' => 'string', 'max' => 2048, 'min' => 0, 'sensitive' => true, ], 'MetricFloat' => [ 'type' => 'float', 'box' => true, ], 'ModelArchitecture' => [ 'type' => 'string', ], 'ModelArn' => [ 'type' => 'string', 'max' => 1011, 'min' => 20, 'pattern' => 'arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}))', ], 'ModelCopyJobArn' => [ 'type' => 'string', 'max' => 1011, 'min' => 0, 'pattern' => 'arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:model-copy-job/[a-z0-9]{12}', ], 'ModelCopyJobStatus' => [ 'type' => 'string', 'enum' => [ 'InProgress', 'Completed', 'Failed', ], ], 'ModelCopyJobSummaries' => [ 'type' => 'list', 'member' => [ 'shape' => 'ModelCopyJobSummary', ], ], 'ModelCopyJobSummary' => [ 'type' => 'structure', 'required' => [ 'jobArn', 'status', 'creationTime', 'targetModelArn', 'sourceAccountId', 'sourceModelArn', ], 'members' => [ 'jobArn' => [ 'shape' => 'ModelCopyJobArn', ], 'status' => [ 'shape' => 'ModelCopyJobStatus', ], 'creationTime' => [ 'shape' => 'Timestamp', ], 'targetModelArn' => [ 'shape' => 'CustomModelArn', ], 'targetModelName' => [ 'shape' => 'CustomModelName', ], 'sourceAccountId' => [ 'shape' => 'AccountId', ], 'sourceModelArn' => [ 'shape' => 'ModelArn', ], 'targetModelKmsKeyArn' => [ 'shape' => 'KmsKeyArn', ], 'targetModelTags' => [ 'shape' => 'TagList', ], 'failureMessage' => [ 'shape' => 'ErrorMessage', ], 'sourceModelName' => [ 'shape' => 'CustomModelName', ], ], ], 'ModelCustomization' => [ 'type' => 'string', 'enum' => [ 'FINE_TUNING', 'CONTINUED_PRE_TRAINING', 'DISTILLATION', ], ], 'ModelCustomizationHyperParameters' => [ 'type' => 'map', 'key' => [ 'shape' => 'String', ], 'value' => [ 'shape' => 'String', ], ], 'ModelCustomizationJobArn' => [ 'type' => 'string', 'max' => 1011, 'min' => 0, 'pattern' => 'arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:model-customization-job/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}/[a-z0-9]{12}', ], 'ModelCustomizationJobIdentifier' => [ 'type' => 'string', 'max' => 1011, 'min' => 0, 'pattern' => '(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:model-customization-job/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}/[a-z0-9]{12})|([a-zA-Z0-9](-*[a-zA-Z0-9\\+\\-\\.])*)', ], 'ModelCustomizationJobStatus' => [ 'type' => 'string', 'enum' => [ 'InProgress', 'Completed', 'Failed', 'Stopping', 'Stopped', ], ], 'ModelCustomizationJobSummaries' => [ 'type' => 'list', 'member' => [ 'shape' => 'ModelCustomizationJobSummary', ], ], 'ModelCustomizationJobSummary' => [ 'type' => 'structure', 'required' => [ 'jobArn', 'baseModelArn', 'jobName', 'status', 'creationTime', ], 'members' => [ 'jobArn' => [ 'shape' => 'ModelCustomizationJobArn', ], 'baseModelArn' => [ 'shape' => 'ModelArn', ], 'jobName' => [ 'shape' => 'JobName', ], 'status' => [ 'shape' => 'ModelCustomizationJobStatus', ], 'lastModifiedTime' => [ 'shape' => 'Timestamp', ], 'creationTime' => [ 'shape' => 'Timestamp', ], 'endTime' => [ 'shape' => 'Timestamp', ], 'customModelArn' => [ 'shape' => 'CustomModelArn', ], 'customModelName' => [ 'shape' => 'CustomModelName', ], 'customizationType' => [ 'shape' => 'CustomizationType', ], ], ], 'ModelCustomizationList' => [ 'type' => 'list', 'member' => [ 'shape' => 'ModelCustomization', ], ], 'ModelDataSource' => [ 'type' => 'structure', 'members' => [ 's3DataSource' => [ 'shape' => 'S3DataSource', ], ], 'union' => true, ], 'ModelId' => [ 'type' => 'string', 'max' => 2048, 'min' => 1, 'pattern' => '(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-:]{1,63}/[a-z0-9]{12}$)|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}$)))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})|(([0-9a-zA-Z][_-]?)+)', ], 'ModelIdentifier' => [ 'type' => 'string', 'max' => 2048, 'min' => 1, 'pattern' => 'arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}(([:][a-z0-9-]{1,63}){0,2})?/[a-z0-9]{12})|(:foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})))|(([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2}))|(([0-9a-zA-Z][_-]?)+)', ], 'ModelImportJobArn' => [ 'type' => 'string', 'max' => 1011, 'min' => 0, 'pattern' => 'arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:model-import-job/[a-z0-9]{12}', ], 'ModelImportJobIdentifier' => [ 'type' => 'string', 'max' => 1011, 'min' => 0, 'pattern' => '(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:model-import-job/[a-z0-9]{12})|([a-zA-Z0-9](-*[a-zA-Z0-9\\+\\-\\.])*)', ], 'ModelImportJobStatus' => [ 'type' => 'string', 'enum' => [ 'InProgress', 'Completed', 'Failed', ], ], 'ModelImportJobSummaries' => [ 'type' => 'list', 'member' => [ 'shape' => 'ModelImportJobSummary', ], ], 'ModelImportJobSummary' => [ 'type' => 'structure', 'required' => [ 'jobArn', 'jobName', 'status', 'creationTime', ], 'members' => [ 'jobArn' => [ 'shape' => 'ModelImportJobArn', ], 'jobName' => [ 'shape' => 'JobName', ], 'status' => [ 'shape' => 'ModelImportJobStatus', ], 'lastModifiedTime' => [ 'shape' => 'Timestamp', ], 'creationTime' => [ 'shape' => 'Timestamp', ], 'endTime' => [ 'shape' => 'Timestamp', ], 'importedModelArn' => [ 'shape' => 'ImportedModelArn', ], 'importedModelName' => [ 'shape' => 'ImportedModelName', ], ], ], 'ModelInvocationIdempotencyToken' => [ 'type' => 'string', 'max' => 256, 'min' => 1, 'pattern' => '[a-zA-Z0-9]{1,256}(-*[a-zA-Z0-9]){0,256}', ], 'ModelInvocationJobArn' => [ 'type' => 'string', 'max' => 1011, 'min' => 0, 'pattern' => '(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:model-invocation-job/[a-z0-9]{12})', ], 'ModelInvocationJobIdentifier' => [ 'type' => 'string', 'max' => 1011, 'min' => 0, 'pattern' => '((arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:model-invocation-job/)?[a-z0-9]{12})', ], 'ModelInvocationJobInputDataConfig' => [ 'type' => 'structure', 'members' => [ 's3InputDataConfig' => [ 'shape' => 'ModelInvocationJobS3InputDataConfig', ], ], 'union' => true, ], 'ModelInvocationJobName' => [ 'type' => 'string', 'max' => 63, 'min' => 1, 'pattern' => '[a-zA-Z0-9]{1,63}(-*[a-zA-Z0-9\\+\\-\\.]){0,63}', ], 'ModelInvocationJobOutputDataConfig' => [ 'type' => 'structure', 'members' => [ 's3OutputDataConfig' => [ 'shape' => 'ModelInvocationJobS3OutputDataConfig', ], ], 'union' => true, ], 'ModelInvocationJobS3InputDataConfig' => [ 'type' => 'structure', 'required' => [ 's3Uri', ], 'members' => [ 's3InputFormat' => [ 'shape' => 'S3InputFormat', ], 's3Uri' => [ 'shape' => 'S3Uri', ], 's3BucketOwner' => [ 'shape' => 'AccountId', ], ], ], 'ModelInvocationJobS3OutputDataConfig' => [ 'type' => 'structure', 'required' => [ 's3Uri', ], 'members' => [ 's3Uri' => [ 'shape' => 'S3Uri', ], 's3EncryptionKeyId' => [ 'shape' => 'KmsKeyId', ], 's3BucketOwner' => [ 'shape' => 'AccountId', ], ], ], 'ModelInvocationJobStatus' => [ 'type' => 'string', 'enum' => [ 'Submitted', 'InProgress', 'Completed', 'Failed', 'Stopping', 'Stopped', 'PartiallyCompleted', 'Expired', 'Validating', 'Scheduled', ], ], 'ModelInvocationJobSummaries' => [ 'type' => 'list', 'member' => [ 'shape' => 'ModelInvocationJobSummary', ], ], 'ModelInvocationJobSummary' => [ 'type' => 'structure', 'required' => [ 'jobArn', 'jobName', 'modelId', 'roleArn', 'submitTime', 'inputDataConfig', 'outputDataConfig', ], 'members' => [ 'jobArn' => [ 'shape' => 'ModelInvocationJobArn', ], 'jobName' => [ 'shape' => 'ModelInvocationJobName', ], 'modelId' => [ 'shape' => 'ModelId', ], 'clientRequestToken' => [ 'shape' => 'ModelInvocationIdempotencyToken', ], 'roleArn' => [ 'shape' => 'RoleArn', ], 'status' => [ 'shape' => 'ModelInvocationJobStatus', ], 'message' => [ 'shape' => 'Message', ], 'submitTime' => [ 'shape' => 'Timestamp', ], 'lastModifiedTime' => [ 'shape' => 'Timestamp', ], 'endTime' => [ 'shape' => 'Timestamp', ], 'inputDataConfig' => [ 'shape' => 'ModelInvocationJobInputDataConfig', ], 'outputDataConfig' => [ 'shape' => 'ModelInvocationJobOutputDataConfig', ], 'vpcConfig' => [ 'shape' => 'VpcConfig', ], 'timeoutDurationInHours' => [ 'shape' => 'ModelInvocationJobTimeoutDurationInHours', ], 'jobExpirationTime' => [ 'shape' => 'Timestamp', ], ], ], 'ModelInvocationJobTimeoutDurationInHours' => [ 'type' => 'integer', 'box' => true, 'max' => 168, 'min' => 24, ], 'ModelModality' => [ 'type' => 'string', 'enum' => [ 'TEXT', 'IMAGE', 'EMBEDDING', ], ], 'ModelModalityList' => [ 'type' => 'list', 'member' => [ 'shape' => 'ModelModality', ], ], 'ModelName' => [ 'type' => 'string', 'max' => 63, 'min' => 1, 'pattern' => '([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63})', ], 'ModelSourceIdentifier' => [ 'type' => 'string', 'max' => 2048, 'min' => 0, 'pattern' => '.*arn:aws:sagemaker:.*:hub-content/SageMakerPublicHub/Model/.*', ], 'NonBlankString' => [ 'type' => 'string', 'pattern' => '[\\s\\S]*', ], 'OrchestrationConfiguration' => [ 'type' => 'structure', 'required' => [ 'queryTransformationConfiguration', ], 'members' => [ 'queryTransformationConfiguration' => [ 'shape' => 'QueryTransformationConfiguration', ], ], ], 'OutputDataConfig' => [ 'type' => 'structure', 'required' => [ 's3Uri', ], 'members' => [ 's3Uri' => [ 'shape' => 'S3Uri', ], ], ], 'PaginationToken' => [ 'type' => 'string', 'max' => 2048, 'min' => 1, 'pattern' => '\\S*', ], 'PerformanceConfigLatency' => [ 'type' => 'string', 'enum' => [ 'standard', 'optimized', ], ], 'PerformanceConfiguration' => [ 'type' => 'structure', 'members' => [ 'latency' => [ 'shape' => 'PerformanceConfigLatency', ], ], ], 'PositiveInteger' => [ 'type' => 'integer', 'box' => true, 'min' => 1, ], 'PromptRouterArn' => [ 'type' => 'string', 'max' => 2048, 'min' => 1, 'pattern' => 'arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:default-prompt-router/[a-zA-Z0-9-:.]+', ], 'PromptRouterDescription' => [ 'type' => 'string', 'max' => 200, 'min' => 1, 'pattern' => '([0-9a-zA-Z:.][ _-]?)+', 'sensitive' => true, ], 'PromptRouterName' => [ 'type' => 'string', 'max' => 64, 'min' => 1, 'pattern' => '([0-9a-zA-Z][ _-]?)+', ], 'PromptRouterStatus' => [ 'type' => 'string', 'enum' => [ 'AVAILABLE', ], ], 'PromptRouterSummaries' => [ 'type' => 'list', 'member' => [ 'shape' => 'PromptRouterSummary', ], ], 'PromptRouterSummary' => [ 'type' => 'structure', 'required' => [ 'promptRouterName', 'routingCriteria', 'promptRouterArn', 'models', 'fallbackModel', 'status', 'type', ], 'members' => [ 'promptRouterName' => [ 'shape' => 'PromptRouterName', ], 'routingCriteria' => [ 'shape' => 'RoutingCriteria', ], 'description' => [ 'shape' => 'PromptRouterDescription', ], 'createdAt' => [ 'shape' => 'Timestamp', ], 'updatedAt' => [ 'shape' => 'Timestamp', ], 'promptRouterArn' => [ 'shape' => 'PromptRouterArn', ], 'models' => [ 'shape' => 'PromptRouterTargetModels', ], 'fallbackModel' => [ 'shape' => 'PromptRouterTargetModel', ], 'status' => [ 'shape' => 'PromptRouterStatus', ], 'type' => [ 'shape' => 'PromptRouterType', ], ], ], 'PromptRouterTargetModel' => [ 'type' => 'structure', 'members' => [ 'modelArn' => [ 'shape' => 'PromptRouterTargetModelArn', ], ], ], 'PromptRouterTargetModelArn' => [ 'type' => 'string', 'max' => 2048, 'min' => 1, 'pattern' => '.*(^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/[a-z0-9-]{1,63}[.]{1}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2})|(^arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{0,20}):(|[0-9]{12}):inference-profile/[a-zA-Z0-9-:.]+)', ], 'PromptRouterTargetModels' => [ 'type' => 'list', 'member' => [ 'shape' => 'PromptRouterTargetModel', ], ], 'PromptRouterType' => [ 'type' => 'string', 'enum' => [ 'custom', 'default', ], ], 'PromptTemplate' => [ 'type' => 'structure', 'members' => [ 'textPromptTemplate' => [ 'shape' => 'TextPromptTemplate', ], ], ], 'Provider' => [ 'type' => 'string', 'pattern' => '[A-Za-z0-9- ]{1,63}', ], 'ProvisionedModelArn' => [ 'type' => 'string', 'pattern' => 'arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:provisioned-model/[a-z0-9]{12}', ], 'ProvisionedModelId' => [ 'type' => 'string', 'pattern' => '((([0-9a-zA-Z][_-]?)+)|(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:provisioned-model/[a-z0-9]{12}))', ], 'ProvisionedModelName' => [ 'type' => 'string', 'max' => 63, 'min' => 1, 'pattern' => '([0-9a-zA-Z][_-]?)+', ], 'ProvisionedModelStatus' => [ 'type' => 'string', 'enum' => [ 'Creating', 'InService', 'Updating', 'Failed', ], ], 'ProvisionedModelSummaries' => [ 'type' => 'list', 'member' => [ 'shape' => 'ProvisionedModelSummary', ], ], 'ProvisionedModelSummary' => [ 'type' => 'structure', 'required' => [ 'provisionedModelName', 'provisionedModelArn', 'modelArn', 'desiredModelArn', 'foundationModelArn', 'modelUnits', 'desiredModelUnits', 'status', 'creationTime', 'lastModifiedTime', ], 'members' => [ 'provisionedModelName' => [ 'shape' => 'ProvisionedModelName', ], 'provisionedModelArn' => [ 'shape' => 'ProvisionedModelArn', ], 'modelArn' => [ 'shape' => 'ModelArn', ], 'desiredModelArn' => [ 'shape' => 'ModelArn', ], 'foundationModelArn' => [ 'shape' => 'FoundationModelArn', ], 'modelUnits' => [ 'shape' => 'PositiveInteger', ], 'desiredModelUnits' => [ 'shape' => 'PositiveInteger', ], 'status' => [ 'shape' => 'ProvisionedModelStatus', ], 'commitmentDuration' => [ 'shape' => 'CommitmentDuration', ], 'commitmentExpirationTime' => [ 'shape' => 'Timestamp', ], 'creationTime' => [ 'shape' => 'Timestamp', ], 'lastModifiedTime' => [ 'shape' => 'Timestamp', ], ], ], 'PutModelInvocationLoggingConfigurationRequest' => [ 'type' => 'structure', 'required' => [ 'loggingConfig', ], 'members' => [ 'loggingConfig' => [ 'shape' => 'LoggingConfig', ], ], ], 'PutModelInvocationLoggingConfigurationResponse' => [ 'type' => 'structure', 'members' => [], ], 'QueryTransformationConfiguration' => [ 'type' => 'structure', 'required' => [ 'type', ], 'members' => [ 'type' => [ 'shape' => 'QueryTransformationType', ], ], ], 'QueryTransformationType' => [ 'type' => 'string', 'enum' => [ 'QUERY_DECOMPOSITION', ], ], 'RAGConfig' => [ 'type' => 'structure', 'members' => [ 'knowledgeBaseConfig' => [ 'shape' => 'KnowledgeBaseConfig', ], ], 'union' => true, ], 'RAGIdentifiers' => [ 'type' => 'list', 'member' => [ 'shape' => 'KnowledgeBaseId', ], 'max' => 1, 'min' => 0, ], 'RAGStopSequences' => [ 'type' => 'list', 'member' => [ 'shape' => 'RAGStopSequencesMemberString', ], 'max' => 4, 'min' => 0, ], 'RAGStopSequencesMemberString' => [ 'type' => 'string', 'max' => 1000, 'min' => 1, ], 'RagConfigs' => [ 'type' => 'list', 'member' => [ 'shape' => 'RAGConfig', ], 'max' => 1, 'min' => 1, ], 'RegisterMarketplaceModelEndpointRequest' => [ 'type' => 'structure', 'required' => [ 'endpointIdentifier', 'modelSourceIdentifier', ], 'members' => [ 'endpointIdentifier' => [ 'shape' => 'Arn', 'location' => 'uri', 'locationName' => 'endpointIdentifier', ], 'modelSourceIdentifier' => [ 'shape' => 'ModelSourceIdentifier', ], ], ], 'RegisterMarketplaceModelEndpointResponse' => [ 'type' => 'structure', 'required' => [ 'marketplaceModelEndpoint', ], 'members' => [ 'marketplaceModelEndpoint' => [ 'shape' => 'MarketplaceModelEndpoint', ], ], ], 'RequestMetadataBaseFilters' => [ 'type' => 'structure', 'members' => [ 'equals' => [ 'shape' => 'RequestMetadataMap', ], 'notEquals' => [ 'shape' => 'RequestMetadataMap', ], ], ], 'RequestMetadataFilters' => [ 'type' => 'structure', 'members' => [ 'equals' => [ 'shape' => 'RequestMetadataMap', ], 'notEquals' => [ 'shape' => 'RequestMetadataMap', ], 'andAll' => [ 'shape' => 'RequestMetadataFiltersList', ], 'orAll' => [ 'shape' => 'RequestMetadataFiltersList', ], ], 'union' => true, ], 'RequestMetadataFiltersList' => [ 'type' => 'list', 'member' => [ 'shape' => 'RequestMetadataBaseFilters', ], 'max' => 16, 'min' => 1, ], 'RequestMetadataMap' => [ 'type' => 'map', 'key' => [ 'shape' => 'RequestMetadataMapKeyString', ], 'value' => [ 'shape' => 'RequestMetadataMapValueString', ], 'max' => 1, 'min' => 1, 'sensitive' => true, ], 'RequestMetadataMapKeyString' => [ 'type' => 'string', 'max' => 256, 'min' => 1, 'pattern' => '[a-zA-Z0-9\\s._:/=+$@-]{1,256}', ], 'RequestMetadataMapValueString' => [ 'type' => 'string', 'max' => 256, 'min' => 0, 'pattern' => '[a-zA-Z0-9\\s._:/=+$@-]{0,256}', ], 'ResourceNotFoundException' => [ 'type' => 'structure', 'members' => [ 'message' => [ 'shape' => 'NonBlankString', ], ], 'error' => [ 'httpStatusCode' => 404, 'senderFault' => true, ], 'exception' => true, ], 'RetrievalFilter' => [ 'type' => 'structure', 'members' => [ 'equals' => [ 'shape' => 'FilterAttribute', ], 'notEquals' => [ 'shape' => 'FilterAttribute', ], 'greaterThan' => [ 'shape' => 'FilterAttribute', ], 'greaterThanOrEquals' => [ 'shape' => 'FilterAttribute', ], 'lessThan' => [ 'shape' => 'FilterAttribute', ], 'lessThanOrEquals' => [ 'shape' => 'FilterAttribute', ], 'in' => [ 'shape' => 'FilterAttribute', ], 'notIn' => [ 'shape' => 'FilterAttribute', ], 'startsWith' => [ 'shape' => 'FilterAttribute', ], 'listContains' => [ 'shape' => 'FilterAttribute', ], 'stringContains' => [ 'shape' => 'FilterAttribute', ], 'andAll' => [ 'shape' => 'RetrievalFilterList', ], 'orAll' => [ 'shape' => 'RetrievalFilterList', ], ], 'sensitive' => true, 'union' => true, ], 'RetrievalFilterList' => [ 'type' => 'list', 'member' => [ 'shape' => 'RetrievalFilter', ], 'min' => 2, ], 'RetrieveAndGenerateConfiguration' => [ 'type' => 'structure', 'required' => [ 'type', ], 'members' => [ 'type' => [ 'shape' => 'RetrieveAndGenerateType', ], 'knowledgeBaseConfiguration' => [ 'shape' => 'KnowledgeBaseRetrieveAndGenerateConfiguration', ], 'externalSourcesConfiguration' => [ 'shape' => 'ExternalSourcesRetrieveAndGenerateConfiguration', ], ], ], 'RetrieveAndGenerateType' => [ 'type' => 'string', 'enum' => [ 'KNOWLEDGE_BASE', 'EXTERNAL_SOURCES', ], ], 'RetrieveConfig' => [ 'type' => 'structure', 'required' => [ 'knowledgeBaseId', 'knowledgeBaseRetrievalConfiguration', ], 'members' => [ 'knowledgeBaseId' => [ 'shape' => 'KnowledgeBaseId', ], 'knowledgeBaseRetrievalConfiguration' => [ 'shape' => 'KnowledgeBaseRetrievalConfiguration', ], ], ], 'RoleArn' => [ 'type' => 'string', 'max' => 2048, 'min' => 0, 'pattern' => 'arn:aws(-[^:]+)?:iam::([0-9]{12})?:role/.+', ], 'RoutingCriteria' => [ 'type' => 'structure', 'required' => [ 'responseQualityDifference', ], 'members' => [ 'responseQualityDifference' => [ 'shape' => 'RoutingCriteriaResponseQualityDifferenceDouble', ], ], ], 'RoutingCriteriaResponseQualityDifferenceDouble' => [ 'type' => 'double', 'box' => true, 'max' => 1, 'min' => 0, ], 'S3Config' => [ 'type' => 'structure', 'required' => [ 'bucketName', ], 'members' => [ 'bucketName' => [ 'shape' => 'BucketName', ], 'keyPrefix' => [ 'shape' => 'KeyPrefix', ], ], ], 'S3DataSource' => [ 'type' => 'structure', 'required' => [ 's3Uri', ], 'members' => [ 's3Uri' => [ 'shape' => 'S3Uri', ], ], ], 'S3InputFormat' => [ 'type' => 'string', 'enum' => [ 'JSONL', ], ], 'S3ObjectDoc' => [ 'type' => 'structure', 'required' => [ 'uri', ], 'members' => [ 'uri' => [ 'shape' => 'kBS3Uri', ], ], ], 'S3Uri' => [ 'type' => 'string', 'max' => 1024, 'min' => 1, 'pattern' => 's3://[a-z0-9][-.a-z0-9]{1,61}(?:/[-!_*\'().a-z0-9A-Z]+(?:/[-!_*\'().a-z0-9A-Z]+)*)?/?', ], 'SageMakerEndpoint' => [ 'type' => 'structure', 'required' => [ 'initialInstanceCount', 'instanceType', 'executionRole', ], 'members' => [ 'initialInstanceCount' => [ 'shape' => 'InstanceCount', ], 'instanceType' => [ 'shape' => 'InstanceType', ], 'executionRole' => [ 'shape' => 'RoleArn', ], 'kmsEncryptionKey' => [ 'shape' => 'KmsKeyId', ], 'vpc' => [ 'shape' => 'VpcConfig', ], ], ], 'SageMakerFlowDefinitionArn' => [ 'type' => 'string', 'max' => 1024, 'min' => 0, 'pattern' => 'arn:aws(-[^:]+)?:sagemaker:[a-z0-9-]{1,20}:[0-9]{12}:flow-definition/.*', ], 'SearchType' => [ 'type' => 'string', 'enum' => [ 'HYBRID', 'SEMANTIC', ], ], 'SecurityGroupId' => [ 'type' => 'string', 'max' => 32, 'min' => 0, 'pattern' => '[-0-9a-zA-Z]+', ], 'SecurityGroupIds' => [ 'type' => 'list', 'member' => [ 'shape' => 'SecurityGroupId', ], 'max' => 5, 'min' => 1, ], 'ServiceQuotaExceededException' => [ 'type' => 'structure', 'members' => [ 'message' => [ 'shape' => 'NonBlankString', ], ], 'error' => [ 'httpStatusCode' => 400, 'senderFault' => true, ], 'exception' => true, ], 'ServiceUnavailableException' => [ 'type' => 'structure', 'members' => [ 'message' => [ 'shape' => 'NonBlankString', ], ], 'error' => [ 'httpStatusCode' => 503, ], 'exception' => true, 'fault' => true, ], 'SortByProvisionedModels' => [ 'type' => 'string', 'enum' => [ 'CreationTime', ], ], 'SortJobsBy' => [ 'type' => 'string', 'enum' => [ 'CreationTime', ], ], 'SortModelsBy' => [ 'type' => 'string', 'enum' => [ 'CreationTime', ], ], 'SortOrder' => [ 'type' => 'string', 'enum' => [ 'Ascending', 'Descending', ], ], 'Status' => [ 'type' => 'string', 'enum' => [ 'REGISTERED', 'INCOMPATIBLE_ENDPOINT', ], ], 'StopEvaluationJobRequest' => [ 'type' => 'structure', 'required' => [ 'jobIdentifier', ], 'members' => [ 'jobIdentifier' => [ 'shape' => 'EvaluationJobIdentifier', 'location' => 'uri', 'locationName' => 'jobIdentifier', ], ], ], 'StopEvaluationJobResponse' => [ 'type' => 'structure', 'members' => [], ], 'StopModelCustomizationJobRequest' => [ 'type' => 'structure', 'required' => [ 'jobIdentifier', ], 'members' => [ 'jobIdentifier' => [ 'shape' => 'ModelCustomizationJobIdentifier', 'location' => 'uri', 'locationName' => 'jobIdentifier', ], ], ], 'StopModelCustomizationJobResponse' => [ 'type' => 'structure', 'members' => [], ], 'StopModelInvocationJobRequest' => [ 'type' => 'structure', 'required' => [ 'jobIdentifier', ], 'members' => [ 'jobIdentifier' => [ 'shape' => 'ModelInvocationJobIdentifier', 'location' => 'uri', 'locationName' => 'jobIdentifier', ], ], ], 'StopModelInvocationJobResponse' => [ 'type' => 'structure', 'members' => [], ], 'String' => [ 'type' => 'string', ], 'SubnetId' => [ 'type' => 'string', 'max' => 32, 'min' => 0, 'pattern' => '[-0-9a-zA-Z]+', ], 'SubnetIds' => [ 'type' => 'list', 'member' => [ 'shape' => 'SubnetId', ], 'max' => 16, 'min' => 1, ], 'Tag' => [ 'type' => 'structure', 'required' => [ 'key', 'value', ], 'members' => [ 'key' => [ 'shape' => 'TagKey', ], 'value' => [ 'shape' => 'TagValue', ], ], ], 'TagKey' => [ 'type' => 'string', 'max' => 128, 'min' => 1, 'pattern' => '[a-zA-Z0-9\\s._:/=+@-]*', ], 'TagKeyList' => [ 'type' => 'list', 'member' => [ 'shape' => 'TagKey', ], 'max' => 200, 'min' => 0, ], 'TagList' => [ 'type' => 'list', 'member' => [ 'shape' => 'Tag', ], 'max' => 200, 'min' => 0, ], 'TagResourceRequest' => [ 'type' => 'structure', 'required' => [ 'resourceARN', 'tags', ], 'members' => [ 'resourceARN' => [ 'shape' => 'TaggableResourcesArn', ], 'tags' => [ 'shape' => 'TagList', ], ], ], 'TagResourceResponse' => [ 'type' => 'structure', 'members' => [], ], 'TagValue' => [ 'type' => 'string', 'max' => 256, 'min' => 0, 'pattern' => '[a-zA-Z0-9\\s._:/=+@-]*', ], 'TaggableResourcesArn' => [ 'type' => 'string', 'max' => 1011, 'min' => 20, 'pattern' => '.*(^[a-zA-Z0-9][a-zA-Z0-9\\-]*$)|(^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:([0-9]{12}|)((:(fine-tuning-job|model-customization-job|custom-model)/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}(/[a-z0-9]{12})$)|(:guardrail/[a-z0-9]+$)|(:(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+$)|(:(provisioned-model|model-invocation-job|model-evaluation-job|evaluation-job|model-import-job|imported-model|async-invoke)/[a-z0-9]{12}$))).*', ], 'TeacherModelConfig' => [ 'type' => 'structure', 'required' => [ 'teacherModelIdentifier', ], 'members' => [ 'teacherModelIdentifier' => [ 'shape' => 'TeacherModelIdentifier', ], 'maxResponseLengthForInference' => [ 'shape' => 'Integer', ], ], ], 'TeacherModelIdentifier' => [ 'type' => 'string', 'pattern' => 'arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/[a-z0-9-]{1,63}[.]{1}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})|(([0-9a-zA-Z][_-]?)+)', ], 'Temperature' => [ 'type' => 'float', 'box' => true, 'max' => 1, 'min' => 0, ], 'TextInferenceConfig' => [ 'type' => 'structure', 'members' => [ 'temperature' => [ 'shape' => 'Temperature', ], 'topP' => [ 'shape' => 'TopP', ], 'maxTokens' => [ 'shape' => 'MaxTokens', ], 'stopSequences' => [ 'shape' => 'RAGStopSequences', ], ], ], 'TextPromptTemplate' => [ 'type' => 'string', 'max' => 100000, 'min' => 1, 'sensitive' => true, ], 'ThrottlingException' => [ 'type' => 'structure', 'members' => [ 'message' => [ 'shape' => 'NonBlankString', ], ], 'error' => [ 'httpStatusCode' => 429, 'senderFault' => true, ], 'exception' => true, ], 'Timestamp' => [ 'type' => 'timestamp', 'timestampFormat' => 'iso8601', ], 'TooManyTagsException' => [ 'type' => 'structure', 'members' => [ 'message' => [ 'shape' => 'NonBlankString', ], 'resourceName' => [ 'shape' => 'TaggableResourcesArn', ], ], 'error' => [ 'httpStatusCode' => 400, 'senderFault' => true, ], 'exception' => true, ], 'TopP' => [ 'type' => 'float', 'box' => true, 'max' => 1, 'min' => 0, ], 'TrainingDataConfig' => [ 'type' => 'structure', 'members' => [ 's3Uri' => [ 'shape' => 'S3Uri', ], 'invocationLogsConfig' => [ 'shape' => 'InvocationLogsConfig', ], ], ], 'TrainingMetrics' => [ 'type' => 'structure', 'members' => [ 'trainingLoss' => [ 'shape' => 'MetricFloat', ], ], ], 'UntagResourceRequest' => [ 'type' => 'structure', 'required' => [ 'resourceARN', 'tagKeys', ], 'members' => [ 'resourceARN' => [ 'shape' => 'TaggableResourcesArn', ], 'tagKeys' => [ 'shape' => 'TagKeyList', ], ], ], 'UntagResourceResponse' => [ 'type' => 'structure', 'members' => [], ], 'UpdateGuardrailRequest' => [ 'type' => 'structure', 'required' => [ 'guardrailIdentifier', 'name', 'blockedInputMessaging', 'blockedOutputsMessaging', ], 'members' => [ 'guardrailIdentifier' => [ 'shape' => 'GuardrailIdentifier', 'location' => 'uri', 'locationName' => 'guardrailIdentifier', ], 'name' => [ 'shape' => 'GuardrailName', ], 'description' => [ 'shape' => 'GuardrailDescription', ], 'topicPolicyConfig' => [ 'shape' => 'GuardrailTopicPolicyConfig', ], 'contentPolicyConfig' => [ 'shape' => 'GuardrailContentPolicyConfig', ], 'wordPolicyConfig' => [ 'shape' => 'GuardrailWordPolicyConfig', ], 'sensitiveInformationPolicyConfig' => [ 'shape' => 'GuardrailSensitiveInformationPolicyConfig', ], 'contextualGroundingPolicyConfig' => [ 'shape' => 'GuardrailContextualGroundingPolicyConfig', ], 'blockedInputMessaging' => [ 'shape' => 'GuardrailBlockedMessaging', ], 'blockedOutputsMessaging' => [ 'shape' => 'GuardrailBlockedMessaging', ], 'kmsKeyId' => [ 'shape' => 'KmsKeyId', ], ], ], 'UpdateGuardrailResponse' => [ 'type' => 'structure', 'required' => [ 'guardrailId', 'guardrailArn', 'version', 'updatedAt', ], 'members' => [ 'guardrailId' => [ 'shape' => 'GuardrailId', ], 'guardrailArn' => [ 'shape' => 'GuardrailArn', ], 'version' => [ 'shape' => 'GuardrailDraftVersion', ], 'updatedAt' => [ 'shape' => 'Timestamp', ], ], ], 'UpdateMarketplaceModelEndpointRequest' => [ 'type' => 'structure', 'required' => [ 'endpointArn', 'endpointConfig', ], 'members' => [ 'endpointArn' => [ 'shape' => 'Arn', 'location' => 'uri', 'locationName' => 'endpointArn', ], 'endpointConfig' => [ 'shape' => 'EndpointConfig', ], 'clientRequestToken' => [ 'shape' => 'IdempotencyToken', 'idempotencyToken' => true, ], ], ], 'UpdateMarketplaceModelEndpointResponse' => [ 'type' => 'structure', 'required' => [ 'marketplaceModelEndpoint', ], 'members' => [ 'marketplaceModelEndpoint' => [ 'shape' => 'MarketplaceModelEndpoint', ], ], ], 'UpdateProvisionedModelThroughputRequest' => [ 'type' => 'structure', 'required' => [ 'provisionedModelId', ], 'members' => [ 'provisionedModelId' => [ 'shape' => 'ProvisionedModelId', 'location' => 'uri', 'locationName' => 'provisionedModelId', ], 'desiredProvisionedModelName' => [ 'shape' => 'ProvisionedModelName', ], 'desiredModelId' => [ 'shape' => 'ModelIdentifier', ], ], ], 'UpdateProvisionedModelThroughputResponse' => [ 'type' => 'structure', 'members' => [], ], 'UsePromptResponse' => [ 'type' => 'boolean', ], 'ValidationDataConfig' => [ 'type' => 'structure', 'required' => [ 'validators', ], 'members' => [ 'validators' => [ 'shape' => 'Validators', ], ], ], 'ValidationException' => [ 'type' => 'structure', 'members' => [ 'message' => [ 'shape' => 'NonBlankString', ], ], 'error' => [ 'httpStatusCode' => 400, 'senderFault' => true, ], 'exception' => true, ], 'ValidationMetrics' => [ 'type' => 'list', 'member' => [ 'shape' => 'ValidatorMetric', ], ], 'Validator' => [ 'type' => 'structure', 'required' => [ 's3Uri', ], 'members' => [ 's3Uri' => [ 'shape' => 'S3Uri', ], ], ], 'ValidatorMetric' => [ 'type' => 'structure', 'members' => [ 'validationLoss' => [ 'shape' => 'MetricFloat', ], ], ], 'Validators' => [ 'type' => 'list', 'member' => [ 'shape' => 'Validator', ], 'max' => 10, 'min' => 0, ], 'VpcConfig' => [ 'type' => 'structure', 'required' => [ 'subnetIds', 'securityGroupIds', ], 'members' => [ 'subnetIds' => [ 'shape' => 'SubnetIds', ], 'securityGroupIds' => [ 'shape' => 'SecurityGroupIds', ], ], ], 'kBS3Uri' => [ 'type' => 'string', 'max' => 1024, 'min' => 1, 'pattern' => 's3://[a-z0-9][a-z0-9.-]{1,61}[a-z0-9]/.{1,1024}', ], ],];
|