aws-sdk-ec2 1.511.0 → 1.512.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 01fcf4c573be22d5df6baaee10bcc31d55e28f705a890813e42c8eae5cf9445c
4
- data.tar.gz: 5e267f949bda84a0057b50f51bfa984cba05e58b2b7ae8c3ca900185ebd63827
3
+ metadata.gz: f9eb91fe4c4a35590c578e78e5fa7144614ffba5cfe8cf5a747e00caca0acf1b
4
+ data.tar.gz: eafd684be608d8ace393b41d8845d3f9c9359ec3c0a5617d484eae893934db3a
5
5
  SHA512:
6
- metadata.gz: d81987eea06f1fb31793a584d56a361e113eeb706e3dd6565c3f18e214d2d33a1da95ae2cbfb3b3df06b83c879b49e9cf5550b27dc2ea9cb1ab02a5a615280c8
7
- data.tar.gz: 53b0a810e0c7f7e367500298ccc32571876e62d518137f422d411d2380cd6de3b4d030199dd1ef401849411acc3dc0d1c2923afec617a4bf2b33582216a9d3b2
6
+ metadata.gz: 5757a3fbc1ba4862aad77c6e0073a0f9ad48d74f8767ee07b016b115621400f41b52562939ce27dc1a0758034ce5135b73097e2dd82985182ca5991b87b163d6
7
+ data.tar.gz: dd001501a14208ec77ae0a708c631feb5419c95677e2c838fbe431a040b48675a5124c7cdf98def58ab64ae6a6c42fdd094162b16acbeffd7f077540a9fe0df2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.512.0 (2025-03-13)
5
+ ------------------
6
+
7
+ * Feature - 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.
8
+
4
9
  1.511.0 (2025-03-11)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.511.0
1
+ 1.512.0
@@ -8894,11 +8894,16 @@ module Aws::EC2
8894
8894
  #
8895
8895
  # @option params [String] :client_token
8896
8896
  # Unique, case-sensitive identifier you provide to ensure the
8897
- # idempotency of the request. For more information, see [Ensuring
8898
- # idempotency][1].
8897
+ # idempotency of the request. If a client token isn't specified, a
8898
+ # randomly generated token is used in the request to ensure idempotency.
8899
+ #
8900
+ # For more information, see [Ensuring idempotency][1].
8899
8901
  #
8900
8902
  # Constraint: Maximum 128 ASCII characters.
8901
8903
  #
8904
+ # **A suitable default value is auto-generated.** You should normally
8905
+ # not need to pass this option.**
8906
+ #
8902
8907
  #
8903
8908
  #
8904
8909
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
@@ -9297,11 +9302,16 @@ module Aws::EC2
9297
9302
  #
9298
9303
  # @option params [String] :client_token
9299
9304
  # Unique, case-sensitive identifier you provide to ensure the
9300
- # idempotency of the request. For more information, see [Ensuring
9301
- # idempotency][1].
9305
+ # idempotency of the request. If a client token isn't specified, a
9306
+ # randomly generated token is used in the request to ensure idempotency.
9307
+ #
9308
+ # For more information, see [Ensuring idempotency][1].
9302
9309
  #
9303
9310
  # Constraint: Maximum 128 ASCII characters.
9304
9311
  #
9312
+ # **A suitable default value is auto-generated.** You should normally
9313
+ # not need to pass this option.**
9314
+ #
9305
9315
  #
9306
9316
  #
9307
9317
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
@@ -21149,9 +21159,7 @@ module Aws::EC2
21149
21159
  end
21150
21160
 
21151
21161
  # Describes the Availability Zones, Local Zones, and Wavelength Zones
21152
- # that are available to you. If there is an event impacting a zone, you
21153
- # can use this request to view the state and any provided messages for
21154
- # that zone.
21162
+ # that are available to you.
21155
21163
  #
21156
21164
  # For more information about Availability Zones, Local Zones, and
21157
21165
  # Wavelength Zones, see [Regions and zones][1] in the *Amazon EC2 User
@@ -51646,11 +51654,16 @@ module Aws::EC2
51646
51654
  #
