aws-sdk-ec2 1.144.0 → 1.149.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ec2.rb +7 -4
- data/lib/aws-sdk-ec2/classic_address.rb +1 -0
- data/lib/aws-sdk-ec2/client.rb +247 -55
- data/lib/aws-sdk-ec2/client_api.rb +117 -2
- data/lib/aws-sdk-ec2/dhcp_options.rb +1 -0
- data/lib/aws-sdk-ec2/errors.rb +22 -0
- data/lib/aws-sdk-ec2/image.rb +1 -0
- data/lib/aws-sdk-ec2/instance.rb +1 -0
- data/lib/aws-sdk-ec2/internet_gateway.rb +1 -0
- data/lib/aws-sdk-ec2/key_pair.rb +1 -0
- data/lib/aws-sdk-ec2/key_pair_info.rb +1 -0
- data/lib/aws-sdk-ec2/nat_gateway.rb +9 -1
- data/lib/aws-sdk-ec2/network_acl.rb +1 -0
- data/lib/aws-sdk-ec2/network_interface.rb +1 -0
- data/lib/aws-sdk-ec2/network_interface_association.rb +1 -0
- data/lib/aws-sdk-ec2/placement_group.rb +1 -0
- data/lib/aws-sdk-ec2/resource.rb +35 -3
- data/lib/aws-sdk-ec2/route.rb +1 -0
- data/lib/aws-sdk-ec2/route_table.rb +1 -0
- data/lib/aws-sdk-ec2/route_table_association.rb +1 -0
- data/lib/aws-sdk-ec2/security_group.rb +1 -0
- data/lib/aws-sdk-ec2/snapshot.rb +2 -1
- data/lib/aws-sdk-ec2/subnet.rb +8 -1
- data/lib/aws-sdk-ec2/tag.rb +1 -0
- data/lib/aws-sdk-ec2/types.rb +216 -43
- data/lib/aws-sdk-ec2/volume.rb +2 -1
- data/lib/aws-sdk-ec2/vpc.rb +1 -0
- data/lib/aws-sdk-ec2/vpc_address.rb +1 -0
- data/lib/aws-sdk-ec2/vpc_peering_connection.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e0f401cd3f47f8c4573a8bf8f2f312c8503e731
|
4
|
+
data.tar.gz: bfd5ee8b88d8e85da532972c86dfcedb83e41095
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa5f8afe570184a5883496184d5c900ce6a74fb4237e7ecaf0ef661aaed878a374dfdbc3f02b885fa9ca0a8f1985b1ff31943f44bd9f25cec25aa06eaddf510f
|
7
|
+
data.tar.gz: c9d79d821fba79eea23a01c7443d2ac1fb2b9a5205374ad847319e1f6d694ef923d3338920474a1b778822cb71bd80e5502f0f9387b4594d5d838e56f25a267f
|
data/lib/aws-sdk-ec2.rb
CHANGED
@@ -48,17 +48,20 @@ require_relative 'aws-sdk-ec2/customizations'
|
|
48
48
|
# methods each accept a hash of request parameters and return a response
|
49
49
|
# structure.
|
50
50
|
#
|
51
|
+
# ec2 = Aws::EC2::Client.new
|
52
|
+
# resp = ec2.accept_reserved_instances_exchange_quote(params)
|
53
|
+
#
|
51
54
|
# See {Client} for more information.
|
52
55
|
#
|
53
56
|
# # Errors
|
54
57
|
#
|
55
|
-
# Errors returned from Amazon Elastic Compute Cloud
|
56
|
-
# extend {Errors::ServiceError}.
|
58
|
+
# Errors returned from Amazon Elastic Compute Cloud are defined in the
|
59
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
57
60
|
#
|
58
61
|
# begin
|
59
62
|
# # do stuff
|
60
63
|
# rescue Aws::EC2::Errors::ServiceError
|
61
|
-
# # rescues all
|
64
|
+
# # rescues all Amazon Elastic Compute Cloud API errors
|
62
65
|
# end
|
63
66
|
#
|
64
67
|
# See {Errors} for more information.
|
@@ -66,6 +69,6 @@ require_relative 'aws-sdk-ec2/customizations'
|
|
66
69
|
# @service
|
67
70
|
module Aws::EC2
|
68
71
|
|
69
|
-
GEM_VERSION = '1.
|
72
|
+
GEM_VERSION = '1.149.0'
|
70
73
|
|
71
74
|
end
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -32,6 +32,18 @@ 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
|
+
#
|
37
|
+
# client = Aws::EC2::Client.new(
|
38
|
+
# region: region_name,
|
39
|
+
# credentials: credentials,
|
40
|
+
# # ...
|
41
|
+
# )
|
42
|
+
#
|
43
|
+
# For details on configuring region and credentials see
|
44
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
45
|
+
#
|
46
|
+
# See {#initialize} for a full list of supported configuration options.
|
35
47
|
class Client < Seahorse::Client::Base
|
36
48
|
|
37
49
|
include Aws::ClientStubs
|
@@ -112,6 +124,12 @@ module Aws::EC2
|
|
112
124
|
# When set to `true`, a thread polling for endpoints will be running in
|
113
125
|
# the background every 60 secs (default). Defaults to `false`.
|
114
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
|
+
#
|
115
133
|
# @option options [Boolean] :client_side_monitoring (false)
|
116
134
|
# When `true`, client-side metrics will be collected for all API requests from
|
117
135
|
# this client.
|
@@ -136,6 +154,10 @@ module Aws::EC2
|
|
136
154
|
# When `true`, an attempt is made to coerce request parameters into
|
137
155
|
# the required types.
|
138
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
|
+
#
|
139
161
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
140
162
|
# Set to true to disable SDK automatically adding host prefix
|
141
163
|
# to default service endpoint when available.
|
@@ -170,15 +192,29 @@ module Aws::EC2
|
|
170
192
|
# The Logger instance to send log messages to. If this option
|
171
193
|
# is not set, logging will be disabled.
|
172
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
|
+
#
|
173
201
|
# @option options [String] :profile ("default")
|
174
202
|
# Used when loading credentials from the shared credentials file
|
175
203
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
176
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
|
+
#
|
177
209
|
# @option options [Float] :retry_base_delay (0.3)
|
178
|
-
# 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.
|
179
212
|
#
|
180
213
|
# @option options [Symbol] :retry_jitter (:none)
|
181
|
-
# A delay randomiser function used by the default backoff function.
|
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.
|
182
218
|
#
|
183
219
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
184
220
|
#
|
@@ -186,11 +222,26 @@ module Aws::EC2
|
|
186
222
|
# The maximum number of times to retry failed requests. Only
|
187
223
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
188
224
|
# are retried. Generally, these are throttling errors, data
|
189
|
-
# checksum errors, networking errors, timeout errors
|
190
|
-
# 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.
|
191
228
|
#
|
192
229
|
# @option options [Integer] :retry_max_delay (0)
|
193
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
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.
|
194
245
|
#
|
195
246
|
# @option options [String] :secret_access_key
|
196
247
|
#
|
@@ -213,16 +264,16 @@ module Aws::EC2
|
|
213
264
|
# requests through. Formatted like 'http://proxy.com:123'.
|
214
265
|
#
|
215
266
|
# @option options [Float] :http_open_timeout (15) The number of
|
216
|
-
# seconds to wait when opening a HTTP session before
|
267
|
+
# seconds to wait when opening a HTTP session before raising a
|
217
268
|
# `Timeout::Error`.
|
218
269
|
#
|
219
270
|
# @option options [Integer] :http_read_timeout (60) The default
|
220
271
|
# number of seconds to wait for response data. This value can
|
221
272
|
# safely be set
|
222
|
-
# per-request on the session
|
273
|
+
# per-request on the session yielded by {#session_for}.
|
223
274
|
#
|
224
275
|
# @option options [Float] :http_idle_timeout (5) The number of
|
225
|
-
# seconds a connection is allowed to sit
|
276
|
+
# seconds a connection is allowed to sit idle before it is
|
226
277
|
# considered stale. Stale connections are closed and removed
|
227
278
|
# from the pool before making a request.
|
228
279
|
#
|
@@ -231,7 +282,7 @@ module Aws::EC2
|
|
231
282
|
# request body. This option has no effect unless the request has
|
232
283
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
233
284
|
# disables this behaviour. This value can safely be set per
|
234
|
-
# request on the session
|
285
|
+
# request on the session yielded by {#session_for}.
|
235
286
|
#
|
236
287
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
237
288
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -801,7 +852,7 @@ module Aws::EC2
|
|
801
852
|
# quantity: 1, # required
|
802
853
|
# tag_specifications: [
|
803
854
|
# {
|
804
|
-
# 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
|
855
|
+
# 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
|
805
856
|
# tags: [
|
806
857
|
# {
|
807
858
|
# key: "String",
|
@@ -1187,6 +1238,12 @@ module Aws::EC2
|
|
1187
1238
|
# subnet in each Availability Zone. We recommend that you associate at
|
1188
1239
|
# least two subnets to provide Availability Zone redundancy.
|
1189
1240
|
#
|
1241
|
+
# If you specified a VPC when you created the Client VPN endpoint or if
|
1242
|
+
# you have previous subnet associations, the specified subnet must be in
|
1243
|
+
# the same VPC. To specify a subnet that's in a different VPC, you must
|
1244
|
+
# first modify the Client VPN endpoint (ModifyClientVpnEndpoint) and
|
1245
|
+
# change the VPC that's associated with it.
|
1246
|
+
#
|
1190
1247
|
# @option params [required, String] :client_vpn_endpoint_id
|
1191
1248
|
# The ID of the Client VPN endpoint.
|
1192
1249
|
#
|
@@ -3389,7 +3446,7 @@ module Aws::EC2
|
|
3389
3446
|
# source_snapshot_id: "String", # required
|
3390
3447
|
# tag_specifications: [
|
3391
3448
|
# {
|
3392
|
-
# 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
|
3449
|
+
# 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
|
3393
3450
|
# tags: [
|
3394
3451
|
# {
|
3395
3452
|
# key: "String",
|
@@ -3577,7 +3634,7 @@ module Aws::EC2
|
|
3577
3634
|
# instance_match_criteria: "open", # accepts open, targeted
|
3578
3635
|
# tag_specifications: [
|
3579
3636
|
# {
|
3580
|
-
# 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
|
3637
|
+
# 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
|
3581
3638
|
# tags: [
|
3582
3639
|
# {
|
3583
3640
|
# key: "String",
|
@@ -3718,6 +3775,16 @@ module Aws::EC2
|
|
3718
3775
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
3719
3776
|
# The tags to apply to the Client VPN endpoint during creation.
|
3720
3777
|
#
|
3778
|
+
# @option params [Array<String>] :security_group_ids
|
3779
|
+
# The IDs of one or more security groups to apply to the target network.
|
3780
|
+
# You must also specify the ID of the VPC that contains the security
|
3781
|
+
# groups.
|
3782
|
+
#
|
3783
|
+
# @option params [String] :vpc_id
|
3784
|
+
# The ID of the VPC to associate with the Client VPN endpoint. If no
|
3785
|
+
# security group IDs are specified in the request, the default security
|
3786
|
+
# group for the VPC is applied.
|
3787
|
+
#
|
3721
3788
|
# @return [Types::CreateClientVpnEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3722
3789
|
#
|
3723
3790
|
# * {Types::CreateClientVpnEndpointResult#client_vpn_endpoint_id #client_vpn_endpoint_id} => String
|
@@ -3754,7 +3821,7 @@ module Aws::EC2
|
|
3754
3821
|
# client_token: "String",
|
3755
3822
|
# tag_specifications: [
|
3756
3823
|
# {
|
3757
|
-
# 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
|
3824
|
+
# 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
|
3758
3825
|
# tags: [
|
3759
3826
|
# {
|
3760
3827
|
# key: "String",
|
@@ -3763,6 +3830,8 @@ module Aws::EC2
|
|
3763
3830
|
# ],
|
3764
3831
|
# },
|
3765
3832
|
# ],
|
3833
|
+
# security_group_ids: ["String"],
|
3834
|
+
# vpc_id: "VpcId",
|
3766
3835
|
# })
|
3767
3836
|
#
|
3768
3837
|
# @example Response structure
|
@@ -4463,7 +4532,7 @@ module Aws::EC2
|
|
4463
4532
|
# replace_unhealthy_instances: false,
|
4464
4533
|
# tag_specifications: [
|
4465
4534
|
# {
|
4466
|
-
# 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
|
4535
|
+
# 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
|
4467
4536
|
# tags: [
|
4468
4537
|
# {
|
4469
4538
|
# key: "String",
|
@@ -4633,6 +4702,9 @@ module Aws::EC2
|
|
4633
4702
|
#
|
4634
4703
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html#flow-log-records
|
4635
4704
|
#
|
4705
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
4706
|
+
# The tags to apply to the flow logs.
|
4707
|
+
#
|
4636
4708
|
# @option params [Integer] :max_aggregation_interval
|
4637
4709
|
# The maximum interval of time during which a flow of packets is
|
4638
4710
|
# captured and aggregated into a flow log record. You can specify 60
|
@@ -4667,6 +4739,17 @@ module Aws::EC2
|
|
4667
4739
|
# log_destination_type: "cloud-watch-logs", # accepts cloud-watch-logs, s3
|
4668
4740
|
# log_destination: "String",
|
4669
4741
|
# log_format: "String",
|
4742
|
+
# tag_specifications: [
|
4743
|
+
# {
|
4744
|
+
# 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
|
4745
|
+
# tags: [
|
4746
|
+
# {
|
4747
|
+
# key: "String",
|
4748
|
+
# value: "String",
|
4749
|
+
# },
|
4750
|
+
# ],
|
4751
|
+
# },
|
4752
|
+
# ],
|
4670
4753
|
# max_aggregation_interval: 1,
|
4671
4754
|
# })
|
4672
4755
|
#
|
@@ -4757,7 +4840,7 @@ module Aws::EC2
|
|
4757
4840
|
# client_token: "String",
|
4758
4841
|
# tag_specifications: [
|
4759
4842
|
# {
|
4760
|
-
# 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
|
4843
|
+
# 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
|
4761
4844
|
# tags: [
|
4762
4845
|
# {
|
4763
4846
|
# key: "String",
|
@@ -5265,7 +5348,7 @@ module Aws::EC2
|
|
5265
5348
|
# user_data: "String",
|
5266
5349
|
# tag_specifications: [
|
5267
5350
|
# {
|
5268
|
-
# 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
|
5351
|
+
# 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
|
5269
5352
|
# tags: [
|
5270
5353
|
# {
|
5271
5354
|
# key: "String",
|
@@ -5326,7 +5409,7 @@ module Aws::EC2
|
|
5326
5409
|
# },
|
5327
5410
|
# tag_specifications: [
|
5328
5411
|
# {
|
5329
|
-
# 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
|
5412
|
+
# 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
|
5330
5413
|
# tags: [
|
5331
5414
|
# {
|
5332
5415
|
# key: "String",
|
@@ -5533,7 +5616,7 @@ module Aws::EC2
|
|
5533
5616
|
# user_data: "String",
|
5534
5617
|
# tag_specifications: [
|
5535
5618
|
# {
|
5536
|
-
# 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
|
5619
|
+
# 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
|
5537
5620
|
# tags: [
|
5538
5621
|
# {
|
5539
5622
|
# key: "String",
|
@@ -5653,7 +5736,7 @@ module Aws::EC2
|
|
5653
5736
|
# resp.launch_template_version.launch_template_data.instance_initiated_shutdown_behavior #=> String, one of "stop", "terminate"
|
5654
5737
|
# resp.launch_template_version.launch_template_data.user_data #=> String
|
5655
5738
|
# resp.launch_template_version.launch_template_data.tag_specifications #=> Array
|
5656
|
-
# resp.launch_template_version.launch_template_data.tag_specifications[0].resource_type #=> String, one of "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"
|
5739
|
+
# resp.launch_template_version.launch_template_data.tag_specifications[0].resource_type #=> String, one of "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"
|
5657
5740
|
# resp.launch_template_version.launch_template_data.tag_specifications[0].tags #=> Array
|
5658
5741
|
# resp.launch_template_version.launch_template_data.tag_specifications[0].tags[0].key #=> String
|
5659
5742
|
# resp.launch_template_version.launch_template_data.tag_specifications[0].tags[0].value #=> String
|
@@ -5813,13 +5896,25 @@ module Aws::EC2
|
|
5813
5896
|
#
|
5814
5897
|
# Constraint: Maximum 64 ASCII characters.
|
5815
5898
|
#
|
5899
|
+
# **A suitable default value is auto-generated.** You should normally
|
5900
|
+
# not need to pass this option.**
|
5901
|
+
#
|
5816
5902
|
#
|
5817
5903
|
#
|
5818
5904
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
5819
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
|
+
#
|
5820
5912
|
# @option params [required, String] :subnet_id
|
5821
5913
|
# The subnet in which to create the NAT gateway.
|
5822
5914
|
#
|
5915
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
5916
|
+
# The tags to assign to the NAT gateway.
|
5917
|
+
#
|
5823
5918
|
# @return [Types::CreateNatGatewayResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5824
5919
|
#
|
5825
5920
|
# * {Types::CreateNatGatewayResult#client_token #client_token} => String
|
@@ -5857,7 +5952,19 @@ module Aws::EC2
|
|
5857
5952
|
# resp = client.create_nat_gateway({
|
5858
5953
|
# allocation_id: "AllocationId", # required
|
5859
5954
|
# client_token: "String",
|
5955
|
+
# dry_run: false,
|
5860
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
|
+
# ],
|
5861
5968
|
# })
|
5862
5969
|
#
|
5863
5970
|
# @example Response structure
|
@@ -6982,7 +7089,7 @@ module Aws::EC2
|
|
6982
7089
|
# volume_id: "VolumeId", # required
|
6983
7090
|
# tag_specifications: [
|
6984
7091
|
# {
|
6985
|
-
# 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
|
7092
|
+
# 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
|
6986
7093
|
# tags: [
|
6987
7094
|
# {
|
6988
7095
|
# key: "String",
|
@@ -7061,7 +7168,7 @@ module Aws::EC2
|
|
7061
7168
|
# },
|
7062
7169
|
# tag_specifications: [
|
7063
7170
|
# {
|
7064
|
-
# 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
|
7171
|
+
# 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
|
7065
7172
|
# tags: [
|
7066
7173
|
# {
|
7067
7174
|
# key: "String",
|
@@ -7441,7 +7548,7 @@ module Aws::EC2
|
|
7441
7548
|
# description: "String",
|
7442
7549
|
# tag_specifications: [
|
7443
7550
|
# {
|
7444
|
-
# 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
|
7551
|
+
# 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
|
7445
7552
|
# tags: [
|
7446
7553
|
# {
|
7447
7554
|
# key: "String",
|
@@ -7715,7 +7822,7 @@ module Aws::EC2
|
|
7715
7822
|
# description: "String",
|
7716
7823
|
# tag_specifications: [
|
7717
7824
|
# {
|
7718
|
-
# 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
|
7825
|
+
# 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
|
7719
7826
|
# tags: [
|
7720
7827
|
# {
|
7721
7828
|
# key: "String",
|
@@ -7814,7 +7921,7 @@ module Aws::EC2
|
|
7814
7921
|
# description: "String",
|
7815
7922
|
# tag_specifications: [
|
7816
7923
|
# {
|
7817
|
-
# 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
|
7924
|
+
# 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
|
7818
7925
|
# tags: [
|
7819
7926
|
# {
|
7820
7927
|
# key: "String",
|
@@ -7907,7 +8014,7 @@ module Aws::EC2
|
|
7907
8014
|
# },
|
7908
8015
|
# tag_specifications: [
|
7909
8016
|
# {
|
7910
|
-
# 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
|
8017
|
+
# 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
|
7911
8018
|
# tags: [
|
7912
8019
|
# {
|
7913
8020
|
# key: "String",
|
@@ -7981,7 +8088,7 @@ module Aws::EC2
|
|
7981
8088
|
# transit_gateway_id: "TransitGatewayId", # required
|
7982
8089
|
# tag_specifications: [
|
7983
8090
|
# {
|
7984
|
-
# 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
|
8091
|
+
# 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
|
7985
8092
|
# tags: [
|
7986
8093
|
# {
|
7987
8094
|
# key: "String",
|
@@ -8055,7 +8162,7 @@ module Aws::EC2
|
|
8055
8162
|
# peer_region: "String", # required
|
8056
8163
|
# tag_specifications: [
|
8057
8164
|
# {
|
8058
|
-
# 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
|
8165
|
+
# 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
|
8059
8166
|
# tags: [
|
8060
8167
|
# {
|
8061
8168
|
# key: "String",
|
@@ -8171,7 +8278,7 @@ module Aws::EC2
|
|
8171
8278
|
# transit_gateway_id: "TransitGatewayId", # required
|
8172
8279
|
# tag_specifications: [
|
8173
8280
|
# {
|
8174
|
-
# 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
|
8281
|
+
# 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
|
8175
8282
|
# tags: [
|
8176
8283
|
# {
|
8177
8284
|
# key: "String",
|
@@ -8253,7 +8360,7 @@ module Aws::EC2
|
|
8253
8360
|
# },
|
8254
8361
|
# tag_specifications: [
|
8255
8362
|
# {
|
8256
|
-
# 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
|
8363
|
+
# 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
|
8257
8364
|
# tags: [
|
8258
8365
|
# {
|
8259
8366
|
# key: "String",
|
@@ -8507,7 +8614,7 @@ module Aws::EC2
|
|
8507
8614
|
# dry_run: false,
|
8508
8615
|
# tag_specifications: [
|
8509
8616
|
# {
|
8510
|
-
# 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
|
8617
|
+
# 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
|
8511
8618
|
# tags: [
|
8512
8619
|
# {
|
8513
8620
|
# key: "String",
|
@@ -8804,7 +8911,7 @@ module Aws::EC2
|
|
8804
8911
|
# private_dns_enabled: false,
|
8805
8912
|
# tag_specifications: [
|
8806
8913
|
# {
|
8807
|
-
# 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
|
8914
|
+
# 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
|
8808
8915
|
# tags: [
|
8809
8916
|
# {
|
8810
8917
|
# key: "String",
|
@@ -8997,7 +9104,7 @@ module Aws::EC2
|
|
8997
9104
|
# client_token: "String",
|
8998
9105
|
# tag_specifications: [
|
8999
9106
|
# {
|
9000
|
-
# 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
|
9107
|
+
# 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
|
9001
9108
|
# tags: [
|
9002
9109
|
# {
|
9003
9110
|
# key: "String",
|
@@ -10080,6 +10187,12 @@ module Aws::EC2
|
|
10080
10187
|
# from your account. Deleting a NAT gateway does not delete any NAT
|
10081
10188
|
# gateway routes in your route tables.
|
10082
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
|
+
#
|
10083
10196
|
# @option params [required, String] :nat_gateway_id
|
10084
10197
|
# The ID of the NAT gateway.
|
10085
10198
|
#
|
@@ -10104,6 +10217,7 @@ module Aws::EC2
|
|
10104
10217
|
# @example Request syntax with placeholder values
|
10105
10218
|
#
|
10106
10219
|
# resp = client.delete_nat_gateway({
|
10220
|
+
# dry_run: false,
|
10107
10221
|
# nat_gateway_id: "NatGatewayId", # required
|
10108
10222
|
# })
|
10109
10223
|
#
|
@@ -11481,11 +11595,10 @@ module Aws::EC2
|
|
11481
11595
|
req.send_request(options)
|
11482
11596
|
end
|
11483
11597
|
|
11484
|
-
# Deletes the specified virtual private gateway.
|
11485
|
-
#
|
11486
|
-
#
|
11487
|
-
# the
|
11488
|
-
# connection between your VPC and your network.
|
11598
|
+
# Deletes the specified virtual private gateway. You must first detach
|
11599
|
+
# the virtual private gateway from the VPC. Note that you don't need to
|
11600
|
+
# delete the virtual private gateway if you plan to delete and recreate
|
11601
|
+
# the VPN connection between your VPC and your network.
|
11489
11602
|
#
|
11490
11603
|
# @option params [required, String] :vpn_gateway_id
|
11491
11604
|
# The ID of the virtual private gateway.
|
@@ -12768,6 +12881,9 @@ module Aws::EC2
|
|
12768
12881
|
# resp.client_vpn_endpoints[0].tags #=> Array
|
12769
12882
|
# resp.client_vpn_endpoints[0].tags[0].key #=> String
|
12770
12883
|
# resp.client_vpn_endpoints[0].tags[0].value #=> String
|
12884
|
+
# resp.client_vpn_endpoints[0].security_group_ids #=> Array
|
12885
|
+
# resp.client_vpn_endpoints[0].security_group_ids[0] #=> String
|
12886
|
+
# resp.client_vpn_endpoints[0].vpc_id #=> String
|
12771
12887
|
# resp.next_token #=> String
|
12772
12888
|
#
|
12773
12889
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeClientVpnEndpoints AWS API Documentation
|
@@ -13979,6 +14095,16 @@ module Aws::EC2
|
|
13979
14095
|
# * `traffic-type` - The type of traffic (`ACCEPT` \| `REJECT` \|
|
13980
14096
|
# `ALL`).
|
13981
14097
|
#
|
14098
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
14099
|
+
# the resource. Use the tag key in the filter name and the tag value
|
14100
|
+
# as the filter value. For example, to find all resources that have a
|
14101
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
14102
|
+
# for the filter name and `TeamA` for the filter value.
|
14103
|
+
#
|
14104
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
14105
|
+
# filter to find all resources assigned a tag with a specific key,
|
14106
|
+
# regardless of the tag value.
|
14107
|
+
#
|
13982
14108
|
# @option params [Array<String>] :flow_log_ids
|
13983
14109
|
# One or more flow log IDs.
|
13984
14110
|
#
|
@@ -14027,6 +14153,9 @@ module Aws::EC2
|
|
14027
14153
|
# resp.flow_logs[0].log_destination_type #=> String, one of "cloud-watch-logs", "s3"
|
14028
14154
|
# resp.flow_logs[0].log_destination #=> String
|
14029
14155
|
# resp.flow_logs[0].log_format #=> String
|
14156
|
+
# resp.flow_logs[0].tags #=> Array
|
14157
|
+
# resp.flow_logs[0].tags[0].key #=> String
|
14158
|
+
# resp.flow_logs[0].tags[0].value #=> String
|
14030
14159
|
# resp.flow_logs[0].max_aggregation_interval #=> Integer
|
14031
14160
|
# resp.next_token #=> String
|
14032
14161
|
#
|
@@ -16935,7 +17064,7 @@ module Aws::EC2
|
|
16935
17064
|
# resp.launch_template_versions[0].launch_template_data.instance_initiated_shutdown_behavior #=> String, one of "stop", "terminate"
|
16936
17065
|
# resp.launch_template_versions[0].launch_template_data.user_data #=> String
|
16937
17066
|
# resp.launch_template_versions[0].launch_template_data.tag_specifications #=> Array
|
16938
|
-
# resp.launch_template_versions[0].launch_template_data.tag_specifications[0].resource_type #=> String, one of "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"
|
17067
|
+
# resp.launch_template_versions[0].launch_template_data.tag_specifications[0].resource_type #=> String, one of "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"
|
16939
17068
|
# resp.launch_template_versions[0].launch_template_data.tag_specifications[0].tags #=> Array
|
16940
17069
|
# resp.launch_template_versions[0].launch_template_data.tag_specifications[0].tags[0].key #=> String
|
16941
17070
|
# resp.launch_template_versions[0].launch_template_data.tag_specifications[0].tags[0].value #=> String
|
@@ -17563,6 +17692,12 @@ module Aws::EC2
|
|
17563
17692
|
|
17564
17693
|
# Describes one or more of your NAT gateways.
|
17565
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
|
+
#
|
17566
17701
|
# @option params [Array<Types::Filter>] :filter
|
17567
17702
|
# One or more filters.
|
17568
17703
|
#
|
@@ -17641,6 +17776,7 @@ module Aws::EC2
|
|
17641
17776
|
# @example Request syntax with placeholder values
|
17642
17777
|
#
|
17643
17778
|
# resp = client.describe_nat_gateways({
|
17779
|
+
# dry_run: false,
|
17644
17780
|
# filter: [
|
17645
17781
|
# {
|
17646
17782
|
# name: "String",
|
@@ -20868,7 +21004,7 @@ module Aws::EC2
|
|
20868
21004
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].user_data #=> String
|
20869
21005
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].weighted_capacity #=> Float
|
20870
21006
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications #=> Array
|
20871
|
-
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications[0].resource_type #=> String, one of "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"
|
21007
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications[0].resource_type #=> String, one of "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"
|
20872
21008
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications[0].tags #=> Array
|
20873
21009
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications[0].tags[0].key #=> String
|
20874
21010
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications[0].tags[0].value #=> String
|
@@ -20900,7 +21036,7 @@ module Aws::EC2
|
|
20900
21036
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.load_balancers_config.target_groups_config.target_groups[0].arn #=> String
|
20901
21037
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.instance_pools_to_use_count #=> Integer
|
20902
21038
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications #=> Array
|
20903
|
-
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].resource_type #=> String, one of "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"
|
21039
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].resource_type #=> String, one of "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"
|
20904
21040
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].tags #=> Array
|
20905
21041
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].tags[0].key #=> String
|
20906
21042
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].tags[0].value #=> String
|
@@ -21663,9 +21799,10 @@ module Aws::EC2
|
|
21663
21799
|
# `dedicated-host` \| `dhcp-options` \| `elastic-ip` \| `fleet` \|
|
21664
21800
|
# `fpga-image` \| `image` \| `instance` \| `host-reservation` \|
|
21665
21801
|
# `internet-gateway` \| `launch-template` \| `natgateway` \|
|
21666
|
-
# `network-acl` \| `network-interface` \| `
|
21667
|
-
# `
|
21668
|
-
# `spot-instances-request` \| `subnet` \| `volume` \|
|
21802
|
+
# `network-acl` \| `network-interface` \| `placement-group` \|
|
21803
|
+
# `reserved-instances` \| `route-table` \| `security-group` \|
|
21804
|
+
# `snapshot` \| `spot-instances-request` \| `subnet` \| `volume` \|
|
21805
|
+
# `vpc` \| `vpc-endpoint` \| `vpc-endpoint-service` \|
|
21669
21806
|
# `vpc-peering-connection` \| `vpn-connection` \| `vpn-gateway`).
|
21670
21807
|
#
|
21671
21808
|
# * `tag`\:<key> - The key/value combination of the tag. For
|
@@ -21741,7 +21878,7 @@ module Aws::EC2
|
|
21741
21878
|
# resp.tags #=> Array
|
21742
21879
|
# resp.tags[0].key #=> String
|
21743
21880
|
# resp.tags[0].resource_id #=> String
|
21744
|
-
# resp.tags[0].resource_type #=> String, one of "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"
|
21881
|
+
# resp.tags[0].resource_type #=> String, one of "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"
|
21745
21882
|
# resp.tags[0].value #=> String
|
21746
21883
|
#
|
21747
21884
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTags AWS API Documentation
|
@@ -24835,6 +24972,10 @@ module Aws::EC2
|
|
24835
24972
|
# The ID of the route table.
|
24836
24973
|
#
|
24837
24974
|
# @option params [Boolean] :dry_run
|
24975
|
+
# Checks whether you have the required permissions for the action,
|
24976
|
+
# without actually making the request, and provides an error response.
|
24977
|
+
# If you have the required permissions, the error response is
|
24978
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
24838
24979
|
#
|
24839
24980
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
24840
24981
|
#
|
@@ -25517,6 +25658,10 @@ module Aws::EC2
|
|
25517
25658
|
# the same VPC that the virtual private gateway is attached to.
|
25518
25659
|
#
|
25519
25660
|
# @option params [Boolean] :dry_run
|
25661
|
+
# Checks whether you have the required permissions for the action,
|
25662
|
+
# without actually making the request, and provides an error response.
|
25663
|
+
# If you have the required permissions, the error response is
|
25664
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
25520
25665
|
#
|
25521
25666
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
25522
25667
|
#
|
@@ -26554,7 +26699,7 @@ module Aws::EC2
|
|
26554
26699
|
# resp.launch_template_data.instance_initiated_shutdown_behavior #=> String, one of "stop", "terminate"
|
26555
26700
|
# resp.launch_template_data.user_data #=> String
|
26556
26701
|
# resp.launch_template_data.tag_specifications #=> Array
|
26557
|
-
# resp.launch_template_data.tag_specifications[0].resource_type #=> String, one of "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"
|
26702
|
+
# resp.launch_template_data.tag_specifications[0].resource_type #=> String, one of "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"
|
26558
26703
|
# resp.launch_template_data.tag_specifications[0].tags #=> Array
|
26559
26704
|
# resp.launch_template_data.tag_specifications[0].tags[0].key #=> String
|
26560
26705
|
# resp.launch_template_data.tag_specifications[0].tags[0].value #=> String
|
@@ -27667,6 +27812,47 @@ module Aws::EC2
|
|
27667
27812
|
req.send_request(options)
|
27668
27813
|
end
|
27669
27814
|
|
27815
|
+
# Enables or disables a Zone Group for your account. To use Local Zones,
|
27816
|
+
# you must first enable the Zone Group.
|
27817
|
+
#
|
27818
|
+
# @option params [required, String] :group_name
|
27819
|
+
# The names of the Zone Group.
|
27820
|
+
#
|
27821
|
+
# @option params [required, String] :opt_in_status
|
27822
|
+
# Indicates whether to enable or disable Zone Group membership. The
|
27823
|
+
# valid values are `opted-in`.
|
27824
|
+
#
|
27825
|
+
# @option params [Boolean] :dry_run
|
27826
|
+
# Checks whether you have the required permissions for the action,
|
27827
|
+
# without actually making the request, and provides an error response.
|
27828
|
+
# If you have the required permissions, the error response is
|
27829
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
27830
|
+
#
|
27831
|
+
# @return [Types::ModifyAvailabilityZoneGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
27832
|
+
#
|
27833
|
+
# * {Types::ModifyAvailabilityZoneGroupResult#return #return} => Boolean
|
27834
|
+
#
|
27835
|
+
# @example Request syntax with placeholder values
|
27836
|
+
#
|
27837
|
+
# resp = client.modify_availability_zone_group({
|
27838
|
+
# group_name: "String", # required
|
27839
|
+
# opt_in_status: "opted-in", # required, accepts opted-in, not-opted-in
|
27840
|
+
# dry_run: false,
|
27841
|
+
# })
|
27842
|
+
#
|
27843
|
+
# @example Response structure
|
27844
|
+
#
|
27845
|
+
# resp.return #=> Boolean
|
27846
|
+
#
|
27847
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyAvailabilityZoneGroup AWS API Documentation
|
27848
|
+
#
|
27849
|
+
# @overload modify_availability_zone_group(params = {})
|
27850
|
+
# @param [Hash] params ({})
|
27851
|
+
def modify_availability_zone_group(params = {}, options = {})
|
27852
|
+
req = build_request(:modify_availability_zone_group, params)
|
27853
|
+
req.send_request(options)
|
27854
|
+
end
|
27855
|
+
|
27670
27856
|
# Modifies a Capacity Reservation's capacity and the conditions under
|
27671
27857
|
# which it is to be released. You cannot change a Capacity
|
27672
27858
|
# Reservation's instance type, EBS optimization, instance store
|
@@ -27741,9 +27927,7 @@ module Aws::EC2
|
|
27741
27927
|
req.send_request(options)
|
27742
27928
|
end
|
27743
27929
|
|
27744
|
-
# Modifies the specified Client VPN endpoint.
|
27745
|
-
# endpoint's server certificate information, client connection logging
|
27746
|
-
# information, DNS server, and description. Modifying the DNS server
|
27930
|
+
# Modifies the specified Client VPN endpoint. Modifying the DNS server
|
27747
27931
|
# resets existing client connections.
|
27748
27932
|
#
|
27749
27933
|
# @option params [required, String] :client_vpn_endpoint_id
|
@@ -27800,6 +27984,12 @@ module Aws::EC2
|
|
27800
27984
|
# If you have the required permissions, the error response is
|
27801
27985
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
27802
27986
|
#
|
27987
|
+
# @option params [Array<String>] :security_group_ids
|
27988
|
+
# The IDs of one or more security groups to apply to the target network.
|
27989
|
+
#
|
27990
|
+
# @option params [String] :vpc_id
|
27991
|
+
# The ID of the VPC to associate with the Client VPN endpoint.
|
27992
|
+
#
|
27803
27993
|
# @return [Types::ModifyClientVpnEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
27804
27994
|
#
|
27805
27995
|
# * {Types::ModifyClientVpnEndpointResult#return #return} => Boolean
|
@@ -27822,6 +28012,8 @@ module Aws::EC2
|
|
27822
28012
|
# description: "String",
|
27823
28013
|
# split_tunnel: false,
|
27824
28014
|
# dry_run: false,
|
28015
|
+
# security_group_ids: ["String"],
|
28016
|
+
# vpc_id: "VpcId",
|
27825
28017
|
# })
|
27826
28018
|
#
|
27827
28019
|
# @example Response structure
|
@@ -30634,9 +30826,9 @@ module Aws::EC2
|
|
30634
30826
|
# the transit gateway route table.
|
30635
30827
|
#
|
30636
30828
|
# After you perform this operation, the AWS VPN endpoint's IP addresses
|
30637
|
-
# on the AWS side and the tunnel options remain intact. Your
|
30638
|
-
# connection will be temporarily unavailable for
|
30639
|
-
#
|
30829
|
+
# on the AWS side and the tunnel options remain intact. Your AWS
|
30830
|
+
# Site-to-Site VPN connection will be temporarily unavailable for a
|
30831
|
+
# brief period while we provision the new endpoints.
|
30640
30832
|
#
|
30641
30833
|
#
|
30642
30834
|
#
|
@@ -32905,7 +33097,7 @@ module Aws::EC2
|
|
32905
33097
|
# weighted_capacity: 1.0,
|
32906
33098
|
# tag_specifications: [
|
32907
33099
|
# {
|
32908
|
-
# 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
|
33100
|
+
# 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
|
32909
33101
|
# tags: [
|
32910
33102
|
# {
|
32911
33103
|
# key: "String",
|
@@ -32965,7 +33157,7 @@ module Aws::EC2
|
|
32965
33157
|
# instance_pools_to_use_count: 1,
|
32966
33158
|
# tag_specifications: [
|
32967
33159
|
# {
|
32968
|
-
# 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
|
33160
|
+
# 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
|
32969
33161
|
# tags: [
|
32970
33162
|
# {
|
32971
33163
|
# key: "String",
|
@@ -34487,7 +34679,7 @@ module Aws::EC2
|
|
34487
34679
|
# ],
|
34488
34680
|
# tag_specifications: [
|
34489
34681
|
# {
|
34490
|
-
# 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
|
34682
|
+
# 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
|
34491
34683
|
# tags: [
|
34492
34684
|
# {
|
34493
34685
|
# key: "String",
|
@@ -36017,7 +36209,7 @@ module Aws::EC2
|
|
36017
36209
|
params: params,
|
36018
36210
|
config: config)
|
36019
36211
|
context[:gem_name] = 'aws-sdk-ec2'
|
36020
|
-
context[:gem_version] = '1.
|
36212
|
+
context[:gem_version] = '1.149.0'
|
36021
36213
|
Seahorse::Client::Request.new(handlers, context)
|
36022
36214
|
end
|
36023
36215
|
|