{ "version":"2.0", "metadata":{ "apiVersion":"2023-04-20", "endpointPrefix":"bedrock", "jsonVersion":"1.1", "protocol":"rest-json", "serviceFullName":"Amazon Bedrock", "serviceId":"Bedrock", "signatureVersion":"v4", "signingName":"bedrock", "uid":"bedrock-2023-04-20" }, "operations":{ "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"} ], "documentation":"

Creates a fine-tuning job to customize a base model.

You specify the base foundation model and the location of the training data. After the model-customization job completes successfully, your custom model resource will be ready to use. Training data contains input and output text for each record in a JSONL format. Optionally, you can specify validation data in the same format as the training data. Amazon Bedrock returns validation loss metrics and output generations after the job completes.

Model-customization jobs are asynchronous and the completion time depends on the base model and the training/validation data size. To monitor a job, use the `GetModelCustomizationJob` operation to retrieve the job status.

For more information, see Custom models in the Bedrock User Guide.

", "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"} ], "documentation":"

Creates a provisioned throughput with dedicated capacity for a foundation model or a fine-tuned model.

For more information, see Provisioned throughput in the Bedrock User Guide.

", "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"} ], "documentation":"

Deletes a custom model that you created earlier. For more information, see Custom models in the Bedrock User Guide.

", "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"} ], "documentation":"

Delete the invocation logging.

", "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"} ], "documentation":"

Deletes a provisioned throughput. For more information, see Provisioned throughput in the Bedrock User Guide.

", "idempotent":true }, "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"} ], "documentation":"

Get the properties associated with a Amazon Bedrock custom model that you have created.For more information, see Custom models in the Bedrock User Guide.

" }, "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"} ], "documentation":"

Get details about a Amazon Bedrock foundation model.

" }, "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"} ], "documentation":"

Retrieves the properties associated with a model-customization job, including the status of the job. For more information, see Custom models in the Bedrock User Guide.

" }, "GetModelInvocationLoggingConfiguration":{ "name":"GetModelInvocationLoggingConfiguration", "http":{ "method":"GET", "requestUri":"/logging/modelinvocations", "responseCode":200 }, "input":{"shape":"GetModelInvocationLoggingConfigurationRequest"}, "output":{"shape":"GetModelInvocationLoggingConfigurationResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ThrottlingException"} ], "documentation":"

Get the current configuration values for model invocation logging.

" }, "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"} ], "documentation":"

Get details for a provisioned throughput. For more information, see Provisioned throughput in the Bedrock User Guide.

" }, "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"} ], "documentation":"

Returns a list of the custom models that you have created with the `CreateModelCustomizationJob` operation.

For more information, see Custom models in the Bedrock User Guide.

" }, "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"} ], "documentation":"

List of Amazon Bedrock foundation models that you can use. For more information, see Foundation models in the Bedrock User Guide.

" }, "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"} ], "documentation":"

Returns a list of model customization jobs that you have submitted. You can filter the jobs to return based on one or more criteria.

For more information, see Custom models in the Bedrock User Guide.

" }, "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"} ], "documentation":"

List the provisioned capacities. For more information, see Provisioned throughput in the Bedrock User Guide.

" }, "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"} ], "documentation":"

List the tags associated with the specified resource.

For more information, see Tagging resources in the Bedrock User Guide.

" }, "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"} ], "documentation":"

Set the configuration values for model invocation logging.

", "idempotent":true }, "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"} ], "documentation":"

Stops an active model customization job. For more information, see Custom models in the Bedrock User Guide.

", "idempotent":true }, "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"} ], "documentation":"

Associate tags with a resource. For more information, see Tagging resources in the Bedrock User Guide.

" }, "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"} ], "documentation":"

Remove one or more tags from a resource. For more information, see Tagging resources in the Bedrock User Guide.

" }, "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"} ], "documentation":"

Update a provisioned throughput. For more information, see Provisioned throughput in the Bedrock User Guide.

", "idempotent":true } }, "shapes":{ "AccessDeniedException":{ "type":"structure", "members":{ "message":{"shape":"NonBlankString"} }, "documentation":"

The request is denied because of missing access permissions.

