aws-sdk-ec2 1.434.0 → 1.435.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 46192bc7624b39568e1e3de8fc71a7d4321153d6bf9c6ccf1cae5c01640276b2
4
- data.tar.gz: 65ef071dab5fa1d41648a974b0e81fb390345c5c2c381c53c7f94aea26985ced
3
+ metadata.gz: 779cb599a401a68a04d0efc084653d51f4bf831dd1a79f5006db87d471282c95
4
+ data.tar.gz: 212feb1096c416c7d69c20f8ee5e3159b96f02a4e5eca70f37cdc4878c854ba4
5
5
  SHA512:
6
- metadata.gz: 4d5f12d7243f39947467a452ce9ab180b546f162a6f03a4e5e5c04d1aa84b3e65817cabe019043fea7b605612f1799fc9c900d298d50b978685e4dcc3f11a80e
7
- data.tar.gz: 6133f74bb0b3aa715bd680992635e238512829c1c16aa295a04cc009eb4a4bfffd549db463cd93a8f484bae7176fa2f7d79d4760dd95ffece20d9191da354752
6
+ metadata.gz: cc3acf3987875ca91fbf3f566f4379b6299928f39e8ff182005b3825448c47a57098f10b72ac4bcefe2c43d4c33b8a13837b27e5919a1caead2256691cc19cef
7
+ data.tar.gz: f202f5ec12614a589c8ad76f0651e333af51bc2cc2847dab6f5128df97ecc628a8bbe90f36a0265fcf597344baac1d61a9769b85824479c0f4228a3f634aecab
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.435.0 (2024-01-24)
5
+ ------------------
6
+
7
+ * Feature - Introduced a new clientToken request parameter on CreateNetworkAcl and CreateRouteTable APIs. The clientToken parameter allows idempotent operations on the APIs.
8
+
4
9
  1.434.0 (2024-01-22)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.434.0
1
+ 1.435.0
@@ -5892,7 +5892,7 @@ module Aws::EC2
5892
5892
  # resp.subnet.map_public_ip_on_launch #=> Boolean
5893
5893
  # resp.subnet.map_customer_owned_ip_on_launch #=> Boolean
5894
5894
  # resp.subnet.customer_owned_ipv_4_pool #=> String
5895
- # resp.subnet.state #=> String, one of "pending", "available"
5895
+ # resp.subnet.state #=> String, one of "pending", "available", "unavailable"
5896
5896
  # resp.subnet.subnet_id #=> String
5897
5897
  # resp.subnet.vpc_id #=> String
5898
5898
  # resp.subnet.owner_id #=> String
@@ -6140,7 +6140,7 @@ module Aws::EC2
6140
6140
  #
6141
6141
  # @option params [String] :client_token
6142
6142
  # Unique, case-sensitive identifier that you provide to ensure the
6143
- # idempotency of the request. For more information, see [How to ensure
6143
+ # idempotency of the request. For more information, see [Ensuring
6144
6144
  # idempotency][1].
6145
6145
  #
6146
6146
  #
@@ -9398,7 +9398,7 @@ module Aws::EC2
9398
9398
  #
9399
9399
  # @option params [String] :client_token
9400
9400
  # Unique, case-sensitive identifier that you provide to ensure the
9401
- # idempotency of the request. For more information, see [How to ensure
9401
+ # idempotency of the request. For more information, see [Ensuring
9402
9402
  # idempotency][1].
9403
9403
  #
9404
9404
  # Constraint: Maximum 64 ASCII characters.
@@ -9577,9 +9577,22 @@ module Aws::EC2
9577
9577
  # @option params [Array<Types::TagSpecification>] :tag_specifications
9578
9578
  # The tags to assign to the network ACL.
9579
9579
  #
9580
+ # @option params [String] :client_token
9581
+ # Unique, case-sensitive identifier that you provide to ensure the
9582
+ # idempotency of the request. For more information, see [Ensuring
9583
+ # idempotency][1].
9584
+ #
9585
+ # **A suitable default value is auto-generated.** You should normally
9586
+ # not need to pass this option.**
9587
+ #
9588
+ #
9589
+ #
9590
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
9591
+ #
9580
9592
  # @return [Types::CreateNetworkAclResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9581
