aws-sdk-ec2 1.527.0 → 1.529.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +154 -52
- data/lib/aws-sdk-ec2/client_api.rb +47 -0
- data/lib/aws-sdk-ec2/image.rb +18 -5
- data/lib/aws-sdk-ec2/resource.rb +10 -9
- data/lib/aws-sdk-ec2/types.rb +220 -21
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +19 -1
- data/sig/image.rbs +1 -0
- data/sig/types.rbs +40 -1
- 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: 2faa1aaf4db28fbe810198a8ccee19c1fc5cc6c587ad29d50cdb02673cdc797c
|
4
|
+
data.tar.gz: cd007dd57910c646c148efa61df4d6ac342bd0ab3b2b27e4f8cd48de447edb1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 123c9e6fde741a41c945faf38ce3afeee757528dea49cd01ab070c4778a7cd3d9016f7ccdf0ab692b364211772ec39f74fa68f8b7498ac0d157883b015ffc522
|
7
|
+
data.tar.gz: d878cc90b4a0f81de8959bd44254f1fe98dbc3f4deb8ad83f8e67f4fa312eaf03617d8ef5f3953b258f492ed63c7909ff01c6fa9be46eab480a9586f93aff76e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.529.0 (2025-05-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Enable the option to automatically delete underlying Amazon EBS snapshots when deregistering Amazon Machine Images (AMIs)
|
8
|
+
|
9
|
+
1.528.0 (2025-05-27)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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.
|
13
|
+
|
4
14
|
1.527.0 (2025-05-23)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.529.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -4397,9 +4397,9 @@ module Aws::EC2
|
|
4397
4397
|
end
|
4398
4398
|
|
4399
4399
|
# Removes your Amazon Web Services account from the launch permissions
|
4400
|
-
# for the specified AMI. For more information, see [
|
4401
|
-
#
|
4402
|
-
#
|
4400
|
+
# for the specified AMI. For more information, see [Cancel having an AMI
|
4401
|
+
# shared with your Amazon Web Services account][1] in the *Amazon EC2
|
4402
|
+
# User Guide*.
|
4403
4403
|
#
|
4404
4404
|
#
|
4405
4405
|
#
|
@@ -4844,7 +4844,7 @@ module Aws::EC2
|
|
4844
4844
|
# unencrypted snapshots.
|
4845
4845
|
#
|
4846
4846
|
# For information about the prerequisites when copying an AMI, see [Copy
|
4847
|
-
# an AMI][2] in the *Amazon EC2 User Guide*.
|
4847
|
+
# an Amazon EC2 AMI][2] in the *Amazon EC2 User Guide*.
|
4848
4848
|
#
|
4849
4849
|
#
|
4850
4850
|
#
|
@@ -4853,8 +4853,8 @@ module Aws::EC2
|
|
4853
4853
|
#
|
4854
4854
|
# @option params [String] :client_token
|
4855
4855
|
# Unique, case-sensitive identifier you provide to ensure idempotency of
|
4856
|
-
# the request. For more information, see [Ensuring idempotency
|
4857
|
-
# the *Amazon EC2 API Reference*.
|
4856
|
+
# the request. For more information, see [Ensuring idempotency in Amazon
|
4857
|
+
# EC2 API requests][1] in the *Amazon EC2 API Reference*.
|
4858
4858
|
#
|
4859
4859
|
# **A suitable default value is auto-generated.** You should normally
|
4860
4860
|
# not need to pass this option.**
|
@@ -4971,7 +4971,8 @@ module Aws::EC2
|
|
4971
4971
|
# If you do not specify a value, the AMI copy operation is completed on
|
4972
4972
|
# a best-effort basis.
|
4973
4973
|
#
|
4974
|
-
# For more information, see [
|
4974
|
+
# For more information, see [Time-based copies for Amazon EBS snapshots
|
4975
|
+
# and EBS-backed AMIs][1].
|
4975
4976
|
#
|
4976
4977
|
#
|
4977
4978
|
#
|
@@ -7764,8 +7765,8 @@ module Aws::EC2
|
|
7764
7765
|
# launch an instance from this new AMI, the instance automatically
|
7765
7766
|
# launches with those additional volumes.
|
7766
7767
|
#
|
7767
|
-
# For more information, see [Create an Amazon EBS-backed
|
7768
|
-
#
|
7768
|
+
# For more information, see [Create an Amazon EBS-backed AMI][1] in the
|
7769
|
+
# *Amazon Elastic Compute Cloud User Guide*.
|
7769
7770
|
#
|
7770
7771
|
#
|
7771
7772
|
#
|
@@ -12432,15 +12433,15 @@ module Aws::EC2
|
|
12432
12433
|
#
|
12433
12434
|
# To use this API, you must have the required permissions. For more
|
12434
12435
|
# information, see [Permissions for storing and restoring AMIs using
|
12435
|
-
#
|
12436
|
+
# S3][2] in the *Amazon EC2 User Guide*.
|
12436
12437
|
#
|
12437
|
-
# For more information, see [Store and restore an AMI using
|
12438
|
-
#
|
12438
|
+
# For more information, see [Store and restore an AMI using S3][3] in
|
12439
|
+
# the *Amazon EC2 User Guide*.
|
12439
12440
|
#
|
12440
12441
|
#
|
12441
12442
|
#
|
12442
12443
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateStoreImageTask.html
|
12443
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html#ami-s3-permissions
|
12444
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-ami-store-restore.html#ami-s3-permissions
|
12444
12445
|
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html
|
12445
12446
|
#
|
12446
12447
|
# @option params [required, String] :bucket
|
@@ -13616,14 +13617,14 @@ module Aws::EC2
|
|
13616
13617
|
#
|
13617
13618
|
# To use this API, you must have the required permissions. For more
|
13618
13619
|
# information, see [Permissions for storing and restoring AMIs using
|
13619
|
-
#
|
13620
|
+
# S3][1] in the *Amazon EC2 User Guide*.
|
13620
13621
|
#
|
13621
|
-
# For more information, see [Store and restore an AMI using
|
13622
|
-
#
|
13622
|
+
# For more information, see [Store and restore an AMI using S3][2] in
|
13623
|
+
# the *Amazon EC2 User Guide*.
|
13623
13624
|
#
|
13624
13625
|
#
|
13625
13626
|
#
|
13626
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html#ami-s3-permissions
|
13627
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-ami-store-restore.html#ami-s3-permissions
|
13627
13628
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html
|
13628
13629
|
#
|
13629
13630
|
# @option params [required, String] :image_id
|
@@ -17159,6 +17160,11 @@ module Aws::EC2
|
|
17159
17160
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
17160
17161
|
# The tags to apply to the VPN connection.
|
17161
17162
|
#
|
17163
|
+
# @option params [String] :pre_shared_key_storage
|
17164
|
+
# Specifies the storage mode for the pre-shared key (PSK). Valid values
|
17165
|
+
# are `Standard`" (stored in the Site-to-Site VPN service) or
|
17166
|
+
# `SecretsManager` (stored in Amazon Web Services Secrets Manager).
|
17167
|
+
#
|
17162
17168
|
# @option params [Boolean] :dry_run
|
17163
17169
|
# Checks whether you have the required permissions for the action,
|
17164
17170
|
# without actually making the request, and provides an error response.
|
@@ -17190,6 +17196,7 @@ module Aws::EC2
|
|
17190
17196
|
# ],
|
17191
17197
|
# },
|
17192
17198
|
# ],
|
17199
|
+
# pre_shared_key_storage: "String",
|
17193
17200
|
# dry_run: false,
|
17194
17201
|
# options: {
|
17195
17202
|
# enable_acceleration: false,
|
@@ -17323,6 +17330,7 @@ module Aws::EC2
|
|
17323
17330
|
# resp.vpn_connection.vgw_telemetry[0].status #=> String, one of "UP", "DOWN"
|
17324
17331
|
# resp.vpn_connection.vgw_telemetry[0].status_message #=> String
|
17325
17332
|
# resp.vpn_connection.vgw_telemetry[0].certificate_arn #=> String
|
17333
|
+
# resp.vpn_connection.pre_shared_key_arn #=> String
|
17326
17334
|
# resp.vpn_connection.vpn_connection_id #=> String
|
17327
17335
|
# resp.vpn_connection.state #=> String, one of "pending", "available", "deleting", "deleted"
|
17328
17336
|
# resp.vpn_connection.customer_gateway_configuration #=> String
|
@@ -21709,16 +21717,21 @@ module Aws::EC2
|
|
21709
21717
|
# be restored before its retention period expires, after which it is
|
21710
21718
|
# permanently deleted. If the deregistered AMI doesn't match a
|
21711
21719
|
# retention rule, it is permanently deleted immediately. For more
|
21712
|
-
# information, see [
|
21720
|
+
# information, see [Recover deleted Amazon EBS snapshots and EBS-backed
|
21721
|
+
# AMIs with Recycle Bin][1] in the *Amazon EBS User Guide*.
|
21722
|
+
#
|
21723
|
+
# When deregistering an EBS-backed AMI, you can optionally delete its
|
21724
|
+
# associated snapshots at the same time. However, if a snapshot is
|
21725
|
+
# associated with multiple AMIs, it won't be deleted even if specified
|
21726
|
+
# for deletion, although the AMI will still be deregistered.
|
21713
21727
|
#
|
21714
21728
|
# Deregistering an AMI does not delete the following:
|
21715
21729
|
#
|
21716
21730
|
# * Instances already launched from the AMI. You'll continue to incur
|
21717
21731
|
# usage costs for the instances until you terminate them.
|
21718
21732
|
#
|
21719
|
-
# * For EBS-backed AMIs:
|
21720
|
-
#
|
21721
|
-
# to incur snapshot storage costs.
|
21733
|
+
# * For EBS-backed AMIs: Snapshots that are associated with multiple
|
21734
|
+
# AMIs. You'll continue to incur snapshot storage costs.
|
21722
21735
|
#
|
21723
21736
|
# * For instance store-backed AMIs: The files uploaded to Amazon S3
|
21724
21737
|
# during AMI creation. You'll continue to incur S3 storage costs.
|
@@ -21734,21 +21747,43 @@ module Aws::EC2
|
|
21734
21747
|
# @option params [required, String] :image_id
|
21735
21748
|
# The ID of the AMI.
|
21736
21749
|
#
|
21750
|
+
# @option params [Boolean] :delete_associated_snapshots
|
21751
|
+
# Specifies whether to delete the snapshots associated with the AMI
|
21752
|
+
# during deregistration.
|
21753
|
+
#
|
21754
|
+
# <note markdown="1"> If a snapshot is associated with multiple AMIs, it is not deleted,
|
21755
|
+
# regardless of this setting.
|
21756
|
+
#
|
21757
|
+
# </note>
|
21758
|
+
#
|
21759
|
+
# Default: The snapshots are not deleted.
|
21760
|
+
#
|
21737
21761
|
# @option params [Boolean] :dry_run
|
21738
21762
|
# Checks whether you have the required permissions for the action,
|
21739
21763
|
# without actually making the request, and provides an error response.
|
21740
21764
|
# If you have the required permissions, the error response is
|
21741
21765
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
21742
21766
|
#
|
21743
|
-
# @return [
|
21767
|
+
# @return [Types::DeregisterImageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
21768
|
+
#
|
21769
|
+
# * {Types::DeregisterImageResult#return #return} => Boolean
|
21770
|
+
# * {Types::DeregisterImageResult#delete_snapshot_results #delete_snapshot_results} => Array<Types::DeleteSnapshotReturnCode>
|
21744
21771
|
#
|
21745
21772
|
# @example Request syntax with placeholder values
|
21746
21773
|
#
|
21747
21774
|
# resp = client.deregister_image({
|
21748
21775
|
# image_id: "ImageId", # required
|
21776
|
+
# delete_associated_snapshots: false,
|
21749
21777
|
# dry_run: false,
|
21750
21778
|
# })
|
21751
21779
|
#
|
21780
|
+
# @example Response structure
|
21781
|
+
#
|
21782
|
+
# resp.return #=> Boolean
|
21783
|
+
# resp.delete_snapshot_results #=> Array
|
21784
|
+
# resp.delete_snapshot_results[0].snapshot_id #=> String
|
21785
|
+
# resp.delete_snapshot_results[0].return_code #=> String, one of "success", "skipped", "missing-permissions", "internal-error", "client-error"
|
21786
|
+
#
|
21752
21787
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeregisterImage AWS API Documentation
|
21753
21788
|
#
|
21754
21789
|
# @overload deregister_image(params = {})
|
@@ -37734,14 +37769,14 @@ module Aws::EC2
|
|
37734
37769
|
#
|
37735
37770
|
# To use this API, you must have the required permissions. For more
|
37736
37771
|
# information, see [Permissions for storing and restoring AMIs using
|
37737
|
-
#
|
37772
|
+
# S3][1] in the *Amazon EC2 User Guide*.
|
37738
37773
|
#
|
37739
|
-
# For more information, see [Store and restore an AMI using
|
37740
|
-
#
|
37774
|
+
# For more information, see [Store and restore an AMI using S3][2] in
|
37775
|
+
# the *Amazon EC2 User Guide*.
|
37741
37776
|
#
|
37742
37777
|
#
|
37743
37778
|
#
|
37744
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html#ami-s3-permissions
|
37779
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-ami-store-restore.html#ami-s3-permissions
|
37745
37780
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html
|
37746
37781
|
#
|
37747
37782
|
# @option params [Array<String>] :image_ids
|
@@ -42160,6 +42195,7 @@ module Aws::EC2
|
|
42160
42195
|
# resp.vpn_connections[0].vgw_telemetry[0].status #=> String, one of "UP", "DOWN"
|
42161
42196
|
# resp.vpn_connections[0].vgw_telemetry[0].status_message #=> String
|
42162
42197
|
# resp.vpn_connections[0].vgw_telemetry[0].certificate_arn #=> String
|
42198
|
+
# resp.vpn_connections[0].pre_shared_key_arn #=> String
|
42163
42199
|
# resp.vpn_connections[0].vpn_connection_id #=> String
|
42164
42200
|
# resp.vpn_connections[0].state #=> String, one of "pending", "available", "deleting", "deleted"
|
42165
42201
|
# resp.vpn_connections[0].customer_gateway_configuration #=> String
|
@@ -43069,7 +43105,7 @@ module Aws::EC2
|
|
43069
43105
|
#
|
43070
43106
|
#
|
43071
43107
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetImageBlockPublicAccessState.html
|
43072
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
43108
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-public-access-to-amis.html
|
43073
43109
|
#
|
43074
43110
|
# @option params [Boolean] :dry_run
|
43075
43111
|
# Checks whether you have the required permissions for the action,
|
@@ -43102,8 +43138,8 @@ module Aws::EC2
|
|
43102
43138
|
|
43103
43139
|
# Cancels the deprecation of the specified AMI.
|
43104
43140
|
#
|
43105
|
-
# For more information, see [Deprecate an AMI][1] in the
|
43106
|
-
# User Guide*.
|
43141
|
+
# For more information, see [Deprecate an Amazon EC2 AMI][1] in the
|
43142
|
+
# *Amazon EC2 User Guide*.
|
43107
43143
|
#
|
43108
43144
|
#
|
43109
43145
|
#
|
@@ -43150,12 +43186,12 @@ module Aws::EC2
|
|
43150
43186
|
# deregistration protection, you won’t immediately be able to deregister
|
43151
43187
|
# the AMI.
|
43152
43188
|
#
|
43153
|
-
# For more information, see [Protect an AMI from
|
43154
|
-
# the *Amazon EC2 User Guide*.
|
43189
|
+
# For more information, see [Protect an Amazon EC2 AMI from
|
43190
|
+
# deregistration][1] in the *Amazon EC2 User Guide*.
|
43155
43191
|
#
|
43156
43192
|
#
|
43157
43193
|
#
|
43158
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
43194
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-deregistration-protection.html
|
43159
43195
|
#
|
43160
43196
|
# @option params [required, String] :image_id
|
43161
43197
|
# The ID of the AMI.
|
@@ -44892,8 +44928,8 @@ module Aws::EC2
|
|
44892
44928
|
#
|
44893
44929
|
# Only the AMI owner can re-enable a disabled AMI.
|
44894
44930
|
#
|
44895
|
-
# For more information, see [Disable an AMI][1] in the
|
44896
|
-
# Guide*.
|
44931
|
+
# For more information, see [Disable an Amazon EC2 AMI][1] in the
|
44932
|
+
# *Amazon EC2 User Guide*.
|
44897
44933
|
#
|
44898
44934
|
#
|
44899
44935
|
#
|
@@ -44948,7 +44984,7 @@ module Aws::EC2
|
|
44948
44984
|
#
|
44949
44985
|
#
|
44950
44986
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetImageBlockPublicAccessState.html
|
44951
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
44987
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-public-access-to-amis.html
|
44952
44988
|
#
|
44953
44989
|
# @option params [required, String] :image_block_public_access_state
|
44954
44990
|
# Specify `block-new-sharing` to enable block public access for AMIs at
|
@@ -45044,12 +45080,12 @@ module Aws::EC2
|
|
45044
45080
|
# To allow the AMI to be deregistered, you must first disable
|
45045
45081
|
# deregistration protection using DisableImageDeregistrationProtection.
|
45046
45082
|
#
|
45047
|
-
# For more information, see [Protect an AMI from
|
45048
|
-
# the *Amazon EC2 User Guide*.
|
45083
|
+
# For more information, see [Protect an Amazon EC2 AMI from
|
45084
|
+
# deregistration][1] in the *Amazon EC2 User Guide*.
|
45049
45085
|
#
|
45050
45086
|
#
|
45051
45087
|
#
|
45052
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
45088
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-deregistration-protection.html
|
45053
45089
|
#
|
45054
45090
|
# @option params [required, String] :image_id
|
45055
45091
|
# The ID of the AMI.
|
@@ -45876,6 +45912,55 @@ module Aws::EC2
|
|
45876
45912
|
req.send_request(options)
|
45877
45913
|
end
|
45878
45914
|
|
45915
|
+
# Returns the currently negotiated security parameters for an active VPN
|
45916
|
+
# tunnel, including IKE version, DH groups, encryption algorithms, and
|
45917
|
+
# integrity algorithms.
|
45918
|
+
#
|
45919
|
+
# @option params [required, String] :vpn_connection_id
|
45920
|
+
# The ID of the VPN connection for which to retrieve the active tunnel
|
45921
|
+
# status.
|
45922
|
+
#
|
45923
|
+
# @option params [required, String] :vpn_tunnel_outside_ip_address
|
45924
|
+
# The external IP address of the VPN tunnel for which to retrieve the
|
45925
|
+
# active status.
|
45926
|
+
#
|
45927
|
+
# @option params [Boolean] :dry_run
|
45928
|
+
# Checks whether you have the required permissions for the action,
|
45929
|
+
# without actually making the request.
|
45930
|
+
#
|
45931
|
+
# @return [Types::GetActiveVpnTunnelStatusResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
45932
|
+
#
|
45933
|
+
# * {Types::GetActiveVpnTunnelStatusResult#active_vpn_tunnel_status #active_vpn_tunnel_status} => Types::ActiveVpnTunnelStatus
|
45934
|
+
#
|
45935
|
+
# @example Request syntax with placeholder values
|
45936
|
+
#
|
45937
|
+
# resp = client.get_active_vpn_tunnel_status({
|
45938
|
+
# vpn_connection_id: "VpnConnectionId", # required
|
45939
|
+
# vpn_tunnel_outside_ip_address: "String", # required
|
45940
|
+
# dry_run: false,
|
45941
|
+
# })
|
45942
|
+
#
|
45943
|
+
# @example Response structure
|
45944
|
+
#
|
45945
|
+
# resp.active_vpn_tunnel_status.phase_1_encryption_algorithm #=> String
|
45946
|
+
# resp.active_vpn_tunnel_status.phase_2_encryption_algorithm #=> String
|
45947
|
+
# resp.active_vpn_tunnel_status.phase_1_integrity_algorithm #=> String
|
45948
|
+
# resp.active_vpn_tunnel_status.phase_2_integrity_algorithm #=> String
|
45949
|
+
# resp.active_vpn_tunnel_status.phase_1_dh_group #=> Integer
|
45950
|
+
# resp.active_vpn_tunnel_status.phase_2_dh_group #=> Integer
|
45951
|
+
# resp.active_vpn_tunnel_status.ike_version #=> String
|
45952
|
+
# resp.active_vpn_tunnel_status.provisioning_status #=> String, one of "available", "pending", "failed"
|
45953
|
+
# resp.active_vpn_tunnel_status.provisioning_status_reason #=> String
|
45954
|
+
#
|
45955
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetActiveVpnTunnelStatus AWS API Documentation
|
45956
|
+
#
|
45957
|
+
# @overload get_active_vpn_tunnel_status(params = {})
|
45958
|
+
# @param [Hash] params ({})
|
45959
|
+
def get_active_vpn_tunnel_status(params = {}, options = {})
|
45960
|
+
req = build_request(:get_active_vpn_tunnel_status, params)
|
45961
|
+
req.send_request(options)
|
45962
|
+
end
|
45963
|
+
|
45879
45964
|
# Gets the current state of the Allowed AMIs setting and the list of
|
45880
45965
|
# Allowed AMIs criteria at the account level in the specified Region.
|
45881
45966
|
#
|
@@ -46765,7 +46850,7 @@ module Aws::EC2
|
|
46765
46850
|
#
|
46766
46851
|
#
|
46767
46852
|
#
|
46768
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
46853
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-public-access-to-amis.html
|
46769
46854
|
#
|
46770
46855
|
# @option params [Boolean] :dry_run
|
46771
46856
|
# Checks whether you have the required permissions for the action,
|
@@ -49990,6 +50075,11 @@ module Aws::EC2
|
|
49990
50075
|
# customer gateway device. You can specify one of the following
|
49991
50076
|
# versions: `ikev1` or `ikev2`.
|
49992
50077
|
#
|
50078
|
+
# @option params [String] :sample_type
|
50079
|
+
# The type of sample configuration to generate. Valid values are
|
50080
|
+
# "compatibility" (includes IKEv1) or "recommended" (throws
|
50081
|
+
# UnsupportedOperationException for IKEv1).
|
50082
|
+
#
|
49993
50083
|
# @option params [Boolean] :dry_run
|
49994
50084
|
# Checks whether you have the required permissions for the action,
|
49995
50085
|
# without actually making the request, and provides an error response.
|
@@ -50006,6 +50096,7 @@ module Aws::EC2
|
|
50006
50096
|
# vpn_connection_id: "VpnConnectionId", # required
|
50007
50097
|
# vpn_connection_device_type_id: "VpnConnectionDeviceTypeId", # required
|
50008
50098
|
# internet_key_exchange_version: "String",
|
50099
|
+
# sample_type: "String",
|
50009
50100
|
# dry_run: false,
|
50010
50101
|
# })
|
50011
50102
|
#
|
@@ -57453,6 +57544,7 @@ module Aws::EC2
|
|
57453
57544
|
# resp.vpn_connection.vgw_telemetry[0].status #=> String, one of "UP", "DOWN"
|
57454
57545
|
# resp.vpn_connection.vgw_telemetry[0].status_message #=> String
|
57455
57546
|
# resp.vpn_connection.vgw_telemetry[0].certificate_arn #=> String
|
57547
|
+
# resp.vpn_connection.pre_shared_key_arn #=> String
|
57456
57548
|
# resp.vpn_connection.vpn_connection_id #=> String
|
57457
57549
|
# resp.vpn_connection.state #=> String, one of "pending", "available", "deleting", "deleted"
|
57458
57550
|
# resp.vpn_connection.customer_gateway_configuration #=> String
|
@@ -57583,6 +57675,7 @@ module Aws::EC2
|
|
57583
57675
|
# resp.vpn_connection.vgw_telemetry[0].status #=> String, one of "UP", "DOWN"
|
57584
57676
|
# resp.vpn_connection.vgw_telemetry[0].status_message #=> String
|
57585
57677
|
# resp.vpn_connection.vgw_telemetry[0].certificate_arn #=> String
|
57678
|
+
# resp.vpn_connection.pre_shared_key_arn #=> String
|
57586
57679
|
# resp.vpn_connection.vpn_connection_id #=> String
|
57587
57680
|
# resp.vpn_connection.state #=> String, one of "pending", "available", "deleting", "deleted"
|
57588
57681
|
# resp.vpn_connection.customer_gateway_configuration #=> String
|
@@ -57686,6 +57779,7 @@ module Aws::EC2
|
|
57686
57779
|
# resp.vpn_connection.vgw_telemetry[0].status #=> String, one of "UP", "DOWN"
|
57687
57780
|
# resp.vpn_connection.vgw_telemetry[0].status_message #=> String
|
57688
57781
|
# resp.vpn_connection.vgw_telemetry[0].certificate_arn #=> String
|
57782
|
+
# resp.vpn_connection.pre_shared_key_arn #=> String
|
57689
57783
|
# resp.vpn_connection.vpn_connection_id #=> String
|
57690
57784
|
# resp.vpn_connection.state #=> String, one of "pending", "available", "deleting", "deleted"
|
57691
57785
|
# resp.vpn_connection.customer_gateway_configuration #=> String
|
@@ -57734,6 +57828,11 @@ module Aws::EC2
|
|
57734
57828
|
#
|
57735
57829
|
# Valid values: `True` \| `False`
|
57736
57830
|
#
|
57831
|
+
# @option params [String] :pre_shared_key_storage
|
57832
|
+
# Specifies the storage mode for the pre-shared key (PSK). Valid values
|
57833
|
+
# are `Standard` (stored in Site-to-Site VPN service) or
|
57834
|
+
# `SecretsManager` (stored in Amazon Web Services Secrets Manager).
|
57835
|
+
#
|
57737
57836
|
# @return [Types::ModifyVpnTunnelOptionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
57738
57837
|
#
|
57739
57838
|
# * {Types::ModifyVpnTunnelOptionsResult#vpn_connection #vpn_connection} => Types::VpnConnection
|
@@ -57801,6 +57900,7 @@ module Aws::EC2
|
|
57801
57900
|
# },
|
57802
57901
|
# dry_run: false,
|
57803
57902
|
# skip_tunnel_replacement: false,
|
57903
|
+
# pre_shared_key_storage: "String",
|
57804
57904
|
# })
|
57805
57905
|
#
|
57806
57906
|
# @example Response structure
|
@@ -57864,6 +57964,7 @@ module Aws::EC2
|
|
57864
57964
|
# resp.vpn_connection.vgw_telemetry[0].status #=> String, one of "UP", "DOWN"
|
57865
57965
|
# resp.vpn_connection.vgw_telemetry[0].status_message #=> String
|
57866
57966
|
# resp.vpn_connection.vgw_telemetry[0].certificate_arn #=> String
|
57967
|
+
# resp.vpn_connection.pre_shared_key_arn #=> String
|
57867
57968
|
# resp.vpn_connection.vpn_connection_id #=> String
|
57868
57969
|
# resp.vpn_connection.state #=> String, one of "pending", "available", "deleting", "deleted"
|
57869
57970
|
# resp.vpn_connection.customer_gateway_configuration #=> String
|
@@ -59024,8 +59125,7 @@ module Aws::EC2
|
|
59024
59125
|
# instance launched from the AMI is encrypted.
|
59025
59126
|
#
|
59026
59127
|
# For more information, see [Create an AMI from a snapshot][1] and [Use
|
59027
|
-
# encryption with
|
59028
|
-
# Guide*.
|
59128
|
+
# encryption with EBS-backed AMIs][3] in the *Amazon EC2 User Guide*.
|
59029
59129
|
#
|
59030
59130
|
# **Amazon Web Services Marketplace product codes**
|
59031
59131
|
#
|
@@ -59067,7 +59167,7 @@ module Aws::EC2
|
|
59067
59167
|
# The full path to your AMI manifest in Amazon S3 storage. The specified
|
59068
59168
|
# bucket must have the `aws-exec-read` canned access control list (ACL)
|
59069
59169
|
# to ensure that it can be accessed by Amazon EC2. For more information,
|
59070
|
-
# see [Canned
|
59170
|
+
# see [Canned ACL][1] in the *Amazon S3 Service Developer Guide*.
|
59071
59171
|
#
|
59072
59172
|
#
|
59073
59173
|
#
|
@@ -59081,8 +59181,9 @@ module Aws::EC2
|
|
59081
59181
|
# you can publish AMIs that include billable software and list them on
|
59082
59182
|
# the Amazon Web Services Marketplace. You must first register as a
|
59083
59183
|
# seller on the Amazon Web Services Marketplace. For more information,
|
59084
|
-
# see [Getting started as
|
59085
|
-
#
|
59184
|
+
# see [Getting started as an Amazon Web Services Marketplace seller][1]
|
59185
|
+
# and [AMI-based products in Amazon Web Services Marketplace][2] in the
|
59186
|
+
# *Amazon Web Services Marketplace Seller Guide*.
|
59086
59187
|
#
|
59087
59188
|
#
|
59088
59189
|
#
|
@@ -59098,8 +59199,8 @@ module Aws::EC2
|
|
59098
59199
|
#
|
59099
59200
|
# </note>
|
59100
59201
|
#
|
59101
|
-
# For more information, see [
|
59102
|
-
# Guide*.
|
59202
|
+
# For more information, see [Instance launch behavior with Amazon EC2
|
59203
|
+
# boot modes][1] in the *Amazon EC2 User Guide*.
|
59103
59204
|
#
|
59104
59205
|
#
|
59105
59206
|
#
|
@@ -59117,8 +59218,8 @@ module Aws::EC2
|
|
59117
59218
|
# Base64 representation of the non-volatile UEFI variable store. To
|
59118
59219
|
# retrieve the UEFI data, use the [GetInstanceUefiData][1] command. You
|
59119
59220
|
# can inspect and modify the UEFI data by using the [python-uefivars
|
59120
|
-
# tool][2] on GitHub. For more information, see [UEFI Secure Boot
|
59121
|
-
# the *Amazon EC2 User Guide*.
|
59221
|
+
# tool][2] on GitHub. For more information, see [UEFI Secure Boot for
|
59222
|
+
# Amazon EC2 instances][3] in the *Amazon EC2 User Guide*.
|
59122
59223
|
#
|
59123
59224
|
#
|
59124
59225
|
#
|
@@ -59195,8 +59296,8 @@ module Aws::EC2
|
|
59195
59296
|
# If you create an AMI on an Outpost, then all backing snapshots must be
|
59196
59297
|
# on the same Outpost or in the Region of that Outpost. AMIs on an
|
59197
59298
|
# Outpost that include local snapshots can be used to launch instances
|
59198
|
-
# on the same Outpost only. For more information, [
|
59199
|
-
# snapshots
|
59299
|
+
# on the same Outpost only. For more information, [Create AMIs from
|
59300
|
+
# local snapshots][1] in the *Amazon EBS User Guide*.
|
59200
59301
|
#
|
59201
59302
|
#
|
59202
59303
|
#
|
@@ -61875,7 +61976,8 @@ module Aws::EC2
|
|
61875
61976
|
end
|
61876
61977
|
|
61877
61978
|
# Restores an AMI from the Recycle Bin. For more information, see
|
61878
|
-
# [
|
61979
|
+
# [Recover deleted Amazon EBS snapshots and EBS-back AMIs with Recycle
|
61980
|
+
# Bin][1] in the *Amazon EC2 User Guide*.
|
61879
61981
|
#
|
61880
61982
|
#
|
61881
61983
|
#
|
@@ -65975,7 +66077,7 @@ module Aws::EC2
|
|
65975
66077
|
tracer: tracer
|
65976
66078
|
)
|
65977
66079
|
context[:gem_name] = 'aws-sdk-ec2'
|
65978
|
-
context[:gem_version] = '1.
|
66080
|
+
context[:gem_version] = '1.529.0'
|
65979
66081
|
Seahorse::Client::Request.new(handlers, context)
|
65980
66082
|
end
|
65981
66083
|
|