", "error":{ "httpStatusCode":403, "senderFault":true }, "exception":true }, "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][_-]?)+)" }, "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 }, "CloudWatchConfig":{ "type":"structure", "required":[ "logGroupName", "roleArn" ], "members":{ "logGroupName":{ "shape":"LogGroupName", "documentation":"

The log group name.

" }, "roleArn":{ "shape":"RoleArn", "documentation":"

The role ARN.

" }, "largeDataDeliveryS3Config":{ "shape":"S3Config", "documentation":"

S3 configuration for delivering a large amount of data.

" } }, "documentation":"

CloudWatch logging configuration.

" }, "CommitmentDuration":{ "type":"string", "enum":[ "OneMonth", "SixMonths" ] }, "ConflictException":{ "type":"structure", "members":{ "message":{"shape":"NonBlankString"} }, "documentation":"

Error occurred because of a conflict while performing an operation.

", "error":{ "httpStatusCode":400, "senderFault":true }, "exception":true }, "CreateModelCustomizationJobRequest":{ "type":"structure", "required":[ "jobName", "customModelName", "roleArn", "baseModelIdentifier", "trainingDataConfig", "outputDataConfig", "hyperParameters" ], "members":{ "jobName":{ "shape":"JobName", "documentation":"

Enter a unique name for the fine-tuning job.

" }, "customModelName":{ "shape":"CustomModelName", "documentation":"

Enter a name for the custom model.

" }, "roleArn":{ "shape":"RoleArn", "documentation":"

The Amazon Resource Name (ARN) of an IAM role that Amazon Bedrock can assume to perform tasks on your behalf. For example, during model training, Amazon Bedrock needs your permission to read input data from an S3 bucket, write model artifacts to an S3 bucket. To pass this role to Amazon Bedrock, the caller of this API must have the `iam:PassRole` permission.

" }, "clientRequestToken":{ "shape":"IdempotencyToken", "documentation":"

Unique token value that you can provide. The GetModelCustomizationJob response includes the same token value.

", "idempotencyToken":true }, "baseModelIdentifier":{ "shape":"BaseModelIdentifier", "documentation":"

Name of the base model.

" }, "customizationType":{ "shape":"CustomizationType", "documentation":"

The customization type.

" }, "customModelKmsKeyId":{ "shape":"KmsKeyId", "documentation":"

The custom model is encrypted at rest using this key.

" }, "jobTags":{ "shape":"TagList", "documentation":"

Assign tags to the job.

" }, "customModelTags":{ "shape":"TagList", "documentation":"

Assign tags to the custom model.

" }, "trainingDataConfig":{ "shape":"TrainingDataConfig", "documentation":"

Information about the training dataset.

" }, "validationDataConfig":{ "shape":"ValidationDataConfig", "documentation":"

Information about the validation dataset.

" }, "outputDataConfig":{ "shape":"OutputDataConfig", "documentation":"

S3 location for the output data.

" }, "hyperParameters":{ "shape":"ModelCustomizationHyperParameters", "documentation":"

Parameters related to tuning the model.

" }, "vpcConfig":{ "shape":"VpcConfig", "documentation":"

VPC configuration (optional). Configuration parameters for the private Virtual Private Cloud (VPC) that contains the resources you are using for this job.

" } } }, "CreateModelCustomizationJobResponse":{ "type":"structure", "required":["jobArn"], "members":{ "jobArn":{ "shape":"ModelCustomizationJobArn", "documentation":"

ARN of the fine tuning job

" } } }, "CreateProvisionedModelThroughputRequest":{ "type":"structure", "required":[ "modelUnits", "provisionedModelName", "modelId" ], "members":{ "clientRequestToken":{ "shape":"IdempotencyToken", "documentation":"

Unique token value that you can provide. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error.

", "idempotencyToken":true }, "modelUnits":{ "shape":"PositiveInteger", "documentation":"

Number of model units to allocate.

" }, "provisionedModelName":{ "shape":"ProvisionedModelName", "documentation":"

Unique name for this provisioned throughput.

" }, "modelId":{ "shape":"ModelIdentifier", "documentation":"

Name or ARN of the model to associate with this provisioned throughput.

" }, "commitmentDuration":{ "shape":"CommitmentDuration", "documentation":"

Commitment duration requested for the provisioned throughput.

" }, "tags":{ "shape":"TagList", "documentation":"

Tags to associate with this provisioned throughput.

" } } }, "CreateProvisionedModelThroughputResponse":{ "type":"structure", "required":["provisionedModelArn"], "members":{ "provisionedModelArn":{ "shape":"ProvisionedModelArn", "documentation":"

The ARN for this provisioned throughput.

" } } }, "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][_-]?)+" }, "CustomModelSummary":{ "type":"structure", "required":[ "modelArn", "modelName", "creationTime", "baseModelArn", "baseModelName" ], "members":{ "modelArn":{ "shape":"CustomModelArn", "documentation":"

The ARN of the custom model.

" }, "modelName":{ "shape":"CustomModelName", "documentation":"

The name of the custom model.

" }, "creationTime":{ "shape":"Timestamp", "documentation":"

Creation time of the model.

" }, "baseModelArn":{ "shape":"ModelArn", "documentation":"

The base model ARN.

" }, "baseModelName":{ "shape":"ModelName", "documentation":"

The base model name.

" }, "customizationType":{ "shape":"CustomizationType", "documentation":"

Specifies whether to carry out continued pre-training of a model or whether to fine-tune it. For more information, see Custom models.

" } }, "documentation":"

Summary information for a custom model.

" }, "CustomModelSummaryList":{ "type":"list", "member":{"shape":"CustomModelSummary"} }, "CustomizationType":{ "type":"string", "enum":[ "FINE_TUNING", "CONTINUED_PRE_TRAINING" ] }, "DeleteCustomModelRequest":{ "type":"structure", "required":["modelIdentifier"], "members":{ "modelIdentifier":{ "shape":"ModelIdentifier", "documentation":"

Name of the model to delete.

", "location":"uri", "locationName":"modelIdentifier" } } }, "DeleteCustomModelResponse":{ "type":"structure", "members":{ } }, "DeleteModelInvocationLoggingConfigurationRequest":{ "type":"structure", "members":{ } }, "DeleteModelInvocationLoggingConfigurationResponse":{ "type":"structure", "members":{ } }, "DeleteProvisionedModelThroughputRequest":{ "type":"structure", "required":["provisionedModelId"], "members":{ "provisionedModelId":{ "shape":"ProvisionedModelId", "documentation":"

The ARN or name of the provisioned throughput.

", "location":"uri", "locationName":"provisionedModelId" } } }, "DeleteProvisionedModelThroughputResponse":{ "type":"structure", "members":{ } }, "ErrorMessage":{ "type":"string", "max":2048, "min":0 }, "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", "documentation":"

The model ARN.

" }, "modelId":{ "shape":"BedrockModelId", "documentation":"

The model identifier.

" }, "modelName":{ "shape":"BrandedName", "documentation":"

The model name.

" }, "providerName":{ "shape":"BrandedName", "documentation":"

he model's provider name.

" }, "inputModalities":{ "shape":"ModelModalityList", "documentation":"

The input modalities that the model supports.

" }, "outputModalities":{ "shape":"ModelModalityList", "documentation":"

The output modalities that the model supports.

" }, "responseStreamingSupported":{ "shape":"Boolean", "documentation":"

Indicates whether the model supports streaming.

" }, "customizationsSupported":{ "shape":"ModelCustomizationList", "documentation":"

The customization that the model supports.

" }, "inferenceTypesSupported":{ "shape":"InferenceTypeList", "documentation":"

The inference types that the model supports.

" }, "modelLifecycle":{ "shape":"FoundationModelLifecycle", "documentation":"

Contains details about whether a model version is available or deprecated

" } }, "documentation":"

Information about a foundation model.

" }, "FoundationModelLifecycle":{ "type":"structure", "required":["status"], "members":{ "status":{ "shape":"FoundationModelLifecycleStatus", "documentation":"

Specifies whether a model version is available (`ACTIVE`) or deprecated (`LEGACY`.

" } }, "documentation":"

Details about whether a model version is available or deprecated.

" }, "FoundationModelLifecycleStatus":{ "type":"string", "enum":[ "ACTIVE", "LEGACY" ] }, "FoundationModelSummary":{ "type":"structure", "required":[ "modelArn", "modelId" ], "members":{ "modelArn":{ "shape":"FoundationModelArn", "documentation":"

The ARN of the foundation model.

" }, "modelId":{ "shape":"BedrockModelId", "documentation":"

The model Id of the foundation model.

" }, "modelName":{ "shape":"BrandedName", "documentation":"

The name of the model.

" }, "providerName":{ "shape":"BrandedName", "documentation":"

The model's provider name.

" }, "inputModalities":{ "shape":"ModelModalityList", "documentation":"

The input modalities that the model supports.

" }, "outputModalities":{ "shape":"ModelModalityList", "documentation":"

The output modalities that the model supports.

" }, "responseStreamingSupported":{ "shape":"Boolean", "documentation":"

Indicates whether the model supports streaming.

" }, "customizationsSupported":{ "shape":"ModelCustomizationList", "documentation":"

Whether the model supports fine-tuning or continual pre-training.

" }, "inferenceTypesSupported":{ "shape":"InferenceTypeList", "documentation":"

The inference types that the model supports.

" }, "modelLifecycle":{ "shape":"FoundationModelLifecycle", "documentation":"

Contains details about whether a model version is available or deprecated.

" } }, "documentation":"

Summary information for a foundation model.

" }, "FoundationModelSummaryList":{ "type":"list", "member":{"shape":"FoundationModelSummary"} }, "GetCustomModelRequest":{ "type":"structure", "required":["modelIdentifier"], "members":{ "modelIdentifier":{ "shape":"ModelIdentifier", "documentation":"

Name or ARN of the custom model.

", "location":"uri", "locationName":"modelIdentifier" } } }, "GetCustomModelResponse":{ "type":"structure", "required":[ "modelArn", "modelName", "jobArn", "baseModelArn", "trainingDataConfig", "outputDataConfig", "creationTime" ], "members":{ "modelArn":{ "shape":"ModelArn", "documentation":"

ARN associated with this model.

" }, "modelName":{ "shape":"CustomModelName", "documentation":"

Model name associated with this model.

" }, "jobName":{ "shape":"JobName", "documentation":"

Job name associated with this model.

" }, "jobArn":{ "shape":"ModelCustomizationJobArn", "documentation":"

Job ARN associated with this model.

" }, "baseModelArn":{ "shape":"ModelArn", "documentation":"

ARN of the base model.

" }, "customizationType":{ "shape":"CustomizationType", "documentation":"

The type of model customization.

" }, "modelKmsKeyArn":{ "shape":"KmsKeyArn", "documentation":"

The custom model is encrypted at rest using this key.

" }, "hyperParameters":{ "shape":"ModelCustomizationHyperParameters", "documentation":"

Hyperparameter values associated with this model.

" }, "trainingDataConfig":{ "shape":"TrainingDataConfig", "documentation":"

Information about the training dataset.

" }, "validationDataConfig":{"shape":"ValidationDataConfig"}, "outputDataConfig":{ "shape":"OutputDataConfig", "documentation":"

Output data configuration associated with this custom model.

" }, "trainingMetrics":{ "shape":"TrainingMetrics", "documentation":"

The training metrics from the job creation.

" }, "validationMetrics":{ "shape":"ValidationMetrics", "documentation":"

The validation metrics from the job creation.

" }, "creationTime":{ "shape":"Timestamp", "documentation":"

Creation time of the model.

" } } }, "GetFoundationModelRequest":{ "type":"structure", "required":["modelIdentifier"], "members":{ "modelIdentifier":{ "shape":"ModelIdentifier", "documentation":"

The model identifier.

", "location":"uri", "locationName":"modelIdentifier" } } }, "GetFoundationModelResponse":{ "type":"structure", "members":{ "modelDetails":{ "shape":"FoundationModelDetails", "documentation":"

Information about the foundation model.

" } } }, "GetModelCustomizationJobRequest":{ "type":"structure", "required":["jobIdentifier"], "members":{ "jobIdentifier":{ "shape":"ModelCustomizationJobIdentifier", "documentation":"

Identifier for the customization job.

", "location":"uri", "locationName":"jobIdentifier" } } }, "GetModelCustomizationJobResponse":{ "type":"structure", "required":[ "jobArn", "jobName", "outputModelName", "roleArn", "creationTime", "baseModelArn", "hyperParameters", "trainingDataConfig", "validationDataConfig", "outputDataConfig" ], "members":{ "jobArn":{ "shape":"ModelCustomizationJobArn", "documentation":"

The ARN of the customization job.

" }, "jobName":{ "shape":"JobName", "documentation":"

The name of the customization job.

" }, "outputModelName":{ "shape":"CustomModelName", "documentation":"

The name of the output model.

" }, "outputModelArn":{ "shape":"CustomModelArn", "documentation":"

The ARN of the output model.

" }, "clientRequestToken":{ "shape":"IdempotencyToken", "documentation":"

The token that you specified in the CreateCustomizationJob request.

" }, "roleArn":{ "shape":"RoleArn", "documentation":"

The ARN of the IAM role.

" }, "status":{ "shape":"ModelCustomizationJobStatus", "documentation":"

The status of the job. A successful job transitions from in-progress to completed when the output model is ready to use. If the job failed, the failure message contains information about why the job failed.

" }, "failureMessage":{ "shape":"ErrorMessage", "documentation":"

Information about why the job failed.

" }, "creationTime":{ "shape":"Timestamp", "documentation":"

Time that the resource was created.

" }, "lastModifiedTime":{ "shape":"Timestamp", "documentation":"

Time that the resource was last modified.

" }, "endTime":{ "shape":"Timestamp", "documentation":"

Time that the resource transitioned to terminal state.

" }, "baseModelArn":{ "shape":"FoundationModelArn", "documentation":"

ARN of the base model.

" }, "hyperParameters":{ "shape":"ModelCustomizationHyperParameters", "documentation":"

The hyperparameter values for the job. For information about hyperparameters for specific models, see Guidelines for model customization.

" }, "trainingDataConfig":{"shape":"TrainingDataConfig"}, "validationDataConfig":{"shape":"ValidationDataConfig"}, "outputDataConfig":{ "shape":"OutputDataConfig", "documentation":"

Output data configuration

" }, "customizationType":{ "shape":"CustomizationType", "documentation":"

The type of model customization.

" }, "outputModelKmsKeyArn":{ "shape":"KmsKeyArn", "documentation":"

The custom model is encrypted at rest using this key.

" }, "trainingMetrics":{"shape":"TrainingMetrics"}, "validationMetrics":{ "shape":"ValidationMetrics", "documentation":"

The loss metric for each validator that you provided in the createjob request.

" }, "vpcConfig":{ "shape":"VpcConfig", "documentation":"

VPC configuration for the custom model job.

" } } }, "GetModelInvocationLoggingConfigurationRequest":{ "type":"structure", "members":{ } }, "GetModelInvocationLoggingConfigurationResponse":{ "type":"structure", "members":{ "loggingConfig":{ "shape":"LoggingConfig", "documentation":"

The current configuration values.

" } } }, "GetProvisionedModelThroughputRequest":{ "type":"structure", "required":["provisionedModelId"], "members":{ "provisionedModelId":{ "shape":"ProvisionedModelId", "documentation":"

The ARN or name of the provisioned throughput.

", "location":"uri", "locationName":"provisionedModelId" } } }, "GetProvisionedModelThroughputResponse":{ "type":"structure", "required":[ "modelUnits", "desiredModelUnits", "provisionedModelName", "provisionedModelArn", "modelArn", "desiredModelArn", "foundationModelArn", "status", "creationTime", "lastModifiedTime" ], "members":{ "modelUnits":{ "shape":"PositiveInteger", "documentation":"

The current number of model units requested to be available for this provisioned throughput.

" }, "desiredModelUnits":{ "shape":"PositiveInteger", "documentation":"

The desired number of model units that was requested to be available for this provisioned throughput.

" }, "provisionedModelName":{ "shape":"ProvisionedModelName", "documentation":"

The name of the provisioned throughput.

" }, "provisionedModelArn":{ "shape":"ProvisionedModelArn", "documentation":"

The ARN of the provisioned throughput.

" }, "modelArn":{ "shape":"ModelArn", "documentation":"

The ARN or name of the model associated with this provisioned throughput.

" }, "desiredModelArn":{ "shape":"ModelArn", "documentation":"

The ARN of the new model to asssociate with this provisioned throughput.

" }, "foundationModelArn":{ "shape":"FoundationModelArn", "documentation":"

ARN of the foundation model.

" }, "status":{ "shape":"ProvisionedModelStatus", "documentation":"

Status of the provisioned throughput.

" }, "creationTime":{ "shape":"Timestamp", "documentation":"

The timestamp of the creation time for this provisioned throughput.

" }, "lastModifiedTime":{ "shape":"Timestamp", "documentation":"

The timestamp of the last modified time of this provisioned throughput.

" }, "failureMessage":{ "shape":"ErrorMessage", "documentation":"

Failure message for any issues that the create operation encounters.

" }, "commitmentDuration":{ "shape":"CommitmentDuration", "documentation":"

Commitment duration of the provisioned throughput.

" }, "commitmentExpirationTime":{ "shape":"Timestamp", "documentation":"

Commitment expiration time for the provisioned throughput.

" } } }, "IdempotencyToken":{ "type":"string", "max":256, "min":1, "pattern":"[a-zA-Z0-9](-*[a-zA-Z0-9])*" }, "InferenceType":{ "type":"string", "enum":[ "ON_DEMAND", "PROVISIONED" ] }, "InferenceTypeList":{ "type":"list", "member":{"shape":"InferenceType"} }, "InternalServerException":{ "type":"structure", "members":{ "message":{"shape":"NonBlankString"} }, "documentation":"

An internal server error occurred. Retry your request.

", "error":{"httpStatusCode":500}, "exception":true, "fault":true }, "JobName":{ "type":"string", "max":63, "min":1, "pattern":"[a-zA-Z0-9](-*[a-zA-Z0-9\\+\\-\\.])*" }, "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-_/]+))" }, "ListCustomModelsRequest":{ "type":"structure", "members":{ "creationTimeBefore":{ "shape":"Timestamp", "documentation":"