9593
  #
9582
9594
  # * {Types::CreateNetworkAclResult#network_acl #network_acl} => Types::NetworkAcl
9595
+ # * {Types::CreateNetworkAclResult#client_token #client_token} => String
9583
9596
  #
9584
9597
  #
9585
9598
  # @example Example: To create a network ACL
@@ -9635,6 +9648,7 @@ module Aws::EC2
9635
9648
  # ],
9636
9649
  # },
9637
9650
  # ],
9651
+ # client_token: "String",
9638
9652
  # })
9639
9653
  #
9640
9654
  # @example Response structure
@@ -9661,6 +9675,7 @@ module Aws::EC2
9661
9675
  # resp.network_acl.tags[0].value #=> String
9662
9676
  # resp.network_acl.vpc_id #=> String
9663
9677
  # resp.network_acl.owner_id #=> String
9678
+ # resp.client_token #=> String
9664
9679
  #
9665
9680
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkAcl AWS API Documentation
9666
9681
  #
@@ -11202,9 +11217,22 @@ module Aws::EC2
11202
11217
  # @option params [Array<Types::TagSpecification>] :tag_specifications
11203
11218
  # The tags to assign to the route table.
11204
11219
  #
11220
+ # @option params [String] :client_token
11221
+ # Unique, case-sensitive identifier that you provide to ensure the
11222
+ # idempotency of the request. For more information, see [Ensuring
11223
+ # idempotency][1].
11224
+ #
11225
+ # **A suitable default value is auto-generated.** You should normally
11226
+ # not need to pass this option.**
11227
+ #
11228
+ #
11229
+ #
11230
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
11231
+ #
11205
11232
  # @return [Types::CreateRouteTableResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
11206
11233
  #
11207
11234
  # * {Types::CreateRouteTableResult#route_table #route_table} => Types::RouteTable
11235
+ # * {Types::CreateRouteTableResult#client_token #client_token} => String
11208
11236
  #
11209
11237
  #
11210
11238
  # @example Example: To create a route table
@@ -11252,6 +11280,7 @@ module Aws::EC2
11252
11280
  # ],
11253
11281
  # },
11254
11282
  # ],
11283
+ # client_token: "String",
11255
11284
  # })
11256
11285
  #
11257
11286
  # @example Response structure
@@ -11289,6 +11318,7 @@ module Aws::EC2
11289
11318
  # resp.route_table.tags[0].value #=> String
11290
11319
  # resp.route_table.vpc_id #=> String
11291
11320
  # resp.route_table.owner_id #=> String
11321
+ # resp.client_token #=> String
11292
11322
  #
11293
11323
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRouteTable AWS API Documentation
11294
11324
  #
@@ -12017,7 +12047,7 @@ module Aws::EC2
12017
12047
  # resp.subnet.map_public_ip_on_launch #=> Boolean
12018
12048
  # resp.subnet.map_customer_owned_ip_on_launch #=> Boolean
12019
12049
  # resp.subnet.customer_owned_ipv_4_pool #=> String
12020
- # resp.subnet.state #=> String, one of "pending", "available"
12050
+ # resp.subnet.state #=> String, one of "pending", "available", "unavailable"
12021
12051
  # resp.subnet.subnet_id #=> String
12022
12052
  # resp.subnet.vpc_id #=> String
12023
12053
  # resp.subnet.owner_id #=> String
@@ -19901,7 +19931,7 @@ module Aws::EC2
19901
19931
  # @example Response structure
19902
19932
  #
19903
19933
  # resp.availability_zones #=> Array
19904
- # resp.availability_zones[0].state #=> String, one of "available", "information", "impaired", "unavailable"
19934
+ # resp.availability_zones[0].state #=> String, one of "available", "information", "impaired", "unavailable", "constrained"
19905
19935
  # resp.availability_zones[0].opt_in_status #=> String, one of "opt-in-not-required", "opted-in", "not-opted-in"
19906
19936
  # resp.availability_zones[0].messages #=> Array
