Skip to content

Commit 5e6ce06

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent 2f44586 commit 5e6ce06

File tree

8 files changed

+639
-66
lines changed

8 files changed

+639
-66
lines changed

codegen/sdk-codegen/aws-models/api-gateway.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4877,7 +4877,7 @@
48774877
"certificateUploadDate": {
48784878
"target": "com.amazonaws.apigateway#Timestamp",
48794879
"traits": {
4880-
"smithy.api#documentation": "<p>The timestamp when the certificate that was used by edge-optimized endpoint for this domain name was uploaded.</p>"
4880+
"smithy.api#documentation": "<p>The timestamp when the certificate that was used by edge-optimized endpoint for this domain name was uploaded. API Gateway doesn't change this value if you update the certificate.</p>"
48814881
}
48824882
},
48834883
"regionalDomainName": {

codegen/sdk-codegen/aws-models/athena.json

Lines changed: 300 additions & 6 deletions
Large diffs are not rendered by default.

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

Lines changed: 17 additions & 7 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 foundation model to be used for orchestration by the agent you create.</p>"
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>"
26212621
}
26222622
},
26232623
"description": {
@@ -8104,9 +8104,9 @@
81048104
}
81058105
},
81068106
"modelId": {
8107-
"target": "com.amazonaws.bedrockagent#ModelIdentifier",
8107+
"target": "com.amazonaws.bedrockagent#KnowledgeBaseModelIdentifier",
81088108
"traits": {
8109-
"smithy.api#documentation": "<p>The unique identifier of the model to use to generate a response from the query results. Omit this field if you want to return the retrieved results as an array.</p>"
8109+
"smithy.api#documentation": "<p>The unique identifier of the model or <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html\">inference profile</a> to use to generate a response from the query results. Omit this field if you want to return the retrieved results as an array.</p>"
81108110
}
81118111
}
81128112
},
@@ -8123,6 +8123,16 @@
81238123
"smithy.api#pattern": "^[0-9a-zA-Z]+$"
81248124
}
81258125
},
8126+
"com.amazonaws.bedrockagent#KnowledgeBaseModelIdentifier": {
8127+
"type": "string",
8128+
"traits": {
8129+
"smithy.api#length": {
8130+
"min": 1,
8131+
"max": 2048
8132+
},
8133+
"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-:.]+)$"
8134+
}
8135+
},
81268136
"com.amazonaws.bedrockagent#KnowledgeBaseResource": {
81278137
"type": "resource",
81288138
"operations": [
@@ -10405,7 +10415,7 @@
1040510415
"modelId": {
1040610416
"target": "com.amazonaws.bedrockagent#PromptModelIdentifier",
1040710417
"traits": {
10408-
"smithy.api#documentation": "<p>The unique identifier of the model to run inference with.</p>",
10418+
"smithy.api#documentation": "<p>The unique identifier of the model or <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html\">inference profile</a> to run inference with.</p>",
1040910419
"smithy.api#required": {}
1041010420
}
1041110421
},
@@ -10577,7 +10587,7 @@
1057710587
"min": 1,
1057810588
"max": 2048
1057910589
},
10580-
"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][_-]?)+)$"
10590+
"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-:.]+)$"
1058110591
}
1058210592
},
1058310593
"com.amazonaws.bedrockagent#PromptModelInferenceConfiguration": {
@@ -10637,7 +10647,7 @@
1063710647
"overrideLambda": {
1063810648
"target": "com.amazonaws.bedrockagent#LambdaArn",
1063910649
"traits": {
10640-
"smithy.api#documentation": "<p>The ARN of the Lambda function to use when parsing the raw foundation model output in parts of the agent sequence. If you specify this field, at least one of the <code>promptConfigurations</code> must contain a <code>parserMode</code> value that is set to <code>OVERRIDDEN</code>. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/lambda-parser.html\">Parser Lambda function in Agents for Amazon Bedrock</a>.</p>"
10650+
"smithy.api#documentation": "<p>The ARN of the Lambda function to use when parsing the raw foundation model output in parts of the agent sequence. If you specify this field, at least one of the <code>promptConfigurations</code> must contain a <code>parserMode</code> value that is set to <code>OVERRIDDEN</code>. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/lambda-parser.html\">Parser Lambda function in Amazon Bedrock Agents</a>.</p>"
1064110651
}
1064210652
}
1064310653
},
@@ -10843,7 +10853,7 @@
1084310853
"modelId": {
1084410854
"target": "com.amazonaws.bedrockagent#PromptModelIdentifier",
1084510855
"traits": {
10846-
"smithy.api#documentation": "<p>The unique identifier of the model with which to run inference on the prompt.</p>"
10856+
"smithy.api#documentation": "<p>The unique identifier of the model or <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html\">inference profile</a> with which to run inference on the prompt.</p>"
1084710857
}
1084810858
},
1084910859
"inferenceConfiguration": {

codegen/sdk-codegen/aws-models/ec2.json

Lines changed: 70 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9923,7 +9923,7 @@
99239923
"target": "smithy.api#Unit"
99249924
},
99259925
"traits": {
9926-
"smithy.api#documentation": "<p>Cancels an active conversion task. The task can be the import of an instance or volume. The action removes all\n artifacts of the conversion, including a partially uploaded volume or instance. If the conversion is complete or is\n in the process of transferring the final disk image, the command fails and returns an exception.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/ec2-cli-vmimport-export.html\">Importing a Virtual Machine Using the Amazon\n EC2 CLI</a>.</p>"
9926+
"smithy.api#documentation": "<p>Cancels an active conversion task. The task can be the import of an instance or volume. The action removes all\n artifacts of the conversion, including a partially uploaded volume or instance. If the conversion is complete or is\n in the process of transferring the final disk image, the command fails and returns an exception.</p>"
99279927
}
99289928
},
99299929
"com.amazonaws.ec2#CancelExportTask": {
@@ -23533,7 +23533,7 @@
2353323533
"type": "structure",
2353423534
"members": {
2353523535
"KeyName": {
23536-
"target": "com.amazonaws.ec2#KeyPairName",
23536+
"target": "com.amazonaws.ec2#KeyPairNameWithResolver",
2353723537
"traits": {
2353823538
"smithy.api#documentation": "<p>The name of the key pair.</p>"
2353923539
}
@@ -27910,17 +27910,13 @@
2791027910
"InstanceType": {
2791127911
"target": "com.amazonaws.ec2#String",
2791227912
"traits": {
27913-
"smithy.api#clientOptional": {},
27914-
"smithy.api#documentation": "<p>The type of instance for which the Capacity Block offering reserves capacity.</p>",
27915-
"smithy.api#required": {}
27913+
"smithy.api#documentation": "<p>The type of instance for which the Capacity Block offering reserves capacity.</p>"
2791627914
}
2791727915
},
2791827916
"InstanceCount": {
2791927917
"target": "com.amazonaws.ec2#Integer",
2792027918
"traits": {
27921-
"smithy.api#clientOptional": {},
27922-
"smithy.api#documentation": "<p>The number of instances for which to reserve capacity.</p>",
27923-
"smithy.api#required": {}
27919+
"smithy.api#documentation": "<p>The number of instances for which to reserve capacity.</p>"
2792427920
}
2792527921
},
2792627922
"StartDateRange": {
@@ -49970,6 +49966,18 @@
4997049966
"traits": {
4997149967
"smithy.api#enumValue": "use-capacity-reservations-first"
4997249968
}
49969+
},
49970+
"USE_CAPACITY_RESERVATIONS_ONLY": {
49971+
"target": "smithy.api#Unit",
49972+
"traits": {
49973+
"smithy.api#enumValue": "use-capacity-reservations-only"
49974+
}
49975+
},
49976+
"NONE": {
49977+
"target": "smithy.api#Unit",
49978+
"traits": {
49979+
"smithy.api#enumValue": "none"
49980+
}
4997349981
}
4997449982
}
4997549983
},
@@ -57597,7 +57605,7 @@
5759757605
"target": "com.amazonaws.ec2#ImportInstanceResult"
5759857606
},
5759957607
"traits": {
57600-
"smithy.api#documentation": "<note>\n <p>We recommend that you use the <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportImage.html\">\n <code>ImportImage</code>\n </a>\n API. For more information, see <a href=\"https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html\">Importing a VM as an image using VM\n Import/Export</a> in the <i>VM Import/Export User Guide</i>.</p>\n </note>\n <p>Creates an import instance task using metadata from the specified disk image.</p>\n <p>This API action is not supported by the Command Line Interface (CLI). For\n information about using the Amazon EC2 CLI, which is deprecated, see <a href=\"https://awsdocs.s3.amazonaws.com/EC2/ec2-clt.pdf#UsingVirtualMachinesinAmazonEC2\">Importing\n a VM to Amazon EC2</a> in the <i>Amazon EC2 CLI Reference</i> PDF file.</p>\n <p>This API action supports only single-volume VMs. To import multi-volume VMs, use <a>ImportImage</a>\n instead.</p>\n <p>For information about the import manifest referenced by this API action, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html\">VM Import Manifest</a>.</p>"
57608+
"smithy.api#documentation": "<note>\n <p>We recommend that you use the <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportImage.html\">\n <code>ImportImage</code>\n </a>\n API instead. For more information, see <a href=\"https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html\">Importing a VM as an image using VM\n Import/Export</a> in the <i>VM Import/Export User Guide</i>.</p>\n </note>\n <p>Creates an import instance task using metadata from the specified disk image.</p>\n <p>This API action supports only single-volume VMs. To import multi-volume VMs, use <a>ImportImage</a>\n instead.</p>\n <p>For information about the import manifest referenced by this API action, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html\">VM Import Manifest</a>.</p>\n <p>This API action is not supported by the Command Line Interface (CLI).</p>"
5760157609
}
5760257610
},
5760357611
"com.amazonaws.ec2#ImportInstanceLaunchSpecification": {
@@ -58171,7 +58179,7 @@
5817158179
"target": "com.amazonaws.ec2#ImportVolumeResult"
5817258180
},
5817358181
"traits": {
58174-
"smithy.api#documentation": "<p>Creates an import volume task using metadata from the specified disk image.</p>\n <p>This API action supports only single-volume VMs. To import multi-volume VMs, use \n <a>ImportImage</a> instead. To import a disk to a snapshot, use\n <a>ImportSnapshot</a> instead.</p>\n <p>This API action is not supported by the Command Line Interface (CLI). For \n information about using the Amazon EC2 CLI, which is deprecated, see <a href=\"https://awsdocs.s3.amazonaws.com/EC2/ec2-clt.pdf#importing-your-volumes-into-amazon-ebs\">Importing Disks to Amazon EBS</a> in the <i>Amazon EC2 CLI Reference</i> PDF file.</p>\n <p>For information about the import manifest referenced by this API action, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html\">VM Import Manifest</a>.</p>"
58182+
"smithy.api#documentation": "<note>\n <p>This API action supports only single-volume VMs. To import multi-volume VMs, use \n <a>ImportImage</a> instead. To import a disk to a snapshot, use\n <a>ImportSnapshot</a> instead.</p>\n </note>\n <p>Creates an import volume task using metadata from the specified disk image.</p>\n <p>For information about the import manifest referenced by this API action, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html\">VM Import Manifest</a>.</p>\n <p>This API action is not supported by the Command Line Interface (CLI).</p>"
5817558183
}
5817658184
},
5817758185
"com.amazonaws.ec2#ImportVolumeRequest": {
@@ -66673,6 +66681,54 @@
6667366681
"traits": {
6667466682
"smithy.api#enumValue": "mac2-m1ultra.metal"
6667566683
}
66684+
},
66685+
"g6e_xlarge": {
66686+
"target": "smithy.api#Unit",
66687+
"traits": {
66688+
"smithy.api#enumValue": "g6e.xlarge"
66689+
}
66690+
},
66691+
"g6e_2xlarge": {
66692+
"target": "smithy.api#Unit",
66693+
"traits": {
66694+
"smithy.api#enumValue": "g6e.2xlarge"
66695+
}
66696+
},
66697+
"g6e_4xlarge": {
66698+
"target": "smithy.api#Unit",
66699+
"traits": {
66700+
"smithy.api#enumValue": "g6e.4xlarge"
66701+
}
66702+
},
66703+
"g6e_8xlarge": {
66704+
"target": "smithy.api#Unit",
66705+
"traits": {
66706+
"smithy.api#enumValue": "g6e.8xlarge"
66707+
}
66708+
},
66709+
"g6e_12xlarge": {
66710+
"target": "smithy.api#Unit",
66711+
"traits": {
66712+
"smithy.api#enumValue": "g6e.12xlarge"
66713+
}
66714+
},
66715+
"g6e_16xlarge": {
66716+
"target": "smithy.api#Unit",
66717+
"traits": {
66718+
"smithy.api#enumValue": "g6e.16xlarge"
66719+
}
66720+
},
66721+
"g6e_24xlarge": {
66722+
"target": "smithy.api#Unit",
66723+
"traits": {
66724+
"smithy.api#enumValue": "g6e.24xlarge"
66725+
}
66726+
},
66727+
"g6e_48xlarge": {
66728+
"target": "smithy.api#Unit",
66729+
"traits": {
66730+
"smithy.api#enumValue": "g6e.48xlarge"
66731+
}
6667666732
}
6667766733
}
6667866734
},
@@ -70737,6 +70793,9 @@
7073770793
"com.amazonaws.ec2#KeyPairName": {
7073870794
"type": "string"
7073970795
},
70796+
"com.amazonaws.ec2#KeyPairNameWithResolver": {
70797+
"type": "string"
70798+
},
7074070799
"com.amazonaws.ec2#KeyType": {
7074170800
"type": "enum",
7074270801
"members": {
@@ -96168,7 +96227,7 @@
9616896227
"target": "com.amazonaws.ec2#String",
9616996228
"traits": {
9617096229
"aws.protocols#ec2QueryName": "Description",
96171-
"smithy.api#documentation": "<p>The description of the snapshot.</p>",
96230+
"smithy.api#documentation": "<p>The description of the disk image being imported.</p>",
9617296231
"smithy.api#xmlName": "description"
9617396232
}
9617496233
},

0 commit comments

Comments
 (0)