aws-sdk-ec2 1.148.0 → 1.149.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
  SHA1:
3
- metadata.gz: e237ddc45d0c86c27022eeeae77550c1788ae6a6
4
- data.tar.gz: 7a273302f0d94dd55ce77338f5ed6603d348422e
3
+ metadata.gz: 0e0f401cd3f47f8c4573a8bf8f2f312c8503e731
4
+ data.tar.gz: bfd5ee8b88d8e85da532972c86dfcedb83e41095
5
5
  SHA512:
6
- metadata.gz: b72f69423c2a6c379d3005846530e8e6e31a549672d01780093d1791902aa0703630292a701b779a07795fe188975b9e0930c1aee973d4a9c028c5b3b4104db2
7
- data.tar.gz: ec5fdf56b502b9dc7676050e953b86b8509314f8f6bc118ce49c741d8547f043c0d9bf4c74886b7507a1442d8b3eee89b41704cfc80e7cdf25d4e21f1791520a
6
+ metadata.gz: fa5f8afe570184a5883496184d5c900ce6a74fb4237e7ecaf0ef661aaed878a374dfdbc3f02b885fa9ca0a8f1985b1ff31943f44bd9f25cec25aa06eaddf510f
7
+ data.tar.gz: c9d79d821fba79eea23a01c7443d2ac1fb2b9a5205374ad847319e1f6d694ef923d3338920474a1b778822cb71bd80e5502f0f9387b4594d5d838e56f25a267f
@@ -69,6 +69,6 @@ require_relative 'aws-sdk-ec2/customizations'
69
69
  # @service
70
70
  module Aws::EC2
71
71
 
72
- GEM_VERSION = '1.148.0'
72
+ GEM_VERSION = '1.149.0'
73
73
 
74
74
  end
@@ -32,14 +32,16 @@ require 'aws-sdk-ec2/plugins/region_validation.rb'
32
32
  Aws::Plugins::GlobalConfiguration.add_identifier(:ec2)
33
33
 
34
34
  module Aws::EC2
35
- # An API client for EC2. To construct a client, you need to configure a +:region+ and +:credentials+.
36
- # client = Aws::EC2::Client.new(
37
- # region: region_name,
38
- # credentials: credentials,
39
- # # ...
40
- # )
35
+ # An API client for EC2. To construct a client, you need to configure a `:region` and `:credentials`.
36
+ #
37
+ # client = Aws::EC2::Client.new(
38
+ # region: region_name,
39
+ # credentials: credentials,
40
+ # # ...
41
+ # )
42
+ #
41
43
  # For details on configuring region and credentials see
42
- # the {developer-guide}[https://docs.aws.amazon.com/sdk-for-ruby/v3/developer-guide/setup-config.html].
44
+ # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
43
45
  #
44
46
  # See {#initialize} for a full list of supported configuration options.
45
47
  class Client < Seahorse::Client::Base
@@ -122,6 +124,12 @@ module Aws::EC2
122
124
  # When set to `true`, a thread polling for endpoints will be running in
123
125
  # the background every 60 secs (default). Defaults to `false`.
124
126
  #
127
+ # @option options [Boolean] :adaptive_retry_wait_to_fill (true)
128
+ # Used only in `adaptive` retry mode. When true, the request will sleep
129
+ # until there is sufficent client side capacity to retry the request.
130
+ # When false, the request will raise a `RetryCapacityNotAvailableError` and will
131
+ # not retry instead of sleeping.
132
+ #
125
133
  # @option options [Boolean] :client_side_monitoring (false)
126
134
  # When `true`, client-side metrics will be collected for all API requests from
127
135
  # this client.
@@ -146,6 +154,10 @@ module Aws::EC2
146
154
  # When `true`, an attempt is made to coerce request parameters into
147
155
  # the required types.
148
156
  #
