aws-sdk-ec2 1.296.0 → 1.300.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +289 -72
- data/lib/aws-sdk-ec2/client_api.rb +55 -0
- data/lib/aws-sdk-ec2/resource.rb +10 -7
- data/lib/aws-sdk-ec2/subnet.rb +10 -7
- data/lib/aws-sdk-ec2/types.rb +328 -71
- data/lib/aws-sdk-ec2/vpc.rb +8 -0
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +4 -4
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -27,7 +27,9 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
31
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
32
34
|
require 'aws-sdk-core/plugins/protocols/ec2.rb'
|
33
35
|
require 'aws-sdk-ec2/plugins/copy_encrypted_snapshot.rb'
|
@@ -76,7 +78,9 @@ module Aws::EC2
|
|
76
78
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
77
79
|
add_plugin(Aws::Plugins::TransferEncoding)
|
78
80
|
add_plugin(Aws::Plugins::HttpChecksum)
|
81
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
79
82
|
add_plugin(Aws::Plugins::DefaultsMode)
|
83
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
80
84
|
add_plugin(Aws::Plugins::SignatureV4)
|
81
85
|
add_plugin(Aws::Plugins::Protocols::EC2)
|
82
86
|
add_plugin(Aws::EC2::Plugins::CopyEncryptedSnapshot)
|
@@ -4791,8 +4795,16 @@ module Aws::EC2
|
|
4791
4795
|
# connections.
|
4792
4796
|
#
|
4793
4797
|
# @option params [Integer] :session_timeout_hours
|
4798
|
+
# The maximum VPN session duration time in hours.
|
4799
|
+
#
|
4800
|
+
# Valid values: `8 | 10 | 12 | 24`
|
4801
|
+
#
|
4802
|
+
# Default value: `24`
|
4794
4803
|
#
|
4795
4804
|
# @option params [Types::ClientLoginBannerOptions] :client_login_banner_options
|
4805
|
+
# Options for enabling a customizable text banner that will be displayed
|
4806
|
+
# on Amazon Web Services provided clients when a VPN session is
|
4807
|
+
# established.
|
4796
4808
|
#
|
4797
4809
|
# @return [Types::CreateClientVpnEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4798
4810
|
#
|
@@ -5463,8 +5475,8 @@ module Aws::EC2
|
|
5463
5475
|
# specifications that vary by instance type, AMI, Availability Zone, or
|
5464
5476
|
# subnet.
|
5465
5477
|
#
|
5466
|
-
# For more information, see [
|
5467
|
-
#
|
5478
|
+
# For more information, see [EC2 Fleet][1] in the *Amazon EC2 User
|
5479
|
+
# Guide*.
|
5468
5480
|
#
|
5469
5481
|
#
|
5470
5482
|
#
|
@@ -5479,7 +5491,7 @@ module Aws::EC2
|
|
5479
5491
|
# @option params [String] :client_token
|
5480
5492
|
# Unique, case-sensitive identifier that you provide to ensure the
|
5481
5493
|
# idempotency of the request. For more information, see [Ensuring
|
5482
|
-
#
|
5494
|
+
# idempotency][1].
|
5483
5495
|
#
|
5484
5496
|
#
|
5485
5497
|
#
|
@@ -6109,6 +6121,13 @@ module Aws::EC2
|
|
6109
6121
|
# Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance
|
6110
6122
|
# that is either running or stopped.
|
6111
6123
|
#
|
6124
|
+
# By default, Amazon EC2 shuts down and reboots the instance before
|
6125
|
+
# creating the AMI to ensure that everything on the instance is stopped
|
6126
|
+
# and in a consistent state during the creation process. If you're
|
6127
|
+
# confident that your instance is in a consistent state appropriate for
|
6128
|
+
# AMI creation, use the **NoReboot** parameter to prevent Amazon EC2
|
6129
|
+
# from shutting down and rebooting the instance.
|
6130
|
+
#
|
6112
6131
|
# If you customized your instance with instance store volumes or Amazon
|
6113
6132
|
# EBS volumes in addition to the root device volume, the new AMI
|
6114
6133
|
# contains block device mapping information for those volumes. When you
|
@@ -8881,14 +8900,9 @@ module Aws::EC2
|
|
8881
8900
|
# use the `Ipv6Prefixes` option.
|
8882
8901
|
#
|
8883
8902
|
# @option params [String] :interface_type
|
8884
|
-
#
|
8885
|
-
# Adapter (EFA), specify `efa`. For more information, see [ Elastic
|
8886
|
-
# Fabric Adapter][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
8887
|
-
# To create a trunk network interface, specify `trunk`.
|
8903
|
+
# The type of network interface. The default is `interface`.
|
8888
8904
|
#
|
8889
|
-
#
|
8890
|
-
#
|
8891
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html
|
8905
|
+
# The only supported values are `efa` and `trunk`.
|
8892
8906
|
#
|
8893
8907
|
# @option params [required, String] :subnet_id
|
8894
8908
|
# The ID of the subnet to associate with the network interface.
|
@@ -9028,7 +9042,7 @@ module Aws::EC2
|
|
9028
9042
|
# resp.network_interface.groups #=> Array
|
9029
9043
|
# resp.network_interface.groups[0].group_name #=> String
|
9030
9044
|
# resp.network_interface.groups[0].group_id #=> String
|
9031
|
-
# resp.network_interface.interface_type #=> String, one of "interface", "natGateway", "efa", "trunk"
|
9045
|
+
# resp.network_interface.interface_type #=> String, one of "interface", "natGateway", "efa", "trunk", "load_balancer", "network_load_balancer", "vpc_endpoint", "branch", "transit_gateway", "lambda", "quicksight", "global_accelerator_managed", "api_gateway_managed", "gateway_load_balancer", "gateway_load_balancer_endpoint", "iot_rules_managed", "aws_codestar_connections_managed"
|
9032
9046
|
# resp.network_interface.ipv_6_addresses #=> Array
|
9033
9047
|
# resp.network_interface.ipv_6_addresses[0].ipv_6_address #=> String
|
9034
9048
|
# resp.network_interface.mac_address #=> String
|
@@ -13457,8 +13471,8 @@ module Aws::EC2
|
|
13457
13471
|
# * Up to 1000 instances can be terminated in a single request to delete
|
13458
13472
|
# `instant` fleets.
|
13459
13473
|
#
|
13460
|
-
# For more information, see [
|
13461
|
-
#
|
13474
|
+
# For more information, see [Delete an EC2 Fleet][1] in the *Amazon EC2
|
13475
|
+
# User Guide*.
|
13462
13476
|
#
|
13463
13477
|
#
|
13464
13478
|
#
|
@@ -16189,9 +16203,16 @@ module Aws::EC2
|
|
16189
16203
|
end
|
16190
16204
|
|
16191
16205
|
# Deregisters the specified AMI. After you deregister an AMI, it can't
|
16192
|
-
# be used to launch new instances
|
16193
|
-
#
|
16194
|
-
#
|
16206
|
+
# be used to launch new instances.
|
16207
|
+
#
|
16208
|
+
# If you deregister an AMI that matches a Recycle Bin retention rule,
|
16209
|
+
# the AMI is retained in the Recycle Bin for the specified retention
|
16210
|
+
# period. For more information, see [Recycle Bin][1] in the Amazon
|
16211
|
+
# Elastic Compute Cloud User Guide.
|
16212
|
+
#
|
16213
|
+
# When you deregister an AMI, it doesn't affect any instances that
|
16214
|
+
# you've already launched from the AMI. You'll continue to incur usage
|
16215
|
+
# costs for those instances until you terminate them.
|
16195
16216
|
#
|
16196
16217
|
# When you deregister an Amazon EBS-backed AMI, it doesn't affect the
|
16197
16218
|
# snapshot that was created for the root volume of the instance during
|
@@ -16199,6 +16220,10 @@ module Aws::EC2
|
|
16199
16220
|
# AMI, it doesn't affect the files that you uploaded to Amazon S3 when
|
16200
16221
|
# you created the AMI.
|
16201
16222
|
#
|
16223
|
+
#
|
16224
|
+
#
|
16225
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin.html
|
16226
|
+
#
|
16202
16227
|
# @option params [required, String] :image_id
|
16203
16228
|
# The ID of the AMI.
|
16204
16229
|
#
|
@@ -16226,8 +16251,6 @@ module Aws::EC2
|
|
16226
16251
|
req.send_request(options)
|
16227
16252
|
end
|
16228
16253
|
|
16229
|
-
# c
|
16230
|
-
#
|
16231
16254
|
# Deregisters tag keys to prevent tags that have the specified tag keys
|
16232
16255
|
# from being included in scheduled event notifications for resources in
|
16233
16256
|
# the Region.
|
@@ -16872,8 +16895,7 @@ module Aws::EC2
|
|
16872
16895
|
# `us-east-1`).
|
16873
16896
|
#
|
16874
16897
|
# * `state` - The state of the Availability Zone, the Local Zone, or the
|
16875
|
-
# Wavelength Zone (`available`
|
16876
|
-
# `unavailable`).
|
16898
|
+
# Wavelength Zone (`available`).
|
16877
16899
|
#
|
16878
16900
|
# * `zone-id` - The ID of the Availability Zone (for example,
|
16879
16901
|
# `use1-az1`), the Local Zone (for example, `usw2-lax1-az1`), or the
|
@@ -17339,6 +17361,9 @@ module Aws::EC2
|
|
17339
17361
|
# Reservation. This ensures that only permitted instances can use
|
17340
17362
|
# the reserved capacity.
|
17341
17363
|
#
|
17364
|
+
# * `placement-group-arn` - The ARN of the cluster placement group in
|
17365
|
+
# which the Capacity Reservation was created.
|
17366
|
+
#
|
17342
17367
|
# @option params [Boolean] :dry_run
|
17343
17368
|
# Checks whether you have the required permissions for the action,
|
17344
17369
|
# without actually making the request, and provides an error response.
|
@@ -17998,16 +18023,12 @@ module Aws::EC2
|
|
17998
18023
|
# The IDs of the address pools.
|
17999
18024
|
#
|
18000
18025
|
# @option params [Array<Types::Filter>] :filters
|
18001
|
-
#
|
18002
|
-
#
|
18003
|
-
# * `coip-pool.pool-id`
|
18004
|
-
#
|
18005
|
-
# ^
|
18006
|
-
# ^
|
18026
|
+
# One or more filters.
|
18007
18027
|
#
|
18008
|
-
# * `coip-pool.local-gateway-route-table-id`
|
18028
|
+
# * `coip-pool.local-gateway-route-table-id` - The ID of the local
|
18029
|
+
# gateway route table.
|
18009
18030
|
#
|
18010
|
-
#
|
18031
|
+
# * `coip-pool.pool-id` - The ID of the address pool.
|
18011
18032
|
#
|
18012
18033
|
# @option params [Integer] :max_results
|
18013
18034
|
# The maximum number of results to return with a single call. To
|
@@ -18921,12 +18942,12 @@ module Aws::EC2
|
|
18921
18942
|
|
18922
18943
|
# Describes the running instances for the specified EC2 Fleet.
|
18923
18944
|
#
|
18924
|
-
# For more information, see [
|
18925
|
-
#
|
18945
|
+
# For more information, see [Monitor your EC2 Fleet][1] in the *Amazon
|
18946
|
+
# EC2 User Guide*.
|
18926
18947
|
#
|
18927
18948
|
#
|
18928
18949
|
#
|
18929
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet.html#monitor-ec2-fleet
|
18950
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#monitor-ec2-fleet
|
18930
18951
|
#
|
18931
18952
|
# @option params [Boolean] :dry_run
|
18932
18953
|
# Checks whether you have the required permissions for the action,
|
@@ -18995,12 +19016,12 @@ module Aws::EC2
|
|
18995
19016
|
|
18996
19017
|
# Describes the specified EC2 Fleets or all of your EC2 Fleets.
|
18997
19018
|
#
|
18998
|
-
# For more information, see [
|
18999
|
-
#
|
19019
|
+
# For more information, see [Monitor your EC2 Fleet][1] in the *Amazon
|
19020
|
+
# EC2 User Guide*.
|
19000
19021
|
#
|
19001
19022
|
#
|
19002
19023
|
#
|
19003
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet.html#monitor-ec2-fleet
|
19024
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#monitor-ec2-fleet
|
19004
19025
|
#
|
19005
19026
|
# @option params [Boolean] :dry_run
|
19006
19027
|
# Checks whether you have the required permissions for the action,
|
@@ -19018,7 +19039,12 @@ module Aws::EC2
|
|
19018
19039
|
# The token for the next set of results.
|
19019
19040
|
#
|
19020
19041
|
# @option params [Array<String>] :fleet_ids
|
19021
|
-
# The
|
19042
|
+
# The IDs of the EC2 Fleets.
|
19043
|
+
#
|
19044
|
+
# <note markdown="1"> If a fleet is of type `instant`, you must specify the fleet ID,
|
19045
|
+
# otherwise it does not appear in the response.
|
19046
|
+
#
|
19047
|
+
# </note>
|
19022
19048
|
#
|
19023
19049
|
# @option params [Array<Types::Filter>] :filters
|
19024
19050
|
# The filters.
|
@@ -21379,8 +21405,8 @@ module Aws::EC2
|
|
21379
21405
|
# * `instance-storage-info.disk.type` - The storage technology for the
|
21380
21406
|
# local instance storage disks (`hdd` \| `ssd`).
|
21381
21407
|
#
|
21382
|
-
# * `instance-storage-info.encryption-
|
21383
|
-
#
|
21408
|
+
# * `instance-storage-info.encryption-support` - Indicates whether data
|
21409
|
+
# is encrypted at rest (`required` \| `supported` \| `unsupported`).
|
21384
21410
|
#
|
21385
21411
|
# * `instance-storage-info.nvme-support` - Indicates whether
|
21386
21412
|
# non-volatile memory express (NVMe) is supported for instance store
|
@@ -21420,6 +21446,9 @@ module Aws::EC2
|
|
21420
21446
|
# * `network-info.ipv6-supported` - Indicates whether the instance type
|
21421
21447
|
# supports IPv6 (`true` \| `false`).
|
21422
21448
|
#
|
21449
|
+
# * `network-info.maximum-network-cards` - The maximum number of network
|
21450
|
+
# cards per instance.
|
21451
|
+
#
|
21423
21452
|
# * `network-info.maximum-network-interfaces` - The maximum number of
|
21424
21453
|
# network interfaces per instance.
|
21425
21454
|
#
|
@@ -23153,6 +23182,9 @@ module Aws::EC2
|
|
23153
23182
|
#
|
23154
23183
|
# * `local-gateway-id` - The ID of a local gateway.
|
23155
23184
|
#
|
23185
|
+
# * `local-gateway-route-table-arn` - The Amazon Resource Name (ARN) of
|
23186
|
+
# the local gateway route table for the virtual interface group.
|
23187
|
+
#
|
23156
23188
|
# * `local-gateway-route-table-id` - The ID of the local gateway route
|
23157
23189
|
# table.
|
23158
23190
|
#
|
@@ -23162,6 +23194,9 @@ module Aws::EC2
|
|
23162
23194
|
# * `local-gateway-route-table-virtual-interface-group-id` - The ID of
|
23163
23195
|
# the virtual interface group.
|
23164
23196
|
#
|
23197
|
+
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
23198
|
+
# local gateway virtual interface group association.
|
23199
|
+
#
|
23165
23200
|
# * `state` - The state of the association.
|
23166
23201
|
#
|
23167
23202
|
# @option params [Integer] :max_results
|
@@ -23235,12 +23270,18 @@ module Aws::EC2
|
|
23235
23270
|
#
|
23236
23271
|
# * `local-gateway-id` - The ID of a local gateway.
|
23237
23272
|
#
|
23273
|
+
# * `local-gateway-route-table-arn` - The Amazon Resource Name (ARN) of
|
23274
|
+
# the local gateway route table for the association.
|
23275
|
+
#
|
23238
23276
|
# * `local-gateway-route-table-id` - The ID of the local gateway route
|
23239
23277
|
# table.
|
23240
23278
|
#
|
23241
23279
|
# * `local-gateway-route-table-vpc-association-id` - The ID of the
|
23242
23280
|
# association.
|
23243
23281
|
#
|
23282
|
+
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
23283
|
+
# local gateway route table for the association.
|
23284
|
+
#
|
23244
23285
|
# * `state` - The state of the association.
|
23245
23286
|
#
|
23246
23287
|
# * `vpc-id` - The ID of the VPC.
|
@@ -23317,11 +23358,17 @@ module Aws::EC2
|
|
23317
23358
|
#
|
23318
23359
|
# * `local-gateway-id` - The ID of a local gateway.
|
23319
23360
|
#
|
23361
|
+
# * `local-gateway-route-table-arn` - The Amazon Resource Name (ARN) of
|
23362
|
+
# the local gateway route table.
|
23363
|
+
#
|
23320
23364
|
# * `local-gateway-route-table-id` - The ID of a local gateway route
|
23321
23365
|
# table.
|
23322
23366
|
#
|
23323
23367
|
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
23324
23368
|
#
|
23369
|
+
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
23370
|
+
# local gateway route table.
|
23371
|
+
#
|
23325
23372
|
# * `state` - The state of the local gateway route table.
|
23326
23373
|
#
|
23327
23374
|
# @option params [Integer] :max_results
|
@@ -23393,11 +23440,14 @@ module Aws::EC2
|
|
23393
23440
|
#
|
23394
23441
|
# * `local-gateway-id` - The ID of a local gateway.
|
23395
23442
|
#
|
23443
|
+
# * `local-gateway-virtual-interface-group-id` - The ID of the virtual
|
23444
|
+
# interface group.
|
23445
|
+
#
|
23396
23446
|
# * `local-gateway-virtual-interface-id` - The ID of the virtual
|
23397
23447
|
# interface.
|
23398
23448
|
#
|
23399
|
-
# * `
|
23400
|
-
# interface group.
|
23449
|
+
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
23450
|
+
# local gateway virtual interface group.
|
23401
23451
|
#
|
23402
23452
|
# @option params [Integer] :max_results
|
23403
23453
|
# The maximum number of results to return with a single call. To
|
@@ -23465,6 +23515,28 @@ module Aws::EC2
|
|
23465
23515
|
# @option params [Array<Types::Filter>] :filters
|
23466
23516
|
# One or more filters.
|
23467
23517
|
#
|
23518
|
+
# * `local-address` - The local address.
|
23519
|
+
#
|
23520
|
+
# * `local-bgp-asn` - The Border Gateway Protocol (BGP) Autonomous
|
23521
|
+
# System Number (ASN) of the local gateway.
|
23522
|
+
#
|
23523
|
+
# * `local-gateway-id` - The ID of the local gateway.
|
23524
|
+
#
|
23525
|
+
# * `local-gateway-virtual-interface-id` - The ID of the virtual
|
23526
|
+
# interface.
|
23527
|
+
#
|
23528
|
+
# * `local-gateway-virtual-interface-group-id` - The ID of the virtual
|
23529
|
+
# interface group.
|
23530
|
+
#
|
23531
|
+
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
23532
|
+
# local gateway virtual interface.
|
23533
|
+
#
|
23534
|
+
# * `peer-address` - The peer address.
|
23535
|
+
#
|
23536
|
+
# * `peer-bgp-asn` - The peer BGP ASN.
|
23537
|
+
#
|
23538
|
+
# * `vlan` - The ID of the VLAN.
|
23539
|
+
#
|
23468
23540
|
# @option params [Integer] :max_results
|
23469
23541
|
# The maximum number of results to return with a single call. To
|
23470
23542
|
# retrieve the remaining results, make another call with the returned
|
@@ -23530,25 +23602,19 @@ module Aws::EC2
|
|
23530
23602
|
# are described. Alternatively, you can filter the results.
|
23531
23603
|
#
|
23532
23604
|
# @option params [Array<String>] :local_gateway_ids
|
23605
|
+
# The IDs of the local gateways.
|
23606
|
+
#
|
23607
|
+
# @option params [Array<Types::Filter>] :filters
|
23533
23608
|
# One or more filters.
|
23534
23609
|
#
|
23535
23610
|
# * `local-gateway-id` - The ID of a local gateway.
|
23536
23611
|
#
|
23537
|
-
# * `local-gateway-route-table-id` - The ID of the local gateway route
|
23538
|
-
# table.
|
23539
|
-
#
|
23540
|
-
# * `local-gateway-route-table-virtual-interface-group-association-id` -
|
23541
|
-
# The ID of the association.
|
23542
|
-
#
|
23543
|
-
# * `local-gateway-route-table-virtual-interface-group-id` - The ID of
|
23544
|
-
# the virtual interface group.
|
23545
|
-
#
|
23546
23612
|
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
23547
23613
|
#
|
23548
|
-
# * `
|
23614
|
+
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
23615
|
+
# local gateway.
|
23549
23616
|
#
|
23550
|
-
#
|
23551
|
-
# One or more filters.
|
23617
|
+
# * `state` - The state of the association.
|
23552
23618
|
#
|
23553
23619
|
# @option params [Integer] :max_results
|
23554
23620
|
# The maximum number of results to return with a single call. To
|
@@ -24967,6 +25033,14 @@ module Aws::EC2
|
|
24967
25033
|
# * `ipv6-addresses.ipv6-address` - An IPv6 address associated with the
|
24968
25034
|
# network interface.
|
24969
25035
|
#
|
25036
|
+
# * `interface-type` - The type of network interface
|
25037
|
+
# (`api_gateway_managed` \| `aws_codestar_connections_managed` \|
|
25038
|
+
# `branch` \| `efa` \| `gateway_load_balancer` \|
|
25039
|
+
# `gateway_load_balancer_endpoint` \| `global_accelerator_managed` \|
|
25040
|
+
# `interface` \| `iot_rules_managed` \| `lambda` \| `load_balancer` \|
|
25041
|
+
# `nat_gateway` \| `network_load_balancer` \| `quicksight` \|
|
25042
|
+
# `transit_gateway` \| `trunk` \| `vpc_endpoint`).
|
25043
|
+
#
|
24970
25044
|
# * `mac-address` - The MAC address of the network interface.
|
24971
25045
|
#
|
24972
25046
|
# * `network-interface-id` - The ID of the network interface.
|
@@ -25142,7 +25216,7 @@ module Aws::EC2
|
|
25142
25216
|
# resp.network_interfaces[0].groups #=> Array
|
25143
25217
|
# resp.network_interfaces[0].groups[0].group_name #=> String
|
25144
25218
|
# resp.network_interfaces[0].groups[0].group_id #=> String
|
25145
|
-
# resp.network_interfaces[0].interface_type #=> String, one of "interface", "natGateway", "efa", "trunk"
|
25219
|
+
# resp.network_interfaces[0].interface_type #=> String, one of "interface", "natGateway", "efa", "trunk", "load_balancer", "network_load_balancer", "vpc_endpoint", "branch", "transit_gateway", "lambda", "quicksight", "global_accelerator_managed", "api_gateway_managed", "gateway_load_balancer", "gateway_load_balancer_endpoint", "iot_rules_managed", "aws_codestar_connections_managed"
|
25146
25220
|
# resp.network_interfaces[0].ipv_6_addresses #=> Array
|
25147
25221
|
# resp.network_interfaces[0].ipv_6_addresses[0].ipv_6_address #=> String
|
25148
25222
|
# resp.network_interfaces[0].mac_address #=> String
|
@@ -32511,6 +32585,10 @@ module Aws::EC2
|
|
32511
32585
|
# pre-provisioned snapshots must be removed before you can enable faster
|
32512
32586
|
# launching again.
|
32513
32587
|
#
|
32588
|
+
# <note markdown="1"> To change these settings, you must own the AMI.
|
32589
|
+
#
|
32590
|
+
# </note>
|
32591
|
+
#
|
32514
32592
|
# @option params [required, String] :image_id
|
32515
32593
|
# The ID of the image for which you’re turning off faster launching, and
|
32516
32594
|
# removing pre-provisioned snapshots.
|
@@ -33544,6 +33622,10 @@ module Aws::EC2
|
|
33544
33622
|
# reserved snapshots are automatically replenished as they are used,
|
33545
33623
|
# depending on your settings for launch frequency.
|
33546
33624
|
#
|
33625
|
+
# <note markdown="1"> To change these settings, you must own the AMI.
|
33626
|
+
#
|
33627
|
+
# </note>
|
33628
|
+
#
|
33547
33629
|
# @option params [required, String] :image_id
|
33548
33630
|
# The ID of the image for which you’re enabling faster launching.
|
33549
33631
|
#
|
@@ -33564,7 +33646,7 @@ module Aws::EC2
|
|
33564
33646
|
#
|
33565
33647
|
# @option params [Integer] :max_parallel_launches
|
33566
33648
|
# The maximum number of parallel instances to launch for creating
|
33567
|
-
# resources.
|
33649
|
+
# resources. Value must be `6` or greater.
|
33568
33650
|
#
|
33569
33651
|
# @option params [Boolean] :dry_run
|
33570
33652
|
# Checks whether you have the required permissions for the action,
|
@@ -34482,26 +34564,18 @@ module Aws::EC2
|
|
34482
34564
|
# The ID of the address pool.
|
34483
34565
|
#
|
34484
34566
|
# @option params [Array<Types::Filter>] :filters
|
34485
|
-
#
|
34486
|
-
#
|
34487
|
-
# * `coip-address-usage.allocation-id`
|
34488
|
-
#
|
34489
|
-
# ^
|
34490
|
-
# ^
|
34491
|
-
#
|
34492
|
-
# * `coip-address-usage.aws-account-id`
|
34493
|
-
#
|
34494
|
-
# ^
|
34495
|
-
# ^
|
34567
|
+
# One or more filters.
|
34496
34568
|
#
|
34497
|
-
# * `coip-address-usage.
|
34569
|
+
# * `coip-address-usage.allocation-id` - The allocation ID of the
|
34570
|
+
# address.
|
34498
34571
|
#
|
34499
|
-
#
|
34500
|
-
#
|
34572
|
+
# * `coip-address-usage.aws-account-id` - The ID of the Amazon Web
|
34573
|
+
# Services account that is using the customer-owned IP address.
|
34501
34574
|
#
|
34502
|
-
# * `coip-address-usage.
|
34575
|
+
# * `coip-address-usage.aws-service` - The Amazon Web Services service
|
34576
|
+
# that is using the customer-owned IP address.
|
34503
34577
|
#
|
34504
|
-
#
|
34578
|
+
# * `coip-address-usage.co-ip` - The customer-owned IP address.
|
34505
34579
|
#
|
34506
34580
|
# @option params [Integer] :max_results
|
34507
34581
|
# The maximum number of results to return with a single call. To
|
@@ -37694,6 +37768,76 @@ module Aws::EC2
|
|
37694
37768
|
req.send_request(options)
|
37695
37769
|
end
|
37696
37770
|
|
37771
|
+
# Lists one or more AMIs that are currently in the Recycle Bin. For more
|
37772
|
+
# information, see [Recycle Bin][1] in the Amazon Elastic Compute Cloud
|
37773
|
+
# User Guide.
|
37774
|
+
#
|
37775
|
+
#
|
37776
|
+
#
|
37777
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin.html
|
37778
|
+
#
|
37779
|
+
# @option params [Array<String>] :image_ids
|
37780
|
+
# The IDs of the AMIs to list. Omit this parameter to list all of the
|
37781
|
+
# AMIs that are in the Recycle Bin. You can specify up to 20 IDs in a
|
37782
|
+
# single request.
|
37783
|
+
#
|
37784
|
+
# @option params [String] :next_token
|
37785
|
+
# The token for the next page of results.
|
37786
|
+
#
|
37787
|
+
# @option params [Integer] :max_results
|
37788
|
+
# The maximum number of results to return with a single call. To
|
37789
|
+
# retrieve the remaining results, make another call with the returned
|
37790
|
+
# `nextToken` value.
|
37791
|
+
#
|
37792
|
+
# If you do not specify a value for *MaxResults*, the request returns
|
37793
|
+
# 1,000 items per page by default. For more information, see [
|
37794
|
+
# Pagination][1].
|
37795
|
+
#
|
37796
|
+
#
|
37797
|
+
#
|
37798
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
|
37799
|
+
#
|
37800
|
+
# @option params [Boolean] :dry_run
|
37801
|
+
# Checks whether you have the required permissions for the action,
|
37802
|
+
# without actually making the request, and provides an error response.
|
37803
|
+
# If you have the required permissions, the error response is
|
37804
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
37805
|
+
#
|
37806
|
+
# @return [Types::ListImagesInRecycleBinResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
37807
|
+
#
|
37808
|
+
# * {Types::ListImagesInRecycleBinResult#images #images} => Array<Types::ImageRecycleBinInfo>
|
37809
|
+
# * {Types::ListImagesInRecycleBinResult#next_token #next_token} => String
|
37810
|
+
#
|
37811
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
37812
|
+
#
|
37813
|
+
# @example Request syntax with placeholder values
|
37814
|
+
#
|
37815
|
+
# resp = client.list_images_in_recycle_bin({
|
37816
|
+
# image_ids: ["ImageId"],
|
37817
|
+
# next_token: "String",
|
37818
|
+
# max_results: 1,
|
37819
|
+
# dry_run: false,
|
37820
|
+
# })
|
37821
|
+
#
|
37822
|
+
# @example Response structure
|
37823
|
+
#
|
37824
|
+
# resp.images #=> Array
|
37825
|
+
# resp.images[0].image_id #=> String
|
37826
|
+
# resp.images[0].name #=> String
|
37827
|
+
# resp.images[0].description #=> String
|
37828
|
+
# resp.images[0].recycle_bin_enter_time #=> Time
|
37829
|
+
# resp.images[0].recycle_bin_exit_time #=> Time
|
37830
|
+
# resp.next_token #=> String
|
37831
|
+
#
|
37832
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ListImagesInRecycleBin AWS API Documentation
|
37833
|
+
#
|
37834
|
+
# @overload list_images_in_recycle_bin(params = {})
|
37835
|
+
# @param [Hash] params ({})
|
37836
|
+
def list_images_in_recycle_bin(params = {}, options = {})
|
37837
|
+
req = build_request(:list_images_in_recycle_bin, params)
|
37838
|
+
req.send_request(options)
|
37839
|
+
end
|
37840
|
+
|
37697
37841
|
# Lists one or more snapshots that are currently in the Recycle Bin.
|
37698
37842
|
#
|
37699
37843
|
# @option params [Integer] :max_results
|
@@ -38088,8 +38232,16 @@ module Aws::EC2
|
|
38088
38232
|
# connections.
|
38089
38233
|
#
|
38090
38234
|
# @option params [Integer] :session_timeout_hours
|
38235
|
+
# The maximum VPN session duration time in hours.
|
38236
|
+
#
|
38237
|
+
# Valid values: `8 | 10 | 12 | 24`
|
38238
|
+
#
|
38239
|
+
# Default value: `24`
|
38091
38240
|
#
|
38092
38241
|
# @option params [Types::ClientLoginBannerOptions] :client_login_banner_options
|
38242
|
+
# Options for enabling a customizable text banner that will be displayed
|
38243
|
+
# on Amazon Web Services provided clients when a VPN session is
|
38244
|
+
# established.
|
38093
38245
|
#
|
38094
38246
|
# @return [Types::ModifyClientVpnEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
38095
38247
|
#
|
@@ -42632,11 +42784,12 @@ module Aws::EC2
|
|
42632
42784
|
# monitoring is enabled. For more information, see [Monitor your
|
42633
42785
|
# instances using CloudWatch][1] in the *Amazon EC2 User Guide*.
|
42634
42786
|
#
|
42635
|
-
# To disable detailed monitoring, see .
|
42787
|
+
# To disable detailed monitoring, see [UnmonitorInstances][2].
|
42636
42788
|
#
|
42637
42789
|
#
|
42638
42790
|
#
|
42639
42791
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-cloudwatch.html
|
42792
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_UnmonitorInstances.html
|
42640
42793
|
#
|
42641
42794
|
# @option params [required, Array<String>] :instance_ids
|
42642
42795
|
# The IDs of the instances.
|
@@ -43549,7 +43702,12 @@ module Aws::EC2
|
|
43549
43702
|
# Registers a set of tag keys to include in scheduled event
|
43550
43703
|
# notifications for your resources.
|
43551
43704
|
#
|
43552
|
-
# To remove tags, use
|
43705
|
+
# To remove tags, use
|
43706
|
+
# [DeregisterInstanceEventNotificationAttributes][1].
|
43707
|
+
#
|
43708
|
+
#
|
43709
|
+
#
|
43710
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DeregisterInstanceEventNotificationAttributes.html
|
43553
43711
|
#
|
43554
43712
|
# @option params [Boolean] :dry_run
|
43555
43713
|
# Checks whether you have the required permissions for the action,
|
@@ -45912,6 +46070,46 @@ module Aws::EC2
|
|
45912
46070
|
req.send_request(options)
|
45913
46071
|
end
|
45914
46072
|
|
46073
|
+
# Restores an AMI from the Recycle Bin. For more information, see
|
46074
|
+
# [Recycle Bin][1] in the Amazon Elastic Compute Cloud User Guide.
|
46075
|
+
#
|
46076
|
+
#
|
46077
|
+
#
|
46078
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin.html
|
46079
|
+
#
|
46080
|
+
# @option params [required, String] :image_id
|
46081
|
+
# The ID of the AMI to restore.
|
46082
|
+
#
|
46083
|
+
# @option params [Boolean] :dry_run
|
46084
|
+
# Checks whether you have the required permissions for the action,
|
46085
|
+
# without actually making the request, and provides an error response.
|
46086
|
+
# If you have the required permissions, the error response is
|
46087
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
46088
|
+
#
|
46089
|
+
# @return [Types::RestoreImageFromRecycleBinResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
46090
|
+
#
|
46091
|
+
# * {Types::RestoreImageFromRecycleBinResult#return #return} => Boolean
|
46092
|
+
#
|
46093
|
+
# @example Request syntax with placeholder values
|
46094
|
+
#
|
46095
|
+
# resp = client.restore_image_from_recycle_bin({
|
46096
|
+
# image_id: "ImageId", # required
|
46097
|
+
# dry_run: false,
|
46098
|
+
# })
|
46099
|
+
#
|
46100
|
+
# @example Response structure
|
46101
|
+
#
|
46102
|
+
# resp.return #=> Boolean
|
46103
|
+
#
|
46104
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RestoreImageFromRecycleBin AWS API Documentation
|
46105
|
+
#
|
46106
|
+
# @overload restore_image_from_recycle_bin(params = {})
|
46107
|
+
# @param [Hash] params ({})
|
46108
|
+
def restore_image_from_recycle_bin(params = {}, options = {})
|
46109
|
+
req = build_request(:restore_image_from_recycle_bin, params)
|
46110
|
+
req.send_request(options)
|
46111
|
+
end
|
46112
|
+
|
45915
46113
|
# Restores the entries from a previous version of a managed prefix list
|
45916
46114
|
# to a new version of the prefix list.
|
45917
46115
|
#
|
@@ -47467,6 +47665,25 @@ module Aws::EC2
|
|
47467
47665
|
# @option params [Array<Types::Filter>] :filters
|
47468
47666
|
# One or more filters.
|
47469
47667
|
#
|
47668
|
+
# * `route-search.exact-match` - The exact match of the specified
|
47669
|
+
# filter.
|
47670
|
+
#
|
47671
|
+
# * `route-search.longest-prefix-match` - The longest prefix that
|
47672
|
+
# matches the route.
|
47673
|
+
#
|
47674
|
+
# * `route-search.subnet-of-match` - The routes with a subnet that match
|
47675
|
+
# the specified CIDR filter.
|
47676
|
+
#
|
47677
|
+
# * `route-search.supernet-of-match` - The routes with a CIDR that
|
47678
|
+
# encompass the CIDR filter. For example, if you have 10.0.1.0/29 and
|
47679
|
+
# 10.0.1.0/31 routes in your route table and you specify
|
47680
|
+
# `supernet-of-match` as 10.0.1.0/30, then the result returns
|
47681
|
+
# 10.0.1.0/29.
|
47682
|
+
#
|
47683
|
+
# * `state` - The state of the route.
|
47684
|
+
#
|
47685
|
+
# * `type` - The route type.
|
47686
|
+
#
|
47470
47687
|
# @option params [Integer] :max_results
|
47471
47688
|
# The maximum number of results to return with a single call. To
|
47472
47689
|
# retrieve the remaining results, make another call with the returned
|
@@ -49093,7 +49310,7 @@ module Aws::EC2
|
|
49093
49310
|
params: params,
|
49094
49311
|
config: config)
|
49095
49312
|
context[:gem_name] = 'aws-sdk-ec2'
|
49096
|
-
context[:gem_version] = '1.
|
49313
|
+
context[:gem_version] = '1.300.0'
|
49097
49314
|
Seahorse::Client::Request.new(handlers, context)
|
49098
49315
|
end
|
49099
49316
|
|