Return custom models created before the specified time.

", "location":"querystring", "locationName":"creationTimeBefore" }, "creationTimeAfter":{ "shape":"Timestamp", "documentation":"

Return custom models created after the specified time.

", "location":"querystring", "locationName":"creationTimeAfter" }, "nameContains":{ "shape":"CustomModelName", "documentation":"

Return custom models only if the job name contains these characters.

", "location":"querystring", "locationName":"nameContains" }, "baseModelArnEquals":{ "shape":"ModelArn", "documentation":"

Return custom models only if the base model ARN matches this parameter.

", "location":"querystring", "locationName":"baseModelArnEquals" }, "foundationModelArnEquals":{ "shape":"FoundationModelArn", "documentation":"

Return custom models only if the foundation model ARN matches this parameter.

", "location":"querystring", "locationName":"foundationModelArnEquals" }, "maxResults":{ "shape":"MaxResults", "documentation":"

Maximum number of results to return in the response.

", "location":"querystring", "locationName":"maxResults" }, "nextToken":{ "shape":"PaginationToken", "documentation":"

Continuation token from the previous response, for Amazon Bedrock to list the next set of results.

", "location":"querystring", "locationName":"nextToken" }, "sortBy":{ "shape":"SortModelsBy", "documentation":"

The field to sort by in the returned list of models.