19907
19937
  # resp.availability_zones[0].messages[0].message #=> String
@@ -33701,7 +33731,7 @@ module Aws::EC2
33701
33731
  # resp.subnets[0].map_public_ip_on_launch #=> Boolean
33702
33732
  # resp.subnets[0].map_customer_owned_ip_on_launch #=> Boolean
33703
33733
  # resp.subnets[0].customer_owned_ipv_4_pool #=> String
33704
- # resp.subnets[0].state #=> String, one of "pending", "available"
33734
+ # resp.subnets[0].state #=> String, one of "pending", "available", "unavailable"
33705
33735
  # resp.subnets[0].subnet_id #=> String
33706
33736
  # resp.subnets[0].vpc_id #=> String
33707
33737
  # resp.subnets[0].owner_id #=> String
@@ -58727,7 +58757,7 @@ module Aws::EC2
58727
58757
  params: params,
58728
58758
  config: config)
58729
58759
  context[:gem_name] = 'aws-sdk-ec2'
58730
- context[:gem_version] = '1.434.0'
58760
+ context[:gem_version] = '1.435.0'
58731
58761
  Seahorse::Client::Request.new(handlers, context)
58732
58762
  end
58733
58763
 
@@ -4898,9 +4898,11 @@ module Aws::EC2
4898
4898
  CreateNetworkAclRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
4899
4899
  CreateNetworkAclRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "vpcId"))
4900
4900
  CreateNetworkAclRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
4901
+ CreateNetworkAclRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
4901
4902
  CreateNetworkAclRequest.struct_class = Types::CreateNetworkAclRequest
4902
4903
 
4903
4904
  CreateNetworkAclResult.add_member(:network_acl, Shapes::ShapeRef.new(shape: NetworkAcl, location_name: "networkAcl"))
4905
+ CreateNetworkAclResult.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
4904
4906
  CreateNetworkAclResult.struct_class = Types::CreateNetworkAclResult
4905
4907
 
4906
4908
  CreateNetworkInsightsAccessScopeRequest.add_member(:match_paths, Shapes::ShapeRef.new(shape: AccessScopePathListRequest, location_name: "MatchPath"))
@@ -5037,9 +5039,11 @@ module Aws::EC2
5037
5039
  CreateRouteTableRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
5038
5040
  CreateRouteTableRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "vpcId"))
5039
5041
  CreateRouteTableRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
5042
+ CreateRouteTableRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
5040
5043
  CreateRouteTableRequest.struct_class = Types::CreateRouteTableRequest
5041
5044
 
5042
5045
  CreateRouteTableResult.add_member(:route_table, Shapes::ShapeRef.new(shape: RouteTable, location_name: "routeTable"))
5046
+ CreateRouteTableResult.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
5043
5047
  CreateRouteTableResult.struct_class = Types::CreateRouteTableResult
5044
5048
 
5045
5049
  CreateSecurityGroupRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, required: true, location_name: "GroupDescription"))
@@ -766,7 +766,7 @@ module Aws::EC2
766
766
  # disassociate it.
767
767
  # @option options [String] :client_token
768
768
  # Unique, case-sensitive identifier that you provide to ensure the
769
- # idempotency of the request. For more information, see [How to ensure
769
+ # idempotency of the request. For more information, see [Ensuring
770
770
  # idempotency][1].
771
771
  #
772
772
  # Constraint: Maximum 64 ASCII characters.
@@ -842,6 +842,7 @@ module Aws::EC2
842
842
  # ],
843
843
  # },
844
844
  # ],
845
+ # client_token: "String",
845
846
  # })
846
847
  # @param [Hash] options ({})
847
848
  # @option options [Boolean] :dry_run
@@ -853,6 +854,14 @@ module Aws::EC2
853
854
  # The ID of the VPC.
854
855
  # @option options [Array<Types::TagSpecification>] :tag_specifications
855
856
  # The tags to assign to the network ACL.
857
+ # @option options [String] :client_token
858
+ # Unique, case-sensitive identifier that you provide to ensure the
859
+ # idempotency of the request. For more information, see [Ensuring
860
+ # idempotency][1].
861
+ #
862
+ #
863
+ #
864
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
856
865
  # @return [NetworkAcl]