157
+ # @option options [Boolean] :correct_clock_skew (true)
158
+ # Used only in `standard` and adaptive retry modes. Specifies whether to apply
159
+ # a clock skew correction and retry requests with skewed client clocks.
160
+ #
149
161
  # @option options [Boolean] :disable_host_prefix_injection (false)
150
162
  # Set to true to disable SDK automatically adding host prefix
151
163
  # to default service endpoint when available.
@@ -180,15 +192,29 @@ module Aws::EC2
180
192
  # The Logger instance to send log messages to. If this option
181
193
  # is not set, logging will be disabled.
182
194
  #
195
+ # @option options [Integer] :max_attempts (3)
196
+ # An integer representing the maximum number attempts that will be made for
197
+ # a single request, including the initial attempt. For example,
198
+ # setting this value to 5 will result in a request being retried up to
199
+ # 4 times. Used in `standard` and `adaptive` retry modes.
200
+ #
183
201
  # @option options [String] :profile ("default")
184
202
  # Used when loading credentials from the shared credentials file
185
203
  # at HOME/.aws/credentials. When not specified, 'default' is used.
186
204
  #
205
+ # @option options [Proc] :retry_backoff
206
+ # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
207
+ # This option is only used in the `legacy` retry mode.
208
+ #
187
209
  # @option options [Float] :retry_base_delay (0.3)
188
- # The base delay in seconds used by the default backoff function.
210
+ # The base delay in seconds used by the default backoff function. This option
211
+ # is only used in the `legacy` retry mode.
189
212
  #
190
213
  # @option options [Symbol] :retry_jitter (:none)
191
- # A delay randomiser function used by the default backoff function. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number.
214
+ # A delay randomiser function used by the default backoff function.
215
+ # Some predefined functions can be referenced by name - :none, :equal, :full,
216
+ # otherwise a Proc that takes and returns a number. This option is only used
217
+ # in the `legacy` retry mode.
192
218
  #
193
219
  # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
194
220
  #
@@ -196,11 +222,26 @@ module Aws::EC2
196
222
  # The maximum number of times to retry failed requests. Only
197
223
  # ~ 500 level server errors and certain ~ 400 level client errors
198
224
  # are retried. Generally, these are throttling errors, data
199
- # checksum errors, networking errors, timeout errors and auth
200
- # errors from expired credentials.
225
+ # checksum errors, networking errors, timeout errors, auth errors,
226
+ # endpoint discovery, and errors from expired credentials.
227
+ # This option is only used in the `legacy` retry mode.
201
228
  #
202
229
  # @option options [Integer] :retry_max_delay (0)
203
- # The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
230
+ # The maximum number of seconds to delay between retries (0 for no limit)
231
+ # used by the default backoff function. This option is only used in the
232
+ # `legacy` retry mode.
233
+ #
234
+ # @option options [String] :retry_mode ("legacy")
235
+ # Specifies which retry algorithm to use. Values are:
236
+ # * `legacy` - The pre-existing retry behavior. This is default value if
237
+ # no retry mode is provided.
238
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
239
+ # This includes support for retry quotas, which limit the number of
240
+ # unsuccessful retries a client can make.
241
+ # * `adaptive` - An experimental retry mode that includes all the
242
+ # functionality of `standard` mode along with automatic client side
243
+ # throttling. This is a provisional mode that may change behavior
244
+ # in the future.
204
245
  #
205
246
  # @option options [String] :secret_access_key
206
247
  #
@@ -5855,13 +5896,25 @@ module Aws::EC2
5855
5896
  #
5856
5897
  # Constraint: Maximum 64 ASCII characters.
5857
5898
  #
5899
+ # **A suitable default value is auto-generated.** You should normally
5900
+ # not need to pass this option.**
5901
+ #
5858
5902
  #
5859
5903
  #
5860
5904
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
5861
5905
  #