", "location":"querystring", "locationName":"sortBy" }, "sortOrder":{ "shape":"SortOrder", "documentation":"

The sort order of the results.

", "location":"querystring", "locationName":"sortOrder" } } }, "ListCustomModelsResponse":{ "type":"structure", "members":{ "nextToken":{ "shape":"PaginationToken", "documentation":"

Continuation token for the next request to list the next set of results.

" }, "modelSummaries":{ "shape":"CustomModelSummaryList", "documentation":"

Model summaries.

" } } }, "ListFoundationModelsRequest":{ "type":"structure", "members":{ "byProvider":{ "shape":"Provider", "documentation":"

A Amazon Bedrock model provider.

", "location":"querystring", "locationName":"byProvider" }, "byCustomizationType":{ "shape":"ModelCustomization", "documentation":"

List by customization type.

", "location":"querystring", "locationName":"byCustomizationType" }, "byOutputModality":{ "shape":"ModelModality", "documentation":"

List by output modality type.

", "location":"querystring", "locationName":"byOutputModality" }, "byInferenceType":{ "shape":"InferenceType", "documentation":"

List by inference type.

", "location":"querystring", "locationName":"byInferenceType" } } }, "ListFoundationModelsResponse":{ "type":"structure", "members":{ "modelSummaries":{ "shape":"FoundationModelSummaryList", "documentation":"

