aws-sdk-ec2 1.371.0 → 1.372.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: faa921f791f57a7cadef4913ea8c52ed8c576c4028767eccb9486bd9469eafcb
4
- data.tar.gz: 2c628266d8e26a5a76db6e9c58a485f367c545fbbe23c1041a8b5d555caf06a2
3
+ metadata.gz: a91d47c1524d39c01b76e7f65383ab6f4704523557a7def82604fa44fa7f5927
4
+ data.tar.gz: 97d6953f1367677fb88e85b456e0dabd95e71cecf1d8aebc45b41d23a1d53b78
5
5
  SHA512:
6
- metadata.gz: d58ac2b1652a7044a6e02d7b8a8b47c928996df305ef2bcf48b6e53915db3091fe9a2746c42957baeaec0e20f0c6c2fd3019e20e4592653642b1182db771d88f
7
- data.tar.gz: d90d2e8707663559e31ac6e1e5943c345199222daa94f8f69799f6ce489a31a8f62b48472f902dac7c26da3c83ee08abfb356f46ebb25b860b9695c130304921
6
+ metadata.gz: 223046d91512e11ef61c7214c72e8b1087d5d0b67c93e8cefd30b305ec8cd965bbdd733480c53f56014368e96c16b5b49fc2a27d6fc7a3ef1c6f1bb5ae5c536b
7
+ data.tar.gz: 7c795dbc637a976499f0ddee89759774a6a78df799bbe2fb101807d48bd3b170637f2051ea2286880e4319d08ef79f55dcd8f055d35e73ab986741f29ff6372c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.372.0 (2023-03-30)
5
+ ------------------
6
+
7
+ * 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.
8
+
4
9
  1.371.0 (2023-03-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.371.0
1
+ 1.372.0
@@ -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: "String", # required
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"
@@ -42630,6 +42633,57 @@ module Aws::EC2
42630
42633
  req.send_request(options)
42631
42634
  end
42632
42635
 
42636
+ # Get details of available tunnel endpoint maintenance.
42637
+ #
42638
+ # @option params [required, String] :vpn_connection_id
42639
+ # The ID of the Site-to-Site VPN connection.
42640
+ #
42641
+ # @option params [required, String] :vpn_tunnel_outside_ip_address
42642
+ # The external IP address of the VPN tunnel.
42643
+ #
42644
+ # @option params [Boolean] :dry_run
42645
+ # Checks whether you have the required permissions for the action,
42646
+ # without actually making the request, and provides an error response.
42647
+ # If you have the required permissions, the error response is
42648
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
42649
+ #
42650
+ # @return [Types::GetVpnTunnelReplacementStatusResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
42651
+ #
42652
+ # * {Types::GetVpnTunnelReplacementStatusResult#vpn_connection_id #vpn_connection_id} => String
42653
+ # * {Types::GetVpnTunnelReplacementStatusResult#transit_gateway_id #transit_gateway_id} => String
42654
+ # * {Types::GetVpnTunnelReplacementStatusResult#customer_gateway_id #customer_gateway_id} => String
42655
+ # * {Types::GetVpnTunnelReplacementStatusResult#vpn_gateway_id #vpn_gateway_id} => String
42656
+ # * {Types::GetVpnTunnelReplacementStatusResult#vpn_tunnel_outside_ip_address #vpn_tunnel_outside_ip_address} => String
42657
+ # * {Types::GetVpnTunnelReplacementStatusResult#maintenance_details #maintenance_details} => Types::MaintenanceDetails
42658
+ #
42659
+ # @example Request syntax with placeholder values
42660
+ #
42661
+ # resp = client.get_vpn_tunnel_replacement_status({
42662
+ # vpn_connection_id: "VpnConnectionId", # required
42663
+ # vpn_tunnel_outside_ip_address: "String", # required
42664
+ # dry_run: false,
42665
+ # })
42666
+ #
42667
+ # @example Response structure
42668
+ #
42669
+ # resp.vpn_connection_id #=> String
42670
+ # resp.transit_gateway_id #=> String
42671
+ # resp.customer_gateway_id #=> String
42672
+ # resp.vpn_gateway_id #=> String
42673
+ # resp.vpn_tunnel_outside_ip_address #=> String
42674
+ # resp.maintenance_details.pending_maintenance #=> String
42675
+ # resp.maintenance_details.maintenance_auto_applied_after #=> Time
42676
+ # resp.maintenance_details.last_maintenance_applied #=> Time
42677
+ #
42678
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetVpnTunnelReplacementStatus AWS API Documentation
42679
+ #
42680
+ # @overload get_vpn_tunnel_replacement_status(params = {})
42681
+ # @param [Hash] params ({})
42682
+ def get_vpn_tunnel_replacement_status(params = {}, options = {})
42683
+ req = build_request(:get_vpn_tunnel_replacement_status, params)
42684
+ req.send_request(options)
42685
+ end
42686
+
42633
42687
  # Uploads a client certificate revocation list to the specified Client
42634
42688
  # VPN endpoint. Uploading a client certificate revocation list
42635
42689
  # overwrites the existing client certificate revocation list.
@@ -48858,6 +48912,7 @@ module Aws::EC2
48858
48912
  # resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_enabled #=> Boolean
48859
48913
  # resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_group_arn #=> String
48860
48914
  # resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_output_format #=> String
48915
+ # resp.vpn_connection.options.tunnel_options[0].enable_tunnel_lifecycle_control #=> Boolean
48861
48916
  # resp.vpn_connection.routes #=> Array
48862
48917
  # resp.vpn_connection.routes[0].destination_cidr_block #=> String
48863
48918
  # resp.vpn_connection.routes[0].source #=> String, one of "Static"
@@ -48987,6 +49042,7 @@ module Aws::EC2
48987
49042
  # resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_enabled #=> Boolean
48988
49043
  # resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_group_arn #=> String
48989
49044
  # resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_output_format #=> String
49045
+ # resp.vpn_connection.options.tunnel_options[0].enable_tunnel_lifecycle_control #=> Boolean
48990
49046
  # resp.vpn_connection.routes #=> Array
48991
49047
  # resp.vpn_connection.routes[0].destination_cidr_block #=> String
48992
49048
  # resp.vpn_connection.routes[0].source #=> String, one of "Static"
@@ -49089,6 +49145,7 @@ module Aws::EC2
49089
49145
  # resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_enabled #=> Boolean
49090
49146
  # resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_group_arn #=> String
49091
49147
  # resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_output_format #=> String
49148
+ # resp.vpn_connection.options.tunnel_options[0].enable_tunnel_lifecycle_control #=> Boolean
49092
49149
  # resp.vpn_connection.routes #=> Array
49093
49150
  # resp.vpn_connection.routes[0].destination_cidr_block #=> String
49094
49151
  # resp.vpn_connection.routes[0].source #=> String, one of "Static"
@@ -49139,6 +49196,11 @@ module Aws::EC2
49139
49196
  # If you have the required permissions, the error response is
49140
49197
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
49141
49198
  #
49199
+ # @option params [Boolean] :skip_tunnel_replacement
49200
+ # Choose whether or not to trigger immediate tunnel replacement.
49201
+ #
49202
+ # Valid values: `True` \| `False`
49203
+ #
49142
49204
  # @return [Types::ModifyVpnTunnelOptionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
49143
49205
  #
49144
49206
  # * {Types::ModifyVpnTunnelOptionsResult#vpn_connection #vpn_connection} => Types::VpnConnection
@@ -49202,8 +49264,10 @@ module Aws::EC2
49202
49264
  # log_output_format: "String",
49203
49265
  # },
49204
49266
  # },
49267
+ # enable_tunnel_lifecycle_control: false,
49205
49268
  # },
49206
49269
  # dry_run: false,
49270
+ # skip_tunnel_replacement: false,
49207
49271
  # })
49208
49272
  #
49209
49273
  # @example Response structure
@@ -49258,6 +49322,7 @@ module Aws::EC2
49258
49322
  # resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_enabled #=> Boolean
49259
49323
  # resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_group_arn #=> String
49260
49324
  # resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_output_format #=> String
49325
+ # resp.vpn_connection.options.tunnel_options[0].enable_tunnel_lifecycle_control #=> Boolean
49261
49326
  # resp.vpn_connection.routes #=> Array
49262
49327
  # resp.vpn_connection.routes[0].destination_cidr_block #=> String
49263
49328
  # resp.vpn_connection.routes[0].source #=> String, one of "Static"
@@ -51393,6 +51458,49 @@ module Aws::EC2
51393
51458
  req.send_request(options)
51394
51459
  end
51395
51460
 
51461
+ # Trigger replacement of specified VPN tunnel.
51462
+ #
51463
+ # @option params [required, String] :vpn_connection_id
51464
+ # The ID of the Site-to-Site VPN connection.
51465
+ #
51466
+ # @option params [required, String] :vpn_tunnel_outside_ip_address
51467
+ # The external IP address of the VPN tunnel.
51468
+ #
51469
+ # @option params [Boolean] :apply_pending_maintenance
51470
+ # Trigger pending tunnel endpoint maintenance.
51471
+ #
51472
+ # @option params [Boolean] :dry_run
51473
+ # Checks whether you have the required permissions for the action,
51474
+ # without actually making the request, and provides an error response.
51475
+ # If you have the required permissions, the error response is
51476
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
51477
+ #
51478
+ # @return [Types::ReplaceVpnTunnelResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
51479
+ #
51480
+ # * {Types::ReplaceVpnTunnelResult#return #return} => Boolean
51481
+ #
51482
+ # @example Request syntax with placeholder values
51483
+ #
51484
+ # resp = client.replace_vpn_tunnel({
51485
+ # vpn_connection_id: "VpnConnectionId", # required
51486
+ # vpn_tunnel_outside_ip_address: "String", # required
51487
+ # apply_pending_maintenance: false,
51488
+ # dry_run: false,
51489
+ # })
51490
+ #
51491
+ # @example Response structure
51492
+ #
51493
+ # resp.return #=> Boolean
51494
+ #
51495
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceVpnTunnel AWS API Documentation
51496
+ #
51497
+ # @overload replace_vpn_tunnel(params = {})
51498
+ # @param [Hash] params ({})
51499
+ def replace_vpn_tunnel(params = {}, options = {})
51500
+ req = build_request(:replace_vpn_tunnel, params)
51501
+ req.send_request(options)
51502
+ end
51503
+
51396
51504
  # Submits feedback about the status of an instance. The instance must be
51397
51505
  # in the `running` state. If your experience with the instance differs
51398
51506
  # from the instance status returned by DescribeInstanceStatus, use
@@ -56710,7 +56818,7 @@ module Aws::EC2
56710
56818
  params: params,
56711
56819
  config: config)
