aws-sdk-ec2 1.527.0 → 1.528.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +74 -1
- data/lib/aws-sdk-ec2/client_api.rb +35 -0
- data/lib/aws-sdk-ec2/types.rb +123 -1
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +16 -1
- data/sig/types.rbs +29 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c318060a48f6e9ca23cc77f530c70e75bbdc61b10ed6c481b7d612108863a89
|
4
|
+
data.tar.gz: 85047b832e087aa94dc4ab1e271a374aaf148be440a48e3104431d870685d99e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ca671955ec3fedc23bf3fbe4d6b9c094cf5ba88d45739ad69da55f21c86557dbbcc02d6caf756a000777b282374f5968a3eb1563ad43a6080778fab22cd4591
|
7
|
+
data.tar.gz: 9331803d609362fa168288f11854e6f374ad1eaf15ec1e8f9382d6b2e6853fdf46d537d491339b8593d0ad22b6ed7b971ba64ea25b447bb3a660050fb735c75a
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.528.0 (2025-05-27)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds three features - option to store AWS Site-to-Site VPN pre-shared keys in AWS Secrets Manager, GetActiveVpnTunnelStatus API to check the in-use VPN algorithms, and SampleType option in GetVpnConnectionDeviceSampleConfiguration API to get recommended sample configs for VPN devices.
|
8
|
+
|
4
9
|
1.527.0 (2025-05-23)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.528.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -17159,6 +17159,11 @@ module Aws::EC2
|
|
17159
17159
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
17160
17160
|
# The tags to apply to the VPN connection.
|
17161
17161
|
#
|
17162
|
+
# @option params [String] :pre_shared_key_storage
|
17163
|
+
# Specifies the storage mode for the pre-shared key (PSK). Valid values
|
17164
|
+
# are `Standard`" (stored in the Site-to-Site VPN service) or
|
17165
|
+
# `SecretsManager` (stored in Amazon Web Services Secrets Manager).
|
17166
|
+
#
|
17162
17167
|
# @option params [Boolean] :dry_run
|
17163
17168
|
# Checks whether you have the required permissions for the action,
|
17164
17169
|
# without actually making the request, and provides an error response.
|
@@ -17190,6 +17195,7 @@ module Aws::EC2
|
|
17190
17195
|
# ],
|
17191
17196
|
# },
|
17192
17197
|
# ],
|
17198
|
+
# pre_shared_key_storage: "String",
|
17193
17199
|
# dry_run: false,
|
17194
17200
|
# options: {
|
17195
17201
|
# enable_acceleration: false,
|
@@ -17323,6 +17329,7 @@ module Aws::EC2
|
|
17323
17329
|
# resp.vpn_connection.vgw_telemetry[0].status #=> String, one of "UP", "DOWN"
|
17324
17330
|
# resp.vpn_connection.vgw_telemetry[0].status_message #=> String
|
17325
17331
|
# resp.vpn_connection.vgw_telemetry[0].certificate_arn #=> String
|
17332
|
+
# resp.vpn_connection.pre_shared_key_arn #=> String
|
17326
17333
|
# resp.vpn_connection.vpn_connection_id #=> String
|
17327
17334
|
# resp.vpn_connection.state #=> String, one of "pending", "available", "deleting", "deleted"
|
17328
17335
|
# resp.vpn_connection.customer_gateway_configuration #=> String
|
@@ -42160,6 +42167,7 @@ module Aws::EC2
|
|
42160
42167
|
# resp.vpn_connections[0].vgw_telemetry[0].status #=> String, one of "UP", "DOWN"
|
42161
42168
|
# resp.vpn_connections[0].vgw_telemetry[0].status_message #=> String
|
42162
42169
|
# resp.vpn_connections[0].vgw_telemetry[0].certificate_arn #=> String
|
42170
|
+
# resp.vpn_connections[0].pre_shared_key_arn #=> String
|
42163
42171
|
# resp.vpn_connections[0].vpn_connection_id #=> String
|
42164
42172
|
# resp.vpn_connections[0].state #=> String, one of "pending", "available", "deleting", "deleted"
|
42165
42173
|
# resp.vpn_connections[0].customer_gateway_configuration #=> String
|
@@ -45876,6 +45884,55 @@ module Aws::EC2
|
|
45876
45884
|
req.send_request(options)
|
45877
45885
|
end
|
45878
45886
|
|
45887
|
+
# Returns the currently negotiated security parameters for an active VPN
|
45888
|
+
# tunnel, including IKE version, DH groups, encryption algorithms, and
|
45889
|
+
# integrity algorithms.
|
45890
|
+
#
|
45891
|
+
# @option params [required, String] :vpn_connection_id
|
45892
|
+
# The ID of the VPN connection for which to retrieve the active tunnel
|
45893
|
+
# status.
|
45894
|
+
#
|
45895
|
+
# @option params [required, String] :vpn_tunnel_outside_ip_address
|
45896
|
+
# The external IP address of the VPN tunnel for which to retrieve the
|
45897
|
+
# active status.
|
45898
|
+
#
|
45899
|
+
# @option params [Boolean] :dry_run
|
45900
|
+
# Checks whether you have the required permissions for the action,
|
45901
|
+
# without actually making the request.
|
45902
|
+
#
|
45903
|
+
# @return [Types::GetActiveVpnTunnelStatusResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
45904
|
+
#
|
45905
|
+
# * {Types::GetActiveVpnTunnelStatusResult#active_vpn_tunnel_status #active_vpn_tunnel_status} => Types::ActiveVpnTunnelStatus
|
45906
|
+
#
|
45907
|
+
# @example Request syntax with placeholder values
|
45908
|
+
#
|
45909
|
+
# resp = client.get_active_vpn_tunnel_status({
|
45910
|
+
# vpn_connection_id: "VpnConnectionId", # required
|
45911
|
+
# vpn_tunnel_outside_ip_address: "String", # required
|
45912
|
+
# dry_run: false,
|
45913
|
+
# })
|
45914
|
+
#
|
45915
|
+
# @example Response structure
|
45916
|
+
#
|
45917
|
+
# resp.active_vpn_tunnel_status.phase_1_encryption_algorithm #=> String
|
45918
|
+
# resp.active_vpn_tunnel_status.phase_2_encryption_algorithm #=> String
|
45919
|
+
# resp.active_vpn_tunnel_status.phase_1_integrity_algorithm #=> String
|
45920
|
+
# resp.active_vpn_tunnel_status.phase_2_integrity_algorithm #=> String
|
45921
|
+
# resp.active_vpn_tunnel_status.phase_1_dh_group #=> Integer
|
45922
|
+
# resp.active_vpn_tunnel_status.phase_2_dh_group #=> Integer
|
45923
|
+
# resp.active_vpn_tunnel_status.ike_version #=> String
|
45924
|
+
# resp.active_vpn_tunnel_status.provisioning_status #=> String, one of "available", "pending", "failed"
|
45925
|
+
# resp.active_vpn_tunnel_status.provisioning_status_reason #=> String
|
45926
|
+
#
|
45927
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetActiveVpnTunnelStatus AWS API Documentation
|
45928
|
+
#
|
45929
|
+
# @overload get_active_vpn_tunnel_status(params = {})
|
45930
|
+
# @param [Hash] params ({})
|
45931
|
+
def get_active_vpn_tunnel_status(params = {}, options = {})
|
45932
|
+
req = build_request(:get_active_vpn_tunnel_status, params)
|
45933
|
+
req.send_request(options)
|
45934
|
+
end
|
45935
|
+
|
45879
45936
|
# Gets the current state of the Allowed AMIs setting and the list of
|
45880
45937
|
# Allowed AMIs criteria at the account level in the specified Region.
|
45881
45938
|
#
|
@@ -49990,6 +50047,11 @@ module Aws::EC2
|
|
49990
50047
|
# customer gateway device. You can specify one of the following
|
49991
50048
|
# versions: `ikev1` or `ikev2`.
|
49992
50049
|
#
|
50050
|
+
# @option params [String] :sample_type
|
50051
|
+
# The type of sample configuration to generate. Valid values are
|
50052
|
+
# "compatibility" (includes IKEv1) or "recommended" (throws
|
50053
|
+
# UnsupportedOperationException for IKEv1).
|
50054
|
+
#
|
49993
50055
|
# @option params [Boolean] :dry_run
|
49994
50056
|
# Checks whether you have the required permissions for the action,
|
49995
50057
|
# without actually making the request, and provides an error response.
|
@@ -50006,6 +50068,7 @@ module Aws::EC2
|
|
50006
50068
|
# vpn_connection_id: "VpnConnectionId", # required
|
50007
50069
|
# vpn_connection_device_type_id: "VpnConnectionDeviceTypeId", # required
|
50008
50070
|
# internet_key_exchange_version: "String",
|
50071
|
+
# sample_type: "String",
|
50009
50072
|
# dry_run: false,
|
50010
50073
|
# })
|
50011
50074
|
#
|
@@ -57453,6 +57516,7 @@ module Aws::EC2
|
|
57453
57516
|
# resp.vpn_connection.vgw_telemetry[0].status #=> String, one of "UP", "DOWN"
|
57454
57517
|
# resp.vpn_connection.vgw_telemetry[0].status_message #=> String
|
57455
57518
|
# resp.vpn_connection.vgw_telemetry[0].certificate_arn #=> String
|
57519
|
+
# resp.vpn_connection.pre_shared_key_arn #=> String
|
57456
57520
|
# resp.vpn_connection.vpn_connection_id #=> String
|
57457
57521
|
# resp.vpn_connection.state #=> String, one of "pending", "available", "deleting", "deleted"
|
57458
57522
|
# resp.vpn_connection.customer_gateway_configuration #=> String
|
@@ -57583,6 +57647,7 @@ module Aws::EC2
|
|
57583
57647
|
# resp.vpn_connection.vgw_telemetry[0].status #=> String, one of "UP", "DOWN"
|
57584
57648
|
# resp.vpn_connection.vgw_telemetry[0].status_message #=> String
|
57585
57649
|
# resp.vpn_connection.vgw_telemetry[0].certificate_arn #=> String
|
57650
|
+
# resp.vpn_connection.pre_shared_key_arn #=> String
|
57586
57651
|
# resp.vpn_connection.vpn_connection_id #=> String
|
57587
57652
|
# resp.vpn_connection.state #=> String, one of "pending", "available", "deleting", "deleted"
|
57588
57653
|
# resp.vpn_connection.customer_gateway_configuration #=> String
|
@@ -57686,6 +57751,7 @@ module Aws::EC2
|
|
57686
57751
|
# resp.vpn_connection.vgw_telemetry[0].status #=> String, one of "UP", "DOWN"
|
57687
57752
|
# resp.vpn_connection.vgw_telemetry[0].status_message #=> String
|
57688
57753
|
# resp.vpn_connection.vgw_telemetry[0].certificate_arn #=> String
|
57754
|
+
# resp.vpn_connection.pre_shared_key_arn #=> String
|
57689
57755
|
# resp.vpn_connection.vpn_connection_id #=> String
|
57690
57756
|
# resp.vpn_connection.state #=> String, one of "pending", "available", "deleting", "deleted"
|
57691
57757
|
# resp.vpn_connection.customer_gateway_configuration #=> String
|
@@ -57734,6 +57800,11 @@ module Aws::EC2
|
|
57734
57800
|
#
|
57735
57801
|
# Valid values: `True` \| `False`
|
57736
57802
|
#
|
57803
|
+
# @option params [String] :pre_shared_key_storage
|
57804
|
+
# Specifies the storage mode for the pre-shared key (PSK). Valid values
|
57805
|
+
# are `Standard` (stored in Site-to-Site VPN service) or
|
57806
|
+
# `SecretsManager` (stored in Amazon Web Services Secrets Manager).
|
57807
|
+
#
|
57737
57808
|
# @return [Types::ModifyVpnTunnelOptionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
57738
57809
|
#
|
57739
57810
|
# * {Types::ModifyVpnTunnelOptionsResult#vpn_connection #vpn_connection} => Types::VpnConnection
|
@@ -57801,6 +57872,7 @@ module Aws::EC2
|
|
57801
57872
|
# },
|
57802
57873
|
# dry_run: false,
|
57803
57874
|
# skip_tunnel_replacement: false,
|
57875
|
+
# pre_shared_key_storage: "String",
|
57804
57876
|
# })
|
57805
57877
|
#
|
57806
57878
|
# @example Response structure
|
@@ -57864,6 +57936,7 @@ module Aws::EC2
|
|
57864
57936
|
# resp.vpn_connection.vgw_telemetry[0].status #=> String, one of "UP", "DOWN"
|
57865
57937
|
# resp.vpn_connection.vgw_telemetry[0].status_message #=> String
|
57866
57938
|
# resp.vpn_connection.vgw_telemetry[0].certificate_arn #=> String
|
57939
|
+
# resp.vpn_connection.pre_shared_key_arn #=> String
|
57867
57940
|
# resp.vpn_connection.vpn_connection_id #=> String
|
57868
57941
|
# resp.vpn_connection.state #=> String, one of "pending", "available", "deleting", "deleted"
|
57869
57942
|
# resp.vpn_connection.customer_gateway_configuration #=> String
|
@@ -65975,7 +66048,7 @@ module Aws::EC2
|
|
65975
66048
|
tracer: tracer
|
65976
66049
|
)
|
65977
66050
|
context[:gem_name] = 'aws-sdk-ec2'
|
65978
|
-
context[:gem_version] = '1.
|
66051
|
+
context[:gem_version] = '1.528.0'
|
65979
66052
|
Seahorse::Client::Request.new(handlers, context)
|
65980
66053
|
end
|
65981
66054
|
|
@@ -55,6 +55,7 @@ module Aws::EC2
|
|
55
55
|
AccountID = Shapes::StringShape.new(name: 'AccountID')
|
56
56
|
ActiveInstance = Shapes::StructureShape.new(name: 'ActiveInstance')
|
57
57
|
ActiveInstanceSet = Shapes::ListShape.new(name: 'ActiveInstanceSet')
|
58
|
+
ActiveVpnTunnelStatus = Shapes::StructureShape.new(name: 'ActiveVpnTunnelStatus')
|
58
59
|
ActivityStatus = Shapes::StringShape.new(name: 'ActivityStatus')
|
59
60
|
AddIpamOperatingRegion = Shapes::StructureShape.new(name: 'AddIpamOperatingRegion')
|
60
61
|
AddIpamOperatingRegionSet = Shapes::ListShape.new(name: 'AddIpamOperatingRegionSet')
|
@@ -1599,6 +1600,8 @@ module Aws::EC2
|
|
1599
1600
|
GVCDMaxResults = Shapes::IntegerShape.new(name: 'GVCDMaxResults')
|
1600
1601
|
GatewayAssociationState = Shapes::StringShape.new(name: 'GatewayAssociationState')
|
1601
1602
|
GatewayType = Shapes::StringShape.new(name: 'GatewayType')
|
1603
|
+
GetActiveVpnTunnelStatusRequest = Shapes::StructureShape.new(name: 'GetActiveVpnTunnelStatusRequest')
|
1604
|
+
GetActiveVpnTunnelStatusResult = Shapes::StructureShape.new(name: 'GetActiveVpnTunnelStatusResult')
|
1602
1605
|
GetAllowedImagesSettingsRequest = Shapes::StructureShape.new(name: 'GetAllowedImagesSettingsRequest')
|
1603
1606
|
GetAllowedImagesSettingsResult = Shapes::StructureShape.new(name: 'GetAllowedImagesSettingsResult')
|
1604
1607
|
GetAssociatedEnclaveCertificateIamRolesRequest = Shapes::StructureShape.new(name: 'GetAssociatedEnclaveCertificateIamRolesRequest')
|
@@ -3542,6 +3545,7 @@ module Aws::EC2
|
|
3542
3545
|
VpnTunnelLogOptionsSpecification = Shapes::StructureShape.new(name: 'VpnTunnelLogOptionsSpecification')
|
3543
3546
|
VpnTunnelOptionsSpecification = Shapes::StructureShape.new(name: 'VpnTunnelOptionsSpecification')
|
3544
3547
|
VpnTunnelOptionsSpecificationsList = Shapes::ListShape.new(name: 'VpnTunnelOptionsSpecificationsList')
|
3548
|
+
VpnTunnelProvisioningStatus = Shapes::StringShape.new(name: 'VpnTunnelProvisioningStatus')
|
3545
3549
|
WeekDay = Shapes::StringShape.new(name: 'WeekDay')
|
3546
3550
|
WithdrawByoipCidrRequest = Shapes::StructureShape.new(name: 'WithdrawByoipCidrRequest')
|
3547
3551
|
WithdrawByoipCidrResult = Shapes::StructureShape.new(name: 'WithdrawByoipCidrResult')
|
@@ -3682,6 +3686,17 @@ module Aws::EC2
|
|
3682
3686
|
|
3683
3687
|
ActiveInstanceSet.member = Shapes::ShapeRef.new(shape: ActiveInstance, location_name: "item")
|
3684
3688
|
|
3689
|
+
ActiveVpnTunnelStatus.add_member(:phase_1_encryption_algorithm, Shapes::ShapeRef.new(shape: String, location_name: "phase1EncryptionAlgorithm"))
|
3690
|
+
ActiveVpnTunnelStatus.add_member(:phase_2_encryption_algorithm, Shapes::ShapeRef.new(shape: String, location_name: "phase2EncryptionAlgorithm"))
|
3691
|
+
ActiveVpnTunnelStatus.add_member(:phase_1_integrity_algorithm, Shapes::ShapeRef.new(shape: String, location_name: "phase1IntegrityAlgorithm"))
|
3692
|
+
ActiveVpnTunnelStatus.add_member(:phase_2_integrity_algorithm, Shapes::ShapeRef.new(shape: String, location_name: "phase2IntegrityAlgorithm"))
|
3693
|
+
ActiveVpnTunnelStatus.add_member(:phase_1_dh_group, Shapes::ShapeRef.new(shape: Integer, location_name: "phase1DHGroup"))
|
3694
|
+
ActiveVpnTunnelStatus.add_member(:phase_2_dh_group, Shapes::ShapeRef.new(shape: Integer, location_name: "phase2DHGroup"))
|
3695
|
+
ActiveVpnTunnelStatus.add_member(:ike_version, Shapes::ShapeRef.new(shape: String, location_name: "ikeVersion"))
|
3696
|
+
ActiveVpnTunnelStatus.add_member(:provisioning_status, Shapes::ShapeRef.new(shape: VpnTunnelProvisioningStatus, location_name: "provisioningStatus"))
|
3697
|
+
ActiveVpnTunnelStatus.add_member(:provisioning_status_reason, Shapes::ShapeRef.new(shape: String, location_name: "provisioningStatusReason"))
|
3698
|
+
ActiveVpnTunnelStatus.struct_class = Types::ActiveVpnTunnelStatus
|
3699
|
+
|
3685
3700
|
AddIpamOperatingRegion.add_member(:region_name, Shapes::ShapeRef.new(shape: String, location_name: "RegionName"))
|
3686
3701
|
AddIpamOperatingRegion.struct_class = Types::AddIpamOperatingRegion
|
3687
3702
|
|
@@ -6225,6 +6240,7 @@ module Aws::EC2
|
|
6225
6240
|
CreateVpnConnectionRequest.add_member(:vpn_gateway_id, Shapes::ShapeRef.new(shape: VpnGatewayId, location_name: "VpnGatewayId"))
|
6226
6241
|
CreateVpnConnectionRequest.add_member(:transit_gateway_id, Shapes::ShapeRef.new(shape: TransitGatewayId, location_name: "TransitGatewayId"))
|
6227
6242
|
CreateVpnConnectionRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
6243
|
+
CreateVpnConnectionRequest.add_member(:pre_shared_key_storage, Shapes::ShapeRef.new(shape: String, location_name: "PreSharedKeyStorage"))
|
6228
6244
|
CreateVpnConnectionRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
6229
6245
|
CreateVpnConnectionRequest.add_member(:options, Shapes::ShapeRef.new(shape: VpnConnectionOptionsSpecification, location_name: "options"))
|
6230
6246
|
CreateVpnConnectionRequest.struct_class = Types::CreateVpnConnectionRequest
|
@@ -10011,6 +10027,14 @@ module Aws::EC2
|
|
10011
10027
|
FpgaInfo.add_member(:total_fpga_memory_in_mi_b, Shapes::ShapeRef.new(shape: totalFpgaMemory, location_name: "totalFpgaMemoryInMiB"))
|
10012
10028
|
FpgaInfo.struct_class = Types::FpgaInfo
|
10013
10029
|
|
10030
|
+
GetActiveVpnTunnelStatusRequest.add_member(:vpn_connection_id, Shapes::ShapeRef.new(shape: VpnConnectionId, required: true, location_name: "VpnConnectionId"))
|
10031
|
+
GetActiveVpnTunnelStatusRequest.add_member(:vpn_tunnel_outside_ip_address, Shapes::ShapeRef.new(shape: String, required: true, location_name: "VpnTunnelOutsideIpAddress"))
|
10032
|
+
GetActiveVpnTunnelStatusRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
10033
|
+
GetActiveVpnTunnelStatusRequest.struct_class = Types::GetActiveVpnTunnelStatusRequest
|
10034
|
+
|
10035
|
+
GetActiveVpnTunnelStatusResult.add_member(:active_vpn_tunnel_status, Shapes::ShapeRef.new(shape: ActiveVpnTunnelStatus, location_name: "activeVpnTunnelStatus"))
|
10036
|
+
GetActiveVpnTunnelStatusResult.struct_class = Types::GetActiveVpnTunnelStatusResult
|
10037
|
+
|
10014
10038
|
GetAllowedImagesSettingsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
10015
10039
|
GetAllowedImagesSettingsRequest.struct_class = Types::GetAllowedImagesSettingsRequest
|
10016
10040
|
|
@@ -10550,6 +10574,7 @@ module Aws::EC2
|
|
10550
10574
|
GetVpnConnectionDeviceSampleConfigurationRequest.add_member(:vpn_connection_id, Shapes::ShapeRef.new(shape: VpnConnectionId, required: true, location_name: "VpnConnectionId"))
|
10551
10575
|
GetVpnConnectionDeviceSampleConfigurationRequest.add_member(:vpn_connection_device_type_id, Shapes::ShapeRef.new(shape: VpnConnectionDeviceTypeId, required: true, location_name: "VpnConnectionDeviceTypeId"))
|
10552
10576
|
GetVpnConnectionDeviceSampleConfigurationRequest.add_member(:internet_key_exchange_version, Shapes::ShapeRef.new(shape: String, location_name: "InternetKeyExchangeVersion"))
|
10577
|
+
GetVpnConnectionDeviceSampleConfigurationRequest.add_member(:sample_type, Shapes::ShapeRef.new(shape: String, location_name: "SampleType"))
|
10553
10578
|
GetVpnConnectionDeviceSampleConfigurationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
10554
10579
|
GetVpnConnectionDeviceSampleConfigurationRequest.struct_class = Types::GetVpnConnectionDeviceSampleConfigurationRequest
|
10555
10580
|
|
@@ -13427,6 +13452,7 @@ module Aws::EC2
|
|
13427
13452
|
ModifyVpnTunnelOptionsRequest.add_member(:tunnel_options, Shapes::ShapeRef.new(shape: ModifyVpnTunnelOptionsSpecification, required: true, location_name: "TunnelOptions"))
|
13428
13453
|
ModifyVpnTunnelOptionsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
13429
13454
|
ModifyVpnTunnelOptionsRequest.add_member(:skip_tunnel_replacement, Shapes::ShapeRef.new(shape: Boolean, location_name: "SkipTunnelReplacement"))
|
13455
|
+
ModifyVpnTunnelOptionsRequest.add_member(:pre_shared_key_storage, Shapes::ShapeRef.new(shape: String, location_name: "PreSharedKeyStorage"))
|
13430
13456
|
ModifyVpnTunnelOptionsRequest.struct_class = Types::ModifyVpnTunnelOptionsRequest
|
13431
13457
|
|
13432
13458
|
ModifyVpnTunnelOptionsResult.add_member(:vpn_connection, Shapes::ShapeRef.new(shape: VpnConnection, location_name: "vpnConnection"))
|
@@ -17378,6 +17404,7 @@ module Aws::EC2
|
|
17378
17404
|
VpnConnection.add_member(:routes, Shapes::ShapeRef.new(shape: VpnStaticRouteList, location_name: "routes"))
|
17379
17405
|
VpnConnection.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
17380
17406
|
VpnConnection.add_member(:vgw_telemetry, Shapes::ShapeRef.new(shape: VgwTelemetryList, location_name: "vgwTelemetry"))
|
17407
|
+
VpnConnection.add_member(:pre_shared_key_arn, Shapes::ShapeRef.new(shape: String, location_name: "preSharedKeyArn"))
|
17381
17408
|
VpnConnection.add_member(:vpn_connection_id, Shapes::ShapeRef.new(shape: String, location_name: "vpnConnectionId"))
|
17382
17409
|
VpnConnection.add_member(:state, Shapes::ShapeRef.new(shape: VpnState, location_name: "state"))
|
17383
17410
|
VpnConnection.add_member(:customer_gateway_configuration, Shapes::ShapeRef.new(shape: customerGatewayConfiguration, location_name: "customerGatewayConfiguration"))
|
@@ -22042,6 +22069,14 @@ module Aws::EC2
|
|
22042
22069
|
o.output = Shapes::ShapeRef.new(shape: ExportVerifiedAccessInstanceClientConfigurationResult)
|
22043
22070
|
end)
|
22044
22071
|
|
22072
|
+
api.add_operation(:get_active_vpn_tunnel_status, Seahorse::Model::Operation.new.tap do |o|
|
22073
|
+
o.name = "GetActiveVpnTunnelStatus"
|
22074
|
+
o.http_method = "POST"
|
22075
|
+
o.http_request_uri = "/"
|
22076
|
+
o.input = Shapes::ShapeRef.new(shape: GetActiveVpnTunnelStatusRequest)
|
22077
|
+
o.output = Shapes::ShapeRef.new(shape: GetActiveVpnTunnelStatusResult)
|
22078
|
+
end)
|
22079
|
+
|
22045
22080
|
api.add_operation(:get_allowed_images_settings, Seahorse::Model::Operation.new.tap do |o|
|
22046
22081
|
o.name = "GetAllowedImagesSettings"
|
22047
22082
|
o.http_method = "POST"
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -535,6 +535,63 @@ module Aws::EC2
|
|
535
535
|
include Aws::Structure
|
536
536
|
end
|
537
537
|
|
538
|
+
# Contains information about the current security configuration of an
|
539
|
+
# active VPN tunnel.
|
540
|
+
#
|
541
|
+
# @!attribute [rw] phase_1_encryption_algorithm
|
542
|
+
# The encryption algorithm negotiated in Phase 1 IKE negotiations.
|
543
|
+
# @return [String]
|
544
|
+
#
|
545
|
+
# @!attribute [rw] phase_2_encryption_algorithm
|
546
|
+
# The encryption algorithm negotiated in Phase 2 IKE negotiations.
|
547
|
+
# @return [String]
|
548
|
+
#
|
549
|
+
# @!attribute [rw] phase_1_integrity_algorithm
|
550
|
+
# The integrity algorithm negotiated in Phase 1 IKE negotiations.
|
551
|
+
# @return [String]
|
552
|
+
#
|
553
|
+
# @!attribute [rw] phase_2_integrity_algorithm
|
554
|
+
# The integrity algorithm negotiated in Phase 2 IKE negotiations.
|
555
|
+
# @return [String]
|
556
|
+
#
|
557
|
+
# @!attribute [rw] phase_1_dh_group
|
558
|
+
# The Diffie-Hellman group number being used in Phase 1 IKE
|
559
|
+
# negotiations.
|
560
|
+
# @return [Integer]
|
561
|
+
#
|
562
|
+
# @!attribute [rw] phase_2_dh_group
|
563
|
+
# The Diffie-Hellman group number being used in Phase 2 IKE
|
564
|
+
# negotiations.
|
565
|
+
# @return [Integer]
|
566
|
+
#
|
567
|
+
# @!attribute [rw] ike_version
|
568
|
+
# The version of the Internet Key Exchange (IKE) protocol being used.
|
569
|
+
# @return [String]
|
570
|
+
#
|
571
|
+
# @!attribute [rw] provisioning_status
|
572
|
+
# The current provisioning status of the VPN tunnel.
|
573
|
+
# @return [String]
|
574
|
+
#
|
575
|
+
# @!attribute [rw] provisioning_status_reason
|
576
|
+
# The reason for the current provisioning status.
|
577
|
+
# @return [String]
|
578
|
+
#
|
579
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ActiveVpnTunnelStatus AWS API Documentation
|
580
|
+
#
|
581
|
+
class ActiveVpnTunnelStatus < Struct.new(
|
582
|
+
:phase_1_encryption_algorithm,
|
583
|
+
:phase_2_encryption_algorithm,
|
584
|
+
:phase_1_integrity_algorithm,
|
585
|
+
:phase_2_integrity_algorithm,
|
586
|
+
:phase_1_dh_group,
|
587
|
+
:phase_2_dh_group,
|
588
|
+
:ike_version,
|
589
|
+
:provisioning_status,
|
590
|
+
:provisioning_status_reason)
|
591
|
+
SENSITIVE = []
|
592
|
+
include Aws::Structure
|
593
|
+
end
|
594
|
+
|
538
595
|
# Add an operating Region to an IPAM. Operating Regions are Amazon Web
|
539
596
|
# Services Regions where the IPAM is allowed to manage IP address CIDRs.
|
540
597
|
# IPAM only discovers and monitors resources in the Amazon Web Services
|
@@ -15207,6 +15264,12 @@ module Aws::EC2
|
|
15207
15264
|
# The tags to apply to the VPN connection.
|
15208
15265
|
# @return [Array<Types::TagSpecification>]
|
15209
15266
|
#
|
15267
|
+
# @!attribute [rw] pre_shared_key_storage
|
15268
|
+
# Specifies the storage mode for the pre-shared key (PSK). Valid
|
15269
|
+
# values are `Standard`" (stored in the Site-to-Site VPN service) or
|
15270
|
+
# `SecretsManager` (stored in Amazon Web Services Secrets Manager).
|
15271
|
+
# @return [String]
|
15272
|
+
#
|
15210
15273
|
# @!attribute [rw] dry_run
|
15211
15274
|
# Checks whether you have the required permissions for the action,
|
15212
15275
|
# without actually making the request, and provides an error response.
|
@@ -15226,6 +15289,7 @@ module Aws::EC2
|
|
15226
15289
|
:vpn_gateway_id,
|
15227
15290
|
:transit_gateway_id,
|
15228
15291
|
:tag_specifications,
|
15292
|
+
:pre_shared_key_storage,
|
15229
15293
|
:dry_run,
|
15230
15294
|
:options)
|
15231
15295
|
SENSITIVE = []
|
@@ -38419,6 +38483,44 @@ module Aws::EC2
|
|
38419
38483
|
include Aws::Structure
|
38420
38484
|
end
|
38421
38485
|
|
38486
|
+
# @!attribute [rw] vpn_connection_id
|
38487
|
+
# The ID of the VPN connection for which to retrieve the active tunnel
|
38488
|
+
# status.
|
38489
|
+
# @return [String]
|
38490
|
+
#
|
38491
|
+
# @!attribute [rw] vpn_tunnel_outside_ip_address
|
38492
|
+
# The external IP address of the VPN tunnel for which to retrieve the
|
38493
|
+
# active status.
|
38494
|
+
# @return [String]
|
38495
|
+
#
|
38496
|
+
# @!attribute [rw] dry_run
|
38497
|
+
# Checks whether you have the required permissions for the action,
|
38498
|
+
# without actually making the request.
|
38499
|
+
# @return [Boolean]
|
38500
|
+
#
|
38501
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetActiveVpnTunnelStatusRequest AWS API Documentation
|
38502
|
+
#
|
38503
|
+
class GetActiveVpnTunnelStatusRequest < Struct.new(
|
38504
|
+
:vpn_connection_id,
|
38505
|
+
:vpn_tunnel_outside_ip_address,
|
38506
|
+
:dry_run)
|
38507
|
+
SENSITIVE = []
|
38508
|
+
include Aws::Structure
|
38509
|
+
end
|
38510
|
+
|
38511
|
+
# @!attribute [rw] active_vpn_tunnel_status
|
38512
|
+
# Information about the current security configuration of the VPN
|
38513
|
+
# tunnel.
|
38514
|
+
# @return [Types::ActiveVpnTunnelStatus]
|
38515
|
+
#
|
38516
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetActiveVpnTunnelStatusResult AWS API Documentation
|
38517
|
+
#
|
38518
|
+
class GetActiveVpnTunnelStatusResult < Struct.new(
|
38519
|
+
:active_vpn_tunnel_status)
|
38520
|
+
SENSITIVE = []
|
38521
|
+
include Aws::Structure
|
38522
|
+
end
|
38523
|
+
|
38422
38524
|
# @!attribute [rw] dry_run
|
38423
38525
|
# Checks whether you have the required permissions for the action,
|
38424
38526
|
# without actually making the request, and provides an error response.
|
@@ -41357,6 +41459,12 @@ module Aws::EC2
|
|
41357
41459
|
# versions: `ikev1` or `ikev2`.
|
41358
41460
|
# @return [String]
|
41359
41461
|
#
|
41462
|
+
# @!attribute [rw] sample_type
|
41463
|
+
# The type of sample configuration to generate. Valid values are
|
41464
|
+
# "compatibility" (includes IKEv1) or "recommended" (throws
|
41465
|
+
# UnsupportedOperationException for IKEv1).
|
41466
|
+
# @return [String]
|
41467
|
+
#
|
41360
41468
|
# @!attribute [rw] dry_run
|
41361
41469
|
# Checks whether you have the required permissions for the action,
|
41362
41470
|
# without actually making the request, and provides an error response.
|
@@ -41370,6 +41478,7 @@ module Aws::EC2
|
|
41370
41478
|
:vpn_connection_id,
|
41371
41479
|
:vpn_connection_device_type_id,
|
41372
41480
|
:internet_key_exchange_version,
|
41481
|
+
:sample_type,
|
41373
41482
|
:dry_run)
|
41374
41483
|
SENSITIVE = []
|
41375
41484
|
include Aws::Structure
|
@@ -57677,6 +57786,12 @@ module Aws::EC2
|
|
57677
57786
|
# Valid values: `True` \| `False`
|
57678
57787
|
# @return [Boolean]
|
57679
57788
|
#
|
57789
|
+
# @!attribute [rw] pre_shared_key_storage
|
57790
|
+
# Specifies the storage mode for the pre-shared key (PSK). Valid
|
57791
|
+
# values are `Standard` (stored in Site-to-Site VPN service) or
|
57792
|
+
# `SecretsManager` (stored in Amazon Web Services Secrets Manager).
|
57793
|
+
# @return [String]
|
57794
|
+
#
|
57680
57795
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpnTunnelOptionsRequest AWS API Documentation
|
57681
57796
|
#
|
57682
57797
|
class ModifyVpnTunnelOptionsRequest < Struct.new(
|
@@ -57684,7 +57799,8 @@ module Aws::EC2
|
|
57684
57799
|
:vpn_tunnel_outside_ip_address,
|
57685
57800
|
:tunnel_options,
|
57686
57801
|
:dry_run,
|
57687
|
-
:skip_tunnel_replacement
|
57802
|
+
:skip_tunnel_replacement,
|
57803
|
+
:pre_shared_key_storage)
|
57688
57804
|
SENSITIVE = [:tunnel_options]
|
57689
57805
|
include Aws::Structure
|
57690
57806
|
end
|
@@ -77313,6 +77429,11 @@ module Aws::EC2
|
|
77313
77429
|
# Information about the VPN tunnel.
|
77314
77430
|
# @return [Array<Types::VgwTelemetry>]
|
77315
77431
|
#
|
77432
|
+
# @!attribute [rw] pre_shared_key_arn
|
77433
|
+
# The Amazon Resource Name (ARN) of the Secrets Manager secret storing
|
77434
|
+
# the pre-shared key(s) for the VPN connection.
|
77435
|
+
# @return [String]
|
77436
|
+
#
|
77316
77437
|
# @!attribute [rw] vpn_connection_id
|
77317
77438
|
# The ID of the VPN connection.
|
77318
77439
|
# @return [String]
|
@@ -77354,6 +77475,7 @@ module Aws::EC2
|
|
77354
77475
|
:routes,
|
77355
77476
|
:tags,
|
77356
77477
|
:vgw_telemetry,
|
77478
|
+
:pre_shared_key_arn,
|
77357
77479
|
:vpn_connection_id,
|
77358
77480
|
:state,
|
77359
77481
|
:customer_gateway_configuration,
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -4341,6 +4341,7 @@ module Aws
|
|
4341
4341
|
]?
|
4342
4342
|
},
|
4343
4343
|
],
|
4344
|
+
?pre_shared_key_storage: ::String,
|
4344
4345
|
?dry_run: bool,
|
4345
4346
|
?options: {
|
4346
4347
|
enable_acceleration: bool?,
|
@@ -9416,6 +9417,18 @@ module Aws
|
|
9416
9417
|
) -> _ExportVerifiedAccessInstanceClientConfigurationResponseSuccess
|
9417
9418
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExportVerifiedAccessInstanceClientConfigurationResponseSuccess
|
9418
9419
|
|
9420
|
+
interface _GetActiveVpnTunnelStatusResponseSuccess
|
9421
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetActiveVpnTunnelStatusResult]
|
9422
|
+
def active_vpn_tunnel_status: () -> Types::ActiveVpnTunnelStatus
|
9423
|
+
end
|
9424
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#get_active_vpn_tunnel_status-instance_method
|
9425
|
+
def get_active_vpn_tunnel_status: (
|
9426
|
+
vpn_connection_id: ::String,
|
9427
|
+
vpn_tunnel_outside_ip_address: ::String,
|
9428
|
+
?dry_run: bool
|
9429
|
+
) -> _GetActiveVpnTunnelStatusResponseSuccess
|
9430
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetActiveVpnTunnelStatusResponseSuccess
|
9431
|
+
|
9419
9432
|
interface _GetAllowedImagesSettingsResponseSuccess
|
9420
9433
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetAllowedImagesSettingsResult]
|
9421
9434
|
def state: () -> ::String
|
@@ -10406,6 +10419,7 @@ module Aws
|
|
10406
10419
|
vpn_connection_id: ::String,
|
10407
10420
|
vpn_connection_device_type_id: ::String,
|
10408
10421
|
?internet_key_exchange_version: ::String,
|
10422
|
+
?sample_type: ::String,
|
10409
10423
|
?dry_run: bool
|
10410
10424
|
) -> _GetVpnConnectionDeviceSampleConfigurationResponseSuccess
|
10411
10425
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetVpnConnectionDeviceSampleConfigurationResponseSuccess
|
@@ -12311,7 +12325,8 @@ module Aws
|
|
12311
12325
|
enable_tunnel_lifecycle_control: bool?
|
12312
12326
|
},
|
12313
12327
|
?dry_run: bool,
|
12314
|
-
?skip_tunnel_replacement: bool
|
12328
|
+
?skip_tunnel_replacement: bool,
|
12329
|
+
?pre_shared_key_storage: ::String
|
12315
12330
|
) -> _ModifyVpnTunnelOptionsResponseSuccess
|
12316
12331
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyVpnTunnelOptionsResponseSuccess
|
12317
12332
|
|
data/sig/types.rbs
CHANGED
@@ -166,6 +166,19 @@ module Aws::EC2
|
|
166
166
|
SENSITIVE: []
|
167
167
|
end
|
168
168
|
|
169
|
+
class ActiveVpnTunnelStatus
|
170
|
+
attr_accessor phase_1_encryption_algorithm: ::String
|
171
|
+
attr_accessor phase_2_encryption_algorithm: ::String
|
172
|
+
attr_accessor phase_1_integrity_algorithm: ::String
|
173
|
+
attr_accessor phase_2_integrity_algorithm: ::String
|
174
|
+
attr_accessor phase_1_dh_group: ::Integer
|
175
|
+
attr_accessor phase_2_dh_group: ::Integer
|
176
|
+
attr_accessor ike_version: ::String
|
177
|
+
attr_accessor provisioning_status: ("available" | "pending" | "failed")
|
178
|
+
attr_accessor provisioning_status_reason: ::String
|
179
|
+
SENSITIVE: []
|
180
|
+
end
|
181
|
+
|
169
182
|
class AddIpamOperatingRegion
|
170
183
|
attr_accessor region_name: ::String
|
171
184
|
SENSITIVE: []
|
@@ -3348,6 +3361,7 @@ module Aws::EC2
|
|
3348
3361
|
attr_accessor vpn_gateway_id: ::String
|
3349
3362
|
attr_accessor transit_gateway_id: ::String
|
3350
3363
|
attr_accessor tag_specifications: ::Array[Types::TagSpecification]
|
3364
|
+
attr_accessor pre_shared_key_storage: ::String
|
3351
3365
|
attr_accessor dry_run: bool
|
3352
3366
|
attr_accessor options: Types::VpnConnectionOptionsSpecification
|
3353
3367
|
SENSITIVE: []
|
@@ -8444,6 +8458,18 @@ module Aws::EC2
|
|
8444
8458
|
SENSITIVE: []
|
8445
8459
|
end
|
8446
8460
|
|
8461
|
+
class GetActiveVpnTunnelStatusRequest
|
8462
|
+
attr_accessor vpn_connection_id: ::String
|
8463
|
+
attr_accessor vpn_tunnel_outside_ip_address: ::String
|
8464
|
+
attr_accessor dry_run: bool
|
8465
|
+
SENSITIVE: []
|
8466
|
+
end
|
8467
|
+
|
8468
|
+
class GetActiveVpnTunnelStatusResult
|
8469
|
+
attr_accessor active_vpn_tunnel_status: Types::ActiveVpnTunnelStatus
|
8470
|
+
SENSITIVE: []
|
8471
|
+
end
|
8472
|
+
|
8447
8473
|
class GetAllowedImagesSettingsRequest
|
8448
8474
|
attr_accessor dry_run: bool
|
8449
8475
|
SENSITIVE: []
|
@@ -9192,6 +9218,7 @@ module Aws::EC2
|
|
9192
9218
|
attr_accessor vpn_connection_id: ::String
|
9193
9219
|
attr_accessor vpn_connection_device_type_id: ::String
|
9194
9220
|
attr_accessor internet_key_exchange_version: ::String
|
9221
|
+
attr_accessor sample_type: ::String
|
9195
9222
|
attr_accessor dry_run: bool
|
9196
9223
|
SENSITIVE: []
|
9197
9224
|
end
|
@@ -12499,6 +12526,7 @@ module Aws::EC2
|
|
12499
12526
|
attr_accessor tunnel_options: Types::ModifyVpnTunnelOptionsSpecification
|
12500
12527
|
attr_accessor dry_run: bool
|
12501
12528
|
attr_accessor skip_tunnel_replacement: bool
|
12529
|
+
attr_accessor pre_shared_key_storage: ::String
|
12502
12530
|
SENSITIVE: [:tunnel_options]
|
12503
12531
|
end
|
12504
12532
|
|
@@ -16816,6 +16844,7 @@ module Aws::EC2
|
|
16816
16844
|
attr_accessor routes: ::Array[Types::VpnStaticRoute]
|
16817
16845
|
attr_accessor tags: ::Array[Types::Tag]
|
16818
16846
|
attr_accessor vgw_telemetry: ::Array[Types::VgwTelemetry]
|
16847
|
+
attr_accessor pre_shared_key_arn: ::String
|
16819
16848
|
attr_accessor vpn_connection_id: ::String
|
16820
16849
|
attr_accessor state: ("pending" | "available" | "deleting" | "deleted")
|
16821
16850
|
attr_accessor customer_gateway_configuration: ::String
|