aws-sdk-ec2 1.356.0 → 1.358.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 +13 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +126 -131
- data/lib/aws-sdk-ec2/endpoint_provider.rb +38 -99
- data/lib/aws-sdk-ec2/placement_group.rb +6 -3
- data/lib/aws-sdk-ec2/resource.rb +7 -5
- 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 +198 -199
- data/lib/aws-sdk-ec2/vpc.rb +6 -3
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fcd250980646af7ee556c47f9fe8ce1b861bd81f61d21f0dcf1b0ea0ab5134ff
|
4
|
+
data.tar.gz: 82c50019b406c593907d3ec4590825f1e8e8e46975f27890b6bc4888a8620d2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff777192ab420d8938378d1be4111924dc6f781e128746de7e71af007a38ee0c8535f29b0df7be27d45c44e74cb6127459b18c4b02bd4bacdda90bda90dbec10
|
7
|
+
data.tar.gz: 51e12c9257b0c0760901149a97c6e27d9487ea26b293410815365e18bc3064028b097b75aaaebf25b0189d1ca2ff249a49a14725cae1cc80859ac59442195dd0
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.358.0 (2023-01-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
10
|
+
|
11
|
+
1.357.0 (2023-01-13)
|
12
|
+
------------------
|
13
|
+
|
14
|
+
* Feature - Documentation updates for EC2.
|
15
|
+
|
4
16
|
1.356.0 (2022-12-20)
|
5
17
|
------------------
|
6
18
|
|
@@ -1894,4 +1906,4 @@ Unreleased Changes
|
|
1894
1906
|
1.0.0.rc1 (2016-12-05)
|
1895
1907
|
------------------
|
1896
1908
|
|
1897
|
-
* Feature - Initial preview release of the `aws-sdk-ec2` gem.
|
1909
|
+
* Feature - Initial preview release of the `aws-sdk-ec2` gem.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.358.0
|
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.
|
@@ -5037,8 +5038,8 @@ module Aws::EC2
|
|
5037
5038
|
# IP addresses. The address range cannot overlap with the local CIDR of
|
5038
5039
|
# the VPC in which the associated subnet is located, or the routes that
|
5039
5040
|
# you add manually. The address range cannot be changed after the Client
|
5040
|
-
# VPN endpoint has been created.
|
5041
|
-
# 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.
|
5042
5043
|
#
|
5043
5044
|
# @option params [required, String] :server_certificate_arn
|
5044
5045
|
# The ARN of the server certificate. For more information, see the
|
@@ -11161,19 +11162,24 @@ module Aws::EC2
|
|
11161
11162
|
req.send_request(options)
|
11162
11163
|
end
|
11163
11164
|
|
11164
|
-
# 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.
|
11165
11170
|
#
|
11166
|
-
#
|
11167
|
-
# subnet, you can't change its
|
11168
|
-
#
|
11169
|
-
# addresses). The CIDR block must not overlap with the CIDR block of an
|
11170
|
-
# 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.
|
11171
11174
|
#
|
11172
|
-
#
|
11173
|
-
#
|
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.
|
11174
11179
|
#
|
11175
|
-
#
|
11176
|
-
#
|
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.
|
11177
11183
|
#
|
11178
11184
|
# If you add more than one subnet to a VPC, they're set up in a star
|
11179
11185
|
# topology with a logical router in the middle.
|
@@ -11183,12 +11189,12 @@ module Aws::EC2
|
|
11183
11189
|
# instances (they're all stopped), but no remaining IP addresses
|
11184
11190
|
# available.
|
11185
11191
|
#
|
11186
|
-
# For more information
|
11187
|
-
#
|
11192
|
+
# For more information, see [Subnets][1] in the *Amazon Virtual Private
|
11193
|
+
# Cloud User Guide*.
|
11188
11194
|
#
|
11189
11195
|
#
|
11190
11196
|
#
|
11191
|
-
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/
|
11197
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/configure-subnets.html
|
11192
11198
|
#
|
11193
11199
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
11194
11200
|
# The tags to assign to the subnet.
|
@@ -13540,20 +13546,18 @@ module Aws::EC2
|
|
13540
13546
|
req.send_request(options)
|
13541
13547
|
end
|
13542
13548
|
|
13543
|
-
# Creates a VPC with the specified
|
13544
|
-
#
|
13545
|
-
#
|
13546
|
-
# how large to make your VPC, see [Your VPC and subnets][1] in the
|
13547
|
-
# *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*.
|
13548
13552
|
#
|
13549
13553
|
# You can optionally request an IPv6 CIDR block for the VPC. You can
|
13550
13554
|
# request an Amazon-provided IPv6 CIDR block from Amazon's pool of IPv6
|
13551
13555
|
# addresses, or an IPv6 CIDR block from an IPv6 address pool that you
|
13552
13556
|
# provisioned through bring your own IP addresses ([BYOIP][2]).
|
13553
13557
|
#
|
13554
|
-
# By default, each instance you launch in the VPC has the default
|
13555
|
-
# options, which include only a default DNS server that we provide
|
13556
|
-
# (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]
|
13557
13561
|
# in the *Amazon Virtual Private Cloud User Guide*.
|
13558
13562
|
#
|
13559
13563
|
# You can specify the instance tenancy value for the VPC when you create
|
@@ -13563,7 +13567,7 @@ module Aws::EC2
|
|
13563
13567
|
#
|
13564
13568
|
#
|
13565
13569
|
#
|
13566
|
-
# [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
|
13567
13571
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html
|
13568
13572
|
# [3]: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_DHCP_Options.html
|
13569
13573
|
# [4]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-instance.html
|
@@ -13768,12 +13772,10 @@ module Aws::EC2
|
|
13768
13772
|
# Default: Gateway
|
13769
13773
|
#
|
13770
13774
|
# @option params [required, String] :vpc_id
|
13771
|
-
# The ID of the VPC
|
13775
|
+
# The ID of the VPC for the endpoint.
|
13772
13776
|
#
|
13773
13777
|
# @option params [required, String] :service_name
|
13774
|
-
# The service name.
|
13775
|
-
# DescribeVpcEndpointServices request, or get the name from the service
|
13776
|
-
# provider.
|
13778
|
+
# The service name.
|
13777
13779
|
#
|
13778
13780
|
# @option params [String] :policy_document
|
13779
13781
|
# (Interface and gateway endpoints) A policy to attach to the endpoint
|
@@ -13782,16 +13784,17 @@ module Aws::EC2
|
|
13782
13784
|
# that allows full access to the service.
|
13783
13785
|
#
|
13784
13786
|
# @option params [Array<String>] :route_table_ids
|
13785
|
-
# (Gateway endpoint)
|
13787
|
+
# (Gateway endpoint) The route table IDs.
|
13786
13788
|
#
|
13787
13789
|
# @option params [Array<String>] :subnet_ids
|
13788
|
-
# (Interface and Gateway Load Balancer endpoints) The
|
13789
|
-
#
|
13790
|
-
#
|
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.
|
13791
13793
|
#
|
13792
13794
|
# @option params [Array<String>] :security_group_ids
|
13793
|
-
# (Interface endpoint) The
|
13794
|
-
#
|
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.
|
13795
13798
|
#
|
13796
13799
|
# @option params [String] :ip_address_type
|
13797
13800
|
# The IP address type for the endpoint.
|
@@ -13932,8 +13935,8 @@ module Aws::EC2
|
|
13932
13935
|
# The ARN of the SNS topic for the notifications.
|
13933
13936
|
#
|
13934
13937
|
# @option params [required, Array<String>] :connection_events
|
13935
|
-
#
|
13936
|
-
#
|
13938
|
+
# The endpoint events for which to receive notifications. Valid values
|
13939
|
+
# are `Accept`, `Connect`, `Delete`, and `Reject`.
|
13937
13940
|
#
|
13938
13941
|
# @option params [String] :client_token
|
13939
13942
|
# Unique, case-sensitive identifier that you provide to ensure the
|
@@ -13982,7 +13985,7 @@ module Aws::EC2
|
|
13982
13985
|
end
|
13983
13986
|
|
13984
13987
|
# Creates a VPC endpoint service to which service consumers (Amazon Web
|
13985
|
-
# Services accounts,
|
13988
|
+
# Services accounts, users, and IAM roles) can connect.
|
13986
13989
|
#
|
13987
13990
|
# Before you create an endpoint service, you must create one of the
|
13988
13991
|
# following for your service:
|
@@ -14020,12 +14023,10 @@ module Aws::EC2
|
|
14020
14023
|
# the VPC endpoint service.
|
14021
14024
|
#
|
14022
14025
|
# @option params [Array<String>] :network_load_balancer_arns
|
14023
|
-
# The Amazon Resource Names (ARNs) of
|
14024
|
-
# for your service.
|
14026
|
+
# The Amazon Resource Names (ARNs) of the Network Load Balancers.
|
14025
14027
|
#
|
14026
14028
|
# @option params [Array<String>] :gateway_load_balancer_arns
|
14027
|
-
# The Amazon Resource Names (ARNs) of
|
14028
|
-
# Balancers.
|
14029
|
+
# The Amazon Resource Names (ARNs) of the Gateway Load Balancers.
|
14029
14030
|
#
|
14030
14031
|
# @option params [Array<String>] :supported_ip_address_types
|
14031
14032
|
# The supported IP address types. The possible values are `ipv4` and
|
@@ -17725,7 +17726,7 @@ module Aws::EC2
|
|
17725
17726
|
req.send_request(options)
|
17726
17727
|
end
|
17727
17728
|
|
17728
|
-
# Deletes
|
17729
|
+
# Deletes the specified VPC endpoint connection notifications.
|
17729
17730
|
#
|
17730
17731
|
# @option params [Boolean] :dry_run
|
17731
17732
|
# Checks whether you have the required permissions for the action,
|
@@ -17734,7 +17735,7 @@ module Aws::EC2
|
|
17734
17735
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
17735
17736
|
#
|
17736
17737
|
# @option params [required, Array<String>] :connection_notification_ids
|
17737
|
-
#
|
17738
|
+
# The IDs of the notifications.
|
17738
17739
|
#
|
17739
17740
|
# @return [Types::DeleteVpcEndpointConnectionNotificationsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
17740
17741
|
#
|
@@ -17763,10 +17764,10 @@ module Aws::EC2
|
|
17763
17764
|
req.send_request(options)
|
17764
17765
|
end
|
17765
17766
|
|
17766
|
-
# Deletes
|
17767
|
-
#
|
17768
|
-
#
|
17769
|
-
#
|
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.
|
17770
17771
|
#
|
17771
17772
|
# @option params [Boolean] :dry_run
|
17772
17773
|
# Checks whether you have the required permissions for the action,
|
@@ -17775,7 +17776,7 @@ module Aws::EC2
|
|
17775
17776
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
17776
17777
|
#
|
17777
17778
|
# @option params [required, Array<String>] :service_ids
|
17778
|
-
# The IDs of
|
17779
|
+
# The IDs of the services.
|
17779
17780
|
#
|
17780
17781
|
# @return [Types::DeleteVpcEndpointServiceConfigurationsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
17781
17782
|
#
|
@@ -17804,28 +17805,18 @@ module Aws::EC2
|
|
17804
17805
|
req.send_request(options)
|
17805
17806
|
end
|
17806
17807
|
|
17807
|
-
# Deletes
|
17808
|
-
# following types of VPC endpoints.
|
17808
|
+
# Deletes the specified VPC endpoints.
|
17809
17809
|
#
|
17810
|
-
#
|
17810
|
+
# When you delete a gateway endpoint, we delete the endpoint routes in
|
17811
|
+
# the route tables for the endpoint.
|
17811
17812
|
#
|
17812
|
-
#
|
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.
|
17813
17817
|
#
|
17814
|
-
#
|
17815
|
-
#
|
17816
|
-
# The following rules apply when you delete a VPC endpoint:
|
17817
|
-
#
|
17818
|
-
# * When you delete a gateway endpoint, we delete the endpoint routes in
|
17819
|
-
# the route tables that are associated with the endpoint.
|
17820
|
-
#
|
17821
|
-
# * When you delete a Gateway Load Balancer endpoint, we delete the
|
17822
|
-
# endpoint network interfaces.
|
17823
|
-
#
|
17824
|
-
# You can only delete Gateway Load Balancer endpoints when the routes
|
17825
|
-
# that are associated with the endpoint are deleted.
|
17826
|
-
#
|
17827
|
-
# * When you delete an interface endpoint, we delete the endpoint
|
17828
|
-
# network interfaces.
|
17818
|
+
# When you delete an interface endpoint, we delete its endpoint network
|
17819
|
+
# interfaces.
|
17829
17820
|
#
|
17830
17821
|
# @option params [Boolean] :dry_run
|
17831
17822
|
# Checks whether you have the required permissions for the action,
|
@@ -17834,7 +17825,7 @@ module Aws::EC2
|
|
17834
17825
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
17835
17826
|
#
|
17836
17827
|
# @option params [required, Array<String>] :vpc_endpoint_ids
|
17837
|
-
#
|
17828
|
+
# The IDs of the VPC endpoints.
|
17838
17829
|
#
|
17839
17830
|
# @return [Types::DeleteVpcEndpointsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
17840
17831
|
#
|
@@ -23870,12 +23861,15 @@ module Aws::EC2
|
|
23870
23861
|
# * `metadata-options.http-tokens` - The metadata request authorization
|
23871
23862
|
# state (`optional` \| `required`)
|
23872
23863
|
#
|
23873
|
-
# * `metadata-options.http-put-response-hop-limit` - The
|
23864
|
+
# * `metadata-options.http-put-response-hop-limit` - The HTTP metadata
|
23874
23865
|
# request put response hop limit (integer, possible values `1` to
|
23875
23866
|
# `64`)
|
23876
23867
|
#
|
23877
|
-
# * `metadata-options.http-endpoint` -
|
23878
|
-
# 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`)
|
23879
23873
|
#
|
23880
23874
|
# * `monitoring-state` - Indicates whether detailed monitoring is
|
23881
23875
|
# enabled (`disabled` \| `enabled`).
|
@@ -34306,7 +34300,7 @@ module Aws::EC2
|
|
34306
34300
|
# The ID of the notification.
|
34307
34301
|
#
|
34308
34302
|
# @option params [Array<Types::Filter>] :filters
|
34309
|
-
#
|
34303
|
+
# The filters.
|
34310
34304
|
#
|
34311
34305
|
# * `connection-notification-arn` - The ARN of the SNS topic for the
|
34312
34306
|
# notification.
|
@@ -34384,7 +34378,7 @@ module Aws::EC2
|
|
34384
34378
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
34385
34379
|
#
|
34386
34380
|
# @option params [Array<Types::Filter>] :filters
|
34387
|
-
#
|
34381
|
+
# The filters.
|
34388
34382
|
#
|
34389
34383
|
# * `ip-address-type` - The IP address type (`ipv4` \| `ipv6`).
|
34390
34384
|
#
|
@@ -34471,10 +34465,10 @@ module Aws::EC2
|
|
34471
34465
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
34472
34466
|
#
|
34473
34467
|
# @option params [Array<String>] :service_ids
|
34474
|
-
# The IDs of
|
34468
|
+
# The IDs of the endpoint services.
|
34475
34469
|
#
|
34476
34470
|
# @option params [Array<Types::Filter>] :filters
|
34477
|
-
#
|
34471
|
+
# The filters.
|
34478
34472
|
#
|
34479
34473
|
# * `service-name` - The name of the service.
|
34480
34474
|
#
|
@@ -34581,7 +34575,7 @@ module Aws::EC2
|
|
34581
34575
|
# The ID of the service.
|
34582
34576
|
#
|
34583
34577
|
# @option params [Array<Types::Filter>] :filters
|
34584
|
-
#
|
34578
|
+
# The filters.
|
34585
34579
|
#
|
34586
34580
|
# * `principal` - The ARN of the principal.
|
34587
34581
|
#
|
@@ -34658,10 +34652,10 @@ module Aws::EC2
|
|
34658
34652
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
34659
34653
|
#
|
34660
34654
|
# @option params [Array<String>] :service_names
|
34661
|
-
#
|
34655
|
+
# The service names.
|
34662
34656
|
#
|
34663
34657
|
# @option params [Array<Types::Filter>] :filters
|
34664
|
-
#
|
34658
|
+
# The filters.
|
34665
34659
|
#
|
34666
34660
|
# * `owner` - The ID or alias of the Amazon Web Services account that
|
34667
34661
|
# owns the service.
|
@@ -34755,7 +34749,7 @@ module Aws::EC2
|
|
34755
34749
|
req.send_request(options)
|
34756
34750
|
end
|
34757
34751
|
|
34758
|
-
# Describes
|
34752
|
+
# Describes your VPC endpoints.
|
34759
34753
|
#
|
34760
34754
|
# @option params [Boolean] :dry_run
|
34761
34755
|
# Checks whether you have the required permissions for the action,
|
@@ -34764,10 +34758,10 @@ module Aws::EC2
|
|
34764
34758
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
34765
34759
|
#
|
34766
34760
|
# @option params [Array<String>] :vpc_endpoint_ids
|
34767
|
-
#
|
34761
|
+
# The IDs of the VPC endpoints.
|
34768
34762
|
#
|
34769
34763
|
# @option params [Array<Types::Filter>] :filters
|
34770
|
-
#
|
34764
|
+
# The filters.
|
34771
34765
|
#
|
34772
34766
|
# * `ip-address-type` - The IP address type (`ipv4` \| `ipv6`).
|
34773
34767
|
#
|
@@ -43795,21 +43789,23 @@ module Aws::EC2
|
|
43795
43789
|
# The ID of the instance.
|
43796
43790
|
#
|
43797
43791
|
# @option params [String] :http_tokens
|
43798
|
-
#
|
43799
|
-
#
|
43800
|
-
# `
|
43801
|
-
#
|
43802
|
-
#
|
43803
|
-
#
|
43804
|
-
#
|
43805
|
-
#
|
43806
|
-
#
|
43807
|
-
#
|
43808
|
-
#
|
43809
|
-
#
|
43810
|
-
#
|
43811
|
-
#
|
43812
|
-
#
|
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`
|
43813
43809
|
#
|
43814
43810
|
# @option params [Integer] :http_put_response_hop_limit
|
43815
43811
|
# The desired HTTP PUT response hop limit for instance metadata
|
@@ -46669,28 +46665,28 @@ module Aws::EC2
|
|
46669
46665
|
# format.
|
46670
46666
|
#
|
46671
46667
|
# @option params [Array<String>] :add_route_table_ids
|
46672
|
-
# (Gateway endpoint)
|
46668
|
+
# (Gateway endpoint) The IDs of the route tables to associate with the
|
46673
46669
|
# endpoint.
|
46674
46670
|
#
|
46675
46671
|
# @option params [Array<String>] :remove_route_table_ids
|
46676
|
-
# (Gateway endpoint)
|
46672
|
+
# (Gateway endpoint) The IDs of the route tables to disassociate from
|
46677
46673
|
# the endpoint.
|
46678
46674
|
#
|
46679
46675
|
# @option params [Array<String>] :add_subnet_ids
|
46680
|
-
# (Interface and Gateway Load Balancer endpoints)
|
46676
|
+
# (Interface and Gateway Load Balancer endpoints) The IDs of the subnets
|
46681
46677
|
# in which to serve the endpoint. For a Gateway Load Balancer endpoint,
|
46682
46678
|
# you can specify only one subnet.
|
46683
46679
|
#
|
46684
46680
|
# @option params [Array<String>] :remove_subnet_ids
|
46685
|
-
# (Interface endpoint)
|
46681
|
+
# (Interface endpoint) The IDs of the subnets from which to remove the
|
46686
46682
|
# endpoint.
|
46687
46683
|
#
|
46688
46684
|
# @option params [Array<String>] :add_security_group_ids
|
46689
|
-
# (Interface endpoint)
|
46685
|
+
# (Interface endpoint) The IDs of the security groups to associate with
|
46690
46686
|
# the network interface.
|
46691
46687
|
#
|
46692
46688
|
# @option params [Array<String>] :remove_security_group_ids
|
46693
|
-
# (Interface endpoint)
|
46689
|
+
# (Interface endpoint) The IDs of the security groups to disassociate
|
46694
46690
|
# from the network interface.
|
46695
46691
|
#
|
46696
46692
|
# @option params [String] :ip_address_type
|
@@ -46757,8 +46753,8 @@ module Aws::EC2
|
|
46757
46753
|
# The ARN for the SNS topic for the notification.
|
46758
46754
|
#
|
46759
46755
|
# @option params [Array<String>] :connection_events
|
46760
|
-
#
|
46761
|
-
# `
|
46756
|
+
# The events for the endpoint. Valid values are `Accept`, `Connect`,
|
46757
|
+
# `Delete`, and `Reject`.
|
46762
46758
|
#
|
46763
46759
|
# @return [Types::ModifyVpcEndpointConnectionNotificationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
46764
46760
|
#
|
@@ -46913,8 +46909,8 @@ module Aws::EC2
|
|
46913
46909
|
end
|
46914
46910
|
|
46915
46911
|
# Modifies the permissions for your VPC endpoint service. You can add or
|
46916
|
-
# remove permissions for service consumers (
|
46917
|
-
#
|
46912
|
+
# remove permissions for service consumers (Amazon Web Services
|
46913
|
+
# accounts, users, and IAM roles) to connect to your endpoint service.
|
46918
46914
|
#
|
46919
46915
|
# If you grant permissions to all principals, the service is public. Any
|
46920
46916
|
# users who know the name of a public service can send a request to
|
@@ -46931,13 +46927,13 @@ module Aws::EC2
|
|
46931
46927
|
# The ID of the service.
|
46932
46928
|
#
|
46933
46929
|
# @option params [Array<String>] :add_allowed_principals
|
46934
|
-
# The Amazon Resource Names (ARN) of
|
46935
|
-
#
|
46936
|
-
#
|
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 (*).
|
46937
46933
|
#
|
46938
46934
|
# @option params [Array<String>] :remove_allowed_principals
|
46939
|
-
# The Amazon Resource Names (ARN) of
|
46940
|
-
#
|
46935
|
+
# The Amazon Resource Names (ARN) of the principals. Permissions are
|
46936
|
+
# revoked for principals in this list.
|
46941
46937
|
#
|
46942
46938
|
# @return [Types::ModifyVpcEndpointServicePermissionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
46943
46939
|
#
|
@@ -49012,8 +49008,7 @@ module Aws::EC2
|
|
49012
49008
|
req.send_request(options)
|
49013
49009
|
end
|
49014
49010
|
|
49015
|
-
# Rejects
|
49016
|
-
# endpoint service.
|
49011
|
+
# Rejects VPC endpoint connection requests to your VPC endpoint service.
|
49017
49012
|
#
|
49018
49013
|
# @option params [Boolean] :dry_run
|
49019
49014
|
# Checks whether you have the required permissions for the action,
|
@@ -49025,7 +49020,7 @@ module Aws::EC2
|
|
49025
49020
|
# The ID of the service.
|
49026
49021
|
#
|
49027
49022
|
# @option params [required, Array<String>] :vpc_endpoint_ids
|
49028
|
-
# The IDs of
|
49023
|
+
# The IDs of the VPC endpoints.
|
49029
49024
|
#
|
49030
49025
|
# @return [Types::RejectVpcEndpointConnectionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
49031
49026
|
#
|
@@ -51582,8 +51577,9 @@ module Aws::EC2
|
|
51582
51577
|
# specifying a source security group.
|
51583
51578
|
#
|
51584
51579
|
# @option params [Integer] :from_port
|
51585
|
-
#
|
51586
|
-
#
|
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.
|
51587
51583
|
#
|
51588
51584
|
# @option params [String] :group_id
|
51589
51585
|
# The ID of the security group. You must specify either the security
|
@@ -51627,9 +51623,9 @@ module Aws::EC2
|
|
51627
51623
|
# permissions instead.
|
51628
51624
|
#
|
51629
51625
|
# @option params [Integer] :to_port
|
51630
|
-
#
|
51631
|
-
#
|
51632
|
-
#
|
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.
|
51633
51629
|
#
|
51634
51630
|
# @option params [Boolean] :dry_run
|
51635
51631
|
# Checks whether you have the required permissions for the action,
|
@@ -51931,8 +51927,7 @@ module Aws::EC2
|
|
51931
51927
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateSecurityGroup.html
|
51932
51928
|
#
|
51933
51929
|
# @option params [Array<String>] :security_groups
|
51934
|
-
# \[EC2-Classic, default VPC\] The names of the security groups.
|
51935
|
-
# nondefault VPC, you must use security group IDs instead.
|
51930
|
+
# \[EC2-Classic, default VPC\] The names of the security groups.
|
51936
51931
|
#
|
51937
51932
|
# If you specify a network interface, you must specify any security
|
51938
51933
|
# groups as part of the network interface.
|
@@ -54781,7 +54776,7 @@ module Aws::EC2
|
|
54781
54776
|
params: params,
|
54782
54777
|
config: config)
|
54783
54778
|
context[:gem_name] = 'aws-sdk-ec2'
|
54784
|
-
context[:gem_version] = '1.
|
54779
|
+
context[:gem_version] = '1.358.0'
|
54785
54780
|
Seahorse::Client::Request.new(handlers, context)
|
54786
54781
|
end
|
54787
54782
|
|