56712
56820
  context[:gem_name] = 'aws-sdk-ec2'
56713
- context[:gem_version] = '1.371.0'
56821
+ context[:gem_version] = '1.372.0'
56714
56822
  Seahorse::Client::Request.new(handlers, context)
56715
56823
  end
56716
56824
 
@@ -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: String, required: true, location_name: "AvailabilityZone"))
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
@@ -1328,7 +1328,7 @@ module Aws::EC2
1328
1328
  # @example Request syntax with placeholder values
1329
1329
  #
1330
1330
  # volume = ec2.create_volume({
1331
- # availability_zone: "String", # required
1331
+ # availability_zone: "AvailabilityZoneName", # required
1332
1332
  # encrypted: false,
1333
1333
  # iops: 1,
1334
1334
  # kms_key_id: "KmsKeyId",
@@ -34301,6 +34301,68 @@ module Aws::EC2
34301
34301
  include Aws::Structure
34302
34302
  end
34303
34303
 
34304
+ # @!attribute [rw] vpn_connection_id
34305
+ # The ID of the Site-to-Site VPN connection.
34306
+ # @return [String]
34307
+ #
34308
+ # @!attribute [rw] vpn_tunnel_outside_ip_address
34309
+ # The external IP address of the VPN tunnel.
34310
+ # @return [String]
34311
+ #
34312
+ # @!attribute [rw] dry_run
34313
+ # Checks whether you have the required permissions for the action,
34314
+ # without actually making the request, and provides an error response.
34315
+ # If you have the required permissions, the error response is
34316
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
34317
+ # @return [Boolean]
34318
+ #
34319
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetVpnTunnelReplacementStatusRequest AWS API Documentation
34320
+ #
34321
+ class GetVpnTunnelReplacementStatusRequest < Struct.new(
34322
+ :vpn_connection_id,
34323
+ :vpn_tunnel_outside_ip_address,
34324
+ :dry_run)
34325
+ SENSITIVE = []
34326
+ include Aws::Structure
34327
+ end
34328
+
34329
+ # @!attribute [rw] vpn_connection_id
34330
+ # The ID of the Site-to-Site VPN connection.
34331
+ # @return [String]
34332
+ #
34333
+ # @!attribute [rw] transit_gateway_id
34334
+ # The ID of the transit gateway associated with the VPN connection.
34335
+ # @return [String]
34336
+ #
34337
+ # @!attribute [rw] customer_gateway_id
34338
+ # The ID of the customer gateway.
34339
+ # @return [String]
34340
+ #
34341
+ # @!attribute [rw] vpn_gateway_id
34342
+ # The ID of the virtual private gateway.
34343
+ # @return [String]
34344
+ #
34345
+ # @!attribute [rw] vpn_tunnel_outside_ip_address
34346
+ # The external IP address of the VPN tunnel.
34347
+ # @return [String]
34348
+ #
34349
+ # @!attribute [rw] maintenance_details
34350
+ # Get details of pending tunnel endpoint maintenance.
34351
+ # @return [Types::MaintenanceDetails]
34352
+ #
34353
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetVpnTunnelReplacementStatusResult AWS API Documentation
34354
+ #
34355
+ class GetVpnTunnelReplacementStatusResult < Struct.new(
34356
+ :vpn_connection_id,
34357
+ :transit_gateway_id,
34358
+ :customer_gateway_id,
34359
+ :vpn_gateway_id,
34360
+ :vpn_tunnel_outside_ip_address,
34361
+ :maintenance_details)
34362
+ SENSITIVE = []
34363
+ include Aws::Structure
34364
+ end
34365
+
34304
34366
  # Describes the GPU accelerators for the instance type.