5906
+ # @option params [Boolean] :dry_run
5907
+ # Checks whether you have the required permissions for the action,
5908
+ # without actually making the request, and provides an error response.
5909
+ # If you have the required permissions, the error response is
5910
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
5911
+ #
5862
5912
  # @option params [required, String] :subnet_id
5863
5913
  # The subnet in which to create the NAT gateway.
5864
5914
  #
5915
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
5916
+ # The tags to assign to the NAT gateway.
5917
+ #
5865
5918
  # @return [Types::CreateNatGatewayResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5866
5919
  #
5867
5920
  # * {Types::CreateNatGatewayResult#client_token #client_token} => String
@@ -5899,7 +5952,19 @@ module Aws::EC2
5899
5952
  # resp = client.create_nat_gateway({
5900
5953
  # allocation_id: "AllocationId", # required
5901
5954
  # client_token: "String",
5955
+ # dry_run: false,
5902
5956
  # subnet_id: "SubnetId", # required
5957
+ # tag_specifications: [
5958
+ # {
5959
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5960
+ # tags: [
5961
+ # {
5962
+ # key: "String",
5963
+ # value: "String",
5964
+ # },
5965
+ # ],
5966
+ # },
5967
+ # ],
5903
5968
  # })
5904
5969
  #
5905
5970
  # @example Response structure
@@ -10122,6 +10187,12 @@ module Aws::EC2
10122
10187
  # from your account. Deleting a NAT gateway does not delete any NAT
10123
10188
  # gateway routes in your route tables.
10124
10189
  #
10190
+ # @option params [Boolean] :dry_run
10191
+ # Checks whether you have the required permissions for the action,
10192
+ # without actually making the request, and provides an error response.
10193
+ # If you have the required permissions, the error response is
10194
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
10195
+ #
10125
10196
  # @option params [required, String] :nat_gateway_id
10126
10197
  # The ID of the NAT gateway.
10127
10198
  #
@@ -10146,6 +10217,7 @@ module Aws::EC2
10146
10217
  # @example Request syntax with placeholder values
10147
10218
  #
10148
10219
  # resp = client.delete_nat_gateway({
10220
+ # dry_run: false,
10149
10221
  # nat_gateway_id: "NatGatewayId", # required
10150
10222
  # })
10151
10223
  #
@@ -17620,6 +17692,12 @@ module Aws::EC2
17620
17692
 
17621
17693
  # Describes one or more of your NAT gateways.
17622
17694
  #
17695
+ # @option params [Boolean] :dry_run
17696
+ # Checks whether you have the required permissions for the action,
17697
+ # without actually making the request, and provides an error response.
17698
+ # If you have the required permissions, the error response is
17699
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
17700
+ #
17623
17701
  # @option params [Array<Types::Filter>] :filter
17624
17702
  # One or more filters.
17625
17703
  #
@@ -17698,6 +17776,7 @@ module Aws::EC2
17698
17776
  # @example Request syntax with placeholder values
17699
17777
  #
17700
17778
  # resp = client.describe_nat_gateways({
17779
+ # dry_run: false,
17701
17780
  # filter: [
17702
17781
  # {
17703
17782
  # name: "String",
@@ -36130,7 +36209,7 @@ module Aws::EC2
36130
36209
  params: params,
36131
36210
  config: config)
36132
36211
  context[:gem_name] = 'aws-sdk-ec2'
36133
- context[:gem_version] = '1.148.0'
36212
+ context[:gem_version] = '1.149.0'
36134
36213
  Seahorse::Client::Request.new(handlers, context)
36135
36214
  end
36136
36215
 
@@ -3001,8 +3001,10 @@ module Aws::EC2
3001
3001
  CreateLocalGatewayRouteTableVpcAssociationResult.struct_class = Types::CreateLocalGatewayRouteTableVpcAssociationResult
3002
3002
 
3003
3003
  CreateNatGatewayRequest.add_member(:allocation_id, Shapes::ShapeRef.new(shape: AllocationId, required: true, location_name: "AllocationId"))