A list of Amazon Bedrock foundation models.

" } } }, "ListModelCustomizationJobsRequest":{ "type":"structure", "members":{ "creationTimeAfter":{ "shape":"Timestamp", "documentation":"

Return customization jobs created after the specified time.

", "location":"querystring", "locationName":"creationTimeAfter" }, "creationTimeBefore":{ "shape":"Timestamp", "documentation":"

Return customization jobs created before the specified time.

", "location":"querystring", "locationName":"creationTimeBefore" }, "statusEquals":{ "shape":"FineTuningJobStatus", "documentation":"

Return customization jobs with the specified status.

", "location":"querystring", "locationName":"statusEquals" }, "nameContains":{ "shape":"JobName", "documentation":"

Return customization jobs only if the job name contains these characters.

", "location":"querystring", "locationName":"nameContains" }, "maxResults":{ "shape":"MaxResults", "documentation":"

Maximum number of results to return in the response.

", "location":"querystring", "locationName":"maxResults" }, "nextToken":{ "shape":"PaginationToken", "documentation":"

Continuation token from the previous response, for Amazon Bedrock to list the next set of results.

", "location":"querystring", "locationName":"nextToken" }, "sortBy":{ "shape":"SortJobsBy", "documentation":"

The field to sort by in the returned list of jobs.

