{
  "version":"2.0",
  "metadata":{
    "apiVersion":"2023-04-20",
    "auth":["aws.auth#sigv4"],
    "endpointPrefix":"bedrock",
    "protocol":"rest-json",
    "protocols":["rest-json"],
    "serviceFullName":"Amazon Bedrock",
    "serviceId":"Bedrock",
    "signatureVersion":"v4",
    "signingName":"bedrock",
    "uid":"bedrock-2023-04-20"
  },
  "operations":{
    "BatchDeleteEvaluationJob":{
      "name":"BatchDeleteEvaluationJob",
      "http":{
        "method":"POST",
        "requestUri":"/evaluation-jobs/batch-delete",
        "responseCode":202
      },
      "input":{"shape":"BatchDeleteEvaluationJobRequest"},
      "output":{"shape":"BatchDeleteEvaluationJobResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"InternalServerException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Deletes a batch of evaluation jobs. An evaluation job can only be deleted if it has following status <code>FAILED</code>, <code>COMPLETED</code>, and <code>STOPPED</code>. You can request up to 25 model evaluation jobs be deleted in a single request.</p>"
    },
    "CreateEvaluationJob":{
      "name":"CreateEvaluationJob",
      "http":{
        "method":"POST",
        "requestUri":"/evaluation-jobs",
        "responseCode":202
      },
      "input":{"shape":"CreateEvaluationJobRequest"},
      "output":{"shape":"CreateEvaluationJobResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"InternalServerException"},
        {"shape":"ServiceQuotaExceededException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Creates an evaluation job.</p>",
      "idempotent":true
    },
    "CreateGuardrail":{
      "name":"CreateGuardrail",
      "http":{
        "method":"POST",
        "requestUri":"/guardrails",
        "responseCode":202
      },
      "input":{"shape":"CreateGuardrailRequest"},
      "output":{"shape":"CreateGuardrailResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"InternalServerException"},
        {"shape":"TooManyTagsException"},
        {"shape":"ServiceQuotaExceededException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Creates a guardrail to block topics and to implement safeguards for your generative AI applications.</p> <p>You can configure the following policies in a guardrail to avoid undesirable and harmful content, filter out denied topics and words, and remove sensitive information for privacy protection.</p> <ul> <li> <p> <b>Content filters</b> - Adjust filter strengths to block input prompts or model responses containing harmful content.</p> </li> <li> <p> <b>Denied topics</b> - Define a set of topics that are undesirable in the context of your application. These topics will be blocked if detected in user queries or model responses.</p> </li> <li> <p> <b>Word filters</b> - Configure filters to block undesirable words, phrases, and profanity. Such words can include offensive terms, competitor names etc.</p> </li> <li> <p> <b>Sensitive information filters</b> - Block or mask sensitive information such as personally identifiable information (PII) or custom regex in user inputs and model responses.</p> </li> </ul> <p>In addition to the above policies, you can also configure the messages to be returned to the user if a user input or model response is in violation of the policies defined in the guardrail.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html\">Amazon Bedrock Guardrails</a> in the <i>Amazon Bedrock User Guide</i>.</p>"
    },
    "CreateGuardrailVersion":{
      "name":"CreateGuardrailVersion",
      "http":{
        "method":"POST",
        "requestUri":"/guardrails/{guardrailIdentifier}",
        "responseCode":202
      },
      "input":{"shape":"CreateGuardrailVersionRequest"},
      "output":{"shape":"CreateGuardrailVersionResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"InternalServerException"},
        {"shape":"ServiceQuotaExceededException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Creates a version of the guardrail. Use this API to create a snapshot of the guardrail when you are satisfied with a configuration, or to compare the configuration with another version.</p>"
    },
    "CreateInferenceProfile":{
      "name":"CreateInferenceProfile",
      "http":{
        "method":"POST",
        "requestUri":"/inference-profiles",
        "responseCode":201
      },
      "input":{"shape":"CreateInferenceProfileRequest"},
      "output":{"shape":"CreateInferenceProfileResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"InternalServerException"},
        {"shape":"TooManyTagsException"},
        {"shape":"ServiceQuotaExceededException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Creates an application inference profile to track metrics and costs when invoking a model. To create an application inference profile for a foundation model in one region, specify the ARN of the model in that region. To create an application inference profile for a foundation model across multiple regions, specify the ARN of the system-defined inference profile that contains the regions that you want to route requests to. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html\">Increase throughput and resilience with cross-region inference in Amazon Bedrock</a>. in the Amazon Bedrock User Guide.</p>",
      "idempotent":true
    },
    "CreateMarketplaceModelEndpoint":{
      "name":"CreateMarketplaceModelEndpoint",
      "http":{
        "method":"POST",
        "requestUri":"/marketplace-model/endpoints",
        "responseCode":200
      },
      "input":{"shape":"CreateMarketplaceModelEndpointRequest"},
      "output":{"shape":"CreateMarketplaceModelEndpointResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"InternalServerException"},
        {"shape":"ServiceQuotaExceededException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Creates an endpoint for a model from Amazon Bedrock Marketplace. The endpoint is hosted by Amazon SageMaker.</p>"
    },
    "CreateModelCopyJob":{
      "name":"CreateModelCopyJob",
      "http":{
        "method":"POST",
        "requestUri":"/model-copy-jobs",
        "responseCode":201
      },
      "input":{"shape":"CreateModelCopyJobRequest"},
      "output":{"shape":"CreateModelCopyJobResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"},
        {"shape":"TooManyTagsException"}
      ],
      "documentation":"<p>Copies a model to another region so that it can be used there. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/copy-model.html\">Copy models to be used in other regions</a> in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html\">Amazon Bedrock User Guide</a>.</p>",
      "idempotent":true
    },
    "CreateModelCustomizationJob":{
      "name":"CreateModelCustomizationJob",
      "http":{
        "method":"POST",
        "requestUri":"/model-customization-jobs",
        "responseCode":201
      },
      "input":{"shape":"CreateModelCustomizationJobRequest"},
      "output":{"shape":"CreateModelCustomizationJobResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"InternalServerException"},
        {"shape":"TooManyTagsException"},
        {"shape":"ServiceQuotaExceededException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Creates a fine-tuning job to customize a base model.</p> <p>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. Amazon Bedrock returns validation loss metrics and output generations after the job completes. </p> <p>For information on the format of training and validation data, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-prepare.html\">Prepare the datasets</a>.</p> <p> 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 <code>GetModelCustomizationJob</code> operation to retrieve the job status.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html\">Custom models</a> in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html\">Amazon Bedrock User Guide</a>.</p>",
      "idempotent":true
    },
    "CreateModelImportJob":{
      "name":"CreateModelImportJob",
      "http":{
        "method":"POST",
        "requestUri":"/model-import-jobs",
        "responseCode":201
      },
      "input":{"shape":"CreateModelImportJobRequest"},
      "output":{"shape":"CreateModelImportJobResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"InternalServerException"},
        {"shape":"TooManyTagsException"},
        {"shape":"ServiceQuotaExceededException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Creates a model import job to import model that you have customized in other environments, such as Amazon SageMaker. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html\">Import a customized model</a> </p>",
      "idempotent":true
    },
    "CreateModelInvocationJob":{
      "name":"CreateModelInvocationJob",
      "http":{
        "method":"POST",
        "requestUri":"/model-invocation-job",
        "responseCode":200
      },
      "input":{"shape":"CreateModelInvocationJobRequest"},
      "output":{"shape":"CreateModelInvocationJobResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"InternalServerException"},
        {"shape":"ServiceQuotaExceededException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Creates a batch inference job to invoke a model on multiple prompts. Format your data according to <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-data\">Format your inference data</a> and upload it to an Amazon S3 bucket. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference.html\">Process multiple prompts with batch inference</a>.</p> <p>The response returns a <code>jobArn</code> that you can use to stop or get details about the job.</p>",
      "idempotent":true
    },
    "CreatePromptRouter":{
      "name":"CreatePromptRouter",
      "http":{
        "method":"POST",
        "requestUri":"/prompt-routers",
        "responseCode":200
      },
      "input":{"shape":"CreatePromptRouterRequest"},
      "output":{"shape":"CreatePromptRouterResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"InternalServerException"},
        {"shape":"TooManyTagsException"},
        {"shape":"ServiceQuotaExceededException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Creates a prompt router that manages the routing of requests between multiple foundation models based on the routing criteria.</p>",
      "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":"<p>Creates dedicated throughput for a base or custom model with the model units and for the duration that you specify. For pricing details, see <a href=\"http://aws.amazon.com/bedrock/pricing/\">Amazon Bedrock Pricing</a>. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/prov-throughput.html\">Provisioned Throughput</a> in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html\">Amazon Bedrock User Guide</a>.</p>",
      "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":"<p>Deletes a custom model that you created earlier. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html\">Custom models</a> in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html\">Amazon Bedrock User Guide</a>.</p>",
      "idempotent":true
    },
    "DeleteGuardrail":{
      "name":"DeleteGuardrail",
      "http":{
        "method":"DELETE",
        "requestUri":"/guardrails/{guardrailIdentifier}",
        "responseCode":202
      },
      "input":{"shape":"DeleteGuardrailRequest"},
      "output":{"shape":"DeleteGuardrailResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"InternalServerException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Deletes a guardrail.</p> <ul> <li> <p>To delete a guardrail, only specify the ARN of the guardrail in the <code>guardrailIdentifier</code> field. If you delete a guardrail, all of its versions will be deleted.</p> </li> <li> <p>To delete a version of a guardrail, specify the ARN of the guardrail in the <code>guardrailIdentifier</code> field and the version in the <code>guardrailVersion</code> field.</p> </li> </ul>",
      "idempotent":true
    },
    "DeleteImportedModel":{
      "name":"DeleteImportedModel",
      "http":{
        "method":"DELETE",
        "requestUri":"/imported-models/{modelIdentifier}",
        "responseCode":200
      },
      "input":{"shape":"DeleteImportedModelRequest"},
      "output":{"shape":"DeleteImportedModelResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"InternalServerException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Deletes a custom model that you imported earlier. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html\">Import a customized model</a> in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html\">Amazon Bedrock User Guide</a>. </p>",
      "idempotent":true
    },
    "DeleteInferenceProfile":{
      "name":"DeleteInferenceProfile",
      "http":{
        "method":"DELETE",
        "requestUri":"/inference-profiles/{inferenceProfileIdentifier}",
        "responseCode":200
      },
      "input":{"shape":"DeleteInferenceProfileRequest"},
      "output":{"shape":"DeleteInferenceProfileResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"InternalServerException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Deletes an application inference profile. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html\">Increase throughput and resilience with cross-region inference in Amazon Bedrock</a>. in the Amazon Bedrock User Guide.</p>",
      "idempotent":true
    },
    "DeleteMarketplaceModelEndpoint":{
      "name":"DeleteMarketplaceModelEndpoint",
      "http":{
        "method":"DELETE",
        "requestUri":"/marketplace-model/endpoints/{endpointArn}",
        "responseCode":200
      },
      "input":{"shape":"DeleteMarketplaceModelEndpointRequest"},
      "output":{"shape":"DeleteMarketplaceModelEndpointResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Deletes an endpoint for a model from Amazon Bedrock Marketplace.</p>",
      "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":"<p>Delete the invocation logging. </p>",
      "idempotent":true
    },
    "DeletePromptRouter":{
      "name":"DeletePromptRouter",
      "http":{
        "method":"DELETE",
        "requestUri":"/prompt-routers/{promptRouterArn}",
        "responseCode":200
      },
      "input":{"shape":"DeletePromptRouterRequest"},
      "output":{"shape":"DeletePromptRouterResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Deletes a specified prompt router. This action cannot be undone.</p>",
      "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":"<p>Deletes a Provisioned Throughput. You can't delete a Provisioned Throughput before the commitment term is over. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/prov-throughput.html\">Provisioned Throughput</a> in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html\">Amazon Bedrock User Guide</a>.</p>",
      "idempotent":true
    },
    "DeregisterMarketplaceModelEndpoint":{
      "name":"DeregisterMarketplaceModelEndpoint",
      "http":{
        "method":"DELETE",
        "requestUri":"/marketplace-model/endpoints/{endpointArn}/registration",
        "responseCode":200
      },
      "input":{"shape":"DeregisterMarketplaceModelEndpointRequest"},
      "output":{"shape":"DeregisterMarketplaceModelEndpointResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Deregisters an endpoint for a model from Amazon Bedrock Marketplace. This operation removes the endpoint's association with Amazon Bedrock but does not delete the underlying Amazon SageMaker endpoint.</p>"
    },
    "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":"<p>Get the properties associated with a Amazon Bedrock custom model that you have created.For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html\">Custom models</a> in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html\">Amazon Bedrock User Guide</a>.</p>"
    },
    "GetEvaluationJob":{
      "name":"GetEvaluationJob",
      "http":{
        "method":"GET",
        "requestUri":"/evaluation-jobs/{jobIdentifier}",
        "responseCode":200
      },
      "input":{"shape":"GetEvaluationJobRequest"},
      "output":{"shape":"GetEvaluationJobResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Gets information about an evaluation job, such as the status of the job.</p>"
    },
    "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":"<p>Get details about a Amazon Bedrock foundation model.</p>"
    },
    "GetGuardrail":{
      "name":"GetGuardrail",
      "http":{
        "method":"GET",
        "requestUri":"/guardrails/{guardrailIdentifier}",
        "responseCode":200
      },
      "input":{"shape":"GetGuardrailRequest"},
      "output":{"shape":"GetGuardrailResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Gets details about a guardrail. If you don't specify a version, the response returns details for the <code>DRAFT</code> version.</p>"
    },
    "GetImportedModel":{
      "name":"GetImportedModel",
      "http":{
        "method":"GET",
        "requestUri":"/imported-models/{modelIdentifier}",
        "responseCode":200
      },
      "input":{"shape":"GetImportedModelRequest"},
      "output":{"shape":"GetImportedModelResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Gets properties associated with a customized model you imported. </p>"
    },
    "GetInferenceProfile":{
      "name":"GetInferenceProfile",
      "http":{
        "method":"GET",
        "requestUri":"/inference-profiles/{inferenceProfileIdentifier}",
        "responseCode":200
      },
      "input":{"shape":"GetInferenceProfileRequest"},
      "output":{"shape":"GetInferenceProfileResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Gets information about an inference profile. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html\">Increase throughput and resilience with cross-region inference in Amazon Bedrock</a>. in the Amazon Bedrock User Guide.</p>"
    },
    "GetMarketplaceModelEndpoint":{
      "name":"GetMarketplaceModelEndpoint",
      "http":{
        "method":"GET",
        "requestUri":"/marketplace-model/endpoints/{endpointArn}",
        "responseCode":200
      },
      "input":{"shape":"GetMarketplaceModelEndpointRequest"},
      "output":{"shape":"GetMarketplaceModelEndpointResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Retrieves details about a specific endpoint for a model from Amazon Bedrock Marketplace.</p>"
    },
    "GetModelCopyJob":{
      "name":"GetModelCopyJob",
      "http":{
        "method":"GET",
        "requestUri":"/model-copy-jobs/{jobArn}",
        "responseCode":200
      },
      "input":{"shape":"GetModelCopyJobRequest"},
      "output":{"shape":"GetModelCopyJobResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Retrieves information about a model copy job. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/copy-model.html\">Copy models to be used in other regions</a> in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html\">Amazon Bedrock User Guide</a>.</p>"
    },
    "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":"<p>Retrieves the properties associated with a model-customization job, including the status of the job. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html\">Custom models</a> in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html\">Amazon Bedrock User Guide</a>.</p>"
    },
    "GetModelImportJob":{
      "name":"GetModelImportJob",
      "http":{
        "method":"GET",
        "requestUri":"/model-import-jobs/{jobIdentifier}",
        "responseCode":200
      },
      "input":{"shape":"GetModelImportJobRequest"},
      "output":{"shape":"GetModelImportJobResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Retrieves the properties associated with import model job, including the status of the job. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html\">Import a customized model</a> in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html\">Amazon Bedrock User Guide</a>.</p>"
    },
    "GetModelInvocationJob":{
      "name":"GetModelInvocationJob",
      "http":{
        "method":"GET",
        "requestUri":"/model-invocation-job/{jobIdentifier}",
        "responseCode":200
      },
      "input":{"shape":"GetModelInvocationJobRequest"},
      "output":{"shape":"GetModelInvocationJobResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Gets details about a batch inference job. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-monitor\">Monitor batch inference jobs</a> </p>"
    },
    "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":"<p>Get the current configuration values for model invocation logging.</p>"
    },
    "GetPromptRouter":{
      "name":"GetPromptRouter",
      "http":{
        "method":"GET",
        "requestUri":"/prompt-routers/{promptRouterArn}",
        "responseCode":200
      },
      "input":{"shape":"GetPromptRouterRequest"},
      "output":{"shape":"GetPromptRouterResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Retrieves details about a prompt router.</p>"
    },
    "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":"<p>Returns details for a Provisioned Throughput. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/prov-throughput.html\">Provisioned Throughput</a> in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html\">Amazon Bedrock User Guide</a>.</p>"
    },
    "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":"<p>Returns a list of the custom models that you have created with the <code>CreateModelCustomizationJob</code> operation.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html\">Custom models</a> in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html\">Amazon Bedrock User Guide</a>.</p>"
    },
    "ListEvaluationJobs":{
      "name":"ListEvaluationJobs",
      "http":{
        "method":"GET",
        "requestUri":"/evaluation-jobs",
        "responseCode":200
      },
      "input":{"shape":"ListEvaluationJobsRequest"},
      "output":{"shape":"ListEvaluationJobsResponse"},
      "errors":[
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Lists all existing evaluation jobs.</p>"
    },
    "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":"<p>Lists Amazon Bedrock foundation models that you can use. You can filter the results with the request parameters. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/foundation-models.html\">Foundation models</a> in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html\">Amazon Bedrock User Guide</a>.</p>"
    },
    "ListGuardrails":{
      "name":"ListGuardrails",
      "http":{
        "method":"GET",
        "requestUri":"/guardrails",
        "responseCode":200
      },
      "input":{"shape":"ListGuardrailsRequest"},
      "output":{"shape":"ListGuardrailsResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Lists details about all the guardrails in an account. To list the <code>DRAFT</code> version of all your guardrails, don't specify the <code>guardrailIdentifier</code> field. To list all versions of a guardrail, specify the ARN of the guardrail in the <code>guardrailIdentifier</code> field.</p> <p>You can set the maximum number of results to return in a response in the <code>maxResults</code> field. If there are more results than the number you set, the response returns a <code>nextToken</code> that you can send in another <code>ListGuardrails</code> request to see the next batch of results.</p>"
    },
    "ListImportedModels":{
      "name":"ListImportedModels",
      "http":{
        "method":"GET",
        "requestUri":"/imported-models",
        "responseCode":200
      },
      "input":{"shape":"ListImportedModelsRequest"},
      "output":{"shape":"ListImportedModelsResponse"},
      "errors":[
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Returns a list of models you've imported. You can filter the results to return based on one or more criteria. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html\">Import a customized model</a> in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html\">Amazon Bedrock User Guide</a>.</p>"
    },
    "ListInferenceProfiles":{
      "name":"ListInferenceProfiles",
      "http":{
        "method":"GET",
        "requestUri":"/inference-profiles",
        "responseCode":200
      },
      "input":{"shape":"ListInferenceProfilesRequest"},
      "output":{"shape":"ListInferenceProfilesResponse"},
      "errors":[
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Returns a list of inference profiles that you can use. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html\">Increase throughput and resilience with cross-region inference in Amazon Bedrock</a>. in the Amazon Bedrock User Guide.</p>"
    },
    "ListMarketplaceModelEndpoints":{
      "name":"ListMarketplaceModelEndpoints",
      "http":{
        "method":"GET",
        "requestUri":"/marketplace-model/endpoints",
        "responseCode":200
      },
      "input":{"shape":"ListMarketplaceModelEndpointsRequest"},
      "output":{"shape":"ListMarketplaceModelEndpointsResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Lists the endpoints for models from Amazon Bedrock Marketplace in your Amazon Web Services account.</p>"
    },
    "ListModelCopyJobs":{
      "name":"ListModelCopyJobs",
      "http":{
        "method":"GET",
        "requestUri":"/model-copy-jobs",
        "responseCode":200
      },
      "input":{"shape":"ListModelCopyJobsRequest"},
      "output":{"shape":"ListModelCopyJobsResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Returns a list of model copy jobs that you have submitted. You can filter the jobs to return based on one or more criteria. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/copy-model.html\">Copy models to be used in other regions</a> in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html\">Amazon Bedrock User Guide</a>.</p>"
    },
    "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":"<p>Returns a list of model customization jobs that you have submitted. You can filter the jobs to return based on one or more criteria.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html\">Custom models</a> in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html\">Amazon Bedrock User Guide</a>.</p>"
    },
    "ListModelImportJobs":{
      "name":"ListModelImportJobs",
      "http":{
        "method":"GET",
        "requestUri":"/model-import-jobs",
        "responseCode":200
      },
      "input":{"shape":"ListModelImportJobsRequest"},
      "output":{"shape":"ListModelImportJobsResponse"},
      "errors":[
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Returns a list of import jobs you've submitted. You can filter the results to return based on one or more criteria. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html\">Import a customized model</a> in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html\">Amazon Bedrock User Guide</a>.</p>"
    },
    "ListModelInvocationJobs":{
      "name":"ListModelInvocationJobs",
      "http":{
        "method":"GET",
        "requestUri":"/model-invocation-jobs",
        "responseCode":200
      },
      "input":{"shape":"ListModelInvocationJobsRequest"},
      "output":{"shape":"ListModelInvocationJobsResponse"},
      "errors":[
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Lists all batch inference jobs in the account. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-view.html\">View details about a batch inference job</a>.</p>"
    },
    "ListPromptRouters":{
      "name":"ListPromptRouters",
      "http":{
        "method":"GET",
        "requestUri":"/prompt-routers",
        "responseCode":200
      },
      "input":{"shape":"ListPromptRoutersRequest"},
      "output":{"shape":"ListPromptRoutersResponse"},
      "errors":[
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Retrieves a list of prompt routers.</p>"
    },
    "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":"<p>Lists the Provisioned Throughputs in the account. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/prov-throughput.html\">Provisioned Throughput</a> in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html\">Amazon Bedrock User Guide</a>.</p>"
    },
    "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":"<p>List the tags associated with the specified resource.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html\">Tagging resources</a> in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html\">Amazon Bedrock User Guide</a>.</p>"
    },
    "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":"<p>Set the configuration values for model invocation logging.</p>",
      "idempotent":true
    },
    "RegisterMarketplaceModelEndpoint":{
      "name":"RegisterMarketplaceModelEndpoint",
      "http":{
        "method":"POST",
        "requestUri":"/marketplace-model/endpoints/{endpointIdentifier}/registration",
        "responseCode":200
      },
      "input":{"shape":"RegisterMarketplaceModelEndpointRequest"},
      "output":{"shape":"RegisterMarketplaceModelEndpointResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Registers an existing Amazon SageMaker endpoint with Amazon Bedrock Marketplace, allowing it to be used with Amazon Bedrock APIs.</p>"
    },
    "StopEvaluationJob":{
      "name":"StopEvaluationJob",
      "http":{
        "method":"POST",
        "requestUri":"/evaluation-job/{jobIdentifier}/stop",
        "responseCode":200
      },
      "input":{"shape":"StopEvaluationJobRequest"},
      "output":{"shape":"StopEvaluationJobResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"InternalServerException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Stops an evaluation job that is current being created or running.</p>"
    },
    "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":"<p>Stops an active model customization job. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html\">Custom models</a> in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html\">Amazon Bedrock User Guide</a>.</p>",
      "idempotent":true
    },
    "StopModelInvocationJob":{
      "name":"StopModelInvocationJob",
      "http":{
        "method":"POST",
        "requestUri":"/model-invocation-job/{jobIdentifier}/stop",
        "responseCode":200
      },
      "input":{"shape":"StopModelInvocationJobRequest"},
      "output":{"shape":"StopModelInvocationJobResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"InternalServerException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Stops a batch inference job. You're only charged for tokens that were already processed. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-stop.html\">Stop a batch inference job</a>.</p>"
    },
    "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":"<p>Associate tags with a resource. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html\">Tagging resources</a> in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html\">Amazon Bedrock User Guide</a>.</p>"
    },
    "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":"<p>Remove one or more tags from a resource. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html\">Tagging resources</a> in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html\">Amazon Bedrock User Guide</a>.</p>"
    },
    "UpdateGuardrail":{
      "name":"UpdateGuardrail",
      "http":{
        "method":"PUT",
        "requestUri":"/guardrails/{guardrailIdentifier}",
        "responseCode":202
      },
      "input":{"shape":"UpdateGuardrailRequest"},
      "output":{"shape":"UpdateGuardrailResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"InternalServerException"},
        {"shape":"ServiceQuotaExceededException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Updates a guardrail with the values you specify.</p> <ul> <li> <p>Specify a <code>name</code> and optional <code>description</code>.</p> </li> <li> <p>Specify messages for when the guardrail successfully blocks a prompt or a model response in the <code>blockedInputMessaging</code> and <code>blockedOutputsMessaging</code> fields.</p> </li> <li> <p>Specify topics for the guardrail to deny in the <code>topicPolicyConfig</code> object. Each <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GuardrailTopicConfig.html\">GuardrailTopicConfig</a> object in the <code>topicsConfig</code> list pertains to one topic.</p> <ul> <li> <p>Give a <code>name</code> and <code>description</code> so that the guardrail can properly identify the topic.</p> </li> <li> <p>Specify <code>DENY</code> in the <code>type</code> field.</p> </li> <li> <p>(Optional) Provide up to five prompts that you would categorize as belonging to the topic in the <code>examples</code> list.</p> </li> </ul> </li> <li> <p>Specify filter strengths for the harmful categories defined in Amazon Bedrock in the <code>contentPolicyConfig</code> object. Each <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GuardrailContentFilterConfig.html\">GuardrailContentFilterConfig</a> object in the <code>filtersConfig</code> list pertains to a harmful category. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-content-filters\">Content filters</a>. For more information about the fields in a content filter, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GuardrailContentFilterConfig.html\">GuardrailContentFilterConfig</a>.</p> <ul> <li> <p>Specify the category in the <code>type</code> field.</p> </li> <li> <p>Specify the strength of the filter for prompts in the <code>inputStrength</code> field and for model responses in the <code>strength</code> field of the <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GuardrailContentFilterConfig.html\">GuardrailContentFilterConfig</a>.</p> </li> </ul> </li> <li> <p>(Optional) For security, include the ARN of a KMS key in the <code>kmsKeyId</code> field.</p> </li> </ul>",
      "idempotent":true
    },
    "UpdateMarketplaceModelEndpoint":{
      "name":"UpdateMarketplaceModelEndpoint",
      "http":{
        "method":"PATCH",
        "requestUri":"/marketplace-model/endpoints/{endpointArn}",
        "responseCode":200
      },
      "input":{"shape":"UpdateMarketplaceModelEndpointRequest"},
      "output":{"shape":"UpdateMarketplaceModelEndpointResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"InternalServerException"},
        {"shape":"ServiceQuotaExceededException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Updates the configuration of an existing endpoint for a model from Amazon Bedrock Marketplace.</p>"
    },
    "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":"<p>Updates the name or associated model for a Provisioned Throughput. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/prov-throughput.html\">Provisioned Throughput</a> in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html\">Amazon Bedrock User Guide</a>.</p>",
      "idempotent":true
    }
  },
  "shapes":{
    "AcceptEula":{"type":"boolean"},
    "AccessDeniedException":{
      "type":"structure",
      "members":{
        "message":{"shape":"NonBlankString"}
      },
      "documentation":"<p>The request is denied because of missing access permissions.</p>",
      "error":{
        "httpStatusCode":403,
        "senderFault":true
      },
      "exception":true
    },
    "AccountId":{
      "type":"string",
      "pattern":"[0-9]{12}"
    },
    "AdditionalModelRequestFields":{
      "type":"map",
      "key":{"shape":"AdditionalModelRequestFieldsKey"},
      "value":{"shape":"AdditionalModelRequestFieldsValue"}
    },
    "AdditionalModelRequestFieldsKey":{
      "type":"string",
      "max":100,
      "min":1
    },
    "AdditionalModelRequestFieldsValue":{
      "type":"structure",
      "members":{
      },
      "document":true
    },
    "ApplicationType":{
      "type":"string",
      "enum":[
        "ModelEvaluation",
        "RagEvaluation"
      ]
    },
    "Arn":{
      "type":"string",
      "max":2048,
      "min":0
    },
    "AutomatedEvaluationConfig":{
      "type":"structure",
      "required":["datasetMetricConfigs"],
      "members":{
        "datasetMetricConfigs":{
          "shape":"EvaluationDatasetMetricConfigs",
          "documentation":"<p>Configuration details of the prompt datasets and metrics you want to use for your evaluation job.</p>"
        },
        "evaluatorModelConfig":{
          "shape":"EvaluatorModelConfig",
          "documentation":"<p>Contains the evaluator model configuration details. <code>EvaluatorModelConfig</code> is required for evaluation jobs that use a knowledge base or in model evaluation job that use a model as judge. This model computes all evaluation related metrics.</p>"
        }
      },
      "documentation":"<p>The configuration details of an automated evaluation job. The <code>EvaluationDatasetMetricConfig</code> object is used to specify the prompt datasets, task type, and metric names.</p>"
    },
    "BaseModelIdentifier":{
      "type":"string",
      "max":2048,
      "min":1,
      "pattern":"(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})|(([0-9a-zA-Z][_-]?)+)"
    },
    "BatchDeleteEvaluationJobError":{
      "type":"structure",
      "required":[
        "jobIdentifier",
        "code"
      ],
      "members":{
        "jobIdentifier":{
          "shape":"EvaluationJobIdentifier",
          "documentation":"<p>The ARN of the evaluation job being deleted.</p>"
        },
        "code":{
          "shape":"String",
          "documentation":"<p>A HTTP status code of the evaluation job being deleted.</p>"
        },
        "message":{
          "shape":"String",
          "documentation":"<p>A status message about the evaluation job deletion.</p>"
        }
      },
      "documentation":"<p>A JSON array that provides the status of the evaluation jobs being deleted.</p>"
    },
    "BatchDeleteEvaluationJobErrors":{
      "type":"list",
      "member":{"shape":"BatchDeleteEvaluationJobError"},
      "max":25,
      "min":0
    },
    "BatchDeleteEvaluationJobItem":{
      "type":"structure",
      "required":[
        "jobIdentifier",
        "jobStatus"
      ],
      "members":{
        "jobIdentifier":{
          "shape":"EvaluationJobIdentifier",
          "documentation":"<p>The Amazon Resource Name (ARN) of the evaluation job for deletion.</p>"
        },
        "jobStatus":{
          "shape":"EvaluationJobStatus",
          "documentation":"<p>The status of the evaluation job for deletion.</p>"
        }
      },
      "documentation":"<p>An evaluation job for deletion, and it’s current status.</p>"
    },
    "BatchDeleteEvaluationJobItems":{
      "type":"list",
      "member":{"shape":"BatchDeleteEvaluationJobItem"}
    },
    "BatchDeleteEvaluationJobRequest":{
      "type":"structure",
      "required":["jobIdentifiers"],
      "members":{
        "jobIdentifiers":{
          "shape":"EvaluationJobIdentifiers",
          "documentation":"<p>A list of one or more evaluation job Amazon Resource Names (ARNs) you want to delete.</p>"
        }
      }
    },
    "BatchDeleteEvaluationJobResponse":{
      "type":"structure",
      "required":[
        "errors",
        "evaluationJobs"
      ],
      "members":{
        "errors":{
          "shape":"BatchDeleteEvaluationJobErrors",
          "documentation":"<p>A JSON object containing the HTTP status codes and the ARNs of evaluation jobs that failed to be deleted.</p>"
        },
        "evaluationJobs":{
          "shape":"BatchDeleteEvaluationJobItems",
          "documentation":"<p>The list of evaluation jobs for deletion.</p>"
        }
      }
    },
    "BedrockEvaluatorModel":{
      "type":"structure",
      "required":["modelIdentifier"],
      "members":{
        "modelIdentifier":{
          "shape":"EvaluatorModelIdentifier",
          "documentation":"<p>The Amazon Resource Name (ARN) of the evaluator model used used in knowledge base evaluation job or in model evaluation job that use a model as judge.</p>"
        }
      },
      "documentation":"<p>The evaluator model used in knowledge base evaluation job or in model evaluation job that use a model as judge. This model computes all evaluation related metrics.</p>"
    },
    "BedrockEvaluatorModels":{
      "type":"list",
      "member":{"shape":"BedrockEvaluatorModel"},
      "max":1,
      "min":1
    },
    "BedrockModelArn":{
      "type":"string",
      "max":2048,
      "min":1,
      "pattern":"(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))))|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):inference-profile/[a-zA-Z0-9-:.]+)|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)"
    },
    "BedrockModelId":{
      "type":"string",
      "max":140,
      "min":0,
      "pattern":"[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}(/[a-z0-9]{12}|)"
    },
    "Boolean":{
      "type":"boolean",
      "box":true
    },
    "BrandedName":{
      "type":"string",
      "max":20,
      "min":1,
      "pattern":".*"
    },
    "BucketName":{
      "type":"string",
      "max":63,
      "min":3
    },
    "ByteContentBlob":{
      "type":"blob",
      "max":10485760,
      "min":1,
      "sensitive":true
    },
    "ByteContentDoc":{
      "type":"structure",
      "required":[
        "identifier",
        "contentType",
        "data"
      ],
      "members":{
        "identifier":{
          "shape":"Identifier",
          "documentation":"<p>The file name of the document contained in the wrapper object.</p>"
        },
        "contentType":{
          "shape":"ContentType",
          "documentation":"<p>The MIME type of the document contained in the wrapper object.</p>"
        },
        "data":{
          "shape":"ByteContentBlob",
          "documentation":"<p>The byte value of the file to upload, encoded as a Base-64 string.</p>"
        }
      },
      "documentation":"<p>Contains the document contained in the wrapper object, along with its attributes/fields.</p>"
    },
    "CloudWatchConfig":{
      "type":"structure",
      "required":[
        "logGroupName",
        "roleArn"
      ],
      "members":{
        "logGroupName":{
          "shape":"LogGroupName",
          "documentation":"<p>The log group name.</p>"
        },
        "roleArn":{
          "shape":"RoleArn",
          "documentation":"<p>The role Amazon Resource Name (ARN).</p>"
        },
        "largeDataDeliveryS3Config":{
          "shape":"S3Config",
          "documentation":"<p>S3 configuration for delivering a large amount of data.</p>"
        }
      },
      "documentation":"<p>CloudWatch logging configuration.</p>"
    },
    "CommitmentDuration":{
      "type":"string",
      "enum":[
        "OneMonth",
        "SixMonths"
      ]
    },
    "ConflictException":{
      "type":"structure",
      "members":{
        "message":{"shape":"NonBlankString"}
      },
      "documentation":"<p>Error occurred because of a conflict while performing an operation.</p>",
      "error":{
        "httpStatusCode":400,
        "senderFault":true
      },
      "exception":true
    },
    "ContentType":{
      "type":"string",
      "pattern":".*[a-z]{1,20}/.{1,20}.*"
    },
    "CreateEvaluationJobRequest":{
      "type":"structure",
      "required":[
        "jobName",
        "roleArn",
        "evaluationConfig",
        "inferenceConfig",
        "outputDataConfig"
      ],
      "members":{
        "jobName":{
          "shape":"EvaluationJobName",
          "documentation":"<p>A name for the evaluation job. Names must unique with your Amazon Web Services account, and your account's Amazon Web Services region.</p>"
        },
        "jobDescription":{
          "shape":"EvaluationJobDescription",
          "documentation":"<p>A description of the evaluation job.</p>"
        },
        "clientRequestToken":{
          "shape":"IdempotencyToken",
          "documentation":"<p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html\">Ensuring idempotency</a>.</p>",
          "idempotencyToken":true
        },
        "roleArn":{
          "shape":"RoleArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of an IAM service role that Amazon Bedrock can assume to perform tasks on your behalf. To learn more about the required permissions, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-evaluation-security.html\">Required permissions for model evaluations</a>.</p>"
        },
        "customerEncryptionKeyId":{
          "shape":"KmsKeyId",
          "documentation":"<p>Specify your customer managed encryption key Amazon Resource Name (ARN) that will be used to encrypt your evaluation job.</p>"
        },
        "jobTags":{
          "shape":"TagList",
          "documentation":"<p>Tags to attach to the model evaluation job.</p>"
        },
        "applicationType":{
          "shape":"ApplicationType",
          "documentation":"<p>Specifies whether the evaluation job is for evaluating a model or evaluating a knowledge base (retrieval and response generation).</p>"
        },
        "evaluationConfig":{
          "shape":"EvaluationConfig",
          "documentation":"<p>Contains the configuration details of either an automated or human-based evaluation job.</p>"
        },
        "inferenceConfig":{
          "shape":"EvaluationInferenceConfig",
          "documentation":"<p>Contains the configuration details of the inference model for the evaluation job.</p> <p>For model evaluation jobs, automated jobs support a single model or <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html\">inference profile</a>, and jobs that use human workers support two models or inference profiles.</p>"
        },
        "outputDataConfig":{
          "shape":"EvaluationOutputDataConfig",
          "documentation":"<p>Contains the configuration details of the Amazon S3 bucket for storing the results of the evaluation job.</p>"
        }
      }
    },
    "CreateEvaluationJobResponse":{
      "type":"structure",
      "required":["jobArn"],
      "members":{
        "jobArn":{
          "shape":"EvaluationJobArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the evaluation job.</p>"
        }
      }
    },
    "CreateGuardrailRequest":{
      "type":"structure",
      "required":[
        "name",
        "blockedInputMessaging",
        "blockedOutputsMessaging"
      ],
      "members":{
        "name":{
          "shape":"GuardrailName",
          "documentation":"<p>The name to give the guardrail.</p>"
        },
        "description":{
          "shape":"GuardrailDescription",
          "documentation":"<p>A description of the guardrail.</p>"
        },
        "topicPolicyConfig":{
          "shape":"GuardrailTopicPolicyConfig",
          "documentation":"<p>The topic policies to configure for the guardrail.</p>"
        },
        "contentPolicyConfig":{
          "shape":"GuardrailContentPolicyConfig",
          "documentation":"<p>The content filter policies to configure for the guardrail.</p>"
        },
        "wordPolicyConfig":{
          "shape":"GuardrailWordPolicyConfig",
          "documentation":"<p>The word policy you configure for the guardrail.</p>"
        },
        "sensitiveInformationPolicyConfig":{
          "shape":"GuardrailSensitiveInformationPolicyConfig",
          "documentation":"<p>The sensitive information policy to configure for the guardrail.</p>"
        },
        "contextualGroundingPolicyConfig":{
          "shape":"GuardrailContextualGroundingPolicyConfig",
          "documentation":"<p>The contextual grounding policy configuration used to create a guardrail.</p>"
        },
        "blockedInputMessaging":{
          "shape":"GuardrailBlockedMessaging",
          "documentation":"<p>The message to return when the guardrail blocks a prompt.</p>"
        },
        "blockedOutputsMessaging":{
          "shape":"GuardrailBlockedMessaging",
          "documentation":"<p>The message to return when the guardrail blocks a model response.</p>"
        },
        "kmsKeyId":{
          "shape":"KmsKeyId",
          "documentation":"<p>The ARN of the KMS key that you use to encrypt the guardrail.</p>"
        },
        "tags":{
          "shape":"TagList",
          "documentation":"<p>The tags that you want to attach to the guardrail. </p>"
        },
        "clientRequestToken":{
          "shape":"IdempotencyToken",
          "documentation":"<p>A unique, case-sensitive identifier to ensure that the API request completes no more than once. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html\">Ensuring idempotency</a> in the <i>Amazon S3 User Guide</i>.</p>",
          "idempotencyToken":true
        }
      }
    },
    "CreateGuardrailResponse":{
      "type":"structure",
      "required":[
        "guardrailId",
        "guardrailArn",
        "version",
        "createdAt"
      ],
      "members":{
        "guardrailId":{
          "shape":"GuardrailId",
          "documentation":"<p>The unique identifier of the guardrail that was created.</p>"
        },
        "guardrailArn":{
          "shape":"GuardrailArn",
          "documentation":"<p>The ARN of the guardrail.</p>"
        },
        "version":{
          "shape":"GuardrailDraftVersion",
          "documentation":"<p>The version of the guardrail that was created. This value will always be <code>DRAFT</code>.</p>"
        },
        "createdAt":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the guardrail was created.</p>"
        }
      }
    },
    "CreateGuardrailVersionRequest":{
      "type":"structure",
      "required":["guardrailIdentifier"],
      "members":{
        "guardrailIdentifier":{
          "shape":"GuardrailIdentifier",
          "documentation":"<p>The unique identifier of the guardrail. This can be an ID or the ARN.</p>",
          "location":"uri",
          "locationName":"guardrailIdentifier"
        },
        "description":{
          "shape":"GuardrailDescription",
          "documentation":"<p>A description of the guardrail version.</p>"
        },
        "clientRequestToken":{
          "shape":"IdempotencyToken",
          "documentation":"<p>A unique, case-sensitive identifier to ensure that the API request completes no more than once. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html\">Ensuring idempotency</a> in the <i>Amazon S3 User Guide</i>.</p>",
          "idempotencyToken":true
        }
      }
    },
    "CreateGuardrailVersionResponse":{
      "type":"structure",
      "required":[
        "guardrailId",
        "version"
      ],
      "members":{
        "guardrailId":{
          "shape":"GuardrailId",
          "documentation":"<p>The unique identifier of the guardrail.</p>"
        },
        "version":{
          "shape":"GuardrailNumericalVersion",
          "documentation":"<p>The number of the version of the guardrail.</p>"
        }
      }
    },
    "CreateInferenceProfileRequest":{
      "type":"structure",
      "required":[
        "inferenceProfileName",
        "modelSource"
      ],
      "members":{
        "inferenceProfileName":{
          "shape":"InferenceProfileName",
          "documentation":"<p>A name for the inference profile.</p>"
        },
        "description":{
          "shape":"InferenceProfileDescription",
          "documentation":"<p>A description for the inference profile.</p>"
        },
        "clientRequestToken":{
          "shape":"IdempotencyToken",
          "documentation":"<p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html\">Ensuring idempotency</a>.</p>",
          "idempotencyToken":true
        },
        "modelSource":{
          "shape":"InferenceProfileModelSource",
          "documentation":"<p>The foundation model or system-defined inference profile that the inference profile will track metrics and costs for.</p>"
        },
        "tags":{
          "shape":"TagList",
          "documentation":"<p>An array of objects, each of which contains a tag and its value. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html\">Tagging resources</a> in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html\">Amazon Bedrock User Guide</a>.</p>"
        }
      }
    },
    "CreateInferenceProfileResponse":{
      "type":"structure",
      "required":["inferenceProfileArn"],
      "members":{
        "inferenceProfileArn":{
          "shape":"InferenceProfileArn",
          "documentation":"<p>The ARN of the inference profile that you created.</p>"
        },
        "status":{
          "shape":"InferenceProfileStatus",
          "documentation":"<p>The status of the inference profile. <code>ACTIVE</code> means that the inference profile is ready to be used.</p>"
        }
      }
    },
    "CreateMarketplaceModelEndpointRequest":{
      "type":"structure",
      "required":[
        "modelSourceIdentifier",
        "endpointConfig",
        "endpointName"
      ],
      "members":{
        "modelSourceIdentifier":{
          "shape":"ModelSourceIdentifier",
          "documentation":"<p>The ARN of the model from Amazon Bedrock Marketplace that you want to deploy to the endpoint.</p>"
        },
        "endpointConfig":{
          "shape":"EndpointConfig",
          "documentation":"<p>The configuration for the endpoint, including the number and type of instances to use.</p>"
        },
        "acceptEula":{
          "shape":"AcceptEula",
          "documentation":"<p>Indicates whether you accept the end-user license agreement (EULA) for the model. Set to <code>true</code> to accept the EULA.</p>"
        },
        "endpointName":{
          "shape":"EndpointName",
          "documentation":"<p>The name of the endpoint. This name must be unique within your Amazon Web Services account and region.</p>"
        },
        "clientRequestToken":{
          "shape":"IdempotencyToken",
          "documentation":"<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This token is listed as not required because Amazon Web Services SDKs automatically generate it for you and set this parameter. If you're not using the Amazon Web Services SDK or the CLI, you must provide this token or the action will fail.</p>",
          "idempotencyToken":true
        },
        "tags":{
          "shape":"TagList",
          "documentation":"<p>An array of key-value pairs to apply to the underlying Amazon SageMaker endpoint. You can use these tags to organize and identify your Amazon Web Services resources.</p>"
        }
      }
    },
    "CreateMarketplaceModelEndpointResponse":{
      "type":"structure",
      "required":["marketplaceModelEndpoint"],
      "members":{
        "marketplaceModelEndpoint":{
          "shape":"MarketplaceModelEndpoint",
          "documentation":"<p>Details about the created endpoint.</p>"
        }
      }
    },
    "CreateModelCopyJobRequest":{
      "type":"structure",
      "required":[
        "sourceModelArn",
        "targetModelName"
      ],
      "members":{
        "sourceModelArn":{
          "shape":"ModelArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the model to be copied.</p>"
        },
        "targetModelName":{
          "shape":"CustomModelName",
          "documentation":"<p>A name for the copied model.</p>"
        },
        "modelKmsKeyId":{
          "shape":"KmsKeyId",
          "documentation":"<p>The ARN of the KMS key that you use to encrypt the model copy.</p>"
        },
        "targetModelTags":{
          "shape":"TagList",
          "documentation":"<p>Tags to associate with the target model. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html\">Tag resources</a> in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html\">Amazon Bedrock User Guide</a>.</p>"
        },
        "clientRequestToken":{
          "shape":"IdempotencyToken",
          "documentation":"<p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html\">Ensuring idempotency</a>.</p>",
          "idempotencyToken":true
        }
      }
    },
    "CreateModelCopyJobResponse":{
      "type":"structure",
      "required":["jobArn"],
      "members":{
        "jobArn":{
          "shape":"ModelCopyJobArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the model copy job.</p>"
        }
      }
    },
    "CreateModelCustomizationJobRequest":{
      "type":"structure",
      "required":[
        "jobName",
        "customModelName",
        "roleArn",
        "baseModelIdentifier",
        "trainingDataConfig",
        "outputDataConfig"
      ],
      "members":{
        "jobName":{
          "shape":"JobName",
          "documentation":"<p>A name for the fine-tuning job.</p>"
        },
        "customModelName":{
          "shape":"CustomModelName",
          "documentation":"<p>A name for the resulting custom model.</p>"
        },
        "roleArn":{
          "shape":"RoleArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of an IAM service 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 <code>iam:PassRole</code> permission. </p>"
        },
        "clientRequestToken":{
          "shape":"IdempotencyToken",
          "documentation":"<p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html\">Ensuring idempotency</a>.</p>",
          "idempotencyToken":true
        },
        "baseModelIdentifier":{
          "shape":"BaseModelIdentifier",
          "documentation":"<p>Name of the base model.</p>"
        },
        "customizationType":{
          "shape":"CustomizationType",
          "documentation":"<p>The customization type.</p>"
        },
        "customModelKmsKeyId":{
          "shape":"KmsKeyId",
          "documentation":"<p>The custom model is encrypted at rest using this key.</p>"
        },
        "jobTags":{
          "shape":"TagList",
          "documentation":"<p>Tags to attach to the job.</p>"
        },
        "customModelTags":{
          "shape":"TagList",
          "documentation":"<p>Tags to attach to the resulting custom model.</p>"
        },
        "trainingDataConfig":{
          "shape":"TrainingDataConfig",
          "documentation":"<p>Information about the training dataset.</p>"
        },
        "validationDataConfig":{
          "shape":"ValidationDataConfig",
          "documentation":"<p>Information about the validation dataset. </p>"
        },
        "outputDataConfig":{
          "shape":"OutputDataConfig",
          "documentation":"<p>S3 location for the output data.</p>"
        },
        "hyperParameters":{
          "shape":"ModelCustomizationHyperParameters",
          "documentation":"<p>Parameters related to tuning the model. For details on the format for different models, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models-hp.html\">Custom model hyperparameters</a>.</p>"
        },
        "vpcConfig":{
          "shape":"VpcConfig",
          "documentation":"<p>The configuration of the Virtual Private Cloud (VPC) that contains the resources that you're using for this job. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/vpc-model-customization.html\">Protect your model customization jobs using a VPC</a>.</p>"
        },
        "customizationConfig":{
          "shape":"CustomizationConfig",
          "documentation":"<p>The customization configuration for the model customization job.</p>"
        }
      }
    },
    "CreateModelCustomizationJobResponse":{
      "type":"structure",
      "required":["jobArn"],
      "members":{
        "jobArn":{
          "shape":"ModelCustomizationJobArn",
          "documentation":"<p>Amazon Resource Name (ARN) of the fine tuning job</p>"
        }
      }
    },
    "CreateModelImportJobRequest":{
      "type":"structure",
      "required":[
        "jobName",
        "importedModelName",
        "roleArn",
        "modelDataSource"
      ],
      "members":{
        "jobName":{
          "shape":"JobName",
          "documentation":"<p>The name of the import job.</p>"
        },
        "importedModelName":{
          "shape":"ImportedModelName",
          "documentation":"<p>The name of the imported model.</p>"
        },
        "roleArn":{
          "shape":"RoleArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the model import job.</p>"
        },
        "modelDataSource":{
          "shape":"ModelDataSource",
          "documentation":"<p>The data source for the imported model.</p>"
        },
        "jobTags":{
          "shape":"TagList",
          "documentation":"<p>Tags to attach to this import job. </p>"
        },
        "importedModelTags":{
          "shape":"TagList",
          "documentation":"<p>Tags to attach to the imported model.</p>"
        },
        "clientRequestToken":{
          "shape":"IdempotencyToken",
          "documentation":"<p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html\">Ensuring idempotency</a>.</p>"
        },
        "vpcConfig":{
          "shape":"VpcConfig",
          "documentation":"<p>VPC configuration parameters for the private Virtual Private Cloud (VPC) that contains the resources you are using for the import job.</p>"
        },
        "importedModelKmsKeyId":{
          "shape":"KmsKeyId",
          "documentation":"<p>The imported model is encrypted at rest using this key.</p>"
        }
      }
    },
    "CreateModelImportJobResponse":{
      "type":"structure",
      "required":["jobArn"],
      "members":{
        "jobArn":{
          "shape":"ModelImportJobArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the model import job.</p>"
        }
      }
    },
    "CreateModelInvocationJobRequest":{
      "type":"structure",
      "required":[
        "jobName",
        "roleArn",
        "modelId",
        "inputDataConfig",
        "outputDataConfig"
      ],
      "members":{
        "jobName":{
          "shape":"ModelInvocationJobName",
          "documentation":"<p>A name to give the batch inference job.</p>"
        },
        "roleArn":{
          "shape":"RoleArn",
          "documentation":"<p>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 <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/batch-iam-sr.html\">Create a service role for batch inference</a>.</p>"
        },
        "clientRequestToken":{
          "shape":"ModelInvocationIdempotencyToken",
          "documentation":"<p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html\">Ensuring idempotency</a>.</p>",
          "idempotencyToken":true
        },
        "modelId":{
          "shape":"ModelId",
          "documentation":"<p>The unique identifier of the foundation model to use for the batch inference job.</p>"
        },
        "inputDataConfig":{
          "shape":"ModelInvocationJobInputDataConfig",
          "documentation":"<p>Details about the location of the input to the batch inference job.</p>"
        },
        "outputDataConfig":{
          "shape":"ModelInvocationJobOutputDataConfig",
          "documentation":"<p>Details about the location of the output of the batch inference job.</p>"
        },
        "vpcConfig":{
          "shape":"VpcConfig",
          "documentation":"<p>The configuration of the Virtual Private Cloud (VPC) for the data in the batch inference job. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/batch-vpc\">Protect batch inference jobs using a VPC</a>.</p>"
        },
        "timeoutDurationInHours":{
          "shape":"ModelInvocationJobTimeoutDurationInHours",
          "documentation":"<p>The number of hours after which to force the batch inference job to time out.</p>"
        },
        "tags":{
          "shape":"TagList",
          "documentation":"<p>Any tags to associate with the batch inference job. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html\">Tagging Amazon Bedrock resources</a>.</p>"
        }
      }
    },
    "CreateModelInvocationJobResponse":{
      "type":"structure",
      "required":["jobArn"],
      "members":{
        "jobArn":{
          "shape":"ModelInvocationJobArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the batch inference job.</p>"
        }
      }
    },
    "CreatePromptRouterRequest":{
      "type":"structure",
      "required":[
        "promptRouterName",
        "models",
        "routingCriteria",
        "fallbackModel"
      ],
      "members":{
        "clientRequestToken":{
          "shape":"IdempotencyToken",
          "documentation":"<p>A unique, case-sensitive identifier that you provide to ensure idempotency of your requests. If not specified, the Amazon Web Services SDK automatically generates one for you.</p>",
          "idempotencyToken":true
        },
        "promptRouterName":{
          "shape":"PromptRouterName",
          "documentation":"<p>The name of the prompt router. The name must be unique within your Amazon Web Services account in the current region.</p>"
        },
        "models":{
          "shape":"PromptRouterTargetModels",
          "documentation":"<p>A list of foundation models that the prompt router can route requests to. At least one model must be specified.</p>"
        },
        "description":{
          "shape":"PromptRouterDescription",
          "documentation":"<p>An optional description of the prompt router to help identify its purpose.</p>"
        },
        "routingCriteria":{
          "shape":"RoutingCriteria",
          "documentation":"<p>The criteria, which is the response quality difference, used to determine how incoming requests are routed to different models.</p>"
        },
        "fallbackModel":{
          "shape":"PromptRouterTargetModel",
          "documentation":"<p>The default model to use when the routing criteria is not met.</p>"
        },
        "tags":{
          "shape":"TagList",
          "documentation":"<p>An array of key-value pairs to apply to this resource as tags. You can use tags to categorize and manage your Amazon Web Services resources.</p>"
        }
      }
    },
    "CreatePromptRouterResponse":{
      "type":"structure",
      "members":{
        "promptRouterArn":{
          "shape":"PromptRouterArn",
          "documentation":"<p>The Amazon Resource Name (ARN) that uniquely identifies the prompt router.</p>"
        }
      }
    },
    "CreateProvisionedModelThroughputRequest":{
      "type":"structure",
      "required":[
        "modelUnits",
        "provisionedModelName",
        "modelId"
      ],
      "members":{
        "clientRequestToken":{
          "shape":"IdempotencyToken",
          "documentation":"<p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html\">Ensuring idempotency</a> in the Amazon S3 User Guide.</p>",
          "idempotencyToken":true
        },
        "modelUnits":{
          "shape":"PositiveInteger",
          "documentation":"<p>Number of model units to allocate. A model unit delivers a specific throughput level for the specified model. The throughput level of a model unit specifies the total number of input and output tokens that it can process and generate within a span of one minute. By default, your account has no model units for purchasing Provisioned Throughputs with commitment. You must first visit the <a href=\"https://console.aws.amazon.com/support/home#/case/create?issueType=service-limit-increase\">Amazon Web Services support center</a> to request MUs.</p> <p>For model unit quotas, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/quotas.html#prov-thru-quotas\">Provisioned Throughput quotas</a> in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html\">Amazon Bedrock User Guide</a>.</p> <p>For more information about what an MU specifies, contact your Amazon Web Services account manager.</p>"
        },
        "provisionedModelName":{
          "shape":"ProvisionedModelName",
          "documentation":"<p>The name for this Provisioned Throughput.</p>"
        },
        "modelId":{
          "shape":"ModelIdentifier",
          "documentation":"<p>The Amazon Resource Name (ARN) or name of the model to associate with this Provisioned Throughput. For a list of models for which you can purchase Provisioned Throughput, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#prov-throughput-models\">Amazon Bedrock model IDs for purchasing Provisioned Throughput</a> in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html\">Amazon Bedrock User Guide</a>.</p>"
        },
        "commitmentDuration":{
          "shape":"CommitmentDuration",
          "documentation":"<p>The commitment duration requested for the Provisioned Throughput. Billing occurs hourly and is discounted for longer commitment terms. To request a no-commit Provisioned Throughput, omit this field.</p> <p>Custom models support all levels of commitment. To see which base models support no commitment, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/pt-supported.html\">Supported regions and models for Provisioned Throughput</a> in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html\">Amazon Bedrock User Guide</a> </p>"
        },
        "tags":{
          "shape":"TagList",
          "documentation":"<p>Tags to associate with this Provisioned Throughput.</p>"
        }
      }
    },
    "CreateProvisionedModelThroughputResponse":{
      "type":"structure",
      "required":["provisionedModelArn"],
      "members":{
        "provisionedModelArn":{
          "shape":"ProvisionedModelArn",
          "documentation":"<p>The Amazon Resource Name (ARN) for this Provisioned Throughput.</p>"
        }
      }
    },
    "CustomModelArn":{
      "type":"string",
      "max":1011,
      "min":20,
      "pattern":"arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}/[a-z0-9]{12}"
    },
    "CustomModelName":{
      "type":"string",
      "max":63,
      "min":1,
      "pattern":"([0-9a-zA-Z][_-]?){1,63}"
    },
    "CustomModelSummary":{
      "type":"structure",
      "required":[
        "modelArn",
        "modelName",
        "creationTime",
        "baseModelArn",
        "baseModelName"
      ],
      "members":{
        "modelArn":{
          "shape":"CustomModelArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the custom model.</p>"
        },
        "modelName":{
          "shape":"CustomModelName",
          "documentation":"<p>The name of the custom model.</p>"
        },
        "creationTime":{
          "shape":"Timestamp",
          "documentation":"<p>Creation time of the model.</p>"
        },
        "baseModelArn":{
          "shape":"ModelArn",
          "documentation":"<p>The base model Amazon Resource Name (ARN).</p>"
        },
        "baseModelName":{
          "shape":"ModelName",
          "documentation":"<p>The base model name.</p>"
        },
        "customizationType":{
          "shape":"CustomizationType",
          "documentation":"<p>Specifies whether to carry out continued pre-training of a model or whether to fine-tune it. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html\">Custom models</a>.</p>"
        },
        "ownerAccountId":{
          "shape":"AccountId",
          "documentation":"<p>The unique identifier of the account that owns the model.</p>"
        }
      },
      "documentation":"<p>Summary information for a custom model.</p>"
    },
    "CustomModelSummaryList":{
      "type":"list",
      "member":{"shape":"CustomModelSummary"}
    },
    "CustomModelUnits":{
      "type":"structure",
      "members":{
        "customModelUnitsPerModelCopy":{
          "shape":"Integer",
          "documentation":"<p>The number of custom model units used to host a model copy. </p>"
        },
        "customModelUnitsVersion":{
          "shape":"CustomModelUnitsVersion",
          "documentation":"<p>The version of the custom model unit. Use to determine the billing rate for the custom model unit.</p>"
        }
      },
      "documentation":"<p>A <code>CustomModelUnit</code> (CMU) is an abstract view of the hardware utilization that Amazon Bedrock needs to host a single copy of your custom model. A model copy represents a single instance of your imported model that is ready to serve inference requests. Amazon Bedrock determines the number of custom model units that a model copy needs when you import the custom model. </p> <p>You can use <code>CustomModelUnits</code> to estimate the cost of running your custom model. For more information, see Calculate the cost of running a custom model in the Amazon Bedrock user guide. </p>"
    },
    "CustomModelUnitsVersion":{
      "type":"string",
      "pattern":"v\\d+.\\d+"
    },
    "CustomizationConfig":{
      "type":"structure",
      "members":{
        "distillationConfig":{
          "shape":"DistillationConfig",
          "documentation":"<p>The distillation configuration for the custom model.</p>"
        }
      },
      "documentation":"<p>A model customization configuration</p>",
      "union":true
    },
    "CustomizationType":{
      "type":"string",
      "enum":[
        "FINE_TUNING",
        "CONTINUED_PRE_TRAINING",
        "DISTILLATION"
      ]
    },
    "DeleteCustomModelRequest":{
      "type":"structure",
      "required":["modelIdentifier"],
      "members":{
        "modelIdentifier":{
          "shape":"ModelIdentifier",
          "documentation":"<p>Name of the model to delete.</p>",
          "location":"uri",
          "locationName":"modelIdentifier"
        }
      }
    },
    "DeleteCustomModelResponse":{
      "type":"structure",
      "members":{
      }
    },
    "DeleteGuardrailRequest":{
      "type":"structure",
      "required":["guardrailIdentifier"],
      "members":{
        "guardrailIdentifier":{
          "shape":"GuardrailIdentifier",
          "documentation":"<p>The unique identifier of the guardrail. This can be an ID or the ARN.</p>",
          "location":"uri",
          "locationName":"guardrailIdentifier"
        },
        "guardrailVersion":{
          "shape":"GuardrailNumericalVersion",
          "documentation":"<p>The version of the guardrail.</p>",
          "location":"querystring",
          "locationName":"guardrailVersion"
        }
      }
    },
    "DeleteGuardrailResponse":{
      "type":"structure",
      "members":{
      }
    },
    "DeleteImportedModelRequest":{
      "type":"structure",
      "required":["modelIdentifier"],
      "members":{
        "modelIdentifier":{
          "shape":"ImportedModelIdentifier",
          "documentation":"<p>Name of the imported model to delete.</p>",
          "location":"uri",
          "locationName":"modelIdentifier"
        }
      }
    },
    "DeleteImportedModelResponse":{
      "type":"structure",
      "members":{
      }
    },
    "DeleteInferenceProfileRequest":{
      "type":"structure",
      "required":["inferenceProfileIdentifier"],
      "members":{
        "inferenceProfileIdentifier":{
          "shape":"InferenceProfileIdentifier",
          "documentation":"<p>The Amazon Resource Name (ARN) or ID of the application inference profile to delete.</p>",
          "location":"uri",
          "locationName":"inferenceProfileIdentifier"
        }
      }
    },
    "DeleteInferenceProfileResponse":{
      "type":"structure",
      "members":{
      }
    },
    "DeleteMarketplaceModelEndpointRequest":{
      "type":"structure",
      "required":["endpointArn"],
      "members":{
        "endpointArn":{
          "shape":"Arn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the endpoint you want to delete.</p>",
          "location":"uri",
          "locationName":"endpointArn"
        }
      }
    },
    "DeleteMarketplaceModelEndpointResponse":{
      "type":"structure",
      "members":{
      }
    },
    "DeleteModelInvocationLoggingConfigurationRequest":{
      "type":"structure",
      "members":{
      }
    },
    "DeleteModelInvocationLoggingConfigurationResponse":{
      "type":"structure",
      "members":{
      }
    },
    "DeletePromptRouterRequest":{
      "type":"structure",
      "required":["promptRouterArn"],
      "members":{
        "promptRouterArn":{
          "shape":"PromptRouterArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the prompt router to delete.</p>",
          "location":"uri",
          "locationName":"promptRouterArn"
        }
      }
    },
    "DeletePromptRouterResponse":{
      "type":"structure",
      "members":{
      }
    },
    "DeleteProvisionedModelThroughputRequest":{
      "type":"structure",
      "required":["provisionedModelId"],
      "members":{
        "provisionedModelId":{
          "shape":"ProvisionedModelId",
          "documentation":"<p>The Amazon Resource Name (ARN) or name of the Provisioned Throughput.</p>",
          "location":"uri",
          "locationName":"provisionedModelId"
        }
      }
    },
    "DeleteProvisionedModelThroughputResponse":{
      "type":"structure",
      "members":{
      }
    },
    "DeregisterMarketplaceModelEndpointRequest":{
      "type":"structure",
      "required":["endpointArn"],
      "members":{
        "endpointArn":{
          "shape":"Arn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the endpoint you want to deregister.</p>",
          "location":"uri",
          "locationName":"endpointArn"
        }
      }
    },
    "DeregisterMarketplaceModelEndpointResponse":{
      "type":"structure",
      "members":{
      }
    },
    "DistillationConfig":{
      "type":"structure",
      "required":["teacherModelConfig"],
      "members":{
        "teacherModelConfig":{
          "shape":"TeacherModelConfig",
          "documentation":"<p>The teacher model configuration.</p>"
        }
      },
      "documentation":"<p>Settings for distilling a foundation model into a smaller and more efficient model.</p>"
    },
    "EndpointConfig":{
      "type":"structure",
      "members":{
        "sageMaker":{
          "shape":"SageMakerEndpoint",
          "documentation":"<p>The configuration specific to Amazon SageMaker for the endpoint.</p>"
        }
      },
      "documentation":"<p>Specifies the configuration for the endpoint.</p>",
      "union":true
    },
    "EndpointName":{
      "type":"string",
      "max":30,
      "min":1
    },
    "ErrorMessage":{
      "type":"string",
      "max":2048,
      "min":0
    },
    "ErrorMessages":{
      "type":"list",
      "member":{"shape":"ErrorMessage"},
      "max":20,
      "min":0
    },
    "EvaluationBedrockKnowledgeBaseIdentifiers":{
      "type":"list",
      "member":{"shape":"KnowledgeBaseId"},
      "max":1,
      "min":0
    },
    "EvaluationBedrockModel":{
      "type":"structure",
      "required":["modelIdentifier"],
      "members":{
        "modelIdentifier":{
          "shape":"EvaluationBedrockModelIdentifier",
          "documentation":"<p>The ARN of the Amazon Bedrock model or inference profile specified.</p>"
        },
        "inferenceParams":{
          "shape":"EvaluationModelInferenceParams",
          "documentation":"<p>Each Amazon Bedrock support different inference parameters that change how the model behaves during inference.</p>"
        },
        "performanceConfig":{
          "shape":"PerformanceConfiguration",
          "documentation":"<p>Specifies performance settings for the model or inference profile.</p>"
        }
      },
      "documentation":"<p>Contains the ARN of the Amazon Bedrock model or <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html\">inference profile</a> specified in your evaluation job. Each Amazon Bedrock model supports different <code>inferenceParams</code>. To learn more about supported inference parameters for Amazon Bedrock models, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html\">Inference parameters for foundation models</a>.</p> <p>The <code>inferenceParams</code> are specified using JSON. To successfully insert JSON as string make sure that all quotations are properly escaped. For example, <code>\"temperature\":\"0.25\"</code> key value pair would need to be formatted as <code>\\\"temperature\\\":\\\"0.25\\\"</code> to successfully accepted in the request.</p>"
    },
    "EvaluationBedrockModelIdentifier":{
      "type":"string",
      "max":2048,
      "min":1,
      "pattern":"(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:((:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:provisioned-model/[a-z0-9]{12})|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:application-inference-profile/[a-z0-9]{12})|([0-9]{12}:inference-profile/(([a-z-]{2,8}.)[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63})))|([0-9]{12}:(default-prompt-router|prompt-router)/[a-zA-Z0-9-:.]+)))|(([a-z]{2}[.]{1})([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|arn:aws(-[^:]+)?:sagemaker:[a-z0-9-]{1,20}:[0-9]{12}:endpoint/[a-z0-9-]{1,63}"
    },
    "EvaluationBedrockModelIdentifiers":{
      "type":"list",
      "member":{"shape":"EvaluationBedrockModelIdentifier"},
      "max":2,
      "min":0
    },
    "EvaluationConfig":{
      "type":"structure",
      "members":{
        "automated":{
          "shape":"AutomatedEvaluationConfig",
          "documentation":"<p>Contains the configuration details of an automated evaluation job that computes metrics.</p>"
        },
        "human":{
          "shape":"HumanEvaluationConfig",
          "documentation":"<p>Contains the configuration details of an evaluation job that uses human workers.</p>"
        }
      },
      "documentation":"<p>The configuration details of either an automated or human-based evaluation job.</p>",
      "union":true
    },
    "EvaluationDataset":{
      "type":"structure",
      "required":["name"],
      "members":{
        "name":{
          "shape":"EvaluationDatasetName",
          "documentation":"<p>Used to specify supported built-in prompt datasets. Valid values are <code>Builtin.Bold</code>, <code>Builtin.BoolQ</code>, <code>Builtin.NaturalQuestions</code>, <code>Builtin.Gigaword</code>, <code>Builtin.RealToxicityPrompts</code>, <code>Builtin.TriviaQA</code>, <code>Builtin.T-Rex</code>, <code>Builtin.WomensEcommerceClothingReviews</code> and <code>Builtin.Wikitext2</code>.</p>"
        },
        "datasetLocation":{
          "shape":"EvaluationDatasetLocation",
          "documentation":"<p>For custom prompt datasets, you must specify the location in Amazon S3 where the prompt dataset is saved.</p>"
        }
      },
      "documentation":"<p>Used to specify the name of a built-in prompt dataset and optionally, the Amazon S3 bucket where a custom prompt dataset is saved.</p>"
    },
    "EvaluationDatasetLocation":{
      "type":"structure",
      "members":{
        "s3Uri":{
          "shape":"S3Uri",
          "documentation":"<p>The S3 URI of the S3 bucket specified in the job.</p>"
        }
      },
      "documentation":"<p>The location in Amazon S3 where your prompt dataset is stored.</p>",
      "union":true
    },
    "EvaluationDatasetMetricConfig":{
      "type":"structure",
      "required":[
        "taskType",
        "dataset",
        "metricNames"
      ],
      "members":{
        "taskType":{
          "shape":"EvaluationTaskType",
          "documentation":"<p>The the type of task you want to evaluate for your evaluation job. This applies only to model evaluation jobs and is ignored for knowledge base evaluation jobs.</p>"
        },
        "dataset":{
          "shape":"EvaluationDataset",
          "documentation":"<p>Specifies the prompt dataset.</p>"
        },
        "metricNames":{
          "shape":"EvaluationMetricNames",
          "documentation":"<p>The names of the metrics you want to use for your evaluation job.</p> <p>For knowledge base evaluation jobs that evaluate retrieval only, valid values are \"<code>Builtin.ContextRelevance</code>\", \"<code>Builtin.ContextConverage</code>\".</p> <p>For knowledge base evaluation jobs that evaluate retrieval with response generation, valid values are \"<code>Builtin.Correctness</code>\", \"<code>Builtin.Completeness</code>\", \"<code>Builtin.Helpfulness</code>\", \"<code>Builtin.LogicalCoherence</code>\", \"<code>Builtin.Faithfulness</code>\", \"<code>Builtin.Harmfulness</code>\", \"<code>Builtin.Stereotyping</code>\", \"<code>Builtin.Refusal</code>\".</p> <p>For automated model evaluation jobs, valid values are \"<code>Builtin.Accuracy</code>\", \"<code>Builtin.Robustness</code>\", and \"<code>Builtin.Toxicity</code>\". In model evaluation jobs that use a LLM as judge you can specify \"<code>Builtin.Correctness</code>\", \"<code>Builtin.Completeness\"</code>, \"<code>Builtin.Faithfulness\"</code>, \"<code>Builtin.Helpfulness</code>\", \"<code>Builtin.Coherence</code>\", \"<code>Builtin.Relevance</code>\", \"<code>Builtin.FollowingInstructions</code>\", \"<code>Builtin.ProfessionalStyleAndTone</code>\", You can also specify the following responsible AI related metrics only for model evaluation job that use a LLM as judge \"<code>Builtin.Harmfulness</code>\", \"<code>Builtin.Stereotyping</code>\", and \"<code>Builtin.Refusal</code>\".</p> <p>For human-based model evaluation jobs, the list of strings must match the <code>name</code> parameter specified in <code>HumanEvaluationCustomMetric</code>.</p>"
        }
      },
      "documentation":"<p>Defines the prompt datasets, built-in metric names and custom metric names, and the task type.</p>"
    },
    "EvaluationDatasetMetricConfigs":{
      "type":"list",
      "member":{"shape":"EvaluationDatasetMetricConfig"},
      "max":5,
      "min":1
    },
    "EvaluationDatasetName":{
      "type":"string",
      "max":63,
      "min":1,
      "pattern":"[0-9a-zA-Z-_.]+",
      "sensitive":true
    },
    "EvaluationInferenceConfig":{
      "type":"structure",
      "members":{
        "models":{
          "shape":"EvaluationModelConfigs",
          "documentation":"<p>Specifies the inference models.</p>"
        },
        "ragConfigs":{
          "shape":"RagConfigs",
          "documentation":"<p>Contains the configuration details of the inference for a knowledge base evaluation job, including either the retrieval only configuration or the retrieval with response generation configuration.</p>"
        }
      },
      "documentation":"<p>The configuration details of the inference model for an evaluation job.</p> <p>For automated model evaluation jobs, only a single model is supported.</p> <p>For human-based model evaluation jobs, your annotator can compare the responses for up to two different models.</p>",
      "union":true
    },
    "EvaluationInferenceConfigSummary":{
      "type":"structure",
      "members":{
        "modelConfigSummary":{
          "shape":"EvaluationModelConfigSummary",
          "documentation":"<p>A summary of the models used in an Amazon Bedrock model evaluation job. These resources can be models in Amazon Bedrock or models outside of Amazon Bedrock that you use to generate your own inference response data.</p>"
        },
        "ragConfigSummary":{
          "shape":"EvaluationRagConfigSummary",
          "documentation":"<p>A summary of the RAG resources used in an Amazon Bedrock Knowledge Base evaluation job. These resources can be Knowledge Bases in Amazon Bedrock or RAG sources outside of Amazon Bedrock that you use to generate your own inference response data.</p>"
        }
      },
      "documentation":"<p>Identifies the models, Knowledge Bases, or other RAG sources evaluated in a model or Knowledge Base evaluation job.</p>"
    },
    "EvaluationJobArn":{
      "type":"string",
      "max":1011,
      "min":0,
      "pattern":"arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:evaluation-job/[a-z0-9]{12}"
    },
    "EvaluationJobDescription":{
      "type":"string",
      "max":200,
      "min":1,
      "pattern":".+",
      "sensitive":true
    },
    "EvaluationJobIdentifier":{
      "type":"string",
      "max":1011,
      "min":0,
      "pattern":"(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:evaluation-job/[a-z0-9]{12})",
      "sensitive":true
    },
    "EvaluationJobIdentifiers":{
      "type":"list",
      "member":{"shape":"EvaluationJobIdentifier"},
      "max":25,
      "min":1
    },
    "EvaluationJobName":{
      "type":"string",
      "max":63,
      "min":1,
      "pattern":"[a-z0-9](-*[a-z0-9]){0,62}"
    },
    "EvaluationJobStatus":{
      "type":"string",
      "enum":[
        "InProgress",
        "Completed",
        "Failed",
        "Stopping",
        "Stopped",
        "Deleting"
      ]
    },
    "EvaluationJobType":{
      "type":"string",
      "enum":[
        "Human",
        "Automated"
      ]
    },
    "EvaluationMetricDescription":{
      "type":"string",
      "max":63,
      "min":1,
      "pattern":".+",
      "sensitive":true
    },
    "EvaluationMetricName":{
      "type":"string",
      "max":63,
      "min":1,
      "pattern":"[0-9a-zA-Z-_.]+",
      "sensitive":true
    },
    "EvaluationMetricNames":{
      "type":"list",
      "member":{"shape":"EvaluationMetricName"},
      "max":15,
      "min":1
    },
    "EvaluationModelConfig":{
      "type":"structure",
      "members":{
        "bedrockModel":{
          "shape":"EvaluationBedrockModel",
          "documentation":"<p>Defines the Amazon Bedrock model or inference profile and inference parameters you want used.</p>"
        },
        "precomputedInferenceSource":{
          "shape":"EvaluationPrecomputedInferenceSource",
          "documentation":"<p>Defines the model used to generate inference response data for a model evaluation job where you provide your own inference response data.</p>"
        }
      },
      "documentation":"<p>Defines the models used in the model evaluation job.</p>",
      "union":true
    },
    "EvaluationModelConfigSummary":{
      "type":"structure",
      "members":{
        "bedrockModelIdentifiers":{
          "shape":"EvaluationBedrockModelIdentifiers",
          "documentation":"<p>The Amazon Resource Names (ARNs) of the models used for the evaluation job.</p>"
        },
        "precomputedInferenceSourceIdentifiers":{
          "shape":"EvaluationPrecomputedInferenceSourceIdentifiers",
          "documentation":"<p>A label that identifies the models used for a model evaluation job where you provide your own inference response data.</p>"
        }
      },
      "documentation":"<p>A summary of the models used in an Amazon Bedrock model evaluation job. These resources can be models in Amazon Bedrock or models outside of Amazon Bedrock that you use to generate your own inference response data.</p>"
    },
    "EvaluationModelConfigs":{
      "type":"list",
      "member":{"shape":"EvaluationModelConfig"},
      "max":2,
      "min":1
    },
    "EvaluationModelInferenceParams":{
      "type":"string",
      "max":1023,
      "min":1,
      "sensitive":true
    },
    "EvaluationOutputDataConfig":{
      "type":"structure",
      "required":["s3Uri"],
      "members":{
        "s3Uri":{
          "shape":"S3Uri",
          "documentation":"<p>The Amazon S3 URI where the results of the evaluation job are saved.</p>"
        }
      },
      "documentation":"<p>The Amazon S3 location where the results of your evaluation job are saved.</p>"
    },
    "EvaluationPrecomputedInferenceSource":{
      "type":"structure",
      "required":["inferenceSourceIdentifier"],
      "members":{
        "inferenceSourceIdentifier":{
          "shape":"EvaluationPrecomputedInferenceSourceIdentifier",
          "documentation":"<p>A label that identifies a model used in a model evaluation job where you provide your own inference response data.</p>"
        }
      },
      "documentation":"<p>A summary of a model used for a model evaluation job where you provide your own inference response data.</p>"
    },
    "EvaluationPrecomputedInferenceSourceIdentifier":{
      "type":"string",
      "max":256,
      "min":1,
      "pattern":"[a-zA-Z0-9]([a-zA-Z0-9._-]){0,255}"
    },
    "EvaluationPrecomputedInferenceSourceIdentifiers":{
      "type":"list",
      "member":{"shape":"EvaluationPrecomputedInferenceSourceIdentifier"},
      "max":2,
      "min":0
    },
    "EvaluationPrecomputedRagSourceConfig":{
      "type":"structure",
      "members":{
        "retrieveSourceConfig":{
          "shape":"EvaluationPrecomputedRetrieveSourceConfig",
          "documentation":"<p>A summary of a RAG source used for a retrieve-only Knowledge Base evaluation job where you provide your own inference response data.</p>"
        },
        "retrieveAndGenerateSourceConfig":{
          "shape":"EvaluationPrecomputedRetrieveAndGenerateSourceConfig",
          "documentation":"<p>A summary of a RAG source used for a retrieve-and-generate Knowledge Base evaluation job where you provide your own inference response data.</p>"
        }
      },
      "documentation":"<p>A summary of a RAG source used for a Knowledge Base evaluation job where you provide your own inference response data.</p>",
      "union":true
    },
    "EvaluationPrecomputedRagSourceIdentifier":{
      "type":"string",
      "max":256,
      "min":1,
      "pattern":"[a-zA-Z0-9]([a-zA-Z0-9._-]){0,255}"
    },
    "EvaluationPrecomputedRagSourceIdentifiers":{
      "type":"list",
      "member":{"shape":"EvaluationPrecomputedRagSourceIdentifier"},
      "max":1,
      "min":0
    },
    "EvaluationPrecomputedRetrieveAndGenerateSourceConfig":{
      "type":"structure",
      "required":["ragSourceIdentifier"],
      "members":{
        "ragSourceIdentifier":{
          "shape":"EvaluationPrecomputedRagSourceIdentifier",
          "documentation":"<p>A label that identifies the RAG source used for a retrieve-and-generate Knowledge Base evaluation job where you provide your own inference response data.</p>"
        }
      },
      "documentation":"<p>A summary of a RAG source used for a retrieve-and-generate Knowledge Base evaluation job where you provide your own inference response data.</p>"
    },
    "EvaluationPrecomputedRetrieveSourceConfig":{
      "type":"structure",
      "required":["ragSourceIdentifier"],
      "members":{
        "ragSourceIdentifier":{
          "shape":"EvaluationPrecomputedRagSourceIdentifier",
          "documentation":"<p>A label that identifies the RAG source used for a retrieve-only Knowledge Base evaluation job where you provide your own inference response data.</p>"
        }
      },
      "documentation":"<p>A summary of a RAG source used for a retrieve-only Knowledge Base evaluation job where you provide your own inference response data.</p>"
    },
    "EvaluationRagConfigSummary":{
      "type":"structure",
      "members":{
        "bedrockKnowledgeBaseIdentifiers":{
          "shape":"EvaluationBedrockKnowledgeBaseIdentifiers",
          "documentation":"<p>The Amazon Resource Names (ARNs) of the Knowledge Base resources used for a Knowledge Base evaluation job where Amazon Bedrock invokes the Knowledge Base for you.</p>"
        },
        "precomputedRagSourceIdentifiers":{
          "shape":"EvaluationPrecomputedRagSourceIdentifiers",
          "documentation":"<p>A label that identifies the RAG sources used for a Knowledge Base evaluation job where you provide your own inference response data.</p>"
        }
      },
      "documentation":"<p>A summary of the RAG resources used in an Amazon Bedrock Knowledge Base evaluation job. These resources can be Knowledge Bases in Amazon Bedrock or RAG sources outside of Amazon Bedrock that you use to generate your own inference response data.</p>"
    },
    "EvaluationRatingMethod":{
      "type":"string",
      "max":100,
      "min":1,
      "pattern":"[0-9a-zA-Z-_]+"
    },
    "EvaluationSummaries":{
      "type":"list",
      "member":{"shape":"EvaluationSummary"},
      "max":5,
      "min":1
    },
    "EvaluationSummary":{
      "type":"structure",
      "required":[
        "jobArn",
        "jobName",
        "status",
        "creationTime",
        "jobType",
        "evaluationTaskTypes"
      ],
      "members":{
        "jobArn":{
          "shape":"EvaluationJobArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the evaluation job.</p>"
        },
        "jobName":{
          "shape":"EvaluationJobName",
          "documentation":"<p>The name for the evaluation job.</p>"
        },
        "status":{
          "shape":"EvaluationJobStatus",
          "documentation":"<p>The current status of the evaluation job.</p>"
        },
        "creationTime":{
          "shape":"Timestamp",
          "documentation":"<p>The time the evaluation job was created.</p>"
        },
        "jobType":{
          "shape":"EvaluationJobType",
          "documentation":"<p>Specifies whether the evaluation job is automated or human-based.</p>"
        },
        "evaluationTaskTypes":{
          "shape":"EvaluationTaskTypes",
          "documentation":"<p>The type of task for model evaluation.</p>"
        },
        "modelIdentifiers":{
          "shape":"EvaluationBedrockModelIdentifiers",
          "documentation":"<p>The Amazon Resource Names (ARNs) of the model(s) used for the evaluation job.</p>",
          "deprecated":true,
          "deprecatedMessage":"Inference identifiers should be retrieved from the inferenceConfigSummary"
        },
        "ragIdentifiers":{
          "shape":"EvaluationBedrockKnowledgeBaseIdentifiers",
          "documentation":"<p>The Amazon Resource Names (ARNs) of the knowledge base resources used for a knowledge base evaluation job.</p>",
          "deprecated":true,
          "deprecatedMessage":"Inference identifiers should be retrieved from the inferenceConfigSummary"
        },
        "evaluatorModelIdentifiers":{
          "shape":"EvaluatorModelIdentifiers",
          "documentation":"<p>The Amazon Resource Names (ARNs) of the models used to compute the metrics for a knowledge base evaluation job.</p>"
        },
        "inferenceConfigSummary":{
          "shape":"EvaluationInferenceConfigSummary",
          "documentation":"<p>Identifies the models, Knowledge Bases, or other RAG sources evaluated in a model or Knowledge Base evaluation job.</p>"
        },
        "applicationType":{
          "shape":"ApplicationType",
          "documentation":"<p>Specifies whether the evaluation job is for evaluating a model or evaluating a knowledge base (retrieval and response generation).</p>"
        }
      },
      "documentation":"<p>Summary information of an evaluation job.</p>"
    },
    "EvaluationTaskType":{
      "type":"string",
      "enum":[
        "Summarization",
        "Classification",
        "QuestionAndAnswer",
        "Generation",
        "Custom"
      ],
      "max":63,
      "min":1,
      "pattern":"[A-Za-z0-9]+"
    },
    "EvaluationTaskTypes":{
      "type":"list",
      "member":{"shape":"EvaluationTaskType"},
      "max":5,
      "min":1
    },
    "EvaluatorModelConfig":{
      "type":"structure",
      "members":{
        "bedrockEvaluatorModels":{
          "shape":"BedrockEvaluatorModels",
          "documentation":"<p>The evaluator model used in knowledge base evaluation job or in model evaluation job that use a model as judge. This model computes all evaluation related metrics.</p>"
        }
      },
      "documentation":"<p>Specifies the model configuration for the evaluator model. <code>EvaluatorModelConfig</code> is required for evaluation jobs that use a knowledge base or in model evaluation job that use a model as judge. This model computes all evaluation related metrics.</p>",
      "union":true
    },
    "EvaluatorModelIdentifier":{
      "type":"string",
      "max":2048,
      "min":1,
      "pattern":"(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:((:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:inference-profile/(([a-z-]{2,8}.)[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63})))))$|(^[a-z0-9-]+[.][a-z0-9-]+([.][a-z0-9-]+)*(:[a-z0-9-]+)?$)|^[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}(/[a-z0-9]{12}|)"
    },
    "EvaluatorModelIdentifiers":{
      "type":"list",
      "member":{"shape":"EvaluatorModelIdentifier"},
      "max":1,
      "min":0
    },
    "ExternalSource":{
      "type":"structure",
      "required":["sourceType"],
      "members":{
        "sourceType":{
          "shape":"ExternalSourceType",
          "documentation":"<p>The source type of the external source wrapper object.</p>"
        },
        "s3Location":{
          "shape":"S3ObjectDoc",
          "documentation":"<p>The S3 location of the external source wrapper object.</p>"
        },
        "byteContent":{
          "shape":"ByteContentDoc",
          "documentation":"<p>The identifier, content type, and data of the external source wrapper object.</p>"
        }
      },
      "documentation":"<p>The unique external source of the content contained in the wrapper object.</p>"
    },
    "ExternalSourceType":{
      "type":"string",
      "enum":[
        "S3",
        "BYTE_CONTENT"
      ]
    },
    "ExternalSources":{
      "type":"list",
      "member":{"shape":"ExternalSource"},
      "max":1,
      "min":1
    },
    "ExternalSourcesGenerationConfiguration":{
      "type":"structure",
      "members":{
        "promptTemplate":{
          "shape":"PromptTemplate",
          "documentation":"<p>Contains the template for the prompt for the external source wrapper object.</p>"
        },
        "guardrailConfiguration":{
          "shape":"GuardrailConfiguration",
          "documentation":"<p>Configuration details for the guardrail.</p>"
        },
        "kbInferenceConfig":{
          "shape":"KbInferenceConfig",
          "documentation":"<p>Configuration details for inference when using <code>RetrieveAndGenerate</code> to generate responses while using an external source.</p>"
        },
        "additionalModelRequestFields":{
          "shape":"AdditionalModelRequestFields",
          "documentation":"<p>Additional model parameters and their corresponding values not included in the text inference configuration for an external source. Takes in custom model parameters specific to the language model being used.</p>"
        }
      },
      "documentation":"<p>The response generation configuration of the external source wrapper object.</p>"
    },
    "ExternalSourcesRetrieveAndGenerateConfiguration":{
      "type":"structure",
      "required":[
        "modelArn",
        "sources"
      ],
      "members":{
        "modelArn":{
          "shape":"BedrockModelArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the foundation model or <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html\">inference profile</a> used to generate responses. </p>"
        },
        "sources":{
          "shape":"ExternalSources",
          "documentation":"<p>The document for the external source wrapper object in the <code>retrieveAndGenerate</code> function.</p>"
        },
        "generationConfiguration":{
          "shape":"ExternalSourcesGenerationConfiguration",
          "documentation":"<p>Contains configurations details for response generation based on retrieved text chunks.</p>"
        }
      },
      "documentation":"<p>The configuration of the external source wrapper object in the <code>retrieveAndGenerate</code> function.</p>"
    },
    "FilterAttribute":{
      "type":"structure",
      "required":[
        "key",
        "value"
      ],
      "members":{
        "key":{
          "shape":"FilterKey",
          "documentation":"<p>The name of metadata attribute/field, which must match the name in your data source/document metadata.</p>"
        },
        "value":{
          "shape":"FilterValue",
          "documentation":"<p>The value of the metadata attribute/field.</p>"
        }
      },
      "documentation":"<p>Specifies the name of the metadata attribute/field to apply filters. You must match the name of the attribute/field in your data source/document metadata.</p>"
    },
    "FilterKey":{
      "type":"string",
      "max":100,
      "min":1
    },
    "FilterValue":{
      "type":"structure",
      "members":{
      },
      "document":true
    },
    "FineTuningJobStatus":{
      "type":"string",
      "enum":[
        "InProgress",
        "Completed",
        "Failed",
        "Stopping",
        "Stopped"
      ]
    },
    "FoundationModelArn":{
      "type":"string",
      "pattern":"arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/[a-z0-9-]{1,63}[.]{1}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}"
    },
    "FoundationModelDetails":{
      "type":"structure",
      "required":[
        "modelArn",
        "modelId"
      ],
      "members":{
        "modelArn":{
          "shape":"FoundationModelArn",
          "documentation":"<p>The model Amazon Resource Name (ARN).</p>"
        },
        "modelId":{
          "shape":"BedrockModelId",
          "documentation":"<p>The model identifier.</p>"
        },
        "modelName":{
          "shape":"BrandedName",
          "documentation":"<p>The model name.</p>"
        },
        "providerName":{
          "shape":"BrandedName",
          "documentation":"<p>The model's provider name.</p>"
        },
        "inputModalities":{
          "shape":"ModelModalityList",
          "documentation":"<p>The input modalities that the model supports.</p>"
        },
        "outputModalities":{
          "shape":"ModelModalityList",
          "documentation":"<p>The output modalities that the model supports.</p>"
        },
        "responseStreamingSupported":{
          "shape":"Boolean",
          "documentation":"<p>Indicates whether the model supports streaming.</p>"
        },
        "customizationsSupported":{
          "shape":"ModelCustomizationList",
          "documentation":"<p>The customization that the model supports.</p>"
        },
        "inferenceTypesSupported":{
          "shape":"InferenceTypeList",
          "documentation":"<p>The inference types that the model supports.</p>"
        },
        "modelLifecycle":{
          "shape":"FoundationModelLifecycle",
          "documentation":"<p>Contains details about whether a model version is available or deprecated</p>"
        }
      },
      "documentation":"<p>Information about a foundation model.</p>"
    },
    "FoundationModelLifecycle":{
      "type":"structure",
      "required":["status"],
      "members":{
        "status":{
          "shape":"FoundationModelLifecycleStatus",
          "documentation":"<p>Specifies whether a model version is available (<code>ACTIVE</code>) or deprecated (<code>LEGACY</code>.</p>"
        }
      },
      "documentation":"<p>Details about whether a model version is available or deprecated.</p>"
    },
    "FoundationModelLifecycleStatus":{
      "type":"string",
      "enum":[
        "ACTIVE",
        "LEGACY"
      ]
    },
    "FoundationModelSummary":{
      "type":"structure",
      "required":[
        "modelArn",
        "modelId"
      ],
      "members":{
        "modelArn":{
          "shape":"FoundationModelArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the foundation model.</p>"
        },
        "modelId":{
          "shape":"BedrockModelId",
          "documentation":"<p>The model ID of the foundation model.</p>"
        },
        "modelName":{
          "shape":"BrandedName",
          "documentation":"<p>The name of the model.</p>"
        },
        "providerName":{
          "shape":"BrandedName",
          "documentation":"<p>The model's provider name.</p>"
        },
        "inputModalities":{
          "shape":"ModelModalityList",
          "documentation":"<p>The input modalities that the model supports.</p>"
        },
        "outputModalities":{
          "shape":"ModelModalityList",
          "documentation":"<p>The output modalities that the model supports.</p>"
        },
        "responseStreamingSupported":{
          "shape":"Boolean",
          "documentation":"<p>Indicates whether the model supports streaming.</p>"
        },
        "customizationsSupported":{
          "shape":"ModelCustomizationList",
          "documentation":"<p>Whether the model supports fine-tuning or continual pre-training.</p>"
        },
        "inferenceTypesSupported":{
          "shape":"InferenceTypeList",
          "documentation":"<p>The inference types that the model supports.</p>"
        },
        "modelLifecycle":{
          "shape":"FoundationModelLifecycle",
          "documentation":"<p>Contains details about whether a model version is available or deprecated.</p>"
        }
      },
      "documentation":"<p>Summary information for a foundation model.</p>"
    },
    "FoundationModelSummaryList":{
      "type":"list",
      "member":{"shape":"FoundationModelSummary"}
    },
    "GenerationConfiguration":{
      "type":"structure",
      "members":{
        "promptTemplate":{
          "shape":"PromptTemplate",
          "documentation":"<p>Contains the template for the prompt that's sent to the model for response generation.</p>"
        },
        "guardrailConfiguration":{
          "shape":"GuardrailConfiguration",
          "documentation":"<p>Contains configuration details for the guardrail.</p>"
        },
        "kbInferenceConfig":{
          "shape":"KbInferenceConfig",
          "documentation":"<p>Contains configuration details for inference for knowledge base retrieval and response generation.</p>"
        },
        "additionalModelRequestFields":{
          "shape":"AdditionalModelRequestFields",
          "documentation":"<p>Additional model parameters and corresponding values not included in the <code>textInferenceConfig</code> structure for a knowledge base. This allows you to provide custom model parameters specific to the language model being used.</p>"
        }
      },
      "documentation":"<p>The configuration details for response generation based on retrieved text chunks.</p>"
    },
    "GetCustomModelRequest":{
      "type":"structure",
      "required":["modelIdentifier"],
      "members":{
        "modelIdentifier":{
          "shape":"ModelIdentifier",
          "documentation":"<p>Name or Amazon Resource Name (ARN) of the custom model.</p>",
          "location":"uri",
          "locationName":"modelIdentifier"
        }
      }
    },
    "GetCustomModelResponse":{
      "type":"structure",
      "required":[
        "modelArn",
        "modelName",
        "jobArn",
        "baseModelArn",
        "trainingDataConfig",
        "outputDataConfig",
        "creationTime"
      ],
      "members":{
        "modelArn":{
          "shape":"ModelArn",
          "documentation":"<p>Amazon Resource Name (ARN) associated with this model.</p>"
        },
        "modelName":{
          "shape":"CustomModelName",
          "documentation":"<p>Model name associated with this model.</p>"
        },
        "jobName":{
          "shape":"JobName",
          "documentation":"<p>Job name associated with this model.</p>"
        },
        "jobArn":{
          "shape":"ModelCustomizationJobArn",
          "documentation":"<p>Job Amazon Resource Name (ARN) associated with this model.</p>"
        },
        "baseModelArn":{
          "shape":"ModelArn",
          "documentation":"<p>Amazon Resource Name (ARN) of the base model.</p>"
        },
        "customizationType":{
          "shape":"CustomizationType",
          "documentation":"<p>The type of model customization.</p>"
        },
        "modelKmsKeyArn":{
          "shape":"KmsKeyArn",
          "documentation":"<p>The custom model is encrypted at rest using this key.</p>"
        },
        "hyperParameters":{
          "shape":"ModelCustomizationHyperParameters",
          "documentation":"<p>Hyperparameter values associated with this model. For details on the format for different models, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models-hp.html\">Custom model hyperparameters</a>.</p>"
        },
        "trainingDataConfig":{
          "shape":"TrainingDataConfig",
          "documentation":"<p>Contains information about the training dataset.</p>"
        },
        "validationDataConfig":{
          "shape":"ValidationDataConfig",
          "documentation":"<p>Contains information about the validation dataset.</p>"
        },
        "outputDataConfig":{
          "shape":"OutputDataConfig",
          "documentation":"<p>Output data configuration associated with this custom model.</p>"
        },
        "trainingMetrics":{
          "shape":"TrainingMetrics",
          "documentation":"<p>Contains training metrics from the job creation.</p>"
        },
        "validationMetrics":{
          "shape":"ValidationMetrics",
          "documentation":"<p>The validation metrics from the job creation.</p>"
        },
        "creationTime":{
          "shape":"Timestamp",
          "documentation":"<p>Creation time of the model.</p>"
        },
        "customizationConfig":{
          "shape":"CustomizationConfig",
          "documentation":"<p>The customization configuration for the custom model.</p>"
        }
      }
    },
    "GetEvaluationJobRequest":{
      "type":"structure",
      "required":["jobIdentifier"],
      "members":{
        "jobIdentifier":{
          "shape":"EvaluationJobIdentifier",
          "documentation":"<p>The Amazon Resource Name (ARN) of the evaluation job you want get information on.</p>",
          "location":"uri",
          "locationName":"jobIdentifier"
        }
      }
    },
    "GetEvaluationJobResponse":{
      "type":"structure",
      "required":[
        "jobName",
        "status",
        "jobArn",
        "roleArn",
        "jobType",
        "evaluationConfig",
        "inferenceConfig",
        "outputDataConfig",
        "creationTime"
      ],
      "members":{
        "jobName":{
          "shape":"EvaluationJobName",
          "documentation":"<p>The name for the evaluation job.</p>"
        },
        "status":{
          "shape":"EvaluationJobStatus",
          "documentation":"<p>The current status of the evaluation job.</p>"
        },
        "jobArn":{
          "shape":"EvaluationJobArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the evaluation job.</p>"
        },
        "jobDescription":{
          "shape":"EvaluationJobDescription",
          "documentation":"<p>The description of the evaluation job.</p>"
        },
        "roleArn":{
          "shape":"RoleArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the IAM service role used in the evaluation job.</p>"
        },
        "customerEncryptionKeyId":{
          "shape":"KmsKeyId",
          "documentation":"<p>The Amazon Resource Name (ARN) of the customer managed encryption key specified when the evaluation job was created.</p>"
        },
        "jobType":{
          "shape":"EvaluationJobType",
          "documentation":"<p>Specifies whether the evaluation job is automated or human-based.</p>"
        },
        "applicationType":{
          "shape":"ApplicationType",
          "documentation":"<p>Specifies whether the evaluation job is for evaluating a model or evaluating a knowledge base (retrieval and response generation).</p>"
        },
        "evaluationConfig":{
          "shape":"EvaluationConfig",
          "documentation":"<p>Contains the configuration details of either an automated or human-based evaluation job.</p>"
        },
        "inferenceConfig":{
          "shape":"EvaluationInferenceConfig",
          "documentation":"<p>Contains the configuration details of the inference model used for the evaluation job. </p>"
        },
        "outputDataConfig":{
          "shape":"EvaluationOutputDataConfig",
          "documentation":"<p>Contains the configuration details of the Amazon S3 bucket for storing the results of the evaluation job.</p>"
        },
        "creationTime":{
          "shape":"Timestamp",
          "documentation":"<p>The time the evaluation job was created.</p>"
        },
        "lastModifiedTime":{
          "shape":"Timestamp",
          "documentation":"<p>The time the evaluation job was last modified.</p>"
        },
        "failureMessages":{
          "shape":"ErrorMessages",
          "documentation":"<p>A list of strings that specify why the evaluation job failed to create.</p>"
        }
      }
    },
    "GetFoundationModelRequest":{
      "type":"structure",
      "required":["modelIdentifier"],
      "members":{
        "modelIdentifier":{
          "shape":"ModelIdentifier",
          "documentation":"<p>The model identifier. </p>",
          "location":"uri",
          "locationName":"modelIdentifier"
        }
      }
    },
    "GetFoundationModelResponse":{
      "type":"structure",
      "members":{
        "modelDetails":{
          "shape":"FoundationModelDetails",
          "documentation":"<p>Information about the foundation model.</p>"
        }
      }
    },
    "GetGuardrailRequest":{
      "type":"structure",
      "required":["guardrailIdentifier"],
      "members":{
        "guardrailIdentifier":{
          "shape":"GuardrailIdentifier",
          "documentation":"<p>The unique identifier of the guardrail for which to get details. This can be an ID or the ARN.</p>",
          "location":"uri",
          "locationName":"guardrailIdentifier"
        },
        "guardrailVersion":{
          "shape":"GuardrailVersion",
          "documentation":"<p>The version of the guardrail for which to get details. If you don't specify a version, the response returns details for the <code>DRAFT</code> version.</p>",
          "location":"querystring",
          "locationName":"guardrailVersion"
        }
      }
    },
    "GetGuardrailResponse":{
      "type":"structure",
      "required":[
        "name",
        "guardrailId",
        "guardrailArn",
        "version",
        "status",
        "createdAt",
        "updatedAt",
        "blockedInputMessaging",
        "blockedOutputsMessaging"
      ],
      "members":{
        "name":{
          "shape":"GuardrailName",
          "documentation":"<p>The name of the guardrail.</p>"
        },
        "description":{
          "shape":"GuardrailDescription",
          "documentation":"<p>The description of the guardrail.</p>"
        },
        "guardrailId":{
          "shape":"GuardrailId",
          "documentation":"<p>The unique identifier of the guardrail.</p>"
        },
        "guardrailArn":{
          "shape":"GuardrailArn",
          "documentation":"<p>The ARN of the guardrail.</p>"
        },
        "version":{
          "shape":"GuardrailVersion",
          "documentation":"<p>The version of the guardrail.</p>"
        },
        "status":{
          "shape":"GuardrailStatus",
          "documentation":"<p>The status of the guardrail.</p>"
        },
        "topicPolicy":{
          "shape":"GuardrailTopicPolicy",
          "documentation":"<p>The topic policy that was configured for the guardrail.</p>"
        },
        "contentPolicy":{
          "shape":"GuardrailContentPolicy",
          "documentation":"<p>The content policy that was configured for the guardrail.</p>"
        },
        "wordPolicy":{
          "shape":"GuardrailWordPolicy",
          "documentation":"<p>The word policy that was configured for the guardrail.</p>"
        },
        "sensitiveInformationPolicy":{
          "shape":"GuardrailSensitiveInformationPolicy",
          "documentation":"<p>The sensitive information policy that was configured for the guardrail.</p>"
        },
        "contextualGroundingPolicy":{
          "shape":"GuardrailContextualGroundingPolicy",
          "documentation":"<p>The contextual grounding policy used in the guardrail.</p>"
        },
        "createdAt":{
          "shape":"Timestamp",
          "documentation":"<p>The date and time at which the guardrail was created.</p>"
        },
        "updatedAt":{
          "shape":"Timestamp",
          "documentation":"<p>The date and time at which the guardrail was updated.</p>"
        },
        "statusReasons":{
          "shape":"GuardrailStatusReasons",
          "documentation":"<p>Appears if the <code>status</code> is <code>FAILED</code>. A list of reasons for why the guardrail failed to be created, updated, versioned, or deleted.</p>"
        },
        "failureRecommendations":{
          "shape":"GuardrailFailureRecommendations",
          "documentation":"<p>Appears if the <code>status</code> of the guardrail is <code>FAILED</code>. A list of recommendations to carry out before retrying the request.</p>"
        },
        "blockedInputMessaging":{
          "shape":"GuardrailBlockedMessaging",
          "documentation":"<p>The message that the guardrail returns when it blocks a prompt.</p>"
        },
        "blockedOutputsMessaging":{
          "shape":"GuardrailBlockedMessaging",
          "documentation":"<p>The message that the guardrail returns when it blocks a model response.</p>"
        },
        "kmsKeyArn":{
          "shape":"KmsKeyArn",
          "documentation":"<p>The ARN of the KMS key that encrypts the guardrail.</p>"
        }
      }
    },
    "GetImportedModelRequest":{
      "type":"structure",
      "required":["modelIdentifier"],
      "members":{
        "modelIdentifier":{
          "shape":"ImportedModelIdentifier",
          "documentation":"<p>Name or Amazon Resource Name (ARN) of the imported model.</p>",
          "location":"uri",
          "locationName":"modelIdentifier"
        }
      }
    },
    "GetImportedModelResponse":{
      "type":"structure",
      "members":{
        "modelArn":{
          "shape":"ImportedModelArn",
          "documentation":"<p>The Amazon Resource Name (ARN) associated with this imported model.</p>"
        },
        "modelName":{
          "shape":"ImportedModelName",
          "documentation":"<p>The name of the imported model.</p>"
        },
        "jobName":{
          "shape":"JobName",
          "documentation":"<p>Job name associated with the imported model.</p>"
        },
        "jobArn":{
          "shape":"ModelImportJobArn",
          "documentation":"<p>Job Amazon Resource Name (ARN) associated with the imported model.</p>"
        },
        "modelDataSource":{
          "shape":"ModelDataSource",
          "documentation":"<p>The data source for this imported model.</p>"
        },
        "creationTime":{
          "shape":"Timestamp",
          "documentation":"<p>Creation time of the imported model.</p>"
        },
        "modelArchitecture":{
          "shape":"String",
          "documentation":"<p>The architecture of the imported model.</p>"
        },
        "modelKmsKeyArn":{
          "shape":"KmsKeyArn",
          "documentation":"<p>The imported model is encrypted at rest using this key.</p>"
        },
        "instructSupported":{
          "shape":"InstructSupported",
          "documentation":"<p>Specifies if the imported model supports converse.</p>"
        },
        "customModelUnits":{
          "shape":"CustomModelUnits",
          "documentation":"<p>Information about the hardware utilization for a single copy of the model.</p>"
        }
      }
    },
    "GetInferenceProfileRequest":{
      "type":"structure",
      "required":["inferenceProfileIdentifier"],
      "members":{
        "inferenceProfileIdentifier":{
          "shape":"InferenceProfileIdentifier",
          "documentation":"<p>The ID or Amazon Resource Name (ARN) of the inference profile.</p>",
          "location":"uri",
          "locationName":"inferenceProfileIdentifier"
        }
      }
    },
    "GetInferenceProfileResponse":{
      "type":"structure",
      "required":[
        "inferenceProfileName",
        "inferenceProfileArn",
        "models",
        "inferenceProfileId",
        "status",
        "type"
      ],
      "members":{
        "inferenceProfileName":{
          "shape":"InferenceProfileName",
          "documentation":"<p>The name of the inference profile.</p>"
        },
        "description":{
          "shape":"InferenceProfileDescription",
          "documentation":"<p>The description of the inference profile.</p>"
        },
        "createdAt":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the inference profile was created.</p>"
        },
        "updatedAt":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the inference profile was last updated.</p>"
        },
        "inferenceProfileArn":{
          "shape":"InferenceProfileArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the inference profile.</p>"
        },
        "models":{
          "shape":"InferenceProfileModels",
          "documentation":"<p>A list of information about each model in the inference profile.</p>"
        },
        "inferenceProfileId":{
          "shape":"InferenceProfileId",
          "documentation":"<p>The unique identifier of the inference profile.</p>"
        },
        "status":{
          "shape":"InferenceProfileStatus",
          "documentation":"<p>The status of the inference profile. <code>ACTIVE</code> means that the inference profile is ready to be used.</p>"
        },
        "type":{
          "shape":"InferenceProfileType",
          "documentation":"<p>The type of the inference profile. The following types are possible:</p> <ul> <li> <p> <code>SYSTEM_DEFINED</code> – The inference profile is defined by Amazon Bedrock. You can route inference requests across regions with these inference profiles.</p> </li> <li> <p> <code>APPLICATION</code> – The inference profile was created by a user. This type of inference profile can track metrics and costs when invoking the model in it. The inference profile may route requests to one or multiple regions.</p> </li> </ul>"
        }
      }
    },
    "GetMarketplaceModelEndpointRequest":{
      "type":"structure",
      "required":["endpointArn"],
      "members":{
        "endpointArn":{
          "shape":"Arn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the endpoint you want to get information about.</p>",
          "location":"uri",
          "locationName":"endpointArn"
        }
      }
    },
    "GetMarketplaceModelEndpointResponse":{
      "type":"structure",
      "members":{
        "marketplaceModelEndpoint":{
          "shape":"MarketplaceModelEndpoint",
          "documentation":"<p>Details about the requested endpoint.</p>"
        }
      }
    },
    "GetModelCopyJobRequest":{
      "type":"structure",
      "required":["jobArn"],
      "members":{
        "jobArn":{
          "shape":"ModelCopyJobArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the model copy job.</p>",
          "location":"uri",
          "locationName":"jobArn"
        }
      }
    },
    "GetModelCopyJobResponse":{
      "type":"structure",
      "required":[
        "jobArn",
        "status",
        "creationTime",
        "targetModelArn",
        "sourceAccountId",
        "sourceModelArn"
      ],
      "members":{
        "jobArn":{
          "shape":"ModelCopyJobArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the model copy job.</p>"
        },
        "status":{
          "shape":"ModelCopyJobStatus",
          "documentation":"<p>The status of the model copy job.</p>"
        },
        "creationTime":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the model copy job was created.</p>"
        },
        "targetModelArn":{
          "shape":"CustomModelArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the copied model.</p>"
        },
        "targetModelName":{
          "shape":"CustomModelName",
          "documentation":"<p>The name of the copied model.</p>"
        },
        "sourceAccountId":{
          "shape":"AccountId",
          "documentation":"<p>The unique identifier of the account that the model being copied originated from.</p>"
        },
        "sourceModelArn":{
          "shape":"ModelArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the original model being copied.</p>"
        },
        "targetModelKmsKeyArn":{
          "shape":"KmsKeyArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the KMS key encrypting the copied model.</p>"
        },
        "targetModelTags":{
          "shape":"TagList",
          "documentation":"<p>The tags associated with the copied model.</p>"
        },
        "failureMessage":{
          "shape":"ErrorMessage",
          "documentation":"<p>An error message for why the model copy job failed.</p>"
        },
        "sourceModelName":{
          "shape":"CustomModelName",
          "documentation":"<p>The name of the original model being copied.</p>"
        }
      }
    },
    "GetModelCustomizationJobRequest":{
      "type":"structure",
      "required":["jobIdentifier"],
      "members":{
        "jobIdentifier":{
          "shape":"ModelCustomizationJobIdentifier",
          "documentation":"<p>Identifier for the customization job.</p>",
          "location":"uri",
          "locationName":"jobIdentifier"
        }
      }
    },
    "GetModelCustomizationJobResponse":{
      "type":"structure",
      "required":[
        "jobArn",
        "jobName",
        "outputModelName",
        "roleArn",
        "creationTime",
        "baseModelArn",
        "trainingDataConfig",
        "validationDataConfig",
        "outputDataConfig"
      ],
      "members":{
        "jobArn":{
          "shape":"ModelCustomizationJobArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the customization job.</p>"
        },
        "jobName":{
          "shape":"JobName",
          "documentation":"<p>The name of the customization job.</p>"
        },
        "outputModelName":{
          "shape":"CustomModelName",
          "documentation":"<p>The name of the output model.</p>"
        },
        "outputModelArn":{
          "shape":"CustomModelArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the output model.</p>"
        },
        "clientRequestToken":{
          "shape":"IdempotencyToken",
          "documentation":"<p>The token that you specified in the <code>CreateCustomizationJob</code> request.</p>"
        },
        "roleArn":{
          "shape":"RoleArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the IAM role.</p>"
        },
        "status":{
          "shape":"ModelCustomizationJobStatus",
          "documentation":"<p>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.</p>"
        },
        "failureMessage":{
          "shape":"ErrorMessage",
          "documentation":"<p>Information about why the job failed.</p>"
        },
        "creationTime":{
          "shape":"Timestamp",
          "documentation":"<p>Time that the resource was created.</p>"
        },
        "lastModifiedTime":{
          "shape":"Timestamp",
          "documentation":"<p>Time that the resource was last modified.</p>"
        },
        "endTime":{
          "shape":"Timestamp",
          "documentation":"<p>Time that the resource transitioned to terminal state.</p>"
        },
        "baseModelArn":{
          "shape":"FoundationModelArn",
          "documentation":"<p>Amazon Resource Name (ARN) of the base model.</p>"
        },
        "hyperParameters":{
          "shape":"ModelCustomizationHyperParameters",
          "documentation":"<p>The hyperparameter values for the job. For details on the format for different models, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models-hp.html\">Custom model hyperparameters</a>.</p>"
        },
        "trainingDataConfig":{
          "shape":"TrainingDataConfig",
          "documentation":"<p>Contains information about the training dataset.</p>"
        },
        "validationDataConfig":{
          "shape":"ValidationDataConfig",
          "documentation":"<p>Contains information about the validation dataset.</p>"
        },
        "outputDataConfig":{
          "shape":"OutputDataConfig",
          "documentation":"<p>Output data configuration </p>"
        },
        "customizationType":{
          "shape":"CustomizationType",
          "documentation":"<p>The type of model customization.</p>"
        },
        "outputModelKmsKeyArn":{
          "shape":"KmsKeyArn",
          "documentation":"<p>The custom model is encrypted at rest using this key.</p>"
        },
        "trainingMetrics":{
          "shape":"TrainingMetrics",
          "documentation":"<p>Contains training metrics from the job creation.</p>"
        },
        "validationMetrics":{
          "shape":"ValidationMetrics",
          "documentation":"<p>The loss metric for each validator that you provided in the createjob request.</p>"
        },
        "vpcConfig":{
          "shape":"VpcConfig",
          "documentation":"<p>VPC configuration for the custom model job.</p>"
        },
        "customizationConfig":{
          "shape":"CustomizationConfig",
          "documentation":"<p>The customization configuration for the model customization job.</p>"
        }
      }
    },
    "GetModelImportJobRequest":{
      "type":"structure",
      "required":["jobIdentifier"],
      "members":{
        "jobIdentifier":{
          "shape":"ModelImportJobIdentifier",
          "documentation":"<p>The identifier of the import job.</p>",
          "location":"uri",
          "locationName":"jobIdentifier"
        }
      }
    },
    "GetModelImportJobResponse":{
      "type":"structure",
      "members":{
        "jobArn":{
          "shape":"ModelImportJobArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the import job.</p>"
        },
        "jobName":{
          "shape":"JobName",
          "documentation":"<p>The name of the import job.</p>"
        },
        "importedModelName":{
          "shape":"ImportedModelName",
          "documentation":"<p>The name of the imported model.</p>"
        },
        "importedModelArn":{
          "shape":"ImportedModelArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the imported model.</p>"
        },
        "roleArn":{
          "shape":"RoleArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the IAM role associated with this job.</p>"
        },
        "modelDataSource":{
          "shape":"ModelDataSource",
          "documentation":"<p>The data source for the imported model.</p>"
        },
        "status":{
          "shape":"ModelImportJobStatus",
          "documentation":"<p>The status of the job. A successful job transitions from in-progress to completed when the imported model is ready to use. If the job failed, the failure message contains information about why the job failed.</p>"
        },
        "failureMessage":{
          "shape":"ErrorMessage",
          "documentation":"<p>Information about why the import job failed.</p>"
        },
        "creationTime":{
          "shape":"Timestamp",
          "documentation":"<p>The time the resource was created.</p>"
        },
        "lastModifiedTime":{
          "shape":"Timestamp",
          "documentation":"<p>Time the resource was last modified.</p>"
        },
        "endTime":{
          "shape":"Timestamp",
          "documentation":"<p>Time that the resource transitioned to terminal state.</p>"
        },
        "vpcConfig":{
          "shape":"VpcConfig",
          "documentation":"<p>The Virtual Private Cloud (VPC) configuration of the import model job.</p>"
        },
        "importedModelKmsKeyArn":{
          "shape":"KmsKeyArn",
          "documentation":"<p>The imported model is encrypted at rest using this key.</p>"
        }
      }
    },
    "GetModelInvocationJobRequest":{
      "type":"structure",
      "required":["jobIdentifier"],
      "members":{
        "jobIdentifier":{
          "shape":"ModelInvocationJobIdentifier",
          "documentation":"<p>The Amazon Resource Name (ARN) of the batch inference job.</p>",
          "location":"uri",
          "locationName":"jobIdentifier"
        }
      }
    },
    "GetModelInvocationJobResponse":{
      "type":"structure",
      "required":[
        "jobArn",
        "modelId",
        "roleArn",
        "submitTime",
        "inputDataConfig",
        "outputDataConfig"
      ],
      "members":{
        "jobArn":{
          "shape":"ModelInvocationJobArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the batch inference job.</p>"
        },
        "jobName":{
          "shape":"ModelInvocationJobName",
          "documentation":"<p>The name of the batch inference job.</p>"
        },
        "modelId":{
          "shape":"ModelId",
          "documentation":"<p>The unique identifier of the foundation model used for model inference.</p>"
        },
        "clientRequestToken":{
          "shape":"ModelInvocationIdempotencyToken",
          "documentation":"<p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html\">Ensuring idempotency</a>.</p>"
        },
        "roleArn":{
          "shape":"RoleArn",
          "documentation":"<p>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 <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/batch-iam-sr.html\">Create a service role for batch inference</a>.</p>"
        },
        "status":{
          "shape":"ModelInvocationJobStatus",
          "documentation":"<p>The status of the batch inference job.</p> <p>The following statuses are possible:</p> <ul> <li> <p>Submitted – This job has been submitted to a queue for validation.</p> </li> <li> <p>Validating – This job is being validated for the requirements described in <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-data.html\">Format and upload your batch inference data</a>. The criteria include the following:</p> <ul> <li> <p>Your IAM service role has access to the Amazon S3 buckets containing your files.</p> </li> <li> <p>Your files are .jsonl files and each individual record is a JSON object in the correct format. Note that validation doesn't check if the <code>modelInput</code> value matches the request body for the model.</p> </li> <li> <p>Your files fulfill the requirements for file size and number of records. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/quotas.html\">Quotas for Amazon Bedrock</a>.</p> </li> </ul> </li> <li> <p>Scheduled – This job has been validated and is now in a queue. The job will automatically start when it reaches its turn.</p> </li> <li> <p>Expired – This job timed out because it was scheduled but didn't begin before the set timeout duration. Submit a new job request.</p> </li> <li> <p>InProgress – This job has begun. You can start viewing the results in the output S3 location.</p> </li> <li> <p>Completed – This job has successfully completed. View the output files in the output S3 location.</p> </li> <li> <p>PartiallyCompleted – This job has partially completed. Not all of your records could be processed in time. View the output files in the output S3 location.</p> </li> <li> <p>Failed – This job has failed. Check the failure message for any further details. For further assistance, reach out to the <a href=\"https://console.aws.amazon.com/support/home/\">Amazon Web Services Support Center</a>.</p> </li> <li> <p>Stopped – This job was stopped by a user.</p> </li> <li> <p>Stopping – This job is being stopped by a user.</p> </li> </ul>"
        },
        "message":{
          "shape":"Message",
          "documentation":"<p>If the batch inference job failed, this field contains a message describing why the job failed.</p>"
        },
        "submitTime":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the batch inference job was submitted.</p>"
        },
        "lastModifiedTime":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the batch inference job was last modified.</p>"
        },
        "endTime":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the batch inference job ended.</p>"
        },
        "inputDataConfig":{
          "shape":"ModelInvocationJobInputDataConfig",
          "documentation":"<p>Details about the location of the input to the batch inference job.</p>"
        },
        "outputDataConfig":{
          "shape":"ModelInvocationJobOutputDataConfig",
          "documentation":"<p>Details about the location of the output of the batch inference job.</p>"
        },
        "vpcConfig":{
          "shape":"VpcConfig",
          "documentation":"<p>The configuration of the Virtual Private Cloud (VPC) for the data in the batch inference job. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/batch-vpc\">Protect batch inference jobs using a VPC</a>.</p>"
        },
        "timeoutDurationInHours":{
          "shape":"ModelInvocationJobTimeoutDurationInHours",
          "documentation":"<p>The number of hours after which batch inference job was set to time out.</p>"
        },
        "jobExpirationTime":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the batch inference job times or timed out.</p>"
        }
      }
    },
    "GetModelInvocationLoggingConfigurationRequest":{
      "type":"structure",
      "members":{
      }
    },
    "GetModelInvocationLoggingConfigurationResponse":{
      "type":"structure",
      "members":{
        "loggingConfig":{
          "shape":"LoggingConfig",
          "documentation":"<p>The current configuration values.</p>"
        }
      }
    },
    "GetPromptRouterRequest":{
      "type":"structure",
      "required":["promptRouterArn"],
      "members":{
        "promptRouterArn":{
          "shape":"PromptRouterArn",
          "documentation":"<p>The prompt router's ARN</p>",
          "location":"uri",
          "locationName":"promptRouterArn"
        }
      }
    },
    "GetPromptRouterResponse":{
      "type":"structure",
      "required":[
        "promptRouterName",
        "routingCriteria",
        "promptRouterArn",
        "models",
        "fallbackModel",
        "status",
        "type"
      ],
      "members":{
        "promptRouterName":{
          "shape":"PromptRouterName",
          "documentation":"<p>The router's name.</p>"
        },
        "routingCriteria":{
          "shape":"RoutingCriteria",
          "documentation":"<p>The router's routing criteria.</p>"
        },
        "description":{
          "shape":"PromptRouterDescription",
          "documentation":"<p>The router's description.</p>"
        },
        "createdAt":{
          "shape":"Timestamp",
          "documentation":"<p>When the router was created.</p>"
        },
        "updatedAt":{
          "shape":"Timestamp",
          "documentation":"<p>When the router was updated.</p>"
        },
        "promptRouterArn":{
          "shape":"PromptRouterArn",
          "documentation":"<p>The prompt router's ARN</p>"
        },
        "models":{
          "shape":"PromptRouterTargetModels",
          "documentation":"<p>The router's models.</p>"
        },
        "fallbackModel":{
          "shape":"PromptRouterTargetModel",
          "documentation":"<p>The router's fallback model.</p>"
        },
        "status":{
          "shape":"PromptRouterStatus",
          "documentation":"<p>The router's status.</p>"
        },
        "type":{
          "shape":"PromptRouterType",
          "documentation":"<p>The router's type.</p>"
        }
      }
    },
    "GetProvisionedModelThroughputRequest":{
      "type":"structure",
      "required":["provisionedModelId"],
      "members":{
        "provisionedModelId":{
          "shape":"ProvisionedModelId",
          "documentation":"<p>The Amazon Resource Name (ARN) or name of the Provisioned Throughput.</p>",
          "location":"uri",
          "locationName":"provisionedModelId"
        }
      }
    },
    "GetProvisionedModelThroughputResponse":{
      "type":"structure",
      "required":[
        "modelUnits",
        "desiredModelUnits",
        "provisionedModelName",
        "provisionedModelArn",
        "modelArn",
        "desiredModelArn",
        "foundationModelArn",
        "status",
        "creationTime",
        "lastModifiedTime"
      ],
      "members":{
        "modelUnits":{
          "shape":"PositiveInteger",
          "documentation":"<p>The number of model units allocated to this Provisioned Throughput.</p>"
        },
        "desiredModelUnits":{
          "shape":"PositiveInteger",
          "documentation":"<p>The number of model units that was requested for this Provisioned Throughput.</p>"
        },
        "provisionedModelName":{
          "shape":"ProvisionedModelName",
          "documentation":"<p>The name of the Provisioned Throughput.</p>"
        },
        "provisionedModelArn":{
          "shape":"ProvisionedModelArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the Provisioned Throughput.</p>"
        },
        "modelArn":{
          "shape":"ModelArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the model associated with this Provisioned Throughput.</p>"
        },
        "desiredModelArn":{
          "shape":"ModelArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the model requested to be associated to this Provisioned Throughput. This value differs from the <code>modelArn</code> if updating hasn't completed.</p>"
        },
        "foundationModelArn":{
          "shape":"FoundationModelArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the base model for which the Provisioned Throughput was created, or of the base model that the custom model for which the Provisioned Throughput was created was customized.</p>"
        },
        "status":{
          "shape":"ProvisionedModelStatus",
          "documentation":"<p>The status of the Provisioned Throughput. </p>"
        },
        "creationTime":{
          "shape":"Timestamp",
          "documentation":"<p>The timestamp of the creation time for this Provisioned Throughput. </p>"
        },
        "lastModifiedTime":{
          "shape":"Timestamp",
          "documentation":"<p>The timestamp of the last time that this Provisioned Throughput was modified. </p>"
        },
        "failureMessage":{
          "shape":"ErrorMessage",
          "documentation":"<p>A failure message for any issues that occurred during creation, updating, or deletion of the Provisioned Throughput.</p>"
        },
        "commitmentDuration":{
          "shape":"CommitmentDuration",
          "documentation":"<p>Commitment duration of the Provisioned Throughput.</p>"
        },
        "commitmentExpirationTime":{
          "shape":"Timestamp",
          "documentation":"<p>The timestamp for when the commitment term for the Provisioned Throughput expires.</p>"
        }
      }
    },
    "GuardrailArn":{
      "type":"string",
      "max":2048,
      "min":0,
      "pattern":"arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:guardrail/[a-z0-9]+"
    },
    "GuardrailBlockedMessaging":{
      "type":"string",
      "max":500,
      "min":1,
      "sensitive":true
    },
    "GuardrailConfiguration":{
      "type":"structure",
      "required":[
        "guardrailId",
        "guardrailVersion"
      ],
      "members":{
        "guardrailId":{
          "shape":"GuardrailConfigurationGuardrailIdString",
          "documentation":"<p>The unique identifier for the guardrail.</p>"
        },
        "guardrailVersion":{
          "shape":"GuardrailConfigurationGuardrailVersionString",
          "documentation":"<p>The version of the guardrail.</p>"
        }
      },
      "documentation":"<p>The configuration details for the guardrail.</p>"
    },
    "GuardrailConfigurationGuardrailIdString":{
      "type":"string",
      "max":64,
      "min":0,
      "pattern":"[a-z0-9]+"
    },
    "GuardrailConfigurationGuardrailVersionString":{
      "type":"string",
      "max":5,
      "min":1,
      "pattern":"(([1-9][0-9]{0,7})|(DRAFT))"
    },
    "GuardrailContentFilter":{
      "type":"structure",
      "required":[
        "type",
        "inputStrength",
        "outputStrength"
      ],
      "members":{
        "type":{
          "shape":"GuardrailContentFilterType",
          "documentation":"<p>The harmful category that the content filter is applied to.</p>"
        },
        "inputStrength":{
          "shape":"GuardrailFilterStrength",
          "documentation":"<p>The strength of the content filter to apply to prompts. As you increase the filter strength, the likelihood of filtering harmful content increases and the probability of seeing harmful content in your application reduces.</p>"
        },
        "outputStrength":{
          "shape":"GuardrailFilterStrength",
          "documentation":"<p>The strength of the content filter to apply to model responses. As you increase the filter strength, the likelihood of filtering harmful content increases and the probability of seeing harmful content in your application reduces.</p>"
        },
        "inputModalities":{
          "shape":"GuardrailModalities",
          "documentation":"<p>The input modalities selected for the guardrail content filter.</p>"
        },
        "outputModalities":{
          "shape":"GuardrailModalities",
          "documentation":"<p>The output modalities selected for the guardrail content filter.</p>"
        },
        "inputAction":{
          "shape":"GuardrailContentFilterAction",
          "documentation":"<p>The action to take when harmful content is detected in the input. Supported values include:</p> <ul> <li> <p> <code>BLOCK</code> – Block the content and replace it with blocked messaging.</p> </li> <li> <p> <code>NONE</code> – Take no action but return detection information in the trace response.</p> </li> </ul>"
        },
        "outputAction":{
          "shape":"GuardrailContentFilterAction",
          "documentation":"<p>The action to take when harmful content is detected in the output. Supported values include:</p> <ul> <li> <p> <code>BLOCK</code> – Block the content and replace it with blocked messaging.</p> </li> <li> <p> <code>NONE</code> – Take no action but return detection information in the trace response.</p> </li> </ul>"
        },
        "inputEnabled":{
          "shape":"Boolean",
          "documentation":"<p>Indicates whether guardrail evaluation is enabled on the input. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.</p>"
        },
        "outputEnabled":{
          "shape":"Boolean",
          "documentation":"<p>Indicates whether guardrail evaluation is enabled on the output. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.</p>"
        }
      },
      "documentation":"<p>Contains filter strengths for harmful content. Guardrails support the following content filters to detect and filter harmful user inputs and FM-generated outputs.</p> <ul> <li> <p> <b>Hate</b> – Describes language or a statement that discriminates, criticizes, insults, denounces, or dehumanizes a person or group on the basis of an identity (such as race, ethnicity, gender, religion, sexual orientation, ability, and national origin).</p> </li> <li> <p> <b>Insults</b> – Describes language or a statement that includes demeaning, humiliating, mocking, insulting, or belittling language. This type of language is also labeled as bullying.</p> </li> <li> <p> <b>Sexual</b> – Describes language or a statement that indicates sexual interest, activity, or arousal using direct or indirect references to body parts, physical traits, or sex.</p> </li> <li> <p> <b>Violence</b> – Describes language or a statement that includes glorification of or threats to inflict physical pain, hurt, or injury toward a person, group or thing.</p> </li> </ul> <p>Content filtering depends on the confidence classification of user inputs and FM responses across each of the four harmful categories. All input and output statements are classified into one of four confidence levels (NONE, LOW, MEDIUM, HIGH) for each harmful category. For example, if a statement is classified as <i>Hate</i> with HIGH confidence, the likelihood of the statement representing hateful content is high. A single statement can be classified across multiple categories with varying confidence levels. For example, a single statement can be classified as <i>Hate</i> with HIGH confidence, <i>Insults</i> with LOW confidence, <i>Sexual</i> with NONE confidence, and <i>Violence</i> with MEDIUM confidence.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-filters.html\">Guardrails content filters</a>.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetGuardrail.html#API_GetGuardrail_ResponseSyntax\">GetGuardrail response body</a> </p> </li> </ul>"
    },
    "GuardrailContentFilterAction":{
      "type":"string",
      "enum":[
        "BLOCK",
        "NONE"
      ],
      "sensitive":true
    },
    "GuardrailContentFilterConfig":{
      "type":"structure",
      "required":[
        "type",
        "inputStrength",
        "outputStrength"
      ],
      "members":{
        "type":{
          "shape":"GuardrailContentFilterType",
          "documentation":"<p>The harmful category that the content filter is applied to.</p>"
        },
        "inputStrength":{
          "shape":"GuardrailFilterStrength",
          "documentation":"<p>The strength of the content filter to apply to prompts. As you increase the filter strength, the likelihood of filtering harmful content increases and the probability of seeing harmful content in your application reduces.</p>"
        },
        "outputStrength":{
          "shape":"GuardrailFilterStrength",
          "documentation":"<p>The strength of the content filter to apply to model responses. As you increase the filter strength, the likelihood of filtering harmful content increases and the probability of seeing harmful content in your application reduces.</p>"
        },
        "inputModalities":{
          "shape":"GuardrailModalities",
          "documentation":"<p>The input modalities selected for the guardrail content filter configuration.</p>"
        },
        "outputModalities":{
          "shape":"GuardrailModalities",
          "documentation":"<p>The output modalities selected for the guardrail content filter configuration.</p>"
        },
        "inputAction":{
          "shape":"GuardrailContentFilterAction",
          "documentation":"<p>Specifies the action to take when harmful content is detected. Supported values include:</p> <ul> <li> <p> <code>BLOCK</code> – Block the content and replace it with blocked messaging.</p> </li> <li> <p> <code>NONE</code> – Take no action but return detection information in the trace response.</p> </li> </ul>"
        },
        "outputAction":{
          "shape":"GuardrailContentFilterAction",
          "documentation":"<p>Specifies the action to take when harmful content is detected in the output. Supported values include:</p> <ul> <li> <p> <code>BLOCK</code> – Block the content and replace it with blocked messaging.</p> </li> <li> <p> <code>NONE</code> – Take no action but return detection information in the trace response.</p> </li> </ul>"
        },
        "inputEnabled":{
          "shape":"Boolean",
          "documentation":"<p>Specifies whether to enable guardrail evaluation on the input. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.</p>"
        },
        "outputEnabled":{
          "shape":"Boolean",
          "documentation":"<p>Specifies whether to enable guardrail evaluation on the output. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.</p>"
        }
      },
      "documentation":"<p>Contains filter strengths for harmful content. Guardrails support the following content filters to detect and filter harmful user inputs and FM-generated outputs.</p> <ul> <li> <p> <b>Hate</b> – Describes language or a statement that discriminates, criticizes, insults, denounces, or dehumanizes a person or group on the basis of an identity (such as race, ethnicity, gender, religion, sexual orientation, ability, and national origin).</p> </li> <li> <p> <b>Insults</b> – Describes language or a statement that includes demeaning, humiliating, mocking, insulting, or belittling language. This type of language is also labeled as bullying.</p> </li> <li> <p> <b>Sexual</b> – Describes language or a statement that indicates sexual interest, activity, or arousal using direct or indirect references to body parts, physical traits, or sex.</p> </li> <li> <p> <b>Violence</b> – Describes language or a statement that includes glorification of or threats to inflict physical pain, hurt, or injury toward a person, group or thing.</p> </li> </ul> <p>Content filtering depends on the confidence classification of user inputs and FM responses across each of the four harmful categories. All input and output statements are classified into one of four confidence levels (NONE, LOW, MEDIUM, HIGH) for each harmful category. For example, if a statement is classified as <i>Hate</i> with HIGH confidence, the likelihood of the statement representing hateful content is high. A single statement can be classified across multiple categories with varying confidence levels. For example, a single statement can be classified as <i>Hate</i> with HIGH confidence, <i>Insults</i> with LOW confidence, <i>Sexual</i> with NONE confidence, and <i>Violence</i> with MEDIUM confidence.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-filters.html\">Guardrails content filters</a>.</p>"
    },
    "GuardrailContentFilterType":{
      "type":"string",
      "enum":[
        "SEXUAL",
        "VIOLENCE",
        "HATE",
        "INSULTS",
        "MISCONDUCT",
        "PROMPT_ATTACK"
      ]
    },
    "GuardrailContentFilters":{
      "type":"list",
      "member":{"shape":"GuardrailContentFilter"},
      "max":6,
      "min":1
    },
    "GuardrailContentFiltersConfig":{
      "type":"list",
      "member":{"shape":"GuardrailContentFilterConfig"},
      "max":6,
      "min":1
    },
    "GuardrailContentPolicy":{
      "type":"structure",
      "members":{
        "filters":{
          "shape":"GuardrailContentFilters",
          "documentation":"<p>Contains the type of the content filter and how strongly it should apply to prompts and model responses.</p>"
        }
      },
      "documentation":"<p>Contains details about how to handle harmful content.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetGuardrail.html#API_GetGuardrail_ResponseSyntax\">GetGuardrail response body</a> </p> </li> </ul>"
    },
    "GuardrailContentPolicyConfig":{
      "type":"structure",
      "required":["filtersConfig"],
      "members":{
        "filtersConfig":{
          "shape":"GuardrailContentFiltersConfig",
          "documentation":"<p>Contains the type of the content filter and how strongly it should apply to prompts and model responses.</p>"
        }
      },
      "documentation":"<p>Contains details about how to handle harmful content.</p>"
    },
    "GuardrailContextualGroundingAction":{
      "type":"string",
      "enum":[
        "BLOCK",
        "NONE"
      ],
      "sensitive":true
    },
    "GuardrailContextualGroundingFilter":{
      "type":"structure",
      "required":[
        "type",
        "threshold"
      ],
      "members":{
        "type":{
          "shape":"GuardrailContextualGroundingFilterType",
          "documentation":"<p>The filter type details for the guardrails contextual grounding filter.</p>"
        },
        "threshold":{
          "shape":"GuardrailContextualGroundingFilterThresholdDouble",
          "documentation":"<p>The threshold details for the guardrails contextual grounding filter.</p>"
        },
        "action":{
          "shape":"GuardrailContextualGroundingAction",
          "documentation":"<p>The action to take when content fails the contextual grounding evaluation. Supported values include:</p> <ul> <li> <p> <code>BLOCK</code> – Block the content and replace it with blocked messaging.</p> </li> <li> <p> <code>NONE</code> – Take no action but return detection information in the trace response.</p> </li> </ul>"
        },
        "enabled":{
          "shape":"Boolean",
          "documentation":"<p>Indicates whether contextual grounding is enabled for evaluation. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.</p>"
        }
      },
      "documentation":"<p>The details for the guardrails contextual grounding filter.</p>"
    },
    "GuardrailContextualGroundingFilterConfig":{
      "type":"structure",
      "required":[
        "type",
        "threshold"
      ],
      "members":{
        "type":{
          "shape":"GuardrailContextualGroundingFilterType",
          "documentation":"<p>The filter details for the guardrails contextual grounding filter.</p>"
        },
        "threshold":{
          "shape":"GuardrailContextualGroundingFilterConfigThresholdDouble",
          "documentation":"<p>The threshold details for the guardrails contextual grounding filter.</p>"
        },
        "action":{
          "shape":"GuardrailContextualGroundingAction",
          "documentation":"<p>Specifies the action to take when content fails the contextual grounding evaluation. Supported values include:</p> <ul> <li> <p> <code>BLOCK</code> – Block the content and replace it with blocked messaging.</p> </li> <li> <p> <code>NONE</code> – Take no action but return detection information in the trace response.</p> </li> </ul>"
        },
        "enabled":{
          "shape":"Boolean",
          "documentation":"<p>Specifies whether to enable contextual grounding evaluation. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.</p>"
        }
      },
      "documentation":"<p>The filter configuration details for the guardrails contextual grounding filter.</p>"
    },
    "GuardrailContextualGroundingFilterConfigThresholdDouble":{
      "type":"double",
      "box":true,
      "min":0
    },
    "GuardrailContextualGroundingFilterThresholdDouble":{
      "type":"double",
      "box":true,
      "min":0
    },
    "GuardrailContextualGroundingFilterType":{
      "type":"string",
      "enum":[
        "GROUNDING",
        "RELEVANCE"
      ]
    },
    "GuardrailContextualGroundingFilters":{
      "type":"list",
      "member":{"shape":"GuardrailContextualGroundingFilter"},
      "min":1
    },
    "GuardrailContextualGroundingFiltersConfig":{
      "type":"list",
      "member":{"shape":"GuardrailContextualGroundingFilterConfig"},
      "min":1
    },
    "GuardrailContextualGroundingPolicy":{
      "type":"structure",
      "required":["filters"],
      "members":{
        "filters":{
          "shape":"GuardrailContextualGroundingFilters",
          "documentation":"<p>The filter details for the guardrails contextual grounding policy.</p>"
        }
      },
      "documentation":"<p>The details for the guardrails contextual grounding policy.</p>"
    },
    "GuardrailContextualGroundingPolicyConfig":{
      "type":"structure",
      "required":["filtersConfig"],
      "members":{
        "filtersConfig":{
          "shape":"GuardrailContextualGroundingFiltersConfig",
          "documentation":"<p>The filter configuration details for the guardrails contextual grounding policy.</p>"
        }
      },
      "documentation":"<p>The policy configuration details for the guardrails contextual grounding policy.</p>"
    },
    "GuardrailDescription":{
      "type":"string",
      "max":200,
      "min":1,
      "sensitive":true
    },
    "GuardrailDraftVersion":{
      "type":"string",
      "max":5,
      "min":5,
      "pattern":"DRAFT"
    },
    "GuardrailFailureRecommendation":{
      "type":"string",
      "max":200,
      "min":1,
      "sensitive":true
    },
    "GuardrailFailureRecommendations":{
      "type":"list",
      "member":{"shape":"GuardrailFailureRecommendation"},
      "max":100,
      "min":0
    },
    "GuardrailFilterStrength":{
      "type":"string",
      "enum":[
        "NONE",
        "LOW",
        "MEDIUM",
        "HIGH"
      ]
    },
    "GuardrailId":{
      "type":"string",
      "max":64,
      "min":0,
      "pattern":"[a-z0-9]+"
    },
    "GuardrailIdentifier":{
      "type":"string",
      "max":2048,
      "min":0,
      "pattern":"(([a-z0-9]+)|(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:guardrail/[a-z0-9]+))"
    },
    "GuardrailManagedWordLists":{
      "type":"list",
      "member":{"shape":"GuardrailManagedWords"}
    },
    "GuardrailManagedWordListsConfig":{
      "type":"list",
      "member":{"shape":"GuardrailManagedWordsConfig"}
    },
    "GuardrailManagedWords":{
      "type":"structure",
      "required":["type"],
      "members":{
        "type":{
          "shape":"GuardrailManagedWordsType",
          "documentation":"<p>ManagedWords$type The managed word type that was configured for the guardrail. (For now, we only offer profanity word list)</p>"
        },
        "inputAction":{
          "shape":"GuardrailWordAction",
          "documentation":"<p>The action to take when harmful content is detected in the input. Supported values include:</p> <ul> <li> <p> <code>BLOCK</code> – Block the content and replace it with blocked messaging.</p> </li> <li> <p> <code>NONE</code> – Take no action but return detection information in the trace response.</p> </li> </ul>"
        },
        "outputAction":{
          "shape":"GuardrailWordAction",
          "documentation":"<p>The action to take when harmful content is detected in the output. Supported values include:</p> <ul> <li> <p> <code>BLOCK</code> – Block the content and replace it with blocked messaging.</p> </li> <li> <p> <code>NONE</code> – Take no action but return detection information in the trace response.</p> </li> </ul>"
        },
        "inputEnabled":{
          "shape":"Boolean",
          "documentation":"<p>Indicates whether guardrail evaluation is enabled on the input. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.</p>"
        },
        "outputEnabled":{
          "shape":"Boolean",
          "documentation":"<p>Indicates whether guardrail evaluation is enabled on the output. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.</p>"
        }
      },
      "documentation":"<p>The managed word list that was configured for the guardrail. (This is a list of words that are pre-defined and managed by guardrails only.)</p>"
    },
    "GuardrailManagedWordsConfig":{
      "type":"structure",
      "required":["type"],
      "members":{
        "type":{
          "shape":"GuardrailManagedWordsType",
          "documentation":"<p>The managed word type to configure for the guardrail.</p>"
        },
        "inputAction":{
          "shape":"GuardrailWordAction",
          "documentation":"<p>Specifies the action to take when harmful content is detected in the input. Supported values include:</p> <ul> <li> <p> <code>BLOCK</code> – Block the content and replace it with blocked messaging.</p> </li> <li> <p> <code>NONE</code> – Take no action but return detection information in the trace response.</p> </li> </ul>"
        },
        "outputAction":{
          "shape":"GuardrailWordAction",
          "documentation":"<p>Specifies the action to take when harmful content is detected in the output. Supported values include:</p> <ul> <li> <p> <code>BLOCK</code> – Block the content and replace it with blocked messaging.</p> </li> <li> <p> <code>NONE</code> – Take no action but return detection information in the trace response.</p> </li> </ul>"
        },
        "inputEnabled":{
          "shape":"Boolean",
          "documentation":"<p>Specifies whether to enable guardrail evaluation on the input. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.</p>"
        },
        "outputEnabled":{
          "shape":"Boolean",
          "documentation":"<p>Specifies whether to enable guardrail evaluation on the output. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.</p>"
        }
      },
      "documentation":"<p>The managed word list to configure for the guardrail.</p>"
    },
    "GuardrailManagedWordsType":{
      "type":"string",
      "enum":["PROFANITY"]
    },
    "GuardrailModalities":{
      "type":"list",
      "member":{"shape":"GuardrailModality"},
      "max":2,
      "min":1
    },
    "GuardrailModality":{
      "type":"string",
      "enum":[
        "TEXT",
        "IMAGE"
      ],
      "sensitive":true
    },
    "GuardrailName":{
      "type":"string",
      "max":50,
      "min":1,
      "pattern":"[0-9a-zA-Z-_]+",
      "sensitive":true
    },
    "GuardrailNumericalVersion":{
      "type":"string",
      "pattern":"[1-9][0-9]{0,7}"
    },
    "GuardrailPiiEntities":{
      "type":"list",
      "member":{"shape":"GuardrailPiiEntity"},
      "min":1
    },
    "GuardrailPiiEntitiesConfig":{
      "type":"list",
      "member":{"shape":"GuardrailPiiEntityConfig"},
      "min":1
    },
    "GuardrailPiiEntity":{
      "type":"structure",
      "required":[
        "type",
        "action"
      ],
      "members":{
        "type":{
          "shape":"GuardrailPiiEntityType",
          "documentation":"<p>The type of PII entity. For example, Social Security Number.</p>"
        },
        "action":{
          "shape":"GuardrailSensitiveInformationAction",
          "documentation":"<p>The configured guardrail action when PII entity is detected.</p>"
        },
        "inputAction":{
          "shape":"GuardrailSensitiveInformationAction",
          "documentation":"<p>The action to take when harmful content is detected in the input. Supported values include:</p> <ul> <li> <p> <code>BLOCK</code> – Block the content and replace it with blocked messaging.</p> </li> <li> <p> <code>ANONYMIZE</code> – Mask the content and replace it with identifier tags.</p> </li> <li> <p> <code>NONE</code> – Take no action but return detection information in the trace response.</p> </li> </ul>"
        },
        "outputAction":{
          "shape":"GuardrailSensitiveInformationAction",
          "documentation":"<p>The action to take when harmful content is detected in the output. Supported values include:</p> <ul> <li> <p> <code>BLOCK</code> – Block the content and replace it with blocked messaging.</p> </li> <li> <p> <code>ANONYMIZE</code> – Mask the content and replace it with identifier tags.</p> </li> <li> <p> <code>NONE</code> – Take no action but return detection information in the trace response.</p> </li> </ul>"
        },
        "inputEnabled":{
          "shape":"Boolean",
          "documentation":"<p>Indicates whether guardrail evaluation is enabled on the input. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.</p>"
        },
        "outputEnabled":{
          "shape":"Boolean",
          "documentation":"<p>Indicates whether guardrail evaluation is enabled on the output. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.</p>"
        }
      },
      "documentation":"<p>The PII entity configured for the guardrail.</p>"
    },
    "GuardrailPiiEntityConfig":{
      "type":"structure",
      "required":[
        "type",
        "action"
      ],
      "members":{
        "type":{
          "shape":"GuardrailPiiEntityType",
          "documentation":"<p>Configure guardrail type when the PII entity is detected.</p> <p>The following PIIs are used to block or mask sensitive information:</p> <ul> <li> <p> <b>General</b> </p> <ul> <li> <p> <b>ADDRESS</b> </p> <p>A physical address, such as \"100 Main Street, Anytown, USA\" or \"Suite #12, Building 123\". An address can include information such as the street, building, location, city, state, country, county, zip code, precinct, and neighborhood. </p> </li> <li> <p> <b>AGE</b> </p> <p>An individual's age, including the quantity and unit of time. For example, in the phrase \"I am 40 years old,\" Guardrails recognizes \"40 years\" as an age. </p> </li> <li> <p> <b>NAME</b> </p> <p>An individual's name. This entity type does not include titles, such as Dr., Mr., Mrs., or Miss. guardrails doesn't apply this entity type to names that are part of organizations or addresses. For example, guardrails recognizes the \"John Doe Organization\" as an organization, and it recognizes \"Jane Doe Street\" as an address. </p> </li> <li> <p> <b>EMAIL</b> </p> <p>An email address, such as <i>marymajor@email.com</i>.</p> </li> <li> <p> <b>PHONE</b> </p> <p>A phone number. This entity type also includes fax and pager numbers. </p> </li> <li> <p> <b>USERNAME</b> </p> <p>A user name that identifies an account, such as a login name, screen name, nick name, or handle. </p> </li> <li> <p> <b>PASSWORD</b> </p> <p>An alphanumeric string that is used as a password, such as \"*<i>very20special#pass*</i>\". </p> </li> <li> <p> <b>DRIVER_ID</b> </p> <p>The number assigned to a driver's license, which is an official document permitting an individual to operate one or more motorized vehicles on a public road. A driver's license number consists of alphanumeric characters. </p> </li> <li> <p> <b>LICENSE_PLATE</b> </p> <p>A license plate for a vehicle is issued by the state or country where the vehicle is registered. The format for passenger vehicles is typically five to eight digits, consisting of upper-case letters and numbers. The format varies depending on the location of the issuing state or country. </p> </li> <li> <p> <b>VEHICLE_IDENTIFICATION_NUMBER</b> </p> <p>A Vehicle Identification Number (VIN) uniquely identifies a vehicle. VIN content and format are defined in the <i>ISO 3779</i> specification. Each country has specific codes and formats for VINs. </p> </li> </ul> </li> <li> <p> <b>Finance</b> </p> <ul> <li> <p> <b>CREDIT_DEBIT_CARD_CVV</b> </p> <p>A three-digit card verification code (CVV) that is present on VISA, MasterCard, and Discover credit and debit cards. For American Express credit or debit cards, the CVV is a four-digit numeric code. </p> </li> <li> <p> <b>CREDIT_DEBIT_CARD_EXPIRY</b> </p> <p>The expiration date for a credit or debit card. This number is usually four digits long and is often formatted as <i>month/year</i> or <i>MM/YY</i>. Guardrails recognizes expiration dates such as <i>01/21</i>, <i>01/2021</i>, and <i>Jan 2021</i>. </p> </li> <li> <p> <b>CREDIT_DEBIT_CARD_NUMBER</b> </p> <p>The number for a credit or debit card. These numbers can vary from 13 to 16 digits in length. However, Amazon Comprehend also recognizes credit or debit card numbers when only the last four digits are present. </p> </li> <li> <p> <b>PIN</b> </p> <p>A four-digit personal identification number (PIN) with which you can access your bank account. </p> </li> <li> <p> <b>INTERNATIONAL_BANK_ACCOUNT_NUMBER</b> </p> <p>An International Bank Account Number has specific formats in each country. For more information, see <a href=\"https://www.iban.com/structure\">www.iban.com/structure</a>.</p> </li> <li> <p> <b>SWIFT_CODE</b> </p> <p>A SWIFT code is a standard format of Bank Identifier Code (BIC) used to specify a particular bank or branch. Banks use these codes for money transfers such as international wire transfers.</p> <p>SWIFT codes consist of eight or 11 characters. The 11-digit codes refer to specific branches, while eight-digit codes (or 11-digit codes ending in 'XXX') refer to the head or primary office.</p> </li> </ul> </li> <li> <p> <b>IT</b> </p> <ul> <li> <p> <b>IP_ADDRESS</b> </p> <p>An IPv4 address, such as <i>198.51.100.0</i>. </p> </li> <li> <p> <b>MAC_ADDRESS</b> </p> <p>A <i>media access control</i> (MAC) address is a unique identifier assigned to a network interface controller (NIC). </p> </li> <li> <p> <b>URL</b> </p> <p>A web address, such as <i>www.example.com</i>. </p> </li> <li> <p> <b>AWS_ACCESS_KEY</b> </p> <p>A unique identifier that's associated with a secret access key; you use the access key ID and secret access key to sign programmatic Amazon Web Services requests cryptographically. </p> </li> <li> <p> <b>AWS_SECRET_KEY</b> </p> <p>A unique identifier that's associated with an access key. You use the access key ID and secret access key to sign programmatic Amazon Web Services requests cryptographically. </p> </li> </ul> </li> <li> <p> <b>USA specific</b> </p> <ul> <li> <p> <b>US_BANK_ACCOUNT_NUMBER</b> </p> <p>A US bank account number, which is typically 10 to 12 digits long. </p> </li> <li> <p> <b>US_BANK_ROUTING_NUMBER</b> </p> <p>A US bank account routing number. These are typically nine digits long, </p> </li> <li> <p> <b>US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER</b> </p> <p>A US Individual Taxpayer Identification Number (ITIN) is a nine-digit number that starts with a \"9\" and contain a \"7\" or \"8\" as the fourth digit. An ITIN can be formatted with a space or a dash after the third and forth digits. </p> </li> <li> <p> <b>US_PASSPORT_NUMBER</b> </p> <p>A US passport number. Passport numbers range from six to nine alphanumeric characters. </p> </li> <li> <p> <b>US_SOCIAL_SECURITY_NUMBER</b> </p> <p>A US Social Security Number (SSN) is a nine-digit number that is issued to US citizens, permanent residents, and temporary working residents. </p> </li> </ul> </li> <li> <p> <b>Canada specific</b> </p> <ul> <li> <p> <b>CA_HEALTH_NUMBER</b> </p> <p>A Canadian Health Service Number is a 10-digit unique identifier, required for individuals to access healthcare benefits. </p> </li> <li> <p> <b>CA_SOCIAL_INSURANCE_NUMBER</b> </p> <p>A Canadian Social Insurance Number (SIN) is a nine-digit unique identifier, required for individuals to access government programs and benefits.</p> <p>The SIN is formatted as three groups of three digits, such as <i>123-456-789</i>. A SIN can be validated through a simple check-digit process called the <a href=\"https://www.wikipedia.org/wiki/Luhn_algorithm\">Luhn algorithm</a>.</p> </li> </ul> </li> <li> <p> <b>UK Specific</b> </p> <ul> <li> <p> <b>UK_NATIONAL_HEALTH_SERVICE_NUMBER</b> </p> <p>A UK National Health Service Number is a 10-17 digit number, such as <i>485 777 3456</i>. The current system formats the 10-digit number with spaces after the third and sixth digits. The final digit is an error-detecting checksum.</p> </li> <li> <p> <b>UK_NATIONAL_INSURANCE_NUMBER</b> </p> <p>A UK National Insurance Number (NINO) provides individuals with access to National Insurance (social security) benefits. It is also used for some purposes in the UK tax system.</p> <p>The number is nine digits long and starts with two letters, followed by six numbers and one letter. A NINO can be formatted with a space or a dash after the two letters and after the second, forth, and sixth digits.</p> </li> <li> <p> <b>UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER</b> </p> <p>A UK Unique Taxpayer Reference (UTR) is a 10-digit number that identifies a taxpayer or a business. </p> </li> </ul> </li> <li> <p> <b>Custom</b> </p> <ul> <li> <p> <b>Regex filter</b> - You can use a regular expressions to define patterns for a guardrail to recognize and act upon such as serial number, booking ID etc..</p> </li> </ul> </li> </ul>"
        },
        "action":{
          "shape":"GuardrailSensitiveInformationAction",
          "documentation":"<p>Configure guardrail action when the PII entity is detected.</p>"
        },
        "inputAction":{
          "shape":"GuardrailSensitiveInformationAction",
          "documentation":"<p>Specifies the action to take when harmful content is detected in the input. Supported values include:</p> <ul> <li> <p> <code>BLOCK</code> – Block the content and replace it with blocked messaging.</p> </li> <li> <p> <code>ANONYMIZE</code> – Mask the content and replace it with identifier tags.</p> </li> <li> <p> <code>NONE</code> – Take no action but return detection information in the trace response.</p> </li> </ul>"
        },
        "outputAction":{
          "shape":"GuardrailSensitiveInformationAction",
          "documentation":"<p>Specifies the action to take when harmful content is detected in the output. Supported values include:</p> <ul> <li> <p> <code>BLOCK</code> – Block the content and replace it with blocked messaging.</p> </li> <li> <p> <code>ANONYMIZE</code> – Mask the content and replace it with identifier tags.</p> </li> <li> <p> <code>NONE</code> – Take no action but return detection information in the trace response.</p> </li> </ul>"
        },
        "inputEnabled":{
          "shape":"Boolean",
          "documentation":"<p>Specifies whether to enable guardrail evaluation on the input. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.</p>"
        },
        "outputEnabled":{
          "shape":"Boolean",
          "documentation":"<p>Specifies whether to enable guardrail evaluation on the output. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.</p>"
        }
      },
      "documentation":"<p>The PII entity to configure for the guardrail.</p>"
    },
    "GuardrailPiiEntityType":{
      "type":"string",
      "enum":[
        "ADDRESS",
        "AGE",
        "AWS_ACCESS_KEY",
        "AWS_SECRET_KEY",
        "CA_HEALTH_NUMBER",
        "CA_SOCIAL_INSURANCE_NUMBER",
        "CREDIT_DEBIT_CARD_CVV",
        "CREDIT_DEBIT_CARD_EXPIRY",
        "CREDIT_DEBIT_CARD_NUMBER",
        "DRIVER_ID",
        "EMAIL",
        "INTERNATIONAL_BANK_ACCOUNT_NUMBER",
        "IP_ADDRESS",
        "LICENSE_PLATE",
        "MAC_ADDRESS",
        "NAME",
        "PASSWORD",
        "PHONE",
        "PIN",
        "SWIFT_CODE",
        "UK_NATIONAL_HEALTH_SERVICE_NUMBER",
        "UK_NATIONAL_INSURANCE_NUMBER",
        "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER",
        "URL",
        "USERNAME",
        "US_BANK_ACCOUNT_NUMBER",
        "US_BANK_ROUTING_NUMBER",
        "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER",
        "US_PASSPORT_NUMBER",
        "US_SOCIAL_SECURITY_NUMBER",
        "VEHICLE_IDENTIFICATION_NUMBER"
      ]
    },
    "GuardrailRegex":{
      "type":"structure",
      "required":[
        "name",
        "pattern",
        "action"
      ],
      "members":{
        "name":{
          "shape":"GuardrailRegexNameString",
          "documentation":"<p>The name of the regular expression for the guardrail.</p>"
        },
        "description":{
          "shape":"GuardrailRegexDescriptionString",
          "documentation":"<p>The description of the regular expression for the guardrail.</p>"
        },
        "pattern":{
          "shape":"GuardrailRegexPatternString",
          "documentation":"<p>The pattern of the regular expression configured for the guardrail.</p>"
        },
        "action":{
          "shape":"GuardrailSensitiveInformationAction",
          "documentation":"<p>The action taken when a match to the regular expression is detected.</p>"
        },
        "inputAction":{
          "shape":"GuardrailSensitiveInformationAction",
          "documentation":"<p>The action to take when harmful content is detected in the input. Supported values include:</p> <ul> <li> <p> <code>BLOCK</code> – Block the content and replace it with blocked messaging.</p> </li> <li> <p> <code>NONE</code> – Take no action but return detection information in the trace response.</p> </li> </ul>"
        },
        "outputAction":{
          "shape":"GuardrailSensitiveInformationAction",
          "documentation":"<p>The action to take when harmful content is detected in the output. Supported values include:</p> <ul> <li> <p> <code>BLOCK</code> – Block the content and replace it with blocked messaging.</p> </li> <li> <p> <code>NONE</code> – Take no action but return detection information in the trace response.</p> </li> </ul>"
        },
        "inputEnabled":{
          "shape":"Boolean",
          "documentation":"<p>Indicates whether guardrail evaluation is enabled on the input. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.</p>"
        },
        "outputEnabled":{
          "shape":"Boolean",
          "documentation":"<p>Indicates whether guardrail evaluation is enabled on the output. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.</p>"
        }
      },
      "documentation":"<p>The regular expression configured for the guardrail.</p>"
    },
    "GuardrailRegexConfig":{
      "type":"structure",
      "required":[
        "name",
        "pattern",
        "action"
      ],
      "members":{
        "name":{
          "shape":"GuardrailRegexConfigNameString",
          "documentation":"<p>The name of the regular expression to configure for the guardrail.</p>"
        },
        "description":{
          "shape":"GuardrailRegexConfigDescriptionString",
          "documentation":"<p>The description of the regular expression to configure for the guardrail.</p>"
        },
        "pattern":{
          "shape":"GuardrailRegexConfigPatternString",
          "documentation":"<p>The regular expression pattern to configure for the guardrail.</p>"
        },
        "action":{
          "shape":"GuardrailSensitiveInformationAction",
          "documentation":"<p>The guardrail action to configure when matching regular expression is detected.</p>"
        },
        "inputAction":{
          "shape":"GuardrailSensitiveInformationAction",
          "documentation":"<p>Specifies the action to take when harmful content is detected in the input. Supported values include:</p> <ul> <li> <p> <code>BLOCK</code> – Block the content and replace it with blocked messaging.</p> </li> <li> <p> <code>NONE</code> – Take no action but return detection information in the trace response.</p> </li> </ul>"
        },
        "outputAction":{
          "shape":"GuardrailSensitiveInformationAction",
          "documentation":"<p>Specifies the action to take when harmful content is detected in the output. Supported values include:</p> <ul> <li> <p> <code>BLOCK</code> – Block the content and replace it with blocked messaging.</p> </li> <li> <p> <code>NONE</code> – Take no action but return detection information in the trace response.</p> </li> </ul>"
        },
        "inputEnabled":{
          "shape":"Boolean",
          "documentation":"<p>Specifies whether to enable guardrail evaluation on the input. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.</p>"
        },
        "outputEnabled":{
          "shape":"Boolean",
          "documentation":"<p>Specifies whether to enable guardrail evaluation on the output. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.</p>"
        }
      },
      "documentation":"<p>The regular expression to configure for the guardrail.</p>"
    },
    "GuardrailRegexConfigDescriptionString":{
      "type":"string",
      "max":1000,
      "min":1
    },
    "GuardrailRegexConfigNameString":{
      "type":"string",
      "max":100,
      "min":1
    },
    "GuardrailRegexConfigPatternString":{
      "type":"string",
      "max":500,
      "min":1
    },
    "GuardrailRegexDescriptionString":{
      "type":"string",
      "max":1000,
      "min":1
    },
    "GuardrailRegexNameString":{
      "type":"string",
      "max":100,
      "min":1
    },
    "GuardrailRegexPatternString":{
      "type":"string",
      "max":500,
      "min":1
    },
    "GuardrailRegexes":{
      "type":"list",
      "member":{"shape":"GuardrailRegex"}
    },
    "GuardrailRegexesConfig":{
      "type":"list",
      "member":{"shape":"GuardrailRegexConfig"},
      "max":10,
      "min":1
    },
    "GuardrailSensitiveInformationAction":{
      "type":"string",
      "enum":[
        "BLOCK",
        "ANONYMIZE",
        "NONE"
      ]
    },
    "GuardrailSensitiveInformationPolicy":{
      "type":"structure",
      "members":{
        "piiEntities":{
          "shape":"GuardrailPiiEntities",
          "documentation":"<p>The list of PII entities configured for the guardrail.</p>"
        },
        "regexes":{
          "shape":"GuardrailRegexes",
          "documentation":"<p>The list of regular expressions configured for the guardrail.</p>"
        }
      },
      "documentation":"<p>Contains details about PII entities and regular expressions configured for the guardrail.</p>"
    },
    "GuardrailSensitiveInformationPolicyConfig":{
      "type":"structure",
      "members":{
        "piiEntitiesConfig":{
          "shape":"GuardrailPiiEntitiesConfig",
          "documentation":"<p>A list of PII entities to configure to the guardrail.</p>"
        },
        "regexesConfig":{
          "shape":"GuardrailRegexesConfig",
          "documentation":"<p>A list of regular expressions to configure to the guardrail.</p>"
        }
      },
      "documentation":"<p>Contains details about PII entities and regular expressions to configure for the guardrail.</p>"
    },
    "GuardrailStatus":{
      "type":"string",
      "enum":[
        "CREATING",
        "UPDATING",
        "VERSIONING",
        "READY",
        "FAILED",
        "DELETING"
      ]
    },
    "GuardrailStatusReason":{
      "type":"string",
      "max":200,
      "min":1,
      "sensitive":true
    },
    "GuardrailStatusReasons":{
      "type":"list",
      "member":{"shape":"GuardrailStatusReason"},
      "max":100,
      "min":0
    },
    "GuardrailSummaries":{
      "type":"list",
      "member":{"shape":"GuardrailSummary"},
      "max":1000,
      "min":0
    },
    "GuardrailSummary":{
      "type":"structure",
      "required":[
        "id",
        "arn",
        "status",
        "name",
        "version",
        "createdAt",
        "updatedAt"
      ],
      "members":{
        "id":{
          "shape":"GuardrailId",
          "documentation":"<p>The unique identifier of the guardrail.</p>"
        },
        "arn":{
          "shape":"GuardrailArn",
          "documentation":"<p>The ARN of the guardrail.</p>"
        },
        "status":{
          "shape":"GuardrailStatus",
          "documentation":"<p>The status of the guardrail.</p>"
        },
        "name":{
          "shape":"GuardrailName",
          "documentation":"<p>The name of the guardrail.</p>"
        },
        "description":{
          "shape":"GuardrailDescription",
          "documentation":"<p>A description of the guardrail.</p>"
        },
        "version":{
          "shape":"GuardrailVersion",
          "documentation":"<p>The version of the guardrail.</p>"
        },
        "createdAt":{
          "shape":"Timestamp",
          "documentation":"<p>The date and time at which the guardrail was created.</p>"
        },
        "updatedAt":{
          "shape":"Timestamp",
          "documentation":"<p>The date and time at which the guardrail was last updated.</p>"
        }
      },
      "documentation":"<p>Contains details about a guardrail.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_ListGuardrails.html#API_ListGuardrails_ResponseSyntax\">ListGuardrails response body</a> </p> </li> </ul>"
    },
    "GuardrailTopic":{
      "type":"structure",
      "required":[
        "name",
        "definition"
      ],
      "members":{
        "name":{
          "shape":"GuardrailTopicName",
          "documentation":"<p>The name of the topic to deny.</p>"
        },
        "definition":{
          "shape":"GuardrailTopicDefinition",
          "documentation":"<p>A definition of the topic to deny.</p>"
        },
        "examples":{
          "shape":"GuardrailTopicExamples",
          "documentation":"<p>A list of prompts, each of which is an example of a prompt that can be categorized as belonging to the topic.</p>"
        },
        "type":{
          "shape":"GuardrailTopicType",
          "documentation":"<p>Specifies to deny the topic.</p>"
        },
        "inputAction":{
          "shape":"GuardrailTopicAction",
          "documentation":"<p>The action to take when harmful content is detected in the input. Supported values include:</p> <ul> <li> <p> <code>BLOCK</code> – Block the content and replace it with blocked messaging.</p> </li> <li> <p> <code>NONE</code> – Take no action but return detection information in the trace response.</p> </li> </ul>"
        },
        "outputAction":{
          "shape":"GuardrailTopicAction",
          "documentation":"<p>The action to take when harmful content is detected in the output. Supported values include:</p> <ul> <li> <p> <code>BLOCK</code> – Block the content and replace it with blocked messaging.</p> </li> <li> <p> <code>NONE</code> – Take no action but return detection information in the trace response.</p> </li> </ul>"
        },
        "inputEnabled":{
          "shape":"Boolean",
          "documentation":"<p>Indicates whether guardrail evaluation is enabled on the input. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.</p>"
        },
        "outputEnabled":{
          "shape":"Boolean",
          "documentation":"<p>Indicates whether guardrail evaluation is enabled on the output. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.</p>"
        }
      },
      "documentation":"<p>Details about topics for the guardrail to identify and deny.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetGuardrail.html#API_GetGuardrail_ResponseSyntax\">GetGuardrail response body</a> </p> </li> </ul>"
    },
    "GuardrailTopicAction":{
      "type":"string",
      "enum":[
        "BLOCK",
        "NONE"
      ],
      "sensitive":true
    },
    "GuardrailTopicConfig":{
      "type":"structure",
      "required":[
        "name",
        "definition",
        "type"
      ],
      "members":{
        "name":{
          "shape":"GuardrailTopicName",
          "documentation":"<p>The name of the topic to deny.</p>"
        },
        "definition":{
          "shape":"GuardrailTopicDefinition",
          "documentation":"<p>A definition of the topic to deny.</p>"
        },
        "examples":{
          "shape":"GuardrailTopicExamples",
          "documentation":"<p>A list of prompts, each of which is an example of a prompt that can be categorized as belonging to the topic.</p>"
        },
        "type":{
          "shape":"GuardrailTopicType",
          "documentation":"<p>Specifies to deny the topic.</p>"
        },
        "inputAction":{
          "shape":"GuardrailTopicAction",
          "documentation":"<p>Specifies the action to take when harmful content is detected in the input. Supported values include:</p> <ul> <li> <p> <code>BLOCK</code> – Block the content and replace it with blocked messaging.</p> </li> <li> <p> <code>NONE</code> – Take no action but return detection information in the trace response.</p> </li> </ul>"
        },
        "outputAction":{
          "shape":"GuardrailTopicAction",
          "documentation":"<p>Specifies the action to take when harmful content is detected in the output. Supported values include:</p> <ul> <li> <p> <code>BLOCK</code> – Block the content and replace it with blocked messaging.</p> </li> <li> <p> <code>NONE</code> – Take no action but return detection information in the trace response.</p> </li> </ul>"
        },
        "inputEnabled":{
          "shape":"Boolean",
          "documentation":"<p>Specifies whether to enable guardrail evaluation on the input. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.</p>"
        },
        "outputEnabled":{
          "shape":"Boolean",
          "documentation":"<p>Specifies whether to enable guardrail evaluation on the output. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.</p>"
        }
      },
      "documentation":"<p>Details about topics for the guardrail to identify and deny.</p>"
    },
    "GuardrailTopicDefinition":{
      "type":"string",
      "max":200,
      "min":1,
      "sensitive":true
    },
    "GuardrailTopicExample":{
      "type":"string",
      "max":100,
      "min":1,
      "sensitive":true
    },
    "GuardrailTopicExamples":{
      "type":"list",
      "member":{"shape":"GuardrailTopicExample"},
      "max":5,
      "min":0
    },
    "GuardrailTopicName":{
      "type":"string",
      "max":100,
      "min":1,
      "pattern":"[0-9a-zA-Z-_ !?.]+",
      "sensitive":true
    },
    "GuardrailTopicPolicy":{
      "type":"structure",
      "required":["topics"],
      "members":{
        "topics":{
          "shape":"GuardrailTopics",
          "documentation":"<p>A list of policies related to topics that the guardrail should deny.</p>"
        }
      },
      "documentation":"<p>Contains details about topics that the guardrail should identify and deny.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetGuardrail.html#API_GetGuardrail_ResponseSyntax\">GetGuardrail response body</a> </p> </li> </ul>"
    },
    "GuardrailTopicPolicyConfig":{
      "type":"structure",
      "required":["topicsConfig"],
      "members":{
        "topicsConfig":{
          "shape":"GuardrailTopicsConfig",
          "documentation":"<p>A list of policies related to topics that the guardrail should deny.</p>"
        }
      },
      "documentation":"<p>Contains details about topics that the guardrail should identify and deny.</p>"
    },
    "GuardrailTopicType":{
      "type":"string",
      "enum":["DENY"]
    },
    "GuardrailTopics":{
      "type":"list",
      "member":{"shape":"GuardrailTopic"},
      "max":30,
      "min":1
    },
    "GuardrailTopicsConfig":{
      "type":"list",
      "member":{"shape":"GuardrailTopicConfig"},
      "max":30,
      "min":1
    },
    "GuardrailVersion":{
      "type":"string",
      "pattern":"(([1-9][0-9]{0,7})|(DRAFT))"
    },
    "GuardrailWord":{
      "type":"structure",
      "required":["text"],
      "members":{
        "text":{
          "shape":"GuardrailWordTextString",
          "documentation":"<p>Text of the word configured for the guardrail to block.</p>"
        },
        "inputAction":{
          "shape":"GuardrailWordAction",
          "documentation":"<p>The action to take when harmful content is detected in the input. Supported values include:</p> <ul> <li> <p> <code>BLOCK</code> – Block the content and replace it with blocked messaging.</p> </li> <li> <p> <code>NONE</code> – Take no action but return detection information in the trace response.</p> </li> </ul>"
        },
        "outputAction":{
          "shape":"GuardrailWordAction",
          "documentation":"<p>The action to take when harmful content is detected in the output. Supported values include:</p> <ul> <li> <p> <code>BLOCK</code> – Block the content and replace it with blocked messaging.</p> </li> <li> <p> <code>NONE</code> – Take no action but return detection information in the trace response.</p> </li> </ul>"
        },
        "inputEnabled":{
          "shape":"Boolean",
          "documentation":"<p>Indicates whether guardrail evaluation is enabled on the input. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.</p>"
        },
        "outputEnabled":{
          "shape":"Boolean",
          "documentation":"<p>Indicates whether guardrail evaluation is enabled on the output. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.</p>"
        }
      },
      "documentation":"<p>A word configured for the guardrail.</p>"
    },
    "GuardrailWordAction":{
      "type":"string",
      "enum":[
        "BLOCK",
        "NONE"
      ],
      "sensitive":true
    },
    "GuardrailWordConfig":{
      "type":"structure",
      "required":["text"],
      "members":{
        "text":{
          "shape":"GuardrailWordConfigTextString",
          "documentation":"<p>Text of the word configured for the guardrail to block.</p>"
        },
        "inputAction":{
          "shape":"GuardrailWordAction",
          "documentation":"<p>Specifies the action to take when harmful content is detected in the input. Supported values include:</p> <ul> <li> <p> <code>BLOCK</code> – Block the content and replace it with blocked messaging.</p> </li> <li> <p> <code>NONE</code> – Take no action but return detection information in the trace response.</p> </li> </ul>"
        },
        "outputAction":{
          "shape":"GuardrailWordAction",
          "documentation":"<p>Specifies the action to take when harmful content is detected in the output. Supported values include:</p> <ul> <li> <p> <code>BLOCK</code> – Block the content and replace it with blocked messaging.</p> </li> <li> <p> <code>NONE</code> – Take no action but return detection information in the trace response.</p> </li> </ul>"
        },
        "inputEnabled":{
          "shape":"Boolean",
          "documentation":"<p>Specifies whether to enable guardrail evaluation on the intput. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.</p>"
        },
        "outputEnabled":{
          "shape":"Boolean",
          "documentation":"<p>Specifies whether to enable guardrail evaluation on the output. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.</p>"
        }
      },
      "documentation":"<p>A word to configure for the guardrail.</p>"
    },
    "GuardrailWordConfigTextString":{
      "type":"string",
      "max":100,
      "min":1
    },
    "GuardrailWordPolicy":{
      "type":"structure",
      "members":{
        "words":{
          "shape":"GuardrailWords",
          "documentation":"<p>A list of words configured for the guardrail.</p>"
        },
        "managedWordLists":{
          "shape":"GuardrailManagedWordLists",
          "documentation":"<p>A list of managed words configured for the guardrail.</p>"
        }
      },
      "documentation":"<p>Contains details about the word policy configured for the guardrail.</p>"
    },
    "GuardrailWordPolicyConfig":{
      "type":"structure",
      "members":{
        "wordsConfig":{
          "shape":"GuardrailWordsConfig",
          "documentation":"<p>A list of words to configure for the guardrail.</p>"
        },
        "managedWordListsConfig":{
          "shape":"GuardrailManagedWordListsConfig",
          "documentation":"<p>A list of managed words to configure for the guardrail.</p>"
        }
      },
      "documentation":"<p>Contains details about the word policy to configured for the guardrail.</p>"
    },
    "GuardrailWordTextString":{
      "type":"string",
      "max":100,
      "min":1
    },
    "GuardrailWords":{
      "type":"list",
      "member":{"shape":"GuardrailWord"},
      "max":10000,
      "min":1
    },
    "GuardrailWordsConfig":{
      "type":"list",
      "member":{"shape":"GuardrailWordConfig"},
      "max":10000,
      "min":1
    },
    "HumanEvaluationConfig":{
      "type":"structure",
      "required":["datasetMetricConfigs"],
      "members":{
        "humanWorkflowConfig":{
          "shape":"HumanWorkflowConfig",
          "documentation":"<p>The parameters of the human workflow.</p>"
        },
        "customMetrics":{
          "shape":"HumanEvaluationCustomMetrics",
          "documentation":"<p>A <code>HumanEvaluationCustomMetric</code> object. It contains the names the metrics, how the metrics are to be evaluated, an optional description.</p>"
        },
        "datasetMetricConfigs":{
          "shape":"EvaluationDatasetMetricConfigs",
          "documentation":"<p>Use to specify the metrics, task, and prompt dataset to be used in your model evaluation job.</p>"
        }
      },
      "documentation":"<p>Specifies the custom metrics, how tasks will be rated, the flow definition ARN, and your custom prompt datasets. Model evaluation jobs use human workers <i>only</i> support the use of custom prompt datasets. To learn more about custom prompt datasets and the required format, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-evaluation-prompt-datasets-custom.html\">Custom prompt datasets</a>.</p> <p>When you create custom metrics in <code>HumanEvaluationCustomMetric</code> you must specify the metric's <code>name</code>. The list of <code>names</code> specified in the <code>HumanEvaluationCustomMetric</code> array, must match the <code>metricNames</code> array of strings specified in <code>EvaluationDatasetMetricConfig</code>. For example, if in the <code>HumanEvaluationCustomMetric</code> array your specified the names <code>\"accuracy\", \"toxicity\", \"readability\"</code> as custom metrics <i>then</i> the <code>metricNames</code> array would need to look like the following <code>[\"accuracy\", \"toxicity\", \"readability\"]</code> in <code>EvaluationDatasetMetricConfig</code>.</p>"
    },
    "HumanEvaluationCustomMetric":{
      "type":"structure",
      "required":[
        "name",
        "ratingMethod"
      ],
      "members":{
        "name":{
          "shape":"EvaluationMetricName",
          "documentation":"<p>The name of the metric. Your human evaluators will see this name in the evaluation UI.</p>"
        },
        "description":{
          "shape":"EvaluationMetricDescription",
          "documentation":"<p>An optional description of the metric. Use this parameter to provide more details about the metric.</p>"
        },
        "ratingMethod":{
          "shape":"EvaluationRatingMethod",
          "documentation":"<p>Choose how you want your human workers to evaluation your model. Valid values for rating methods are <code>ThumbsUpDown</code>, <code>IndividualLikertScale</code>,<code>ComparisonLikertScale</code>, <code>ComparisonChoice</code>, and <code>ComparisonRank</code> </p>"
        }
      },
      "documentation":"<p>In a model evaluation job that uses human workers you must define the name of the metric, and how you want that metric rated <code>ratingMethod</code>, and an optional description of the metric.</p>"
    },
    "HumanEvaluationCustomMetrics":{
      "type":"list",
      "member":{"shape":"HumanEvaluationCustomMetric"},
      "max":10,
      "min":1
    },
    "HumanTaskInstructions":{
      "type":"string",
      "max":5000,
      "min":1,
      "pattern":"[\\S\\s]+",
      "sensitive":true
    },
    "HumanWorkflowConfig":{
      "type":"structure",
      "required":["flowDefinitionArn"],
      "members":{
        "flowDefinitionArn":{
          "shape":"SageMakerFlowDefinitionArn",
          "documentation":"<p>The Amazon Resource Number (ARN) for the flow definition</p>"
        },
        "instructions":{
          "shape":"HumanTaskInstructions",
          "documentation":"<p>Instructions for the flow definition</p>"
        }
      },
      "documentation":"<p>Contains <code>SageMakerFlowDefinition</code> object. The object is used to specify the prompt dataset, task type, rating method and metric names.</p>"
    },
    "IdempotencyToken":{
      "type":"string",
      "max":256,
      "min":1,
      "pattern":"[a-zA-Z0-9](-*[a-zA-Z0-9])*"
    },
    "Identifier":{
      "type":"string",
      "max":1024,
      "min":1,
      "sensitive":true
    },
    "ImportedModelArn":{
      "type":"string",
      "max":1011,
      "min":20,
      "pattern":"arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:imported-model/[a-z0-9]{12}"
    },
    "ImportedModelIdentifier":{
      "type":"string",
      "max":1011,
      "min":1,
      "pattern":"(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:imported-model/[a-z0-9]{12})|(([0-9a-zA-Z][_-]?)+)"
    },
    "ImportedModelName":{
      "type":"string",
      "max":63,
      "min":1,
      "pattern":"([0-9a-zA-Z][_-]?)+"
    },
    "ImportedModelSummary":{
      "type":"structure",
      "required":[
        "modelArn",
        "modelName",
        "creationTime"
      ],
      "members":{
        "modelArn":{
          "shape":"ImportedModelArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the imported model.</p>"
        },
        "modelName":{
          "shape":"ImportedModelName",
          "documentation":"<p>Name of the imported model.</p>"
        },
        "creationTime":{
          "shape":"Timestamp",
          "documentation":"<p>Creation time of the imported model.</p>"
        },
        "instructSupported":{
          "shape":"InstructSupported",
          "documentation":"<p>Specifies if the imported model supports converse.</p>"
        },
        "modelArchitecture":{
          "shape":"ModelArchitecture",
          "documentation":"<p>The architecture of the imported model.</p>"
        }
      },
      "documentation":"<p>Information about the imported model.</p>"
    },
    "ImportedModelSummaryList":{
      "type":"list",
      "member":{"shape":"ImportedModelSummary"}
    },
    "InferenceProfileArn":{
      "type":"string",
      "max":2048,
      "min":1,
      "pattern":"arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{0,20}):(|[0-9]{12}):(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+"
    },
    "InferenceProfileDescription":{
      "type":"string",
      "max":200,
      "min":1,
      "pattern":"([0-9a-zA-Z:.][ _-]?)+",
      "sensitive":true
    },
    "InferenceProfileId":{
      "type":"string",
      "max":64,
      "min":1,
      "pattern":"[a-zA-Z0-9-:.]+"
    },
    "InferenceProfileIdentifier":{
      "type":"string",
      "max":2048,
      "min":1,
      "pattern":"(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{0,20}):(|[0-9]{12}):(inference-profile|application-inference-profile)/)?[a-zA-Z0-9-:.]+"
    },
    "InferenceProfileModel":{
      "type":"structure",
      "members":{
        "modelArn":{
          "shape":"FoundationModelArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the model.</p>"
        }
      },
      "documentation":"<p>Contains information about a model.</p>"
    },
    "InferenceProfileModelSource":{
      "type":"structure",
      "members":{
        "copyFrom":{
          "shape":"InferenceProfileModelSourceArn",
          "documentation":"<p>The ARN of the model or system-defined inference profile that is the source for the inference profile.</p>"
        }
      },
      "documentation":"<p>Contains information about the model or system-defined inference profile that is the source for an inference profile..</p>",
      "union":true
    },
    "InferenceProfileModelSourceArn":{
      "type":"string",
      "max":2048,
      "min":1,
      "pattern":"arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{0,20}):(|[0-9]{12}):(inference-profile|foundation-model)/[a-zA-Z0-9-:.]+"
    },
    "InferenceProfileModels":{
      "type":"list",
      "member":{"shape":"InferenceProfileModel"},
      "max":5,
      "min":1
    },
    "InferenceProfileName":{
      "type":"string",
      "max":64,
      "min":1,
      "pattern":"([0-9a-zA-Z][ _-]?)+"
    },
    "InferenceProfileStatus":{
      "type":"string",
      "enum":["ACTIVE"]
    },
    "InferenceProfileSummaries":{
      "type":"list",
      "member":{"shape":"InferenceProfileSummary"}
    },
    "InferenceProfileSummary":{
      "type":"structure",
      "required":[
        "inferenceProfileName",
        "inferenceProfileArn",
        "models",
        "inferenceProfileId",
        "status",
        "type"
      ],
      "members":{
        "inferenceProfileName":{
          "shape":"InferenceProfileName",
          "documentation":"<p>The name of the inference profile.</p>"
        },
        "description":{
          "shape":"InferenceProfileDescription",
          "documentation":"<p>The description of the inference profile.</p>"
        },
        "createdAt":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the inference profile was created.</p>"
        },
        "updatedAt":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the inference profile was last updated.</p>"
        },
        "inferenceProfileArn":{
          "shape":"InferenceProfileArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the inference profile.</p>"
        },
        "models":{
          "shape":"InferenceProfileModels",
          "documentation":"<p>A list of information about each model in the inference profile.</p>"
        },
        "inferenceProfileId":{
          "shape":"InferenceProfileId",
          "documentation":"<p>The unique identifier of the inference profile.</p>"
        },
        "status":{
          "shape":"InferenceProfileStatus",
          "documentation":"<p>The status of the inference profile. <code>ACTIVE</code> means that the inference profile is ready to be used.</p>"
        },
        "type":{
          "shape":"InferenceProfileType",
          "documentation":"<p>The type of the inference profile. The following types are possible:</p> <ul> <li> <p> <code>SYSTEM_DEFINED</code> – The inference profile is defined by Amazon Bedrock. You can route inference requests across regions with these inference profiles.</p> </li> <li> <p> <code>APPLICATION</code> – The inference profile was created by a user. This type of inference profile can track metrics and costs when invoking the model in it. The inference profile may route requests to one or multiple regions.</p> </li> </ul>"
        }
      },
      "documentation":"<p>Contains information about an inference profile.</p>"
    },
    "InferenceProfileType":{
      "type":"string",
      "enum":[
        "SYSTEM_DEFINED",
        "APPLICATION"
      ]
    },
    "InferenceType":{
      "type":"string",
      "enum":[
        "ON_DEMAND",
        "PROVISIONED"
      ]
    },
    "InferenceTypeList":{
      "type":"list",
      "member":{"shape":"InferenceType"}
    },
    "InstanceCount":{
      "type":"integer",
      "box":true,
      "min":1
    },
    "InstanceType":{
      "type":"string",
      "max":50,
      "min":1
    },
    "InstructSupported":{
      "type":"boolean",
      "box":true
    },
    "Integer":{
      "type":"integer",
      "box":true
    },
    "InternalServerException":{
      "type":"structure",
      "members":{
        "message":{"shape":"NonBlankString"}
      },
      "documentation":"<p>An internal server error occurred. Retry your request.</p>",
      "error":{"httpStatusCode":500},
      "exception":true,
      "fault":true
    },
    "InvocationLogSource":{
      "type":"structure",
      "members":{
        "s3Uri":{
          "shape":"S3Uri",
          "documentation":"<p>The URI of an invocation log in a bucket.</p>"
        }
      },
      "documentation":"<p>A storage location for invocation logs.</p>",
      "union":true
    },
    "InvocationLogsConfig":{
      "type":"structure",
      "required":["invocationLogSource"],
      "members":{
        "usePromptResponse":{
          "shape":"UsePromptResponse",
          "documentation":"<p>Whether to use the model's response for training, or just the prompt. The default value is <code>False</code>.</p>"
        },
        "invocationLogSource":{
          "shape":"InvocationLogSource",
          "documentation":"<p>The source of the invocation logs.</p>"
        },
        "requestMetadataFilters":{
          "shape":"RequestMetadataFilters",
          "documentation":"<p>Rules for filtering invocation logs based on request metadata.</p>"
        }
      },
      "documentation":"<p>Settings for using invocation logs to customize a model.</p>"
    },
    "JobName":{
      "type":"string",
      "max":63,
      "min":1,
      "pattern":"[a-zA-Z0-9](-*[a-zA-Z0-9\\+\\-\\.])*"
    },
    "KbInferenceConfig":{
      "type":"structure",
      "members":{
        "textInferenceConfig":{
          "shape":"TextInferenceConfig",
          "documentation":"<p>Contains configuration details for text generation using a language model via the <code>RetrieveAndGenerate</code> function.</p>"
        }
      },
      "documentation":"<p>Contains configuration details of the inference for knowledge base retrieval and response generation.</p>"
    },
    "KeyPrefix":{
      "type":"string",
      "max":1024,
      "min":0
    },
    "KmsKeyArn":{
      "type":"string",
      "max":2048,
      "min":1,
      "pattern":"arn:aws(-[^:]+)?:kms:[a-zA-Z0-9-]*:[0-9]{12}:key/[a-zA-Z0-9-]{36}"
    },
    "KmsKeyId":{
      "type":"string",
      "max":2048,
      "min":1,
      "pattern":"(arn:aws(-[^:]+)?:kms:[a-zA-Z0-9-]*:[0-9]{12}:((key/[a-zA-Z0-9-]{36})|(alias/[a-zA-Z0-9-_/]+)))|([a-zA-Z0-9-]{36})|(alias/[a-zA-Z0-9-_/]+)"
    },
    "KnowledgeBaseConfig":{
      "type":"structure",
      "members":{
        "retrieveConfig":{
          "shape":"RetrieveConfig",
          "documentation":"<p>Contains configuration details for retrieving information from a knowledge base.</p>"
        },
        "retrieveAndGenerateConfig":{
          "shape":"RetrieveAndGenerateConfiguration",
          "documentation":"<p>Contains configuration details for retrieving information from a knowledge base and generating responses.</p>"
        }
      },
      "documentation":"<p>The configuration details for retrieving information from a knowledge base and generating responses.</p>",
      "union":true
    },
    "KnowledgeBaseId":{
      "type":"string",
      "max":10,
      "min":0,
      "pattern":"[0-9a-zA-Z]+"
    },
    "KnowledgeBaseRetrievalConfiguration":{
      "type":"structure",
      "required":["vectorSearchConfiguration"],
      "members":{
        "vectorSearchConfiguration":{
          "shape":"KnowledgeBaseVectorSearchConfiguration",
          "documentation":"<p>Contains configuration details for returning the results from the vector search.</p>"
        }
      },
      "documentation":"<p>Contains configuration details for retrieving information from a knowledge base.</p>"
    },
    "KnowledgeBaseRetrieveAndGenerateConfiguration":{
      "type":"structure",
      "required":[
        "knowledgeBaseId",
        "modelArn"
      ],
      "members":{
        "knowledgeBaseId":{
          "shape":"KnowledgeBaseId",
          "documentation":"<p>The unique identifier of the knowledge base.</p>"
        },
        "modelArn":{
          "shape":"BedrockModelArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the foundation model or <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html\">inference profile</a> used to generate responses.</p>"
        },
        "retrievalConfiguration":{
          "shape":"KnowledgeBaseRetrievalConfiguration",
          "documentation":"<p>Contains configuration details for retrieving text chunks.</p>"
        },
        "generationConfiguration":{
          "shape":"GenerationConfiguration",
          "documentation":"<p>Contains configurations details for response generation based on retrieved text chunks.</p>"
        },
        "orchestrationConfiguration":{
          "shape":"OrchestrationConfiguration",
          "documentation":"<p>Contains configuration details for the model to process the prompt prior to retrieval and response generation.</p>"
        }
      },
      "documentation":"<p>Contains configuration details for retrieving information from a knowledge base and generating responses.</p>"
    },
    "KnowledgeBaseVectorSearchConfiguration":{
      "type":"structure",
      "members":{
        "numberOfResults":{
          "shape":"KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger",
          "documentation":"<p>The number of text chunks to retrieve; the number of results to return.</p>"
        },
        "overrideSearchType":{
          "shape":"SearchType",
          "documentation":"<p>By default, Amazon Bedrock decides a search strategy for you. If you're using an Amazon OpenSearch Serverless vector store that contains a filterable text field, you can specify whether to query the knowledge base with a <code>HYBRID</code> search using both vector embeddings and raw text, or <code>SEMANTIC</code> search using only vector embeddings. For other vector store configurations, only <code>SEMANTIC</code> search is available.</p>"
        },
        "filter":{
          "shape":"RetrievalFilter",
          "documentation":"<p>Specifies the filters to use on the metadata fields in the knowledge base data sources before returning results.</p>"
        }
      },
      "documentation":"<p>The configuration details for returning the results from the knowledge base vector search.</p>"
    },
    "KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger":{
      "type":"integer",
      "box":true,
      "max":100,
      "min":1
    },
    "ListCustomModelsRequest":{
      "type":"structure",
      "members":{
        "creationTimeBefore":{
          "shape":"Timestamp",
          "documentation":"<p>Return custom models created before the specified time. </p>",
          "location":"querystring",
          "locationName":"creationTimeBefore"
        },
        "creationTimeAfter":{
          "shape":"Timestamp",
          "documentation":"<p>Return custom models created after the specified time. </p>",
          "location":"querystring",
          "locationName":"creationTimeAfter"
        },
        "nameContains":{
          "shape":"CustomModelName",
          "documentation":"<p>Return custom models only if the job name contains these characters.</p>",
          "location":"querystring",
          "locationName":"nameContains"
        },
        "baseModelArnEquals":{
          "shape":"ModelArn",
          "documentation":"<p>Return custom models only if the base model Amazon Resource Name (ARN) matches this parameter.</p>",
          "location":"querystring",
          "locationName":"baseModelArnEquals"
        },
        "foundationModelArnEquals":{
          "shape":"FoundationModelArn",
          "documentation":"<p>Return custom models only if the foundation model Amazon Resource Name (ARN) matches this parameter.</p>",
          "location":"querystring",
          "locationName":"foundationModelArnEquals"
        },
        "maxResults":{
          "shape":"MaxResults",
          "documentation":"<p>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 <code>nextToken</code> field when making another request to return the next batch of results.</p>",
          "location":"querystring",
          "locationName":"maxResults"
        },
        "nextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.</p>",
          "location":"querystring",
          "locationName":"nextToken"
        },
        "sortBy":{
          "shape":"SortModelsBy",
          "documentation":"<p>The field to sort by in the returned list of models.</p>",
          "location":"querystring",
          "locationName":"sortBy"
        },
        "sortOrder":{
          "shape":"SortOrder",
          "documentation":"<p>The sort order of the results.</p>",
          "location":"querystring",
          "locationName":"sortOrder"
        },
        "isOwned":{
          "shape":"Boolean",
          "documentation":"<p>Return custom models depending on if the current account owns them (<code>true</code>) or if they were shared with the current account (<code>false</code>).</p>",
          "location":"querystring",
          "locationName":"isOwned"
        }
      }
    },
    "ListCustomModelsResponse":{
      "type":"structure",
      "members":{
        "nextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, use this token when making another request in the <code>nextToken</code> field to return the next batch of results.</p>"
        },
        "modelSummaries":{
          "shape":"CustomModelSummaryList",
          "documentation":"<p>Model summaries.</p>"
        }
      }
    },
    "ListEvaluationJobsRequest":{
      "type":"structure",
      "members":{
        "creationTimeAfter":{
          "shape":"Timestamp",
          "documentation":"<p>A filter to only list evaluation jobs created after a specified time.</p>",
          "location":"querystring",
          "locationName":"creationTimeAfter"
        },
        "creationTimeBefore":{
          "shape":"Timestamp",
          "documentation":"<p>A filter to only list evaluation jobs created before a specified time.</p>",
          "location":"querystring",
          "locationName":"creationTimeBefore"
        },
        "statusEquals":{
          "shape":"EvaluationJobStatus",
          "documentation":"<p>A filter to only list evaluation jobs that are of a certain status.</p>",
          "location":"querystring",
          "locationName":"statusEquals"
        },
        "applicationTypeEquals":{
          "shape":"ApplicationType",
          "documentation":"<p>A filter to only list evaluation jobs that are either model evaluations or knowledge base evaluations.</p>",
          "location":"querystring",
          "locationName":"applicationTypeEquals"
        },
        "nameContains":{
          "shape":"EvaluationJobName",
          "documentation":"<p>A filter to only list evaluation jobs that contain a specified string in the job name.</p>",
          "location":"querystring",
          "locationName":"nameContains"
        },
        "maxResults":{
          "shape":"MaxResults",
          "documentation":"<p>The maximum number of results to return.</p>",
          "location":"querystring",
          "locationName":"maxResults"
        },
        "nextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>Continuation token from the previous response, for Amazon Bedrock to list the next set of results.</p>",
          "location":"querystring",
          "locationName":"nextToken"
        },
        "sortBy":{
          "shape":"SortJobsBy",
          "documentation":"<p>Specifies a creation time to sort the list of evaluation jobs by when they were created.</p>",
          "location":"querystring",
          "locationName":"sortBy"
        },
        "sortOrder":{
          "shape":"SortOrder",
          "documentation":"<p>Specifies whether to sort the list of evaluation jobs by either ascending or descending order.</p>",
          "location":"querystring",
          "locationName":"sortOrder"
        }
      }
    },
    "ListEvaluationJobsResponse":{
      "type":"structure",
      "members":{
        "nextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>Continuation token from the previous response, for Amazon Bedrock to list the next set of results.</p>"
        },
        "jobSummaries":{
          "shape":"EvaluationSummaries",
          "documentation":"<p>A list of summaries of the evaluation jobs.</p>"
        }
      }
    },
    "ListFoundationModelsRequest":{
      "type":"structure",
      "members":{
        "byProvider":{
          "shape":"Provider",
          "documentation":"<p>Return models belonging to the model provider that you specify.</p>",
          "location":"querystring",
          "locationName":"byProvider"
        },
        "byCustomizationType":{
          "shape":"ModelCustomization",
          "documentation":"<p>Return models that support the customization type that you specify. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html\">Custom models</a> in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html\">Amazon Bedrock User Guide</a>.</p>",
          "location":"querystring",
          "locationName":"byCustomizationType"
        },
        "byOutputModality":{
          "shape":"ModelModality",
          "documentation":"<p>Return models that support the output modality that you specify.</p>",
          "location":"querystring",
          "locationName":"byOutputModality"
        },
        "byInferenceType":{
          "shape":"InferenceType",
          "documentation":"<p>Return models that support the inference type that you specify. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/prov-throughput.html\">Provisioned Throughput</a> in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html\">Amazon Bedrock User Guide</a>.</p>",
          "location":"querystring",
          "locationName":"byInferenceType"
        }
      }
    },
    "ListFoundationModelsResponse":{
      "type":"structure",
      "members":{
        "modelSummaries":{
          "shape":"FoundationModelSummaryList",
          "documentation":"<p>A list of Amazon Bedrock foundation models.</p>"
        }
      }
    },
    "ListGuardrailsRequest":{
      "type":"structure",
      "members":{
        "guardrailIdentifier":{
          "shape":"GuardrailIdentifier",
          "documentation":"<p>The unique identifier of the guardrail. This can be an ID or the ARN.</p>",
          "location":"querystring",
          "locationName":"guardrailIdentifier"
        },
        "maxResults":{
          "shape":"MaxResults",
          "documentation":"<p>The maximum number of results to return in the response.</p>",
          "location":"querystring",
          "locationName":"maxResults"
        },
        "nextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>If there are more results than were returned in the response, the response returns a <code>nextToken</code> that you can send in another <code>ListGuardrails</code> request to see the next batch of results.</p>",
          "location":"querystring",
          "locationName":"nextToken"
        }
      }
    },
    "ListGuardrailsResponse":{
      "type":"structure",
      "required":["guardrails"],
      "members":{
        "guardrails":{
          "shape":"GuardrailSummaries",
          "documentation":"<p>A list of objects, each of which contains details about a guardrail.</p>"
        },
        "nextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>If there are more results than were returned in the response, the response returns a <code>nextToken</code> that you can send in another <code>ListGuardrails</code> request to see the next batch of results.</p>"
        }
      }
    },
    "ListImportedModelsRequest":{
      "type":"structure",
      "members":{
        "creationTimeBefore":{
          "shape":"Timestamp",
          "documentation":"<p>Return imported models that created before the specified time.</p>",
          "location":"querystring",
          "locationName":"creationTimeBefore"
        },
        "creationTimeAfter":{
          "shape":"Timestamp",
          "documentation":"<p>Return imported models that were created after the specified time.</p>",
          "location":"querystring",
          "locationName":"creationTimeAfter"
        },
        "nameContains":{
          "shape":"ImportedModelName",
          "documentation":"<p>Return imported models only if the model name contains these characters.</p>",
          "location":"querystring",
          "locationName":"nameContains"
        },
        "maxResults":{
          "shape":"MaxResults",
          "documentation":"<p>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 <code>nextToken</code> field when making another request to return the next batch of results.</p>",
          "location":"querystring",
          "locationName":"maxResults"
        },
        "nextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.</p>",
          "location":"querystring",
          "locationName":"nextToken"
        },
        "sortBy":{
          "shape":"SortModelsBy",
          "documentation":"<p>The field to sort by in the returned list of imported models.</p>",
          "location":"querystring",
          "locationName":"sortBy"
        },
        "sortOrder":{
          "shape":"SortOrder",
          "documentation":"<p>Specifies whetehr to sort the results in ascending or descending order.</p>",
          "location":"querystring",
          "locationName":"sortOrder"
        }
      }
    },
    "ListImportedModelsResponse":{
      "type":"structure",
      "members":{
        "nextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, use this token when making another request in the <code>nextToken</code> field to return the next batch of results.</p>"
        },
        "modelSummaries":{
          "shape":"ImportedModelSummaryList",
          "documentation":"<p>Model summaries.</p>"
        }
      }
    },
    "ListInferenceProfilesRequest":{
      "type":"structure",
      "members":{
        "maxResults":{
          "shape":"MaxResults",
          "documentation":"<p>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 <code>nextToken</code> field when making another request to return the next batch of results.</p>",
          "location":"querystring",
          "locationName":"maxResults"
        },
        "nextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.</p>",
          "location":"querystring",
          "locationName":"nextToken"
        },
        "typeEquals":{
          "shape":"InferenceProfileType",
          "documentation":"<p>Filters for inference profiles that match the type you specify.</p> <ul> <li> <p> <code>SYSTEM_DEFINED</code> – The inference profile is defined by Amazon Bedrock. You can route inference requests across regions with these inference profiles.</p> </li> <li> <p> <code>APPLICATION</code> – The inference profile was created by a user. This type of inference profile can track metrics and costs when invoking the model in it. The inference profile may route requests to one or multiple regions.</p> </li> </ul>",
          "location":"querystring",
          "locationName":"type"
        }
      }
    },
    "ListInferenceProfilesResponse":{
      "type":"structure",
      "members":{
        "inferenceProfileSummaries":{
          "shape":"InferenceProfileSummaries",
          "documentation":"<p>A list of information about each inference profile that you can use.</p>"
        },
        "nextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, use this token when making another request in the <code>nextToken</code> field to return the next batch of results.</p>"
        }
      }
    },
    "ListMarketplaceModelEndpointsRequest":{
      "type":"structure",
      "members":{
        "maxResults":{
          "shape":"MaxResults",
          "documentation":"<p>The maximum number of results to return in a single call. If more results are available, the operation returns a <code>NextToken</code> value.</p>",
          "location":"querystring",
          "locationName":"maxResults"
        },
        "nextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>The token for the next set of results. You receive this token from a previous <code>ListMarketplaceModelEndpoints</code> call.</p>",
          "location":"querystring",
          "locationName":"nextToken"
        },
        "modelSourceEquals":{
          "shape":"ModelSourceIdentifier",
          "documentation":"<p>If specified, only endpoints for the given model source identifier are returned.</p>",
          "location":"querystring",
          "locationName":"modelSourceIdentifier"
        }
      }
    },
    "ListMarketplaceModelEndpointsResponse":{
      "type":"structure",
      "members":{
        "marketplaceModelEndpoints":{
          "shape":"MarketplaceModelEndpointSummaries",
          "documentation":"<p>An array of endpoint summaries.</p>"
        },
        "nextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>The token for the next set of results. Use this token to get the next set of results.</p>"
        }
      }
    },
    "ListModelCopyJobsRequest":{
      "type":"structure",
      "members":{
        "creationTimeAfter":{
          "shape":"Timestamp",
          "documentation":"<p>Filters for model copy jobs created after the specified time.</p>",
          "location":"querystring",
          "locationName":"creationTimeAfter"
        },
        "creationTimeBefore":{
          "shape":"Timestamp",
          "documentation":"<p>Filters for model copy jobs created before the specified time. </p>",
          "location":"querystring",
          "locationName":"creationTimeBefore"
        },
        "statusEquals":{
          "shape":"ModelCopyJobStatus",
          "documentation":"<p>Filters for model copy jobs whose status matches the value that you specify.</p>",
          "location":"querystring",
          "locationName":"statusEquals"
        },
        "sourceAccountEquals":{
          "shape":"AccountId",
          "documentation":"<p>Filters for model copy jobs in which the account that the source model belongs to is equal to the value that you specify.</p>",
          "location":"querystring",
          "locationName":"sourceAccountEquals"
        },
        "sourceModelArnEquals":{
          "shape":"ModelArn",
          "documentation":"<p>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.</p>",
          "location":"querystring",
          "locationName":"sourceModelArnEquals"
        },
        "targetModelNameContains":{
          "shape":"CustomModelName",
          "documentation":"<p>Filters for model copy jobs in which the name of the copied model contains the string that you specify.</p>",
          "location":"querystring",
          "locationName":"outputModelNameContains"
        },
        "maxResults":{
          "shape":"MaxResults",
          "documentation":"<p>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 <code>nextToken</code> field when making another request to return the next batch of results.</p>",
          "location":"querystring",
          "locationName":"maxResults"
        },
        "nextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.</p>",
          "location":"querystring",
          "locationName":"nextToken"
        },
        "sortBy":{
          "shape":"SortJobsBy",
          "documentation":"<p>The field to sort by in the returned list of model copy jobs.</p>",
          "location":"querystring",
          "locationName":"sortBy"
        },
        "sortOrder":{
          "shape":"SortOrder",
          "documentation":"<p>Specifies whether to sort the results in ascending or descending order.</p>",
          "location":"querystring",
          "locationName":"sortOrder"
        }
      }
    },
    "ListModelCopyJobsResponse":{
      "type":"structure",
      "members":{
        "nextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, use this token when making another request in the <code>nextToken</code> field to return the next batch of results.</p>"
        },
        "modelCopyJobSummaries":{
          "shape":"ModelCopyJobSummaries",
          "documentation":"<p>A list of information about each model copy job.</p>"
        }
      }
    },
    "ListModelCustomizationJobsRequest":{
      "type":"structure",
      "members":{
        "creationTimeAfter":{
          "shape":"Timestamp",
          "documentation":"<p>Return customization jobs created after the specified time. </p>",
          "location":"querystring",
          "locationName":"creationTimeAfter"
        },
        "creationTimeBefore":{
          "shape":"Timestamp",
          "documentation":"<p>Return customization jobs created before the specified time. </p>",
          "location":"querystring",
          "locationName":"creationTimeBefore"
        },
        "statusEquals":{
          "shape":"FineTuningJobStatus",
          "documentation":"<p>Return customization jobs with the specified status. </p>",
          "location":"querystring",
          "locationName":"statusEquals"
        },
        "nameContains":{
          "shape":"JobName",
          "documentation":"<p>Return customization jobs only if the job name contains these characters.</p>",
          "location":"querystring",
          "locationName":"nameContains"
        },
        "maxResults":{
          "shape":"MaxResults",
          "documentation":"<p>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 <code>nextToken</code> field when making another request to return the next batch of results.</p>",
          "location":"querystring",
          "locationName":"maxResults"
        },
        "nextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.</p>",
          "location":"querystring",
          "locationName":"nextToken"
        },
        "sortBy":{
          "shape":"SortJobsBy",
          "documentation":"<p>The field to sort by in the returned list of jobs.</p>",
          "location":"querystring",
          "locationName":"sortBy"
        },
        "sortOrder":{
          "shape":"SortOrder",
          "documentation":"<p>The sort order of the results.</p>",
          "location":"querystring",
          "locationName":"sortOrder"
        }
      }
    },
    "ListModelCustomizationJobsResponse":{
      "type":"structure",
      "members":{
        "nextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, use this token when making another request in the <code>nextToken</code> field to return the next batch of results.</p>"
        },
        "modelCustomizationJobSummaries":{
          "shape":"ModelCustomizationJobSummaries",
          "documentation":"<p>Job summaries.</p>"
        }
      }
    },
    "ListModelImportJobsRequest":{
      "type":"structure",
      "members":{
        "creationTimeAfter":{
          "shape":"Timestamp",
          "documentation":"<p>Return import jobs that were created after the specified time.</p>",
          "location":"querystring",
          "locationName":"creationTimeAfter"
        },
        "creationTimeBefore":{
          "shape":"Timestamp",
          "documentation":"<p>Return import jobs that were created before the specified time.</p>",
          "location":"querystring",
          "locationName":"creationTimeBefore"
        },
        "statusEquals":{
          "shape":"ModelImportJobStatus",
          "documentation":"<p>Return imported jobs with the specified status.</p>",
          "location":"querystring",
          "locationName":"statusEquals"
        },
        "nameContains":{
          "shape":"JobName",
          "documentation":"<p>Return imported jobs only if the job name contains these characters.</p>",
          "location":"querystring",
          "locationName":"nameContains"
        },
        "maxResults":{
          "shape":"MaxResults",
          "documentation":"<p>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 <code>nextToken</code> field when making another request to return the next batch of results.</p>",
          "location":"querystring",
          "locationName":"maxResults"
        },
        "nextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.</p>",
          "location":"querystring",
          "locationName":"nextToken"
        },
        "sortBy":{
          "shape":"SortJobsBy",
          "documentation":"<p>The field to sort by in the returned list of imported jobs.</p>",
          "location":"querystring",
          "locationName":"sortBy"
        },
        "sortOrder":{
          "shape":"SortOrder",
          "documentation":"<p>Specifies whether to sort the results in ascending or descending order.</p>",
          "location":"querystring",
          "locationName":"sortOrder"
        }
      }
    },
    "ListModelImportJobsResponse":{
      "type":"structure",
      "members":{
        "nextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.</p>"
        },
        "modelImportJobSummaries":{
          "shape":"ModelImportJobSummaries",
          "documentation":"<p>Import job summaries.</p>"
        }
      }
    },
    "ListModelInvocationJobsRequest":{
      "type":"structure",
      "members":{
        "submitTimeAfter":{
          "shape":"Timestamp",
          "documentation":"<p>Specify a time to filter for batch inference jobs that were submitted after the time you specify.</p>",
          "location":"querystring",
          "locationName":"submitTimeAfter"
        },
        "submitTimeBefore":{
          "shape":"Timestamp",
          "documentation":"<p>Specify a time to filter for batch inference jobs that were submitted before the time you specify.</p>",
          "location":"querystring",
          "locationName":"submitTimeBefore"
        },
        "statusEquals":{
          "shape":"ModelInvocationJobStatus",
          "documentation":"<p>Specify a status to filter for batch inference jobs whose statuses match the string you specify.</p> <p>The following statuses are possible:</p> <ul> <li> <p>Submitted – This job has been submitted to a queue for validation.</p> </li> <li> <p>Validating – This job is being validated for the requirements described in <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-data.html\">Format and upload your batch inference data</a>. The criteria include the following:</p> <ul> <li> <p>Your IAM service role has access to the Amazon S3 buckets containing your files.</p> </li> <li> <p>Your files are .jsonl files and each individual record is a JSON object in the correct format. Note that validation doesn't check if the <code>modelInput</code> value matches the request body for the model.</p> </li> <li> <p>Your files fulfill the requirements for file size and number of records. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/quotas.html\">Quotas for Amazon Bedrock</a>.</p> </li> </ul> </li> <li> <p>Scheduled – This job has been validated and is now in a queue. The job will automatically start when it reaches its turn.</p> </li> <li> <p>Expired – This job timed out because it was scheduled but didn't begin before the set timeout duration. Submit a new job request.</p> </li> <li> <p>InProgress – This job has begun. You can start viewing the results in the output S3 location.</p> </li> <li> <p>Completed – This job has successfully completed. View the output files in the output S3 location.</p> </li> <li> <p>PartiallyCompleted – This job has partially completed. Not all of your records could be processed in time. View the output files in the output S3 location.</p> </li> <li> <p>Failed – This job has failed. Check the failure message for any further details. For further assistance, reach out to the <a href=\"https://console.aws.amazon.com/support/home/\">Amazon Web Services Support Center</a>.</p> </li> <li> <p>Stopped – This job was stopped by a user.</p> </li> <li> <p>Stopping – This job is being stopped by a user.</p> </li> </ul>",
          "location":"querystring",
          "locationName":"statusEquals"
        },
        "nameContains":{
          "shape":"ModelInvocationJobName",
          "documentation":"<p>Specify a string to filter for batch inference jobs whose names contain the string.</p>",
          "location":"querystring",
          "locationName":"nameContains"
        },
        "maxResults":{
          "shape":"MaxResults",
          "documentation":"<p>The maximum number of results to return. If there are more results than the number that you specify, a <code>nextToken</code> value is returned. Use the <code>nextToken</code> in a request to return the next batch of results.</p>",
          "location":"querystring",
          "locationName":"maxResults"
        },
        "nextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>If there were more results than the value you specified in the <code>maxResults</code> field in a previous <code>ListModelInvocationJobs</code> request, the response would have returned a <code>nextToken</code> value. To see the next batch of results, send the <code>nextToken</code> value in another request.</p>",
          "location":"querystring",
          "locationName":"nextToken"
        },
        "sortBy":{
          "shape":"SortJobsBy",
          "documentation":"<p>An attribute by which to sort the results.</p>",
          "location":"querystring",
          "locationName":"sortBy"
        },
        "sortOrder":{
          "shape":"SortOrder",
          "documentation":"<p>Specifies whether to sort the results by ascending or descending order.</p>",
          "location":"querystring",
          "locationName":"sortOrder"
        }
      }
    },
    "ListModelInvocationJobsResponse":{
      "type":"structure",
      "members":{
        "nextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>If there are more results than can fit in the response, a <code>nextToken</code> is returned. Use the <code>nextToken</code> in a request to return the next batch of results.</p>"
        },
        "invocationJobSummaries":{
          "shape":"ModelInvocationJobSummaries",
          "documentation":"<p>A list of items, each of which contains a summary about a batch inference job.</p>"
        }
      }
    },
    "ListPromptRoutersRequest":{
      "type":"structure",
      "members":{
        "maxResults":{
          "shape":"MaxResults",
          "documentation":"<p>The maximum number of prompt routers to return in one page of results.</p>",
          "location":"querystring",
          "locationName":"maxResults"
        },
        "nextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>Specify the pagination token from a previous request to retrieve the next page of results.</p>",
          "location":"querystring",
          "locationName":"nextToken"
        },
        "type":{
          "shape":"PromptRouterType",
          "documentation":"<p>The type of the prompt routers, such as whether it's default or custom.</p>",
          "location":"querystring",
          "locationName":"type"
        }
      }
    },
    "ListPromptRoutersResponse":{
      "type":"structure",
      "members":{
        "promptRouterSummaries":{
          "shape":"PromptRouterSummaries",
          "documentation":"<p>A list of prompt router summaries.</p>"
        },
        "nextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>Specify the pagination token from a previous request to retrieve the next page of results.</p>"
        }
      }
    },
    "ListProvisionedModelThroughputsRequest":{
      "type":"structure",
      "members":{
        "creationTimeAfter":{
          "shape":"Timestamp",
          "documentation":"<p>A filter that returns Provisioned Throughputs created after the specified time. </p>",
          "location":"querystring",
          "locationName":"creationTimeAfter"
        },
        "creationTimeBefore":{
          "shape":"Timestamp",
          "documentation":"<p>A filter that returns Provisioned Throughputs created before the specified time. </p>",
          "location":"querystring",
          "locationName":"creationTimeBefore"
        },
        "statusEquals":{
          "shape":"ProvisionedModelStatus",
          "documentation":"<p>A filter that returns Provisioned Throughputs if their statuses matches the value that you specify.</p>",
          "location":"querystring",
          "locationName":"statusEquals"
        },
        "modelArnEquals":{
          "shape":"ModelArn",
          "documentation":"<p>A filter that returns Provisioned Throughputs whose model Amazon Resource Name (ARN) is equal to the value that you specify.</p>",
          "location":"querystring",
          "locationName":"modelArnEquals"
        },
        "nameContains":{
          "shape":"ProvisionedModelName",
          "documentation":"<p>A filter that returns Provisioned Throughputs if their name contains the expression that you specify.</p>",
          "location":"querystring",
          "locationName":"nameContains"
        },
        "maxResults":{
          "shape":"MaxResults",
          "documentation":"<p>THe maximum number of results to return in the response. If there are more results than the number you specified, the response returns a <code>nextToken</code> value. To see the next batch of results, send the <code>nextToken</code> value in another list request.</p>",
          "location":"querystring",
          "locationName":"maxResults"
        },
        "nextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>If there are more results than the number you specified in the <code>maxResults</code> field, the response returns a <code>nextToken</code> value. To see the next batch of results, specify the <code>nextToken</code> value in this field.</p>",
          "location":"querystring",
          "locationName":"nextToken"
        },
        "sortBy":{
          "shape":"SortByProvisionedModels",
          "documentation":"<p>The field by which to sort the returned list of Provisioned Throughputs.</p>",
          "location":"querystring",
          "locationName":"sortBy"
        },
        "sortOrder":{
          "shape":"SortOrder",
          "documentation":"<p>The sort order of the results.</p>",
          "location":"querystring",
          "locationName":"sortOrder"
        }
      }
    },
    "ListProvisionedModelThroughputsResponse":{
      "type":"structure",
      "members":{
        "nextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>If there are more results than the number you specified in the <code>maxResults</code> field, this value is returned. To see the next batch of results, include this value in the <code>nextToken</code> field in another list request.</p>"
        },
        "provisionedModelSummaries":{
          "shape":"ProvisionedModelSummaries",
          "documentation":"<p>A list of summaries, one for each Provisioned Throughput in the response.</p>"
        }
      }
    },
    "ListTagsForResourceRequest":{
      "type":"structure",
      "required":["resourceARN"],
      "members":{
        "resourceARN":{
          "shape":"TaggableResourcesArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the resource.</p>"
        }
      }
    },
    "ListTagsForResourceResponse":{
      "type":"structure",
      "members":{
        "tags":{
          "shape":"TagList",
          "documentation":"<p>An array of the tags associated with this resource.</p>"
        }
      }
    },
    "LogGroupName":{
      "type":"string",
      "max":512,
      "min":1
    },
    "LoggingConfig":{
      "type":"structure",
      "members":{
        "cloudWatchConfig":{
          "shape":"CloudWatchConfig",
          "documentation":"<p>CloudWatch logging configuration.</p>"
        },
        "s3Config":{
          "shape":"S3Config",
          "documentation":"<p>S3 configuration for storing log data.</p>"
        },
        "textDataDeliveryEnabled":{
          "shape":"Boolean",
          "documentation":"<p>Set to include text data in the log delivery.</p>"
        },
        "imageDataDeliveryEnabled":{
          "shape":"Boolean",
          "documentation":"<p>Set to include image data in the log delivery.</p>"
        },
        "embeddingDataDeliveryEnabled":{
          "shape":"Boolean",
          "documentation":"<p>Set to include embeddings data in the log delivery.</p>"
        },
        "videoDataDeliveryEnabled":{
          "shape":"Boolean",
          "documentation":"<p>Set to include video data in the log delivery.</p>"
        }
      },
      "documentation":"<p>Configuration fields for invocation logging.</p>"
    },
    "MarketplaceModelEndpoint":{
      "type":"structure",
      "required":[
        "endpointArn",
        "modelSourceIdentifier",
        "createdAt",
        "updatedAt",
        "endpointConfig",
        "endpointStatus"
      ],
      "members":{
        "endpointArn":{
          "shape":"Arn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the endpoint.</p>"
        },
        "modelSourceIdentifier":{
          "shape":"ModelSourceIdentifier",
          "documentation":"<p>The ARN of the model from Amazon Bedrock Marketplace that is deployed on this endpoint.</p>"
        },
        "status":{
          "shape":"Status",
          "documentation":"<p>The overall status of the endpoint in Amazon Bedrock Marketplace (e.g., ACTIVE, INACTIVE).</p>"
        },
        "statusMessage":{
          "shape":"String",
          "documentation":"<p>Additional information about the overall status, if available.</p>"
        },
        "createdAt":{
          "shape":"Timestamp",
          "documentation":"<p>The timestamp when the endpoint was registered.</p>"
        },
        "updatedAt":{
          "shape":"Timestamp",
          "documentation":"<p>The timestamp when the endpoint was last updated.</p>"
        },
        "endpointConfig":{
          "shape":"EndpointConfig",
          "documentation":"<p>The configuration of the endpoint, including the number and type of instances used.</p>"
        },
        "endpointStatus":{
          "shape":"String",
          "documentation":"<p>The current status of the endpoint (e.g., Creating, InService, Updating, Failed).</p>"
        },
        "endpointStatusMessage":{
          "shape":"String",
          "documentation":"<p>Additional information about the endpoint status, if available.</p>"
        }
      },
      "documentation":"<p>Contains details about an endpoint for a model from Amazon Bedrock Marketplace.</p>"
    },
    "MarketplaceModelEndpointSummaries":{
      "type":"list",
      "member":{"shape":"MarketplaceModelEndpointSummary"},
      "max":1000,
      "min":0
    },
    "MarketplaceModelEndpointSummary":{
      "type":"structure",
      "required":[
        "endpointArn",
        "modelSourceIdentifier",
        "createdAt",
        "updatedAt"
      ],
      "members":{
        "endpointArn":{
          "shape":"Arn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the endpoint.</p>"
        },
        "modelSourceIdentifier":{
          "shape":"ModelSourceIdentifier",
          "documentation":"<p>The ARN of the model from Amazon Bedrock Marketplace that is deployed on this endpoint.</p>"
        },
        "status":{
          "shape":"Status",
          "documentation":"<p>The overall status of the endpoint in Amazon Bedrock Marketplace.</p>"
        },
        "statusMessage":{
          "shape":"String",
          "documentation":"<p>Additional information about the overall status, if available.</p>"
        },
        "createdAt":{
          "shape":"Timestamp",
          "documentation":"<p>The timestamp when the endpoint was created.</p>"
        },
        "updatedAt":{
          "shape":"Timestamp",
          "documentation":"<p>The timestamp when the endpoint was last updated.</p>"
        }
      },
      "documentation":"<p>Provides a summary of an endpoint for a model from Amazon Bedrock Marketplace.</p>"
    },
    "MaxResults":{
      "type":"integer",
      "box":true,
      "max":1000,
      "min":1
    },
    "MaxTokens":{
      "type":"integer",
      "box":true,
      "max":65536,
      "min":0
    },
    "Message":{
      "type":"string",
      "max":2048,
      "min":0,
      "sensitive":true
    },
    "MetricFloat":{
      "type":"float",
      "box":true
    },
    "ModelArchitecture":{"type":"string"},
    "ModelArn":{
      "type":"string",
      "max":1011,
      "min":20,
      "pattern":"arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}))"
    },
    "ModelCopyJobArn":{
      "type":"string",
      "max":1011,
      "min":0,
      "pattern":"arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:model-copy-job/[a-z0-9]{12}"
    },
    "ModelCopyJobStatus":{
      "type":"string",
      "enum":[
        "InProgress",
        "Completed",
        "Failed"
      ]
    },
    "ModelCopyJobSummaries":{
      "type":"list",
      "member":{"shape":"ModelCopyJobSummary"}
    },
    "ModelCopyJobSummary":{
      "type":"structure",
      "required":[
        "jobArn",
        "status",
        "creationTime",
        "targetModelArn",
        "sourceAccountId",
        "sourceModelArn"
      ],
      "members":{
        "jobArn":{
          "shape":"ModelCopyJobArn",
          "documentation":"<p>The Amazon Resoource Name (ARN) of the model copy job.</p>"
        },
        "status":{
          "shape":"ModelCopyJobStatus",
          "documentation":"<p>The status of the model copy job.</p>"
        },
        "creationTime":{
          "shape":"Timestamp",
          "documentation":"<p>The time that the model copy job was created.</p>"
        },
        "targetModelArn":{
          "shape":"CustomModelArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the copied model.</p>"
        },
        "targetModelName":{
          "shape":"CustomModelName",
          "documentation":"<p>The name of the copied model.</p>"
        },
        "sourceAccountId":{
          "shape":"AccountId",
          "documentation":"<p>The unique identifier of the account that the model being copied originated from.</p>"
        },
        "sourceModelArn":{
          "shape":"ModelArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the original model being copied.</p>"
        },
        "targetModelKmsKeyArn":{
          "shape":"KmsKeyArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the KMS key used to encrypt the copied model.</p>"
        },
        "targetModelTags":{
          "shape":"TagList",
          "documentation":"<p>Tags associated with the copied model.</p>"
        },
        "failureMessage":{
          "shape":"ErrorMessage",
          "documentation":"<p>If a model fails to be copied, a message describing why the job failed is included here.</p>"
        },
        "sourceModelName":{
          "shape":"CustomModelName",
          "documentation":"<p>The name of the original model being copied.</p>"
        }
      },
      "documentation":"<p>Contains details about each model copy job.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_ListModelCopyJobs.html#API_ListModelCopyJobs_ResponseSyntax\">ListModelCopyJobs response</a> </p> </li> </ul>"
    },
    "ModelCustomization":{
      "type":"string",
      "enum":[
        "FINE_TUNING",
        "CONTINUED_PRE_TRAINING",
        "DISTILLATION"
      ]
    },
    "ModelCustomizationHyperParameters":{
      "type":"map",
      "key":{"shape":"String"},
      "value":{"shape":"String"}
    },
    "ModelCustomizationJobArn":{
      "type":"string",
      "max":1011,
      "min":0,
      "pattern":"arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:model-customization-job/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}/[a-z0-9]{12}"
    },
    "ModelCustomizationJobIdentifier":{
      "type":"string",
      "max":1011,
      "min":0,
      "pattern":"(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:model-customization-job/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}/[a-z0-9]{12})|([a-zA-Z0-9](-*[a-zA-Z0-9\\+\\-\\.])*)"
    },
    "ModelCustomizationJobStatus":{
      "type":"string",
      "enum":[
        "InProgress",
        "Completed",
        "Failed",
        "Stopping",
        "Stopped"
      ]
    },
    "ModelCustomizationJobSummaries":{
      "type":"list",
      "member":{"shape":"ModelCustomizationJobSummary"}
    },
    "ModelCustomizationJobSummary":{
      "type":"structure",
      "required":[
        "jobArn",
        "baseModelArn",
        "jobName",
        "status",
        "creationTime"
      ],
      "members":{
        "jobArn":{
          "shape":"ModelCustomizationJobArn",
          "documentation":"<p>Amazon Resource Name (ARN) of the customization job.</p>"
        },
        "baseModelArn":{
          "shape":"ModelArn",
          "documentation":"<p>Amazon Resource Name (ARN) of the base model.</p>"
        },
        "jobName":{
          "shape":"JobName",
          "documentation":"<p>Name of the customization job.</p>"
        },
        "status":{
          "shape":"ModelCustomizationJobStatus",
          "documentation":"<p>Status of the customization job. </p>"
        },
        "lastModifiedTime":{
          "shape":"Timestamp",
          "documentation":"<p>Time that the customization job was last modified.</p>"
        },
        "creationTime":{
          "shape":"Timestamp",
          "documentation":"<p>Creation time of the custom model. </p>"
        },
        "endTime":{
          "shape":"Timestamp",
          "documentation":"<p>Time that the customization job ended.</p>"
        },
        "customModelArn":{
          "shape":"CustomModelArn",
          "documentation":"<p>Amazon Resource Name (ARN) of the custom model.</p>"
        },
        "customModelName":{
          "shape":"CustomModelName",
          "documentation":"<p>Name of the custom model.</p>"
        },
        "customizationType":{
          "shape":"CustomizationType",
          "documentation":"<p>Specifies whether to carry out continued pre-training of a model or whether to fine-tune it. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html\">Custom models</a>.</p>"
        }
      },
      "documentation":"<p>Information about one customization job</p>"
    },
    "ModelCustomizationList":{
      "type":"list",
      "member":{"shape":"ModelCustomization"}
    },
    "ModelDataSource":{
      "type":"structure",
      "members":{
        "s3DataSource":{
          "shape":"S3DataSource",
          "documentation":"<p>The Amazon S3 data source of the imported model.</p>"
        }
      },
      "documentation":"<p>Data source for the imported model.</p>",
      "union":true
    },
    "ModelId":{
      "type":"string",
      "max":2048,
      "min":1,
      "pattern":"(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-:]{1,63}/[a-z0-9]{12}$)|(:foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})|(([0-9a-zA-Z][_-]?)+)$)|([0-9]{12}:(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+$)))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})|(([0-9a-zA-Z][_-]?)+)"
    },
    "ModelIdentifier":{
      "type":"string",
      "max":2048,
      "min":1,
      "pattern":"arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}(([:][a-z0-9-]{1,63}){0,2})?/[a-z0-9]{12})|(:foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})))|(([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2}))|(([0-9a-zA-Z][_-]?)+)"
    },
    "ModelImportJobArn":{
      "type":"string",
      "max":1011,
      "min":0,
      "pattern":"arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:model-import-job/[a-z0-9]{12}"
    },
    "ModelImportJobIdentifier":{
      "type":"string",
      "max":1011,
      "min":0,
      "pattern":"(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:model-import-job/[a-z0-9]{12})|([a-zA-Z0-9](-*[a-zA-Z0-9\\+\\-\\.])*)"
    },
    "ModelImportJobStatus":{
      "type":"string",
      "enum":[
        "InProgress",
        "Completed",
        "Failed"
      ]
    },
    "ModelImportJobSummaries":{
      "type":"list",
      "member":{"shape":"ModelImportJobSummary"}
    },
    "ModelImportJobSummary":{
      "type":"structure",
      "required":[
        "jobArn",
        "jobName",
        "status",
        "creationTime"
      ],
      "members":{
        "jobArn":{
          "shape":"ModelImportJobArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the import job.</p>"
        },
        "jobName":{
          "shape":"JobName",
          "documentation":"<p>The name of the import job.</p>"
        },
        "status":{
          "shape":"ModelImportJobStatus",
          "documentation":"<p>The status of the imported job. </p>"
        },
        "lastModifiedTime":{
          "shape":"Timestamp",
          "documentation":"<p>The time when the import job was last modified.</p>"
        },
        "creationTime":{
          "shape":"Timestamp",
          "documentation":"<p>The time import job was created.</p>"
        },
        "endTime":{
          "shape":"Timestamp",
          "documentation":"<p>The time when import job ended.</p>"
        },
        "importedModelArn":{
          "shape":"ImportedModelArn",
          "documentation":"<p>The Amazon resource Name (ARN) of the imported model.</p>"
        },
        "importedModelName":{
          "shape":"ImportedModelName",
          "documentation":"<p>The name of the imported model.</p>"
        }
      },
      "documentation":"<p>Information about the import job.</p>"
    },
    "ModelInvocationIdempotencyToken":{
      "type":"string",
      "max":256,
      "min":1,
      "pattern":"[a-zA-Z0-9]{1,256}(-*[a-zA-Z0-9]){0,256}"
    },
    "ModelInvocationJobArn":{
      "type":"string",
      "max":1011,
      "min":0,
      "pattern":"(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:model-invocation-job/[a-z0-9]{12})"
    },
    "ModelInvocationJobIdentifier":{
      "type":"string",
      "max":1011,
      "min":0,
      "pattern":"((arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:model-invocation-job/)?[a-z0-9]{12})"
    },
    "ModelInvocationJobInputDataConfig":{
      "type":"structure",
      "members":{
        "s3InputDataConfig":{
          "shape":"ModelInvocationJobS3InputDataConfig",
          "documentation":"<p>Contains the configuration of the S3 location of the input data.</p>"
        }
      },
      "documentation":"<p>Details about the location of the input to the batch inference job.</p>",
      "union":true
    },
    "ModelInvocationJobName":{
      "type":"string",
      "max":63,
      "min":1,
      "pattern":"[a-zA-Z0-9]{1,63}(-*[a-zA-Z0-9\\+\\-\\.]){0,63}"
    },
    "ModelInvocationJobOutputDataConfig":{
      "type":"structure",
      "members":{
        "s3OutputDataConfig":{
          "shape":"ModelInvocationJobS3OutputDataConfig",
          "documentation":"<p>Contains the configuration of the S3 location of the output data.</p>"
        }
      },
      "documentation":"<p>Contains the configuration of the S3 location of the output data.</p>",
      "union":true
    },
    "ModelInvocationJobS3InputDataConfig":{
      "type":"structure",
      "required":["s3Uri"],
      "members":{
        "s3InputFormat":{
          "shape":"S3InputFormat",
          "documentation":"<p>The format of the input data.</p>"
        },
        "s3Uri":{
          "shape":"S3Uri",
          "documentation":"<p>The S3 location of the input data.</p>"
        },
        "s3BucketOwner":{
          "shape":"AccountId",
          "documentation":"<p>The ID of the Amazon Web Services account that owns the S3 bucket containing the input data.</p>"
        }
      },
      "documentation":"<p>Contains the configuration of the S3 location of the input data.</p>"
    },
    "ModelInvocationJobS3OutputDataConfig":{
      "type":"structure",
      "required":["s3Uri"],
      "members":{
        "s3Uri":{
          "shape":"S3Uri",
          "documentation":"<p>The S3 location of the output data.</p>"
        },
        "s3EncryptionKeyId":{
          "shape":"KmsKeyId",
          "documentation":"<p>The unique identifier of the key that encrypts the S3 location of the output data.</p>"
        },
        "s3BucketOwner":{
          "shape":"AccountId",
          "documentation":"<p>The ID of the Amazon Web Services account that owns the S3 bucket containing the output data.</p>"
        }
      },
      "documentation":"<p>Contains the configuration of the S3 location of the output data.</p>"
    },
    "ModelInvocationJobStatus":{
      "type":"string",
      "enum":[
        "Submitted",
        "InProgress",
        "Completed",
        "Failed",
        "Stopping",
        "Stopped",
        "PartiallyCompleted",
        "Expired",
        "Validating",
        "Scheduled"
      ]
    },
    "ModelInvocationJobSummaries":{
      "type":"list",
      "member":{"shape":"ModelInvocationJobSummary"}
    },
    "ModelInvocationJobSummary":{
      "type":"structure",
      "required":[
        "jobArn",
        "jobName",
        "modelId",
        "roleArn",
        "submitTime",
        "inputDataConfig",
        "outputDataConfig"
      ],
      "members":{
        "jobArn":{
          "shape":"ModelInvocationJobArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the batch inference job.</p>"
        },
        "jobName":{
          "shape":"ModelInvocationJobName",
          "documentation":"<p>The name of the batch inference job.</p>"
        },
        "modelId":{
          "shape":"ModelId",
          "documentation":"<p>The unique identifier of the foundation model used for model inference.</p>"
        },
        "clientRequestToken":{
          "shape":"ModelInvocationIdempotencyToken",
          "documentation":"<p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html\">Ensuring idempotency</a>.</p>"
        },
        "roleArn":{
          "shape":"RoleArn",
          "documentation":"<p>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 <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/batch-iam-sr.html\">Create a service role for batch inference</a>.</p>"
        },
        "status":{
          "shape":"ModelInvocationJobStatus",
          "documentation":"<p>The status of the batch inference job.</p> <p>The following statuses are possible:</p> <ul> <li> <p>Submitted – This job has been submitted to a queue for validation.</p> </li> <li> <p>Validating – This job is being validated for the requirements described in <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-data.html\">Format and upload your batch inference data</a>. The criteria include the following:</p> <ul> <li> <p>Your IAM service role has access to the Amazon S3 buckets containing your files.</p> </li> <li> <p>Your files are .jsonl files and each individual record is a JSON object in the correct format. Note that validation doesn't check if the <code>modelInput</code> value matches the request body for the model.</p> </li> <li> <p>Your files fulfill the requirements for file size and number of records. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/quotas.html\">Quotas for Amazon Bedrock</a>.</p> </li> </ul> </li> <li> <p>Scheduled – This job has been validated and is now in a queue. The job will automatically start when it reaches its turn.</p> </li> <li> <p>Expired – This job timed out because it was scheduled but didn't begin before the set timeout duration. Submit a new job request.</p> </li> <li> <p>InProgress – This job has begun. You can start viewing the results in the output S3 location.</p> </li> <li> <p>Completed – This job has successfully completed. View the output files in the output S3 location.</p> </li> <li> <p>PartiallyCompleted – This job has partially completed. Not all of your records could be processed in time. View the output files in the output S3 location.</p> </li> <li> <p>Failed – This job has failed. Check the failure message for any further details. For further assistance, reach out to the <a href=\"https://console.aws.amazon.com/support/home/\">Amazon Web Services Support Center</a>.</p> </li> <li> <p>Stopped – This job was stopped by a user.</p> </li> <li> <p>Stopping – This job is being stopped by a user.</p> </li> </ul>"
        },
        "message":{
          "shape":"Message",
          "documentation":"<p>If the batch inference job failed, this field contains a message describing why the job failed.</p>"
        },
        "submitTime":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the batch inference job was submitted.</p>"
        },
        "lastModifiedTime":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the batch inference job was last modified.</p>"
        },
        "endTime":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the batch inference job ended.</p>"
        },
        "inputDataConfig":{
          "shape":"ModelInvocationJobInputDataConfig",
          "documentation":"<p>Details about the location of the input to the batch inference job.</p>"
        },
        "outputDataConfig":{
          "shape":"ModelInvocationJobOutputDataConfig",
          "documentation":"<p>Details about the location of the output of the batch inference job.</p>"
        },
        "vpcConfig":{
          "shape":"VpcConfig",
          "documentation":"<p>The configuration of the Virtual Private Cloud (VPC) for the data in the batch inference job. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/batch-vpc\">Protect batch inference jobs using a VPC</a>.</p>"
        },
        "timeoutDurationInHours":{
          "shape":"ModelInvocationJobTimeoutDurationInHours",
          "documentation":"<p>The number of hours after which the batch inference job was set to time out.</p>"
        },
        "jobExpirationTime":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the batch inference job times or timed out.</p>"
        }
      },
      "documentation":"<p>A summary of a batch inference job.</p>"
    },
    "ModelInvocationJobTimeoutDurationInHours":{
      "type":"integer",
      "box":true,
      "max":168,
      "min":24
    },
    "ModelModality":{
      "type":"string",
      "enum":[
        "TEXT",
        "IMAGE",
        "EMBEDDING"
      ]
    },
    "ModelModalityList":{
      "type":"list",
      "member":{"shape":"ModelModality"}
    },
    "ModelName":{
      "type":"string",
      "max":63,
      "min":1,
      "pattern":"([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63})"
    },
    "ModelSourceIdentifier":{
      "type":"string",
      "max":2048,
      "min":0,
      "pattern":".*arn:aws:sagemaker:.*:hub-content/SageMakerPublicHub/Model/.*"
    },
    "NonBlankString":{
      "type":"string",
      "pattern":"[\\s\\S]*"
    },
    "OrchestrationConfiguration":{
      "type":"structure",
      "required":["queryTransformationConfiguration"],
      "members":{
        "queryTransformationConfiguration":{
          "shape":"QueryTransformationConfiguration",
          "documentation":"<p>Contains configuration details for transforming the prompt.</p>"
        }
      },
      "documentation":"<p>The configuration details for the model to process the prompt prior to retrieval and response generation.</p>"
    },
    "OutputDataConfig":{
      "type":"structure",
      "required":["s3Uri"],
      "members":{
        "s3Uri":{
          "shape":"S3Uri",
          "documentation":"<p>The S3 URI where the output data is stored.</p>"
        }
      },
      "documentation":"<p>S3 Location of the output data.</p>"
    },
    "PaginationToken":{
      "type":"string",
      "max":2048,
      "min":1,
      "pattern":"\\S*"
    },
    "PerformanceConfigLatency":{
      "type":"string",
      "enum":[
        "standard",
        "optimized"
      ]
    },
    "PerformanceConfiguration":{
      "type":"structure",
      "members":{
        "latency":{
          "shape":"PerformanceConfigLatency",
          "documentation":"<p>Specifies whether to use the latency-optimized or standard version of a model or inference profile.</p>"
        }
      },
      "documentation":"<p>Contains performance settings for a model.</p>"
    },
    "PositiveInteger":{
      "type":"integer",
      "box":true,
      "min":1
    },
    "PromptRouterArn":{
      "type":"string",
      "max":2048,
      "min":1,
      "pattern":"arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:default-prompt-router/[a-zA-Z0-9-:.]+"
    },
    "PromptRouterDescription":{
      "type":"string",
      "max":200,
      "min":1,
      "pattern":"([0-9a-zA-Z:.][ _-]?)+",
      "sensitive":true
    },
    "PromptRouterName":{
      "type":"string",
      "max":64,
      "min":1,
      "pattern":"([0-9a-zA-Z][ _-]?)+"
    },
    "PromptRouterStatus":{
      "type":"string",
      "enum":["AVAILABLE"]
    },
    "PromptRouterSummaries":{
      "type":"list",
      "member":{"shape":"PromptRouterSummary"}
    },
    "PromptRouterSummary":{
      "type":"structure",
      "required":[
        "promptRouterName",
        "routingCriteria",
        "promptRouterArn",
        "models",
        "fallbackModel",
        "status",
        "type"
      ],
      "members":{
        "promptRouterName":{
          "shape":"PromptRouterName",
          "documentation":"<p>The router's name.</p>"
        },
        "routingCriteria":{
          "shape":"RoutingCriteria",
          "documentation":"<p>The router's routing criteria.</p>"
        },
        "description":{
          "shape":"PromptRouterDescription",
          "documentation":"<p>The router's description.</p>"
        },
        "createdAt":{
          "shape":"Timestamp",
          "documentation":"<p>When the router was created.</p>"
        },
        "updatedAt":{
          "shape":"Timestamp",
          "documentation":"<p>When the router was updated.</p>"
        },
        "promptRouterArn":{
          "shape":"PromptRouterArn",
          "documentation":"<p>The router's ARN.</p>"
        },
        "models":{
          "shape":"PromptRouterTargetModels",
          "documentation":"<p>The router's models.</p>"
        },
        "fallbackModel":{
          "shape":"PromptRouterTargetModel",
          "documentation":"<p>The router's fallback model.</p>"
        },
        "status":{
          "shape":"PromptRouterStatus",
          "documentation":"<p>The router's status.</p>"
        },
        "type":{
          "shape":"PromptRouterType",
          "documentation":"<p>The summary's type.</p>"
        }
      },
      "documentation":"<p>Details about a prompt router.</p>"
    },
    "PromptRouterTargetModel":{
      "type":"structure",
      "required":["modelArn"],
      "members":{
        "modelArn":{
          "shape":"PromptRouterTargetModelArn",
          "documentation":"<p>The target model's ARN.</p>"
        }
      },
      "documentation":"<p>The target model for a prompt router.</p>"
    },
    "PromptRouterTargetModelArn":{
      "type":"string",
      "max":2048,
      "min":1,
      "pattern":".*(^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/[a-z0-9-]{1,63}[.]{1}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2})|(^arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{0,20}):(|[0-9]{12}):(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)"
    },
    "PromptRouterTargetModels":{
      "type":"list",
      "member":{"shape":"PromptRouterTargetModel"}
    },
    "PromptRouterType":{
      "type":"string",
      "enum":[
        "custom",
        "default"
      ]
    },
    "PromptTemplate":{
      "type":"structure",
      "members":{
        "textPromptTemplate":{
          "shape":"TextPromptTemplate",
          "documentation":"<p>The template for the prompt that's sent to the model for response generation. You can include prompt placeholders, which become replaced before the prompt is sent to the model to provide instructions and context to the model. In addition, you can include XML tags to delineate meaningful sections of the prompt template.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html\">Knowledge base prompt template</a> and <a href=\"https://docs.anthropic.com/en/docs/build-with-claude/prompt-engineering/use-xml-tags\">Use XML tags with Anthropic Claude models</a>.</p>"
        }
      },
      "documentation":"<p>The template for the prompt that's sent to the model for response generation.</p>"
    },
    "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":"<p>The name of the Provisioned Throughput.</p>"
        },
        "provisionedModelArn":{
          "shape":"ProvisionedModelArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the Provisioned Throughput.</p>"
        },
        "modelArn":{
          "shape":"ModelArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the model associated with the Provisioned Throughput.</p>"
        },
        "desiredModelArn":{
          "shape":"ModelArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the model requested to be associated to this Provisioned Throughput. This value differs from the <code>modelArn</code> if updating hasn't completed.</p>"
        },
        "foundationModelArn":{
          "shape":"FoundationModelArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the base model for which the Provisioned Throughput was created, or of the base model that the custom model for which the Provisioned Throughput was created was customized.</p>"
        },
        "modelUnits":{
          "shape":"PositiveInteger",
          "documentation":"<p>The number of model units allocated to the Provisioned Throughput.</p>"
        },
        "desiredModelUnits":{
          "shape":"PositiveInteger",
          "documentation":"<p>The number of model units that was requested to be allocated to the Provisioned Throughput.</p>"
        },
        "status":{
          "shape":"ProvisionedModelStatus",
          "documentation":"<p>The status of the Provisioned Throughput.</p>"
        },
        "commitmentDuration":{
          "shape":"CommitmentDuration",
          "documentation":"<p>The duration for which the Provisioned Throughput was committed.</p>"
        },
        "commitmentExpirationTime":{
          "shape":"Timestamp",
          "documentation":"<p>The timestamp for when the commitment term of the Provisioned Throughput expires.</p>"
        },
        "creationTime":{
          "shape":"Timestamp",
          "documentation":"<p>The time that the Provisioned Throughput was created. </p>"
        },
        "lastModifiedTime":{
          "shape":"Timestamp",
          "documentation":"<p>The time that the Provisioned Throughput was last modified. </p>"
        }
      },
      "documentation":"<p>A summary of information about a Provisioned Throughput.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_ListProvisionedModelThroughputs.html#API_ListProvisionedModelThroughputs_ResponseSyntax\">ListProvisionedThroughputs response</a> </p> </li> </ul>"
    },
    "PutModelInvocationLoggingConfigurationRequest":{
      "type":"structure",
      "required":["loggingConfig"],
      "members":{
        "loggingConfig":{
          "shape":"LoggingConfig",
          "documentation":"<p>The logging configuration values to set.</p>"
        }
      }
    },
    "PutModelInvocationLoggingConfigurationResponse":{
      "type":"structure",
      "members":{
      }
    },
    "QueryTransformationConfiguration":{
      "type":"structure",
      "required":["type"],
      "members":{
        "type":{
          "shape":"QueryTransformationType",
          "documentation":"<p>The type of transformation to apply to the prompt.</p>"
        }
      },
      "documentation":"<p>The configuration details for transforming the prompt.</p>"
    },
    "QueryTransformationType":{
      "type":"string",
      "enum":["QUERY_DECOMPOSITION"]
    },
    "RAGConfig":{
      "type":"structure",
      "members":{
        "knowledgeBaseConfig":{
          "shape":"KnowledgeBaseConfig",
          "documentation":"<p>Contains configuration details for knowledge base retrieval and response generation.</p>"
        },
        "precomputedRagSourceConfig":{
          "shape":"EvaluationPrecomputedRagSourceConfig",
          "documentation":"<p>Contains configuration details about the RAG source used to generate inference response data for a Knowledge Base evaluation job.</p>"
        }
      },
      "documentation":"<p>Contains configuration details for retrieval of information and response generation.</p>",
      "union":true
    },
    "RAGStopSequences":{
      "type":"list",
      "member":{"shape":"RAGStopSequencesMemberString"},
      "max":4,
      "min":0
    },
    "RAGStopSequencesMemberString":{
      "type":"string",
      "max":1000,
      "min":1
    },
    "RagConfigs":{
      "type":"list",
      "member":{"shape":"RAGConfig"},
      "max":1,
      "min":1
    },
    "RegisterMarketplaceModelEndpointRequest":{
      "type":"structure",
      "required":[
        "endpointIdentifier",
        "modelSourceIdentifier"
      ],
      "members":{
        "endpointIdentifier":{
          "shape":"Arn",
          "documentation":"<p>The ARN of the Amazon SageMaker endpoint you want to register with Amazon Bedrock Marketplace.</p>",
          "location":"uri",
          "locationName":"endpointIdentifier"
        },
        "modelSourceIdentifier":{
          "shape":"ModelSourceIdentifier",
          "documentation":"<p>The ARN of the model from Amazon Bedrock Marketplace that is deployed on the endpoint.</p>"
        }
      }
    },
    "RegisterMarketplaceModelEndpointResponse":{
      "type":"structure",
      "required":["marketplaceModelEndpoint"],
      "members":{
        "marketplaceModelEndpoint":{
          "shape":"MarketplaceModelEndpoint",
          "documentation":"<p>Details about the registered endpoint.</p>"
        }
      }
    },
    "RequestMetadataBaseFilters":{
      "type":"structure",
      "members":{
        "equals":{
          "shape":"RequestMetadataMap",
          "documentation":"<p>Include results where the key equals the value.</p>"
        },
        "notEquals":{
          "shape":"RequestMetadataMap",
          "documentation":"<p>Include results where the key does not equal the value.</p>"
        }
      },
      "documentation":"<p>A mapping of a metadata key to a value that it should or should not equal.</p>"
    },
    "RequestMetadataFilters":{
      "type":"structure",
      "members":{
        "equals":{
          "shape":"RequestMetadataMap",
          "documentation":"<p>Include results where the key equals the value.</p>"
        },
        "notEquals":{
          "shape":"RequestMetadataMap",
          "documentation":"<p>Include results where the key does not equal the value.</p>"
        },
        "andAll":{
          "shape":"RequestMetadataFiltersList",
          "documentation":"<p>Include results where all of the based filters match.</p>"
        },
        "orAll":{
          "shape":"RequestMetadataFiltersList",
          "documentation":"<p>Include results where any of the base filters match.</p>"
        }
      },
      "documentation":"<p>Rules for filtering invocation logs. A filter can be a mapping of a metadata key to a value that it should or should not equal (a base filter), or a list of base filters that are all applied with <code>AND</code> or <code>OR</code> logical operators</p>",
      "union":true
    },
    "RequestMetadataFiltersList":{
      "type":"list",
      "member":{"shape":"RequestMetadataBaseFilters"},
      "max":16,
      "min":1
    },
    "RequestMetadataMap":{
      "type":"map",
      "key":{"shape":"RequestMetadataMapKeyString"},
      "value":{"shape":"RequestMetadataMapValueString"},
      "max":1,
      "min":1,
      "sensitive":true
    },
    "RequestMetadataMapKeyString":{
      "type":"string",
      "max":256,
      "min":1,
      "pattern":"[a-zA-Z0-9\\s._:/=+$@-]{1,256}"
    },
    "RequestMetadataMapValueString":{
      "type":"string",
      "max":256,
      "min":0,
      "pattern":"[a-zA-Z0-9\\s._:/=+$@-]{0,256}"
    },
    "ResourceNotFoundException":{
      "type":"structure",
      "members":{
        "message":{"shape":"NonBlankString"}
      },
      "documentation":"<p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>",
      "error":{
        "httpStatusCode":404,
        "senderFault":true
      },
      "exception":true
    },
    "RetrievalFilter":{
      "type":"structure",
      "members":{
        "equals":{
          "shape":"FilterAttribute",
          "documentation":"<p>Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value matches the value in this object.</p> <p>The following example would return data sources with an animal attribute whose value is 'cat': <code>\"equals\": { \"key\": \"animal\", \"value\": \"cat\" }</code> </p>"
        },
        "notEquals":{
          "shape":"FilterAttribute",
          "documentation":"<p>Knowledge base data sources that contain a metadata attribute whose name matches the key and whose value doesn't match the value in this object are returned.</p> <p>The following example would return data sources that don't contain an animal attribute whose value is 'cat': <code>\"notEquals\": { \"key\": \"animal\", \"value\": \"cat\" }</code> </p>"
        },
        "greaterThan":{
          "shape":"FilterAttribute",
          "documentation":"<p>Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value is greater than the value in this object.</p> <p>The following example would return data sources with an year attribute whose value is greater than '1989': <code>\"greaterThan\": { \"key\": \"year\", \"value\": 1989 }</code> </p>"
        },
        "greaterThanOrEquals":{
          "shape":"FilterAttribute",
          "documentation":"<p>Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value is greater than or equal to the value in this object.</p> <p>The following example would return data sources with an year attribute whose value is greater than or equal to '1989': <code>\"greaterThanOrEquals\": { \"key\": \"year\", \"value\": 1989 }</code> </p>"
        },
        "lessThan":{
          "shape":"FilterAttribute",
          "documentation":"<p>Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value is less than the value in this object.</p> <p>The following example would return data sources with an year attribute whose value is less than to '1989': <code>\"lessThan\": { \"key\": \"year\", \"value\": 1989 }</code> </p>"
        },
        "lessThanOrEquals":{
          "shape":"FilterAttribute",
          "documentation":"<p>Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value is less than or equal to the value in this object.</p> <p>The following example would return data sources with an year attribute whose value is less than or equal to '1989': <code>\"lessThanOrEquals\": { \"key\": \"year\", \"value\": 1989 }</code> </p>"
        },
        "in":{
          "shape":"FilterAttribute",
          "documentation":"<p>Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value is in the list specified in the value in this object.</p> <p>The following example would return data sources with an animal attribute that is either 'cat' or 'dog': <code>\"in\": { \"key\": \"animal\", \"value\": [\"cat\", \"dog\"] }</code> </p>"
        },
        "notIn":{
          "shape":"FilterAttribute",
          "documentation":"<p>Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value isn't in the list specified in the value in this object.</p> <p>The following example would return data sources whose animal attribute is neither 'cat' nor 'dog': <code>\"notIn\": { \"key\": \"animal\", \"value\": [\"cat\", \"dog\"] }</code> </p>"
        },
        "startsWith":{
          "shape":"FilterAttribute",
          "documentation":"<p>Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value starts with the value in this object. This filter is currently only supported for Amazon OpenSearch Serverless vector stores.</p> <p>The following example would return data sources with an animal attribute starts with 'ca' (for example, 'cat' or 'camel'). <code>\"startsWith\": { \"key\": \"animal\", \"value\": \"ca\" }</code> </p>"
        },
        "listContains":{
          "shape":"FilterAttribute",
          "documentation":"<p>Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value is a list that contains the value as one of its members.</p> <p>The following example would return data sources with an animals attribute that is a list containing a cat member (for example, <code>[\"dog\", \"cat\"]</code>): <code>\"listContains\": { \"key\": \"animals\", \"value\": \"cat\" }</code> </p>"
        },
        "stringContains":{
          "shape":"FilterAttribute",
          "documentation":"<p>Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value is one of the following:</p> <p>A string that contains the value as a substring. The following example would return data sources with an animal attribute that contains the substring at (for example, 'cat'): <code>\"stringContains\": { \"key\": \"animal\", \"value\": \"at\" }</code> </p> <p>A list with a member that contains the value as a substring. The following example would return data sources with an animals attribute that is a list containing a member that contains the substring at (for example, <code>[\"dog\", \"cat\"]</code>): <code>\"stringContains\": { \"key\": \"animals\", \"value\": \"at\" }</code> </p>"
        },
        "andAll":{
          "shape":"RetrievalFilterList",
          "documentation":"<p>Knowledge base data sources are returned if their metadata attributes fulfill all the filter conditions inside this list.</p>"
        },
        "orAll":{
          "shape":"RetrievalFilterList",
          "documentation":"<p>Knowledge base data sources are returned if their metadata attributes fulfill at least one of the filter conditions inside this list.</p>"
        }
      },
      "documentation":"<p>Specifies the filters to use on the metadata attributes/fields in the knowledge base data sources before returning results.</p>",
      "sensitive":true,
      "union":true
    },
    "RetrievalFilterList":{
      "type":"list",
      "member":{"shape":"RetrievalFilter"},
      "min":2
    },
    "RetrieveAndGenerateConfiguration":{
      "type":"structure",
      "required":["type"],
      "members":{
        "type":{
          "shape":"RetrieveAndGenerateType",
          "documentation":"<p>The type of resource that contains your data for retrieving information and generating responses.</p> <p>If you choose to use <code>EXTERNAL_SOURCES</code>, then currently only Claude 3 Sonnet models for knowledge bases are supported.</p>"
        },
        "knowledgeBaseConfiguration":{
          "shape":"KnowledgeBaseRetrieveAndGenerateConfiguration",
          "documentation":"<p>Contains configuration details for the knowledge base retrieval and response generation.</p>"
        },
        "externalSourcesConfiguration":{
          "shape":"ExternalSourcesRetrieveAndGenerateConfiguration",
          "documentation":"<p>The configuration for the external source wrapper object in the <code>retrieveAndGenerate</code> function.</p>"
        }
      },
      "documentation":"<p>Contains configuration details for a knowledge base retrieval and response generation.</p>"
    },
    "RetrieveAndGenerateType":{
      "type":"string",
      "enum":[
        "KNOWLEDGE_BASE",
        "EXTERNAL_SOURCES"
      ]
    },
    "RetrieveConfig":{
      "type":"structure",
      "required":[
        "knowledgeBaseId",
        "knowledgeBaseRetrievalConfiguration"
      ],
      "members":{
        "knowledgeBaseId":{
          "shape":"KnowledgeBaseId",
          "documentation":"<p>The unique identifier of the knowledge base.</p>"
        },
        "knowledgeBaseRetrievalConfiguration":{
          "shape":"KnowledgeBaseRetrievalConfiguration",
          "documentation":"<p>Contains configuration details for knowledge base retrieval.</p>"
        }
      },
      "documentation":"<p>The configuration details for retrieving information from a knowledge base.</p>"
    },
    "RoleArn":{
      "type":"string",
      "documentation":"<p>ARN of a IAM role</p>",
      "max":2048,
      "min":0,
      "pattern":"arn:aws(-[^:]+)?:iam::([0-9]{12})?:role/.+"
    },
    "RoutingCriteria":{
      "type":"structure",
      "required":["responseQualityDifference"],
      "members":{
        "responseQualityDifference":{
          "shape":"RoutingCriteriaResponseQualityDifferenceDouble",
          "documentation":"<p>The criteria's response quality difference.</p>"
        }
      },
      "documentation":"<p>Routing criteria for a prompt router.</p>"
    },
    "RoutingCriteriaResponseQualityDifferenceDouble":{
      "type":"double",
      "box":true,
      "max":100,
      "min":0
    },
    "S3Config":{
      "type":"structure",
      "required":["bucketName"],
      "members":{
        "bucketName":{
          "shape":"BucketName",
          "documentation":"<p>S3 bucket name.</p>"
        },
        "keyPrefix":{
          "shape":"KeyPrefix",
          "documentation":"<p>S3 prefix. </p>"
        }
      },
      "documentation":"<p>S3 configuration for storing log data.</p>"
    },
    "S3DataSource":{
      "type":"structure",
      "required":["s3Uri"],
      "members":{
        "s3Uri":{
          "shape":"S3Uri",
          "documentation":"<p>The URI of the Amazon S3 data source.</p>"
        }
      },
      "documentation":"<p>The Amazon S3 data source of the imported job.</p>"
    },
    "S3InputFormat":{
      "type":"string",
      "enum":["JSONL"]
    },
    "S3ObjectDoc":{
      "type":"structure",
      "required":["uri"],
      "members":{
        "uri":{
          "shape":"kBS3Uri",
          "documentation":"<p>The S3 URI location for the wrapper object of the document.</p>"
        }
      },
      "documentation":"<p>The unique wrapper object of the document from the S3 location.</p>"
    },
    "S3Uri":{
      "type":"string",
      "max":1024,
      "min":1,
      "pattern":"s3://[a-z0-9][-.a-z0-9]{1,61}(?:/[-!_*'().a-z0-9A-Z]+(?:/[-!_*'().a-z0-9A-Z]+)*)?/?"
    },
    "SageMakerEndpoint":{
      "type":"structure",
      "required":[
        "initialInstanceCount",
        "instanceType",
        "executionRole"
      ],
      "members":{
        "initialInstanceCount":{
          "shape":"InstanceCount",
          "documentation":"<p>The number of Amazon EC2 compute instances to deploy for initial endpoint creation.</p>"
        },
        "instanceType":{
          "shape":"InstanceType",
          "documentation":"<p>The Amazon EC2 compute instance type to deploy for hosting the model.</p>"
        },
        "executionRole":{
          "shape":"RoleArn",
          "documentation":"<p>The ARN of the IAM role that Amazon SageMaker can assume to access model artifacts and docker image for deployment on Amazon EC2 compute instances or for batch transform jobs.</p>"
        },
        "kmsEncryptionKey":{
          "shape":"KmsKeyId",
          "documentation":"<p>The Amazon Web Services KMS key that Amazon SageMaker uses to encrypt data on the storage volume attached to the Amazon EC2 compute instance that hosts the endpoint.</p>"
        },
        "vpc":{
          "shape":"VpcConfig",
          "documentation":"<p>The VPC configuration for the endpoint.</p>"
        }
      },
      "documentation":"<p>Specifies the configuration for a Amazon SageMaker endpoint.</p>"
    },
    "SageMakerFlowDefinitionArn":{
      "type":"string",
      "max":1024,
      "min":0,
      "pattern":"arn:aws(-[^:]+)?:sagemaker:[a-z0-9-]{1,20}:[0-9]{12}:flow-definition/.*"
    },
    "SearchType":{
      "type":"string",
      "enum":[
        "HYBRID",
        "SEMANTIC"
      ]
    },
    "SecurityGroupId":{
      "type":"string",
      "max":32,
      "min":0,
      "pattern":"[-0-9a-zA-Z]+"
    },
    "SecurityGroupIds":{
      "type":"list",
      "member":{"shape":"SecurityGroupId"},
      "max":5,
      "min":1
    },
    "ServiceQuotaExceededException":{
      "type":"structure",
      "members":{
        "message":{"shape":"NonBlankString"}
      },
      "documentation":"<p>The number of requests exceeds the service quota. Resubmit your request later.</p>",
      "error":{
        "httpStatusCode":400,
        "senderFault":true
      },
      "exception":true
    },
    "ServiceUnavailableException":{
      "type":"structure",
      "members":{
        "message":{"shape":"NonBlankString"}
      },
      "documentation":"<p>Returned if the service cannot complete the request.</p>",
      "error":{"httpStatusCode":503},
      "exception":true,
      "fault":true
    },
    "SortByProvisionedModels":{
      "type":"string",
      "enum":["CreationTime"]
    },
    "SortJobsBy":{
      "type":"string",
      "enum":["CreationTime"]
    },
    "SortModelsBy":{
      "type":"string",
      "enum":["CreationTime"]
    },
    "SortOrder":{
      "type":"string",
      "enum":[
        "Ascending",
        "Descending"
      ]
    },
    "Status":{
      "type":"string",
      "enum":[
        "REGISTERED",
        "INCOMPATIBLE_ENDPOINT"
      ]
    },
    "StopEvaluationJobRequest":{
      "type":"structure",
      "required":["jobIdentifier"],
      "members":{
        "jobIdentifier":{
          "shape":"EvaluationJobIdentifier",
          "documentation":"<p>The Amazon Resource Name (ARN) of the evaluation job you want to stop.</p>",
          "location":"uri",
          "locationName":"jobIdentifier"
        }
      }
    },
    "StopEvaluationJobResponse":{
      "type":"structure",
      "members":{
      }
    },
    "StopModelCustomizationJobRequest":{
      "type":"structure",
      "required":["jobIdentifier"],
      "members":{
        "jobIdentifier":{
          "shape":"ModelCustomizationJobIdentifier",
          "documentation":"<p>Job identifier of the job to stop.</p>",
          "location":"uri",
          "locationName":"jobIdentifier"
        }
      }
    },
    "StopModelCustomizationJobResponse":{
      "type":"structure",
      "members":{
      }
    },
    "StopModelInvocationJobRequest":{
      "type":"structure",
      "required":["jobIdentifier"],
      "members":{
        "jobIdentifier":{
          "shape":"ModelInvocationJobIdentifier",
          "documentation":"<p>The Amazon Resource Name (ARN) of the batch inference job to stop.</p>",
          "location":"uri",
          "locationName":"jobIdentifier"
        }
      }
    },
    "StopModelInvocationJobResponse":{
      "type":"structure",
      "members":{
      }
    },
    "String":{"type":"string"},
    "SubnetId":{
      "type":"string",
      "max":32,
      "min":0,
      "pattern":"[-0-9a-zA-Z]+"
    },
    "SubnetIds":{
      "type":"list",
      "member":{"shape":"SubnetId"},
      "max":16,
      "min":1
    },
    "Tag":{
      "type":"structure",
      "required":[
        "key",
        "value"
      ],
      "members":{
        "key":{
          "shape":"TagKey",
          "documentation":"<p>Key for the tag.</p>"
        },
        "value":{
          "shape":"TagValue",
          "documentation":"<p>Value for the tag.</p>"
        }
      },
      "documentation":"<p>Definition of the key/value pair for a tag.</p>"
    },
    "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":"<p>The Amazon Resource Name (ARN) of the resource to tag.</p>"
        },
        "tags":{
          "shape":"TagList",
          "documentation":"<p>Tags to associate with the resource.</p>"
        }
      }
    },
    "TagResourceResponse":{
      "type":"structure",
      "members":{
      }
    },
    "TagValue":{
      "type":"string",
      "max":256,
      "min":0,
      "pattern":"[a-zA-Z0-9\\s._:/=+@-]*"
    },
    "TaggableResourcesArn":{
      "type":"string",
      "max":1011,
      "min":20,
      "pattern":".*(^[a-zA-Z0-9][a-zA-Z0-9\\-]*$)|(^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:([0-9]{12}|)((:(fine-tuning-job|model-customization-job|custom-model)/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}(/[a-z0-9]{12})$)|(:guardrail/[a-z0-9]+$)|(:automated-reasoning-policy/[a-zA-Z0-9]+(:[a-zA-Z0-9]+)?$)|(:(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+$)|(:(provisioned-model|model-invocation-job|model-evaluation-job|evaluation-job|model-import-job|imported-model|async-invoke|provisioned-model-v2|provisioned-model-reservation|prompt-router)/[a-z0-9]{12}$))).*"
    },
    "TeacherModelConfig":{
      "type":"structure",
      "required":["teacherModelIdentifier"],
      "members":{
        "teacherModelIdentifier":{
          "shape":"TeacherModelIdentifier",
          "documentation":"<p>The identifier of the teacher model.</p>"
        },
        "maxResponseLengthForInference":{
          "shape":"Integer",
          "documentation":"<p>The maximum number of tokens requested when the customization job invokes the teacher model.</p>"
        }
      },
      "documentation":"<p>Details about a teacher model used for model customization.</p>"
    },
    "TeacherModelIdentifier":{
      "type":"string",
      "pattern":"arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/[a-z0-9-]{1,63}[.]{1}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})|(([0-9a-zA-Z][_-]?)+)"
    },
    "Temperature":{
      "type":"float",
      "box":true,
      "max":1,
      "min":0
    },
    "TextInferenceConfig":{
      "type":"structure",
      "members":{
        "temperature":{
          "shape":"Temperature",
          "documentation":"<p>Controls the random-ness of text generated by the language model, influencing how much the model sticks to the most predictable next words versus exploring more surprising options. A lower temperature value (e.g. 0.2 or 0.3) makes model outputs more deterministic or predictable, while a higher temperature (e.g. 0.8 or 0.9) makes the outputs more creative or unpredictable.</p>"
        },
        "topP":{
          "shape":"TopP",
          "documentation":"<p>A probability distribution threshold which controls what the model considers for the set of possible next tokens. The model will only consider the top p% of the probability distribution when generating the next token.</p>"
        },
        "maxTokens":{
          "shape":"MaxTokens",
          "documentation":"<p>The maximum number of tokens to generate in the output text. Do not use the minimum of 0 or the maximum of 65536. The limit values described here are arbitrary values, for actual values consult the limits defined by your specific model.</p>"
        },
        "stopSequences":{
          "shape":"RAGStopSequences",
          "documentation":"<p>A list of sequences of characters that, if generated, will cause the model to stop generating further tokens. Do not use a minimum length of 1 or a maximum length of 1000. The limit values described here are arbitrary values, for actual values consult the limits defined by your specific model.</p>"
        }
      },
      "documentation":"<p>The configuration details for text generation using a language model via the <code>RetrieveAndGenerate</code> function.</p>"
    },
    "TextPromptTemplate":{
      "type":"string",
      "max":100000,
      "min":1,
      "sensitive":true
    },
    "ThrottlingException":{
      "type":"structure",
      "members":{
        "message":{"shape":"NonBlankString"}
      },
      "documentation":"<p>The number of requests exceeds the limit. Resubmit your request later.</p>",
      "error":{
        "httpStatusCode":429,
        "senderFault":true
      },
      "exception":true
    },
    "Timestamp":{
      "type":"timestamp",
      "timestampFormat":"iso8601"
    },
    "TooManyTagsException":{
      "type":"structure",
      "members":{
        "message":{"shape":"NonBlankString"},
        "resourceName":{
          "shape":"TaggableResourcesArn",
          "documentation":"<p>The name of the resource with too many tags.</p>"
        }
      },
      "documentation":"<p>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. </p>",
      "error":{
        "httpStatusCode":400,
        "senderFault":true
      },
      "exception":true
    },
    "TopP":{
      "type":"float",
      "box":true,
      "max":1,
      "min":0
    },
    "TrainingDataConfig":{
      "type":"structure",
      "members":{
        "s3Uri":{
          "shape":"S3Uri",
          "documentation":"<p>The S3 URI where the training data is stored.</p>"
        },
        "invocationLogsConfig":{
          "shape":"InvocationLogsConfig",
          "documentation":"<p>Settings for using invocation logs to customize a model.</p>"
        }
      },
      "documentation":"<p>S3 Location of the training data.</p>"
    },
    "TrainingMetrics":{
      "type":"structure",
      "members":{
        "trainingLoss":{
          "shape":"MetricFloat",
          "documentation":"<p>Loss metric associated with the custom job.</p>"
        }
      },
      "documentation":"<p>Metrics associated with the custom job.</p>"
    },
    "UntagResourceRequest":{
      "type":"structure",
      "required":[
        "resourceARN",
        "tagKeys"
      ],
      "members":{
        "resourceARN":{
          "shape":"TaggableResourcesArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the resource to untag.</p>"
        },
        "tagKeys":{
          "shape":"TagKeyList",
          "documentation":"<p>Tag keys of the tags to remove from the resource.</p>"
        }
      }
    },
    "UntagResourceResponse":{
      "type":"structure",
      "members":{
      }
    },
    "UpdateGuardrailRequest":{
      "type":"structure",
      "required":[
        "guardrailIdentifier",
        "name",
        "blockedInputMessaging",
        "blockedOutputsMessaging"
      ],
      "members":{
        "guardrailIdentifier":{
          "shape":"GuardrailIdentifier",
          "documentation":"<p>The unique identifier of the guardrail. This can be an ID or the ARN.</p>",
          "location":"uri",
          "locationName":"guardrailIdentifier"
        },
        "name":{
          "shape":"GuardrailName",
          "documentation":"<p>A name for the guardrail.</p>"
        },
        "description":{
          "shape":"GuardrailDescription",
          "documentation":"<p>A description of the guardrail.</p>"
        },
        "topicPolicyConfig":{
          "shape":"GuardrailTopicPolicyConfig",
          "documentation":"<p>The topic policy to configure for the guardrail.</p>"
        },
        "contentPolicyConfig":{
          "shape":"GuardrailContentPolicyConfig",
          "documentation":"<p>The content policy to configure for the guardrail.</p>"
        },
        "wordPolicyConfig":{
          "shape":"GuardrailWordPolicyConfig",
          "documentation":"<p>The word policy to configure for the guardrail.</p>"
        },
        "sensitiveInformationPolicyConfig":{
          "shape":"GuardrailSensitiveInformationPolicyConfig",
          "documentation":"<p>The sensitive information policy to configure for the guardrail.</p>"
        },
        "contextualGroundingPolicyConfig":{
          "shape":"GuardrailContextualGroundingPolicyConfig",
          "documentation":"<p>The contextual grounding policy configuration used to update a guardrail.</p>"
        },
        "blockedInputMessaging":{
          "shape":"GuardrailBlockedMessaging",
          "documentation":"<p>The message to return when the guardrail blocks a prompt.</p>"
        },
        "blockedOutputsMessaging":{
          "shape":"GuardrailBlockedMessaging",
          "documentation":"<p>The message to return when the guardrail blocks a model response.</p>"
        },
        "kmsKeyId":{
          "shape":"KmsKeyId",
          "documentation":"<p>The ARN of the KMS key with which to encrypt the guardrail.</p>"
        }
      }
    },
    "UpdateGuardrailResponse":{
      "type":"structure",
      "required":[
        "guardrailId",
        "guardrailArn",
        "version",
        "updatedAt"
      ],
      "members":{
        "guardrailId":{
          "shape":"GuardrailId",
          "documentation":"<p>The unique identifier of the guardrail</p>"
        },
        "guardrailArn":{
          "shape":"GuardrailArn",
          "documentation":"<p>The ARN of the guardrail.</p>"
        },
        "version":{
          "shape":"GuardrailDraftVersion",
          "documentation":"<p>The version of the guardrail.</p>"
        },
        "updatedAt":{
          "shape":"Timestamp",
          "documentation":"<p>The date and time at which the guardrail was updated.</p>"
        }
      }
    },
    "UpdateMarketplaceModelEndpointRequest":{
      "type":"structure",
      "required":[
        "endpointArn",
        "endpointConfig"
      ],
      "members":{
        "endpointArn":{
          "shape":"Arn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the endpoint you want to update.</p>",
          "location":"uri",
          "locationName":"endpointArn"
        },
        "endpointConfig":{
          "shape":"EndpointConfig",
          "documentation":"<p>The new configuration for the endpoint, including the number and type of instances to use.</p>"
        },
        "clientRequestToken":{
          "shape":"IdempotencyToken",
          "documentation":"<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This token is listed as not required because Amazon Web Services SDKs automatically generate it for you and set this parameter. If you're not using the Amazon Web Services SDK or the CLI, you must provide this token or the action will fail.</p>",
          "idempotencyToken":true
        }
      }
    },
    "UpdateMarketplaceModelEndpointResponse":{
      "type":"structure",
      "required":["marketplaceModelEndpoint"],
      "members":{
        "marketplaceModelEndpoint":{
          "shape":"MarketplaceModelEndpoint",
          "documentation":"<p>Details about the updated endpoint.</p>"
        }
      }
    },
    "UpdateProvisionedModelThroughputRequest":{
      "type":"structure",
      "required":["provisionedModelId"],
      "members":{
        "provisionedModelId":{
          "shape":"ProvisionedModelId",
          "documentation":"<p>The Amazon Resource Name (ARN) or name of the Provisioned Throughput to update.</p>",
          "location":"uri",
          "locationName":"provisionedModelId"
        },
        "desiredProvisionedModelName":{
          "shape":"ProvisionedModelName",
          "documentation":"<p>The new name for this Provisioned Throughput.</p>"
        },
        "desiredModelId":{
          "shape":"ModelIdentifier",
          "documentation":"<p>The Amazon Resource Name (ARN) of the new model to associate with this Provisioned Throughput. You can't specify this field if this Provisioned Throughput is associated with a base model.</p> <p>If this Provisioned Throughput is associated with a custom model, you can specify one of the following options:</p> <ul> <li> <p>The base model from which the custom model was customized.</p> </li> <li> <p>Another custom model that was customized from the same base model as the custom model.</p> </li> </ul>"
        }
      }
    },
    "UpdateProvisionedModelThroughputResponse":{
      "type":"structure",
      "members":{
      }
    },
    "UsePromptResponse":{"type":"boolean"},
    "ValidationDataConfig":{
      "type":"structure",
      "required":["validators"],
      "members":{
        "validators":{
          "shape":"Validators",
          "documentation":"<p>Information about the validators.</p>"
        }
      },
      "documentation":"<p>Array of up to 10 validators.</p>"
    },
    "ValidationException":{
      "type":"structure",
      "members":{
        "message":{"shape":"NonBlankString"}
      },
      "documentation":"<p>Input validation failed. Check your request parameters and retry the request.</p>",
      "error":{
        "httpStatusCode":400,
        "senderFault":true
      },
      "exception":true
    },
    "ValidationMetrics":{
      "type":"list",
      "member":{"shape":"ValidatorMetric"}
    },
    "Validator":{
      "type":"structure",
      "required":["s3Uri"],
      "members":{
        "s3Uri":{
          "shape":"S3Uri",
          "documentation":"<p>The S3 URI where the validation data is stored.</p>"
        }
      },
      "documentation":"<p>Information about a validator.</p>"
    },
    "ValidatorMetric":{
      "type":"structure",
      "members":{
        "validationLoss":{
          "shape":"MetricFloat",
          "documentation":"<p>The validation loss associated with this validator.</p>"
        }
      },
      "documentation":"<p>The metric for the validator.</p>"
    },
    "Validators":{
      "type":"list",
      "member":{"shape":"Validator"},
      "max":10,
      "min":0
    },
    "VpcConfig":{
      "type":"structure",
      "required":[
        "subnetIds",
        "securityGroupIds"
      ],
      "members":{
        "subnetIds":{
          "shape":"SubnetIds",
          "documentation":"<p>An array of IDs for each subnet in the VPC to use.</p>"
        },
        "securityGroupIds":{
          "shape":"SecurityGroupIds",
          "documentation":"<p>An array of IDs for each security group in the VPC to use.</p>"
        }
      },
      "documentation":"<p>The configuration of a virtual private cloud (VPC). For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/usingVPC.html\">Protect your data using Amazon Virtual Private Cloud and Amazon Web Services PrivateLink</a>.</p>"
    },
    "kBS3Uri":{
      "type":"string",
      "max":1024,
      "min":1,
      "pattern":"s3://[a-z0-9][a-z0-9.-]{1,61}[a-z0-9]/.{1,1024}"
    }
  },
  "documentation":"<p>Describes the API operations for creating, managing, fine-turning, and evaluating Amazon Bedrock models.</p>"
}
