aws-sdk-ec2 1.355.0 → 1.357.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +183 -169
- data/lib/aws-sdk-ec2/client_api.rb +13 -2
- data/lib/aws-sdk-ec2/image.rb +5 -6
- data/lib/aws-sdk-ec2/instance.rb +1 -1
- data/lib/aws-sdk-ec2/placement_group.rb +6 -3
- data/lib/aws-sdk-ec2/resource.rb +36 -24
- data/lib/aws-sdk-ec2/security_group.rb +14 -11
- data/lib/aws-sdk-ec2/subnet.rb +7 -5
- data/lib/aws-sdk-ec2/types.rb +249 -224
- data/lib/aws-sdk-ec2/volume.rb +1 -1
- data/lib/aws-sdk-ec2/vpc.rb +6 -3
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -641,8 +641,7 @@ module Aws::EC2
|
|
641
641
|
req.send_request(options)
|
642
642
|
end
|
643
643
|
|
644
|
-
# Accepts
|
645
|
-
# VPC endpoint service.
|
644
|
+
# Accepts connection requests to your VPC endpoint service.
|
646
645
|
#
|
647
646
|
# @option params [Boolean] :dry_run
|
648
647
|
# Checks whether you have the required permissions for the action,
|
@@ -654,7 +653,7 @@ module Aws::EC2
|
|
654
653
|
# The ID of the VPC endpoint service.
|
655
654
|
#
|
656
655
|
# @option params [required, Array<String>] :vpc_endpoint_ids
|
657
|
-
# The IDs of
|
656
|
+
# The IDs of the interface VPC endpoints.
|
658
657
|
#
|
659
658
|
# @return [Types::AcceptVpcEndpointConnectionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
660
659
|
#
|
@@ -3194,9 +3193,10 @@ module Aws::EC2
|
|
3194
3193
|
# and a description for the rule.
|
3195
3194
|
#
|
3196
3195
|
# @option params [Integer] :from_port
|
3197
|
-
#
|
3198
|
-
#
|
3199
|
-
# you specify all ICMP types, you must specify all
|
3196
|
+
# If the protocol is TCP or UDP, this is the start of the port range. If
|
3197
|
+
# the protocol is ICMP, this is the type number. A value of -1 indicates
|
3198
|
+
# all ICMP types. If you specify all ICMP types, you must specify all
|
3199
|
+
# ICMP codes.
|
3200
3200
|
#
|
3201
3201
|
# Alternatively, use a set of IP permissions to specify multiple rules
|
3202
3202
|
# and a description for the rule.
|
@@ -3250,9 +3250,10 @@ module Aws::EC2
|
|
3250
3250
|
# instead.
|
3251
3251
|
#
|
3252
3252
|
# @option params [Integer] :to_port
|
3253
|
-
#
|
3254
|
-
#
|
3255
|
-
# you specify all ICMP types, you must specify all
|
3253
|
+
# If the protocol is TCP or UDP, this is the end of the port range. If
|
3254
|
+
# the protocol is ICMP, this is the code. A value of -1 indicates all
|
3255
|
+
# ICMP codes. If you specify all ICMP types, you must specify all ICMP
|
3256
|
+
# codes.
|
3256
3257
|
#
|
3257
3258
|
# Alternatively, use a set of IP permissions to specify multiple rules
|
3258
3259
|
# and a description for the rule.
|
@@ -3737,8 +3738,8 @@ module Aws::EC2
|
|
3737
3738
|
|
3738
3739
|
# Removes your Amazon Web Services account from the launch permissions
|
3739
3740
|
# for the specified AMI. For more information, see [Cancel having an AMI
|
3740
|
-
# shared with your Amazon Web Services account][1] in the *Amazon
|
3741
|
-
#
|
3741
|
+
# shared with your Amazon Web Services account][1] in the *Amazon EC2
|
3742
|
+
# User Guide*.
|
3742
3743
|
#
|
3743
3744
|
#
|
3744
3745
|
#
|
@@ -4173,11 +4174,10 @@ module Aws::EC2
|
|
4173
4174
|
# encryption key for the Region, or a different key that you specify in
|
4174
4175
|
# the request using **KmsKeyId**. Outposts do not support unencrypted
|
4175
4176
|
# snapshots. For more information, [ Amazon EBS local snapshots on
|
4176
|
-
# Outposts][2] in the *Amazon
|
4177
|
+
# Outposts][2] in the *Amazon EC2 User Guide*.
|
4177
4178
|
#
|
4178
4179
|
# For more information about the prerequisites and limits when copying
|
4179
|
-
# an AMI, see [Copy an AMI][3] in the *Amazon
|
4180
|
-
# Guide*.
|
4180
|
+
# an AMI, see [Copy an AMI][3] in the *Amazon EC2 User Guide*.
|
4181
4181
|
#
|
4182
4182
|
#
|
4183
4183
|
#
|
@@ -4203,8 +4203,8 @@ module Aws::EC2
|
|
4203
4203
|
# you cannot create an unencrypted copy of an encrypted snapshot. The
|
4204
4204
|
# default KMS key for Amazon EBS is used unless you specify a
|
4205
4205
|
# non-default Key Management Service (KMS) KMS key using `KmsKeyId`. For
|
4206
|
-
# more information, see [Amazon EBS encryption][1] in the *Amazon
|
4207
|
-
#
|
4206
|
+
# more information, see [Amazon EBS encryption][1] in the *Amazon EC2
|
4207
|
+
# User Guide*.
|
4208
4208
|
#
|
4209
4209
|
#
|
4210
4210
|
#
|
@@ -4254,8 +4254,7 @@ module Aws::EC2
|
|
4254
4254
|
# Region, from one Outpost to another, or within the same Outpost.
|
4255
4255
|
#
|
4256
4256
|
# For more information, see [ Copy AMIs from an Amazon Web Services
|
4257
|
-
# Region to an Outpost][1] in the *Amazon
|
4258
|
-
# Guide*.
|
4257
|
+
# Region to an Outpost][1] in the *Amazon EC2 User Guide*.
|
4259
4258
|
#
|
4260
4259
|
#
|
4261
4260
|
#
|
@@ -5039,8 +5038,8 @@ module Aws::EC2
|
|
5039
5038
|
# IP addresses. The address range cannot overlap with the local CIDR of
|
5040
5039
|
# the VPC in which the associated subnet is located, or the routes that
|
5041
5040
|
# you add manually. The address range cannot be changed after the Client
|
5042
|
-
# VPN endpoint has been created.
|
5043
|
-
# greater.
|
5041
|
+
# VPN endpoint has been created. Client CIDR range must have a size of
|
5042
|
+
# at least /22 and must not be greater than /12.
|
5044
5043
|
#
|
5045
5044
|
# @option params [required, String] :server_certificate_arn
|
5046
5045
|
# The ARN of the server certificate. For more information, see the
|
@@ -10264,10 +10263,10 @@ module Aws::EC2
|
|
10264
10263
|
#
|
10265
10264
|
# To use this API, you must have the required permissions. For more
|
10266
10265
|
# information, see [Permissions for storing and restoring AMIs using
|
10267
|
-
# Amazon S3][2] in the *Amazon
|
10266
|
+
# Amazon S3][2] in the *Amazon EC2 User Guide*.
|
10268
10267
|
#
|
10269
10268
|
# For more information, see [Store and restore an AMI using Amazon
|
10270
|
-
# S3][3] in the *Amazon
|
10269
|
+
# S3][3] in the *Amazon EC2 User Guide*.
|
10271
10270
|
#
|
10272
10271
|
#
|
10273
10272
|
#
|
@@ -11103,10 +11102,10 @@ module Aws::EC2
|
|
11103
11102
|
#
|
11104
11103
|
# To use this API, you must have the required permissions. For more
|
11105
11104
|
# information, see [Permissions for storing and restoring AMIs using
|
11106
|
-
# Amazon S3][1] in the *Amazon
|
11105
|
+
# Amazon S3][1] in the *Amazon EC2 User Guide*.
|
11107
11106
|
#
|
11108
11107
|
# For more information, see [Store and restore an AMI using Amazon
|
11109
|
-
# S3][2] in the *Amazon
|
11108
|
+
# S3][2] in the *Amazon EC2 User Guide*.
|
11110
11109
|
#
|
11111
11110
|
#
|
11112
11111
|
#
|
@@ -11163,19 +11162,24 @@ module Aws::EC2
|
|
11163
11162
|
req.send_request(options)
|
11164
11163
|
end
|
11165
11164
|
|
11166
|
-
# Creates a subnet in
|
11165
|
+
# Creates a subnet in the specified VPC. For an IPv4 only subnet,
|
11166
|
+
# specify an IPv4 CIDR block. If the VPC has an IPv6 CIDR block, you can
|
11167
|
+
# create an IPv6 only subnet or a dual stack subnet instead. For an IPv6
|
11168
|
+
# only subnet, specify an IPv6 CIDR block. For a dual stack subnet,
|
11169
|
+
# specify both an IPv4 CIDR block and an IPv6 CIDR block.
|
11167
11170
|
#
|
11168
|
-
#
|
11169
|
-
# subnet, you can't change its
|
11170
|
-
#
|
11171
|
-
# addresses). The CIDR block must not overlap with the CIDR block of an
|
11172
|
-
# existing subnet in the VPC.
|
11171
|
+
# A subnet CIDR block must not overlap the CIDR block of an existing
|
11172
|
+
# subnet in the VPC. After you create a subnet, you can't change its
|
11173
|
+
# CIDR block.
|
11173
11174
|
#
|
11174
|
-
#
|
11175
|
-
#
|
11175
|
+
# The allowed size for an IPv4 subnet is between a /28 netmask (16 IP
|
11176
|
+
# addresses) and a /16 netmask (65,536 IP addresses). Amazon Web
|
11177
|
+
# Services reserves both the first four and the last IPv4 address in
|
11178
|
+
# each subnet's CIDR block. They're not available for your use.
|
11176
11179
|
#
|
11177
|
-
#
|
11178
|
-
#
|
11180
|
+
# If you've associated an IPv6 CIDR block with your VPC, you can
|
11181
|
+
# associate an IPv6 CIDR block with a subnet when you create it. The
|
11182
|
+
# allowed block size for an IPv6 subnet is a /64 netmask.
|
11179
11183
|
#
|
11180
11184
|
# If you add more than one subnet to a VPC, they're set up in a star
|
11181
11185
|
# topology with a logical router in the middle.
|
@@ -11185,12 +11189,12 @@ module Aws::EC2
|
|
11185
11189
|
# instances (they're all stopped), but no remaining IP addresses
|
11186
11190
|
# available.
|
11187
11191
|
#
|
11188
|
-
# For more information
|
11189
|
-
#
|
11192
|
+
# For more information, see [Subnets][1] in the *Amazon Virtual Private
|
11193
|
+
# Cloud User Guide*.
|
11190
11194
|
#
|
11191
11195
|
#
|
11192
11196
|
#
|
11193
|
-
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/
|
11197
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/configure-subnets.html
|
11194
11198
|
#
|
11195
11199
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
11196
11200
|
# The tags to assign to the subnet.
|
@@ -13542,20 +13546,18 @@ module Aws::EC2
|
|
13542
13546
|
req.send_request(options)
|
13543
13547
|
end
|
13544
13548
|
|
13545
|
-
# Creates a VPC with the specified
|
13546
|
-
#
|
13547
|
-
#
|
13548
|
-
# how large to make your VPC, see [Your VPC and subnets][1] in the
|
13549
|
-
# *Amazon Virtual Private Cloud User Guide*.
|
13549
|
+
# Creates a VPC with the specified CIDR blocks. For more information,
|
13550
|
+
# see [VPC CIDR blocks][1] in the *Amazon Virtual Private Cloud User
|
13551
|
+
# Guide*.
|
13550
13552
|
#
|
13551
13553
|
# You can optionally request an IPv6 CIDR block for the VPC. You can
|
13552
13554
|
# request an Amazon-provided IPv6 CIDR block from Amazon's pool of IPv6
|
13553
13555
|
# addresses, or an IPv6 CIDR block from an IPv6 address pool that you
|
13554
13556
|
# provisioned through bring your own IP addresses ([BYOIP][2]).
|
13555
13557
|
#
|
13556
|
-
# By default, each instance you launch in the VPC has the default
|
13557
|
-
# options, which include only a default DNS server that we provide
|
13558
|
-
# (AmazonProvidedDNS). For more information, see [DHCP
|
13558
|
+
# By default, each instance that you launch in the VPC has the default
|
13559
|
+
# DHCP options, which include only a default DNS server that we provide
|
13560
|
+
# (AmazonProvidedDNS). For more information, see [DHCP option sets][3]
|
13559
13561
|
# in the *Amazon Virtual Private Cloud User Guide*.
|
13560
13562
|
#
|
13561
13563
|
# You can specify the instance tenancy value for the VPC when you create
|
@@ -13565,7 +13567,7 @@ module Aws::EC2
|
|
13565
13567
|
#
|
13566
13568
|
#
|
13567
13569
|
#
|
13568
|
-
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/
|
13570
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/configure-your-vpc.html#vpc-cidr-blocks
|
13569
13571
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html
|
13570
13572
|
# [3]: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_DHCP_Options.html
|
13571
13573
|
# [4]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-instance.html
|
@@ -13770,12 +13772,10 @@ module Aws::EC2
|
|
13770
13772
|
# Default: Gateway
|
13771
13773
|
#
|
13772
13774
|
# @option params [required, String] :vpc_id
|
13773
|
-
# The ID of the VPC
|
13775
|
+
# The ID of the VPC for the endpoint.
|
13774
13776
|
#
|
13775
13777
|
# @option params [required, String] :service_name
|
13776
|
-
# The service name.
|
13777
|
-
# DescribeVpcEndpointServices request, or get the name from the service
|
13778
|
-
# provider.
|
13778
|
+
# The service name.
|
13779
13779
|
#
|
13780
13780
|
# @option params [String] :policy_document
|
13781
13781
|
# (Interface and gateway endpoints) A policy to attach to the endpoint
|
@@ -13784,16 +13784,17 @@ module Aws::EC2
|
|
13784
13784
|
# that allows full access to the service.
|
13785
13785
|
#
|
13786
13786
|
# @option params [Array<String>] :route_table_ids
|
13787
|
-
# (Gateway endpoint)
|
13787
|
+
# (Gateway endpoint) The route table IDs.
|
13788
13788
|
#
|
13789
13789
|
# @option params [Array<String>] :subnet_ids
|
13790
|
-
# (Interface and Gateway Load Balancer endpoints) The
|
13791
|
-
#
|
13792
|
-
#
|
13790
|
+
# (Interface and Gateway Load Balancer endpoints) The IDs of the subnets
|
13791
|
+
# in which to create an endpoint network interface. For a Gateway Load
|
13792
|
+
# Balancer endpoint, you can specify only one subnet.
|
13793
13793
|
#
|
13794
13794
|
# @option params [Array<String>] :security_group_ids
|
13795
|
-
# (Interface endpoint) The
|
13796
|
-
#
|
13795
|
+
# (Interface endpoint) The IDs of the security groups to associate with
|
13796
|
+
# the endpoint network interface. If this parameter is not specified, we
|
13797
|
+
# use the default security group for the VPC.
|
13797
13798
|
#
|
13798
13799
|
# @option params [String] :ip_address_type
|
13799
13800
|
# The IP address type for the endpoint.
|
@@ -13934,8 +13935,8 @@ module Aws::EC2
|
|
13934
13935
|
# The ARN of the SNS topic for the notifications.
|
13935
13936
|
#
|
13936
13937
|
# @option params [required, Array<String>] :connection_events
|
13937
|
-
#
|
13938
|
-
#
|
13938
|
+
# The endpoint events for which to receive notifications. Valid values
|
13939
|
+
# are `Accept`, `Connect`, `Delete`, and `Reject`.
|
13939
13940
|
#
|
13940
13941
|
# @option params [String] :client_token
|
13941
13942
|
# Unique, case-sensitive identifier that you provide to ensure the
|
@@ -13984,7 +13985,7 @@ module Aws::EC2
|
|
13984
13985
|
end
|
13985
13986
|
|
13986
13987
|
# Creates a VPC endpoint service to which service consumers (Amazon Web
|
13987
|
-
# Services accounts,
|
13988
|
+
# Services accounts, users, and IAM roles) can connect.
|
13988
13989
|
#
|
13989
13990
|
# Before you create an endpoint service, you must create one of the
|
13990
13991
|
# following for your service:
|
@@ -14022,12 +14023,10 @@ module Aws::EC2
|
|
14022
14023
|
# the VPC endpoint service.
|
14023
14024
|
#
|
14024
14025
|
# @option params [Array<String>] :network_load_balancer_arns
|
14025
|
-
# The Amazon Resource Names (ARNs) of
|
14026
|
-
# for your service.
|
14026
|
+
# The Amazon Resource Names (ARNs) of the Network Load Balancers.
|
14027
14027
|
#
|
14028
14028
|
# @option params [Array<String>] :gateway_load_balancer_arns
|
14029
|
-
# The Amazon Resource Names (ARNs) of
|
14030
|
-
# Balancers.
|
14029
|
+
# The Amazon Resource Names (ARNs) of the Gateway Load Balancers.
|
14031
14030
|
#
|
14032
14031
|
# @option params [Array<String>] :supported_ip_address_types
|
14033
14032
|
# The supported IP address types. The possible values are `ipv4` and
|
@@ -17727,7 +17726,7 @@ module Aws::EC2
|
|
17727
17726
|
req.send_request(options)
|
17728
17727
|
end
|
17729
17728
|
|
17730
|
-
# Deletes
|
17729
|
+
# Deletes the specified VPC endpoint connection notifications.
|
17731
17730
|
#
|
17732
17731
|
# @option params [Boolean] :dry_run
|
17733
17732
|
# Checks whether you have the required permissions for the action,
|
@@ -17736,7 +17735,7 @@ module Aws::EC2
|
|
17736
17735
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
17737
17736
|
#
|
17738
17737
|
# @option params [required, Array<String>] :connection_notification_ids
|
17739
|
-
#
|
17738
|
+
# The IDs of the notifications.
|
17740
17739
|
#
|
17741
17740
|
# @return [Types::DeleteVpcEndpointConnectionNotificationsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
17742
17741
|
#
|
@@ -17765,10 +17764,10 @@ module Aws::EC2
|
|
17765
17764
|
req.send_request(options)
|
17766
17765
|
end
|
17767
17766
|
|
17768
|
-
# Deletes
|
17769
|
-
#
|
17770
|
-
#
|
17771
|
-
#
|
17767
|
+
# Deletes the specified VPC endpoint service configurations. Before you
|
17768
|
+
# can delete an endpoint service configuration, you must reject any
|
17769
|
+
# `Available` or `PendingAcceptance` interface endpoint connections that
|
17770
|
+
# are attached to the service.
|
17772
17771
|
#
|
17773
17772
|
# @option params [Boolean] :dry_run
|
17774
17773
|
# Checks whether you have the required permissions for the action,
|
@@ -17777,7 +17776,7 @@ module Aws::EC2
|
|
17777
17776
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
17778
17777
|
#
|
17779
17778
|
# @option params [required, Array<String>] :service_ids
|
17780
|
-
# The IDs of
|
17779
|
+
# The IDs of the services.
|
17781
17780
|
#
|
17782
17781
|
# @return [Types::DeleteVpcEndpointServiceConfigurationsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
17783
17782
|
#
|
@@ -17806,28 +17805,18 @@ module Aws::EC2
|
|
17806
17805
|
req.send_request(options)
|
17807
17806
|
end
|
17808
17807
|
|
17809
|
-
# Deletes
|
17810
|
-
# following types of VPC endpoints.
|
17811
|
-
#
|
17812
|
-
# * Gateway endpoint,
|
17813
|
-
#
|
17814
|
-
# * Gateway Load Balancer endpoint,
|
17815
|
-
#
|
17816
|
-
# * Interface endpoint
|
17808
|
+
# Deletes the specified VPC endpoints.
|
17817
17809
|
#
|
17818
|
-
#
|
17810
|
+
# When you delete a gateway endpoint, we delete the endpoint routes in
|
17811
|
+
# the route tables for the endpoint.
|
17819
17812
|
#
|
17820
|
-
#
|
17821
|
-
#
|
17813
|
+
# When you delete a Gateway Load Balancer endpoint, we delete its
|
17814
|
+
# endpoint network interfaces. You can only delete Gateway Load Balancer
|
17815
|
+
# endpoints when the routes that are associated with the endpoint are
|
17816
|
+
# deleted.
|
17822
17817
|
#
|
17823
|
-
#
|
17824
|
-
#
|
17825
|
-
#
|
17826
|
-
# You can only delete Gateway Load Balancer endpoints when the routes
|
17827
|
-
# that are associated with the endpoint are deleted.
|
17828
|
-
#
|
17829
|
-
# * When you delete an interface endpoint, we delete the endpoint
|
17830
|
-
# network interfaces.
|
17818
|
+
# When you delete an interface endpoint, we delete its endpoint network
|
17819
|
+
# interfaces.
|
17831
17820
|
#
|
17832
17821
|
# @option params [Boolean] :dry_run
|
17833
17822
|
# Checks whether you have the required permissions for the action,
|
@@ -17836,7 +17825,7 @@ module Aws::EC2
|
|
17836
17825
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
17837
17826
|
#
|
17838
17827
|
# @option params [required, Array<String>] :vpc_endpoint_ids
|
17839
|
-
#
|
17828
|
+
# The IDs of the VPC endpoints.
|
17840
17829
|
#
|
17841
17830
|
# @return [Types::DeleteVpcEndpointsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
17842
17831
|
#
|
@@ -18152,8 +18141,8 @@ module Aws::EC2
|
|
18152
18141
|
#
|
18153
18142
|
# If you deregister an AMI that matches a Recycle Bin retention rule,
|
18154
18143
|
# the AMI is retained in the Recycle Bin for the specified retention
|
18155
|
-
# period. For more information, see [Recycle Bin][1] in the *Amazon
|
18156
|
-
#
|
18144
|
+
# period. For more information, see [Recycle Bin][1] in the *Amazon EC2
|
18145
|
+
# User Guide*.
|
18157
18146
|
#
|
18158
18147
|
# When you deregister an AMI, it doesn't affect any instances that
|
18159
18148
|
# you've already launched from the AMI. You'll continue to incur usage
|
@@ -22459,9 +22448,20 @@ module Aws::EC2
|
|
22459
22448
|
# If you have the required permissions, the error response is
|
22460
22449
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
22461
22450
|
#
|
22451
|
+
# @option params [Integer] :max_results
|
22452
|
+
# The maximum number of results to return with a single call. To
|
22453
|
+
# retrieve the remaining results, make another call with the returned
|
22454
|
+
# `nextToken` value.
|
22455
|
+
#
|
22456
|
+
# @option params [String] :next_token
|
22457
|
+
# The token for the next page of results.
|
22458
|
+
#
|
22462
22459
|
# @return [Types::DescribeImagesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
22463
22460
|
#
|
22464
22461
|
# * {Types::DescribeImagesResult#images #images} => Array<Types::Image>
|
22462
|
+
# * {Types::DescribeImagesResult#next_token #next_token} => String
|
22463
|
+
#
|
22464
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
22465
22465
|
#
|
22466
22466
|
#
|
22467
22467
|
# @example Example: To describe an AMI
|
@@ -22521,6 +22521,8 @@ module Aws::EC2
|
|
22521
22521
|
# owners: ["String"],
|
22522
22522
|
# include_deprecated: false,
|
22523
22523
|
# dry_run: false,
|
22524
|
+
# max_results: 1,
|
22525
|
+
# next_token: "String",
|
22524
22526
|
# })
|
22525
22527
|
#
|
22526
22528
|
# @example Response structure
|
@@ -22573,6 +22575,7 @@ module Aws::EC2
|
|
22573
22575
|
# resp.images[0].tpm_support #=> String, one of "v2.0"
|
22574
22576
|
# resp.images[0].deprecation_time #=> String
|
22575
22577
|
# resp.images[0].imds_support #=> String, one of "v2.0"
|
22578
|
+
# resp.next_token #=> String
|
22576
22579
|
#
|
22577
22580
|
#
|
22578
22581
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -23858,12 +23861,15 @@ module Aws::EC2
|
|
23858
23861
|
# * `metadata-options.http-tokens` - The metadata request authorization
|
23859
23862
|
# state (`optional` \| `required`)
|
23860
23863
|
#
|
23861
|
-
# * `metadata-options.http-put-response-hop-limit` - The
|
23864
|
+
# * `metadata-options.http-put-response-hop-limit` - The HTTP metadata
|
23862
23865
|
# request put response hop limit (integer, possible values `1` to
|
23863
23866
|
# `64`)
|
23864
23867
|
#
|
23865
|
-
# * `metadata-options.http-endpoint` -
|
23866
|
-
# on
|
23868
|
+
# * `metadata-options.http-endpoint` - The status of access to the HTTP
|
23869
|
+
# metadata endpoint on your instance (`enabled` \| `disabled`)
|
23870
|
+
#
|
23871
|
+
# * `metadata-options.instance-metadata-tags` - The status of access to
|
23872
|
+
# instance tags from the instance metadata (`enabled` \| `disabled`)
|
23867
23873
|
#
|
23868
23874
|
# * `monitoring-state` - Indicates whether detailed monitoring is
|
23869
23875
|
# enabled (`disabled` \| `enabled`).
|
@@ -31379,10 +31385,10 @@ module Aws::EC2
|
|
31379
31385
|
#
|
31380
31386
|
# To use this API, you must have the required permissions. For more
|
31381
31387
|
# information, see [Permissions for storing and restoring AMIs using
|
31382
|
-
# Amazon S3][1] in the *Amazon
|
31388
|
+
# Amazon S3][1] in the *Amazon EC2 User Guide*.
|
31383
31389
|
#
|
31384
31390
|
# For more information, see [Store and restore an AMI using Amazon
|
31385
|
-
# S3][2] in the *Amazon
|
31391
|
+
# S3][2] in the *Amazon EC2 User Guide*.
|
31386
31392
|
#
|
31387
31393
|
#
|
31388
31394
|
#
|
@@ -34294,7 +34300,7 @@ module Aws::EC2
|
|
34294
34300
|
# The ID of the notification.
|
34295
34301
|
#
|
34296
34302
|
# @option params [Array<Types::Filter>] :filters
|
34297
|
-
#
|
34303
|
+
# The filters.
|
34298
34304
|
#
|
34299
34305
|
# * `connection-notification-arn` - The ARN of the SNS topic for the
|
34300
34306
|
# notification.
|
@@ -34372,7 +34378,7 @@ module Aws::EC2
|
|
34372
34378
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
34373
34379
|
#
|
34374
34380
|
# @option params [Array<Types::Filter>] :filters
|
34375
|
-
#
|
34381
|
+
# The filters.
|
34376
34382
|
#
|
34377
34383
|
# * `ip-address-type` - The IP address type (`ipv4` \| `ipv6`).
|
34378
34384
|
#
|
@@ -34459,10 +34465,10 @@ module Aws::EC2
|
|
34459
34465
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
34460
34466
|
#
|
34461
34467
|
# @option params [Array<String>] :service_ids
|
34462
|
-
# The IDs of
|
34468
|
+
# The IDs of the endpoint services.
|
34463
34469
|
#
|
34464
34470
|
# @option params [Array<Types::Filter>] :filters
|
34465
|
-
#
|
34471
|
+
# The filters.
|
34466
34472
|
#
|
34467
34473
|
# * `service-name` - The name of the service.
|
34468
34474
|
#
|
@@ -34569,7 +34575,7 @@ module Aws::EC2
|
|
34569
34575
|
# The ID of the service.
|
34570
34576
|
#
|
34571
34577
|
# @option params [Array<Types::Filter>] :filters
|
34572
|
-
#
|
34578
|
+
# The filters.
|
34573
34579
|
#
|
34574
34580
|
# * `principal` - The ARN of the principal.
|
34575
34581
|
#
|
@@ -34646,10 +34652,10 @@ module Aws::EC2
|
|
34646
34652
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
34647
34653
|
#
|
34648
34654
|
# @option params [Array<String>] :service_names
|
34649
|
-
#
|
34655
|
+
# The service names.
|
34650
34656
|
#
|
34651
34657
|
# @option params [Array<Types::Filter>] :filters
|
34652
|
-
#
|
34658
|
+
# The filters.
|
34653
34659
|
#
|
34654
34660
|
# * `owner` - The ID or alias of the Amazon Web Services account that
|
34655
34661
|
# owns the service.
|
@@ -34743,7 +34749,7 @@ module Aws::EC2
|
|
34743
34749
|
req.send_request(options)
|
34744
34750
|
end
|
34745
34751
|
|
34746
|
-
# Describes
|
34752
|
+
# Describes your VPC endpoints.
|
34747
34753
|
#
|
34748
34754
|
# @option params [Boolean] :dry_run
|
34749
34755
|
# Checks whether you have the required permissions for the action,
|
@@ -34752,10 +34758,10 @@ module Aws::EC2
|
|
34752
34758
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
34753
34759
|
#
|
34754
34760
|
# @option params [Array<String>] :vpc_endpoint_ids
|
34755
|
-
#
|
34761
|
+
# The IDs of the VPC endpoints.
|
34756
34762
|
#
|
34757
34763
|
# @option params [Array<Types::Filter>] :filters
|
34758
|
-
#
|
34764
|
+
# The filters.
|
34759
34765
|
#
|
34760
34766
|
# * `ip-address-type` - The IP address type (`ipv4` \| `ipv6`).
|
34761
34767
|
#
|
@@ -35738,8 +35744,8 @@ module Aws::EC2
|
|
35738
35744
|
# resp = client.detach_volume({
|
35739
35745
|
# device: "String",
|
35740
35746
|
# force: false,
|
35741
|
-
# instance_id: "
|
35742
|
-
# volume_id: "
|
35747
|
+
# instance_id: "InstanceIdForResolver",
|
35748
|
+
# volume_id: "VolumeIdWithResolver", # required
|
35743
35749
|
# dry_run: false,
|
35744
35750
|
# })
|
35745
35751
|
#
|
@@ -36071,8 +36077,8 @@ module Aws::EC2
|
|
36071
36077
|
|
36072
36078
|
# Cancels the deprecation of the specified AMI.
|
36073
36079
|
#
|
36074
|
-
# For more information, see [Deprecate an AMI][1] in the *Amazon
|
36075
|
-
#
|
36080
|
+
# For more information, see [Deprecate an AMI][1] in the *Amazon EC2
|
36081
|
+
# User Guide*.
|
36076
36082
|
#
|
36077
36083
|
#
|
36078
36084
|
#
|
@@ -37323,8 +37329,8 @@ module Aws::EC2
|
|
37323
37329
|
# Enables deprecation of the specified AMI at the specified date and
|
37324
37330
|
# time.
|
37325
37331
|
#
|
37326
|
-
# For more information, see [Deprecate an AMI][1] in the *Amazon
|
37327
|
-
#
|
37332
|
+
# For more information, see [Deprecate an AMI][1] in the *Amazon EC2
|
37333
|
+
# User Guide*.
|
37328
37334
|
#
|
37329
37335
|
#
|
37330
37336
|
#
|
@@ -41908,8 +41914,7 @@ module Aws::EC2
|
|
41908
41914
|
end
|
41909
41915
|
|
41910
41916
|
# Lists one or more AMIs that are currently in the Recycle Bin. For more
|
41911
|
-
# information, see [Recycle Bin][1] in the Amazon
|
41912
|
-
# User Guide.
|
41917
|
+
# information, see [Recycle Bin][1] in the *Amazon EC2 User Guide*.
|
41913
41918
|
#
|
41914
41919
|
#
|
41915
41920
|
#
|
@@ -43784,21 +43789,23 @@ module Aws::EC2
|
|
43784
43789
|
# The ID of the instance.
|
43785
43790
|
#
|
43786
43791
|
# @option params [String] :http_tokens
|
43787
|
-
#
|
43788
|
-
#
|
43789
|
-
# `
|
43790
|
-
#
|
43791
|
-
#
|
43792
|
-
#
|
43793
|
-
#
|
43794
|
-
#
|
43795
|
-
#
|
43796
|
-
#
|
43797
|
-
#
|
43798
|
-
#
|
43799
|
-
#
|
43800
|
-
#
|
43801
|
-
#
|
43792
|
+
# IMDSv2 uses token-backed sessions. Set the use of HTTP tokens to
|
43793
|
+
# `optional` (in other words, set the use of IMDSv2 to `optional`) or
|
43794
|
+
# `required` (in other words, set the use of IMDSv2 to `required`).
|
43795
|
+
#
|
43796
|
+
# * `optional` - When IMDSv2 is optional, you can choose to retrieve
|
43797
|
+
# instance metadata with or without a session token in your request.
|
43798
|
+
# If you retrieve the IAM role credentials without a token, the IMDSv1
|
43799
|
+
# role credentials are returned. If you retrieve the IAM role
|
43800
|
+
# credentials using a valid session token, the IMDSv2 role credentials
|
43801
|
+
# are returned.
|
43802
|
+
#
|
43803
|
+
# * `required` - When IMDSv2 is required, you must send a session token
|
43804
|
+
# with any instance metadata retrieval requests. In this state,
|
43805
|
+
# retrieving the IAM role credentials always returns IMDSv2
|
43806
|
+
# credentials; IMDSv1 credentials are not available.
|
43807
|
+
#
|
43808
|
+
# Default: `optional`
|
43802
43809
|
#
|
43803
43810
|
# @option params [Integer] :http_put_response_hop_limit
|
43804
43811
|
# The desired HTTP PUT response hop limit for instance metadata
|
@@ -46658,28 +46665,28 @@ module Aws::EC2
|
|
46658
46665
|
# format.
|
46659
46666
|
#
|
46660
46667
|
# @option params [Array<String>] :add_route_table_ids
|
46661
|
-
# (Gateway endpoint)
|
46668
|
+
# (Gateway endpoint) The IDs of the route tables to associate with the
|
46662
46669
|
# endpoint.
|
46663
46670
|
#
|
46664
46671
|
# @option params [Array<String>] :remove_route_table_ids
|
46665
|
-
# (Gateway endpoint)
|
46672
|
+
# (Gateway endpoint) The IDs of the route tables to disassociate from
|
46666
46673
|
# the endpoint.
|
46667
46674
|
#
|
46668
46675
|
# @option params [Array<String>] :add_subnet_ids
|
46669
|
-
# (Interface and Gateway Load Balancer endpoints)
|
46676
|
+
# (Interface and Gateway Load Balancer endpoints) The IDs of the subnets
|
46670
46677
|
# in which to serve the endpoint. For a Gateway Load Balancer endpoint,
|
46671
46678
|
# you can specify only one subnet.
|
46672
46679
|
#
|
46673
46680
|
# @option params [Array<String>] :remove_subnet_ids
|
46674
|
-
# (Interface endpoint)
|
46681
|
+
# (Interface endpoint) The IDs of the subnets from which to remove the
|
46675
46682
|
# endpoint.
|
46676
46683
|
#
|
46677
46684
|
# @option params [Array<String>] :add_security_group_ids
|
46678
|
-
# (Interface endpoint)
|
46685
|
+
# (Interface endpoint) The IDs of the security groups to associate with
|
46679
46686
|
# the network interface.
|
46680
46687
|
#
|
46681
46688
|
# @option params [Array<String>] :remove_security_group_ids
|
46682
|
-
# (Interface endpoint)
|
46689
|
+
# (Interface endpoint) The IDs of the security groups to disassociate
|
46683
46690
|
# from the network interface.
|
46684
46691
|
#
|
46685
46692
|
# @option params [String] :ip_address_type
|
@@ -46746,8 +46753,8 @@ module Aws::EC2
|
|
46746
46753
|
# The ARN for the SNS topic for the notification.
|
46747
46754
|
#
|
46748
46755
|
# @option params [Array<String>] :connection_events
|
46749
|
-
#
|
46750
|
-
# `
|
46756
|
+
# The events for the endpoint. Valid values are `Accept`, `Connect`,
|
46757
|
+
# `Delete`, and `Reject`.
|
46751
46758
|
#
|
46752
46759
|
# @return [Types::ModifyVpcEndpointConnectionNotificationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
46753
46760
|
#
|
@@ -46902,8 +46909,8 @@ module Aws::EC2
|
|
46902
46909
|
end
|
46903
46910
|
|
46904
46911
|
# Modifies the permissions for your VPC endpoint service. You can add or
|
46905
|
-
# remove permissions for service consumers (
|
46906
|
-
#
|
46912
|
+
# remove permissions for service consumers (Amazon Web Services
|
46913
|
+
# accounts, users, and IAM roles) to connect to your endpoint service.
|
46907
46914
|
#
|
46908
46915
|
# If you grant permissions to all principals, the service is public. Any
|
46909
46916
|
# users who know the name of a public service can send a request to
|
@@ -46920,13 +46927,13 @@ module Aws::EC2
|
|
46920
46927
|
# The ID of the service.
|
46921
46928
|
#
|
46922
46929
|
# @option params [Array<String>] :add_allowed_principals
|
46923
|
-
# The Amazon Resource Names (ARN) of
|
46924
|
-
#
|
46925
|
-
#
|
46930
|
+
# The Amazon Resource Names (ARN) of the principals. Permissions are
|
46931
|
+
# granted to the principals in this list. To grant permissions to all
|
46932
|
+
# principals, specify an asterisk (*).
|
46926
46933
|
#
|
46927
46934
|
# @option params [Array<String>] :remove_allowed_principals
|
46928
|
-
# The Amazon Resource Names (ARN) of
|
46929
|
-
#
|
46935
|
+
# The Amazon Resource Names (ARN) of the principals. Permissions are
|
46936
|
+
# revoked for principals in this list.
|
46930
46937
|
#
|
46931
46938
|
# @return [Types::ModifyVpcEndpointServicePermissionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
46932
46939
|
#
|
@@ -48469,7 +48476,7 @@ module Aws::EC2
|
|
48469
48476
|
# code, the Reserved Instance will not be applied to the On-Demand
|
48470
48477
|
# Instance. For information about how to obtain the platform details and
|
48471
48478
|
# billing information of an AMI, see [Understand AMI billing
|
48472
|
-
# information][4] in the *Amazon
|
48479
|
+
# information][4] in the *Amazon EC2 User Guide*.
|
48473
48480
|
#
|
48474
48481
|
#
|
48475
48482
|
#
|
@@ -48503,9 +48510,8 @@ module Aws::EC2
|
|
48503
48510
|
# If you create an AMI on an Outpost, then all backing snapshots must be
|
48504
48511
|
# on the same Outpost or in the Region of that Outpost. AMIs on an
|
48505
48512
|
# Outpost that include local snapshots can be used to launch instances
|
48506
|
-
# on the same Outpost only. For more information, [
|
48507
|
-
# snapshots on Outposts][1] in the *Amazon
|
48508
|
-
# Guide*.
|
48513
|
+
# on the same Outpost only. For more information, [Amazon EBS local
|
48514
|
+
# snapshots on Outposts][1] in the *Amazon EC2 User Guide*.
|
48509
48515
|
#
|
48510
48516
|
#
|
48511
48517
|
#
|
@@ -48539,8 +48545,19 @@ module Aws::EC2
|
|
48539
48545
|
#
|
48540
48546
|
# @option params [Array<String>] :billing_products
|
48541
48547
|
# The billing product codes. Your account must be authorized to specify
|
48542
|
-
# billing product codes.
|
48543
|
-
#
|
48548
|
+
# billing product codes.
|
48549
|
+
#
|
48550
|
+
# If your account is not authorized to specify billing product codes,
|
48551
|
+
# you can publish AMIs that include billable software and list them on
|
48552
|
+
# the Amazon Web Services Marketplace. You must first register as a
|
48553
|
+
# seller on the Amazon Web Services Marketplace. For more information,
|
48554
|
+
# see [Getting started as a seller][1] and [AMI-based products][2] in
|
48555
|
+
# the *Amazon Web Services Marketplace Seller Guide*.
|
48556
|
+
#
|
48557
|
+
#
|
48558
|
+
#
|
48559
|
+
# [1]: https://docs.aws.amazon.com/marketplace/latest/userguide/user-guide-for-sellers.html
|
48560
|
+
# [2]: https://docs.aws.amazon.com/marketplace/latest/userguide/ami-products.html
|
48544
48561
|
#
|
48545
48562
|
# @option params [String] :ramdisk_id
|
48546
48563
|
# The ID of the RAM disk.
|
@@ -48565,7 +48582,7 @@ module Aws::EC2
|
|
48565
48582
|
#
|
48566
48583
|
# @option params [String] :boot_mode
|
48567
48584
|
# The boot mode of the AMI. For more information, see [Boot modes][1] in
|
48568
|
-
# the *Amazon
|
48585
|
+
# the *Amazon EC2 User Guide*.
|
48569
48586
|
#
|
48570
48587
|
#
|
48571
48588
|
#
|
@@ -48573,8 +48590,7 @@ module Aws::EC2
|
|
48573
48590
|
#
|
48574
48591
|
# @option params [String] :tpm_support
|
48575
48592
|
# Set to `v2.0` to enable Trusted Platform Module (TPM) support. For
|
48576
|
-
# more information, see [NitroTPM][1] in the *Amazon
|
48577
|
-
# Cloud User Guide*.
|
48593
|
+
# more information, see [NitroTPM][1] in the *Amazon EC2 User Guide*.
|
48578
48594
|
#
|
48579
48595
|
#
|
48580
48596
|
#
|
@@ -48585,7 +48601,7 @@ module Aws::EC2
|
|
48585
48601
|
# retrieve the UEFI data, use the [GetInstanceUefiData][1] command. You
|
48586
48602
|
# can inspect and modify the UEFI data by using the [python-uefivars
|
48587
48603
|
# tool][2] on GitHub. For more information, see [UEFI Secure Boot][3] in
|
48588
|
-
# the *Amazon
|
48604
|
+
# the *Amazon EC2 User Guide*.
|
48589
48605
|
#
|
48590
48606
|
#
|
48591
48607
|
#
|
@@ -48599,8 +48615,7 @@ module Aws::EC2
|
|
48599
48615
|
# set to `required` so that, by default, the instance requires that
|
48600
48616
|
# IMDSv2 is used when requesting instance metadata. In addition,
|
48601
48617
|
# `HttpPutResponseHopLimit` is set to `2`. For more information, see
|
48602
|
-
# [Configure the AMI][1] in the *Amazon
|
48603
|
-
# Guide*.
|
48618
|
+
# [Configure the AMI][1] in the *Amazon EC2 User Guide*.
|
48604
48619
|
#
|
48605
48620
|
# <note markdown="1"> If you set the value to `v2.0`, make sure that your AMI software can
|
48606
48621
|
# support IMDSv2.
|
@@ -48993,8 +49008,7 @@ module Aws::EC2
|
|
48993
49008
|
req.send_request(options)
|
48994
49009
|
end
|
48995
49010
|
|
48996
|
-
# Rejects
|
48997
|
-
# endpoint service.
|
49011
|
+
# Rejects VPC endpoint connection requests to your VPC endpoint service.
|
48998
49012
|
#
|
48999
49013
|
# @option params [Boolean] :dry_run
|
49000
49014
|
# Checks whether you have the required permissions for the action,
|
@@ -49006,7 +49020,7 @@ module Aws::EC2
|
|
49006
49020
|
# The ID of the service.
|
49007
49021
|
#
|
49008
49022
|
# @option params [required, Array<String>] :vpc_endpoint_ids
|
49009
|
-
# The IDs of
|
49023
|
+
# The IDs of the VPC endpoints.
|
49010
49024
|
#
|
49011
49025
|
# @return [Types::RejectVpcEndpointConnectionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
49012
49026
|
#
|
@@ -51105,7 +51119,7 @@ module Aws::EC2
|
|
51105
51119
|
end
|
51106
51120
|
|
51107
51121
|
# Restores an AMI from the Recycle Bin. For more information, see
|
51108
|
-
# [Recycle Bin][1] in the Amazon
|
51122
|
+
# [Recycle Bin][1] in the *Amazon EC2 User Guide*.
|
51109
51123
|
#
|
51110
51124
|
#
|
51111
51125
|
#
|
@@ -51563,8 +51577,9 @@ module Aws::EC2
|
|
51563
51577
|
# specifying a source security group.
|
51564
51578
|
#
|
51565
51579
|
# @option params [Integer] :from_port
|
51566
|
-
#
|
51567
|
-
#
|
51580
|
+
# If the protocol is TCP or UDP, this is the start of the port range. If
|
51581
|
+
# the protocol is ICMP, this is the type number. A value of -1 indicates
|
51582
|
+
# all ICMP types.
|
51568
51583
|
#
|
51569
51584
|
# @option params [String] :group_id
|
51570
51585
|
# The ID of the security group. You must specify either the security
|
@@ -51608,9 +51623,9 @@ module Aws::EC2
|
|
51608
51623
|
# permissions instead.
|
51609
51624
|
#
|
51610
51625
|
# @option params [Integer] :to_port
|
51611
|
-
#
|
51612
|
-
#
|
51613
|
-
#
|
51626
|
+
# If the protocol is TCP or UDP, this is the end of the port range. If
|
51627
|
+
# the protocol is ICMP, this is the code. A value of -1 indicates all
|
51628
|
+
# ICMP codes.
|
51614
51629
|
#
|
51615
51630
|
# @option params [Boolean] :dry_run
|
51616
51631
|
# Checks whether you have the required permissions for the action,
|
@@ -51912,8 +51927,7 @@ module Aws::EC2
|
|
51912
51927
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateSecurityGroup.html
|
51913
51928
|
#
|
51914
51929
|
# @option params [Array<String>] :security_groups
|
51915
|
-
# \[EC2-Classic, default VPC\] The names of the security groups.
|
51916
|
-
# nondefault VPC, you must use security group IDs instead.
|
51930
|
+
# \[EC2-Classic, default VPC\] The names of the security groups.
|
51917
51931
|
#
|
51918
51932
|
# If you specify a network interface, you must specify any security
|
51919
51933
|
# groups as part of the network interface.
|
@@ -54762,7 +54776,7 @@ module Aws::EC2
|
|
54762
54776
|
params: params,
|
54763
54777
|
config: config)
|
54764
54778
|
context[:gem_name] = 'aws-sdk-ec2'
|
54765
|
-
context[:gem_version] = '1.
|
54779
|
+
context[:gem_version] = '1.357.0'
|
54766
54780
|
Seahorse::Client::Request.new(handlers, context)
|
54767
54781
|
end
|
54768
54782
|
|