aws-sdk-ec2 1.531.0 → 1.533.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 +84 -30
- data/lib/aws-sdk-ec2/client_api.rb +7 -0
- data/lib/aws-sdk-ec2/instance.rb +26 -3
- data/lib/aws-sdk-ec2/resource.rb +4 -0
- data/lib/aws-sdk-ec2/route.rb +9 -0
- data/lib/aws-sdk-ec2/route_table.rb +3 -0
- data/lib/aws-sdk-ec2/subnet.rb +2 -0
- data/lib/aws-sdk-ec2/types.rb +77 -12
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +18 -5
- data/sig/instance.rbs +4 -1
- data/sig/resource.rbs +6 -2
- data/sig/route.rbs +4 -0
- data/sig/route_table.rbs +1 -0
- data/sig/subnet.rbs +3 -1
- data/sig/types.rbs +6 -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: 474327e6ea7ba2514a819e932f476c5e05cb00b91d629dacb832ca7ad776b60e
|
4
|
+
data.tar.gz: f00f99edbe1112cbf883099496d3aae12f25052ed7d10033d32b768c9c25e732
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 311445ed8d83e35a8df89b923874249ba7648521f69c8025a329224792682fac248d991ccaba5e24a9d429ab51302792e133d749b54553b3e19f2c9772d3d174
|
7
|
+
data.tar.gz: a9900e1f6a37bb1f259856975053e7fd3ff0a4a7038d6c59b19d6f183b703ce6a91be5bca2b7ee3c06647c8119e4ca80c31671da7108c3e0f7aff05873966f86
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.533.0 (2025-06-26)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for OdbNetworkArn as a target in VPC Route Tables
|
8
|
+
|
9
|
+
1.532.0 (2025-06-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release allows you to create and register AMIs while maintaining their underlying EBS snapshots within Local Zones.
|
13
|
+
|
4
14
|
1.531.0 (2025-06-09)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.533.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
|
#
|
@@ -12564,6 +12591,9 @@ module Aws::EC2
|
|
12564
12591
|
# @option params [String] :core_network_arn
|
12565
12592
|
# The Amazon Resource Name (ARN) of the core network.
|
12566
12593
|
#
|
12594
|
+
# @option params [String] :odb_network_arn
|
12595
|
+
# The Amazon Resource Name (ARN) of the ODB network.
|
12596
|
+
#
|
12567
12597
|
# @option params [Boolean] :dry_run
|
12568
12598
|
# Checks whether you have the required permissions for the action,
|
12569
12599
|
# without actually making the request, and provides an error response.
|
@@ -12629,6 +12659,7 @@ module Aws::EC2
|
|
12629
12659
|
# local_gateway_id: "LocalGatewayId",
|
12630
12660
|
# carrier_gateway_id: "CarrierGatewayId",
|
12631
12661
|
# core_network_arn: "CoreNetworkArn",
|
12662
|
+
# odb_network_arn: "OdbNetworkArn",
|
12632
12663
|
# dry_run: false,
|
12633
12664
|
# route_table_id: "RouteTableId", # required
|
12634
12665
|
# destination_cidr_block: "String",
|
@@ -13073,6 +13104,7 @@ module Aws::EC2
|
|
13073
13104
|
# resp.route_table.routes[0].state #=> String, one of "active", "blackhole"
|
13074
13105
|
# resp.route_table.routes[0].vpc_peering_connection_id #=> String
|
13075
13106
|
# resp.route_table.routes[0].core_network_arn #=> String
|
13107
|
+
# resp.route_table.routes[0].odb_network_arn #=> String
|
13076
13108
|
# resp.route_table.tags #=> Array
|
13077
13109
|
# resp.route_table.tags[0].key #=> String
|
13078
13110
|
# resp.route_table.tags[0].value #=> String
|
@@ -13480,8 +13512,8 @@ module Aws::EC2
|
|
13480
13512
|
# * To create local snapshots in the same Local Zone as the source
|
13481
13513
|
# instance, specify `local`.
|
13482
13514
|
#
|
13483
|
-
# * To create
|
13484
|
-
#
|
13515
|
+
# * To create regional snapshots in the parent Region of the Local Zone,
|
13516
|
+
# specify `regional` or omit this parameter.
|
13485
13517
|
#
|
13486
13518
|
# Default value: `regional`
|
13487
13519
|
#
|
@@ -21683,11 +21715,7 @@ module Aws::EC2
|
|
21683
21715
|
# The ID of the pool that you want to deprovision the CIDR from.
|
21684
21716
|
#
|
21685
21717
|
# @option params [required, String] :cidr
|
21686
|
-
# The CIDR you want to deprovision from the pool.
|
21687
|
-
# want to deprovision with a netmask of `/32`. You must rerun this
|
21688
|
-
# command for each IP address in the CIDR range. If your CIDR is a
|
21689
|
-
# `/24`, you will have to run this command to deprovision each of the
|
21690
|
-
# 256 IP addresses in the `/24` CIDR.
|
21718
|
+
# The CIDR you want to deprovision from the pool.
|
21691
21719
|
#
|
21692
21720
|
# @return [Types::DeprovisionPublicIpv4PoolCidrResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
21693
21721
|
#
|
@@ -26391,8 +26419,10 @@ module Aws::EC2
|
|
26391
26419
|
# resp.block_device_mappings[0].ebs.kms_key_id #=> String
|
26392
26420
|
# resp.block_device_mappings[0].ebs.throughput #=> Integer
|
26393
26421
|
# resp.block_device_mappings[0].ebs.outpost_arn #=> String
|
26422
|
+
# resp.block_device_mappings[0].ebs.availability_zone #=> String
|
26394
26423
|
# resp.block_device_mappings[0].ebs.encrypted #=> Boolean
|
26395
26424
|
# resp.block_device_mappings[0].ebs.volume_initialization_rate #=> Integer
|
26425
|
+
# resp.block_device_mappings[0].ebs.availability_zone_id #=> String
|
26396
26426
|
# resp.block_device_mappings[0].no_device #=> String
|
26397
26427
|
# resp.block_device_mappings[0].device_name #=> String
|
26398
26428
|
# resp.block_device_mappings[0].virtual_name #=> String
|
@@ -26708,8 +26738,10 @@ module Aws::EC2
|
|
26708
26738
|
# resp.images[0].block_device_mappings[0].ebs.kms_key_id #=> String
|
26709
26739
|
# resp.images[0].block_device_mappings[0].ebs.throughput #=> Integer
|
26710
26740
|
# resp.images[0].block_device_mappings[0].ebs.outpost_arn #=> String
|
26741
|
+
# resp.images[0].block_device_mappings[0].ebs.availability_zone #=> String
|
26711
26742
|
# resp.images[0].block_device_mappings[0].ebs.encrypted #=> Boolean
|
26712
26743
|
# resp.images[0].block_device_mappings[0].ebs.volume_initialization_rate #=> Integer
|
26744
|
+
# resp.images[0].block_device_mappings[0].ebs.availability_zone_id #=> String
|
26713
26745
|
# resp.images[0].block_device_mappings[0].no_device #=> String
|
26714
26746
|
# resp.images[0].block_device_mappings[0].device_name #=> String
|
26715
26747
|
# resp.images[0].block_device_mappings[0].virtual_name #=> String
|
@@ -35327,6 +35359,7 @@ module Aws::EC2
|
|
35327
35359
|
# resp.route_tables[0].routes[0].state #=> String, one of "active", "blackhole"
|
35328
35360
|
# resp.route_tables[0].routes[0].vpc_peering_connection_id #=> String
|
35329
35361
|
# resp.route_tables[0].routes[0].core_network_arn #=> String
|
35362
|
+
# resp.route_tables[0].routes[0].odb_network_arn #=> String
|
35330
35363
|
# resp.route_tables[0].tags #=> Array
|
35331
35364
|
# resp.route_tables[0].tags[0].key #=> String
|
35332
35365
|
# resp.route_tables[0].tags[0].value #=> String
|
@@ -36961,8 +36994,10 @@ module Aws::EC2
|
|
36961
36994
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.kms_key_id #=> String
|
36962
36995
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.throughput #=> Integer
|
36963
36996
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.outpost_arn #=> String
|
36997
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.availability_zone #=> String
|
36964
36998
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.encrypted #=> Boolean
|
36965
36999
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.volume_initialization_rate #=> Integer
|
37000
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.availability_zone_id #=> String
|
36966
37001
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].no_device #=> String
|
36967
37002
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].device_name #=> String
|
36968
37003
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].virtual_name #=> String
|
@@ -37425,8 +37460,10 @@ module Aws::EC2
|
|
37425
37460
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.kms_key_id #=> String
|
37426
37461
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.throughput #=> Integer
|
37427
37462
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.outpost_arn #=> String
|
37463
|
+
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.availability_zone #=> String
|
37428
37464
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.encrypted #=> Boolean
|
37429
37465
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_initialization_rate #=> Integer
|
37466
|
+
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.availability_zone_id #=> String
|
37430
37467
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].no_device #=> String
|
37431
37468
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].device_name #=> String
|
37432
37469
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].virtual_name #=> String
|
@@ -59383,8 +59420,10 @@ module Aws::EC2
|
|
59383
59420
|
# kms_key_id: "String",
|
59384
59421
|
# throughput: 1,
|
59385
59422
|
# outpost_arn: "String",
|
59423
|
+
# availability_zone: "String",
|
59386
59424
|
# encrypted: false,
|
59387
59425
|
# volume_initialization_rate: 1,
|
59426
|
+
# availability_zone_id: "String",
|
59388
59427
|
# },
|
59389
59428
|
# no_device: "String",
|
59390
59429
|
# device_name: "String",
|
@@ -60339,6 +60378,9 @@ module Aws::EC2
|
|
60339
60378
|
# @option params [String] :core_network_arn
|
60340
60379
|
# The Amazon Resource Name (ARN) of the core network.
|
60341
60380
|
#
|
60381
|
+
# @option params [String] :odb_network_arn
|
60382
|
+
# The Amazon Resource Name (ARN) of the ODB network.
|
60383
|
+
#
|
60342
60384
|
# @option params [Boolean] :dry_run
|
60343
60385
|
# Checks whether you have the required permissions for the action,
|
60344
60386
|
# without actually making the request, and provides an error response.
|
@@ -60400,6 +60442,7 @@ module Aws::EC2
|
|
60400
60442
|
# local_gateway_id: "LocalGatewayId",
|
60401
60443
|
# carrier_gateway_id: "CarrierGatewayId",
|
60402
60444
|
# core_network_arn: "CoreNetworkArn",
|
60445
|
+
# odb_network_arn: "OdbNetworkArn",
|
60403
60446
|
# dry_run: false,
|
60404
60447
|
# route_table_id: "RouteTableId", # required
|
60405
60448
|
# destination_cidr_block: "String",
|
@@ -60907,8 +60950,10 @@ module Aws::EC2
|
|
60907
60950
|
# kms_key_id: "String",
|
60908
60951
|
# throughput: 1,
|
60909
60952
|
# outpost_arn: "String",
|
60953
|
+
# availability_zone: "String",
|
60910
60954
|
# encrypted: false,
|
60911
60955
|
# volume_initialization_rate: 1,
|
60956
|
+
# availability_zone_id: "String",
|
60912
60957
|
# },
|
60913
60958
|
# no_device: "String",
|
60914
60959
|
# device_name: "String",
|
@@ -61405,8 +61450,10 @@ module Aws::EC2
|
|
61405
61450
|
# kms_key_id: "String",
|
61406
61451
|
# throughput: 1,
|
61407
61452
|
# outpost_arn: "String",
|
61453
|
+
# availability_zone: "String",
|
61408
61454
|
# encrypted: false,
|
61409
61455
|
# volume_initialization_rate: 1,
|
61456
|
+
# availability_zone_id: "String",
|
61410
61457
|
# },
|
61411
61458
|
# no_device: "String",
|
61412
61459
|
# device_name: "String",
|
@@ -61534,8 +61581,10 @@ module Aws::EC2
|
|
61534
61581
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.kms_key_id #=> String
|
61535
61582
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.throughput #=> Integer
|
61536
61583
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.outpost_arn #=> String
|
61584
|
+
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.availability_zone #=> String
|
61537
61585
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.encrypted #=> Boolean
|
61538
61586
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_initialization_rate #=> Integer
|
61587
|
+
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.availability_zone_id #=> String
|
61539
61588
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].no_device #=> String
|
61540
61589
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].device_name #=> String
|
61541
61590
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].virtual_name #=> String
|
@@ -63111,8 +63160,10 @@ module Aws::EC2
|
|
63111
63160
|
# kms_key_id: "String",
|
63112
63161
|
# throughput: 1,
|
63113
63162
|
# outpost_arn: "String",
|
63163
|
+
# availability_zone: "String",
|
63114
63164
|
# encrypted: false,
|
63115
63165
|
# volume_initialization_rate: 1,
|
63166
|
+
# availability_zone_id: "String",
|
63116
63167
|
# },
|
63117
63168
|
# no_device: "String",
|
63118
63169
|
# device_name: "String",
|
@@ -63961,7 +64012,7 @@ module Aws::EC2
|
|
63961
64012
|
# create a new one or use an existing one), it must be in the same
|
63962
64013
|
# Region where the report generation request is made, and it must have
|
63963
64014
|
# an appropriate bucket policy. For a sample S3 policy, see *Sample
|
63964
|
-
# Amazon S3 policy* under .
|
64015
|
+
# Amazon S3 policy* under [Examples][1].
|
63965
64016
|
#
|
63966
64017
|
# * Trusted access must be enabled for the service for which the
|
63967
64018
|
# declarative policy will enforce a baseline configuration. If you use
|
@@ -63971,7 +64022,7 @@ module Aws::EC2
|
|
63971
64022
|
# `ec2.amazonaws.com`. For more information on how to enable trusted
|
63972
64023
|
# access with the Amazon Web Services CLI and Amazon Web Services
|
63973
64024
|
# SDKs, see [Using Organizations with other Amazon Web Services
|
63974
|
-
# services][
|
64025
|
+
# services][2] in the *Amazon Web Services Organizations User Guide*.
|
63975
64026
|
#
|
63976
64027
|
# * Only one report per organization can be generated at a time.
|
63977
64028
|
# Attempting to generate a report while another is in progress will
|
@@ -63979,12 +64030,13 @@ module Aws::EC2
|
|
63979
64030
|
#
|
63980
64031
|
# For more information, including the required IAM permissions to run
|
63981
64032
|
# this API, see [Generating the account status report for declarative
|
63982
|
-
# policies][
|
64033
|
+
# policies][3] in the *Amazon Web Services Organizations User Guide*.
|
63983
64034
|
#
|
63984
64035
|
#
|
63985
64036
|
#
|
63986
|
-
# [1]: https://docs.aws.amazon.com/
|
63987
|
-
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
64037
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_StartDeclarativePoliciesReport.html#API_StartDeclarativePoliciesReport_Examples
|
64038
|
+
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html
|
64039
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_declarative_status-report.html
|
63988
64040
|
#
|
63989
64041
|
# @option params [Boolean] :dry_run
|
63990
64042
|
# Checks whether you have the required permissions for the action,
|
@@ -65199,32 +65251,33 @@ module Aws::EC2
|
|
65199
65251
|
req.send_request(options)
|
65200
65252
|
end
|
65201
65253
|
|
65202
|
-
# Stops an Amazon EBS-backed instance.
|
65203
|
-
#
|
65254
|
+
# Stops an Amazon EBS-backed instance. You can restart your instance at
|
65255
|
+
# any time using the [StartInstances][1] API. For more information, see
|
65256
|
+
# [Stop and start Amazon EC2 instances][2] in the *Amazon EC2 User
|
65257
|
+
# Guide*.
|
65204
65258
|
#
|
65205
|
-
# When you stop an instance, we shut it down.
|
65206
|
-
# instance at any time.
|
65259
|
+
# When you stop an instance, we shut it down.
|
65207
65260
|
#
|
65208
65261
|
# You can use the Stop operation together with the Hibernate parameter
|
65209
65262
|
# to hibernate an instance if the instance is [enabled for
|
65210
|
-
# hibernation][
|
65263
|
+
# hibernation][3] and meets the [hibernation prerequisites][4]. Stopping
|
65211
65264
|
# an instance doesn't preserve data stored in RAM, while hibernation
|
65212
65265
|
# does. If hibernation fails, a normal shutdown occurs. For more
|
65213
|
-
# information, see [Hibernate your Amazon EC2 instance][
|
65266
|
+
# information, see [Hibernate your Amazon EC2 instance][5] in the
|
65214
65267
|
# *Amazon EC2 User Guide*.
|
65215
65268
|
#
|
65216
65269
|
# If your instance appears stuck in the `stopping` state, there might be
|
65217
65270
|
# an issue with the underlying host computer. You can use the Stop
|
65218
65271
|
# operation together with the Force parameter to force stop your
|
65219
65272
|
# instance. For more information, see [Troubleshoot Amazon EC2 instance
|
65220
|
-
# stop issues][
|
65273
|
+
# stop issues][6] in the *Amazon EC2 User Guide*.
|
65221
65274
|
#
|
65222
65275
|
# Stopping and hibernating an instance differs from rebooting or
|
65223
65276
|
# terminating it. For example, a stopped or hibernated instance retains
|
65224
65277
|
# its root volume and any data volumes, unlike terminated instances
|
65225
65278
|
# where these volumes are automatically deleted. For more information
|
65226
65279
|
# about the differences between stopping, hibernating, rebooting, and
|
65227
|
-
# terminating instances, see [Amazon EC2 instance state changes][
|
65280
|
+
# terminating instances, see [Amazon EC2 instance state changes][7] in
|
65228
65281
|
# the *Amazon EC2 User Guide*.
|
65229
65282
|
#
|
65230
65283
|
# We don't charge for instance usage or data transfer fees when an
|
@@ -65237,12 +65290,13 @@ module Aws::EC2
|
|
65237
65290
|
#
|
65238
65291
|
#
|
65239
65292
|
#
|
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/
|
65293
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_StartInstances.html
|
65294
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html
|
65295
|
+
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enabling-hibernation.html
|
65296
|
+
# [4]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html
|
65297
|
+
# [5]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
|
65298
|
+
# [6]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesStopping.html
|
65299
|
+
# [7]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html
|
65246
65300
|
#
|
65247
65301
|
# @option params [required, Array<String>] :instance_ids
|
65248
65302
|
# The IDs of the instances.
|
@@ -66093,7 +66147,7 @@ module Aws::EC2
|
|
66093
66147
|
tracer: tracer
|
66094
66148
|
)
|
66095
66149
|
context[:gem_name] = 'aws-sdk-ec2'
|
66096
|
-
context[:gem_version] = '1.
|
66150
|
+
context[:gem_version] = '1.533.0'
|
66097
66151
|
Seahorse::Client::Request.new(handlers, context)
|
66098
66152
|
end
|
66099
66153
|
|
@@ -2555,6 +2555,7 @@ module Aws::EC2
|
|
2555
2555
|
NitroTpmSupportedVersionsList = Shapes::ListShape.new(name: 'NitroTpmSupportedVersionsList')
|
2556
2556
|
OccurrenceDayRequestSet = Shapes::ListShape.new(name: 'OccurrenceDayRequestSet')
|
2557
2557
|
OccurrenceDaySet = Shapes::ListShape.new(name: 'OccurrenceDaySet')
|
2558
|
+
OdbNetworkArn = Shapes::StringShape.new(name: 'OdbNetworkArn')
|
2558
2559
|
OfferingClassType = Shapes::StringShape.new(name: 'OfferingClassType')
|
2559
2560
|
OfferingId = Shapes::StringShape.new(name: 'OfferingId')
|
2560
2561
|
OfferingTypeValues = Shapes::StringShape.new(name: 'OfferingTypeValues')
|
@@ -5294,6 +5295,7 @@ module Aws::EC2
|
|
5294
5295
|
CreateFpgaImageResult.struct_class = Types::CreateFpgaImageResult
|
5295
5296
|
|
5296
5297
|
CreateImageRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
5298
|
+
CreateImageRequest.add_member(:snapshot_location, Shapes::ShapeRef.new(shape: SnapshotLocationEnum, location_name: "SnapshotLocation"))
|
5297
5299
|
CreateImageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
5298
5300
|
CreateImageRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "instanceId"))
|
5299
5301
|
CreateImageRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
@@ -5685,6 +5687,7 @@ module Aws::EC2
|
|
5685
5687
|
CreateRouteRequest.add_member(:local_gateway_id, Shapes::ShapeRef.new(shape: LocalGatewayId, location_name: "LocalGatewayId"))
|
5686
5688
|
CreateRouteRequest.add_member(:carrier_gateway_id, Shapes::ShapeRef.new(shape: CarrierGatewayId, location_name: "CarrierGatewayId"))
|
5687
5689
|
CreateRouteRequest.add_member(:core_network_arn, Shapes::ShapeRef.new(shape: CoreNetworkArn, location_name: "CoreNetworkArn"))
|
5690
|
+
CreateRouteRequest.add_member(:odb_network_arn, Shapes::ShapeRef.new(shape: OdbNetworkArn, location_name: "OdbNetworkArn"))
|
5688
5691
|
CreateRouteRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
5689
5692
|
CreateRouteRequest.add_member(:route_table_id, Shapes::ShapeRef.new(shape: RouteTableId, required: true, location_name: "routeTableId"))
|
5690
5693
|
CreateRouteRequest.add_member(:destination_cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "destinationCidrBlock"))
|
@@ -9266,8 +9269,10 @@ module Aws::EC2
|
|
9266
9269
|
EbsBlockDevice.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyId"))
|
9267
9270
|
EbsBlockDevice.add_member(:throughput, Shapes::ShapeRef.new(shape: Integer, location_name: "throughput"))
|
9268
9271
|
EbsBlockDevice.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "outpostArn"))
|
9272
|
+
EbsBlockDevice.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
9269
9273
|
EbsBlockDevice.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
|
9270
9274
|
EbsBlockDevice.add_member(:volume_initialization_rate, Shapes::ShapeRef.new(shape: Integer, location_name: "VolumeInitializationRate"))
|
9275
|
+
EbsBlockDevice.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZoneId"))
|
9271
9276
|
EbsBlockDevice.struct_class = Types::EbsBlockDevice
|
9272
9277
|
|
9273
9278
|
EbsBlockDeviceResponse.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
|
@@ -14624,6 +14629,7 @@ module Aws::EC2
|
|
14624
14629
|
ReplaceRouteRequest.add_member(:local_gateway_id, Shapes::ShapeRef.new(shape: LocalGatewayId, location_name: "LocalGatewayId"))
|
14625
14630
|
ReplaceRouteRequest.add_member(:carrier_gateway_id, Shapes::ShapeRef.new(shape: CarrierGatewayId, location_name: "CarrierGatewayId"))
|
14626
14631
|
ReplaceRouteRequest.add_member(:core_network_arn, Shapes::ShapeRef.new(shape: CoreNetworkArn, location_name: "CoreNetworkArn"))
|
14632
|
+
ReplaceRouteRequest.add_member(:odb_network_arn, Shapes::ShapeRef.new(shape: OdbNetworkArn, location_name: "OdbNetworkArn"))
|
14627
14633
|
ReplaceRouteRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
14628
14634
|
ReplaceRouteRequest.add_member(:route_table_id, Shapes::ShapeRef.new(shape: RouteTableId, required: true, location_name: "routeTableId"))
|
14629
14635
|
ReplaceRouteRequest.add_member(:destination_cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "destinationCidrBlock"))
|
@@ -15135,6 +15141,7 @@ module Aws::EC2
|
|
15135
15141
|
Route.add_member(:state, Shapes::ShapeRef.new(shape: RouteState, location_name: "state"))
|
15136
15142
|
Route.add_member(:vpc_peering_connection_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcPeeringConnectionId"))
|
15137
15143
|
Route.add_member(:core_network_arn, Shapes::ShapeRef.new(shape: CoreNetworkArn, location_name: "coreNetworkArn"))
|
15144
|
+
Route.add_member(:odb_network_arn, Shapes::ShapeRef.new(shape: OdbNetworkArn, location_name: "odbNetworkArn"))
|
15138
15145
|
Route.struct_class = Types::Route
|
15139
15146
|
|
15140
15147
|
RouteList.member = Shapes::ShapeRef.new(shape: Route, location_name: "item")
|
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/route.rb
CHANGED
@@ -143,6 +143,12 @@ module Aws::EC2
|
|
143
143
|
data[:core_network_arn]
|
144
144
|
end
|
145
145
|
|
146
|
+
# The Amazon Resource Name (ARN) of the ODB network.
|
147
|
+
# @return [String]
|
148
|
+
def odb_network_arn
|
149
|
+
data[:odb_network_arn]
|
150
|
+
end
|
151
|
+
|
146
152
|
# @!endgroup
|
147
153
|
|
148
154
|
# @return [Client]
|
@@ -314,6 +320,7 @@ module Aws::EC2
|
|
314
320
|
# local_gateway_id: "LocalGatewayId",
|
315
321
|
# carrier_gateway_id: "CarrierGatewayId",
|
316
322
|
# core_network_arn: "CoreNetworkArn",
|
323
|
+
# odb_network_arn: "OdbNetworkArn",
|
317
324
|
# dry_run: false,
|
318
325
|
# gateway_id: "RouteGatewayId",
|
319
326
|
# destination_ipv_6_cidr_block: "String",
|
@@ -340,6 +347,8 @@ module Aws::EC2
|
|
340
347
|
# \[IPv4 traffic only\] The ID of a carrier gateway.
|
341
348
|
# @option options [String] :core_network_arn
|
342
349
|
# The Amazon Resource Name (ARN) of the core network.
|
350
|
+
# @option options [String] :odb_network_arn
|
351
|
+
# The Amazon Resource Name (ARN) of the ODB network.
|
343
352
|
# @option options [Boolean] :dry_run
|
344
353
|
# Checks whether you have the required permissions for the action,
|
345
354
|
# without actually making the request, and provides an error response.
|
@@ -235,6 +235,7 @@ module Aws::EC2
|
|
235
235
|
# local_gateway_id: "LocalGatewayId",
|
236
236
|
# carrier_gateway_id: "CarrierGatewayId",
|
237
237
|
# core_network_arn: "CoreNetworkArn",
|
238
|
+
# odb_network_arn: "OdbNetworkArn",
|
238
239
|
# dry_run: false,
|
239
240
|
# destination_cidr_block: "String",
|
240
241
|
# gateway_id: "RouteGatewayId",
|
@@ -262,6 +263,8 @@ module Aws::EC2
|
|
262
263
|
# associated with a Wavelength Zone.
|
263
264
|
# @option options [String] :core_network_arn
|
264
265
|
# The Amazon Resource Name (ARN) of the core network.
|
266
|
+
# @option options [String] :odb_network_arn
|
267
|
+
# The Amazon Resource Name (ARN) of the ODB network.
|
265
268
|
# @option options [Boolean] :dry_run
|
266
269
|
# Checks whether you have the required permissions for the action,
|
267
270
|
# without actually making the request, and provides an error response.
|
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,
|
@@ -11965,6 +11983,10 @@ module Aws::EC2
|
|
11965
11983
|
# The Amazon Resource Name (ARN) of the core network.
|
11966
11984
|
# @return [String]
|
11967
11985
|
#
|
11986
|
+
# @!attribute [rw] odb_network_arn
|
11987
|
+
# The Amazon Resource Name (ARN) of the ODB network.
|
11988
|
+
# @return [String]
|
11989
|
+
#
|
11968
11990
|
# @!attribute [rw] dry_run
|
11969
11991
|
# Checks whether you have the required permissions for the action,
|
11970
11992
|
# without actually making the request, and provides an error response.
|
@@ -12024,6 +12046,7 @@ module Aws::EC2
|
|
12024
12046
|
:local_gateway_id,
|
12025
12047
|
:carrier_gateway_id,
|
12026
12048
|
:core_network_arn,
|
12049
|
+
:odb_network_arn,
|
12027
12050
|
:dry_run,
|
12028
12051
|
:route_table_id,
|
12029
12052
|
:destination_cidr_block,
|
@@ -12478,7 +12501,7 @@ module Aws::EC2
|
|
12478
12501
|
# * To create local snapshots in the same Local Zone as the source
|
12479
12502
|
# instance, specify `local`.
|
12480
12503
|
#
|
12481
|
-
# * To create
|
12504
|
+
# * To create regional snapshots in the parent Region of the Local
|
12482
12505
|
# Zone, specify `regional` or omit this parameter.
|
12483
12506
|
#
|
12484
12507
|
# Default value: `regional`
|
@@ -18621,11 +18644,7 @@ module Aws::EC2
|
|
18621
18644
|
# @return [String]
|
18622
18645
|
#
|
18623
18646
|
# @!attribute [rw] cidr
|
18624
|
-
# The CIDR you want to deprovision from the pool.
|
18625
|
-
# want to deprovision with a netmask of `/32`. You must rerun this
|
18626
|
-
# command for each IP address in the CIDR range. If your CIDR is a
|
18627
|
-
# `/24`, you will have to run this command to deprovision each of the
|
18628
|
-
# 256 IP addresses in the `/24` CIDR.
|
18647
|
+
# The CIDR you want to deprovision from the pool.
|
18629
18648
|
# @return [String]
|
18630
18649
|
#
|
18631
18650
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeprovisionPublicIpv4PoolCidrRequest AWS API Documentation
|
@@ -34160,6 +34179,21 @@ module Aws::EC2
|
|
34160
34179
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html
|
34161
34180
|
# @return [String]
|
34162
34181
|
#
|
34182
|
+
# @!attribute [rw] availability_zone
|
34183
|
+
# The Availability Zone where the EBS volume will be created (for
|
34184
|
+
# example, `us-east-1a`).
|
34185
|
+
#
|
34186
|
+
# Either `AvailabilityZone` or `AvailabilityZoneId` can be specified,
|
34187
|
+
# but not both. If neither is specified, Amazon EC2 automatically
|
34188
|
+
# selects an Availability Zone within the Region.
|
34189
|
+
#
|
34190
|
+
# This parameter is not supported when using [CreateImage][1].
|
34191
|
+
#
|
34192
|
+
#
|
34193
|
+
#
|
34194
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html
|
34195
|
+
# @return [String]
|
34196
|
+
#
|
34163
34197
|
# @!attribute [rw] encrypted
|
34164
34198
|
# Indicates whether the encryption state of an EBS volume is changed
|
34165
34199
|
# while being restored from a backing snapshot. The effect of setting
|
@@ -34246,6 +34280,21 @@ module Aws::EC2
|
|
34246
34280
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html
|
34247
34281
|
# @return [Integer]
|
34248
34282
|
#
|
34283
|
+
# @!attribute [rw] availability_zone_id
|
34284
|
+
# The ID of the Availability Zone where the EBS volume will be created
|
34285
|
+
# (for example, `use1-az1`).
|
34286
|
+
#
|
34287
|
+
# Either `AvailabilityZone` or `AvailabilityZoneId` can be specified,
|
34288
|
+
# but not both. If neither is specified, Amazon EC2 automatically
|
34289
|
+
# selects an Availability Zone within the Region.
|
34290
|
+
#
|
34291
|
+
# This parameter is not supported when using [CreateImage][1].
|
34292
|
+
#
|
34293
|
+
#
|
34294
|
+
#
|
34295
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html
|
34296
|
+
# @return [String]
|
34297
|
+
#
|
34249
34298
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EbsBlockDevice AWS API Documentation
|
34250
34299
|
#
|
34251
34300
|
class EbsBlockDevice < Struct.new(
|
@@ -34257,8 +34306,10 @@ module Aws::EC2
|
|
34257
34306
|
:kms_key_id,
|
34258
34307
|
:throughput,
|
34259
34308
|
:outpost_arn,
|
34309
|
+
:availability_zone,
|
34260
34310
|
:encrypted,
|
34261
|
-
:volume_initialization_rate
|
34311
|
+
:volume_initialization_rate,
|
34312
|
+
:availability_zone_id)
|
34262
34313
|
SENSITIVE = []
|
34263
34314
|
include Aws::Structure
|
34264
34315
|
end
|
@@ -44253,10 +44304,14 @@ module Aws::EC2
|
|
44253
44304
|
# @return [String]
|
44254
44305
|
#
|
44255
44306
|
# @!attribute [rw] public_dns_name
|
44256
|
-
#
|
44257
|
-
#
|
44258
|
-
#
|
44259
|
-
#
|
44307
|
+
# The public DNS name assigned to the instance. This name is not
|
44308
|
+
# available until the instance enters the `running` state. This name
|
44309
|
+
# is only available if you've enabled DNS hostnames for your VPC. The
|
44310
|
+
# format of this name depends on the [public hostname type][1].
|
44311
|
+
#
|
44312
|
+
#
|
44313
|
+
#
|
44314
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hostname-types.html#public-hostnames
|
44260
44315
|
# @return [String]
|
44261
44316
|
#
|
44262
44317
|
# @!attribute [rw] state_transition_reason
|
@@ -63464,6 +63519,10 @@ module Aws::EC2
|
|
63464
63519
|
# The Amazon Resource Name (ARN) of the core network.
|
63465
63520
|
# @return [String]
|
63466
63521
|
#
|
63522
|
+
# @!attribute [rw] odb_network_arn
|
63523
|
+
# The Amazon Resource Name (ARN) of the ODB network.
|
63524
|
+
# @return [String]
|
63525
|
+
#
|
63467
63526
|
# @!attribute [rw] dry_run
|
63468
63527
|
# Checks whether you have the required permissions for the action,
|
63469
63528
|
# without actually making the request, and provides an error response.
|
@@ -63521,6 +63580,7 @@ module Aws::EC2
|
|
63521
63580
|
:local_gateway_id,
|
63522
63581
|
:carrier_gateway_id,
|
63523
63582
|
:core_network_arn,
|
63583
|
+
:odb_network_arn,
|
63524
63584
|
:dry_run,
|
63525
63585
|
:route_table_id,
|
63526
63586
|
:destination_cidr_block,
|
@@ -66247,6 +66307,10 @@ module Aws::EC2
|
|
66247
66307
|
# The Amazon Resource Name (ARN) of the core network.
|
66248
66308
|
# @return [String]
|
66249
66309
|
#
|
66310
|
+
# @!attribute [rw] odb_network_arn
|
66311
|
+
# The Amazon Resource Name (ARN) of the ODB network.
|
66312
|
+
# @return [String]
|
66313
|
+
#
|
66250
66314
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Route AWS API Documentation
|
66251
66315
|
#
|
66252
66316
|
class Route < Struct.new(
|
@@ -66265,7 +66329,8 @@ module Aws::EC2
|
|
66265
66329
|
:origin,
|
66266
66330
|
:state,
|
66267
66331
|
:vpc_peering_connection_id,
|
66268
|
-
:core_network_arn
|
66332
|
+
:core_network_arn,
|
66333
|
+
:odb_network_arn)
|
66269
66334
|
SENSITIVE = []
|
66270
66335
|
include Aws::Structure
|
66271
66336
|
end
|
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?,
|
@@ -3206,6 +3209,7 @@ module Aws
|
|
3206
3209
|
?local_gateway_id: ::String,
|
3207
3210
|
?carrier_gateway_id: ::String,
|
3208
3211
|
?core_network_arn: ::String,
|
3212
|
+
?odb_network_arn: ::String,
|
3209
3213
|
?dry_run: bool,
|
3210
3214
|
route_table_id: ::String,
|
3211
3215
|
?destination_cidr_block: ::String,
|
@@ -12613,8 +12617,10 @@ module Aws
|
|
12613
12617
|
kms_key_id: ::String?,
|
12614
12618
|
throughput: ::Integer?,
|
12615
12619
|
outpost_arn: ::String?,
|
12620
|
+
availability_zone: ::String?,
|
12616
12621
|
encrypted: bool?,
|
12617
|
-
volume_initialization_rate: ::Integer
|
12622
|
+
volume_initialization_rate: ::Integer?,
|
12623
|
+
availability_zone_id: ::String?
|
12618
12624
|
}?,
|
12619
12625
|
no_device: ::String?,
|
12620
12626
|
device_name: ::String?,
|
@@ -12840,6 +12846,7 @@ module Aws
|
|
12840
12846
|
?local_gateway_id: ::String,
|
12841
12847
|
?carrier_gateway_id: ::String,
|
12842
12848
|
?core_network_arn: ::String,
|
12849
|
+
?odb_network_arn: ::String,
|
12843
12850
|
?dry_run: bool,
|
12844
12851
|
route_table_id: ::String,
|
12845
12852
|
?destination_cidr_block: ::String,
|
@@ -12940,8 +12947,10 @@ module Aws
|
|
12940
12947
|
kms_key_id: ::String?,
|
12941
12948
|
throughput: ::Integer?,
|
12942
12949
|
outpost_arn: ::String?,
|
12950
|
+
availability_zone: ::String?,
|
12943
12951
|
encrypted: bool?,
|
12944
|
-
volume_initialization_rate: ::Integer
|
12952
|
+
volume_initialization_rate: ::Integer?,
|
12953
|
+
availability_zone_id: ::String?
|
12945
12954
|
}?,
|
12946
12955
|
no_device: ::String?,
|
12947
12956
|
device_name: ::String?,
|
@@ -13252,8 +13261,10 @@ module Aws
|
|
13252
13261
|
kms_key_id: ::String?,
|
13253
13262
|
throughput: ::Integer?,
|
13254
13263
|
outpost_arn: ::String?,
|
13264
|
+
availability_zone: ::String?,
|
13255
13265
|
encrypted: bool?,
|
13256
|
-
volume_initialization_rate: ::Integer
|
13266
|
+
volume_initialization_rate: ::Integer?,
|
13267
|
+
availability_zone_id: ::String?
|
13257
13268
|
}?,
|
13258
13269
|
no_device: ::String?,
|
13259
13270
|
device_name: ::String?,
|
@@ -13647,8 +13658,10 @@ module Aws
|
|
13647
13658
|
kms_key_id: ::String?,
|
13648
13659
|
throughput: ::Integer?,
|
13649
13660
|
outpost_arn: ::String?,
|
13661
|
+
availability_zone: ::String?,
|
13650
13662
|
encrypted: bool?,
|
13651
|
-
volume_initialization_rate: ::Integer
|
13663
|
+
volume_initialization_rate: ::Integer?,
|
13664
|
+
availability_zone_id: ::String?
|
13652
13665
|
}?,
|
13653
13666
|
no_device: ::String?,
|
13654
13667
|
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/route.rbs
CHANGED
@@ -65,6 +65,9 @@ module Aws
|
|
65
65
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Route.html#core_network_arn-instance_method
|
66
66
|
def core_network_arn: () -> ::String
|
67
67
|
|
68
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Route.html#odb_network_arn-instance_method
|
69
|
+
def odb_network_arn: () -> ::String
|
70
|
+
|
68
71
|
def client: () -> Client
|
69
72
|
|
70
73
|
|
@@ -92,6 +95,7 @@ module Aws
|
|
92
95
|
?local_gateway_id: ::String,
|
93
96
|
?carrier_gateway_id: ::String,
|
94
97
|
?core_network_arn: ::String,
|
98
|
+
?odb_network_arn: ::String,
|
95
99
|
?dry_run: bool,
|
96
100
|
?gateway_id: ::String,
|
97
101
|
?destination_ipv_6_cidr_block: ::String,
|
data/sig/route_table.rbs
CHANGED
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
|
@@ -2627,6 +2628,7 @@ module Aws::EC2
|
|
2627
2628
|
attr_accessor local_gateway_id: ::String
|
2628
2629
|
attr_accessor carrier_gateway_id: ::String
|
2629
2630
|
attr_accessor core_network_arn: ::String
|
2631
|
+
attr_accessor odb_network_arn: ::String
|
2630
2632
|
attr_accessor dry_run: bool
|
2631
2633
|
attr_accessor route_table_id: ::String
|
2632
2634
|
attr_accessor destination_cidr_block: ::String
|
@@ -7542,8 +7544,10 @@ module Aws::EC2
|
|
7542
7544
|
attr_accessor kms_key_id: ::String
|
7543
7545
|
attr_accessor throughput: ::Integer
|
7544
7546
|
attr_accessor outpost_arn: ::String
|
7547
|
+
attr_accessor availability_zone: ::String
|
7545
7548
|
attr_accessor encrypted: bool
|
7546
7549
|
attr_accessor volume_initialization_rate: ::Integer
|
7550
|
+
attr_accessor availability_zone_id: ::String
|
7547
7551
|
SENSITIVE: []
|
7548
7552
|
end
|
7549
7553
|
|
@@ -13836,6 +13840,7 @@ module Aws::EC2
|
|
13836
13840
|
attr_accessor local_gateway_id: ::String
|
13837
13841
|
attr_accessor carrier_gateway_id: ::String
|
13838
13842
|
attr_accessor core_network_arn: ::String
|
13843
|
+
attr_accessor odb_network_arn: ::String
|
13839
13844
|
attr_accessor dry_run: bool
|
13840
13845
|
attr_accessor route_table_id: ::String
|
13841
13846
|
attr_accessor destination_cidr_block: ::String
|
@@ -14411,6 +14416,7 @@ module Aws::EC2
|
|
14411
14416
|
attr_accessor state: ("active" | "blackhole")
|
14412
14417
|
attr_accessor vpc_peering_connection_id: ::String
|
14413
14418
|
attr_accessor core_network_arn: ::String
|
14419
|
+
attr_accessor odb_network_arn: ::String
|
14414
14420
|
SENSITIVE: []
|
14415
14421
|
end
|
14416
14422
|
|