51647
51655
  # @option params [String] :client_token
51648
51656
  # Unique, case-sensitive identifier you provide to ensure the
51649
- # idempotency of the request. For more information, see [Ensuring
51650
- # idempotency in Amazon EC2 API requests][1].
51657
+ # idempotency of the request. If a client token isn't specified, a
51658
+ # randomly generated token is used in the request to ensure idempotency.
51659
+ #
51660
+ # For more information, see [Ensuring idempotency][1].
51651
51661
  #
51652
51662
  # Constraint: Maximum 128 ASCII characters.
51653
51663
  #
51664
+ # **A suitable default value is auto-generated.** You should normally
51665
+ # not need to pass this option.**
51666
+ #
51654
51667
  #
51655
51668
  #
51656
51669
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
@@ -63389,7 +63402,7 @@ module Aws::EC2
63389
63402
  tracer: tracer
63390
63403
  )
63391
63404
  context[:gem_name] = 'aws-sdk-ec2'
63392
- context[:gem_version] = '1.511.0'
63405
+ context[:gem_version] = '1.512.0'
63393
63406
  Seahorse::Client::Request.new(handlers, context)
63394
63407
  end
63395
63408
 
@@ -5232,7 +5232,7 @@ module Aws::EC2
5232
5232
  CreateKeyPairRequest.struct_class = Types::CreateKeyPairRequest
5233
5233
 
5234
5234
  CreateLaunchTemplateRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
5235
- CreateLaunchTemplateRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken"))
5235
+ CreateLaunchTemplateRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
5236
5236
  CreateLaunchTemplateRequest.add_member(:launch_template_name, Shapes::ShapeRef.new(shape: LaunchTemplateName, required: true, location_name: "LaunchTemplateName"))
5237
5237
  CreateLaunchTemplateRequest.add_member(:version_description, Shapes::ShapeRef.new(shape: VersionDescription, location_name: "VersionDescription"))
5238
5238
  CreateLaunchTemplateRequest.add_member(:launch_template_data, Shapes::ShapeRef.new(shape: RequestLaunchTemplateData, required: true, location_name: "LaunchTemplateData"))
@@ -5245,7 +5245,7 @@ module Aws::EC2
5245
5245
  CreateLaunchTemplateResult.struct_class = Types::CreateLaunchTemplateResult
5246
5246
 
5247
5247
  CreateLaunchTemplateVersionRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
5248
- CreateLaunchTemplateVersionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken"))
5248
+ CreateLaunchTemplateVersionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
5249
5249
  CreateLaunchTemplateVersionRequest.add_member(:launch_template_id, Shapes::ShapeRef.new(shape: LaunchTemplateId, location_name: "LaunchTemplateId"))
5250
5250
  CreateLaunchTemplateVersionRequest.add_member(:launch_template_name, Shapes::ShapeRef.new(shape: LaunchTemplateName, location_name: "LaunchTemplateName"))
5251
5251
  CreateLaunchTemplateVersionRequest.add_member(:source_version, Shapes::ShapeRef.new(shape: String, location_name: "SourceVersion"))
@@ -12484,7 +12484,7 @@ module Aws::EC2
12484
12484
  ModifyIpamScopeResult.struct_class = Types::ModifyIpamScopeResult
12485
12485
 
12486
12486
  ModifyLaunchTemplateRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
12487
- ModifyLaunchTemplateRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken"))
12487
+ ModifyLaunchTemplateRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
12488
12488
  ModifyLaunchTemplateRequest.add_member(:launch_template_id, Shapes::ShapeRef.new(shape: LaunchTemplateId, location_name: "LaunchTemplateId"))
12489
12489
  ModifyLaunchTemplateRequest.add_member(:launch_template_name, Shapes::ShapeRef.new(shape: LaunchTemplateName, location_name: "LaunchTemplateName"))
12490
12490
  ModifyLaunchTemplateRequest.add_member(:default_version, Shapes::ShapeRef.new(shape: String, location_name: "SetDefaultVersion"))