", "location":"querystring", "locationName":"sortBy" }, "sortOrder":{ "shape":"SortOrder", "documentation":"

The sort order of the results.

", "location":"querystring", "locationName":"sortOrder" } } }, "ListModelCustomizationJobsResponse":{ "type":"structure", "members":{ "nextToken":{ "shape":"PaginationToken", "documentation":"

Page continuation token to use in the next request.

" }, "modelCustomizationJobSummaries":{ "shape":"ModelCustomizationJobSummaries", "documentation":"

Job summaries.

" } } }, "ListProvisionedModelThroughputsRequest":{ "type":"structure", "members":{ "creationTimeAfter":{ "shape":"Timestamp", "documentation":"

Return provisioned capacities created after the specified time.

", "location":"querystring", "locationName":"creationTimeAfter" }, "creationTimeBefore":{ "shape":"Timestamp", "documentation":"

Return provisioned capacities created before the specified time.

", "location":"querystring", "locationName":"creationTimeBefore" }, "statusEquals":{ "shape":"ProvisionedModelStatus", "documentation":"

Return the list of provisioned capacities that match the specified status.

", "location":"querystring", "locationName":"statusEquals" }, "modelArnEquals":{ "shape":"ModelArn", "documentation":"

Return the list of provisioned capacities where their model ARN is equal to this parameter.

", "location":"querystring", "locationName":"modelArnEquals" }, "nameContains":{ "shape":"ProvisionedModelName", "documentation":"

Return the list of provisioned capacities if their name contains these characters.

", "location":"querystring", "locationName":"nameContains" }, "maxResults":{ "shape":"MaxResults", "documentation":"

THe maximum number of results to return in the response.

", "location":"querystring", "locationName":"maxResults" }, "nextToken":{ "shape":"PaginationToken", "documentation":"

Continuation token from the previous response, for Amazon Bedrock to list the next set of results.

", "location":"querystring", "locationName":"nextToken" }, "sortBy":{ "shape":"SortByProvisionedModels", "documentation":"

The field to sort by in the returned list of provisioned capacities.

", "location":"querystring", "locationName":"sortBy" }, "sortOrder":{ "shape":"SortOrder", "documentation":"

The sort order of the results.

", "location":"querystring", "locationName":"sortOrder" } } }, "ListProvisionedModelThroughputsResponse":{ "type":"structure", "members":{ "nextToken":{ "shape":"PaginationToken", "documentation":"

Continuation token for the next request to list the next set of results.

" }, "provisionedModelSummaries":{ "shape":"ProvisionedModelSummaries", "documentation":"

List of summaries, one for each provisioned throughput in the response.

" } } }, "ListTagsForResourceRequest":{ "type":"structure", "required":["resourceARN"], "members":{ "resourceARN":{ "shape":"TaggableResourcesArn", "documentation":"

The ARN of the resource.

" } } }, "ListTagsForResourceResponse":{ "type":"structure", "members":{ "tags":{ "shape":"TagList", "documentation":"

An array of the tags associated with this resource.

" } } }, "LogGroupName":{ "type":"string", "max":512, "min":1 }, "LoggingConfig":{ "type":"structure", "members":{ "cloudWatchConfig":{ "shape":"CloudWatchConfig", "documentation":"

CloudWatch logging configuration.

" }, "s3Config":{ "shape":"S3Config", "documentation":"

S3 configuration for storing log data.

" }, "textDataDeliveryEnabled":{ "shape":"Boolean", "documentation":"

Set to include text data in the log delivery.

" }, "imageDataDeliveryEnabled":{ "shape":"Boolean", "documentation":"

Set to include image data in the log delivery.

" }, "embeddingDataDeliveryEnabled":{ "shape":"Boolean", "documentation":"