3004
- CreateNatGatewayRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken"))
3004
+ CreateNatGatewayRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
3005
+ CreateNatGatewayRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
3005
3006
  CreateNatGatewayRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "SubnetId"))
3007
+ CreateNatGatewayRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
3006
3008
  CreateNatGatewayRequest.struct_class = Types::CreateNatGatewayRequest
3007
3009
 
3008
3010
  CreateNatGatewayResult.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
@@ -3516,6 +3518,7 @@ module Aws::EC2
3516
3518
  DeleteLocalGatewayRouteTableVpcAssociationResult.add_member(:local_gateway_route_table_vpc_association, Shapes::ShapeRef.new(shape: LocalGatewayRouteTableVpcAssociation, location_name: "localGatewayRouteTableVpcAssociation"))
3517
3519
  DeleteLocalGatewayRouteTableVpcAssociationResult.struct_class = Types::DeleteLocalGatewayRouteTableVpcAssociationResult
3518
3520
 
3521
+ DeleteNatGatewayRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
3519
3522
  DeleteNatGatewayRequest.add_member(:nat_gateway_id, Shapes::ShapeRef.new(shape: NatGatewayId, required: true, location_name: "NatGatewayId"))
3520
3523
  DeleteNatGatewayRequest.struct_class = Types::DeleteNatGatewayRequest
3521
3524
 
@@ -4348,6 +4351,7 @@ module Aws::EC2
4348
4351
  DescribeMovingAddressesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
4349
4352
  DescribeMovingAddressesResult.struct_class = Types::DescribeMovingAddressesResult
4350
4353
 
4354
+ DescribeNatGatewaysRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
4351
4355
  DescribeNatGatewaysRequest.add_member(:filter, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
4352
4356
  DescribeNatGatewaysRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeNatGatewaysMaxResults, location_name: "MaxResults"))
4353
4357
  DescribeNatGatewaysRequest.add_member(:nat_gateway_ids, Shapes::ShapeRef.new(shape: NatGatewayIdStringList, location_name: "NatGatewayId"))
@@ -11,25 +11,21 @@ module Aws::EC2
11
11
  # These errors all extend Aws::EC2::Errors::ServiceError < {Aws::Errors::ServiceError}
12
12
  #
13
13
  # You can rescue all EC2 errors using ServiceError:
14
+ #
14
15
  # begin
15
16
  # # do stuff
16
17
  # rescue Aws::EC2::Errors::ServiceError
17
18
  # # rescues all EC2 API errors
18
19
  # end
19
20
  #
21
+ #
20
22
  # ## Request Context
21
23
  # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
22
- # information about the request that generated the error, including:
23
- # *
24
- # * #params - The request params
25
- # * #operation_name - Name of the API operation invoked
26
- # * #http_request
27
- # * #http_response
28
- # * etc ...
29
- #
24
+ # information about the request that generated the error.
30
25
  # See {Seahorse::Client::RequestContext} for more information.
31
26
  #
32
27
  # ## Error Classes
28
+ #
33
29
  # Additionally, error classes are dynamically generated for service errors based on the error code
34
30
  # if they are not defined above.
35
31
  module Errors
@@ -354,8 +354,15 @@ module Aws::EC2
354
354
 
355
355
  # @example Request syntax with placeholder values
356
356
  #
357
- # nat_gateway.delete()
357
+ # nat_gateway.delete({
358
+ # dry_run: false,
359
+ # })
358
360
  # @param [Hash] options ({})
361
+ # @option options [Boolean] :dry_run
362
+ # Checks whether you have the required permissions for the action,
363
+ # without actually making the request, and provides an error response.
364
+ # If you have the required permissions, the error response is
365
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
359
366
  # @return [Types::DeleteNatGatewayResult]
360
367
  def delete(options = {})
361
368
  options = options.merge(nat_gateway_id: @id)
