aws-sdk-ec2 1.531.0 → 1.532.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 +73 -25
- data/lib/aws-sdk-ec2/client_api.rb +3 -0
- data/lib/aws-sdk-ec2/instance.rb +26 -3
- data/lib/aws-sdk-ec2/resource.rb +4 -0
- data/lib/aws-sdk-ec2/subnet.rb +2 -0
- data/lib/aws-sdk-ec2/types.rb +60 -6
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +16 -5
- data/sig/instance.rbs +4 -1
- data/sig/resource.rbs +6 -2
- data/sig/subnet.rbs +3 -1
- data/sig/types.rbs +3 -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: a0cbc9827f09e17e71aceb6b92ec0b0c3717b3ae2a28c708721a66e542c65d30
|
4
|
+
data.tar.gz: e257474d08670dd887bc68e155428ef91b48a01ac3c28511a5c15b9cd303df6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bb02cc2756a5899bcd72de179f026069013a83005c628a766104846b122c1abf9a4b4e509a6e0514693c792a1c9a3223c290a3ace931528883cde42fb43d3b5
|
7
|
+
data.tar.gz: b790ef40b440fa18027c41692f06a379db609e7c9583988e402f0e3c88d73707425485815fa341e718955dc2e37acaebb82560e8a5d42530c74237337a1997b3
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.532.0 (2025-06-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release allows you to create and register AMIs while maintaining their underlying EBS snapshots within Local Zones.
|
8
|
+
|
4
9
|
1.531.0 (2025-06-09)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.532.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -7770,6 +7770,15 @@ module Aws::EC2
|
|
7770
7770
|
# launch an instance from this new AMI, the instance automatically
|
7771
7771
|
# launches with those additional volumes.
|
7772
7772
|
#
|
7773
|
+
# The location of the source instance determines where you can create
|
7774
|
+
# the snapshots of the AMI:
|
7775
|
+
#
|
7776
|
+
# * If the source instance is in a Region, you must create the snapshots
|
7777
|
+
# in the same Region as the instance.
|
7778
|
+
#
|
7779
|
+
# * If the source instance is in a Local Zone, you can create the
|
7780
|
+
# snapshots in the same Local Zone or in its parent Region.
|
7781
|
+
#
|
7773
7782
|
# For more information, see [Create an Amazon EBS-backed AMI][1] in the
|
7774
7783
|
# *Amazon Elastic Compute Cloud User Guide*.
|
7775
7784
|
#
|
@@ -7797,6 +7806,22 @@ module Aws::EC2
|
|
7797
7806
|
#
|
7798
7807
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
|
7799
7808
|
#
|
7809
|
+
# @option params [String] :snapshot_location
|
7810
|
+
# <note markdown="1"> Only supported for instances in Local Zones. If the source instance is
|
7811
|
+
# not in a Local Zone, omit this parameter.
|
7812
|
+
#
|
7813
|
+
# </note>
|
7814
|
+
#
|
7815
|
+
# The Amazon S3 location where the snapshots will be stored.
|
7816
|
+
#
|
7817
|
+
# * To create local snapshots in the same Local Zone as the source
|
7818
|
+
# instance, specify `local`.
|
7819
|
+
#
|
7820
|
+
# * To create regional snapshots in the parent Region of the Local Zone,
|
7821
|
+
# specify `regional` or omit this parameter.
|
7822
|
+
#
|
7823
|
+
# Default: `regional`
|
7824
|
+
#
|
7800
7825
|
# @option params [Boolean] :dry_run
|
7801
7826
|
# Checks whether you have the required permissions for the action,
|
7802
7827
|
# without actually making the request, and provides an error response.
|
@@ -7898,6 +7923,7 @@ module Aws::EC2
|
|
7898
7923
|
# ],
|
7899
7924
|
# },
|
7900
7925
|
# ],
|
7926
|
+
# snapshot_location: "regional", # accepts regional, local
|
7901
7927
|
# dry_run: false,
|
7902
7928
|
# instance_id: "InstanceId", # required
|
7903
7929
|
# name: "String", # required
|
@@ -7914,8 +7940,10 @@ module Aws::EC2
|
|
7914
7940
|
# kms_key_id: "String",
|
7915
7941
|
# throughput: 1,
|
7916
7942
|
# outpost_arn: "String",
|
7943
|
+
# availability_zone: "String",
|
7917
7944
|
# encrypted: false,
|
7918
7945
|
# volume_initialization_rate: 1,
|
7946
|
+
# availability_zone_id: "String",
|
7919
7947
|
# },
|
7920
7948
|
# no_device: "String",
|
7921
7949
|
# device_name: "String",
|
@@ -7941,9 +7969,8 @@ module Aws::EC2
|
|
7941
7969
|
#
|
7942
7970
|
# An EC2 Instance Connect Endpoint allows you to connect to an instance,
|
7943
7971
|
# without requiring the instance to have a public IPv4 address. For more
|
7944
|
-
# information, see [Connect to your instances
|
7945
|
-
#
|
7946
|
-
# EC2 User Guide*.
|
7972
|
+
# information, see [Connect to your instances using EC2 Instance Connect
|
7973
|
+
# Endpoint][1] in the *Amazon EC2 User Guide*.
|
7947
7974
|
#
|
7948
7975
|
#
|
7949
7976
|
#
|
@@ -13480,8 +13507,8 @@ module Aws::EC2
|
|
13480
13507
|
# * To create local snapshots in the same Local Zone as the source
|
13481
13508
|
# instance, specify `local`.
|
13482
13509
|
#
|
13483
|
-
# * To create
|
13484
|
-
#
|
13510
|
+
# * To create regional snapshots in the parent Region of the Local Zone,
|
13511
|
+
# specify `regional` or omit this parameter.
|
13485
13512
|
#
|
13486
13513
|
# Default value: `regional`
|
13487
13514
|
#
|
@@ -26391,8 +26418,10 @@ module Aws::EC2
|
|
26391
26418
|
# resp.block_device_mappings[0].ebs.kms_key_id #=> String
|
26392
26419
|
# resp.block_device_mappings[0].ebs.throughput #=> Integer
|
26393
26420
|
# resp.block_device_mappings[0].ebs.outpost_arn #=> String
|
26421
|
+
# resp.block_device_mappings[0].ebs.availability_zone #=> String
|
26394
26422
|
# resp.block_device_mappings[0].ebs.encrypted #=> Boolean
|
26395
26423
|
# resp.block_device_mappings[0].ebs.volume_initialization_rate #=> Integer
|
26424
|
+
# resp.block_device_mappings[0].ebs.availability_zone_id #=> String
|
26396
26425
|
# resp.block_device_mappings[0].no_device #=> String
|
26397
26426
|
# resp.block_device_mappings[0].device_name #=> String
|
26398
26427
|
# resp.block_device_mappings[0].virtual_name #=> String
|
@@ -26708,8 +26737,10 @@ module Aws::EC2
|
|
26708
26737
|
# resp.images[0].block_device_mappings[0].ebs.kms_key_id #=> String
|
26709
26738
|
# resp.images[0].block_device_mappings[0].ebs.throughput #=> Integer
|
26710
26739
|
# resp.images[0].block_device_mappings[0].ebs.outpost_arn #=> String
|
26740
|
+
# resp.images[0].block_device_mappings[0].ebs.availability_zone #=> String
|
26711
26741
|
# resp.images[0].block_device_mappings[0].ebs.encrypted #=> Boolean
|
26712
26742
|
# resp.images[0].block_device_mappings[0].ebs.volume_initialization_rate #=> Integer
|
26743
|
+
# resp.images[0].block_device_mappings[0].ebs.availability_zone_id #=> String
|
26713
26744
|
# resp.images[0].block_device_mappings[0].no_device #=> String
|
26714
26745
|
# resp.images[0].block_device_mappings[0].device_name #=> String
|
26715
26746
|
# resp.images[0].block_device_mappings[0].virtual_name #=> String
|
@@ -36961,8 +36992,10 @@ module Aws::EC2
|
|
36961
36992
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.kms_key_id #=> String
|
36962
36993
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.throughput #=> Integer
|
36963
36994
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.outpost_arn #=> String
|
36995
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.availability_zone #=> String
|
36964
36996
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.encrypted #=> Boolean
|
36965
36997
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.volume_initialization_rate #=> Integer
|
36998
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.availability_zone_id #=> String
|
36966
36999
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].no_device #=> String
|
36967
37000
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].device_name #=> String
|
36968
37001
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].virtual_name #=> String
|
@@ -37425,8 +37458,10 @@ module Aws::EC2
|
|
37425
37458
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.kms_key_id #=> String
|
37426
37459
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.throughput #=> Integer
|
37427
37460
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.outpost_arn #=> String
|
37461
|
+
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.availability_zone #=> String
|
37428
37462
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.encrypted #=> Boolean
|
37429
37463
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_initialization_rate #=> Integer
|
37464
|
+
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.availability_zone_id #=> String
|
37430
37465
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].no_device #=> String
|
37431
37466
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].device_name #=> String
|
37432
37467
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].virtual_name #=> String
|
@@ -59383,8 +59418,10 @@ module Aws::EC2
|
|
59383
59418
|
# kms_key_id: "String",
|
59384
59419
|
# throughput: 1,
|
59385
59420
|
# outpost_arn: "String",
|
59421
|
+
# availability_zone: "String",
|
59386
59422
|
# encrypted: false,
|
59387
59423
|
# volume_initialization_rate: 1,
|
59424
|
+
# availability_zone_id: "String",
|
59388
59425
|
# },
|
59389
59426
|
# no_device: "String",
|
59390
59427
|
# device_name: "String",
|
@@ -60907,8 +60944,10 @@ module Aws::EC2
|
|
60907
60944
|
# kms_key_id: "String",
|
60908
60945
|
# throughput: 1,
|
60909
60946
|
# outpost_arn: "String",
|
60947
|
+
# availability_zone: "String",
|
60910
60948
|
# encrypted: false,
|
60911
60949
|
# volume_initialization_rate: 1,
|
60950
|
+
# availability_zone_id: "String",
|
60912
60951
|
# },
|
60913
60952
|
# no_device: "String",
|
60914
60953
|
# device_name: "String",
|
@@ -61405,8 +61444,10 @@ module Aws::EC2
|
|
61405
61444
|
# kms_key_id: "String",
|
61406
61445
|
# throughput: 1,
|
61407
61446
|
# outpost_arn: "String",
|
61447
|
+
# availability_zone: "String",
|
61408
61448
|
# encrypted: false,
|
61409
61449
|
# volume_initialization_rate: 1,
|
61450
|
+
# availability_zone_id: "String",
|
61410
61451
|
# },
|
61411
61452
|
# no_device: "String",
|
61412
61453
|
# device_name: "String",
|
@@ -61534,8 +61575,10 @@ module Aws::EC2
|
|
61534
61575
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.kms_key_id #=> String
|
61535
61576
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.throughput #=> Integer
|
61536
61577
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.outpost_arn #=> String
|
61578
|
+
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.availability_zone #=> String
|
61537
61579
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.encrypted #=> Boolean
|
61538
61580
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_initialization_rate #=> Integer
|
61581
|
+
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.availability_zone_id #=> String
|
61539
61582
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].no_device #=> String
|
61540
61583
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].device_name #=> String
|
61541
61584
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].virtual_name #=> String
|
@@ -63111,8 +63154,10 @@ module Aws::EC2
|
|
63111
63154
|
# kms_key_id: "String",
|
63112
63155
|
# throughput: 1,
|
63113
63156
|
# outpost_arn: "String",
|
63157
|
+
# availability_zone: "String",
|
63114
63158
|
# encrypted: false,
|
63115
63159
|
# volume_initialization_rate: 1,
|
63160
|
+
# availability_zone_id: "String",
|
63116
63161
|
# },
|
63117
63162
|
# no_device: "String",
|
63118
63163
|
# device_name: "String",
|
@@ -63961,7 +64006,7 @@ module Aws::EC2
|
|
63961
64006
|
# create a new one or use an existing one), it must be in the same
|
63962
64007
|
# Region where the report generation request is made, and it must have
|
63963
64008
|
# an appropriate bucket policy. For a sample S3 policy, see *Sample
|
63964
|
-
# Amazon S3 policy* under .
|
64009
|
+
# Amazon S3 policy* under [Examples][1].
|
63965
64010
|
#
|
63966
64011
|
# * Trusted access must be enabled for the service for which the
|
63967
64012
|
# declarative policy will enforce a baseline configuration. If you use
|
@@ -63971,7 +64016,7 @@ module Aws::EC2
|
|
63971
64016
|
# `ec2.amazonaws.com`. For more information on how to enable trusted
|
63972
64017
|
# access with the Amazon Web Services CLI and Amazon Web Services
|
63973
64018
|
# SDKs, see [Using Organizations with other Amazon Web Services
|
63974
|
-
# services][
|
64019
|
+
# services][2] in the *Amazon Web Services Organizations User Guide*.
|
63975
64020
|
#
|
63976
64021
|
# * Only one report per organization can be generated at a time.
|
63977
64022
|
# Attempting to generate a report while another is in progress will
|
@@ -63979,12 +64024,13 @@ module Aws::EC2
|
|
63979
64024
|
#
|
63980
64025
|
# For more information, including the required IAM permissions to run
|
63981
64026
|
# this API, see [Generating the account status report for declarative
|
63982
|
-
# policies][
|
64027
|
+
# policies][3] in the *Amazon Web Services Organizations User Guide*.
|
63983
64028
|
#
|
63984
64029
|
#
|
63985
64030
|
#
|
63986
|
-
# [1]: https://docs.aws.amazon.com/
|
63987
|
-
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
64031
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_StartDeclarativePoliciesReport.html#API_StartDeclarativePoliciesReport_Examples
|
64032
|
+
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html
|
64033
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_declarative_status-report.html
|
63988
64034
|
#
|
63989
64035
|
# @option params [Boolean] :dry_run
|
63990
64036
|
# Checks whether you have the required permissions for the action,
|
@@ -65199,32 +65245,33 @@ module Aws::EC2
|
|
65199
65245
|
req.send_request(options)
|
65200
65246
|
end
|
65201
65247
|
|
65202
|
-
# Stops an Amazon EBS-backed instance.
|
65203
|
-
#
|
65248
|
+
# Stops an Amazon EBS-backed instance. You can restart your instance at
|
65249
|
+
# any time using the [StartInstances][1] API. For more information, see
|
65250
|
+
# [Stop and start Amazon EC2 instances][2] in the *Amazon EC2 User
|
65251
|
+
# Guide*.
|
65204
65252
|
#
|
65205
|
-
# When you stop an instance, we shut it down.
|
65206
|
-
# instance at any time.
|
65253
|
+
# When you stop an instance, we shut it down.
|
65207
65254
|
#
|
65208
65255
|
# You can use the Stop operation together with the Hibernate parameter
|
65209
65256
|
# to hibernate an instance if the instance is [enabled for
|
65210
|
-
# hibernation][
|
65257
|
+
# hibernation][3] and meets the [hibernation prerequisites][4]. Stopping
|
65211
65258
|
# an instance doesn't preserve data stored in RAM, while hibernation
|
65212
65259
|
# does. If hibernation fails, a normal shutdown occurs. For more
|
65213
|
-
# information, see [Hibernate your Amazon EC2 instance][
|
65260
|
+
# information, see [Hibernate your Amazon EC2 instance][5] in the
|
65214
65261
|
# *Amazon EC2 User Guide*.
|
65215
65262
|
#
|
65216
65263
|
# If your instance appears stuck in the `stopping` state, there might be
|
65217
65264
|
# an issue with the underlying host computer. You can use the Stop
|
65218
65265
|
# operation together with the Force parameter to force stop your
|
65219
65266
|
# instance. For more information, see [Troubleshoot Amazon EC2 instance
|
65220
|
-
# stop issues][
|
65267
|
+
# stop issues][6] in the *Amazon EC2 User Guide*.
|
65221
65268
|
#
|
65222
65269
|
# Stopping and hibernating an instance differs from rebooting or
|
65223
65270
|
# terminating it. For example, a stopped or hibernated instance retains
|
65224
65271
|
# its root volume and any data volumes, unlike terminated instances
|
65225
65272
|
# where these volumes are automatically deleted. For more information
|
65226
65273
|
# about the differences between stopping, hibernating, rebooting, and
|
65227
|
-
# terminating instances, see [Amazon EC2 instance state changes][
|
65274
|
+
# terminating instances, see [Amazon EC2 instance state changes][7] in
|
65228
65275
|
# the *Amazon EC2 User Guide*.
|
65229
65276
|
#
|
65230
65277
|
# We don't charge for instance usage or data transfer fees when an
|
@@ -65237,12 +65284,13 @@ module Aws::EC2
|
|
65237
65284
|
#
|
65238
65285
|
#
|
65239
65286
|
#
|
65240
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/
|
65241
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
65242
|
-
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
65243
|
-
# [4]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
65244
|
-
# [5]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
65245
|
-
# [6]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
65287
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_StartInstances.html
|
65288
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html
|
65289
|
+
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enabling-hibernation.html
|
65290
|
+
# [4]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html
|
65291
|
+
# [5]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
|
65292
|
+
# [6]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesStopping.html
|
65293
|
+
# [7]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html
|
65246
65294
|
#
|
65247
65295
|
# @option params [required, Array<String>] :instance_ids
|
65248
65296
|
# The IDs of the instances.
|
@@ -66093,7 +66141,7 @@ module Aws::EC2
|
|
66093
66141
|
tracer: tracer
|
66094
66142
|
)
|
66095
66143
|
context[:gem_name] = 'aws-sdk-ec2'
|
66096
|
-
context[:gem_version] = '1.
|
66144
|
+
context[:gem_version] = '1.532.0'
|
66097
66145
|
Seahorse::Client::Request.new(handlers, context)
|
66098
66146
|
end
|
66099
66147
|
|
@@ -5294,6 +5294,7 @@ module Aws::EC2
|
|
5294
5294
|
CreateFpgaImageResult.struct_class = Types::CreateFpgaImageResult
|
5295
5295
|
|
5296
5296
|
CreateImageRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
5297
|
+
CreateImageRequest.add_member(:snapshot_location, Shapes::ShapeRef.new(shape: SnapshotLocationEnum, location_name: "SnapshotLocation"))
|
5297
5298
|
CreateImageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
5298
5299
|
CreateImageRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "instanceId"))
|
5299
5300
|
CreateImageRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
@@ -9266,8 +9267,10 @@ module Aws::EC2
|
|
9266
9267
|
EbsBlockDevice.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyId"))
|
9267
9268
|
EbsBlockDevice.add_member(:throughput, Shapes::ShapeRef.new(shape: Integer, location_name: "throughput"))
|
9268
9269
|
EbsBlockDevice.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "outpostArn"))
|
9270
|
+
EbsBlockDevice.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
9269
9271
|
EbsBlockDevice.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
|
9270
9272
|
EbsBlockDevice.add_member(:volume_initialization_rate, Shapes::ShapeRef.new(shape: Integer, location_name: "VolumeInitializationRate"))
|
9273
|
+
EbsBlockDevice.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZoneId"))
|
9271
9274
|
EbsBlockDevice.struct_class = Types::EbsBlockDevice
|
9272
9275
|
|
9273
9276
|
EbsBlockDeviceResponse.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -345,9 +345,14 @@ module Aws::EC2
|
|
345
345
|
data[:private_dns_name]
|
346
346
|
end
|
347
347
|
|
348
|
-
#
|
349
|
-
#
|
350
|
-
#
|
348
|
+
# The public DNS name assigned to the instance. This name is not
|
349
|
+
# available until the instance enters the `running` state. This name is
|
350
|
+
# only available if you've enabled DNS hostnames for your VPC. The
|
351
|
+
# format of this name depends on the [public hostname type][1].
|
352
|
+
#
|
353
|
+
#
|
354
|
+
#
|
355
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hostname-types.html#public-hostnames
|
351
356
|
# @return [String]
|
352
357
|
def public_dns_name
|
353
358
|
data[:public_dns_name]
|
@@ -778,6 +783,7 @@ module Aws::EC2
|
|
778
783
|
# ],
|
779
784
|
# },
|
780
785
|
# ],
|
786
|
+
# snapshot_location: "regional", # accepts regional, local
|
781
787
|
# dry_run: false,
|
782
788
|
# name: "String", # required
|
783
789
|
# description: "String",
|
@@ -793,8 +799,10 @@ module Aws::EC2
|
|
793
799
|
# kms_key_id: "String",
|
794
800
|
# throughput: 1,
|
795
801
|
# outpost_arn: "String",
|
802
|
+
# availability_zone: "String",
|
796
803
|
# encrypted: false,
|
797
804
|
# volume_initialization_rate: 1,
|
805
|
+
# availability_zone_id: "String",
|
798
806
|
# },
|
799
807
|
# no_device: "String",
|
800
808
|
# device_name: "String",
|
@@ -822,6 +830,21 @@ module Aws::EC2
|
|
822
830
|
#
|
823
831
|
#
|
824
832
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
|
833
|
+
# @option options [String] :snapshot_location
|
834
|
+
# <note markdown="1"> Only supported for instances in Local Zones. If the source instance is
|
835
|
+
# not in a Local Zone, omit this parameter.
|
836
|
+
#
|
837
|
+
# </note>
|
838
|
+
#
|
839
|
+
# The Amazon S3 location where the snapshots will be stored.
|
840
|
+
#
|
841
|
+
# * To create local snapshots in the same Local Zone as the source
|
842
|
+
# instance, specify `local`.
|
843
|
+
#
|
844
|
+
# * To create regional snapshots in the parent Region of the Local Zone,
|
845
|
+
# specify `regional` or omit this parameter.
|
846
|
+
#
|
847
|
+
# Default: `regional`
|
825
848
|
# @option options [Boolean] :dry_run
|
826
849
|
# Checks whether you have the required permissions for the action,
|
827
850
|
# without actually making the request, and provides an error response.
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -93,8 +93,10 @@ module Aws::EC2
|
|
93
93
|
# kms_key_id: "String",
|
94
94
|
# throughput: 1,
|
95
95
|
# outpost_arn: "String",
|
96
|
+
# availability_zone: "String",
|
96
97
|
# encrypted: false,
|
97
98
|
# volume_initialization_rate: 1,
|
99
|
+
# availability_zone_id: "String",
|
98
100
|
# },
|
99
101
|
# no_device: "String",
|
100
102
|
# device_name: "String",
|
@@ -1951,8 +1953,10 @@ module Aws::EC2
|
|
1951
1953
|
# kms_key_id: "String",
|
1952
1954
|
# throughput: 1,
|
1953
1955
|
# outpost_arn: "String",
|
1956
|
+
# availability_zone: "String",
|
1954
1957
|
# encrypted: false,
|
1955
1958
|
# volume_initialization_rate: 1,
|
1959
|
+
# availability_zone_id: "String",
|
1956
1960
|
# },
|
1957
1961
|
# no_device: "String",
|
1958
1962
|
# device_name: "String",
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -355,8 +355,10 @@ module Aws::EC2
|
|
355
355
|
# kms_key_id: "String",
|
356
356
|
# throughput: 1,
|
357
357
|
# outpost_arn: "String",
|
358
|
+
# availability_zone: "String",
|
358
359
|
# encrypted: false,
|
359
360
|
# volume_initialization_rate: 1,
|
361
|
+
# availability_zone_id: "String",
|
360
362
|
# },
|
361
363
|
# no_device: "String",
|
362
364
|
# device_name: "String",
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -9467,6 +9467,23 @@ module Aws::EC2
|
|
9467
9467
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
|
9468
9468
|
# @return [Array<Types::TagSpecification>]
|
9469
9469
|
#
|
9470
|
+
# @!attribute [rw] snapshot_location
|
9471
|
+
# <note markdown="1"> Only supported for instances in Local Zones. If the source instance
|
9472
|
+
# is not in a Local Zone, omit this parameter.
|
9473
|
+
#
|
9474
|
+
# </note>
|
9475
|
+
#
|
9476
|
+
# The Amazon S3 location where the snapshots will be stored.
|
9477
|
+
#
|
9478
|
+
# * To create local snapshots in the same Local Zone as the source
|
9479
|
+
# instance, specify `local`.
|
9480
|
+
#
|
9481
|
+
# * To create regional snapshots in the parent Region of the Local
|
9482
|
+
# Zone, specify `regional` or omit this parameter.
|
9483
|
+
#
|
9484
|
+
# Default: `regional`
|
9485
|
+
# @return [String]
|
9486
|
+
#
|
9470
9487
|
# @!attribute [rw] dry_run
|
9471
9488
|
# Checks whether you have the required permissions for the action,
|
9472
9489
|
# without actually making the request, and provides an error response.
|
@@ -9531,6 +9548,7 @@ module Aws::EC2
|
|
9531
9548
|
#
|
9532
9549
|
class CreateImageRequest < Struct.new(
|
9533
9550
|
:tag_specifications,
|
9551
|
+
:snapshot_location,
|
9534
9552
|
:dry_run,
|
9535
9553
|
:instance_id,
|
9536
9554
|
:name,
|
@@ -12478,7 +12496,7 @@ module Aws::EC2
|
|
12478
12496
|
# * To create local snapshots in the same Local Zone as the source
|
12479
12497
|
# instance, specify `local`.
|
12480
12498
|
#
|
12481
|
-
# * To create
|
12499
|
+
# * To create regional snapshots in the parent Region of the Local
|
12482
12500
|
# Zone, specify `regional` or omit this parameter.
|
12483
12501
|
#
|
12484
12502
|
# Default value: `regional`
|
@@ -34160,6 +34178,21 @@ module Aws::EC2
|
|
34160
34178
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html
|
34161
34179
|
# @return [String]
|
34162
34180
|
#
|
34181
|
+
# @!attribute [rw] availability_zone
|
34182
|
+
# The Availability Zone where the EBS volume will be created (for
|
34183
|
+
# example, `us-east-1a`).
|
34184
|
+
#
|
34185
|
+
# Either `AvailabilityZone` or `AvailabilityZoneId` can be specified,
|
34186
|
+
# but not both. If neither is specified, Amazon EC2 automatically
|
34187
|
+
# selects an Availability Zone within the Region.
|
34188
|
+
#
|
34189
|
+
# This parameter is not supported when using [CreateImage][1].
|
34190
|
+
#
|
34191
|
+
#
|
34192
|
+
#
|
34193
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html
|
34194
|
+
# @return [String]
|
34195
|
+
#
|
34163
34196
|
# @!attribute [rw] encrypted
|
34164
34197
|
# Indicates whether the encryption state of an EBS volume is changed
|
34165
34198
|
# while being restored from a backing snapshot. The effect of setting
|
@@ -34246,6 +34279,21 @@ module Aws::EC2
|
|
34246
34279
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html
|
34247
34280
|
# @return [Integer]
|
34248
34281
|
#
|
34282
|
+
# @!attribute [rw] availability_zone_id
|
34283
|
+
# The ID of the Availability Zone where the EBS volume will be created
|
34284
|
+
# (for example, `use1-az1`).
|
34285
|
+
#
|
34286
|
+
# Either `AvailabilityZone` or `AvailabilityZoneId` can be specified,
|
34287
|
+
# but not both. If neither is specified, Amazon EC2 automatically
|
34288
|
+
# selects an Availability Zone within the Region.
|
34289
|
+
#
|
34290
|
+
# This parameter is not supported when using [CreateImage][1].
|
34291
|
+
#
|
34292
|
+
#
|
34293
|
+
#
|
34294
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html
|
34295
|
+
# @return [String]
|
34296
|
+
#
|
34249
34297
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EbsBlockDevice AWS API Documentation
|
34250
34298
|
#
|
34251
34299
|
class EbsBlockDevice < Struct.new(
|
@@ -34257,8 +34305,10 @@ module Aws::EC2
|
|
34257
34305
|
:kms_key_id,
|
34258
34306
|
:throughput,
|
34259
34307
|
:outpost_arn,
|
34308
|
+
:availability_zone,
|
34260
34309
|
:encrypted,
|
34261
|
-
:volume_initialization_rate
|
34310
|
+
:volume_initialization_rate,
|
34311
|
+
:availability_zone_id)
|
34262
34312
|
SENSITIVE = []
|
34263
34313
|
include Aws::Structure
|
34264
34314
|
end
|
@@ -44253,10 +44303,14 @@ module Aws::EC2
|
|
44253
44303
|
# @return [String]
|
44254
44304
|
#
|
44255
44305
|
# @!attribute [rw] public_dns_name
|
44256
|
-
#
|
44257
|
-
#
|
44258
|
-
#
|
44259
|
-
#
|
44306
|
+
# The public DNS name assigned to the instance. This name is not
|
44307
|
+
# available until the instance enters the `running` state. This name
|
44308
|
+
# is only available if you've enabled DNS hostnames for your VPC. The
|
44309
|
+
# format of this name depends on the [public hostname type][1].
|
44310
|
+
#
|
44311
|
+
#
|
44312
|
+
#
|
44313
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hostname-types.html#public-hostnames
|
44260
44314
|
# @return [String]
|
44261
44315
|
#
|
44262
44316
|
# @!attribute [rw] state_transition_reason
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -1718,6 +1718,7 @@ module Aws
|
|
1718
1718
|
]?
|
1719
1719
|
},
|
1720
1720
|
],
|
1721
|
+
?snapshot_location: ("regional" | "local"),
|
1721
1722
|
?dry_run: bool,
|
1722
1723
|
instance_id: ::String,
|
1723
1724
|
name: ::String,
|
@@ -1734,8 +1735,10 @@ module Aws
|
|
1734
1735
|
kms_key_id: ::String?,
|
1735
1736
|
throughput: ::Integer?,
|
1736
1737
|
outpost_arn: ::String?,
|
1738
|
+
availability_zone: ::String?,
|
1737
1739
|
encrypted: bool?,
|
1738
|
-
volume_initialization_rate: ::Integer
|
1740
|
+
volume_initialization_rate: ::Integer?,
|
1741
|
+
availability_zone_id: ::String?
|
1739
1742
|
}?,
|
1740
1743
|
no_device: ::String?,
|
1741
1744
|
device_name: ::String?,
|
@@ -12613,8 +12616,10 @@ module Aws
|
|
12613
12616
|
kms_key_id: ::String?,
|
12614
12617
|
throughput: ::Integer?,
|
12615
12618
|
outpost_arn: ::String?,
|
12619
|
+
availability_zone: ::String?,
|
12616
12620
|
encrypted: bool?,
|
12617
|
-
volume_initialization_rate: ::Integer
|
12621
|
+
volume_initialization_rate: ::Integer?,
|
12622
|
+
availability_zone_id: ::String?
|
12618
12623
|
}?,
|
12619
12624
|
no_device: ::String?,
|
12620
12625
|
device_name: ::String?,
|
@@ -12940,8 +12945,10 @@ module Aws
|
|
12940
12945
|
kms_key_id: ::String?,
|
12941
12946
|
throughput: ::Integer?,
|
12942
12947
|
outpost_arn: ::String?,
|
12948
|
+
availability_zone: ::String?,
|
12943
12949
|
encrypted: bool?,
|
12944
|
-
volume_initialization_rate: ::Integer
|
12950
|
+
volume_initialization_rate: ::Integer?,
|
12951
|
+
availability_zone_id: ::String?
|
12945
12952
|
}?,
|
12946
12953
|
no_device: ::String?,
|
12947
12954
|
device_name: ::String?,
|
@@ -13252,8 +13259,10 @@ module Aws
|
|
13252
13259
|
kms_key_id: ::String?,
|
13253
13260
|
throughput: ::Integer?,
|
13254
13261
|
outpost_arn: ::String?,
|
13262
|
+
availability_zone: ::String?,
|
13255
13263
|
encrypted: bool?,
|
13256
|
-
volume_initialization_rate: ::Integer
|
13264
|
+
volume_initialization_rate: ::Integer?,
|
13265
|
+
availability_zone_id: ::String?
|
13257
13266
|
}?,
|
13258
13267
|
no_device: ::String?,
|
13259
13268
|
device_name: ::String?,
|
@@ -13647,8 +13656,10 @@ module Aws
|
|
13647
13656
|
kms_key_id: ::String?,
|
13648
13657
|
throughput: ::Integer?,
|
13649
13658
|
outpost_arn: ::String?,
|
13659
|
+
availability_zone: ::String?,
|
13650
13660
|
encrypted: bool?,
|
13651
|
-
volume_initialization_rate: ::Integer
|
13661
|
+
volume_initialization_rate: ::Integer?,
|
13662
|
+
availability_zone_id: ::String?
|
13652
13663
|
}?,
|
13653
13664
|
no_device: ::String?,
|
13654
13665
|
device_name: ::String?,
|
data/sig/instance.rbs
CHANGED
@@ -257,6 +257,7 @@ module Aws
|
|
257
257
|
]?
|
258
258
|
},
|
259
259
|
],
|
260
|
+
?snapshot_location: ("regional" | "local"),
|
260
261
|
?dry_run: bool,
|
261
262
|
name: ::String,
|
262
263
|
?description: ::String,
|
@@ -272,8 +273,10 @@ module Aws
|
|
272
273
|
kms_key_id: ::String?,
|
273
274
|
throughput: ::Integer?,
|
274
275
|
outpost_arn: ::String?,
|
276
|
+
availability_zone: ::String?,
|
275
277
|
encrypted: bool?,
|
276
|
-
volume_initialization_rate: ::Integer
|
278
|
+
volume_initialization_rate: ::Integer?,
|
279
|
+
availability_zone_id: ::String?
|
277
280
|
}?,
|
278
281
|
no_device: ::String?,
|
279
282
|
device_name: ::String?,
|
data/sig/resource.rbs
CHANGED
@@ -115,8 +115,10 @@ module Aws
|
|
115
115
|
kms_key_id: ::String?,
|
116
116
|
throughput: ::Integer?,
|
117
117
|
outpost_arn: ::String?,
|
118
|
+
availability_zone: ::String?,
|
118
119
|
encrypted: bool?,
|
119
|
-
volume_initialization_rate: ::Integer
|
120
|
+
volume_initialization_rate: ::Integer?,
|
121
|
+
availability_zone_id: ::String?
|
120
122
|
}?,
|
121
123
|
no_device: ::String?,
|
122
124
|
device_name: ::String?,
|
@@ -726,8 +728,10 @@ module Aws
|
|
726
728
|
kms_key_id: ::String?,
|
727
729
|
throughput: ::Integer?,
|
728
730
|
outpost_arn: ::String?,
|
731
|
+
availability_zone: ::String?,
|
729
732
|
encrypted: bool?,
|
730
|
-
volume_initialization_rate: ::Integer
|
733
|
+
volume_initialization_rate: ::Integer?,
|
734
|
+
availability_zone_id: ::String?
|
731
735
|
}?,
|
732
736
|
no_device: ::String?,
|
733
737
|
device_name: ::String?,
|
data/sig/subnet.rbs
CHANGED
@@ -110,8 +110,10 @@ module Aws
|
|
110
110
|
kms_key_id: ::String?,
|
111
111
|
throughput: ::Integer?,
|
112
112
|
outpost_arn: ::String?,
|
113
|
+
availability_zone: ::String?,
|
113
114
|
encrypted: bool?,
|
114
|
-
volume_initialization_rate: ::Integer
|
115
|
+
volume_initialization_rate: ::Integer?,
|
116
|
+
availability_zone_id: ::String?
|
115
117
|
}?,
|
116
118
|
no_device: ::String?,
|
117
119
|
device_name: ::String?,
|
data/sig/types.rbs
CHANGED
@@ -2108,6 +2108,7 @@ module Aws::EC2
|
|
2108
2108
|
|
2109
2109
|
class CreateImageRequest
|
2110
2110
|
attr_accessor tag_specifications: ::Array[Types::TagSpecification]
|
2111
|
+
attr_accessor snapshot_location: ("regional" | "local")
|
2111
2112
|
attr_accessor dry_run: bool
|
2112
2113
|
attr_accessor instance_id: ::String
|
2113
2114
|
attr_accessor name: ::String
|
@@ -7542,8 +7543,10 @@ module Aws::EC2
|
|
7542
7543
|
attr_accessor kms_key_id: ::String
|
7543
7544
|
attr_accessor throughput: ::Integer
|
7544
7545
|
attr_accessor outpost_arn: ::String
|
7546
|
+
attr_accessor availability_zone: ::String
|
7545
7547
|
attr_accessor encrypted: bool
|
7546
7548
|
attr_accessor volume_initialization_rate: ::Integer
|
7549
|
+
attr_accessor availability_zone_id: ::String
|
7547
7550
|
SENSITIVE: []
|
7548
7551
|
end
|
7549
7552
|
|