diff --git a/codegen/sdk-codegen/aws-models/auto-scaling.json b/codegen/sdk-codegen/aws-models/auto-scaling.json index c95f52f510e..80788987f2b 100644 --- a/codegen/sdk-codegen/aws-models/auto-scaling.json +++ b/codegen/sdk-codegen/aws-models/auto-scaling.json @@ -3003,7 +3003,7 @@ "HealthCheckType": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen32", "traits": { - "smithy.api#documentation": "
A comma-separated value string of one or more health check types.
\nThe valid values are EC2
, ELB
, and VPC_LATTICE
.\n EC2
is the default health check and cannot be disabled. For more\n information, see Health checks\n for instances in an Auto Scaling group in the\n Amazon EC2 Auto Scaling User Guide.
Only specify EC2
if you must clear a value that was previously\n set.
A comma-separated value string of one or more health check types.
\nThe valid values are EC2
, EBS
, ELB
, and\n VPC_LATTICE
. EC2
is the default health check and cannot be\n disabled. For more information, see Health checks\n for instances in an Auto Scaling group in the\n Amazon EC2 Auto Scaling User Guide.
Only specify EC2
if you must clear a value that was previously\n set.
Sets the health status of the specified instance.
\nFor more information, see Health checks\n for instances in an Auto Scaling group in the\n Amazon EC2 Auto Scaling User Guide.
", + "smithy.api#documentation": "Sets the health status of the specified instance.
\nFor more information, see Set up a custom\n health check for your Auto Scaling group in the\n Amazon EC2 Auto Scaling User Guide.
", "smithy.api#examples": [ { "title": "To set the health status of an instance", @@ -10868,7 +10868,7 @@ "HealthCheckType": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen32", "traits": { - "smithy.api#documentation": "A comma-separated value string of one or more health check types.
\nThe valid values are EC2
, ELB
, and VPC_LATTICE
.\n EC2
is the default health check and cannot be disabled. For more\n information, see Health checks\n for instances in an Auto Scaling group in the\n Amazon EC2 Auto Scaling User Guide.
Only specify EC2
if you must clear a value that was previously\n set.
A comma-separated value string of one or more health check types.
\nThe valid values are EC2
, EBS
, ELB
, and\n VPC_LATTICE
. EC2
is the default health check and cannot be\n disabled. For more information, see Health checks\n for instances in an Auto Scaling group in the\n Amazon EC2 Auto Scaling User Guide.
Only specify EC2
if you must clear a value that was previously\n set.
Creates a batch deletion job. A model evaluation job can only be deleted if it has following status FAILED
, COMPLETED
, and STOPPED
. You can request up to 25 model evaluation jobs be deleted in a single request.
The ARN of the model evaluation job being deleted.
", + "smithy.api#required": {} + } + }, + "code": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "A HTTP status code of the model evaluation job being deleted.
", + "smithy.api#required": {} + } + }, + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "A status message about the model evaluation job deletion.
" + } + } + }, + "traits": { + "smithy.api#documentation": "A JSON array that provides the status of the model evaluation jobs being deleted.
" + } + }, + "com.amazonaws.bedrock#BatchDeleteEvaluationJobErrors": { + "type": "list", + "member": { + "target": "com.amazonaws.bedrock#BatchDeleteEvaluationJobError" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 25 + } + } + }, + "com.amazonaws.bedrock#BatchDeleteEvaluationJobItem": { + "type": "structure", + "members": { + "jobIdentifier": { + "target": "com.amazonaws.bedrock#EvaluationJobIdentifier", + "traits": { + "smithy.api#documentation": "The ARN of model evaluation job to be deleted.
", + "smithy.api#required": {} + } + }, + "jobStatus": { + "target": "com.amazonaws.bedrock#EvaluationJobStatus", + "traits": { + "smithy.api#documentation": "The status of the job's deletion.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "An array of model evaluation jobs to be deleted, and their associated statuses.
" + } + }, + "com.amazonaws.bedrock#BatchDeleteEvaluationJobItems": { + "type": "list", + "member": { + "target": "com.amazonaws.bedrock#BatchDeleteEvaluationJobItem" + } + }, + "com.amazonaws.bedrock#BatchDeleteEvaluationJobRequest": { + "type": "structure", + "members": { + "jobIdentifiers": { + "target": "com.amazonaws.bedrock#EvaluationJobIdentifiers", + "traits": { + "smithy.api#documentation": "An array of model evaluation job ARNs to be deleted.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.bedrock#BatchDeleteEvaluationJobResponse": { + "type": "structure", + "members": { + "errors": { + "target": "com.amazonaws.bedrock#BatchDeleteEvaluationJobErrors", + "traits": { + "smithy.api#documentation": "A JSON object containing the HTTP status codes and the ARNs of model evaluation jobs that failed to be deleted.
", + "smithy.api#required": {} + } + }, + "evaluationJobs": { + "target": "com.amazonaws.bedrock#BatchDeleteEvaluationJobItems", + "traits": { + "smithy.api#documentation": "The list of model evaluation jobs to be deleted.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.bedrock#BedrockModelId": { "type": "string", "traits": { @@ -1468,6 +1613,131 @@ "smithy.api#output": {} } }, + "com.amazonaws.bedrock#CreateModelImportJob": { + "type": "operation", + "input": { + "target": "com.amazonaws.bedrock#CreateModelImportJobRequest" + }, + "output": { + "target": "com.amazonaws.bedrock#CreateModelImportJobResponse" + }, + "errors": [ + { + "target": "com.amazonaws.bedrock#AccessDeniedException" + }, + { + "target": "com.amazonaws.bedrock#ConflictException" + }, + { + "target": "com.amazonaws.bedrock#InternalServerException" + }, + { + "target": "com.amazonaws.bedrock#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.bedrock#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.bedrock#ThrottlingException" + }, + { + "target": "com.amazonaws.bedrock#TooManyTagsException" + }, + { + "target": "com.amazonaws.bedrock#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Creates a model import job to import model that you have customized in other environments, such as Amazon SageMaker. For more information, \n see Import a customized model\n
", + "smithy.api#http": { + "code": 201, + "method": "POST", + "uri": "/model-import-jobs" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.bedrock#CreateModelImportJobRequest": { + "type": "structure", + "members": { + "jobName": { + "target": "com.amazonaws.bedrock#JobName", + "traits": { + "smithy.api#documentation": "The name of the import job.
", + "smithy.api#required": {} + } + }, + "importedModelName": { + "target": "com.amazonaws.bedrock#ImportedModelName", + "traits": { + "smithy.api#documentation": "The name of the imported model.
", + "smithy.api#required": {} + } + }, + "roleArn": { + "target": "com.amazonaws.bedrock#RoleArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the model import job.
", + "smithy.api#required": {} + } + }, + "modelDataSource": { + "target": "com.amazonaws.bedrock#ModelDataSource", + "traits": { + "smithy.api#documentation": "The data source for the imported model.
", + "smithy.api#required": {} + } + }, + "jobTags": { + "target": "com.amazonaws.bedrock#TagList", + "traits": { + "smithy.api#documentation": "Tags to attach to this import job.
" + } + }, + "importedModelTags": { + "target": "com.amazonaws.bedrock#TagList", + "traits": { + "smithy.api#documentation": "Tags to attach to the imported model.
" + } + }, + "clientRequestToken": { + "target": "com.amazonaws.bedrock#IdempotencyToken", + "traits": { + "smithy.api#documentation": "A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request,\n Amazon Bedrock ignores the request, but does not return an error. For more information, \n see Ensuring idempotency.
" + } + }, + "vpcConfig": { + "target": "com.amazonaws.bedrock#VpcConfig", + "traits": { + "smithy.api#documentation": "VPC configuration parameters for the\n private Virtual Private Cloud (VPC) that contains the resources you are using for the import job.
" + } + }, + "importedModelKmsKeyId": { + "target": "com.amazonaws.bedrock#KmsKeyId", + "traits": { + "smithy.api#documentation": "The imported model is encrypted at rest using this key.
" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.bedrock#CreateModelImportJobResponse": { + "type": "structure", + "members": { + "jobArn": { + "target": "com.amazonaws.bedrock#ModelImportJobArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the model import job.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.bedrock#CreateModelInvocationJob": { "type": "operation", "input": { @@ -1917,83 +2187,144 @@ "smithy.api#output": {} } }, - "com.amazonaws.bedrock#DeleteModelInvocationLoggingConfiguration": { + "com.amazonaws.bedrock#DeleteImportedModel": { "type": "operation", "input": { - "target": "com.amazonaws.bedrock#DeleteModelInvocationLoggingConfigurationRequest" + "target": "com.amazonaws.bedrock#DeleteImportedModelRequest" }, "output": { - "target": "com.amazonaws.bedrock#DeleteModelInvocationLoggingConfigurationResponse" + "target": "com.amazonaws.bedrock#DeleteImportedModelResponse" }, "errors": [ { "target": "com.amazonaws.bedrock#AccessDeniedException" }, + { + "target": "com.amazonaws.bedrock#ConflictException" + }, { "target": "com.amazonaws.bedrock#InternalServerException" }, + { + "target": "com.amazonaws.bedrock#ResourceNotFoundException" + }, { "target": "com.amazonaws.bedrock#ThrottlingException" + }, + { + "target": "com.amazonaws.bedrock#ValidationException" } ], "traits": { - "smithy.api#documentation": "Delete the invocation logging.
", + "smithy.api#documentation": "Deletes a custom model that you imported earlier. For more information, \n see Import a customized model in the Amazon Bedrock User Guide.\n
", "smithy.api#http": { "code": 200, "method": "DELETE", - "uri": "/logging/modelinvocations" + "uri": "/imported-models/{modelIdentifier}" }, "smithy.api#idempotent": {} } }, - "com.amazonaws.bedrock#DeleteModelInvocationLoggingConfigurationRequest": { + "com.amazonaws.bedrock#DeleteImportedModelRequest": { "type": "structure", - "members": {}, + "members": { + "modelIdentifier": { + "target": "com.amazonaws.bedrock#ImportedModelIdentifier", + "traits": { + "smithy.api#documentation": "Name of the imported model to delete.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, "traits": { "smithy.api#input": {} } }, - "com.amazonaws.bedrock#DeleteModelInvocationLoggingConfigurationResponse": { + "com.amazonaws.bedrock#DeleteImportedModelResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, - "com.amazonaws.bedrock#DeleteProvisionedModelThroughput": { + "com.amazonaws.bedrock#DeleteModelInvocationLoggingConfiguration": { "type": "operation", "input": { - "target": "com.amazonaws.bedrock#DeleteProvisionedModelThroughputRequest" + "target": "com.amazonaws.bedrock#DeleteModelInvocationLoggingConfigurationRequest" }, "output": { - "target": "com.amazonaws.bedrock#DeleteProvisionedModelThroughputResponse" + "target": "com.amazonaws.bedrock#DeleteModelInvocationLoggingConfigurationResponse" }, "errors": [ { "target": "com.amazonaws.bedrock#AccessDeniedException" }, - { - "target": "com.amazonaws.bedrock#ConflictException" - }, { "target": "com.amazonaws.bedrock#InternalServerException" }, - { - "target": "com.amazonaws.bedrock#ResourceNotFoundException" - }, { "target": "com.amazonaws.bedrock#ThrottlingException" - }, - { - "target": "com.amazonaws.bedrock#ValidationException" } ], "traits": { - "smithy.api#documentation": "Deletes a Provisioned Throughput. You can't delete a Provisioned Throughput before the commitment term is over. For more information, see Provisioned Throughput in the Amazon Bedrock User Guide.
", + "smithy.api#documentation": "Delete the invocation logging.
", "smithy.api#http": { "code": 200, "method": "DELETE", - "uri": "/provisioned-model-throughput/{provisionedModelId}" + "uri": "/logging/modelinvocations" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.bedrock#DeleteModelInvocationLoggingConfigurationRequest": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.bedrock#DeleteModelInvocationLoggingConfigurationResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.bedrock#DeleteProvisionedModelThroughput": { + "type": "operation", + "input": { + "target": "com.amazonaws.bedrock#DeleteProvisionedModelThroughputRequest" + }, + "output": { + "target": "com.amazonaws.bedrock#DeleteProvisionedModelThroughputResponse" + }, + "errors": [ + { + "target": "com.amazonaws.bedrock#AccessDeniedException" + }, + { + "target": "com.amazonaws.bedrock#ConflictException" + }, + { + "target": "com.amazonaws.bedrock#InternalServerException" + }, + { + "target": "com.amazonaws.bedrock#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.bedrock#ThrottlingException" + }, + { + "target": "com.amazonaws.bedrock#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Deletes a Provisioned Throughput. You can't delete a Provisioned Throughput before the commitment term is over. For more information, see Provisioned Throughput in the Amazon Bedrock User Guide.
", + "smithy.api#http": { + "code": 200, + "method": "DELETE", + "uri": "/provisioned-model-throughput/{provisionedModelId}" }, "smithy.api#idempotent": {} } @@ -2059,7 +2390,7 @@ } }, "traits": { - "smithy.api#documentation": "Contains the ARN of the Amazon Bedrock models specified in your model evaluation job. Each Amazon Bedrock model supports different inferenceParams
. To learn more about supported inference parameters for Amazon Bedrock models, see Inference parameters for foundation models.
The inferenceParams
are specified using JSON. To successfully insert JSON as string make sure that all quotations are properly escaped. For example, \"temperature\":\"0.25\"
key value pair would need to be formatted as \\\"temperature\\\":\\\"0.25\\\"
to successfully accepted in the request.
Contains the ARN of the Amazon Bedrock models specified in your model evaluation job. Each Amazon Bedrock model supports different inferenceParams
. To learn more about supported inference parameters for Amazon Bedrock models, see Inference parameters for foundation models.
The inferenceParams
are specified using JSON. To successfully insert JSON as string make sure that all quotations are properly escaped. For example, \"temperature\":\"0.25\"
key value pair would need to be formatted as \\\"temperature\\\":\\\"0.25\\\"
to successfully accepted in the request.
Used to specify supported built-in prompt datasets. Valid values are Builtin.Bold
, Builtin.BoolQ
, Builtin.NaturalQuestions
, Builtin.Gigaword
, Builtin.RealToxicityPrompts
, Builtin.TriviaQa
, Builtin.T-Rex
, Builtin.WomensEcommerceClothingReviews
and Builtin.Wikitext2
.
Used to specify supported built-in prompt datasets. Valid values are Builtin.Bold
, Builtin.BoolQ
, Builtin.NaturalQuestions
, Builtin.Gigaword
, Builtin.RealToxicityPrompts
, Builtin.TriviaQA
, Builtin.T-Rex
, Builtin.WomensEcommerceClothingReviews
and Builtin.Wikitext2
.
Gets properties associated with a customized model you imported.
", + "smithy.api#http": { + "code": 200, + "method": "GET", + "uri": "/imported-models/{modelIdentifier}" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.bedrock#GetImportedModelRequest": { + "type": "structure", + "members": { + "modelIdentifier": { + "target": "com.amazonaws.bedrock#ImportedModelIdentifier", + "traits": { + "smithy.api#documentation": "Name or Amazon Resource Name (ARN) of the imported model.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.bedrock#GetImportedModelResponse": { + "type": "structure", + "members": { + "modelArn": { + "target": "com.amazonaws.bedrock#ImportedModelArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) associated with this imported model.
" + } + }, + "modelName": { + "target": "com.amazonaws.bedrock#ImportedModelName", + "traits": { + "smithy.api#documentation": "The name of the imported model.
" + } + }, + "jobName": { + "target": "com.amazonaws.bedrock#JobName", + "traits": { + "smithy.api#documentation": "Job name associated with the imported model.
" + } + }, + "jobArn": { + "target": "com.amazonaws.bedrock#ModelImportJobArn", + "traits": { + "smithy.api#documentation": "Job Amazon Resource Name (ARN) associated with the imported model.
" + } + }, + "modelDataSource": { + "target": "com.amazonaws.bedrock#ModelDataSource", + "traits": { + "smithy.api#documentation": "The data source for this imported model.
" + } + }, + "creationTime": { + "target": "com.amazonaws.bedrock#Timestamp", + "traits": { + "smithy.api#documentation": "Creation time of the imported model.
" + } + }, + "modelArchitecture": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The architecture of the imported model.
" + } + }, + "modelKmsKeyArn": { + "target": "com.amazonaws.bedrock#KmsKeyArn", + "traits": { + "smithy.api#documentation": "The imported model is encrypted at rest using this key.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.bedrock#GetModelCopyJob": { "type": "operation", "input": { @@ -3621,13 +4080,13 @@ "smithy.api#output": {} } }, - "com.amazonaws.bedrock#GetModelInvocationJob": { + "com.amazonaws.bedrock#GetModelImportJob": { "type": "operation", "input": { - "target": "com.amazonaws.bedrock#GetModelInvocationJobRequest" + "target": "com.amazonaws.bedrock#GetModelImportJobRequest" }, "output": { - "target": "com.amazonaws.bedrock#GetModelInvocationJobResponse" + "target": "com.amazonaws.bedrock#GetModelImportJobResponse" }, "errors": [ { @@ -3647,22 +4106,22 @@ } ], "traits": { - "smithy.api#documentation": "Gets details about a batch inference job. For more information, see View details about a batch inference job\n
", + "smithy.api#documentation": "Retrieves the properties associated with import model job, including the status of the \n job. For more information, \n see Import a customized model in the Amazon Bedrock User Guide.
", "smithy.api#http": { "code": 200, "method": "GET", - "uri": "/model-invocation-job/{jobIdentifier}" + "uri": "/model-import-jobs/{jobIdentifier}" }, "smithy.api#readonly": {} } }, - "com.amazonaws.bedrock#GetModelInvocationJobRequest": { + "com.amazonaws.bedrock#GetModelImportJobRequest": { "type": "structure", "members": { "jobIdentifier": { - "target": "com.amazonaws.bedrock#ModelInvocationJobIdentifier", + "target": "com.amazonaws.bedrock#ModelImportJobIdentifier", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the batch inference job.
", + "smithy.api#documentation": "The identifier of the import job.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3672,97 +4131,85 @@ "smithy.api#input": {} } }, - "com.amazonaws.bedrock#GetModelInvocationJobResponse": { + "com.amazonaws.bedrock#GetModelImportJobResponse": { "type": "structure", "members": { "jobArn": { - "target": "com.amazonaws.bedrock#ModelInvocationJobArn", + "target": "com.amazonaws.bedrock#ModelImportJobArn", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the batch inference job.
", - "smithy.api#required": {} + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the import job.
" } }, "jobName": { - "target": "com.amazonaws.bedrock#ModelInvocationJobName", + "target": "com.amazonaws.bedrock#JobName", "traits": { - "smithy.api#documentation": "The name of the batch inference job.
" + "smithy.api#documentation": "The name of the import job.
" } }, - "modelId": { - "target": "com.amazonaws.bedrock#ModelId", + "importedModelName": { + "target": "com.amazonaws.bedrock#ImportedModelName", "traits": { - "smithy.api#documentation": "The unique identifier of the foundation model used for model inference.
", - "smithy.api#required": {} + "smithy.api#documentation": "The name of the imported model.
" } }, - "clientRequestToken": { - "target": "com.amazonaws.bedrock#ModelInvocationIdempotencyToken", + "importedModelArn": { + "target": "com.amazonaws.bedrock#ImportedModelArn", "traits": { - "smithy.api#documentation": "A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request,\n\t Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
" + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the imported model.
" } }, "roleArn": { "target": "com.amazonaws.bedrock#RoleArn", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the service role with permissions to carry out and manage batch inference. You can use the console to create a default service role or follow the steps at Create a service role for batch inference.
", - "smithy.api#required": {} + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the IAM role associated with this job.
" + } + }, + "modelDataSource": { + "target": "com.amazonaws.bedrock#ModelDataSource", + "traits": { + "smithy.api#documentation": "The data source for the imported model.
" } }, "status": { - "target": "com.amazonaws.bedrock#ModelInvocationJobStatus", + "target": "com.amazonaws.bedrock#ModelImportJobStatus", "traits": { - "smithy.api#documentation": "The status of the batch inference job.
" + "smithy.api#documentation": "The status of the job. A successful job transitions from in-progress to completed when the imported model is ready to use.\n If the job failed, the failure message contains information about why the job failed.
" } }, - "message": { - "target": "com.amazonaws.bedrock#Message", + "failureMessage": { + "target": "com.amazonaws.bedrock#ErrorMessage", "traits": { - "smithy.api#documentation": "If the batch inference job failed, this field contains a message describing why the job failed.
" + "smithy.api#documentation": "Information about why the import job failed.
" } }, - "submitTime": { + "creationTime": { "target": "com.amazonaws.bedrock#Timestamp", "traits": { - "smithy.api#documentation": "The time at which the batch inference job was submitted.
", - "smithy.api#required": {} + "smithy.api#documentation": "The time the resource was created.
" } }, "lastModifiedTime": { "target": "com.amazonaws.bedrock#Timestamp", "traits": { - "smithy.api#documentation": "The time at which the batch inference job was last modified.
" + "smithy.api#documentation": "Time the resource was last modified.
" } }, "endTime": { "target": "com.amazonaws.bedrock#Timestamp", "traits": { - "smithy.api#documentation": "The time at which the batch inference job ended.
" - } - }, - "inputDataConfig": { - "target": "com.amazonaws.bedrock#ModelInvocationJobInputDataConfig", - "traits": { - "smithy.api#documentation": "Details about the location of the input to the batch inference job.
", - "smithy.api#required": {} - } - }, - "outputDataConfig": { - "target": "com.amazonaws.bedrock#ModelInvocationJobOutputDataConfig", - "traits": { - "smithy.api#documentation": "Details about the location of the output of the batch inference job.
", - "smithy.api#required": {} + "smithy.api#documentation": "Time that the resource transitioned to terminal state.
" } }, - "timeoutDurationInHours": { - "target": "com.amazonaws.bedrock#ModelInvocationJobTimeoutDurationInHours", + "vpcConfig": { + "target": "com.amazonaws.bedrock#VpcConfig", "traits": { - "smithy.api#documentation": "The number of hours after which batch inference job was set to time out.
" + "smithy.api#documentation": "The Virtual Private Cloud (VPC) configuration of the import model job.
" } }, - "jobExpirationTime": { - "target": "com.amazonaws.bedrock#Timestamp", + "importedModelKmsKeyArn": { + "target": "com.amazonaws.bedrock#KmsKeyArn", "traits": { - "smithy.api#documentation": "The time at which the batch inference job times or timed out.
" + "smithy.api#documentation": "The imported model is encrypted at rest using this key.
" } } }, @@ -3770,13 +4217,13 @@ "smithy.api#output": {} } }, - "com.amazonaws.bedrock#GetModelInvocationLoggingConfiguration": { + "com.amazonaws.bedrock#GetModelInvocationJob": { "type": "operation", "input": { - "target": "com.amazonaws.bedrock#GetModelInvocationLoggingConfigurationRequest" + "target": "com.amazonaws.bedrock#GetModelInvocationJobRequest" }, "output": { - "target": "com.amazonaws.bedrock#GetModelInvocationLoggingConfigurationResponse" + "target": "com.amazonaws.bedrock#GetModelInvocationJobResponse" }, "errors": [ { @@ -3785,45 +4232,194 @@ { "target": "com.amazonaws.bedrock#InternalServerException" }, + { + "target": "com.amazonaws.bedrock#ResourceNotFoundException" + }, { "target": "com.amazonaws.bedrock#ThrottlingException" + }, + { + "target": "com.amazonaws.bedrock#ValidationException" } ], "traits": { - "smithy.api#documentation": "Get the current configuration values for model invocation logging.
", + "smithy.api#documentation": "Gets details about a batch inference job. For more information, see View details about a batch inference job\n
", "smithy.api#http": { "code": 200, "method": "GET", - "uri": "/logging/modelinvocations" + "uri": "/model-invocation-job/{jobIdentifier}" }, "smithy.api#readonly": {} } }, - "com.amazonaws.bedrock#GetModelInvocationLoggingConfigurationRequest": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.bedrock#GetModelInvocationLoggingConfigurationResponse": { + "com.amazonaws.bedrock#GetModelInvocationJobRequest": { "type": "structure", "members": { - "loggingConfig": { - "target": "com.amazonaws.bedrock#LoggingConfig", + "jobIdentifier": { + "target": "com.amazonaws.bedrock#ModelInvocationJobIdentifier", "traits": { - "smithy.api#documentation": "The current configuration values.
" + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the batch inference job.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } } }, "traits": { - "smithy.api#output": {} + "smithy.api#input": {} } }, - "com.amazonaws.bedrock#GetProvisionedModelThroughput": { - "type": "operation", - "input": { - "target": "com.amazonaws.bedrock#GetProvisionedModelThroughputRequest" + "com.amazonaws.bedrock#GetModelInvocationJobResponse": { + "type": "structure", + "members": { + "jobArn": { + "target": "com.amazonaws.bedrock#ModelInvocationJobArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the batch inference job.
", + "smithy.api#required": {} + } + }, + "jobName": { + "target": "com.amazonaws.bedrock#ModelInvocationJobName", + "traits": { + "smithy.api#documentation": "The name of the batch inference job.
" + } + }, + "modelId": { + "target": "com.amazonaws.bedrock#ModelId", + "traits": { + "smithy.api#documentation": "The unique identifier of the foundation model used for model inference.
", + "smithy.api#required": {} + } + }, + "clientRequestToken": { + "target": "com.amazonaws.bedrock#ModelInvocationIdempotencyToken", + "traits": { + "smithy.api#documentation": "A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request,\n\t Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
" + } + }, + "roleArn": { + "target": "com.amazonaws.bedrock#RoleArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the service role with permissions to carry out and manage batch inference. You can use the console to create a default service role or follow the steps at Create a service role for batch inference.
", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.bedrock#ModelInvocationJobStatus", + "traits": { + "smithy.api#documentation": "The status of the batch inference job.
" + } + }, + "message": { + "target": "com.amazonaws.bedrock#Message", + "traits": { + "smithy.api#documentation": "If the batch inference job failed, this field contains a message describing why the job failed.
" + } + }, + "submitTime": { + "target": "com.amazonaws.bedrock#Timestamp", + "traits": { + "smithy.api#documentation": "The time at which the batch inference job was submitted.
", + "smithy.api#required": {} + } + }, + "lastModifiedTime": { + "target": "com.amazonaws.bedrock#Timestamp", + "traits": { + "smithy.api#documentation": "The time at which the batch inference job was last modified.
" + } + }, + "endTime": { + "target": "com.amazonaws.bedrock#Timestamp", + "traits": { + "smithy.api#documentation": "The time at which the batch inference job ended.
" + } + }, + "inputDataConfig": { + "target": "com.amazonaws.bedrock#ModelInvocationJobInputDataConfig", + "traits": { + "smithy.api#documentation": "Details about the location of the input to the batch inference job.
", + "smithy.api#required": {} + } + }, + "outputDataConfig": { + "target": "com.amazonaws.bedrock#ModelInvocationJobOutputDataConfig", + "traits": { + "smithy.api#documentation": "Details about the location of the output of the batch inference job.
", + "smithy.api#required": {} + } + }, + "timeoutDurationInHours": { + "target": "com.amazonaws.bedrock#ModelInvocationJobTimeoutDurationInHours", + "traits": { + "smithy.api#documentation": "The number of hours after which batch inference job was set to time out.
" + } + }, + "jobExpirationTime": { + "target": "com.amazonaws.bedrock#Timestamp", + "traits": { + "smithy.api#documentation": "The time at which the batch inference job times or timed out.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.bedrock#GetModelInvocationLoggingConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.bedrock#GetModelInvocationLoggingConfigurationRequest" + }, + "output": { + "target": "com.amazonaws.bedrock#GetModelInvocationLoggingConfigurationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.bedrock#AccessDeniedException" + }, + { + "target": "com.amazonaws.bedrock#InternalServerException" + }, + { + "target": "com.amazonaws.bedrock#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "Get the current configuration values for model invocation logging.
", + "smithy.api#http": { + "code": 200, + "method": "GET", + "uri": "/logging/modelinvocations" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.bedrock#GetModelInvocationLoggingConfigurationRequest": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.bedrock#GetModelInvocationLoggingConfigurationResponse": { + "type": "structure", + "members": { + "loggingConfig": { + "target": "com.amazonaws.bedrock#LoggingConfig", + "traits": { + "smithy.api#documentation": "The current configuration values.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.bedrock#GetProvisionedModelThroughput": { + "type": "operation", + "input": { + "target": "com.amazonaws.bedrock#GetProvisionedModelThroughputRequest" }, "output": { "target": "com.amazonaws.bedrock#GetProvisionedModelThroughputResponse" @@ -5406,6 +6002,71 @@ "smithy.api#pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9])*$" } }, + "com.amazonaws.bedrock#ImportedModelArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 20, + "max": 1011 + }, + "smithy.api#pattern": "^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:imported-model/[a-z0-9]{12}$" + } + }, + "com.amazonaws.bedrock#ImportedModelIdentifier": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1011 + }, + "smithy.api#pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:imported-model/[a-z0-9]{12})|(([0-9a-zA-Z][_-]?)+)$" + } + }, + "com.amazonaws.bedrock#ImportedModelName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 63 + }, + "smithy.api#pattern": "^([0-9a-zA-Z][_-]?)+$" + } + }, + "com.amazonaws.bedrock#ImportedModelSummary": { + "type": "structure", + "members": { + "modelArn": { + "target": "com.amazonaws.bedrock#ImportedModelArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the imported model.
", + "smithy.api#required": {} + } + }, + "modelName": { + "target": "com.amazonaws.bedrock#ImportedModelName", + "traits": { + "smithy.api#documentation": "Name of the imported model.
", + "smithy.api#required": {} + } + }, + "creationTime": { + "target": "com.amazonaws.bedrock#Timestamp", + "traits": { + "smithy.api#documentation": "Creation time of the imported model.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Information about tne imported model.
" + } + }, + "com.amazonaws.bedrock#ImportedModelSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.bedrock#ImportedModelSummary" + } + }, "com.amazonaws.bedrock#InferenceType": { "type": "enum", "members": { @@ -5477,7 +6138,7 @@ "min": 1, "max": 2048 }, - "smithy.api#pattern": "^arn:aws(-[^:]+)?:kms:[a-zA-Z0-9-]*:[0-9]{12}:((key/[a-zA-Z0-9-]{36})|(alias/[a-zA-Z0-9-_/]+))$" + "smithy.api#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-_/]+)$" } }, "com.amazonaws.bedrock#ListCustomModels": { @@ -5911,13 +6572,13 @@ "smithy.api#output": {} } }, - "com.amazonaws.bedrock#ListModelCopyJobs": { + "com.amazonaws.bedrock#ListImportedModels": { "type": "operation", "input": { - "target": "com.amazonaws.bedrock#ListModelCopyJobsRequest" + "target": "com.amazonaws.bedrock#ListImportedModelsRequest" }, "output": { - "target": "com.amazonaws.bedrock#ListModelCopyJobsResponse" + "target": "com.amazonaws.bedrock#ListImportedModelsResponse" }, "errors": [ { @@ -5926,9 +6587,6 @@ { "target": "com.amazonaws.bedrock#InternalServerException" }, - { - "target": "com.amazonaws.bedrock#ResourceNotFoundException" - }, { "target": "com.amazonaws.bedrock#ThrottlingException" }, @@ -5937,64 +6595,43 @@ } ], "traits": { - "smithy.api#documentation": "Returns a list of model copy jobs that you have submitted. You can filter the jobs to return based on\n one or more criteria. For more information, see Copy models to be used in other regions in the Amazon Bedrock User Guide.
", + "smithy.api#documentation": "Returns a list of models you've imported. You can filter the results to return based on one or more criteria. \n For more information, \n see Import a customized model in the Amazon Bedrock User Guide.
", "smithy.api#http": { "code": 200, "method": "GET", - "uri": "/model-copy-jobs" + "uri": "/imported-models" }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "pageSize": "maxResults", - "items": "modelCopyJobSummaries" + "items": "modelSummaries" }, "smithy.api#readonly": {} } }, - "com.amazonaws.bedrock#ListModelCopyJobsRequest": { + "com.amazonaws.bedrock#ListImportedModelsRequest": { "type": "structure", "members": { - "creationTimeAfter": { - "target": "com.amazonaws.bedrock#Timestamp", - "traits": { - "smithy.api#documentation": "Filters for model copy jobs created after the specified time.
", - "smithy.api#httpQuery": "creationTimeAfter" - } - }, "creationTimeBefore": { "target": "com.amazonaws.bedrock#Timestamp", "traits": { - "smithy.api#documentation": "Filters for model copy jobs created before the specified time.
", + "smithy.api#documentation": "Return imported models that created before the specified time.
", "smithy.api#httpQuery": "creationTimeBefore" } }, - "statusEquals": { - "target": "com.amazonaws.bedrock#ModelCopyJobStatus", - "traits": { - "smithy.api#documentation": "Filters for model copy jobs whose status matches the value that you specify.
", - "smithy.api#httpQuery": "statusEquals" - } - }, - "sourceAccountEquals": { - "target": "com.amazonaws.bedrock#AccountId", - "traits": { - "smithy.api#documentation": "Filters for model copy jobs in which the account that the source model belongs to is equal to the value that you specify.
", - "smithy.api#httpQuery": "sourceAccountEquals" - } - }, - "sourceModelArnEquals": { - "target": "com.amazonaws.bedrock#ModelArn", + "creationTimeAfter": { + "target": "com.amazonaws.bedrock#Timestamp", "traits": { - "smithy.api#documentation": "Filters for model copy jobs in which the Amazon Resource Name (ARN) of the source model to is equal to the value that you specify.
", - "smithy.api#httpQuery": "sourceModelArnEquals" + "smithy.api#documentation": "Return imported models that were created after the specified time.
", + "smithy.api#httpQuery": "creationTimeAfter" } }, - "targetModelNameContains": { - "target": "com.amazonaws.bedrock#CustomModelName", + "nameContains": { + "target": "com.amazonaws.bedrock#ImportedModelName", "traits": { - "smithy.api#documentation": "Filters for model copy jobs in which the name of the copied model contains the string that you specify.
", - "smithy.api#httpQuery": "outputModelNameContains" + "smithy.api#documentation": "Return imported models only if the model name contains these characters.
", + "smithy.api#httpQuery": "nameContains" } }, "maxResults": { @@ -6012,16 +6649,16 @@ } }, "sortBy": { - "target": "com.amazonaws.bedrock#SortJobsBy", + "target": "com.amazonaws.bedrock#SortModelsBy", "traits": { - "smithy.api#documentation": "The field to sort by in the returned list of model copy jobs.
", + "smithy.api#documentation": "The field to sort by in the returned list of imported models.
", "smithy.api#httpQuery": "sortBy" } }, "sortOrder": { "target": "com.amazonaws.bedrock#SortOrder", "traits": { - "smithy.api#documentation": "Specifies whether to sort the results in ascending or descending order.
", + "smithy.api#documentation": "Specifies whetehr to sort the results in ascending or descending order.
", "smithy.api#httpQuery": "sortOrder" } } @@ -6030,7 +6667,7 @@ "smithy.api#input": {} } }, - "com.amazonaws.bedrock#ListModelCopyJobsResponse": { + "com.amazonaws.bedrock#ListImportedModelsResponse": { "type": "structure", "members": { "nextToken": { @@ -6039,8 +6676,147 @@ "smithy.api#documentation": "If the total number of results is greater than the maxResults
value provided in the request, use this token when making another request in the nextToken
field to return the next batch of results.
Model summaries.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.bedrock#ListModelCopyJobs": { + "type": "operation", + "input": { + "target": "com.amazonaws.bedrock#ListModelCopyJobsRequest" + }, + "output": { + "target": "com.amazonaws.bedrock#ListModelCopyJobsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.bedrock#AccessDeniedException" + }, + { + "target": "com.amazonaws.bedrock#InternalServerException" + }, + { + "target": "com.amazonaws.bedrock#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.bedrock#ThrottlingException" + }, + { + "target": "com.amazonaws.bedrock#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Returns a list of model copy jobs that you have submitted. You can filter the jobs to return based on\n one or more criteria. For more information, see Copy models to be used in other regions in the Amazon Bedrock User Guide.
", + "smithy.api#http": { + "code": 200, + "method": "GET", + "uri": "/model-copy-jobs" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "modelCopyJobSummaries" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.bedrock#ListModelCopyJobsRequest": { + "type": "structure", + "members": { + "creationTimeAfter": { + "target": "com.amazonaws.bedrock#Timestamp", + "traits": { + "smithy.api#documentation": "Filters for model copy jobs created after the specified time.
", + "smithy.api#httpQuery": "creationTimeAfter" + } + }, + "creationTimeBefore": { + "target": "com.amazonaws.bedrock#Timestamp", + "traits": { + "smithy.api#documentation": "Filters for model copy jobs created before the specified time.
", + "smithy.api#httpQuery": "creationTimeBefore" + } + }, + "statusEquals": { + "target": "com.amazonaws.bedrock#ModelCopyJobStatus", + "traits": { + "smithy.api#documentation": "Filters for model copy jobs whose status matches the value that you specify.
", + "smithy.api#httpQuery": "statusEquals" + } + }, + "sourceAccountEquals": { + "target": "com.amazonaws.bedrock#AccountId", + "traits": { + "smithy.api#documentation": "Filters for model copy jobs in which the account that the source model belongs to is equal to the value that you specify.
", + "smithy.api#httpQuery": "sourceAccountEquals" + } + }, + "sourceModelArnEquals": { + "target": "com.amazonaws.bedrock#ModelArn", + "traits": { + "smithy.api#documentation": "Filters for model copy jobs in which the Amazon Resource Name (ARN) of the source model to is equal to the value that you specify.
", + "smithy.api#httpQuery": "sourceModelArnEquals" + } + }, + "targetModelNameContains": { + "target": "com.amazonaws.bedrock#CustomModelName", + "traits": { + "smithy.api#documentation": "Filters for model copy jobs in which the name of the copied model contains the string that you specify.
", + "smithy.api#httpQuery": "outputModelNameContains" + } + }, + "maxResults": { + "target": "com.amazonaws.bedrock#MaxResults", + "traits": { + "smithy.api#documentation": "The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken
field when making another request to return the next batch of results.
If the total number of results is greater than the maxResults
value provided in the request, enter the token returned in the nextToken
field in the response in this field to return the next batch of results.
The field to sort by in the returned list of model copy jobs.
", + "smithy.api#httpQuery": "sortBy" + } + }, + "sortOrder": { + "target": "com.amazonaws.bedrock#SortOrder", + "traits": { + "smithy.api#documentation": "Specifies whether to sort the results in ascending or descending order.
", + "smithy.api#httpQuery": "sortOrder" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.bedrock#ListModelCopyJobsResponse": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.bedrock#PaginationToken", + "traits": { + "smithy.api#documentation": "If the total number of results is greater than the maxResults
value provided in the request, use this token when making another request in the nextToken
field to return the next batch of results.
A list of information about each model copy job.
" } @@ -6172,6 +6948,128 @@ "smithy.api#output": {} } }, + "com.amazonaws.bedrock#ListModelImportJobs": { + "type": "operation", + "input": { + "target": "com.amazonaws.bedrock#ListModelImportJobsRequest" + }, + "output": { + "target": "com.amazonaws.bedrock#ListModelImportJobsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.bedrock#AccessDeniedException" + }, + { + "target": "com.amazonaws.bedrock#InternalServerException" + }, + { + "target": "com.amazonaws.bedrock#ThrottlingException" + }, + { + "target": "com.amazonaws.bedrock#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Returns a list of import jobs you've submitted. You can filter the results to return based on one or more criteria. \n For more information, \n see Import a customized model in the Amazon Bedrock User Guide.
", + "smithy.api#http": { + "code": 200, + "method": "GET", + "uri": "/model-import-jobs" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "modelImportJobSummaries" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.bedrock#ListModelImportJobsRequest": { + "type": "structure", + "members": { + "creationTimeAfter": { + "target": "com.amazonaws.bedrock#Timestamp", + "traits": { + "smithy.api#documentation": "Return import jobs that were created after the specified time.
", + "smithy.api#httpQuery": "creationTimeAfter" + } + }, + "creationTimeBefore": { + "target": "com.amazonaws.bedrock#Timestamp", + "traits": { + "smithy.api#documentation": "Return import jobs that were created before the specified time.
", + "smithy.api#httpQuery": "creationTimeBefore" + } + }, + "statusEquals": { + "target": "com.amazonaws.bedrock#ModelImportJobStatus", + "traits": { + "smithy.api#documentation": "Return imported jobs with the specified status.
", + "smithy.api#httpQuery": "statusEquals" + } + }, + "nameContains": { + "target": "com.amazonaws.bedrock#JobName", + "traits": { + "smithy.api#documentation": "Return imported jobs only if the job name contains these characters.
", + "smithy.api#httpQuery": "nameContains" + } + }, + "maxResults": { + "target": "com.amazonaws.bedrock#MaxResults", + "traits": { + "smithy.api#documentation": "The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken
field when making another request to return the next batch of results.
If the total number of results is greater than the maxResults
value provided in the request, enter the token returned in the nextToken
field in the response in this field to return the next batch of results.
The field to sort by in the returned list of imported jobs.
", + "smithy.api#httpQuery": "sortBy" + } + }, + "sortOrder": { + "target": "com.amazonaws.bedrock#SortOrder", + "traits": { + "smithy.api#documentation": "Specifies whether to sort the results in ascending or descending order.
", + "smithy.api#httpQuery": "sortOrder" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.bedrock#ListModelImportJobsResponse": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.bedrock#PaginationToken", + "traits": { + "smithy.api#documentation": "If the total number of results is greater than the maxResults
value provided in the request, enter the token returned in the nextToken
field in the response in this field to return the next batch of results.
Import job summaries.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.bedrock#ListModelInvocationJobs": { "type": "operation", "input": { @@ -6874,6 +7772,20 @@ "target": "com.amazonaws.bedrock#ModelCustomization" } }, + "com.amazonaws.bedrock#ModelDataSource": { + "type": "union", + "members": { + "s3DataSource": { + "target": "com.amazonaws.bedrock#S3DataSource", + "traits": { + "smithy.api#documentation": "The Amazon S3 data source of the imported model.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Data source for the imported model.
" + } + }, "com.amazonaws.bedrock#ModelId": { "type": "string", "traits": { @@ -6894,6 +7806,136 @@ "smithy.api#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][_-]?)+)$" } }, + "com.amazonaws.bedrock#ModelImportJobArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "max": 1011 + }, + "smithy.api#pattern": "^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:model-import-job/[a-z0-9]{12}$" + } + }, + "com.amazonaws.bedrock#ModelImportJobIdentifier": { + "type": "string", + "traits": { + "smithy.api#length": { + "max": 1011 + }, + "smithy.api#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\\+\\-\\.])*)$" + } + }, + "com.amazonaws.bedrock#ModelImportJobStatus": { + "type": "enum", + "members": { + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InProgress" + } + }, + "COMPLETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Completed" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Failed" + } + } + } + }, + "com.amazonaws.bedrock#ModelImportJobSummaries": { + "type": "list", + "member": { + "target": "com.amazonaws.bedrock#ModelImportJobSummary" + } + }, + "com.amazonaws.bedrock#ModelImportJobSummary": { + "type": "structure", + "members": { + "jobArn": { + "target": "com.amazonaws.bedrock#ModelImportJobArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the import job.
", + "smithy.api#required": {} + } + }, + "jobName": { + "target": "com.amazonaws.bedrock#JobName", + "traits": { + "smithy.api#documentation": "The name of the import job.
", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.bedrock#ModelImportJobStatus", + "traits": { + "smithy.api#documentation": "The status of the imported job.
", + "smithy.api#required": {} + } + }, + "lastModifiedTime": { + "target": "com.amazonaws.bedrock#Timestamp", + "traits": { + "smithy.api#documentation": "The time when the import job was last modified.
" + } + }, + "creationTime": { + "target": "com.amazonaws.bedrock#Timestamp", + "traits": { + "smithy.api#documentation": "The time import job was created.
", + "smithy.api#required": {} + } + }, + "endTime": { + "target": "com.amazonaws.bedrock#Timestamp", + "traits": { + "smithy.api#documentation": "The time when import job ended.
" + } + }, + "importedModelArn": { + "target": "com.amazonaws.bedrock#ImportedModelArn", + "traits": { + "smithy.api#documentation": "The Amazon resource Name (ARN) of the imported model.
" + } + }, + "importedModelName": { + "target": "com.amazonaws.bedrock#ImportedModelName", + "traits": { + "smithy.api#documentation": "The name of the imported model.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Information about the import job.
" + } + }, + "com.amazonaws.bedrock#ModelImportResource": { + "type": "resource", + "operations": [ + { + "target": "com.amazonaws.bedrock#CreateModelImportJob" + }, + { + "target": "com.amazonaws.bedrock#DeleteImportedModel" + }, + { + "target": "com.amazonaws.bedrock#GetImportedModel" + }, + { + "target": "com.amazonaws.bedrock#GetModelImportJob" + }, + { + "target": "com.amazonaws.bedrock#ListImportedModels" + }, + { + "target": "com.amazonaws.bedrock#ListModelImportJobs" + } + ] + }, "com.amazonaws.bedrock#ModelInvocationIdempotencyToken": { "type": "string", "traits": { @@ -7567,6 +8609,21 @@ "smithy.api#documentation": "S3 configuration for storing log data.
" } }, + "com.amazonaws.bedrock#S3DataSource": { + "type": "structure", + "members": { + "s3Uri": { + "target": "com.amazonaws.bedrock#S3Uri", + "traits": { + "smithy.api#documentation": "The URI of the Amazon S3 data source.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The Amazon S3 data source of the imported job.
" + } + }, "com.amazonaws.bedrock#S3InputFormat": { "type": "enum", "members": { @@ -7585,7 +8642,7 @@ "min": 1, "max": 1024 }, - "smithy.api#pattern": "^s3://[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9](/.*)?$" + "smithy.api#pattern": "^s3://[a-z0-9][-.a-z0-9]{1,61}(?:/[-!_*'().a-z0-9A-Z]+(?:/[-!_*'().a-z0-9A-Z]+)*)?/?$" } }, "com.amazonaws.bedrock#SageMakerFlowDefinitionArn": { diff --git a/codegen/sdk-codegen/aws-models/emr-containers.json b/codegen/sdk-codegen/aws-models/emr-containers.json index a482c697079..f70b533f308 100644 --- a/codegen/sdk-codegen/aws-models/emr-containers.json +++ b/codegen/sdk-codegen/aws-models/emr-containers.json @@ -367,6 +367,44 @@ } ], "rules": [ + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "us-gov-east-1" + ] + } + ], + "endpoint": { + "url": "https://emr-containers.us-gov-east-1.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "us-gov-west-1" + ] + } + ], + "endpoint": { + "url": "https://emr-containers.us-gov-west-1.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, { "conditions": [], "endpoint": { @@ -828,23 +866,23 @@ } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://emr-containers-fips.us-gov-east-1.api.aws" + "url": "https://emr-containers.us-gov-east-1.amazonaws.com" } }, "params": { "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": true + "UseFIPS": false, + "UseDualStack": false } }, { "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://emr-containers-fips.us-gov-east-1.amazonaws.com" + "url": "https://emr-containers.us-gov-east-1.amazonaws.com" } }, "params": { @@ -854,29 +892,55 @@ } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://emr-containers.us-gov-east-1.api.aws" + "url": "https://emr-containers.us-gov-west-1.amazonaws.com" } }, "params": { - "Region": "us-gov-east-1", + "Region": "us-gov-west-1", "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://emr-containers.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-west-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://emr-containers-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://emr-containers.us-gov-east-1.amazonaws.com" + "url": "https://emr-containers.us-gov-east-1.api.aws" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": false, - "UseDualStack": false + "UseDualStack": true } }, { diff --git a/codegen/sdk-codegen/aws-models/inspector2.json b/codegen/sdk-codegen/aws-models/inspector2.json index ced6d68a6fc..97f840031f0 100644 --- a/codegen/sdk-codegen/aws-models/inspector2.json +++ b/codegen/sdk-codegen/aws-models/inspector2.json @@ -12,7 +12,7 @@ } }, "traits": { - "smithy.api#documentation": "You do not have sufficient access to perform this action.
", + "smithy.api#documentation": "You do not have sufficient access to perform this action.
\n\n For Enable
, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.\n
The number of findings by severity.
" } + }, + "exploitAvailableCount": { + "target": "smithy.api#Long", + "traits": { + "smithy.api#documentation": "\n The number of findings that have an exploit available.\n
" + } + }, + "fixAvailableCount": { + "target": "smithy.api#Long", + "traits": { + "smithy.api#documentation": "\n Details about the number of fixes.\n
" + } } }, "traits": { @@ -5715,6 +5727,14 @@ { "value": "ACCOUNT_IS_ISOLATED", "name": "ACCOUNT_IS_ISOLATED" + }, + { + "value": "EC2_SSM_RESOURCE_DATA_SYNC_LIMIT_EXCEEDED", + "name": "EC2_SSM_RESOURCE_DATA_SYNC_LIMIT_EXCEEDED" + }, + { + "value": "EC2_SSM_ASSOCIATION_VERSION_LIMIT_EXCEEDED", + "name": "EC2_SSM_ASSOCIATION_VERSION_LIMIT_EXCEEDED" } ] } @@ -6771,6 +6791,18 @@ "traits": { "smithy.api#documentation": "The value to sort results by.
" } + }, + "exploitAvailableCount": { + "target": "smithy.api#Long", + "traits": { + "smithy.api#documentation": "The number of findings that have an exploit available.
" + } + }, + "fixAvailableCount": { + "target": "smithy.api#Long", + "traits": { + "smithy.api#documentation": "\n Details about the number of fixes.\n
" + } } }, "traits": { @@ -12730,6 +12762,14 @@ { "value": "DEEP_INSPECTION_NO_INVENTORY", "name": "DEEP_INSPECTION_NO_INVENTORY" + }, + { + "value": "AGENTLESS_INSTANCE_STORAGE_LIMIT_EXCEEDED", + "name": "AGENTLESS_INSTANCE_STORAGE_LIMIT_EXCEEDED" + }, + { + "value": "AGENTLESS_INSTANCE_COLLECTION_TIME_LIMIT_EXCEEDED", + "name": "AGENTLESS_INSTANCE_COLLECTION_TIME_LIMIT_EXCEEDED" } ] } diff --git a/codegen/sdk-codegen/aws-models/quicksight.json b/codegen/sdk-codegen/aws-models/quicksight.json index acb0b1f6ab6..98db4f282c8 100644 --- a/codegen/sdk-codegen/aws-models/quicksight.json +++ b/codegen/sdk-codegen/aws-models/quicksight.json @@ -707,6 +707,9 @@ "traits": { "smithy.api#documentation": "An array of option definitions for an analysis.
" } + }, + "QueryExecutionOptions": { + "target": "com.amazonaws.quicksight#QueryExecutionOptions" } }, "traits": { @@ -1079,12 +1082,78 @@ "smithy.api#documentation": "The dashboard ID for the dashboard that you want the user to see first. This ID is included in the output URL. When the URL in response is accessed, Amazon QuickSight renders this dashboard.
\nThe Amazon Resource Name (ARN) of this dashboard must be included in the AuthorizedResourceArns
parameter. Otherwise, the request will fail with InvalidParameterValueException
.
A list of all enabled features of a specified anonymous dashboard.
" + } + }, + "DisabledFeatures": { + "target": "com.amazonaws.quicksight#AnonymousUserDashboardEmbeddingConfigurationDisabledFeatures", + "traits": { + "smithy.api#documentation": "A list of all disabled features of a specified anonymous dashboard.
" + } + }, + "FeatureConfigurations": { + "target": "com.amazonaws.quicksight#AnonymousUserDashboardFeatureConfigurations", + "traits": { + "smithy.api#documentation": "The feature configuration for an embedded dashboard.
" + } } }, "traits": { "smithy.api#documentation": "Information about the dashboard that you want to embed.
" } }, + "com.amazonaws.quicksight#AnonymousUserDashboardEmbeddingConfigurationDisabledFeature": { + "type": "enum", + "members": { + "SHARED_VIEW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SHARED_VIEW" + } + } + } + }, + "com.amazonaws.quicksight#AnonymousUserDashboardEmbeddingConfigurationDisabledFeatures": { + "type": "list", + "member": { + "target": "com.amazonaws.quicksight#AnonymousUserDashboardEmbeddingConfigurationDisabledFeature" + } + }, + "com.amazonaws.quicksight#AnonymousUserDashboardEmbeddingConfigurationEnabledFeature": { + "type": "enum", + "members": { + "SHARED_VIEW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SHARED_VIEW" + } + } + } + }, + "com.amazonaws.quicksight#AnonymousUserDashboardEmbeddingConfigurationEnabledFeatures": { + "type": "list", + "member": { + "target": "com.amazonaws.quicksight#AnonymousUserDashboardEmbeddingConfigurationEnabledFeature" + } + }, + "com.amazonaws.quicksight#AnonymousUserDashboardFeatureConfigurations": { + "type": "structure", + "members": { + "SharedView": { + "target": "com.amazonaws.quicksight#SharedViewConfigurations", + "traits": { + "smithy.api#documentation": "The shared view settings of an embedded dashboard.
" + } + } + }, + "traits": { + "smithy.api#documentation": "The feature configuration for an embedded dashboard.
" + } + }, "com.amazonaws.quicksight#AnonymousUserDashboardVisualEmbeddingConfiguration": { "type": "structure", "members": { @@ -37737,6 +37806,37 @@ } } }, + "com.amazonaws.quicksight#QueryExecutionMode": { + "type": "enum", + "members": { + "AUTO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AUTO" + } + }, + "MANUAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MANUAL" + } + } + } + }, + "com.amazonaws.quicksight#QueryExecutionOptions": { + "type": "structure", + "members": { + "QueryExecutionMode": { + "target": "com.amazonaws.quicksight#QueryExecutionMode", + "traits": { + "smithy.api#documentation": "A structure that describes the query execution mode.
" + } + } + }, + "traits": { + "smithy.api#documentation": "A structure that describes the query execution options.
" + } + }, "com.amazonaws.quicksight#QueueInfo": { "type": "structure", "members": { @@ -40290,6 +40390,12 @@ "traits": { "smithy.api#documentation": "The state persistence configurations of an embedded Amazon QuickSight console.
" } + }, + "SharedView": { + "target": "com.amazonaws.quicksight#SharedViewConfigurations", + "traits": { + "smithy.api#documentation": "The shared view settings of an embedded dashboard.
" + } } }, "traits": { @@ -40326,6 +40432,12 @@ "smithy.api#documentation": "The state persistence settings of an embedded dashboard.
" } }, + "SharedView": { + "target": "com.amazonaws.quicksight#SharedViewConfigurations", + "traits": { + "smithy.api#documentation": "The shared view settings of an embedded dashboard.
" + } + }, "Bookmarks": { "target": "com.amazonaws.quicksight#BookmarksConfigurations", "traits": { @@ -43237,6 +43349,22 @@ "smithy.api#documentation": "The shape conditional formatting of a filled map visual.
" } }, + "com.amazonaws.quicksight#SharedViewConfigurations": { + "type": "structure", + "members": { + "Enabled": { + "target": "com.amazonaws.quicksight#Boolean", + "traits": { + "smithy.api#default": false, + "smithy.api#documentation": "The shared view settings of an embedded dashboard.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The shared view settings of an embedded dashboard.
" + } + }, "com.amazonaws.quicksight#SharingModel": { "type": "enum", "members": { @@ -47058,6 +47186,9 @@ "traits": { "smithy.api#documentation": "An array of option definitions for a template.
" } + }, + "QueryExecutionOptions": { + "target": "com.amazonaws.quicksight#QueryExecutionOptions" } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/route-53.json b/codegen/sdk-codegen/aws-models/route-53.json index ef1d914499a..16b78b0838d 100644 --- a/codegen/sdk-codegen/aws-models/route-53.json +++ b/codegen/sdk-codegen/aws-models/route-53.json @@ -3443,6 +3443,12 @@ "traits": { "smithy.api#enumValue": "ca-west-1" } + }, + "ap_southeast_5": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ap-southeast-5" + } } }, "traits": { @@ -10848,6 +10854,12 @@ "traits": { "smithy.api#enumValue": "ca-west-1" } + }, + "ap_southeast_5": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ap-southeast-5" + } } }, "traits": { @@ -12470,6 +12482,12 @@ "traits": { "smithy.api#enumValue": "ca-west-1" } + }, + "ap_southeast_5": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ap-southeast-5" + } } }, "traits": {