|
2617 | 2617 | "foundationModel": { |
2618 | 2618 | "target": "com.amazonaws.bedrockagent#ModelIdentifier", |
2619 | 2619 | "traits": { |
2620 | | - "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the foundation model to be used for orchestration by the agent you create.</p>" |
| 2620 | + "smithy.api#documentation": "<p>The identifier for the model that you want to be used for orchestration by the agent you create.</p>\n <p>The <code>modelId</code> to provide depends on the type of model or throughput that you use:</p>\n <ul>\n <li>\n <p>If you use a base model, specify the model ID or its ARN. For a list of model IDs for base models, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns\">Amazon Bedrock base model IDs (on-demand throughput)</a> in the Amazon Bedrock User Guide.</p>\n </li>\n <li>\n <p>If you use an inference profile, specify the inference profile ID or its ARN. For a list of inference profile IDs, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference-support.html\">Supported Regions and models for cross-region inference</a> in the Amazon Bedrock User Guide.</p>\n </li>\n <li>\n <p>If you use a provisioned model, specify the ARN of the Provisioned Throughput. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/prov-thru-use.html\">Run inference using a Provisioned Throughput</a> in the Amazon Bedrock User Guide.</p>\n </li>\n <li>\n <p>If you use a custom model, first purchase Provisioned Throughput for it. Then specify the ARN of the resulting provisioned model. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-use.html\">Use a custom model in Amazon Bedrock</a> in the Amazon Bedrock User Guide.</p>\n </li>\n <li>\n <p>If you use an <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html\">imported model</a>, specify the ARN of the imported model. You can get the model ARN from a successful call to <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateModelImportJob.html\">CreateModelImportJob</a> or from the Imported models page in the Amazon Bedrock console.</p>\n </li>\n </ul>" |
2621 | 2621 | } |
2622 | 2622 | }, |
2623 | 2623 | "description": { |
|
5349 | 5349 | } |
5350 | 5350 | }, |
5351 | 5351 | "traits": { |
5352 | | - "smithy.api#documentation": "<p>Defines a condition in the condition node.</p>", |
5353 | | - "smithy.api#sensitive": {} |
| 5352 | + "smithy.api#documentation": "<p>Defines a condition in the condition node.</p>" |
5354 | 5353 | } |
5355 | 5354 | }, |
5356 | 5355 | "com.amazonaws.bedrockagent#FlowConditionExpression": { |
|
5393 | 5392 | "smithy.api#length": { |
5394 | 5393 | "min": 1, |
5395 | 5394 | "max": 5 |
5396 | | - }, |
5397 | | - "smithy.api#sensitive": {} |
| 5395 | + } |
5398 | 5396 | } |
5399 | 5397 | }, |
5400 | 5398 | "com.amazonaws.bedrockagent#FlowConnection": { |
|
5532 | 5530 | } |
5533 | 5531 | }, |
5534 | 5532 | "traits": { |
5535 | | - "smithy.api#documentation": "<p>The definition of the nodes and connections between nodes in the flow.</p>" |
| 5533 | + "smithy.api#documentation": "<p>The definition of the nodes and connections between nodes in the flow.</p>", |
| 5534 | + "smithy.api#sensitive": {} |
5536 | 5535 | } |
5537 | 5536 | }, |
5538 | 5537 | "com.amazonaws.bedrockagent#FlowDescription": { |
|
5912 | 5911 | "traits": { |
5913 | 5912 | "smithy.api#length": { |
5914 | 5913 | "max": 20 |
5915 | | - }, |
5916 | | - "smithy.api#sensitive": {} |
| 5914 | + } |
5917 | 5915 | } |
5918 | 5916 | }, |
5919 | 5917 | "com.amazonaws.bedrockagent#FlowResource": { |
|
8141 | 8139 | "com.amazonaws.bedrockagent#KnowledgeBaseModelIdentifier": { |
8142 | 8140 | "type": "string", |
8143 | 8141 | "traits": { |
| 8142 | + "smithy.api#documentation": "ARN or Id of a Bedrock Foundational Model or Inference Profile, or the ARN of a jumpstart model or imported model, or a provisioned throughput ARN for custom models.", |
8144 | 8143 | "smithy.api#length": { |
8145 | 8144 | "min": 1, |
8146 | 8145 | "max": 2048 |
8147 | 8146 | }, |
8148 | | - "smithy.api#pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(: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})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):(model-gateway|inference-profile)/[a-zA-Z0-9-:.]+)|([a-zA-Z0-9-:.]+)$" |
| 8147 | + "smithy.api#pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)|([a-zA-Z0-9-:.]+)$" |
8149 | 8148 | } |
8150 | 8149 | }, |
8151 | 8150 | "com.amazonaws.bedrockagent#KnowledgeBaseResource": { |
|
9663 | 9662 | "com.amazonaws.bedrockagent#ModelIdentifier": { |
9664 | 9663 | "type": "string", |
9665 | 9664 | "traits": { |
| 9665 | + "smithy.api#documentation": "ARN or Id of a Bedrock Foundational Model or Inference Profile, or the ARN of a jumpstart model or imported model, or a provisioned throughput ARN for custom models.", |
9666 | 9666 | "smithy.api#length": { |
9667 | 9667 | "min": 1, |
9668 | 9668 | "max": 2048 |
9669 | 9669 | }, |
9670 | | - "smithy.api#pattern": "^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}(([:][a-z0-9-]{1,63}){0,2})?/[a-z0-9]{12})|(:foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})))|(([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2}))|(([0-9a-zA-Z][_-]?)+)$" |
| 9670 | + "smithy.api#pattern": "^(arn:aws(-[^:]{1,12})?:(bedrock|sagemaker):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$" |
9671 | 9671 | } |
9672 | 9672 | }, |
9673 | 9673 | "com.amazonaws.bedrockagent#MongoDbAtlasCollectionName": { |
|
10439 | 10439 | "traits": { |
10440 | 10440 | "smithy.api#documentation": "<p>Contains inference configurations for the prompt.</p>" |
10441 | 10441 | } |
| 10442 | + }, |
| 10443 | + "additionalModelRequestFields": { |
| 10444 | + "target": "smithy.api#Document", |
| 10445 | + "traits": { |
| 10446 | + "smithy.api#documentation": "<p>Contains model-specific inference configurations that aren't in the <code>inferenceConfiguration</code> field. To see model-specific inference parameters, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html\">Inference request parameters and response fields for foundation models</a>.</p>" |
| 10447 | + } |
10442 | 10448 | } |
10443 | 10449 | }, |
10444 | 10450 | "traits": { |
@@ -10598,11 +10604,12 @@ |
10598 | 10604 | "com.amazonaws.bedrockagent#PromptModelIdentifier": { |
10599 | 10605 | "type": "string", |
10600 | 10606 | "traits": { |
| 10607 | + "smithy.api#documentation": "ARN or Id of a Bedrock Foundational Model or Inference Profile, or the ARN of a jumpstart model or imported model, or a provisioned throughput ARN for custom models.", |
10601 | 10608 | "smithy.api#length": { |
10602 | 10609 | "min": 1, |
10603 | 10610 | "max": 2048 |
10604 | 10611 | }, |
10605 | | - "smithy.api#pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(: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})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):(model-gateway|inference-profile)/[a-zA-Z0-9-:.]+)|([a-zA-Z0-9-:.]+)$" |
| 10612 | + "smithy.api#pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)|([a-zA-Z0-9-:.]+)$" |
10606 | 10613 | } |
10607 | 10614 | }, |
10608 | 10615 | "com.amazonaws.bedrockagent#PromptModelInferenceConfiguration": { |
|
10877 | 10884 | "traits": { |
10878 | 10885 | "smithy.api#documentation": "<p>An array of objects, each containing a key-value pair that defines a metadata tag and value to attach to a prompt variant. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-create.html\">Create a prompt using Prompt management</a>.</p>" |
10879 | 10886 | } |
| 10887 | + }, |
| 10888 | + "additionalModelRequestFields": { |
| 10889 | + "target": "smithy.api#Document", |
| 10890 | + "traits": { |
| 10891 | + "smithy.api#documentation": "<p>Contains model-specific inference configurations that aren't in the <code>inferenceConfiguration</code> field. To see model-specific inference parameters, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html\">Inference request parameters and response fields for foundation models</a>.</p>" |
| 10892 | + } |
10880 | 10893 | } |
10881 | 10894 | }, |
10882 | 10895 | "traits": { |
|
12728 | 12741 | "target": "com.amazonaws.bedrockagent#ModelIdentifier", |
12729 | 12742 | "traits": { |
12730 | 12743 | "smithy.api#clientOptional": {}, |
12731 | | - "smithy.api#documentation": "<p>Specifies a new foundation model to be used for orchestration by the agent.</p>", |
| 12744 | + "smithy.api#documentation": "<p>The identifier for the model that you want to be used for orchestration by the agent you create.</p>\n <p>The <code>modelId</code> to provide depends on the type of model or throughput that you use:</p>\n <ul>\n <li>\n <p>If you use a base model, specify the model ID or its ARN. For a list of model IDs for base models, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns\">Amazon Bedrock base model IDs (on-demand throughput)</a> in the Amazon Bedrock User Guide.</p>\n </li>\n <li>\n <p>If you use an inference profile, specify the inference profile ID or its ARN. For a list of inference profile IDs, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference-support.html\">Supported Regions and models for cross-region inference</a> in the Amazon Bedrock User Guide.</p>\n </li>\n <li>\n <p>If you use a provisioned model, specify the ARN of the Provisioned Throughput. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/prov-thru-use.html\">Run inference using a Provisioned Throughput</a> in the Amazon Bedrock User Guide.</p>\n </li>\n <li>\n <p>If you use a custom model, first purchase Provisioned Throughput for it. Then specify the ARN of the resulting provisioned model. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-use.html\">Use a custom model in Amazon Bedrock</a> in the Amazon Bedrock User Guide.</p>\n </li>\n <li>\n <p>If you use an <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html\">imported model</a>, specify the ARN of the imported model. You can get the model ARN from a successful call to <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateModelImportJob.html\">CreateModelImportJob</a> or from the Imported models page in the Amazon Bedrock console.</p>\n </li>\n </ul>", |
12732 | 12745 | "smithy.api#required": {} |
12733 | 12746 | } |
12734 | 12747 | }, |
|
0 commit comments