34305
34367
  #
34306
34368
  # @!attribute [rw] name
@@ -43090,6 +43152,31 @@ module Aws::EC2
43090
43152
  include Aws::Structure
43091
43153
  end
43092
43154
 
43155
+ # Details for Site-to-Site VPN tunnel endpoint maintenance events.
43156
+ #
43157
+ # @!attribute [rw] pending_maintenance
43158
+ # Verify existence of a pending maintenance.
43159
+ # @return [String]
43160
+ #
43161
+ # @!attribute [rw] maintenance_auto_applied_after
43162
+ # The timestamp after which Amazon Web Services will automatically
43163
+ # apply maintenance.
43164
+ # @return [Time]
43165
+ #
43166
+ # @!attribute [rw] last_maintenance_applied
43167
+ # Timestamp of last applied maintenance.
43168
+ # @return [Time]
43169
+ #
43170
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MaintenanceDetails AWS API Documentation
43171
+ #
43172
+ class MaintenanceDetails < Struct.new(
43173
+ :pending_maintenance,
43174
+ :maintenance_auto_applied_after,
43175
+ :last_maintenance_applied)
43176
+ SENSITIVE = []
43177
+ include Aws::Structure
43178
+ end
43179
+
43093
43180
  # Describes a managed prefix list.
43094
43181
  #