Set to include embeddings data in the log delivery.

" } }, "documentation":"

Configuration fields for invokation logging.

" }, "MaxResults":{ "type":"integer", "box":true, "max":1000, "min":1 }, "MetricFloat":{ "type":"float", "box":true }, "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}))" }, "ModelCustomization":{ "type":"string", "enum":[ "FINE_TUNING", "CONTINUED_PRE_TRAINING" ] }, "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", "documentation":"

ARN of the customization job.

" }, "baseModelArn":{ "shape":"ModelArn", "documentation":"

ARN of the base model.

" }, "jobName":{ "shape":"JobName", "documentation":"

Name of the customization job.

" }, "status":{ "shape":"ModelCustomizationJobStatus", "documentation":"

Status of the customization job.

" }, "lastModifiedTime":{ "shape":"Timestamp", "documentation":"

Time that the customization job was last modified.

" }, "creationTime":{ "shape":"Timestamp", "documentation":"

Creation time of the custom model.

" }, "endTime":{ "shape":"Timestamp", "documentation":"

Time that the customization job ended.

" }, "customModelArn":{ "shape":"CustomModelArn", "documentation":"

ARN of the custom model.

" }, "customModelName":{ "shape":"CustomModelName", "documentation":"

Name of the custom model.

" }, "customizationType":{ "shape":"CustomizationType", "documentation":"

Specifies whether to carry out continued pre-training of a model or whether to fine-tune it. For more information, see Custom models.

" } }, "documentation":"

Information about one customization job

" }, "ModelCustomizationList":{ "type":"list", "member":{"shape":"ModelCustomization"} }, "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][_-]?)+)" }, "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})" }, "NonBlankString":{ "type":"string", "pattern":"[\\s\\S]*" }, "OutputDataConfig":{ "type":"structure", "required":["s3Uri"], "members":{ "s3Uri":{ "shape":"S3Uri", "documentation":"

The S3 URI where the output data is stored.

" } }, "documentation":"

S3 Location of the output data.

" }, "PaginationToken":{ "type":"string", "max":2048, "min":1, "pattern":"\\S*" }, "PositiveInteger":{ "type":"integer", "box":true, "min":1 }, "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", "documentation":"

The name of the provisioned throughput.

" }, "provisionedModelArn":{ "shape":"ProvisionedModelArn", "documentation":"

The ARN of the provisioned throughput.

" }, "modelArn":{ "shape":"ModelArn", "documentation":"

The ARN of the model associated with this provisioned throughput.

" }, "desiredModelArn":{ "shape":"ModelArn", "documentation":"

Desired model ARN.

" }, "foundationModelArn":{ "shape":"FoundationModelArn", "documentation":"

Foundation model ARN.

" }, "modelUnits":{ "shape":"PositiveInteger", "documentation":"

The number of model units allocated.

" }, "desiredModelUnits":{ "shape":"PositiveInteger", "documentation":"

Desired model units.

" }, "status":{ "shape":"ProvisionedModelStatus", "documentation":"

Status of the provisioned throughput.

" }, "commitmentDuration":{ "shape":"CommitmentDuration", "documentation":"

Commitment duration for the provisioned throughput.

" }, "commitmentExpirationTime":{ "shape":"Timestamp", "documentation":"

Commitment expiration time for the provisioned throughput.

" }, "creationTime":{ "shape":"Timestamp", "documentation":"

The time that this provisioned throughput was created.

" }, "lastModifiedTime":{ "shape":"Timestamp", "documentation":"

The time that this provisioned throughput was last modified.

" } }, "documentation":"

Set of fields associated with a provisioned throughput.

" }, "PutModelInvocationLoggingConfigurationRequest":{ "type":"structure", "required":["loggingConfig"], "members":{ "loggingConfig":{ "shape":"LoggingConfig", "documentation":"

The logging configuration values to set.

" } } }, "PutModelInvocationLoggingConfigurationResponse":{ "type":"structure", "members":{ } }, "ResourceNotFoundException":{ "type":"structure", "members":{ "message":{"shape":"NonBlankString"} }, "documentation":"

The specified resource ARN was not found. Check the ARN and try your request again.

", "error":{ "httpStatusCode":404, "senderFault":true }, "exception":true }, "RoleArn":{ "type":"string", "max":2048, "min":0, "pattern":"arn:aws(-[^:]+)?:iam::([0-9]{12})?:role/.+" }, "S3Config":{ "type":"structure", "required":["bucketName"], "members":{ "bucketName":{ "shape":"BucketName", "documentation":"

S3 bucket name.

" }, "keyPrefix":{ "shape":"KeyPrefix", "documentation":"

S3 prefix.

" } }, "documentation":"

S3 configuration for storing log data.

" }, "S3Uri":{ "type":"string", "max":1024, "min":1, "pattern":"s3://[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9](/.*)?" }, "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"} }, "documentation":"

The number of requests exceeds the service quota. Resubmit your request later.

