Skip to content

Commit ee966f0

Browse files
feat: update AWS API models
1 parent 4b8c43a commit ee966f0

File tree

5 files changed

+211
-45
lines changed

5 files changed

+211
-45
lines changed

codegen/sdk/aws-models/bedrock-agent.json

Lines changed: 25 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2617,7 +2617,7 @@
26172617
"foundationModel": {
26182618
"target": "com.amazonaws.bedrockagent#ModelIdentifier",
26192619
"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>"
26212621
}
26222622
},
26232623
"description": {
@@ -5349,8 +5349,7 @@
53495349
}
53505350
},
53515351
"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>"
53545353
}
53555354
},
53565355
"com.amazonaws.bedrockagent#FlowConditionExpression": {
@@ -5393,8 +5392,7 @@
53935392
"smithy.api#length": {
53945393
"min": 1,
53955394
"max": 5
5396-
},
5397-
"smithy.api#sensitive": {}
5395+
}
53985396
}
53995397
},
54005398
"com.amazonaws.bedrockagent#FlowConnection": {
@@ -5532,7 +5530,8 @@
55325530
}
55335531
},
55345532
"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": {}
55365535
}
55375536
},
55385537
"com.amazonaws.bedrockagent#FlowDescription": {
@@ -5912,8 +5911,7 @@
59125911
"traits": {
59135912
"smithy.api#length": {
59145913
"max": 20
5915-
},
5916-
"smithy.api#sensitive": {}
5914+
}
59175915
}
59185916
},
59195917
"com.amazonaws.bedrockagent#FlowResource": {
@@ -8141,11 +8139,12 @@
81418139
"com.amazonaws.bedrockagent#KnowledgeBaseModelIdentifier": {
81428140
"type": "string",
81438141
"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.",
81448143
"smithy.api#length": {
81458144
"min": 1,
81468145
"max": 2048
81478146
},
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-:.]+)$"
81498148
}
81508149
},
81518150
"com.amazonaws.bedrockagent#KnowledgeBaseResource": {
@@ -9663,11 +9662,12 @@
96639662
"com.amazonaws.bedrockagent#ModelIdentifier": {
96649663
"type": "string",
96659664
"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.",
96669666
"smithy.api#length": {
96679667
"min": 1,
96689668
"max": 2048
96699669
},
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})?$"
96719671
}
96729672
},
96739673
"com.amazonaws.bedrockagent#MongoDbAtlasCollectionName": {
@@ -10439,6 +10439,12 @@
1043910439
"traits": {
1044010440
"smithy.api#documentation": "<p>Contains inference configurations for the prompt.</p>"
1044110441
}
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+
}
1044210448
}
1044310449
},
1044410450
"traits": {
@@ -10598,11 +10604,12 @@
1059810604
"com.amazonaws.bedrockagent#PromptModelIdentifier": {
1059910605
"type": "string",
1060010606
"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.",
1060110608
"smithy.api#length": {
1060210609
"min": 1,
1060310610
"max": 2048
1060410611
},
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-:.]+)$"
1060610613
}
1060710614
},
1060810615
"com.amazonaws.bedrockagent#PromptModelInferenceConfiguration": {
@@ -10877,6 +10884,12 @@
1087710884
"traits": {
1087810885
"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>"
1087910886
}
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+
}
1088010893
}
1088110894
},
1088210895
"traits": {
@@ -12728,7 +12741,7 @@
1272812741
"target": "com.amazonaws.bedrockagent#ModelIdentifier",
1272912742
"traits": {
1273012743
"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>",
1273212745
"smithy.api#required": {}
1273312746
}
1273412747
},

0 commit comments

Comments
 (0)