43095
43182
  # @!attribute [rw] prefix_list_id
@@ -47300,13 +47387,20 @@ module Aws::EC2
47300
47387
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
47301
47388
  # @return [Boolean]
47302
47389
  #
47390
+ # @!attribute [rw] skip_tunnel_replacement
47391
+ # Choose whether or not to trigger immediate tunnel replacement.
47392
+ #
47393
+ # Valid values: `True` \| `False`
47394
+ # @return [Boolean]
47395
+ #
47303
47396
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpnTunnelOptionsRequest AWS API Documentation
47304
47397
  #
47305
47398
  class ModifyVpnTunnelOptionsRequest < Struct.new(
47306
47399
  :vpn_connection_id,
47307
47400
  :vpn_tunnel_outside_ip_address,
47308
47401
  :tunnel_options,
47309
- :dry_run)
47402
+ :dry_run,
47403
+ :skip_tunnel_replacement)
47310
47404
  SENSITIVE = []
47311
47405
  include Aws::Structure
47312
47406
  end
@@ -47495,6 +47589,10 @@ module Aws::EC2
47495
47589
  # Options for logging VPN tunnel activity.
47496
47590
  # @return [Types::VpnTunnelLogOptionsSpecification]
47497
47591
  #
47592
+ # @!attribute [rw] enable_tunnel_lifecycle_control
47593
+ # Turn on or off tunnel endpoint lifecycle control feature.
47594
+ # @return [Boolean]
47595
+ #
47498
47596
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpnTunnelOptionsSpecification AWS API Documentation
47499
47597
  #
47500
47598
  class ModifyVpnTunnelOptionsSpecification < Struct.new(
@@ -47516,7 +47614,8 @@ module Aws::EC2
47516
47614
  :phase_2_dh_group_numbers,
47517
47615
  :ike_versions,
47518
47616
  :startup_action,
47519
- :log_options)
47617
+ :log_options,
47618
+ :enable_tunnel_lifecycle_control)
47520
47619
  SENSITIVE = []
47521
47620
  include Aws::Structure