@@ -550,7 +550,19 @@ module Aws::EC2
550
550
  # natgateway = ec2.create_nat_gateway({
551
551
  # allocation_id: "AllocationId", # required
552
552
  # client_token: "String",
553
+ # dry_run: false,
553
554
  # subnet_id: "SubnetId", # required
555
+ # tag_specifications: [
556
+ # {
557
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
558
+ # tags: [
559
+ # {
560
+ # key: "String",
561
+ # value: "String",
562
+ # },
563
+ # ],
564
+ # },
565
+ # ],
554
566
  # })
555
567
  # @param [Hash] options ({})
556
568
  # @option options [required, String] :allocation_id
@@ -567,8 +579,15 @@ module Aws::EC2
567
579
  #
568
580
  #
569
581
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
582
+ # @option options [Boolean] :dry_run
583
+ # Checks whether you have the required permissions for the action,
584
+ # without actually making the request, and provides an error response.
585
+ # If you have the required permissions, the error response is
586
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
570
587
  # @option options [required, String] :subnet_id
571
588
  # The subnet in which to create the NAT gateway.
589
+ # @option options [Array<Types::TagSpecification>] :tag_specifications
590
+ # The tags to assign to the NAT gateway.
572
591
  # @return [NatGateway]
573
592
  def create_nat_gateway(options = {})
574
593
  resp = @client.create_nat_gateway(options)
@@ -2103,6 +2122,7 @@ module Aws::EC2
2103
2122
  # @example Request syntax with placeholder values
2104
2123
  #
2105
2124
  # nat_gateways = ec2.nat_gateways({
2125
+ # dry_run: false,
2106
2126
  # filter: [
2107
2127
  # {
2108
2128
  # name: "String",
@@ -2112,6 +2132,11 @@ module Aws::EC2
2112
2132
  # nat_gateway_ids: ["NatGatewayId"],
2113
2133
  # })
2114
2134
  # @param [Hash] options ({})
2135
+ # @option options [Boolean] :dry_run
2136
+ # Checks whether you have the required permissions for the action,
2137
+ # without actually making the request, and provides an error response.
2138
+ # If you have the required permissions, the error response is
2139
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
2115
2140
  # @option options [Array<Types::Filter>] :filter
2116
2141
  # One or more filters.
2117
2142
  #
@@ -1197,6 +1197,7 @@ module Aws::EC2
1197
1197
  # @example Request syntax with placeholder values
1198
1198
  #
1199
1199
  # nat_gateways = subnet.nat_gateways({
1200
+ # dry_run: false,
1200
1201
  # filter: [
1201
1202
  # {
1202
1203
  # name: "String",
@@ -1206,6 +1207,11 @@ module Aws::EC2
1206
1207
  # nat_gateway_ids: ["NatGatewayId"],
1207
1208
  # })
1208
1209
  # @param [Hash] options ({})
1210
+ # @option options [Boolean] :dry_run
1211
+ # Checks whether you have the required permissions for the action,
1212
+ # without actually making the request, and provides an error response.
1213
+ # If you have the required permissions, the error response is
1214
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
1209
1215
  # @option options [Array<Types::Filter>] :filter
1210
1216
  # One or more filters.
1211
1217
  #
@@ -6424,7 +6424,19 @@ module Aws::EC2
6424
6424
  # {
6425
6425
  # allocation_id: "AllocationId", # required
6426
6426
  # client_token: "String",
6427
+ # dry_run: false,
6427
6428
  # subnet_id: "SubnetId", # required
6429
+ # tag_specifications: [
6430
+ # {
6431
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
6432
+ # tags: [
6433
+ # {
6434
+ # key: "String",
6435
+ # value: "String",
6436
+ # },
6437
+ # ],
6438
+ # },
6439
+ # ],
6428
6440
  # }
6429
6441
  #
6430
6442
  # @!attribute [rw] allocation_id
@@ -6440,21 +6452,37 @@ module Aws::EC2
6440
6452
  #