@@ -3658,7 +3658,7 @@ module Aws::EC2
3658
3658
  # `opt-in-not-required`.
3659
3659
  #
3660
3660
  # For Local Zones and Wavelength Zones, this parameter is the opt-in
3661
- # status. The possible values are `opted-in`, and `not-opted-in`.
3661
+ # status. The possible values are `opted-in` and `not-opted-in`.
3662
3662
  # @return [String]
3663
3663
  #
3664
3664
  # @!attribute [rw] messages
@@ -3693,8 +3693,10 @@ module Aws::EC2
3693
3693
  # @return [String]
3694
3694
  #
3695
3695
  # @!attribute [rw] zone_type
3696
- # The type of zone. The valid values are `availability-zone`,
3697
- # `local-zone`, and `wavelength-zone`.
3696
+ # The type of zone.
3697
+ #
3698
+ # Valid values: `availability-zone` \| `local-zone` \|
3699
+ # `wavelength-zone`
3698
3700
  # @return [String]
3699
3701
  #
3700
3702
  # @!attribute [rw] parent_zone_name
@@ -3714,7 +3716,8 @@ module Aws::EC2
3714
3716
  #
3715
3717
  # @!attribute [rw] state
3716
3718
  # The state of the Availability Zone, Local Zone, or Wavelength Zone.
3717
- # This value is always `available`.
3719
+ # The possible values are `available`, `unavailable`, and
3720
+ # `constrained`.
3718
3721
  # @return [String]
3719
3722
  #
3720
3723
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AvailabilityZone AWS API Documentation
@@ -9971,11 +9974,17 @@ module Aws::EC2
9971
9974
  #
9972
9975
  # @!attribute [rw] client_token
9973
9976
  # Unique, case-sensitive identifier you provide to ensure the
9974
- # idempotency of the request. For more information, see [Ensuring
9975
- # idempotency][1].
9977
+ # idempotency of the request. If a client token isn't specified, a
9978
+ # randomly generated token is used in the request to ensure
9979
+ # idempotency.
9980
+ #
9981
+ # For more information, see [Ensuring idempotency][1].
9976
9982
  #
9977
9983
  # Constraint: Maximum 128 ASCII characters.
9978
9984
  #
9985
+ # **A suitable default value is auto-generated.** You should normally
9986
+ # not need to pass this option.
9987
+ #
9979
9988
  #
9980
9989
  #
9981
9990
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
@@ -10052,11 +10061,17 @@ module Aws::EC2
10052
10061
  #
10053
10062
  # @!attribute [rw] client_token
10054
10063
  # Unique, case-sensitive identifier you provide to ensure the
10055
- # idempotency of the request. For more information, see [Ensuring
10056
- # idempotency][1].
10064
+ # idempotency of the request. If a client token isn't specified, a
10065
+ # randomly generated token is used in the request to ensure
10066
+ # idempotency.
10067
+ #
10068
+ # For more information, see [Ensuring idempotency][1].
10057
10069
  #
10058
10070
  # Constraint: Maximum 128 ASCII characters.
10059
10071
  #
10072
+ # **A suitable default value is auto-generated.** You should normally
10073
+ # not need to pass this option.
10074
+ #
10060
10075
  #
10061
10076
  #
10062
10077
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
@@ -35986,14 +36001,14 @@ module Aws::EC2
35986
36001
  # customer managed KMS key to use for EBS encryption.
35987
36002
  #
35988
36003
  # This parameter is only supported on `BlockDeviceMapping` objects
35989
- # called by [CreateFleet][1], [RequestSpotInstances][2], and
35990
- # [RunInstances][3].
36004
+ # called by [RunInstances][1], [RequestSpotFleet][2], and
36005
+ # [RequestSpotInstances][3].
35991
36006
  #
35992
36007
  #
35993
36008
  #
35994
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet.html
35995
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html
35996
- # [3]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html
36009
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html
36010
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet.html
36011
+ # [3]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html
35997
36012
  # @return [String]
35998
36013
  #
35999
36014
  # @!attribute [rw] snapshot_id
