Skip to content

Commit 4870d8b

Browse files
author
AWS
committed
Amazon Elastic Compute Cloud Update: This release changes the CreateLaunchTemplate, CreateLaunchTemplateVersion, ModifyLaunchTemplate CLI and SDKs such that if you do not specify a client token, a randomly generated token is used for the request to ensure idempotency.
1 parent ca5f676 commit 4870d8b

File tree

2 files changed

+22
-13
lines changed

2 files changed

+22
-13
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Elastic Compute Cloud",
4+
"contributor": "",
5+
"description": "This release changes the CreateLaunchTemplate, CreateLaunchTemplateVersion, ModifyLaunchTemplate CLI and SDKs such that if you do not specify a client token, a randomly generated token is used for the request to ensure idempotency."
6+
}

services/ec2/src/main/resources/codegen-resources/service-2.json

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2327,7 +2327,7 @@
23272327
},
23282328
"input":{"shape":"DescribeAvailabilityZonesRequest"},
23292329
"output":{"shape":"DescribeAvailabilityZonesResult"},
2330-
"documentation":"<p>Describes the Availability Zones, Local Zones, and Wavelength Zones that are available to you. If there is an event impacting a zone, you can use this request to view the state and any provided messages for that zone.</p> <p>For more information about Availability Zones, Local Zones, and Wavelength Zones, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html\">Regions and zones</a> in the <i>Amazon EC2 User Guide</i>.</p> <note> <p>The order of the elements in the response, including those within nested structures, might vary. Applications should not assume the elements appear in a particular order.</p> </note>"
2330+
"documentation":"<p>Describes the Availability Zones, Local Zones, and Wavelength Zones that are available to you.</p> <p>For more information about Availability Zones, Local Zones, and Wavelength Zones, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html\">Regions and zones</a> in the <i>Amazon EC2 User Guide</i>.</p> <note> <p>The order of the elements in the response, including those within nested structures, might vary. Applications should not assume the elements appear in a particular order.</p> </note>"
23312331
},
23322332
"DescribeAwsNetworkPerformanceMetricSubscriptions":{
23332333
"name":"DescribeAwsNetworkPerformanceMetricSubscriptions",
@@ -9751,7 +9751,7 @@
97519751
"members":{
97529752
"OptInStatus":{
97539753
"shape":"AvailabilityZoneOptInStatus",
9754-
"documentation":"<p>For Availability Zones, this parameter always has the value of <code>opt-in-not-required</code>.</p> <p>For Local Zones and Wavelength Zones, this parameter is the opt-in status. The possible values are <code>opted-in</code>, and <code>not-opted-in</code>.</p>",
9754+
"documentation":"<p>For Availability Zones, this parameter always has the value of <code>opt-in-not-required</code>.</p> <p>For Local Zones and Wavelength Zones, this parameter is the opt-in status. The possible values are <code>opted-in</code> and <code>not-opted-in</code>.</p>",
97559755
"locationName":"optInStatus"
97569756
},
97579757
"Messages":{
@@ -9786,7 +9786,7 @@
97869786
},
97879787
"ZoneType":{
97889788
"shape":"String",
9789-
"documentation":"<p>The type of zone. The valid values are <code>availability-zone</code>, <code>local-zone</code>, and <code>wavelength-zone</code>.</p>",
9789+
"documentation":"<p>The type of zone.</p> <p>Valid values: <code>availability-zone</code> | <code>local-zone</code> | <code>wavelength-zone</code> </p>",
97909790
"locationName":"zoneType"
97919791
},
97929792
"ParentZoneName":{
@@ -9806,7 +9806,7 @@
98069806
},
98079807
"State":{
98089808
"shape":"AvailabilityZoneState",
9809-
"documentation":"<p>The state of the Availability Zone, Local Zone, or Wavelength Zone. This value is always <code>available</code>.</p>",
9809+
"documentation":"<p>The state of the Availability Zone, Local Zone, or Wavelength Zone. The possible values are <code>available</code>, <code>unavailable</code>, and <code>constrained</code>.</p>",
98109810
"locationName":"zoneState"
98119811
}
98129812
},
@@ -14555,7 +14555,8 @@
1455514555
},
1455614556
"ClientToken":{
1455714557
"shape":"String",
14558-
"documentation":"<p>Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html\">Ensuring idempotency</a>.</p> <p>Constraint: Maximum 128 ASCII characters.</p>"
14558+
"documentation":"<p>Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If a client token isn't specified, a randomly generated token is used in the request to ensure idempotency.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html\">Ensuring idempotency</a>.</p> <p>Constraint: Maximum 128 ASCII characters.</p>",
14559+
"idempotencyToken":true
1455914560
},
1456014561
"LaunchTemplateName":{
1456114562
"shape":"LaunchTemplateName",
@@ -14605,7 +14606,8 @@
1460514606
},
1460614607
"ClientToken":{
1460714608
"shape":"String",
14608-
"documentation":"<p>Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html\">Ensuring idempotency</a>.</p> <p>Constraint: Maximum 128 ASCII characters.</p>"
14609+
"documentation":"<p>Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If a client token isn't specified, a randomly generated token is used in the request to ensure idempotency.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html\">Ensuring idempotency</a>.</p> <p>Constraint: Maximum 128 ASCII characters.</p>",
14610+
"idempotencyToken":true
1460914611
},
1461014612
"LaunchTemplateId":{
1461114613
"shape":"LaunchTemplateId",
@@ -31916,7 +31918,7 @@
3191631918
},
3191731919
"KmsKeyId":{
3191831920
"shape":"KmsKeyId",
31919-
"documentation":"<p>Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for EBS encryption.</p> <p>This parameter is only supported on <code>BlockDeviceMapping</code> objects called by <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet.html\">CreateFleet</a>, <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html\">RequestSpotInstances</a>, and <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html\">RunInstances</a>.</p>"
31921+
"documentation":"<p>Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for EBS encryption.</p> <p>This parameter is only supported on <code>BlockDeviceMapping</code> objects called by <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html\">RunInstances</a>, <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet.html\">RequestSpotFleet</a>, and <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html\">RequestSpotInstances</a>.</p>"
3192031922
},
3192131923
"SnapshotId":{
3192231924
"shape":"SnapshotId",
@@ -32106,7 +32108,7 @@
3210632108
},
3210732109
"BlockDeviceMappings":{
3210832110
"shape":"FleetBlockDeviceMappingRequestList",
32109-
"documentation":"<p>The block device mapping, which defines the EBS volumes and instance store volumes to attach to the instance at launch. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html\">Block device mappings for volumes on Amazon EC2 instances</a> in the <i>Amazon EC2 User Guide</i>.</p>",
32111+
"documentation":"<p>The block device mapping, which defines the EBS volumes and instance store volumes to attach to the instance at launch. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html\">Block device mappings for volumes on Amazon EC2 instances</a> in the <i>Amazon EC2 User Guide</i>.</p> <p>To override a block device mapping specified in the launch template:</p> <ul> <li> <p>Specify the exact same <code>DeviceName</code> here as specified in the launch template.</p> </li> <li> <p>Only specify the parameters you want to change.</p> </li> <li> <p>Any parameters you don't specify here will keep their original launch template values.</p> </li> </ul> <p>To add a new block device mapping:</p> <ul> <li> <p>Specify a <code>DeviceName</code> that doesn't exist in the launch template.</p> </li> <li> <p>Specify all desired parameters here.</p> </li> </ul>",
3211032112
"locationName":"BlockDeviceMapping"
3211132113
},
3211232114
"InstanceRequirements":{
@@ -37482,7 +37484,7 @@
3748237484
},
3748337485
"Tags":{
3748437486
"shape":"TagList",
37485-
"documentation":"<p>The instance tags associated with the event window. Any instances associated with the tags will be associated with the event window.</p> <p>Note that while you can't create tag keys beginning with <code>aws:</code>, you can specify existing Amazon Web Services managed tag keys (with the <code>aws:</code> prefix) when specifying them as targets to associate with the event window.</p>",
37487+
"documentation":"<p>The instance tags associated with the event window. Any instances associated with the tags will be associated with the event window.</p>",
3748637488
"locationName":"tagSet"
3748737489
},
3748837490
"DedicatedHostIds":{
@@ -38499,7 +38501,7 @@
3849938501
},
3850038502
"AcceleratorTypes":{
3850138503
"shape":"AcceleratorTypeSet",
38502-
"documentation":"<p>The accelerator types that must be on the instance type.</p> <ul> <li> <p>For instance types with FPGA accelerators, specify <code>fpga</code>.</p> </li> <li> <p>For instance types with GPU accelerators, specify <code>gpu</code>.</p> </li> <li> <p>For instance types with Inference accelerators, specify <code>inference</code>.</p> </li> </ul> <p>Default: Any accelerator type</p>",
38504+
"documentation":"<p>The accelerator types that must be on the instance type.</p> <ul> <li> <p>For instance types with FPGA accelerators, specify <code>fpga</code>.</p> </li> <li> <p>For instance types with GPU accelerators, specify <code>gpu</code>.</p> </li> <li> <p>For instance types with Inference accelerators, specify <code>inference</code>.</p> </li> <li> <p>For instance types with Inference accelerators, specify <code>inference</code>.</p> </li> </ul> <p>Default: Any accelerator type</p>",
3850338505
"locationName":"acceleratorTypeSet"
3850438506
},
3850538507
"AcceleratorCount":{
@@ -46111,7 +46113,8 @@
4611146113
},
4611246114
"ClientToken":{
4611346115
"shape":"String",
46114-
"documentation":"<p>Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html\">Ensuring idempotency in Amazon EC2 API requests</a>.</p> <p>Constraint: Maximum 128 ASCII characters.</p>"
46116+
"documentation":"<p>Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If a client token isn't specified, a randomly generated token is used in the request to ensure idempotency.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html\">Ensuring idempotency</a>.</p> <p>Constraint: Maximum 128 ASCII characters.</p>",
46117+
"idempotencyToken":true
4611546118
},
4611646119
"LaunchTemplateId":{
4611746120
"shape":"LaunchTemplateId",
@@ -49905,7 +49908,7 @@
4990549908
"members":{
4990649909
"Managed":{
4990749910
"shape":"Boolean",
49908-
"documentation":"<p>If <code>true</code>, the resource is managed by a service provider.</p>",
49911+
"documentation":"<p>If <code>true</code>, the resource is managed by an service provider.</p>",
4990949912
"locationName":"managed"
4991049913
},
4991149914
"Principal":{
@@ -49914,7 +49917,7 @@
4991449917
"locationName":"principal"
4991549918
}
4991649919
},
49917-
"documentation":"<p>Describes whether the resource is managed by a service provider and, if so, describes the service provider that manages it.</p>"
49920+
"documentation":"<p>Describes whether the resource is managed by an service provider and, if so, describes the service provider that manages it.</p>"
4991849921
},
4991949922
"OrganizationArnStringList":{
4992049923
"type":"list",

0 commit comments

Comments
 (0)