6441
6453
  # Constraint: Maximum 64 ASCII characters.
6442
6454
  #
6455
+ # **A suitable default value is auto-generated.** You should normally
6456
+ # not need to pass this option.
6457
+ #
6443
6458
  #
6444
6459
  #
6445
6460
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
6446
6461
  # @return [String]
6447
6462
  #
6463
+ # @!attribute [rw] dry_run
6464
+ # Checks whether you have the required permissions for the action,
6465
+ # without actually making the request, and provides an error response.
6466
+ # If you have the required permissions, the error response is
6467
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
6468
+ # @return [Boolean]
6469
+ #
6448
6470
  # @!attribute [rw] subnet_id
6449
6471
  # The subnet in which to create the NAT gateway.
6450
6472
  # @return [String]
6451
6473
  #
6474
+ # @!attribute [rw] tag_specifications
6475
+ # The tags to assign to the NAT gateway.
6476
+ # @return [Array<Types::TagSpecification>]
6477
+ #
6452
6478
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNatGatewayRequest AWS API Documentation
6453
6479
  #
6454
6480
  class CreateNatGatewayRequest < Struct.new(
6455
6481
  :allocation_id,
6456
6482
  :client_token,
6457
- :subnet_id)
6483
+ :dry_run,
6484
+ :subnet_id,
6485
+ :tag_specifications)
6458
6486
  include Aws::Structure
6459
6487
  end
6460
6488
 
@@ -9905,9 +9933,17 @@ module Aws::EC2
9905
9933
  # data as a hash:
9906
9934
  #
9907
9935
  # {
9936
+ # dry_run: false,
9908
9937
  # nat_gateway_id: "NatGatewayId", # required
9909
9938
  # }
9910
9939
  #
9940
+ # @!attribute [rw] dry_run
9941
+ # Checks whether you have the required permissions for the action,
9942
+ # without actually making the request, and provides an error response.
9943
+ # If you have the required permissions, the error response is
9944
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
9945
+ # @return [Boolean]
9946
+ #
9911
9947
  # @!attribute [rw] nat_gateway_id
9912
9948
  # The ID of the NAT gateway.
9913
9949
  # @return [String]
@@ -9915,6 +9951,7 @@ module Aws::EC2
9915
9951
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNatGatewayRequest AWS API Documentation
9916
9952
  #
9917
9953
  class DeleteNatGatewayRequest < Struct.new(
9954
+ :dry_run,
9918
9955
  :nat_gateway_id)
9919
9956
  include Aws::Structure
9920
9957
  end
@@ -15968,6 +16005,7 @@ module Aws::EC2
15968
16005
  # data as a hash:
15969
16006
  #
15970
16007
  # {
16008
+ # dry_run: false,
15971
16009
  # filter: [
15972
16010
  # {
15973
16011
  # name: "String",
@@ -15979,6 +16017,13 @@ module Aws::EC2
15979
16017
  # next_token: "String",
15980
16018
  # }
15981
16019
  #
16020
+ # @!attribute [rw] dry_run
16021
+ # Checks whether you have the required permissions for the action,
16022
+ # without actually making the request, and provides an error response.
16023
+ # If you have the required permissions, the error response is
16024
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
16025
+ # @return [Boolean]
16026
+ #
15982
16027
  # @!attribute [rw] filter
15983
16028
  # One or more filters.
15984
16029
  #
@@ -16020,6 +16065,7 @@ module Aws::EC2
16020
16065
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNatGatewaysRequest AWS API Documentation
16021
16066
  #
16022
16067
  class DescribeNatGatewaysRequest < Struct.new(
16068
+ :dry_run,
16023
16069
  :filter,
16024
16070
  :max_results,
16025
16071
  :nat_gateway_ids,
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.148.0
4
+ version: 1.149.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: 2020-03-06 00:00:00.000000000 Z
11
+ date: 2020-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4