47522
47621
  end
@@ -52111,6 +52210,48 @@ module Aws::EC2
52111
52210
  include Aws::Structure
52112
52211
  end
52113
52212
 
52213
+ # @!attribute [rw] vpn_connection_id
52214
+ # The ID of the Site-to-Site VPN connection.
52215
+ # @return [String]
52216
+ #
52217
+ # @!attribute [rw] vpn_tunnel_outside_ip_address
52218
+ # The external IP address of the VPN tunnel.
52219
+ # @return [String]
52220
+ #
52221
+ # @!attribute [rw] apply_pending_maintenance
52222
+ # Trigger pending tunnel endpoint maintenance.
52223
+ # @return [Boolean]
52224
+ #
52225
+ # @!attribute [rw] dry_run
52226
+ # Checks whether you have the required permissions for the action,
52227
+ # without actually making the request, and provides an error response.
52228
+ # If you have the required permissions, the error response is
52229
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
52230
+ # @return [Boolean]
52231
+ #
52232
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceVpnTunnelRequest AWS API Documentation
52233
+ #
52234
+ class ReplaceVpnTunnelRequest < Struct.new(
52235
+ :vpn_connection_id,
52236
+ :vpn_tunnel_outside_ip_address,
52237
+ :apply_pending_maintenance,
52238
+ :dry_run)
52239
+ SENSITIVE = []
52240
+ include Aws::Structure
52241
+ end
52242
+
52243
+ # @!attribute [rw] return
52244
+ # Confirmation of replace tunnel operation.
52245
+ # @return [Boolean]
52246
+ #
52247
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceVpnTunnelResult AWS API Documentation
52248
+ #
52249
+ class ReplaceVpnTunnelResult < Struct.new(
52250
+ :return)
52251
+ SENSITIVE = []
52252
+ include Aws::Structure
52253
+ end
52254
+
52114
52255
  # @!attribute [rw] description
52115
52256
  # Descriptive text about the health state of your instance.
52116
52257
  # @return [String]
@@ -61672,6 +61813,10 @@ module Aws::EC2
61672
61813
  # Options for logging VPN tunnel activity.
61673
61814
  # @return [Types::VpnTunnelLogOptions]
61674
61815
  #
61816
+ # @!attribute [rw] enable_tunnel_lifecycle_control
61817
+ # Status of tunnel endpoint lifecycle control feature.
61818
+ # @return [Boolean]
61819
+ #
61675
61820
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TunnelOption AWS API Documentation
61676
61821
  #
61677
61822
  class TunnelOption < Struct.new(
@@ -61694,7 +61839,8 @@ module Aws::EC2
61694
61839
  :phase_2_dh_group_numbers,
61695
61840
  :ike_versions,
61696
61841
  :startup_action,
61697
- :log_options)
61842
+ :log_options,
61843
+ :enable_tunnel_lifecycle_control)
61698
61844
  SENSITIVE = []
61699
61845
  include Aws::Structure
61700
61846
  end
@@ -64421,6 +64567,10 @@ module Aws::EC2
64421
64567
  # Options for logging VPN tunnel activity.
64422
64568
  # @return [Types::VpnTunnelLogOptionsSpecification]
64423
64569
  #
64570
+ # @!attribute [rw] enable_tunnel_lifecycle_control
64571
+ # Turn on or off tunnel endpoint lifecycle control feature.
64572
+ # @return [Boolean]
64573
+ #
64424
64574
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpnTunnelOptionsSpecification AWS API Documentation
64425
64575
  #
64426
64576
  class VpnTunnelOptionsSpecification < Struct.new(
@@ -64442,7 +64592,8 @@ module Aws::EC2
64442
64592
  :phase_2_dh_group_numbers,
64443
64593
  :ike_versions,
64444
64594
  :startup_action,
64445
- :log_options)
64595
+ :log_options,
64596
+ :enable_tunnel_lifecycle_control)
64446
64597
  SENSITIVE = []
64447
64598
  include Aws::Structure
64448
64599
  end
data/lib/aws-sdk-ec2.rb CHANGED
@@ -76,6 +76,6 @@ require_relative 'aws-sdk-ec2/customizations'
76
76
  # @!group service
77
77
  module Aws::EC2
78
78
 
79
- GEM_VERSION = '1.371.0'
79
+ GEM_VERSION = '1.372.0'
80
80
 
81
81
  end
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.371.0
4
+ version: 1.372.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-21 00:00:00.000000000 Z
11
+ date: 2023-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4