", "error":{ "httpStatusCode":400, "senderFault":true }, "exception":true }, "SortByProvisionedModels":{ "type":"string", "enum":["CreationTime"] }, "SortJobsBy":{ "type":"string", "enum":["CreationTime"] }, "SortModelsBy":{ "type":"string", "enum":["CreationTime"] }, "SortOrder":{ "type":"string", "enum":[ "Ascending", "Descending" ] }, "StopModelCustomizationJobRequest":{ "type":"structure", "required":["jobIdentifier"], "members":{ "jobIdentifier":{ "shape":"ModelCustomizationJobIdentifier", "documentation":"

Job identifier of the job to stop.

", "location":"uri", "locationName":"jobIdentifier" } } }, "StopModelCustomizationJobResponse":{ "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", "documentation":"

Key for the tag.

" }, "value":{ "shape":"TagValue", "documentation":"

Value for the tag.

" } }, "documentation":"

Definition of the key/value pair for a tag.

" }, "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", "documentation":"

The ARN of the resource to tag.

" }, "tags":{ "shape":"TagList", "documentation":"

Tags to associate with the resource.

" } } }, "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})$)|(:provisioned-model/[a-z0-9]{12}$))).*" }, "ThrottlingException":{ "type":"structure", "members":{ "message":{"shape":"NonBlankString"} }, "documentation":"

The number of requests exceeds the limit. Resubmit your request later.

", "error":{ "httpStatusCode":429, "senderFault":true }, "exception":true }, "Timestamp":{ "type":"timestamp", "timestampFormat":"iso8601" }, "TooManyTagsException":{ "type":"structure", "members":{ "message":{"shape":"NonBlankString"}, "resourceName":{ "shape":"TaggableResourcesArn", "documentation":"

The name of the resource with too many tags.

" } }, "documentation":"

The request contains more tags than can be associated with a resource (50 tags per resource). The maximum number of tags includes both existing tags and those included in your current request.

", "error":{ "httpStatusCode":400, "senderFault":true }, "exception":true }, "TrainingDataConfig":{ "type":"structure", "required":["s3Uri"], "members":{ "s3Uri":{ "shape":"S3Uri", "documentation":"

The S3 URI where the training data is stored.

" } }, "documentation":"

S3 Location of the training data.

" }, "TrainingMetrics":{ "type":"structure", "members":{ "trainingLoss":{ "shape":"MetricFloat", "documentation":"

Loss metric associated with the custom job.

" } }, "documentation":"

Metrics associated with the custom job.

" }, "UntagResourceRequest":{ "type":"structure", "required":[ "resourceARN", "tagKeys" ], "members":{ "resourceARN":{ "shape":"TaggableResourcesArn", "documentation":"

The ARN of the resource to untag.

" }, "tagKeys":{ "shape":"TagKeyList", "documentation":"

Tag keys of the tags to remove from the resource.

" } } }, "UntagResourceResponse":{ "type":"structure", "members":{ } }, "UpdateProvisionedModelThroughputRequest":{ "type":"structure", "required":["provisionedModelId"], "members":{ "provisionedModelId":{ "shape":"ProvisionedModelId", "documentation":"

The ARN or name of the provisioned throughput to update.

", "location":"uri", "locationName":"provisionedModelId" }, "desiredProvisionedModelName":{ "shape":"ProvisionedModelName", "documentation":"

The new name for this provisioned throughput.

" }, "desiredModelId":{ "shape":"ModelIdentifier", "documentation":"

The ARN of the new model to associate with this provisioned throughput.

" } } }, "UpdateProvisionedModelThroughputResponse":{ "type":"structure", "members":{ } }, "ValidationDataConfig":{ "type":"structure", "required":["validators"], "members":{ "validators":{ "shape":"Validators", "documentation":"

Information about the validators.

" } }, "documentation":"

Array of up to 10 validators.

" }, "ValidationException":{ "type":"structure", "members":{ "message":{"shape":"NonBlankString"} }, "documentation":"

Input validation failed. Check your request parameters and retry the request.

", "error":{ "httpStatusCode":400, "senderFault":true }, "exception":true }, "ValidationMetrics":{ "type":"list", "member":{"shape":"ValidatorMetric"} }, "Validator":{ "type":"structure", "required":["s3Uri"], "members":{ "s3Uri":{ "shape":"S3Uri", "documentation":"

The S3 URI where the validation data is stored.

" } }, "documentation":"

Information about a validator.

" }, "ValidatorMetric":{ "type":"structure", "members":{ "validationLoss":{ "shape":"MetricFloat", "documentation":"

The validation loss associated with this validator.

" } }, "documentation":"

The metric for the validator.

" }, "Validators":{ "type":"list", "member":{"shape":"Validator"}, "max":10, "min":0 }, "VpcConfig":{ "type":"structure", "required":[ "subnetIds", "securityGroupIds" ], "members":{ "subnetIds":{ "shape":"SubnetIds", "documentation":"

VPC configuration subnets.

" }, "securityGroupIds":{ "shape":"SecurityGroupIds", "documentation":"

VPC configuration security group Ids.

" } }, "documentation":"

VPC configuration.

" } }, "documentation":"

Describes the API operations for creating and managing Amazon Bedrock models.

" }