857
866
  def create_network_acl(options = {})
858
867
  resp = Aws::Plugins::UserAgent.feature('resource') do
@@ -1111,6 +1120,7 @@ module Aws::EC2
1111
1120
  # ],
1112
1121
  # },
1113
1122
  # ],
1123
+ # client_token: "String",
1114
1124
  # })
1115
1125
  # @param [Hash] options ({})
1116
1126
  # @option options [Boolean] :dry_run
@@ -1122,6 +1132,14 @@ module Aws::EC2
1122
1132
  # The ID of the VPC.
1123
1133
  # @option options [Array<Types::TagSpecification>] :tag_specifications
1124
1134
  # The tags to assign to the route table.
1135
+ # @option options [String] :client_token
1136
+ # Unique, case-sensitive identifier that you provide to ensure the
1137
+ # idempotency of the request. For more information, see [Ensuring
1138
+ # idempotency][1].
1139
+ #
1140
+ #
1141
+ #
1142
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
1125
1143
  # @return [RouteTable]
1126
1144
  def create_route_table(options = {})
1127
1145
  resp = Aws::Plugins::UserAgent.feature('resource') do
@@ -7608,7 +7608,7 @@ module Aws::EC2
7608
7608
 
7609
7609
  # @!attribute [rw] client_token
7610
7610
  # Unique, case-sensitive identifier that you provide to ensure the
7611
- # idempotency of the request. For more information, see [How to ensure
7611
+ # idempotency of the request. For more information, see [Ensuring
7612
7612
  # idempotency][1].
7613
7613
  #
7614
7614
  #
@@ -9334,7 +9334,7 @@ module Aws::EC2
9334
9334
  #
9335
9335
  # @!attribute [rw] client_token
9336
9336
  # Unique, case-sensitive identifier that you provide to ensure the
9337
- # idempotency of the request. For more information, see [How to ensure
9337
+ # idempotency of the request. For more information, see [Ensuring
9338
9338
  # idempotency][1].
9339
9339
  #
9340
9340
  # Constraint: Maximum 64 ASCII characters.
@@ -9534,12 +9534,26 @@ module Aws::EC2
9534
9534
  # The tags to assign to the network ACL.
9535
9535
  # @return [Array<Types::TagSpecification>]
9536
9536
  #
9537
+ # @!attribute [rw] client_token
9538
+ # Unique, case-sensitive identifier that you provide to ensure the
9539
+ # idempotency of the request. For more information, see [Ensuring
9540
+ # idempotency][1].
9541
+ #
9542
+ # **A suitable default value is auto-generated.** You should normally
9543
+ # not need to pass this option.
9544
+ #
9545
+ #
9546
+ #
9547
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
9548
+ # @return [String]
9549
+ #
9537
9550
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkAclRequest AWS API Documentation
9538
9551
  #
9539
9552
  class CreateNetworkAclRequest < Struct.new(
9540
9553
  :dry_run,
9541
9554
  :vpc_id,
9542
- :tag_specifications)
9555
+ :tag_specifications,
9556
+ :client_token)
9543
9557
  SENSITIVE = []
9544
9558
  include Aws::Structure
9545
9559
  end
@@ -9548,10 +9562,17 @@ module Aws::EC2
9548
9562
  # Information about the network ACL.
9549
9563
  # @return [Types::NetworkAcl]
9550
9564
  #
9565
+ # @!attribute [rw] client_token
9566
+ # Unique, case-sensitive identifier to ensure the idempotency of the
9567
+ # request. Only returned if a client token was provided in the
9568
+ # request.
9569
+ # @return [String]
9570
+ #
9551
9571
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkAclResult AWS API Documentation
9552
9572
  #
9553
9573
  class CreateNetworkAclResult < Struct.new(
9554
- :network_acl)
9574
+ :network_acl,
9575
+ :client_token)
9555
9576
  SENSITIVE = []
9556
9577
  include Aws::Structure
9557
9578
  end