@@ -36335,6 +36350,22 @@ module Aws::EC2
36335
36350
  # information, see [Block device mappings for volumes on Amazon EC2
36336
36351
  # instances][1] in the *Amazon EC2 User Guide*.
36337
36352
  #
36353
+ # To override a block device mapping specified in the launch template:
36354
+ #
36355
+ # * Specify the exact same `DeviceName` here as specified in the
36356
+ # launch template.
36357
+ #
36358
+ # * Only specify the parameters you want to change.
36359
+ #
36360
+ # * Any parameters you don't specify here will keep their original
36361
+ # launch template values.
36362
+ #
36363
+ # To add a new block device mapping:
36364
+ #
36365
+ # * Specify a `DeviceName` that doesn't exist in the launch template.
36366
+ #
36367
+ # * Specify all desired parameters here.
36368
+ #
36338
36369
  #
36339
36370
  #
36340
36371
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html
@@ -42986,11 +43017,6 @@ module Aws::EC2
42986
43017
  # @!attribute [rw] tags
42987
43018
  # The instance tags associated with the event window. Any instances
42988
43019
  # associated with the tags will be associated with the event window.
42989
- #
42990
- # Note that while you can't create tag keys beginning with `aws:`,
42991
- # you can specify existing Amazon Web Services managed tag keys (with
42992
- # the `aws:` prefix) when specifying them as targets to associate with
42993
- # the event window.
42994
43020
  # @return [Array<Types::Tag>]
42995
43021
  #
42996
43022
  # @!attribute [rw] dedicated_host_ids
@@ -44375,6 +44401,9 @@ module Aws::EC2
44375
44401
  # * For instance types with Inference accelerators, specify
44376
44402
  # `inference`.
44377
44403
  #
44404
+ # * For instance types with Inference accelerators, specify
44405
+ # `inference`.
44406
+ #
44378
44407
  # Default: Any accelerator type
44379
44408
  # @return [Array<String>]
44380
44409
  #
@@ -52828,11 +52857,17 @@ module Aws::EC2
52828
52857
  #
52829
52858
  # @!attribute [rw] client_token
52830
52859
  # Unique, case-sensitive identifier you provide to ensure the
52831
- # idempotency of the request. For more information, see [Ensuring
52832
- # idempotency in Amazon EC2 API requests][1].
52860
+ # idempotency of the request. If a client token isn't specified, a
52861
+ # randomly generated token is used in the request to ensure
52862
+ # idempotency.
52863
+ #
52864
+ # For more information, see [Ensuring idempotency][1].
52833
52865
  #
52834
52866
  # Constraint: Maximum 128 ASCII characters.
52835
52867
  #
52868
+ # **A suitable default value is auto-generated.** You should normally
52869
+ # not need to pass this option.
52870
+ #
52836
52871
  #
52837
52872
  #
52838
52873
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
@@ -57585,11 +57620,11 @@ module Aws::EC2
57585
57620
  include Aws::Structure
57586
57621
  end
57587
57622
 
57588
- # Describes whether the resource is managed by a service provider and,
57623
+ # Describes whether the resource is managed by an service provider and,
57589
57624
  # if so, describes the service provider that manages it.
57590
57625
  #
57591
57626
  # @!attribute [rw] managed
57592
- # If `true`, the resource is managed by a service provider.
57627
+ # If `true`, the resource is managed by an service provider.
57593
57628
  # @return [Boolean]
57594
57629
  #
57595
57630
  # @!attribute [rw] principal
data/lib/aws-sdk-ec2.rb CHANGED
@@ -78,7 +78,7 @@ module Aws::EC2
78
78
  autoload :VpcPeeringConnection, 'aws-sdk-ec2/vpc_peering_connection'
79
79
  autoload :VpcAddress, 'aws-sdk-ec2/vpc_address'
80
80
 
81
- GEM_VERSION = '1.511.0'
81
+ GEM_VERSION = '1.512.0'
82
82
 
83
83
  end
84
84
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.511.0
4
+ version: 1.512.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-03-11 00:00:00.000000000 Z
11
+ date: 2025-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core