aws-sdk-ec2 1.371.0 → 1.373.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +124 -3
- data/lib/aws-sdk-ec2/client_api.rb +54 -1
- data/lib/aws-sdk-ec2/endpoint_provider.rb +0 -6
- data/lib/aws-sdk-ec2/endpoints.rb +28 -0
- data/lib/aws-sdk-ec2/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-ec2/resource.rb +12 -1
- data/lib/aws-sdk-ec2/subnet.rb +11 -0
- data/lib/aws-sdk-ec2/types.rb +170 -5
- 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: 2843ee2be76ff2b44d1d5392cb0ee48405b891b61cc92132b63a52fe75878306
|
4
|
+
data.tar.gz: 4a34c7f3b94e64a9b51730d7f220c00c124f4eed9fb5a34b1ab70265613db15f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4fce350e60b21f569a813a6d6c5878b080788c504cb69fcb1a72bc22d0e80f40713bd272bf94c4dd18afc4ab14f6bf190002444a2d09decb7dc8981a0d7ba133
|
7
|
+
data.tar.gz: 6f851039f449d28dba5df5b7361926ed71a60fcb8375e7c6de8fed0f46054e3e7d90364e9bf83f2421b48b81de0b6d33581b01592491ff0af9696387e30b669f
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.373.0 (2023-03-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Documentation updates for EC2 On Demand Capacity Reservations
|
8
|
+
|
9
|
+
1.372.0 (2023-03-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds support for Tunnel Endpoint Lifecycle control, a new feature that provides Site-to-Site VPN customers with better visibility and control of their VPN tunnel maintenance updates.
|
13
|
+
|
4
14
|
1.371.0 (2023-03-21)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.373.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -13915,7 +13915,7 @@ module Aws::EC2
|
|
13915
13915
|
# @example Request syntax with placeholder values
|
13916
13916
|
#
|
13917
13917
|
# resp = client.create_volume({
|
13918
|
-
# availability_zone: "
|
13918
|
+
# availability_zone: "AvailabilityZoneName", # required
|
13919
13919
|
# encrypted: false,
|
13920
13920
|
# iops: 1,
|
13921
13921
|
# kms_key_id: "KmsKeyId",
|
@@ -14783,6 +14783,7 @@ module Aws::EC2
|
|
14783
14783
|
# log_output_format: "String",
|
14784
14784
|
# },
|
14785
14785
|
# },
|
14786
|
+
# enable_tunnel_lifecycle_control: false,
|
14786
14787
|
# },
|
14787
14788
|
# ],
|
14788
14789
|
# local_ipv_4_network_cidr: "String",
|
@@ -14857,6 +14858,7 @@ module Aws::EC2
|
|
14857
14858
|
# resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_enabled #=> Boolean
|
14858
14859
|
# resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_group_arn #=> String
|
14859
14860
|
# resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_output_format #=> String
|
14861
|
+
# resp.vpn_connection.options.tunnel_options[0].enable_tunnel_lifecycle_control #=> Boolean
|
14860
14862
|
# resp.vpn_connection.routes #=> Array
|
14861
14863
|
# resp.vpn_connection.routes[0].destination_cidr_block #=> String
|
14862
14864
|
# resp.vpn_connection.routes[0].source #=> String, one of "Static"
|
@@ -36394,6 +36396,7 @@ module Aws::EC2
|
|
36394
36396
|
# resp.vpn_connections[0].options.tunnel_options[0].log_options.cloud_watch_log_options.log_enabled #=> Boolean
|
36395
36397
|
# resp.vpn_connections[0].options.tunnel_options[0].log_options.cloud_watch_log_options.log_group_arn #=> String
|
36396
36398
|
# resp.vpn_connections[0].options.tunnel_options[0].log_options.cloud_watch_log_options.log_output_format #=> String
|
36399
|
+
# resp.vpn_connections[0].options.tunnel_options[0].enable_tunnel_lifecycle_control #=> Boolean
|
36397
36400
|
# resp.vpn_connections[0].routes #=> Array
|
36398
36401
|
# resp.vpn_connections[0].routes[0].destination_cidr_block #=> String
|
36399
36402
|
# resp.vpn_connections[0].routes[0].source #=> String, one of "Static"
|
@@ -39864,7 +39867,9 @@ module Aws::EC2
|
|
39864
39867
|
# added.
|
39865
39868
|
#
|
39866
39869
|
# @option params [required, String] :capacity_reservation_id
|
39867
|
-
# The ID of the Capacity Reservation.
|
39870
|
+
# The ID of the Capacity Reservation. If you specify a Capacity
|
39871
|
+
# Reservation that is shared with you, the operation returns only
|
39872
|
+
# Capacity Reservation groups that you own.
|
39868
39873
|
#
|
39869
39874
|
# @option params [String] :next_token
|
39870
39875
|
# The token to use to retrieve the next page of results.
|
@@ -42630,6 +42635,57 @@ module Aws::EC2
|
|
42630
42635
|
req.send_request(options)
|
42631
42636
|
end
|
42632
42637
|
|
42638
|
+
# Get details of available tunnel endpoint maintenance.
|
42639
|
+
#
|
42640
|
+
# @option params [required, String] :vpn_connection_id
|
42641
|
+
# The ID of the Site-to-Site VPN connection.
|
42642
|
+
#
|
42643
|
+
# @option params [required, String] :vpn_tunnel_outside_ip_address
|
42644
|
+
# The external IP address of the VPN tunnel.
|
42645
|
+
#
|
42646
|
+
# @option params [Boolean] :dry_run
|
42647
|
+
# Checks whether you have the required permissions for the action,
|
42648
|
+
# without actually making the request, and provides an error response.
|
42649
|
+
# If you have the required permissions, the error response is
|
42650
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
42651
|
+
#
|
42652
|
+
# @return [Types::GetVpnTunnelReplacementStatusResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
42653
|
+
#
|
42654
|
+
# * {Types::GetVpnTunnelReplacementStatusResult#vpn_connection_id #vpn_connection_id} => String
|
42655
|
+
# * {Types::GetVpnTunnelReplacementStatusResult#transit_gateway_id #transit_gateway_id} => String
|
42656
|
+
# * {Types::GetVpnTunnelReplacementStatusResult#customer_gateway_id #customer_gateway_id} => String
|
42657
|
+
# * {Types::GetVpnTunnelReplacementStatusResult#vpn_gateway_id #vpn_gateway_id} => String
|
42658
|
+
# * {Types::GetVpnTunnelReplacementStatusResult#vpn_tunnel_outside_ip_address #vpn_tunnel_outside_ip_address} => String
|
42659
|
+
# * {Types::GetVpnTunnelReplacementStatusResult#maintenance_details #maintenance_details} => Types::MaintenanceDetails
|
42660
|
+
#
|
42661
|
+
# @example Request syntax with placeholder values
|
42662
|
+
#
|
42663
|
+
# resp = client.get_vpn_tunnel_replacement_status({
|
42664
|
+
# vpn_connection_id: "VpnConnectionId", # required
|
42665
|
+
# vpn_tunnel_outside_ip_address: "String", # required
|
42666
|
+
# dry_run: false,
|
42667
|
+
# })
|
42668
|
+
#
|
42669
|
+
# @example Response structure
|
42670
|
+
#
|
42671
|
+
# resp.vpn_connection_id #=> String
|
42672
|
+
# resp.transit_gateway_id #=> String
|
42673
|
+
# resp.customer_gateway_id #=> String
|
42674
|
+
# resp.vpn_gateway_id #=> String
|
42675
|
+
# resp.vpn_tunnel_outside_ip_address #=> String
|
42676
|
+
# resp.maintenance_details.pending_maintenance #=> String
|
42677
|
+
# resp.maintenance_details.maintenance_auto_applied_after #=> Time
|
42678
|
+
# resp.maintenance_details.last_maintenance_applied #=> Time
|
42679
|
+
#
|
42680
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetVpnTunnelReplacementStatus AWS API Documentation
|
42681
|
+
#
|
42682
|
+
# @overload get_vpn_tunnel_replacement_status(params = {})
|
42683
|
+
# @param [Hash] params ({})
|
42684
|
+
def get_vpn_tunnel_replacement_status(params = {}, options = {})
|
42685
|
+
req = build_request(:get_vpn_tunnel_replacement_status, params)
|
42686
|
+
req.send_request(options)
|
42687
|
+
end
|
42688
|
+
|
42633
42689
|
# Uploads a client certificate revocation list to the specified Client
|
42634
42690
|
# VPN endpoint. Uploading a client certificate revocation list
|
42635
42691
|
# overwrites the existing client certificate revocation list.
|
@@ -48858,6 +48914,7 @@ module Aws::EC2
|
|
48858
48914
|
# resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_enabled #=> Boolean
|
48859
48915
|
# resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_group_arn #=> String
|
48860
48916
|
# resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_output_format #=> String
|
48917
|
+
# resp.vpn_connection.options.tunnel_options[0].enable_tunnel_lifecycle_control #=> Boolean
|
48861
48918
|
# resp.vpn_connection.routes #=> Array
|
48862
48919
|
# resp.vpn_connection.routes[0].destination_cidr_block #=> String
|
48863
48920
|
# resp.vpn_connection.routes[0].source #=> String, one of "Static"
|
@@ -48987,6 +49044,7 @@ module Aws::EC2
|
|
48987
49044
|
# resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_enabled #=> Boolean
|
48988
49045
|
# resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_group_arn #=> String
|
48989
49046
|
# resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_output_format #=> String
|
49047
|
+
# resp.vpn_connection.options.tunnel_options[0].enable_tunnel_lifecycle_control #=> Boolean
|
48990
49048
|
# resp.vpn_connection.routes #=> Array
|
48991
49049
|
# resp.vpn_connection.routes[0].destination_cidr_block #=> String
|
48992
49050
|
# resp.vpn_connection.routes[0].source #=> String, one of "Static"
|
@@ -49089,6 +49147,7 @@ module Aws::EC2
|
|
49089
49147
|
# resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_enabled #=> Boolean
|
49090
49148
|
# resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_group_arn #=> String
|
49091
49149
|
# resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_output_format #=> String
|
49150
|
+
# resp.vpn_connection.options.tunnel_options[0].enable_tunnel_lifecycle_control #=> Boolean
|
49092
49151
|
# resp.vpn_connection.routes #=> Array
|
49093
49152
|
# resp.vpn_connection.routes[0].destination_cidr_block #=> String
|
49094
49153
|
# resp.vpn_connection.routes[0].source #=> String, one of "Static"
|
@@ -49139,6 +49198,11 @@ module Aws::EC2
|
|
49139
49198
|
# If you have the required permissions, the error response is
|
49140
49199
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
49141
49200
|
#
|
49201
|
+
# @option params [Boolean] :skip_tunnel_replacement
|
49202
|
+
# Choose whether or not to trigger immediate tunnel replacement.
|
49203
|
+
#
|
49204
|
+
# Valid values: `True` \| `False`
|
49205
|
+
#
|
49142
49206
|
# @return [Types::ModifyVpnTunnelOptionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
49143
49207
|
#
|
49144
49208
|
# * {Types::ModifyVpnTunnelOptionsResult#vpn_connection #vpn_connection} => Types::VpnConnection
|
@@ -49202,8 +49266,10 @@ module Aws::EC2
|
|
49202
49266
|
# log_output_format: "String",
|
49203
49267
|
# },
|
49204
49268
|
# },
|
49269
|
+
# enable_tunnel_lifecycle_control: false,
|
49205
49270
|
# },
|
49206
49271
|
# dry_run: false,
|
49272
|
+
# skip_tunnel_replacement: false,
|
49207
49273
|
# })
|
49208
49274
|
#
|
49209
49275
|
# @example Response structure
|
@@ -49258,6 +49324,7 @@ module Aws::EC2
|
|
49258
49324
|
# resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_enabled #=> Boolean
|
49259
49325
|
# resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_group_arn #=> String
|
49260
49326
|
# resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_output_format #=> String
|
49327
|
+
# resp.vpn_connection.options.tunnel_options[0].enable_tunnel_lifecycle_control #=> Boolean
|
49261
49328
|
# resp.vpn_connection.routes #=> Array
|
49262
49329
|
# resp.vpn_connection.routes[0].destination_cidr_block #=> String
|
49263
49330
|
# resp.vpn_connection.routes[0].source #=> String, one of "Static"
|
@@ -51393,6 +51460,49 @@ module Aws::EC2
|
|
51393
51460
|
req.send_request(options)
|
51394
51461
|
end
|
51395
51462
|
|
51463
|
+
# Trigger replacement of specified VPN tunnel.
|
51464
|
+
#
|
51465
|
+
# @option params [required, String] :vpn_connection_id
|
51466
|
+
# The ID of the Site-to-Site VPN connection.
|
51467
|
+
#
|
51468
|
+
# @option params [required, String] :vpn_tunnel_outside_ip_address
|
51469
|
+
# The external IP address of the VPN tunnel.
|
51470
|
+
#
|
51471
|
+
# @option params [Boolean] :apply_pending_maintenance
|
51472
|
+
# Trigger pending tunnel endpoint maintenance.
|
51473
|
+
#
|
51474
|
+
# @option params [Boolean] :dry_run
|
51475
|
+
# Checks whether you have the required permissions for the action,
|
51476
|
+
# without actually making the request, and provides an error response.
|
51477
|
+
# If you have the required permissions, the error response is
|
51478
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
51479
|
+
#
|
51480
|
+
# @return [Types::ReplaceVpnTunnelResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
51481
|
+
#
|
51482
|
+
# * {Types::ReplaceVpnTunnelResult#return #return} => Boolean
|
51483
|
+
#
|
51484
|
+
# @example Request syntax with placeholder values
|
51485
|
+
#
|
51486
|
+
# resp = client.replace_vpn_tunnel({
|
51487
|
+
# vpn_connection_id: "VpnConnectionId", # required
|
51488
|
+
# vpn_tunnel_outside_ip_address: "String", # required
|
51489
|
+
# apply_pending_maintenance: false,
|
51490
|
+
# dry_run: false,
|
51491
|
+
# })
|
51492
|
+
#
|
51493
|
+
# @example Response structure
|
51494
|
+
#
|
51495
|
+
# resp.return #=> Boolean
|
51496
|
+
#
|
51497
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceVpnTunnel AWS API Documentation
|
51498
|
+
#
|
51499
|
+
# @overload replace_vpn_tunnel(params = {})
|
51500
|
+
# @param [Hash] params ({})
|
51501
|
+
def replace_vpn_tunnel(params = {}, options = {})
|
51502
|
+
req = build_request(:replace_vpn_tunnel, params)
|
51503
|
+
req.send_request(options)
|
51504
|
+
end
|
51505
|
+
|
51396
51506
|
# Submits feedback about the status of an instance. The instance must be
|
51397
51507
|
# in the `running` state. If your experience with the instance differs
|
51398
51508
|
# from the instance status returned by DescribeInstanceStatus, use
|
@@ -53699,6 +53809,17 @@ module Aws::EC2
|
|
53699
53809
|
# You cannot specify accelerators from different generations in the same
|
53700
53810
|
# request.
|
53701
53811
|
#
|
53812
|
+
# <note markdown="1"> Starting April 15, 2023, Amazon Web Services will not onboard new
|
53813
|
+
# customers to Amazon Elastic Inference (EI), and will help current
|
53814
|
+
# customers migrate their workloads to options that offer better price
|
53815
|
+
# and performance. After April 15, 2023, new customers will not be able
|
53816
|
+
# to launch instances with Amazon EI accelerators in Amazon SageMaker,
|
53817
|
+
# Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI
|
53818
|
+
# at least once during the past 30-day period are considered current
|
53819
|
+
# customers and will be able to continue using the service.
|
53820
|
+
#
|
53821
|
+
# </note>
|
53822
|
+
#
|
53702
53823
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
53703
53824
|
# The tags to apply to the resources that are created during instance
|
53704
53825
|
# launch.
|
@@ -56710,7 +56831,7 @@ module Aws::EC2
|
|
56710
56831
|
params: params,
|
56711
56832
|
config: config)
|
56712
56833
|
context[:gem_name] = 'aws-sdk-ec2'
|
56713
|
-
context[:gem_version] = '1.
|
56834
|
+
context[:gem_version] = '1.373.0'
|
56714
56835
|
Seahorse::Client::Request.new(handlers, context)
|
56715
56836
|
end
|
56716
56837
|
|
@@ -187,6 +187,7 @@ module Aws::EC2
|
|
187
187
|
AvailabilityZoneList = Shapes::ListShape.new(name: 'AvailabilityZoneList')
|
188
188
|
AvailabilityZoneMessage = Shapes::StructureShape.new(name: 'AvailabilityZoneMessage')
|
189
189
|
AvailabilityZoneMessageList = Shapes::ListShape.new(name: 'AvailabilityZoneMessageList')
|
190
|
+
AvailabilityZoneName = Shapes::StringShape.new(name: 'AvailabilityZoneName')
|
190
191
|
AvailabilityZoneOptInStatus = Shapes::StringShape.new(name: 'AvailabilityZoneOptInStatus')
|
191
192
|
AvailabilityZoneState = Shapes::StringShape.new(name: 'AvailabilityZoneState')
|
192
193
|
AvailabilityZoneStringList = Shapes::ListShape.new(name: 'AvailabilityZoneStringList')
|
@@ -1451,6 +1452,8 @@ module Aws::EC2
|
|
1451
1452
|
GetVpnConnectionDeviceSampleConfigurationResult = Shapes::StructureShape.new(name: 'GetVpnConnectionDeviceSampleConfigurationResult')
|
1452
1453
|
GetVpnConnectionDeviceTypesRequest = Shapes::StructureShape.new(name: 'GetVpnConnectionDeviceTypesRequest')
|
1453
1454
|
GetVpnConnectionDeviceTypesResult = Shapes::StructureShape.new(name: 'GetVpnConnectionDeviceTypesResult')
|
1455
|
+
GetVpnTunnelReplacementStatusRequest = Shapes::StructureShape.new(name: 'GetVpnTunnelReplacementStatusRequest')
|
1456
|
+
GetVpnTunnelReplacementStatusResult = Shapes::StructureShape.new(name: 'GetVpnTunnelReplacementStatusResult')
|
1454
1457
|
GpuDeviceCount = Shapes::IntegerShape.new(name: 'GpuDeviceCount')
|
1455
1458
|
GpuDeviceInfo = Shapes::StructureShape.new(name: 'GpuDeviceInfo')
|
1456
1459
|
GpuDeviceInfoList = Shapes::ListShape.new(name: 'GpuDeviceInfoList')
|
@@ -1913,6 +1916,7 @@ module Aws::EC2
|
|
1913
1916
|
LocationType = Shapes::StringShape.new(name: 'LocationType')
|
1914
1917
|
LogDestinationType = Shapes::StringShape.new(name: 'LogDestinationType')
|
1915
1918
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
1919
|
+
MaintenanceDetails = Shapes::StructureShape.new(name: 'MaintenanceDetails')
|
1916
1920
|
ManagedPrefixList = Shapes::StructureShape.new(name: 'ManagedPrefixList')
|
1917
1921
|
ManagedPrefixListSet = Shapes::ListShape.new(name: 'ManagedPrefixListSet')
|
1918
1922
|
MarketType = Shapes::StringShape.new(name: 'MarketType')
|
@@ -2353,6 +2357,8 @@ module Aws::EC2
|
|
2353
2357
|
ReplaceRouteTableAssociationResult = Shapes::StructureShape.new(name: 'ReplaceRouteTableAssociationResult')
|
2354
2358
|
ReplaceTransitGatewayRouteRequest = Shapes::StructureShape.new(name: 'ReplaceTransitGatewayRouteRequest')
|
2355
2359
|
ReplaceTransitGatewayRouteResult = Shapes::StructureShape.new(name: 'ReplaceTransitGatewayRouteResult')
|
2360
|
+
ReplaceVpnTunnelRequest = Shapes::StructureShape.new(name: 'ReplaceVpnTunnelRequest')
|
2361
|
+
ReplaceVpnTunnelResult = Shapes::StructureShape.new(name: 'ReplaceVpnTunnelResult')
|
2356
2362
|
ReplacementStrategy = Shapes::StringShape.new(name: 'ReplacementStrategy')
|
2357
2363
|
ReportInstanceReasonCodes = Shapes::StringShape.new(name: 'ReportInstanceReasonCodes')
|
2358
2364
|
ReportInstanceStatusRequest = Shapes::StructureShape.new(name: 'ReportInstanceStatusRequest')
|
@@ -5144,7 +5150,7 @@ module Aws::EC2
|
|
5144
5150
|
CreateVolumePermissionModifications.add_member(:remove, Shapes::ShapeRef.new(shape: CreateVolumePermissionList, location_name: "Remove"))
|
5145
5151
|
CreateVolumePermissionModifications.struct_class = Types::CreateVolumePermissionModifications
|
5146
5152
|
|
5147
|
-
CreateVolumeRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape:
|
5153
|
+
CreateVolumeRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZoneName, required: true, location_name: "AvailabilityZone"))
|
5148
5154
|
CreateVolumeRequest.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
|
5149
5155
|
CreateVolumeRequest.add_member(:iops, Shapes::ShapeRef.new(shape: Integer, location_name: "Iops"))
|
5150
5156
|
CreateVolumeRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
|
@@ -8911,6 +8917,19 @@ module Aws::EC2
|
|
8911
8917
|
GetVpnConnectionDeviceTypesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
8912
8918
|
GetVpnConnectionDeviceTypesResult.struct_class = Types::GetVpnConnectionDeviceTypesResult
|
8913
8919
|
|
8920
|
+
GetVpnTunnelReplacementStatusRequest.add_member(:vpn_connection_id, Shapes::ShapeRef.new(shape: VpnConnectionId, required: true, location_name: "VpnConnectionId"))
|
8921
|
+
GetVpnTunnelReplacementStatusRequest.add_member(:vpn_tunnel_outside_ip_address, Shapes::ShapeRef.new(shape: String, required: true, location_name: "VpnTunnelOutsideIpAddress"))
|
8922
|
+
GetVpnTunnelReplacementStatusRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
8923
|
+
GetVpnTunnelReplacementStatusRequest.struct_class = Types::GetVpnTunnelReplacementStatusRequest
|
8924
|
+
|
8925
|
+
GetVpnTunnelReplacementStatusResult.add_member(:vpn_connection_id, Shapes::ShapeRef.new(shape: VpnConnectionId, location_name: "vpnConnectionId"))
|
8926
|
+
GetVpnTunnelReplacementStatusResult.add_member(:transit_gateway_id, Shapes::ShapeRef.new(shape: TransitGatewayId, location_name: "transitGatewayId"))
|
8927
|
+
GetVpnTunnelReplacementStatusResult.add_member(:customer_gateway_id, Shapes::ShapeRef.new(shape: CustomerGatewayId, location_name: "customerGatewayId"))
|
8928
|
+
GetVpnTunnelReplacementStatusResult.add_member(:vpn_gateway_id, Shapes::ShapeRef.new(shape: VpnGatewayId, location_name: "vpnGatewayId"))
|
8929
|
+
GetVpnTunnelReplacementStatusResult.add_member(:vpn_tunnel_outside_ip_address, Shapes::ShapeRef.new(shape: String, location_name: "vpnTunnelOutsideIpAddress"))
|
8930
|
+
GetVpnTunnelReplacementStatusResult.add_member(:maintenance_details, Shapes::ShapeRef.new(shape: MaintenanceDetails, location_name: "maintenanceDetails"))
|
8931
|
+
GetVpnTunnelReplacementStatusResult.struct_class = Types::GetVpnTunnelReplacementStatusResult
|
8932
|
+
|
8914
8933
|
GpuDeviceInfo.add_member(:name, Shapes::ShapeRef.new(shape: GpuDeviceName, location_name: "name"))
|
8915
8934
|
GpuDeviceInfo.add_member(:manufacturer, Shapes::ShapeRef.new(shape: GpuDeviceManufacturerName, location_name: "manufacturer"))
|
8916
8935
|
GpuDeviceInfo.add_member(:count, Shapes::ShapeRef.new(shape: GpuDeviceCount, location_name: "count"))
|
@@ -10575,6 +10594,11 @@ module Aws::EC2
|
|
10575
10594
|
|
10576
10595
|
LocalStorageTypeSet.member = Shapes::ShapeRef.new(shape: LocalStorageType, location_name: "item")
|
10577
10596
|
|
10597
|
+
MaintenanceDetails.add_member(:pending_maintenance, Shapes::ShapeRef.new(shape: String, location_name: "pendingMaintenance"))
|
10598
|
+
MaintenanceDetails.add_member(:maintenance_auto_applied_after, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "maintenanceAutoAppliedAfter"))
|
10599
|
+
MaintenanceDetails.add_member(:last_maintenance_applied, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "lastMaintenanceApplied"))
|
10600
|
+
MaintenanceDetails.struct_class = Types::MaintenanceDetails
|
10601
|
+
|
10578
10602
|
ManagedPrefixList.add_member(:prefix_list_id, Shapes::ShapeRef.new(shape: PrefixListResourceId, location_name: "prefixListId"))
|
10579
10603
|
ManagedPrefixList.add_member(:address_family, Shapes::ShapeRef.new(shape: String, location_name: "addressFamily"))
|
10580
10604
|
ManagedPrefixList.add_member(:state, Shapes::ShapeRef.new(shape: PrefixListState, location_name: "state"))
|
@@ -11312,6 +11336,7 @@ module Aws::EC2
|
|
11312
11336
|
ModifyVpnTunnelOptionsRequest.add_member(:vpn_tunnel_outside_ip_address, Shapes::ShapeRef.new(shape: String, required: true, location_name: "VpnTunnelOutsideIpAddress"))
|
11313
11337
|
ModifyVpnTunnelOptionsRequest.add_member(:tunnel_options, Shapes::ShapeRef.new(shape: ModifyVpnTunnelOptionsSpecification, required: true, location_name: "TunnelOptions"))
|
11314
11338
|
ModifyVpnTunnelOptionsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
11339
|
+
ModifyVpnTunnelOptionsRequest.add_member(:skip_tunnel_replacement, Shapes::ShapeRef.new(shape: Boolean, location_name: "SkipTunnelReplacement"))
|
11315
11340
|
ModifyVpnTunnelOptionsRequest.struct_class = Types::ModifyVpnTunnelOptionsRequest
|
11316
11341
|
|
11317
11342
|
ModifyVpnTunnelOptionsResult.add_member(:vpn_connection, Shapes::ShapeRef.new(shape: VpnConnection, location_name: "vpnConnection"))
|
@@ -11336,6 +11361,7 @@ module Aws::EC2
|
|
11336
11361
|
ModifyVpnTunnelOptionsSpecification.add_member(:ike_versions, Shapes::ShapeRef.new(shape: IKEVersionsRequestList, location_name: "IKEVersion"))
|
11337
11362
|
ModifyVpnTunnelOptionsSpecification.add_member(:startup_action, Shapes::ShapeRef.new(shape: String, location_name: "StartupAction"))
|
11338
11363
|
ModifyVpnTunnelOptionsSpecification.add_member(:log_options, Shapes::ShapeRef.new(shape: VpnTunnelLogOptionsSpecification, location_name: "LogOptions"))
|
11364
|
+
ModifyVpnTunnelOptionsSpecification.add_member(:enable_tunnel_lifecycle_control, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableTunnelLifecycleControl"))
|
11339
11365
|
ModifyVpnTunnelOptionsSpecification.struct_class = Types::ModifyVpnTunnelOptionsSpecification
|
11340
11366
|
|
11341
11367
|
MonitorInstancesRequest.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIdStringList, required: true, location_name: "InstanceId"))
|
@@ -12333,6 +12359,15 @@ module Aws::EC2
|
|
12333
12359
|
ReplaceTransitGatewayRouteResult.add_member(:route, Shapes::ShapeRef.new(shape: TransitGatewayRoute, location_name: "route"))
|
12334
12360
|
ReplaceTransitGatewayRouteResult.struct_class = Types::ReplaceTransitGatewayRouteResult
|
12335
12361
|
|
12362
|
+
ReplaceVpnTunnelRequest.add_member(:vpn_connection_id, Shapes::ShapeRef.new(shape: VpnConnectionId, required: true, location_name: "VpnConnectionId"))
|
12363
|
+
ReplaceVpnTunnelRequest.add_member(:vpn_tunnel_outside_ip_address, Shapes::ShapeRef.new(shape: String, required: true, location_name: "VpnTunnelOutsideIpAddress"))
|
12364
|
+
ReplaceVpnTunnelRequest.add_member(:apply_pending_maintenance, Shapes::ShapeRef.new(shape: Boolean, location_name: "ApplyPendingMaintenance"))
|
12365
|
+
ReplaceVpnTunnelRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
12366
|
+
ReplaceVpnTunnelRequest.struct_class = Types::ReplaceVpnTunnelRequest
|
12367
|
+
|
12368
|
+
ReplaceVpnTunnelResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
12369
|
+
ReplaceVpnTunnelResult.struct_class = Types::ReplaceVpnTunnelResult
|
12370
|
+
|
12336
12371
|
ReportInstanceStatusRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
12337
12372
|
ReportInstanceStatusRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
12338
12373
|
ReportInstanceStatusRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "endTime"))
|
@@ -14176,6 +14211,7 @@ module Aws::EC2
|
|
14176
14211
|
TunnelOption.add_member(:ike_versions, Shapes::ShapeRef.new(shape: IKEVersionsList, location_name: "ikeVersionSet"))
|
14177
14212
|
TunnelOption.add_member(:startup_action, Shapes::ShapeRef.new(shape: String, location_name: "startupAction"))
|
14178
14213
|
TunnelOption.add_member(:log_options, Shapes::ShapeRef.new(shape: VpnTunnelLogOptions, location_name: "logOptions"))
|
14214
|
+
TunnelOption.add_member(:enable_tunnel_lifecycle_control, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableTunnelLifecycleControl"))
|
14179
14215
|
TunnelOption.struct_class = Types::TunnelOption
|
14180
14216
|
|
14181
14217
|
TunnelOptionsList.member = Shapes::ShapeRef.new(shape: TunnelOption, location_name: "item")
|
@@ -14796,6 +14832,7 @@ module Aws::EC2
|
|
14796
14832
|
VpnTunnelOptionsSpecification.add_member(:ike_versions, Shapes::ShapeRef.new(shape: IKEVersionsRequestList, location_name: "IKEVersion"))
|
14797
14833
|
VpnTunnelOptionsSpecification.add_member(:startup_action, Shapes::ShapeRef.new(shape: String, location_name: "StartupAction"))
|
14798
14834
|
VpnTunnelOptionsSpecification.add_member(:log_options, Shapes::ShapeRef.new(shape: VpnTunnelLogOptionsSpecification, location_name: "LogOptions"))
|
14835
|
+
VpnTunnelOptionsSpecification.add_member(:enable_tunnel_lifecycle_control, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableTunnelLifecycleControl"))
|
14799
14836
|
VpnTunnelOptionsSpecification.struct_class = Types::VpnTunnelOptionsSpecification
|
14800
14837
|
|
14801
14838
|
VpnTunnelOptionsSpecificationsList.member = Shapes::ShapeRef.new(shape: VpnTunnelOptionsSpecification)
|
@@ -19218,6 +19255,14 @@ module Aws::EC2
|
|
19218
19255
|
)
|
19219
19256
|
end)
|
19220
19257
|
|
19258
|
+
api.add_operation(:get_vpn_tunnel_replacement_status, Seahorse::Model::Operation.new.tap do |o|
|
19259
|
+
o.name = "GetVpnTunnelReplacementStatus"
|
19260
|
+
o.http_method = "POST"
|
19261
|
+
o.http_request_uri = "/"
|
19262
|
+
o.input = Shapes::ShapeRef.new(shape: GetVpnTunnelReplacementStatusRequest)
|
19263
|
+
o.output = Shapes::ShapeRef.new(shape: GetVpnTunnelReplacementStatusResult)
|
19264
|
+
end)
|
19265
|
+
|
19221
19266
|
api.add_operation(:import_client_vpn_client_certificate_revocation_list, Seahorse::Model::Operation.new.tap do |o|
|
19222
19267
|
o.name = "ImportClientVpnClientCertificateRevocationList"
|
19223
19268
|
o.http_method = "POST"
|
@@ -20030,6 +20075,14 @@ module Aws::EC2
|
|
20030
20075
|
o.output = Shapes::ShapeRef.new(shape: ReplaceTransitGatewayRouteResult)
|
20031
20076
|
end)
|
20032
20077
|
|
20078
|
+
api.add_operation(:replace_vpn_tunnel, Seahorse::Model::Operation.new.tap do |o|
|
20079
|
+
o.name = "ReplaceVpnTunnel"
|
20080
|
+
o.http_method = "POST"
|
20081
|
+
o.http_request_uri = "/"
|
20082
|
+
o.input = Shapes::ShapeRef.new(shape: ReplaceVpnTunnelRequest)
|
20083
|
+
o.output = Shapes::ShapeRef.new(shape: ReplaceVpnTunnelResult)
|
20084
|
+
end)
|
20085
|
+
|
20033
20086
|
api.add_operation(:report_instance_status, Seahorse::Model::Operation.new.tap do |o|
|
20034
20087
|
o.name = "ReportInstanceStatus"
|
20035
20088
|
o.http_method = "POST"
|
@@ -46,12 +46,6 @@ module Aws::EC2
|
|
46
46
|
end
|
47
47
|
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
48
48
|
end
|
49
|
-
if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-east-1")
|
50
|
-
return Aws::Endpoints::Endpoint.new(url: "https://ec2.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
|
51
|
-
end
|
52
|
-
if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-west-1")
|
53
|
-
return Aws::Endpoints::Endpoint.new(url: "https://ec2.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
|
54
|
-
end
|
55
49
|
return Aws::Endpoints::Endpoint.new(url: "https://ec2.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
56
50
|
end
|
57
51
|
end
|
@@ -6325,6 +6325,20 @@ module Aws::EC2
|
|
6325
6325
|
end
|
6326
6326
|
end
|
6327
6327
|
|
6328
|
+
class GetVpnTunnelReplacementStatus
|
6329
|
+
def self.build(context)
|
6330
|
+
unless context.config.regional_endpoint
|
6331
|
+
endpoint = context.config.endpoint.to_s
|
6332
|
+
end
|
6333
|
+
Aws::EC2::EndpointParameters.new(
|
6334
|
+
region: context.config.region,
|
6335
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
6336
|
+
use_fips: context.config.use_fips_endpoint,
|
6337
|
+
endpoint: endpoint,
|
6338
|
+
)
|
6339
|
+
end
|
6340
|
+
end
|
6341
|
+
|
6328
6342
|
class ImportClientVpnClientCertificateRevocationList
|
6329
6343
|
def self.build(context)
|
6330
6344
|
unless context.config.regional_endpoint
|
@@ -7725,6 +7739,20 @@ module Aws::EC2
|
|
7725
7739
|
end
|
7726
7740
|
end
|
7727
7741
|
|
7742
|
+
class ReplaceVpnTunnel
|
7743
|
+
def self.build(context)
|
7744
|
+
unless context.config.regional_endpoint
|
7745
|
+
endpoint = context.config.endpoint.to_s
|
7746
|
+
end
|
7747
|
+
Aws::EC2::EndpointParameters.new(
|
7748
|
+
region: context.config.region,
|
7749
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
7750
|
+
use_fips: context.config.use_fips_endpoint,
|
7751
|
+
endpoint: endpoint,
|
7752
|
+
)
|
7753
|
+
end
|
7754
|
+
end
|
7755
|
+
|
7728
7756
|
class ReportInstanceStatus
|
7729
7757
|
def self.build(context)
|
7730
7758
|
unless context.config.regional_endpoint
|
@@ -958,6 +958,8 @@ module Aws::EC2
|
|
958
958
|
Aws::EC2::Endpoints::GetVpnConnectionDeviceSampleConfiguration.build(context)
|
959
959
|
when :get_vpn_connection_device_types
|
960
960
|
Aws::EC2::Endpoints::GetVpnConnectionDeviceTypes.build(context)
|
961
|
+
when :get_vpn_tunnel_replacement_status
|
962
|
+
Aws::EC2::Endpoints::GetVpnTunnelReplacementStatus.build(context)
|
961
963
|
when :import_client_vpn_client_certificate_revocation_list
|
962
964
|
Aws::EC2::Endpoints::ImportClientVpnClientCertificateRevocationList.build(context)
|
963
965
|
when :import_image
|
@@ -1158,6 +1160,8 @@ module Aws::EC2
|
|
1158
1160
|
Aws::EC2::Endpoints::ReplaceRouteTableAssociation.build(context)
|
1159
1161
|
when :replace_transit_gateway_route
|
1160
1162
|
Aws::EC2::Endpoints::ReplaceTransitGatewayRoute.build(context)
|
1163
|
+
when :replace_vpn_tunnel
|
1164
|
+
Aws::EC2::Endpoints::ReplaceVpnTunnel.build(context)
|
1161
1165
|
when :report_instance_status
|
1162
1166
|
Aws::EC2::Endpoints::ReportInstanceStatus.build(context)
|
1163
1167
|
when :request_spot_fleet
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -482,6 +482,17 @@ module Aws::EC2
|
|
482
482
|
#
|
483
483
|
# You cannot specify accelerators from different generations in the same
|
484
484
|
# request.
|
485
|
+
#
|
486
|
+
# <note markdown="1"> Starting April 15, 2023, Amazon Web Services will not onboard new
|
487
|
+
# customers to Amazon Elastic Inference (EI), and will help current
|
488
|
+
# customers migrate their workloads to options that offer better price
|
489
|
+
# and performance. After April 15, 2023, new customers will not be able
|
490
|
+
# to launch instances with Amazon EI accelerators in Amazon SageMaker,
|
491
|
+
# Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI
|
492
|
+
# at least once during the past 30-day period are considered current
|
493
|
+
# customers and will be able to continue using the service.
|
494
|
+
#
|
495
|
+
# </note>
|
485
496
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
486
497
|
# The tags to apply to the resources that are created during instance
|
487
498
|
# launch.
|
@@ -1328,7 +1339,7 @@ module Aws::EC2
|
|
1328
1339
|
# @example Request syntax with placeholder values
|
1329
1340
|
#
|
1330
1341
|
# volume = ec2.create_volume({
|
1331
|
-
# availability_zone: "
|
1342
|
+
# availability_zone: "AvailabilityZoneName", # required
|
1332
1343
|
# encrypted: false,
|
1333
1344
|
# iops: 1,
|
1334
1345
|
# kms_key_id: "KmsKeyId",
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -701,6 +701,17 @@ module Aws::EC2
|
|
701
701
|
#
|
702
702
|
# You cannot specify accelerators from different generations in the same
|
703
703
|
# request.
|
704
|
+
#
|
705
|
+
# <note markdown="1"> Starting April 15, 2023, Amazon Web Services will not onboard new
|
706
|
+
# customers to Amazon Elastic Inference (EI), and will help current
|
707
|
+
# customers migrate their workloads to options that offer better price
|
708
|
+
# and performance. After April 15, 2023, new customers will not be able
|
709
|
+
# to launch instances with Amazon EI accelerators in Amazon SageMaker,
|
710
|
+
# Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI
|
711
|
+
# at least once during the past 30-day period are considered current
|
712
|
+
# customers and will be able to continue using the service.
|
713
|
+
#
|
714
|
+
# </note>
|
704
715
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
705
716
|
# The tags to apply to the resources that are created during instance
|
706
717
|
# launch.
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -32504,7 +32504,9 @@ module Aws::EC2
|
|
32504
32504
|
end
|
32505
32505
|
|
32506
32506
|
# @!attribute [rw] capacity_reservation_id
|
32507
|
-
# The ID of the Capacity Reservation.
|
32507
|
+
# The ID of the Capacity Reservation. If you specify a Capacity
|
32508
|
+
# Reservation that is shared with you, the operation returns only
|
32509
|
+
# Capacity Reservation groups that you own.
|
32508
32510
|
# @return [String]
|
32509
32511
|
#
|
32510
32512
|
# @!attribute [rw] next_token
|
@@ -34301,6 +34303,68 @@ module Aws::EC2
|
|
34301
34303
|
include Aws::Structure
|
34302
34304
|
end
|
34303
34305
|
|
34306
|
+
# @!attribute [rw] vpn_connection_id
|
34307
|
+
# The ID of the Site-to-Site VPN connection.
|
34308
|
+
# @return [String]
|
34309
|
+
#
|
34310
|
+
# @!attribute [rw] vpn_tunnel_outside_ip_address
|
34311
|
+
# The external IP address of the VPN tunnel.
|
34312
|
+
# @return [String]
|
34313
|
+
#
|
34314
|
+
# @!attribute [rw] dry_run
|
34315
|
+
# Checks whether you have the required permissions for the action,
|
34316
|
+
# without actually making the request, and provides an error response.
|
34317
|
+
# If you have the required permissions, the error response is
|
34318
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
34319
|
+
# @return [Boolean]
|
34320
|
+
#
|
34321
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetVpnTunnelReplacementStatusRequest AWS API Documentation
|
34322
|
+
#
|
34323
|
+
class GetVpnTunnelReplacementStatusRequest < Struct.new(
|
34324
|
+
:vpn_connection_id,
|
34325
|
+
:vpn_tunnel_outside_ip_address,
|
34326
|
+
:dry_run)
|
34327
|
+
SENSITIVE = []
|
34328
|
+
include Aws::Structure
|
34329
|
+
end
|
34330
|
+
|
34331
|
+
# @!attribute [rw] vpn_connection_id
|
34332
|
+
# The ID of the Site-to-Site VPN connection.
|
34333
|
+
# @return [String]
|
34334
|
+
#
|
34335
|
+
# @!attribute [rw] transit_gateway_id
|
34336
|
+
# The ID of the transit gateway associated with the VPN connection.
|
34337
|
+
# @return [String]
|
34338
|
+
#
|
34339
|
+
# @!attribute [rw] customer_gateway_id
|
34340
|
+
# The ID of the customer gateway.
|
34341
|
+
# @return [String]
|
34342
|
+
#
|
34343
|
+
# @!attribute [rw] vpn_gateway_id
|
34344
|
+
# The ID of the virtual private gateway.
|
34345
|
+
# @return [String]
|
34346
|
+
#
|
34347
|
+
# @!attribute [rw] vpn_tunnel_outside_ip_address
|
34348
|
+
# The external IP address of the VPN tunnel.
|
34349
|
+
# @return [String]
|
34350
|
+
#
|
34351
|
+
# @!attribute [rw] maintenance_details
|
34352
|
+
# Get details of pending tunnel endpoint maintenance.
|
34353
|
+
# @return [Types::MaintenanceDetails]
|
34354
|
+
#
|
34355
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetVpnTunnelReplacementStatusResult AWS API Documentation
|
34356
|
+
#
|
34357
|
+
class GetVpnTunnelReplacementStatusResult < Struct.new(
|
34358
|
+
:vpn_connection_id,
|
34359
|
+
:transit_gateway_id,
|
34360
|
+
:customer_gateway_id,
|
34361
|
+
:vpn_gateway_id,
|
34362
|
+
:vpn_tunnel_outside_ip_address,
|
34363
|
+
:maintenance_details)
|
34364
|
+
SENSITIVE = []
|
34365
|
+
include Aws::Structure
|
34366
|
+
end
|
34367
|
+
|
34304
34368
|
# Describes the GPU accelerators for the instance type.
|
34305
34369
|
#
|
34306
34370
|
# @!attribute [rw] name
|
@@ -43090,6 +43154,31 @@ module Aws::EC2
|
|
43090
43154
|
include Aws::Structure
|
43091
43155
|
end
|
43092
43156
|
|
43157
|
+
# Details for Site-to-Site VPN tunnel endpoint maintenance events.
|
43158
|
+
#
|
43159
|
+
# @!attribute [rw] pending_maintenance
|
43160
|
+
# Verify existence of a pending maintenance.
|
43161
|
+
# @return [String]
|
43162
|
+
#
|
43163
|
+
# @!attribute [rw] maintenance_auto_applied_after
|
43164
|
+
# The timestamp after which Amazon Web Services will automatically
|
43165
|
+
# apply maintenance.
|
43166
|
+
# @return [Time]
|
43167
|
+
#
|
43168
|
+
# @!attribute [rw] last_maintenance_applied
|
43169
|
+
# Timestamp of last applied maintenance.
|
43170
|
+
# @return [Time]
|
43171
|
+
#
|
43172
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MaintenanceDetails AWS API Documentation
|
43173
|
+
#
|
43174
|
+
class MaintenanceDetails < Struct.new(
|
43175
|
+
:pending_maintenance,
|
43176
|
+
:maintenance_auto_applied_after,
|
43177
|
+
:last_maintenance_applied)
|
43178
|
+
SENSITIVE = []
|
43179
|
+
include Aws::Structure
|
43180
|
+
end
|
43181
|
+
|
43093
43182
|
# Describes a managed prefix list.
|
43094
43183
|
#
|
43095
43184
|
# @!attribute [rw] prefix_list_id
|
@@ -47300,13 +47389,20 @@ module Aws::EC2
|
|
47300
47389
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
47301
47390
|
# @return [Boolean]
|
47302
47391
|
#
|
47392
|
+
# @!attribute [rw] skip_tunnel_replacement
|
47393
|
+
# Choose whether or not to trigger immediate tunnel replacement.
|
47394
|
+
#
|
47395
|
+
# Valid values: `True` \| `False`
|
47396
|
+
# @return [Boolean]
|
47397
|
+
#
|
47303
47398
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpnTunnelOptionsRequest AWS API Documentation
|
47304
47399
|
#
|
47305
47400
|
class ModifyVpnTunnelOptionsRequest < Struct.new(
|
47306
47401
|
:vpn_connection_id,
|
47307
47402
|
:vpn_tunnel_outside_ip_address,
|
47308
47403
|
:tunnel_options,
|
47309
|
-
:dry_run
|
47404
|
+
:dry_run,
|
47405
|
+
:skip_tunnel_replacement)
|
47310
47406
|
SENSITIVE = []
|
47311
47407
|
include Aws::Structure
|
47312
47408
|
end
|
@@ -47495,6 +47591,10 @@ module Aws::EC2
|
|
47495
47591
|
# Options for logging VPN tunnel activity.
|
47496
47592
|
# @return [Types::VpnTunnelLogOptionsSpecification]
|
47497
47593
|
#
|
47594
|
+
# @!attribute [rw] enable_tunnel_lifecycle_control
|
47595
|
+
# Turn on or off tunnel endpoint lifecycle control feature.
|
47596
|
+
# @return [Boolean]
|
47597
|
+
#
|
47498
47598
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpnTunnelOptionsSpecification AWS API Documentation
|
47499
47599
|
#
|
47500
47600
|
class ModifyVpnTunnelOptionsSpecification < Struct.new(
|
@@ -47516,7 +47616,8 @@ module Aws::EC2
|
|
47516
47616
|
:phase_2_dh_group_numbers,
|
47517
47617
|
:ike_versions,
|
47518
47618
|
:startup_action,
|
47519
|
-
:log_options
|
47619
|
+
:log_options,
|
47620
|
+
:enable_tunnel_lifecycle_control)
|
47520
47621
|
SENSITIVE = []
|
47521
47622
|
include Aws::Structure
|
47522
47623
|
end
|
@@ -52111,6 +52212,48 @@ module Aws::EC2
|
|
52111
52212
|
include Aws::Structure
|
52112
52213
|
end
|
52113
52214
|
|
52215
|
+
# @!attribute [rw] vpn_connection_id
|
52216
|
+
# The ID of the Site-to-Site VPN connection.
|
52217
|
+
# @return [String]
|
52218
|
+
#
|
52219
|
+
# @!attribute [rw] vpn_tunnel_outside_ip_address
|
52220
|
+
# The external IP address of the VPN tunnel.
|
52221
|
+
# @return [String]
|
52222
|
+
#
|
52223
|
+
# @!attribute [rw] apply_pending_maintenance
|
52224
|
+
# Trigger pending tunnel endpoint maintenance.
|
52225
|
+
# @return [Boolean]
|
52226
|
+
#
|
52227
|
+
# @!attribute [rw] dry_run
|
52228
|
+
# Checks whether you have the required permissions for the action,
|
52229
|
+
# without actually making the request, and provides an error response.
|
52230
|
+
# If you have the required permissions, the error response is
|
52231
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
52232
|
+
# @return [Boolean]
|
52233
|
+
#
|
52234
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceVpnTunnelRequest AWS API Documentation
|
52235
|
+
#
|
52236
|
+
class ReplaceVpnTunnelRequest < Struct.new(
|
52237
|
+
:vpn_connection_id,
|
52238
|
+
:vpn_tunnel_outside_ip_address,
|
52239
|
+
:apply_pending_maintenance,
|
52240
|
+
:dry_run)
|
52241
|
+
SENSITIVE = []
|
52242
|
+
include Aws::Structure
|
52243
|
+
end
|
52244
|
+
|
52245
|
+
# @!attribute [rw] return
|
52246
|
+
# Confirmation of replace tunnel operation.
|
52247
|
+
# @return [Boolean]
|
52248
|
+
#
|
52249
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceVpnTunnelResult AWS API Documentation
|
52250
|
+
#
|
52251
|
+
class ReplaceVpnTunnelResult < Struct.new(
|
52252
|
+
:return)
|
52253
|
+
SENSITIVE = []
|
52254
|
+
include Aws::Structure
|
52255
|
+
end
|
52256
|
+
|
52114
52257
|
# @!attribute [rw] description
|
52115
52258
|
# Descriptive text about the health state of your instance.
|
52116
52259
|
# @return [String]
|
@@ -54999,6 +55142,18 @@ module Aws::EC2
|
|
54999
55142
|
#
|
55000
55143
|
# You cannot specify accelerators from different generations in the
|
55001
55144
|
# same request.
|
55145
|
+
#
|
55146
|
+
# <note markdown="1"> Starting April 15, 2023, Amazon Web Services will not onboard new
|
55147
|
+
# customers to Amazon Elastic Inference (EI), and will help current
|
55148
|
+
# customers migrate their workloads to options that offer better price
|
55149
|
+
# and performance. After April 15, 2023, new customers will not be
|
55150
|
+
# able to launch instances with Amazon EI accelerators in Amazon
|
55151
|
+
# SageMaker, Amazon ECS, or Amazon EC2. However, customers who have
|
55152
|
+
# used Amazon EI at least once during the past 30-day period are
|
55153
|
+
# considered current customers and will be able to continue using the
|
55154
|
+
# service.
|
55155
|
+
#
|
55156
|
+
# </note>
|
55002
55157
|
# @return [Array<Types::ElasticInferenceAccelerator>]
|
55003
55158
|
#
|
55004
55159
|
# @!attribute [rw] tag_specifications
|
@@ -61672,6 +61827,10 @@ module Aws::EC2
|
|
61672
61827
|
# Options for logging VPN tunnel activity.
|
61673
61828
|
# @return [Types::VpnTunnelLogOptions]
|
61674
61829
|
#
|
61830
|
+
# @!attribute [rw] enable_tunnel_lifecycle_control
|
61831
|
+
# Status of tunnel endpoint lifecycle control feature.
|
61832
|
+
# @return [Boolean]
|
61833
|
+
#
|
61675
61834
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TunnelOption AWS API Documentation
|
61676
61835
|
#
|
61677
61836
|
class TunnelOption < Struct.new(
|
@@ -61694,7 +61853,8 @@ module Aws::EC2
|
|
61694
61853
|
:phase_2_dh_group_numbers,
|
61695
61854
|
:ike_versions,
|
61696
61855
|
:startup_action,
|
61697
|
-
:log_options
|
61856
|
+
:log_options,
|
61857
|
+
:enable_tunnel_lifecycle_control)
|
61698
61858
|
SENSITIVE = []
|
61699
61859
|
include Aws::Structure
|
61700
61860
|
end
|
@@ -64421,6 +64581,10 @@ module Aws::EC2
|
|
64421
64581
|
# Options for logging VPN tunnel activity.
|
64422
64582
|
# @return [Types::VpnTunnelLogOptionsSpecification]
|
64423
64583
|
#
|
64584
|
+
# @!attribute [rw] enable_tunnel_lifecycle_control
|
64585
|
+
# Turn on or off tunnel endpoint lifecycle control feature.
|
64586
|
+
# @return [Boolean]
|
64587
|
+
#
|
64424
64588
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpnTunnelOptionsSpecification AWS API Documentation
|
64425
64589
|
#
|
64426
64590
|
class VpnTunnelOptionsSpecification < Struct.new(
|
@@ -64442,7 +64606,8 @@ module Aws::EC2
|
|
64442
64606
|
:phase_2_dh_group_numbers,
|
64443
64607
|
:ike_versions,
|
64444
64608
|
:startup_action,
|
64445
|
-
:log_options
|
64609
|
+
:log_options,
|
64610
|
+
:enable_tunnel_lifecycle_control)
|
64446
64611
|
SENSITIVE = []
|
64447
64612
|
include Aws::Structure
|
64448
64613
|
end
|
data/lib/aws-sdk-ec2.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.373.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|