aws-sdk-ec2 1.497.0 → 1.499.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +131 -57
- data/lib/aws-sdk-ec2/client_api.rb +8 -0
- data/lib/aws-sdk-ec2/resource.rb +29 -10
- data/lib/aws-sdk-ec2/snapshot.rb +7 -0
- data/lib/aws-sdk-ec2/subnet.rb +7 -0
- data/lib/aws-sdk-ec2/types.rb +106 -41
- data/lib/aws-sdk-ec2/volume.rb +22 -10
- data/lib/aws-sdk-ec2/vpc.rb +7 -0
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +8 -3
- data/sig/resource.rbs +1 -0
- data/sig/snapshot.rbs +3 -0
- data/sig/types.rbs +7 -0
- data/sig/volume.rbs +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1be685ded0fbe33769d4047ab1b9d66a81ee21710adf5a0c787e195b546d1ec
|
4
|
+
data.tar.gz: 66d824a801a3619ba1b1309918318239978ca42326f2ea3aad2f8bc1e8c12fb4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4d9ec3c60f09c629ffc8b7ed4087da99f9ddd91e58de0a97b0e073c536b42241af7218aa74495188d27292dda762d3340727b08d61c33cc649a6e62d38f1aaf
|
7
|
+
data.tar.gz: c0aadda9218610f81db06ebc7fe77a163784be24491961a4daaf091666412edc3b9fc05ae2d2a24d99aee209d2e490ffd251f6ac09f1f31f7f281c6742c5ae85
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.499.0 (2025-01-13)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add support for DisconnectOnSessionTimeout flag in CreateClientVpnEndpoint and ModifyClientVpnEndpoint requests and DescribeClientVpnEndpoints responses
|
8
|
+
|
9
|
+
1.498.0 (2024-12-16)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds support for EBS local snapshots in AWS Dedicated Local Zones, which allows you to store snapshots of EBS volumes locally in Dedicated Local Zones.
|
13
|
+
|
4
14
|
1.497.0 (2024-12-13)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.499.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -4084,6 +4084,11 @@ module Aws::EC2
|
|
4084
4084
|
# duration has elapsed. You can't cancel a future-dated Capacity
|
4085
4085
|
# Reservation during the commitment duration.
|
4086
4086
|
#
|
4087
|
+
# <note markdown="1"> You can't modify or cancel a Capacity Block. For more information,
|
4088
|
+
# see [Capacity Blocks for ML][1].
|
4089
|
+
#
|
4090
|
+
# </note>
|
4091
|
+
#
|
4087
4092
|
# If a future-dated Capacity Reservation enters the `delayed` state, the
|
4088
4093
|
# commitment duration is waived, and you can cancel it as soon as it
|
4089
4094
|
# enters the `active` state.
|
@@ -4095,6 +4100,10 @@ module Aws::EC2
|
|
4095
4100
|
# any open Capacity Reservation that has matching attributes and
|
4096
4101
|
# sufficient capacity.
|
4097
4102
|
#
|
4103
|
+
#
|
4104
|
+
#
|
4105
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-capacity-blocks.html
|
4106
|
+
#
|
4098
4107
|
# @option params [required, String] :capacity_reservation_id
|
4099
4108
|
# The ID of the Capacity Reservation to be cancelled.
|
4100
4109
|
#
|
@@ -4937,7 +4946,7 @@ module Aws::EC2
|
|
4937
4946
|
# Snapshots copied to an Outpost are encrypted by default using the
|
4938
4947
|
# default encryption key for the Region, or a different key that you
|
4939
4948
|
# specify in the request using **KmsKeyId**. Outposts do not support
|
4940
|
-
# unencrypted snapshots. For more information, [
|
4949
|
+
# unencrypted snapshots. For more information, see [Amazon EBS local
|
4941
4950
|
# snapshots on Outposts][1] in the *Amazon EBS User Guide*.
|
4942
4951
|
#
|
4943
4952
|
# Snapshots created by copying another snapshot have an arbitrary volume
|
@@ -5971,6 +5980,12 @@ module Aws::EC2
|
|
5971
5980
|
# on Amazon Web Services provided clients when a VPN session is
|
5972
5981
|
# established.
|
5973
5982
|
#
|
5983
|
+
# @option params [Boolean] :disconnect_on_session_timeout
|
5984
|
+
# Indicates whether the client VPN session is disconnected after the
|
5985
|
+
# maximum timeout specified in `SessionTimeoutHours` is reached. If
|
5986
|
+
# `true`, users are prompted to reconnect client VPN. If `false`, client
|
5987
|
+
# VPN attempts to reconnect automatically. The default value is `false`.
|
5988
|
+
#
|
5974
5989
|
# @return [Types::CreateClientVpnEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5975
5990
|
#
|
5976
5991
|
# * {Types::CreateClientVpnEndpointResult#client_vpn_endpoint_id #client_vpn_endpoint_id} => String
|
@@ -6032,6 +6047,7 @@ module Aws::EC2
|
|
6032
6047
|
# enabled: false,
|
6033
6048
|
# banner_text: "String",
|
6034
6049
|
# },
|
6050
|
+
# disconnect_on_session_timeout: false,
|
6035
6051
|
# })
|
6036
6052
|
#
|
6037
6053
|
# @example Response structure
|
@@ -12169,12 +12185,17 @@ module Aws::EC2
|
|
12169
12185
|
# can use snapshots for backups, to make copies of EBS volumes, and to
|
12170
12186
|
# save data before shutting down an instance.
|
12171
12187
|
#
|
12172
|
-
#
|
12173
|
-
#
|
12174
|
-
#
|
12175
|
-
#
|
12176
|
-
#
|
12177
|
-
#
|
12188
|
+
# The location of the source EBS volume determines where you can create
|
12189
|
+
# the snapshot.
|
12190
|
+
#
|
12191
|
+
# * If the source volume is in a Region, you must create the snapshot in
|
12192
|
+
# the same Region as the volume.
|
12193
|
+
#
|
12194
|
+
# * If the source volume is in a Local Zone, you can create the snapshot
|
12195
|
+
# in the same Local Zone or in its parent Amazon Web Services Region.
|
12196
|
+
#
|
12197
|
+
# * If the source volume is on an Outpost, you can create the snapshot
|
12198
|
+
# on the same Outpost or in its parent Amazon Web Services Region.
|
12178
12199
|
#
|
12179
12200
|
# When a snapshot is created, any Amazon Web Services Marketplace
|
12180
12201
|
# product codes that are associated with the source volume are
|
@@ -12199,37 +12220,28 @@ module Aws::EC2
|
|
12199
12220
|
# Snapshots that are taken from encrypted volumes are automatically
|
12200
12221
|
# encrypted. Volumes that are created from encrypted snapshots are also
|
12201
12222
|
# automatically encrypted. Your encrypted volumes and any associated
|
12202
|
-
# snapshots always remain protected.
|
12203
|
-
#
|
12204
|
-
# You can tag your snapshots during creation. For more information, see
|
12205
|
-
# [Tag your Amazon EC2 resources][1] in the *Amazon EC2 User Guide*.
|
12223
|
+
# snapshots always remain protected. For more information, see [Amazon
|
12224
|
+
# EBS encryption][1] in the *Amazon EBS User Guide*.
|
12206
12225
|
#
|
12207
|
-
# For more information, see [Amazon EBS][2] and [Amazon EBS
|
12208
|
-
# encryption][3] in the *Amazon EBS User Guide*.
|
12209
12226
|
#
|
12210
12227
|
#
|
12211
|
-
#
|
12212
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html
|
12213
|
-
# [2]: https://docs.aws.amazon.com/ebs/latest/userguide/what-is-ebs.html
|
12214
|
-
# [3]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html
|
12228
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html
|
12215
12229
|
#
|
12216
12230
|
# @option params [String] :description
|
12217
12231
|
# A description for the snapshot.
|
12218
12232
|
#
|
12219
12233
|
# @option params [String] :outpost_arn
|
12220
|
-
#
|
12221
|
-
#
|
12234
|
+
# <note markdown="1"> Only supported for volumes on Outposts. If the source volume is not on
|
12235
|
+
# an Outpost, omit this parameter.
|
12222
12236
|
#
|
12223
|
-
#
|
12224
|
-
# The snapshot is created in the same Region as the volume.
|
12237
|
+
# </note>
|
12225
12238
|
#
|
12226
|
-
# * To create
|
12227
|
-
#
|
12228
|
-
#
|
12239
|
+
# * To create the snapshot on the same Outpost as the source volume,
|
12240
|
+
# specify the ARN of that Outpost. The snapshot must be created on the
|
12241
|
+
# same Outpost as the volume.
|
12229
12242
|
#
|
12230
|
-
# * To create
|
12231
|
-
#
|
12232
|
-
# The snapshot must be created on the same Outpost as the volume.
|
12243
|
+
# * To create the snapshot in the parent Region of the Outpost, omit
|
12244
|
+
# this parameter.
|
12233
12245
|
#
|
12234
12246
|
# For more information, see [Create local snapshots from volumes on an
|
12235
12247
|
# Outpost][1] in the *Amazon EBS User Guide*.
|
@@ -12244,6 +12256,20 @@ module Aws::EC2
|
|
12244
12256
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
12245
12257
|
# The tags to apply to the snapshot during creation.
|
12246
12258
|
#
|
12259
|
+
# @option params [String] :location
|
12260
|
+
# <note markdown="1"> Only supported for volumes in Local Zones. If the source volume is not
|
12261
|
+
# in a Local Zone, omit this parameter.
|
12262
|
+
#
|
12263
|
+
# </note>
|
12264
|
+
#
|
12265
|
+
# * To create a local snapshot in the same Local Zone as the source
|
12266
|
+
# volume, specify `local`.
|
12267
|
+
#
|
12268
|
+
# * To create a regional snapshot in the parent Region of the Local
|
12269
|
+
# Zone, specify `regional` or omit this parameter.
|
12270
|
+
#
|
12271
|
+
# Default value: `regional`
|
12272
|
+
#
|
12247
12273
|
# @option params [Boolean] :dry_run
|
12248
12274
|
# Checks whether you have the required permissions for the action,
|
12249
12275
|
# without actually making the request, and provides an error response.
|
@@ -12258,6 +12284,7 @@ module Aws::EC2
|
|
12258
12284
|
# * {Types::Snapshot#storage_tier #storage_tier} => String
|
12259
12285
|
# * {Types::Snapshot#restore_expiry_time #restore_expiry_time} => Time
|
12260
12286
|
# * {Types::Snapshot#sse_type #sse_type} => String
|
12287
|
+
# * {Types::Snapshot#availability_zone #availability_zone} => String
|
12261
12288
|
# * {Types::Snapshot#transfer_type #transfer_type} => String
|
12262
12289
|
# * {Types::Snapshot#completion_duration_minutes #completion_duration_minutes} => Integer
|
12263
12290
|
# * {Types::Snapshot#completion_time #completion_time} => Time
|
@@ -12315,6 +12342,7 @@ module Aws::EC2
|
|
12315
12342
|
# ],
|
12316
12343
|
# },
|
12317
12344
|
# ],
|
12345
|
+
# location: "regional", # accepts regional, local
|
12318
12346
|
# dry_run: false,
|
12319
12347
|
# })
|
12320
12348
|
#
|
@@ -12328,6 +12356,7 @@ module Aws::EC2
|
|
12328
12356
|
# resp.storage_tier #=> String, one of "archive", "standard"
|
12329
12357
|
# resp.restore_expiry_time #=> Time
|
12330
12358
|
# resp.sse_type #=> String, one of "sse-ebs", "sse-kms", "none"
|
12359
|
+
# resp.availability_zone #=> String
|
12331
12360
|
# resp.transfer_type #=> String, one of "time-based", "standard"
|
12332
12361
|
# resp.completion_duration_minutes #=> Integer
|
12333
12362
|
# resp.completion_time #=> Time
|
@@ -12353,21 +12382,27 @@ module Aws::EC2
|
|
12353
12382
|
req.send_request(options)
|
12354
12383
|
end
|
12355
12384
|
|
12356
|
-
# Creates crash-consistent snapshots of multiple EBS volumes
|
12357
|
-
#
|
12358
|
-
# attached
|
12359
|
-
# crash-consistent across the instance.
|
12385
|
+
# Creates crash-consistent snapshots of multiple EBS volumes attached to
|
12386
|
+
# an Amazon EC2 instance. Volumes are chosen by specifying an instance.
|
12387
|
+
# Each volume attached to the specified instance will produce one
|
12388
|
+
# snapshot that is crash-consistent across the instance. You can include
|
12389
|
+
# all of the volumes currently attached to the instance, or you can
|
12390
|
+
# exclude the root volume or specific data (non-root) volumes from the
|
12391
|
+
# multi-volume snapshot set.
|
12360
12392
|
#
|
12361
|
-
#
|
12362
|
-
#
|
12363
|
-
# from the multi-volume snapshot set.
|
12393
|
+
# The location of the source instance determines where you can create
|
12394
|
+
# the snapshots.
|
12364
12395
|
#
|
12365
|
-
#
|
12366
|
-
#
|
12367
|
-
#
|
12368
|
-
#
|
12369
|
-
#
|
12370
|
-
# Region
|
12396
|
+
# * If the source instance is in a Region, you must create the snapshots
|
12397
|
+
# in the same Region as the instance.
|
12398
|
+
#
|
12399
|
+
# * If the source instance is in a Local Zone, you can create the
|
12400
|
+
# snapshots in the same Local Zone or in its parent Amazon Web
|
12401
|
+
# Services Region.
|
12402
|
+
#
|
12403
|
+
# * If the source instance is on an Outpost, you can create the
|
12404
|
+
# snapshots on the same Outpost or in its parent Amazon Web Services
|
12405
|
+
# Region.
|
12371
12406
|
#
|
12372
12407
|
# @option params [String] :description
|
12373
12408
|
# A description propagated to every snapshot specified by the instance.
|
@@ -12377,27 +12412,24 @@ module Aws::EC2
|
|
12377
12412
|
# snapshots.
|
12378
12413
|
#
|
12379
12414
|
# @option params [String] :outpost_arn
|
12380
|
-
#
|
12381
|
-
#
|
12415
|
+
# <note markdown="1"> Only supported for instances on Outposts. If the source instance is
|
12416
|
+
# not on an Outpost, omit this parameter.
|
12382
12417
|
#
|
12383
|
-
#
|
12384
|
-
# parameter. The snapshots are created in the same Region as the
|
12385
|
-
# instance.
|
12418
|
+
# </note>
|
12386
12419
|
#
|
12387
|
-
# * To create snapshots
|
12388
|
-
#
|
12389
|
-
#
|
12420
|
+
# * To create the snapshots on the same Outpost as the source instance,
|
12421
|
+
# specify the ARN of that Outpost. The snapshots must be created on
|
12422
|
+
# the same Outpost as the instance.
|
12390
12423
|
#
|
12391
|
-
# * To create snapshots
|
12392
|
-
#
|
12393
|
-
# The snapshots must be created on the same Outpost as the instance.
|
12424
|
+
# * To create the snapshots in the parent Region of the Outpost, omit
|
12425
|
+
# this parameter.
|
12394
12426
|
#
|
12395
|
-
# For more information, see [ Create
|
12396
|
-
#
|
12427
|
+
# For more information, see [ Create local snapshots from volumes on an
|
12428
|
+
# Outpost][1] in the *Amazon EBS User Guide*.
|
12397
12429
|
#
|
12398
12430
|
#
|
12399
12431
|
#
|
12400
|
-
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#create-
|
12432
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#create-snapshot
|
12401
12433
|
#
|
12402
12434
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
12403
12435
|
# Tags to apply to every snapshot specified by the instance.
|
@@ -12411,6 +12443,20 @@ module Aws::EC2
|
|
12411
12443
|
# @option params [String] :copy_tags_from_source
|
12412
12444
|
# Copies the tags from the specified volume to corresponding snapshot.
|
12413
12445
|
#
|
12446
|
+
# @option params [String] :location
|
12447
|
+
# <note markdown="1"> Only supported for instances in Local Zones. If the source instance is
|
12448
|
+
# not in a Local Zone, omit this parameter.
|
12449
|
+
#
|
12450
|
+
# </note>
|
12451
|
+
#
|
12452
|
+
# * To create local snapshots in the same Local Zone as the source
|
12453
|
+
# instance, specify `local`.
|
12454
|
+
#
|
12455
|
+
# * To create a regional snapshots in the parent Region of the Local
|
12456
|
+
# Zone, specify `regional` or omit this parameter.
|
12457
|
+
#
|
12458
|
+
# Default value: `regional`
|
12459
|
+
#
|
12414
12460
|
# @return [Types::CreateSnapshotsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
12415
12461
|
#
|
12416
12462
|
# * {Types::CreateSnapshotsResult#snapshots #snapshots} => Array<Types::SnapshotInfo>
|
@@ -12438,6 +12484,7 @@ module Aws::EC2
|
|
12438
12484
|
# ],
|
12439
12485
|
# dry_run: false,
|
12440
12486
|
# copy_tags_from_source: "volume", # accepts volume
|
12487
|
+
# location: "regional", # accepts regional, local
|
12441
12488
|
# })
|
12442
12489
|
#
|
12443
12490
|
# @example Response structure
|
@@ -12457,6 +12504,7 @@ module Aws::EC2
|
|
12457
12504
|
# resp.snapshots[0].snapshot_id #=> String
|
12458
12505
|
# resp.snapshots[0].outpost_arn #=> String
|
12459
12506
|
# resp.snapshots[0].sse_type #=> String, one of "sse-ebs", "sse-kms", "none"
|
12507
|
+
# resp.snapshots[0].availability_zone #=> String
|
12460
12508
|
#
|
12461
12509
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSnapshots AWS API Documentation
|
12462
12510
|
#
|
@@ -18449,7 +18497,7 @@ module Aws::EC2
|
|
18449
18497
|
# the volume.
|
18450
18498
|
#
|
18451
18499
|
# You cannot delete a snapshot of the root device of an EBS volume used
|
18452
|
-
# by a registered AMI. You must first
|
18500
|
+
# by a registered AMI. You must first deregister the AMI before you can
|
18453
18501
|
# delete the snapshot.
|
18454
18502
|
#
|
18455
18503
|
# For more information, see [Delete an Amazon EBS snapshot][1] in the
|
@@ -21504,6 +21552,15 @@ module Aws::EC2
|
|
21504
21552
|
# Amazon Web Services Region that you're currently using. With Capacity
|
21505
21553
|
# Blocks, you purchase a specific instance type for a period of time.
|
21506
21554
|
#
|
21555
|
+
# To search for an available Capacity Block offering, you specify a
|
21556
|
+
# reservation duration and instance count. You must select one of the
|
21557
|
+
# following options.
|
21558
|
+
#
|
21559
|
+
# * For reservation durations<b> 1-day increments up 14 days and 7-day
|
21560
|
+
# increments up to 182 days total</b>
|
21561
|
+
#
|
21562
|
+
# * For instance count<b> 1, 2, 4, 8, 16, 32, or 64 instances</b>
|
21563
|
+
#
|
21507
21564
|
# @option params [Boolean] :dry_run
|
21508
21565
|
# Checks whether you have the required permissions for the action,
|
21509
21566
|
# without actually making the request, and provides an error response.
|
@@ -22388,6 +22445,7 @@ module Aws::EC2
|
|
22388
22445
|
# resp.client_vpn_endpoints[0].session_timeout_hours #=> Integer
|
22389
22446
|
# resp.client_vpn_endpoints[0].client_login_banner_options.enabled #=> Boolean
|
22390
22447
|
# resp.client_vpn_endpoints[0].client_login_banner_options.banner_text #=> String
|
22448
|
+
# resp.client_vpn_endpoints[0].disconnect_on_session_timeout #=> Boolean
|
22391
22449
|
# resp.next_token #=> String
|
22392
22450
|
#
|
22393
22451
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeClientVpnEndpoints AWS API Documentation
|
@@ -26374,7 +26432,8 @@ module Aws::EC2
|
|
26374
26432
|
# * `p3dn.24xlarge` \| `p4d.24xlarge` \| `p4de.24xlarge` \|
|
26375
26433
|
# `p5.48xlarge` \| `p5e.48xlarge` \| `p5en.48xlarge`
|
26376
26434
|
#
|
26377
|
-
# * `trn1.2xlarge` \| `trn1.32xlarge` \| `trn1n.32xlarge`
|
26435
|
+
# * `trn1.2xlarge` \| `trn1.32xlarge` \| `trn1n.32xlarge` \|
|
26436
|
+
# `trn2.48xlarge` \| `trn2u.48xlarge`
|
26378
26437
|
#
|
26379
26438
|
# For more information, see [Amazon EC2 instance topology][1] in the
|
26380
26439
|
# *Amazon EC2 User Guide*.
|
@@ -31718,6 +31777,13 @@ module Aws::EC2
|
|
31718
31777
|
#
|
31719
31778
|
# * `network-interface-id` - The ID of the network interface.
|
31720
31779
|
#
|
31780
|
+
# * `operator.managed` - A Boolean that indicates whether this is a
|
31781
|
+
# managed network interface.
|
31782
|
+
#
|
31783
|
+
# * `operator.principal` - The principal that manages the network
|
31784
|
+
# interface. Only valid for managed network interfaces, where
|
31785
|
+
# `managed` is `true`.
|
31786
|
+
#
|
31721
31787
|
# * `owner-id` - The Amazon Web Services account ID of the network
|
31722
31788
|
# interface owner.
|
31723
31789
|
#
|
@@ -34357,6 +34423,7 @@ module Aws::EC2
|
|
34357
34423
|
# resp.snapshots[0].storage_tier #=> String, one of "archive", "standard"
|
34358
34424
|
# resp.snapshots[0].restore_expiry_time #=> Time
|
34359
34425
|
# resp.snapshots[0].sse_type #=> String, one of "sse-ebs", "sse-kms", "none"
|
34426
|
+
# resp.snapshots[0].availability_zone #=> String
|
34360
34427
|
# resp.snapshots[0].transfer_type #=> String, one of "time-based", "standard"
|
34361
34428
|
# resp.snapshots[0].completion_duration_minutes #=> Integer
|
34362
34429
|
# resp.snapshots[0].completion_time #=> Time
|
@@ -48982,6 +49049,12 @@ module Aws::EC2
|
|
48982
49049
|
# on Amazon Web Services provided clients when a VPN session is
|
48983
49050
|
# established.
|
48984
49051
|
#
|
49052
|
+
# @option params [Boolean] :disconnect_on_session_timeout
|
49053
|
+
# Indicates whether the client VPN session is disconnected after the
|
49054
|
+
# maximum timeout specified in `sessionTimeoutHours` is reached. If
|
49055
|
+
# `true`, users are prompted to reconnect client VPN. If `false`, client
|
49056
|
+
# VPN attempts to reconnect automatically. The default value is `false`.
|
49057
|
+
#
|
48985
49058
|
# @return [Types::ModifyClientVpnEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
48986
49059
|
#
|
48987
49060
|
# * {Types::ModifyClientVpnEndpointResult#return #return} => Boolean
|
@@ -49016,6 +49089,7 @@ module Aws::EC2
|
|
49016
49089
|
# enabled: false,
|
49017
49090
|
# banner_text: "String",
|
49018
49091
|
# },
|
49092
|
+
# disconnect_on_session_timeout: false,
|
49019
49093
|
# })
|
49020
49094
|
#
|
49021
49095
|
# @example Response structure
|
@@ -63082,7 +63156,7 @@ module Aws::EC2
|
|
63082
63156
|
tracer: tracer
|
63083
63157
|
)
|
63084
63158
|
context[:gem_name] = 'aws-sdk-ec2'
|
63085
|
-
context[:gem_version] = '1.
|
63159
|
+
context[:gem_version] = '1.499.0'
|
63086
63160
|
Seahorse::Client::Request.new(handlers, context)
|
63087
63161
|
end
|
63088
63162
|
|
@@ -2914,6 +2914,7 @@ module Aws::EC2
|
|
2914
2914
|
SnapshotIdStringList = Shapes::ListShape.new(name: 'SnapshotIdStringList')
|
2915
2915
|
SnapshotInfo = Shapes::StructureShape.new(name: 'SnapshotInfo')
|
2916
2916
|
SnapshotList = Shapes::ListShape.new(name: 'SnapshotList')
|
2917
|
+
SnapshotLocationEnum = Shapes::StringShape.new(name: 'SnapshotLocationEnum')
|
2917
2918
|
SnapshotRecycleBinInfo = Shapes::StructureShape.new(name: 'SnapshotRecycleBinInfo')
|
2918
2919
|
SnapshotRecycleBinInfoList = Shapes::ListShape.new(name: 'SnapshotRecycleBinInfoList')
|
2919
2920
|
SnapshotSet = Shapes::ListShape.new(name: 'SnapshotSet')
|
@@ -4651,6 +4652,7 @@ module Aws::EC2
|
|
4651
4652
|
ClientVpnEndpoint.add_member(:client_connect_options, Shapes::ShapeRef.new(shape: ClientConnectResponseOptions, location_name: "clientConnectOptions"))
|
4652
4653
|
ClientVpnEndpoint.add_member(:session_timeout_hours, Shapes::ShapeRef.new(shape: Integer, location_name: "sessionTimeoutHours"))
|
4653
4654
|
ClientVpnEndpoint.add_member(:client_login_banner_options, Shapes::ShapeRef.new(shape: ClientLoginBannerResponseOptions, location_name: "clientLoginBannerOptions"))
|
4655
|
+
ClientVpnEndpoint.add_member(:disconnect_on_session_timeout, Shapes::ShapeRef.new(shape: Boolean, location_name: "disconnectOnSessionTimeout"))
|
4654
4656
|
ClientVpnEndpoint.struct_class = Types::ClientVpnEndpoint
|
4655
4657
|
|
4656
4658
|
ClientVpnEndpointAttributeStatus.add_member(:code, Shapes::ShapeRef.new(shape: ClientVpnEndpointAttributeStatusCode, location_name: "code"))
|
@@ -4929,6 +4931,7 @@ module Aws::EC2
|
|
4929
4931
|
CreateClientVpnEndpointRequest.add_member(:client_connect_options, Shapes::ShapeRef.new(shape: ClientConnectOptions, location_name: "ClientConnectOptions"))
|
4930
4932
|
CreateClientVpnEndpointRequest.add_member(:session_timeout_hours, Shapes::ShapeRef.new(shape: Integer, location_name: "SessionTimeoutHours"))
|
4931
4933
|
CreateClientVpnEndpointRequest.add_member(:client_login_banner_options, Shapes::ShapeRef.new(shape: ClientLoginBannerOptions, location_name: "ClientLoginBannerOptions"))
|
4934
|
+
CreateClientVpnEndpointRequest.add_member(:disconnect_on_session_timeout, Shapes::ShapeRef.new(shape: Boolean, location_name: "DisconnectOnSessionTimeout"))
|
4932
4935
|
CreateClientVpnEndpointRequest.struct_class = Types::CreateClientVpnEndpointRequest
|
4933
4936
|
|
4934
4937
|
CreateClientVpnEndpointResult.add_member(:client_vpn_endpoint_id, Shapes::ShapeRef.new(shape: String, location_name: "clientVpnEndpointId"))
|
@@ -5476,6 +5479,7 @@ module Aws::EC2
|
|
5476
5479
|
CreateSnapshotRequest.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "OutpostArn"))
|
5477
5480
|
CreateSnapshotRequest.add_member(:volume_id, Shapes::ShapeRef.new(shape: VolumeId, required: true, location_name: "VolumeId"))
|
5478
5481
|
CreateSnapshotRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
5482
|
+
CreateSnapshotRequest.add_member(:location, Shapes::ShapeRef.new(shape: SnapshotLocationEnum, location_name: "Location"))
|
5479
5483
|
CreateSnapshotRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
5480
5484
|
CreateSnapshotRequest.struct_class = Types::CreateSnapshotRequest
|
5481
5485
|
|
@@ -5485,6 +5489,7 @@ module Aws::EC2
|
|
5485
5489
|
CreateSnapshotsRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
5486
5490
|
CreateSnapshotsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
5487
5491
|
CreateSnapshotsRequest.add_member(:copy_tags_from_source, Shapes::ShapeRef.new(shape: CopyTagsFromSource, location_name: "CopyTagsFromSource"))
|
5492
|
+
CreateSnapshotsRequest.add_member(:location, Shapes::ShapeRef.new(shape: SnapshotLocationEnum, location_name: "Location"))
|
5488
5493
|
CreateSnapshotsRequest.struct_class = Types::CreateSnapshotsRequest
|
5489
5494
|
|
5490
5495
|
CreateSnapshotsResult.add_member(:snapshots, Shapes::ShapeRef.new(shape: SnapshotSet, location_name: "snapshotSet"))
|
@@ -12158,6 +12163,7 @@ module Aws::EC2
|
|
12158
12163
|
ModifyClientVpnEndpointRequest.add_member(:client_connect_options, Shapes::ShapeRef.new(shape: ClientConnectOptions, location_name: "ClientConnectOptions"))
|
12159
12164
|
ModifyClientVpnEndpointRequest.add_member(:session_timeout_hours, Shapes::ShapeRef.new(shape: Integer, location_name: "SessionTimeoutHours"))
|
12160
12165
|
ModifyClientVpnEndpointRequest.add_member(:client_login_banner_options, Shapes::ShapeRef.new(shape: ClientLoginBannerOptions, location_name: "ClientLoginBannerOptions"))
|
12166
|
+
ModifyClientVpnEndpointRequest.add_member(:disconnect_on_session_timeout, Shapes::ShapeRef.new(shape: Boolean, location_name: "DisconnectOnSessionTimeout"))
|
12161
12167
|
ModifyClientVpnEndpointRequest.struct_class = Types::ModifyClientVpnEndpointRequest
|
12162
12168
|
|
12163
12169
|
ModifyClientVpnEndpointResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
@@ -14969,6 +14975,7 @@ module Aws::EC2
|
|
14969
14975
|
Snapshot.add_member(:storage_tier, Shapes::ShapeRef.new(shape: StorageTier, location_name: "storageTier"))
|
14970
14976
|
Snapshot.add_member(:restore_expiry_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "restoreExpiryTime"))
|
14971
14977
|
Snapshot.add_member(:sse_type, Shapes::ShapeRef.new(shape: SSEType, location_name: "sseType"))
|
14978
|
+
Snapshot.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
14972
14979
|
Snapshot.add_member(:transfer_type, Shapes::ShapeRef.new(shape: TransferType, location_name: "transferType"))
|
14973
14980
|
Snapshot.add_member(:completion_duration_minutes, Shapes::ShapeRef.new(shape: SnapshotCompletionDurationMinutesResponse, location_name: "completionDurationMinutes"))
|
14974
14981
|
Snapshot.add_member(:completion_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "completionTime"))
|
@@ -15020,6 +15027,7 @@ module Aws::EC2
|
|
15020
15027
|
SnapshotInfo.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: String, location_name: "snapshotId"))
|
15021
15028
|
SnapshotInfo.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "outpostArn"))
|
15022
15029
|
SnapshotInfo.add_member(:sse_type, Shapes::ShapeRef.new(shape: SSEType, location_name: "sseType"))
|
15030
|
+
SnapshotInfo.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
15023
15031
|
SnapshotInfo.struct_class = Types::SnapshotInfo
|
15024
15032
|
|
15025
15033
|
SnapshotList.member = Shapes::ShapeRef.new(shape: Snapshot, location_name: "item")
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -1223,25 +1223,24 @@ module Aws::EC2
|
|
1223
1223
|
# ],
|
1224
1224
|
# },
|
1225
1225
|
# ],
|
1226
|
+
# location: "regional", # accepts regional, local
|
1226
1227
|
# dry_run: false,
|
1227
1228
|
# })
|
1228
1229
|
# @param [Hash] options ({})
|
1229
1230
|
# @option options [String] :description
|
1230
1231
|
# A description for the snapshot.
|
1231
1232
|
# @option options [String] :outpost_arn
|
1232
|
-
#
|
1233
|
-
#
|
1233
|
+
# <note markdown="1"> Only supported for volumes on Outposts. If the source volume is not on
|
1234
|
+
# an Outpost, omit this parameter.
|
1234
1235
|
#
|
1235
|
-
#
|
1236
|
-
# The snapshot is created in the same Region as the volume.
|
1236
|
+
# </note>
|
1237
1237
|
#
|
1238
|
-
# * To create
|
1239
|
-
#
|
1240
|
-
#
|
1238
|
+
# * To create the snapshot on the same Outpost as the source volume,
|
1239
|
+
# specify the ARN of that Outpost. The snapshot must be created on the
|
1240
|
+
# same Outpost as the volume.
|
1241
1241
|
#
|
1242
|
-
# * To create
|
1243
|
-
#
|
1244
|
-
# The snapshot must be created on the same Outpost as the volume.
|
1242
|
+
# * To create the snapshot in the parent Region of the Outpost, omit
|
1243
|
+
# this parameter.
|
1245
1244
|
#
|
1246
1245
|
# For more information, see [Create local snapshots from volumes on an
|
1247
1246
|
# Outpost][1] in the *Amazon EBS User Guide*.
|
@@ -1253,6 +1252,19 @@ module Aws::EC2
|
|
1253
1252
|
# The ID of the Amazon EBS volume.
|
1254
1253
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
1255
1254
|
# The tags to apply to the snapshot during creation.
|
1255
|
+
# @option options [String] :location
|
1256
|
+
# <note markdown="1"> Only supported for volumes in Local Zones. If the source volume is not
|
1257
|
+
# in a Local Zone, omit this parameter.
|
1258
|
+
#
|
1259
|
+
# </note>
|
1260
|
+
#
|
1261
|
+
# * To create a local snapshot in the same Local Zone as the source
|
1262
|
+
# volume, specify `local`.
|
1263
|
+
#
|
1264
|
+
# * To create a regional snapshot in the parent Region of the Local
|
1265
|
+
# Zone, specify `regional` or omit this parameter.
|
1266
|
+
#
|
1267
|
+
# Default value: `regional`
|
1256
1268
|
# @option options [Boolean] :dry_run
|
1257
1269
|
# Checks whether you have the required permissions for the action,
|
1258
1270
|
# without actually making the request, and provides an error response.
|
@@ -3368,6 +3380,13 @@ module Aws::EC2
|
|
3368
3380
|
#
|
3369
3381
|
# * `network-interface-id` - The ID of the network interface.
|
3370
3382
|
#
|
3383
|
+
# * `operator.managed` - A Boolean that indicates whether this is a
|
3384
|
+
# managed network interface.
|
3385
|
+
#
|
3386
|
+
# * `operator.principal` - The principal that manages the network
|
3387
|
+
# interface. Only valid for managed network interfaces, where
|
3388
|
+
# `managed` is `true`.
|
3389
|
+
#
|
3371
3390
|
# * `owner-id` - The Amazon Web Services account ID of the network
|
3372
3391
|
# interface owner.
|
3373
3392
|
#
|
data/lib/aws-sdk-ec2/snapshot.rb
CHANGED
@@ -84,6 +84,13 @@ module Aws::EC2
|
|
84
84
|
data[:sse_type]
|
85
85
|
end
|
86
86
|
|
87
|
+
# The Availability Zone or Local Zone of the snapshot. For example,
|
88
|
+
# `us-west-1a` (Availability Zone) or `us-west-2-lax-1a` (Local Zone).
|
89
|
+
# @return [String]
|
90
|
+
def availability_zone
|
91
|
+
data[:availability_zone]
|
92
|
+
end
|
93
|
+
|
87
94
|
# <note markdown="1"> Only for snapshot copies.
|
88
95
|
#
|
89
96
|
# </note>
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -1818,6 +1818,13 @@ module Aws::EC2
|
|
1818
1818
|
#
|
1819
1819
|
# * `network-interface-id` - The ID of the network interface.
|
1820
1820
|
#
|
1821
|
+
# * `operator.managed` - A Boolean that indicates whether this is a
|
1822
|
+
# managed network interface.
|
1823
|
+
#
|
1824
|
+
# * `operator.principal` - The principal that manages the network
|
1825
|
+
# interface. Only valid for managed network interfaces, where
|
1826
|
+
# `managed` is `true`.
|
1827
|
+
#
|
1821
1828
|
# * `owner-id` - The Amazon Web Services account ID of the network
|
1822
1829
|
# interface owner.
|
1823
1830
|
#
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -6295,6 +6295,13 @@ module Aws::EC2
|
|
6295
6295
|
# is established.
|
6296
6296
|
# @return [Types::ClientLoginBannerResponseOptions]
|
6297
6297
|
#
|
6298
|
+
# @!attribute [rw] disconnect_on_session_timeout
|
6299
|
+
# Indicates whether the client VPN session is disconnected after the
|
6300
|
+
# maximum `sessionTimeoutHours` is reached. If `true`, users are
|
6301
|
+
# prompted to reconnect client VPN. If `false`, client VPN attempts to
|
6302
|
+
# reconnect automatically. The default value is `false`.
|
6303
|
+
# @return [Boolean]
|
6304
|
+
#
|
6298
6305
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClientVpnEndpoint AWS API Documentation
|
6299
6306
|
#
|
6300
6307
|
class ClientVpnEndpoint < Struct.new(
|
@@ -6320,7 +6327,8 @@ module Aws::EC2
|
|
6320
6327
|
:self_service_portal_url,
|
6321
6328
|
:client_connect_options,
|
6322
6329
|
:session_timeout_hours,
|
6323
|
-
:client_login_banner_options
|
6330
|
+
:client_login_banner_options,
|
6331
|
+
:disconnect_on_session_timeout)
|
6324
6332
|
SENSITIVE = []
|
6325
6333
|
include Aws::Structure
|
6326
6334
|
end
|
@@ -8115,6 +8123,14 @@ module Aws::EC2
|
|
8115
8123
|
# is established.
|
8116
8124
|
# @return [Types::ClientLoginBannerOptions]
|
8117
8125
|
#
|
8126
|
+
# @!attribute [rw] disconnect_on_session_timeout
|
8127
|
+
# Indicates whether the client VPN session is disconnected after the
|
8128
|
+
# maximum timeout specified in `SessionTimeoutHours` is reached. If
|
8129
|
+
# `true`, users are prompted to reconnect client VPN. If `false`,
|
8130
|
+
# client VPN attempts to reconnect automatically. The default value is
|
8131
|
+
# `false`.
|
8132
|
+
# @return [Boolean]
|
8133
|
+
#
|
8118
8134
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateClientVpnEndpointRequest AWS API Documentation
|
8119
8135
|
#
|
8120
8136
|
class CreateClientVpnEndpointRequest < Struct.new(
|
@@ -8135,7 +8151,8 @@ module Aws::EC2
|
|
8135
8151
|
:self_service_portal,
|
8136
8152
|
:client_connect_options,
|
8137
8153
|
:session_timeout_hours,
|
8138
|
-
:client_login_banner_options
|
8154
|
+
:client_login_banner_options,
|
8155
|
+
:disconnect_on_session_timeout)
|
8139
8156
|
SENSITIVE = []
|
8140
8157
|
include Aws::Structure
|
8141
8158
|
end
|
@@ -11504,20 +11521,17 @@ module Aws::EC2
|
|
11504
11521
|
# @return [String]
|
11505
11522
|
#
|
11506
11523
|
# @!attribute [rw] outpost_arn
|
11507
|
-
#
|
11508
|
-
#
|
11524
|
+
# <note markdown="1"> Only supported for volumes on Outposts. If the source volume is not
|
11525
|
+
# on an Outpost, omit this parameter.
|
11509
11526
|
#
|
11510
|
-
#
|
11511
|
-
# The snapshot is created in the same Region as the volume.
|
11527
|
+
# </note>
|
11512
11528
|
#
|
11513
|
-
# * To create
|
11514
|
-
#
|
11515
|
-
#
|
11529
|
+
# * To create the snapshot on the same Outpost as the source volume,
|
11530
|
+
# specify the ARN of that Outpost. The snapshot must be created on
|
11531
|
+
# the same Outpost as the volume.
|
11516
11532
|
#
|
11517
|
-
# * To create
|
11518
|
-
#
|
11519
|
-
# Outpost. The snapshot must be created on the same Outpost as the
|
11520
|
-
# volume.
|
11533
|
+
# * To create the snapshot in the parent Region of the Outpost, omit
|
11534
|
+
# this parameter.
|
11521
11535
|
#
|
11522
11536
|
# For more information, see [Create local snapshots from volumes on an
|
11523
11537
|
# Outpost][1] in the *Amazon EBS User Guide*.
|
@@ -11535,6 +11549,21 @@ module Aws::EC2
|
|
11535
11549
|
# The tags to apply to the snapshot during creation.
|
11536
11550
|
# @return [Array<Types::TagSpecification>]
|
11537
11551
|
#
|
11552
|
+
# @!attribute [rw] location
|
11553
|
+
# <note markdown="1"> Only supported for volumes in Local Zones. If the source volume is
|
11554
|
+
# not in a Local Zone, omit this parameter.
|
11555
|
+
#
|
11556
|
+
# </note>
|
11557
|
+
#
|
11558
|
+
# * To create a local snapshot in the same Local Zone as the source
|
11559
|
+
# volume, specify `local`.
|
11560
|
+
#
|
11561
|
+
# * To create a regional snapshot in the parent Region of the Local
|
11562
|
+
# Zone, specify `regional` or omit this parameter.
|
11563
|
+
#
|
11564
|
+
# Default value: `regional`
|
11565
|
+
# @return [String]
|
11566
|
+
#
|
11538
11567
|
# @!attribute [rw] dry_run
|
11539
11568
|
# Checks whether you have the required permissions for the action,
|
11540
11569
|
# without actually making the request, and provides an error response.
|
@@ -11549,6 +11578,7 @@ module Aws::EC2
|
|
11549
11578
|
:outpost_arn,
|
11550
11579
|
:volume_id,
|
11551
11580
|
:tag_specifications,
|
11581
|
+
:location,
|
11552
11582
|
:dry_run)
|
11553
11583
|
SENSITIVE = []
|
11554
11584
|
include Aws::Structure
|
@@ -11565,28 +11595,24 @@ module Aws::EC2
|
|
11565
11595
|
# @return [Types::InstanceSpecification]
|
11566
11596
|
#
|
11567
11597
|
# @!attribute [rw] outpost_arn
|
11568
|
-
#
|
11569
|
-
#
|
11598
|
+
# <note markdown="1"> Only supported for instances on Outposts. If the source instance is
|
11599
|
+
# not on an Outpost, omit this parameter.
|
11570
11600
|
#
|
11571
|
-
#
|
11572
|
-
# parameter. The snapshots are created in the same Region as the
|
11573
|
-
# instance.
|
11601
|
+
# </note>
|
11574
11602
|
#
|
11575
|
-
# * To create snapshots
|
11576
|
-
#
|
11577
|
-
# created
|
11603
|
+
# * To create the snapshots on the same Outpost as the source
|
11604
|
+
# instance, specify the ARN of that Outpost. The snapshots must be
|
11605
|
+
# created on the same Outpost as the instance.
|
11578
11606
|
#
|
11579
|
-
# * To create snapshots
|
11580
|
-
#
|
11581
|
-
# Outpost. The snapshots must be created on the same Outpost as the
|
11582
|
-
# instance.
|
11607
|
+
# * To create the snapshots in the parent Region of the Outpost, omit
|
11608
|
+
# this parameter.
|
11583
11609
|
#
|
11584
|
-
# For more information, see [ Create
|
11585
|
-
#
|
11610
|
+
# For more information, see [ Create local snapshots from volumes on
|
11611
|
+
# an Outpost][1] in the *Amazon EBS User Guide*.
|
11586
11612
|
#
|
11587
11613
|
#
|
11588
11614
|
#
|
11589
|
-
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#create-
|
11615
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#create-snapshot
|
11590
11616
|
# @return [String]
|
11591
11617
|
#
|
11592
11618
|
# @!attribute [rw] tag_specifications
|
@@ -11604,6 +11630,21 @@ module Aws::EC2
|
|
11604
11630
|
# Copies the tags from the specified volume to corresponding snapshot.
|
11605
11631
|
# @return [String]
|
11606
11632
|
#
|
11633
|
+
# @!attribute [rw] location
|
11634
|
+
# <note markdown="1"> Only supported for instances in Local Zones. If the source instance
|
11635
|
+
# is not in a Local Zone, omit this parameter.
|
11636
|
+
#
|
11637
|
+
# </note>
|
11638
|
+
#
|
11639
|
+
# * To create local snapshots in the same Local Zone as the source
|
11640
|
+
# instance, specify `local`.
|
11641
|
+
#
|
11642
|
+
# * To create a regional snapshots in the parent Region of the Local
|
11643
|
+
# Zone, specify `regional` or omit this parameter.
|
11644
|
+
#
|
11645
|
+
# Default value: `regional`
|
11646
|
+
# @return [String]
|
11647
|
+
#
|
11607
11648
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSnapshotsRequest AWS API Documentation
|
11608
11649
|
#
|
11609
11650
|
class CreateSnapshotsRequest < Struct.new(
|
@@ -11612,7 +11653,8 @@ module Aws::EC2
|
|
11612
11653
|
:outpost_arn,
|
11613
11654
|
:tag_specifications,
|
11614
11655
|
:dry_run,
|
11615
|
-
:copy_tags_from_source
|
11656
|
+
:copy_tags_from_source,
|
11657
|
+
:location)
|
11616
11658
|
SENSITIVE = []
|
11617
11659
|
include Aws::Structure
|
11618
11660
|
end
|
@@ -24942,6 +24984,13 @@ module Aws::EC2
|
|
24942
24984
|
#
|
24943
24985
|
# * `network-interface-id` - The ID of the network interface.
|
24944
24986
|
#
|
24987
|
+
# * `operator.managed` - A Boolean that indicates whether this is a
|
24988
|
+
# managed network interface.
|
24989
|
+
#
|
24990
|
+
# * `operator.principal` - The principal that manages the network
|
24991
|
+
# interface. Only valid for managed network interfaces, where
|
24992
|
+
# `managed` is `true`.
|
24993
|
+
#
|
24945
24994
|
# * `owner-id` - The Amazon Web Services account ID of the network
|
24946
24995
|
# interface owner.
|
24947
24996
|
#
|
@@ -42335,7 +42384,8 @@ module Aws::EC2
|
|
42335
42384
|
# @return [String]
|
42336
42385
|
#
|
42337
42386
|
# @!attribute [rw] no_device
|
42338
|
-
#
|
42387
|
+
# Suppresses the specified device included in the block device
|
42388
|
+
# mapping.
|
42339
42389
|
# @return [String]
|
42340
42390
|
#
|
42341
42391
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceBlockDeviceMappingSpecification AWS API Documentation
|
@@ -43386,15 +43436,9 @@ module Aws::EC2
|
|
43386
43436
|
# @return [Array<Types::PrivateIpAddressSpecification>]
|
43387
43437
|
#
|
43388
43438
|
# @!attribute [rw] secondary_private_ip_address_count
|
43389
|
-
# The number of secondary private IPv4 addresses. You can
|
43390
|
-
# this
|
43391
|
-
#
|
43392
|
-
# you're launching more than one instance in a [RunInstances][1]
|
43393
|
-
# request.
|
43394
|
-
#
|
43395
|
-
#
|
43396
|
-
#
|
43397
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html
|
43439
|
+
# The number of secondary private IPv4 addresses. You can’t specify
|
43440
|
+
# this parameter and also specify a secondary private IP address using
|
43441
|
+
# the `PrivateIpAddress` parameter.
|
43398
43442
|
# @return [Integer]
|
43399
43443
|
#
|
43400
43444
|
# @!attribute [rw] subnet_id
|
@@ -50633,6 +50677,14 @@ module Aws::EC2
|
|
50633
50677
|
# is established.
|
50634
50678
|
# @return [Types::ClientLoginBannerOptions]
|
50635
50679
|
#
|
50680
|
+
# @!attribute [rw] disconnect_on_session_timeout
|
50681
|
+
# Indicates whether the client VPN session is disconnected after the
|
50682
|
+
# maximum timeout specified in `sessionTimeoutHours` is reached. If
|
50683
|
+
# `true`, users are prompted to reconnect client VPN. If `false`,
|
50684
|
+
# client VPN attempts to reconnect automatically. The default value is
|
50685
|
+
# `false`.
|
50686
|
+
# @return [Boolean]
|
50687
|
+
#
|
50636
50688
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyClientVpnEndpointRequest AWS API Documentation
|
50637
50689
|
#
|
50638
50690
|
class ModifyClientVpnEndpointRequest < Struct.new(
|
@@ -50649,7 +50701,8 @@ module Aws::EC2
|
|
50649
50701
|
:self_service_portal,
|
50650
50702
|
:client_connect_options,
|
50651
50703
|
:session_timeout_hours,
|
50652
|
-
:client_login_banner_options
|
50704
|
+
:client_login_banner_options,
|
50705
|
+
:disconnect_on_session_timeout)
|
50653
50706
|
SENSITIVE = []
|
50654
50707
|
include Aws::Structure
|
50655
50708
|
end
|
@@ -65552,6 +65605,11 @@ module Aws::EC2
|
|
65552
65605
|
# Reserved for future use.
|
65553
65606
|
# @return [String]
|
65554
65607
|
#
|
65608
|
+
# @!attribute [rw] availability_zone
|
65609
|
+
# The Availability Zone or Local Zone of the snapshot. For example,
|
65610
|
+
# `us-west-1a` (Availability Zone) or `us-west-2-lax-1a` (Local Zone).
|
65611
|
+
# @return [String]
|
65612
|
+
#
|
65555
65613
|
# @!attribute [rw] transfer_type
|
65556
65614
|
# <note markdown="1"> Only for snapshot copies.
|
65557
65615
|
#
|
@@ -65657,6 +65715,7 @@ module Aws::EC2
|
|
65657
65715
|
:storage_tier,
|
65658
65716
|
:restore_expiry_time,
|
65659
65717
|
:sse_type,
|
65718
|
+
:availability_zone,
|
65660
65719
|
:transfer_type,
|
65661
65720
|
:completion_duration_minutes,
|
65662
65721
|
:completion_time,
|
@@ -65825,6 +65884,11 @@ module Aws::EC2
|
|
65825
65884
|
# Reserved for future use.
|
65826
65885
|
# @return [String]
|
65827
65886
|
#
|
65887
|
+
# @!attribute [rw] availability_zone
|
65888
|
+
# The Availability Zone or Local Zone of the snapshots. For example,
|
65889
|
+
# `us-west-1a` (Availability Zone) or `us-west-2-lax-1a` (Local Zone).
|
65890
|
+
# @return [String]
|
65891
|
+
#
|
65828
65892
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SnapshotInfo AWS API Documentation
|
65829
65893
|
#
|
65830
65894
|
class SnapshotInfo < Struct.new(
|
@@ -65839,7 +65903,8 @@ module Aws::EC2
|
|
65839
65903
|
:owner_id,
|
65840
65904
|
:snapshot_id,
|
65841
65905
|
:outpost_arn,
|
65842
|
-
:sse_type
|
65906
|
+
:sse_type,
|
65907
|
+
:availability_zone)
|
65843
65908
|
SENSITIVE = []
|
65844
65909
|
include Aws::Structure
|
65845
65910
|
end
|
data/lib/aws-sdk-ec2/volume.rb
CHANGED
@@ -334,25 +334,24 @@ module Aws::EC2
|
|
334
334
|
# ],
|
335
335
|
# },
|
336
336
|
# ],
|
337
|
+
# location: "regional", # accepts regional, local
|
337
338
|
# dry_run: false,
|
338
339
|
# })
|
339
340
|
# @param [Hash] options ({})
|
340
341
|
# @option options [String] :description
|
341
342
|
# A description for the snapshot.
|
342
343
|
# @option options [String] :outpost_arn
|
343
|
-
#
|
344
|
-
#
|
344
|
+
# <note markdown="1"> Only supported for volumes on Outposts. If the source volume is not on
|
345
|
+
# an Outpost, omit this parameter.
|
345
346
|
#
|
346
|
-
#
|
347
|
-
# The snapshot is created in the same Region as the volume.
|
347
|
+
# </note>
|
348
348
|
#
|
349
|
-
# * To create
|
350
|
-
#
|
351
|
-
#
|
349
|
+
# * To create the snapshot on the same Outpost as the source volume,
|
350
|
+
# specify the ARN of that Outpost. The snapshot must be created on the
|
351
|
+
# same Outpost as the volume.
|
352
352
|
#
|
353
|
-
# * To create
|
354
|
-
#
|
355
|
-
# The snapshot must be created on the same Outpost as the volume.
|
353
|
+
# * To create the snapshot in the parent Region of the Outpost, omit
|
354
|
+
# this parameter.
|
356
355
|
#
|
357
356
|
# For more information, see [Create local snapshots from volumes on an
|
358
357
|
# Outpost][1] in the *Amazon EBS User Guide*.
|
@@ -362,6 +361,19 @@ module Aws::EC2
|
|
362
361
|
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#create-snapshot
|
363
362
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
364
363
|
# The tags to apply to the snapshot during creation.
|
364
|
+
# @option options [String] :location
|
365
|
+
# <note markdown="1"> Only supported for volumes in Local Zones. If the source volume is not
|
366
|
+
# in a Local Zone, omit this parameter.
|
367
|
+
#
|
368
|
+
# </note>
|
369
|
+
#
|
370
|
+
# * To create a local snapshot in the same Local Zone as the source
|
371
|
+
# volume, specify `local`.
|
372
|
+
#
|
373
|
+
# * To create a regional snapshot in the parent Region of the Local
|
374
|
+
# Zone, specify `regional` or omit this parameter.
|
375
|
+
#
|
376
|
+
# Default value: `regional`
|
365
377
|
# @option options [Boolean] :dry_run
|
366
378
|
# Checks whether you have the required permissions for the action,
|
367
379
|
# without actually making the request, and provides an error response.
|
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
@@ -1766,6 +1766,13 @@ module Aws::EC2
|
|
1766
1766
|
#
|
1767
1767
|
# * `network-interface-id` - The ID of the network interface.
|
1768
1768
|
#
|
1769
|
+
# * `operator.managed` - A Boolean that indicates whether this is a
|
1770
|
+
# managed network interface.
|
1771
|
+
#
|
1772
|
+
# * `operator.principal` - The principal that manages the network
|
1773
|
+
# interface. Only valid for managed network interfaces, where
|
1774
|
+
# `managed` is `true`.
|
1775
|
+
#
|
1769
1776
|
# * `owner-id` - The Amazon Web Services account ID of the network
|
1770
1777
|
# interface owner.
|
1771
1778
|
#
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -1257,7 +1257,8 @@ module Aws
|
|
1257
1257
|
?client_login_banner_options: {
|
1258
1258
|
enabled: bool?,
|
1259
1259
|
banner_text: ::String?
|
1260
|
-
}
|
1260
|
+
},
|
1261
|
+
?disconnect_on_session_timeout: bool
|
1261
1262
|
) -> _CreateClientVpnEndpointResponseSuccess
|
1262
1263
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateClientVpnEndpointResponseSuccess
|
1263
1264
|
|
@@ -3122,6 +3123,7 @@ module Aws
|
|
3122
3123
|
def storage_tier: () -> ("archive" | "standard")
|
3123
3124
|
def restore_expiry_time: () -> ::Time
|
3124
3125
|
def sse_type: () -> ("sse-ebs" | "sse-kms" | "none")
|
3126
|
+
def availability_zone: () -> ::String
|
3125
3127
|
def transfer_type: () -> ("time-based" | "standard")
|
3126
3128
|
def completion_duration_minutes: () -> ::Integer
|
3127
3129
|
def completion_time: () -> ::Time
|
@@ -3154,6 +3156,7 @@ module Aws
|
|
3154
3156
|
]?
|
3155
3157
|
},
|
3156
3158
|
],
|
3159
|
+
?location: ("regional" | "local"),
|
3157
3160
|
?dry_run: bool
|
3158
3161
|
) -> _CreateSnapshotResponseSuccess
|
3159
3162
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSnapshotResponseSuccess
|
@@ -3183,7 +3186,8 @@ module Aws
|
|
3183
3186
|
},
|
3184
3187
|
],
|
3185
3188
|
?dry_run: bool,
|
3186
|
-
?copy_tags_from_source: ("volume")
|
3189
|
+
?copy_tags_from_source: ("volume"),
|
3190
|
+
?location: ("regional" | "local")
|
3187
3191
|
) -> _CreateSnapshotsResponseSuccess
|
3188
3192
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSnapshotsResponseSuccess
|
3189
3193
|
|
@@ -10303,7 +10307,8 @@ module Aws
|
|
10303
10307
|
?client_login_banner_options: {
|
10304
10308
|
enabled: bool?,
|
10305
10309
|
banner_text: ::String?
|
10306
|
-
}
|
10310
|
+
},
|
10311
|
+
?disconnect_on_session_timeout: bool
|
10307
10312
|
) -> _ModifyClientVpnEndpointResponseSuccess
|
10308
10313
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyClientVpnEndpointResponseSuccess
|
10309
10314
|
|
data/sig/resource.rbs
CHANGED
data/sig/snapshot.rbs
CHANGED
@@ -36,6 +36,9 @@ module Aws
|
|
36
36
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#sse_type-instance_method
|
37
37
|
def sse_type: () -> ("sse-ebs" | "sse-kms" | "none")
|
38
38
|
|
39
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#availability_zone-instance_method
|
40
|
+
def availability_zone: () -> ::String
|
41
|
+
|
39
42
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#transfer_type-instance_method
|
40
43
|
def transfer_type: () -> ("time-based" | "standard")
|
41
44
|
|
data/sig/types.rbs
CHANGED
@@ -1506,6 +1506,7 @@ module Aws::EC2
|
|
1506
1506
|
attr_accessor client_connect_options: Types::ClientConnectResponseOptions
|
1507
1507
|
attr_accessor session_timeout_hours: ::Integer
|
1508
1508
|
attr_accessor client_login_banner_options: Types::ClientLoginBannerResponseOptions
|
1509
|
+
attr_accessor disconnect_on_session_timeout: bool
|
1509
1510
|
SENSITIVE: []
|
1510
1511
|
end
|
1511
1512
|
|
@@ -1838,6 +1839,7 @@ module Aws::EC2
|
|
1838
1839
|
attr_accessor client_connect_options: Types::ClientConnectOptions
|
1839
1840
|
attr_accessor session_timeout_hours: ::Integer
|
1840
1841
|
attr_accessor client_login_banner_options: Types::ClientLoginBannerOptions
|
1842
|
+
attr_accessor disconnect_on_session_timeout: bool
|
1841
1843
|
SENSITIVE: []
|
1842
1844
|
end
|
1843
1845
|
|
@@ -2561,6 +2563,7 @@ module Aws::EC2
|
|
2561
2563
|
attr_accessor outpost_arn: ::String
|
2562
2564
|
attr_accessor volume_id: ::String
|
2563
2565
|
attr_accessor tag_specifications: ::Array[Types::TagSpecification]
|
2566
|
+
attr_accessor location: ("regional" | "local")
|
2564
2567
|
attr_accessor dry_run: bool
|
2565
2568
|
SENSITIVE: []
|
2566
2569
|
end
|
@@ -2572,6 +2575,7 @@ module Aws::EC2
|
|
2572
2575
|
attr_accessor tag_specifications: ::Array[Types::TagSpecification]
|
2573
2576
|
attr_accessor dry_run: bool
|
2574
2577
|
attr_accessor copy_tags_from_source: ("volume")
|
2578
|
+
attr_accessor location: ("regional" | "local")
|
2575
2579
|
SENSITIVE: []
|
2576
2580
|
end
|
2577
2581
|
|
@@ -11003,6 +11007,7 @@ module Aws::EC2
|
|
11003
11007
|
attr_accessor client_connect_options: Types::ClientConnectOptions
|
11004
11008
|
attr_accessor session_timeout_hours: ::Integer
|
11005
11009
|
attr_accessor client_login_banner_options: Types::ClientLoginBannerOptions
|
11010
|
+
attr_accessor disconnect_on_session_timeout: bool
|
11006
11011
|
SENSITIVE: []
|
11007
11012
|
end
|
11008
11013
|
|
@@ -14308,6 +14313,7 @@ module Aws::EC2
|
|
14308
14313
|
attr_accessor storage_tier: ("archive" | "standard")
|
14309
14314
|
attr_accessor restore_expiry_time: ::Time
|
14310
14315
|
attr_accessor sse_type: ("sse-ebs" | "sse-kms" | "none")
|
14316
|
+
attr_accessor availability_zone: ::String
|
14311
14317
|
attr_accessor transfer_type: ("time-based" | "standard")
|
14312
14318
|
attr_accessor completion_duration_minutes: ::Integer
|
14313
14319
|
attr_accessor completion_time: ::Time
|
@@ -14361,6 +14367,7 @@ module Aws::EC2
|
|
14361
14367
|
attr_accessor snapshot_id: ::String
|
14362
14368
|
attr_accessor outpost_arn: ::String
|
14363
14369
|
attr_accessor sse_type: ("sse-ebs" | "sse-kms" | "none")
|
14370
|
+
attr_accessor availability_zone: ::String
|
14364
14371
|
SENSITIVE: []
|
14365
14372
|
end
|
14366
14373
|
|
data/sig/volume.rbs
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.499.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:
|
11
|
+
date: 2025-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|