@@ -10369,12 +10390,26 @@ module Aws::EC2
10369
10390
  # The tags to assign to the route table.
10370
10391
  # @return [Array<Types::TagSpecification>]
10371
10392
  #
10393
+ # @!attribute [rw] client_token
10394
+ # Unique, case-sensitive identifier that you provide to ensure the
10395
+ # idempotency of the request. For more information, see [Ensuring
10396
+ # idempotency][1].
10397
+ #
10398
+ # **A suitable default value is auto-generated.** You should normally
10399
+ # not need to pass this option.
10400
+ #
10401
+ #
10402
+ #
10403
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
10404
+ # @return [String]
10405
+ #
10372
10406
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRouteTableRequest AWS API Documentation
10373
10407
  #
10374
10408
  class CreateRouteTableRequest < Struct.new(
10375
10409
  :dry_run,
10376
10410
  :vpc_id,
10377
- :tag_specifications)
10411
+ :tag_specifications,
10412
+ :client_token)
10378
10413
  SENSITIVE = []
10379
10414
  include Aws::Structure
10380
10415
  end
@@ -10383,10 +10418,17 @@ module Aws::EC2
10383
10418
  # Information about the route table.
10384
10419
  # @return [Types::RouteTable]
10385
10420
  #
10421
+ # @!attribute [rw] client_token
10422
+ # Unique, case-sensitive identifier to ensure the idempotency of the
10423
+ # request. Only returned if a client token was provided in the
10424
+ # request.
10425
+ # @return [String]
10426
+ #
10386
10427
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRouteTableResult AWS API Documentation
10387
10428
  #
10388
10429
  class CreateRouteTableResult < Struct.new(
10389
- :route_table)
10430
+ :route_table,
10431
+ :client_token)
10390
10432
  SENSITIVE = []
10391
10433
  include Aws::Structure
10392
10434
  end
@@ -368,6 +368,7 @@ module Aws::EC2
368
368
  # ],
369
369
  # },
370
370
  # ],
371
+ # client_token: "String",
371
372
  # })
372
373
  # @param [Hash] options ({})
373
374
  # @option options [Boolean] :dry_run
@@ -377,6 +378,14 @@ module Aws::EC2
377
378
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
378
379
  # @option options [Array<Types::TagSpecification>] :tag_specifications
379
380
  # The tags to assign to the network ACL.
381
+ # @option options [String] :client_token
382
+ # Unique, case-sensitive identifier that you provide to ensure the
383
+ # idempotency of the request. For more information, see [Ensuring
384
+ # idempotency][1].
385
+ #
386
+ #
387
+ #
388
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
380
389
  # @return [NetworkAcl]
381
390
  def create_network_acl(options = {})
382
391
  options = options.merge(vpc_id: @id)
@@ -405,6 +414,7 @@ module Aws::EC2
405
414
  # ],
406
415
  # },
407
416
  # ],
417
+ # client_token: "String",
408
418
  # })
409
419
  # @param [Hash] options ({})
410
420
  # @option options [Boolean] :dry_run
@@ -414,6 +424,14 @@ module Aws::EC2
414
424
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
415
425
  # @option options [Array<Types::TagSpecification>] :tag_specifications
416
426
  # The tags to assign to the route table.
427
+ # @option options [String] :client_token
428
+ # Unique, case-sensitive identifier that you provide to ensure the
429
+ # idempotency of the request. For more information, see [Ensuring
430
+ # idempotency][1].
431
+ #
432
+ #
433
+ #
434
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
417
435
  # @return [RouteTable]
418
436
  def create_route_table(options = {})
419
437
  options = options.merge(vpc_id: @id)
data/lib/aws-sdk-ec2.rb CHANGED
@@ -76,6 +76,6 @@ require_relative 'aws-sdk-ec2/customizations'
76
76
  # @!group service
77
77
  module Aws::EC2
78
78
 
79
- GEM_VERSION = '1.434.0'
79
+ GEM_VERSION = '1.435.0'
80
80
 
81
81
  end
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.434.0
4
+ version: 1.435.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: 2024-01-22 00:00:00.000000000 Z
11
+ date: 2024-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4