aws-sdk-ec2 1.540.0 → 1.545.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 +25 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +162 -152
- data/lib/aws-sdk-ec2/client_api.rb +6 -2
- data/lib/aws-sdk-ec2/image.rb +2 -24
- data/lib/aws-sdk-ec2/instance.rb +49 -3
- data/lib/aws-sdk-ec2/resource.rb +19 -25
- data/lib/aws-sdk-ec2/route.rb +7 -0
- data/lib/aws-sdk-ec2/snapshot.rb +2 -2
- data/lib/aws-sdk-ec2/subnet.rb +19 -25
- data/lib/aws-sdk-ec2/types.rb +87 -70
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +3 -0
- data/sig/instance.rbs +6 -0
- data/sig/route.rbs +3 -0
- data/sig/types.rbs +15 -11
- metadata +3 -3
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -8140,7 +8140,7 @@ module Aws::EC2
|
|
8140
8140
|
# The instance type for which to reserve capacity.
|
8141
8141
|
#
|
8142
8142
|
# <note markdown="1"> You can request future-dated Capacity Reservations for instance
|
8143
|
-
# types in the C, M, R, I, and
|
8143
|
+
# types in the C, M, R, I, T, and G instance families only.
|
8144
8144
|
#
|
8145
8145
|
# </note>
|
8146
8146
|
#
|
@@ -8181,9 +8181,9 @@ module Aws::EC2
|
|
8181
8181
|
# The number of instances for which to reserve capacity.
|
8182
8182
|
#
|
8183
8183
|
# <note markdown="1"> You can request future-dated Capacity Reservations for an instance
|
8184
|
-
# count with a minimum of
|
8184
|
+
# count with a minimum of 64 vCPUs. For example, if you request a
|
8185
8185
|
# future-dated Capacity Reservation for `m5.xlarge` instances, you
|
8186
|
-
# must request at least 25 instances (*
|
8186
|
+
# must request at least 25 instances (*16 * m5.xlarge = 64 vCPUs*).
|
8187
8187
|
#
|
8188
8188
|
# </note>
|
8189
8189
|
#
|
@@ -9710,7 +9710,7 @@ module Aws::EC2
|
|
9710
9710
|
# snapshots. To create an AMI with volumes or snapshots that have a
|
9711
9711
|
# different encryption status (for example, where the source volume
|
9712
9712
|
# and snapshots are unencrypted, and you want to create an AMI with
|
9713
|
-
# encrypted volumes or snapshots),
|
9713
|
+
# encrypted volumes or snapshots), copy the image instead.
|
9714
9714
|
#
|
9715
9715
|
# * The only option that can be changed for existing mappings or
|
9716
9716
|
# snapshots is `DeleteOnTermination`.
|
@@ -22405,8 +22405,8 @@ module Aws::EC2
|
|
22405
22405
|
#
|
22406
22406
|
# **Note**: The `blockDeviceMapping` attribute is deprecated. Using
|
22407
22407
|
# this attribute returns the `Client.AuthFailure` error. To get
|
22408
|
-
# information about the block device mappings for an AMI,
|
22409
|
-
#
|
22408
|
+
# information about the block device mappings for an AMI, describe the
|
22409
|
+
# image instead.
|
22410
22410
|
# @return [String]
|
22411
22411
|
#
|
22412
22412
|
# @!attribute [rw] image_id
|
@@ -23560,8 +23560,9 @@ module Aws::EC2
|
|
23560
23560
|
# express (NVMe) is supported for EBS volumes (`required` \|
|
23561
23561
|
# `supported` \| `unsupported`).
|
23562
23562
|
#
|
23563
|
-
# * `free-tier-eligible` -
|
23564
|
-
#
|
23563
|
+
# * `free-tier-eligible` - A Boolean that indicates whether this
|
23564
|
+
# instance type can be used under the Amazon Web Services Free Tier
|
23565
|
+
# (`true` \| `false`).
|
23565
23566
|
#
|
23566
23567
|
# * `hibernation-supported` - Indicates whether On-Demand hibernation
|
23567
23568
|
# is supported (`true` \| `false`).
|
@@ -34549,14 +34550,18 @@ module Aws::EC2
|
|
34549
34550
|
# but not both. If neither is specified, Amazon EC2 automatically
|
34550
34551
|
# selects an Availability Zone within the Region.
|
34551
34552
|
#
|
34552
|
-
# This parameter is not supported when using [
|
34553
|
-
# [
|
34553
|
+
# This parameter is not supported when using [CreateFleet][1],
|
34554
|
+
# [CreateImage][2], [DescribeImages][3], [RequestSpotFleet][4],
|
34555
|
+
# [RequestSpotInstances][5], and [RunInstances][6].
|
34554
34556
|
#
|
34555
34557
|
#
|
34556
34558
|
#
|
34557
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/
|
34558
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/
|
34559
|
-
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/
|
34559
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet.html
|
34560
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html
|
34561
|
+
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html
|
34562
|
+
# [4]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet.html
|
34563
|
+
# [5]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html
|
34564
|
+
# [6]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html
|
34560
34565
|
# @return [String]
|
34561
34566
|
#
|
34562
34567
|
# @!attribute [rw] encrypted
|
@@ -34653,14 +34658,18 @@ module Aws::EC2
|
|
34653
34658
|
# but not both. If neither is specified, Amazon EC2 automatically
|
34654
34659
|
# selects an Availability Zone within the Region.
|
34655
34660
|
#
|
34656
|
-
# This parameter is not supported when using [
|
34657
|
-
# [
|
34661
|
+
# This parameter is not supported when using [CreateFleet][1],
|
34662
|
+
# [CreateImage][2], [DescribeImages][3], [RequestSpotFleet][4],
|
34663
|
+
# [RequestSpotInstances][5], and [RunInstances][6].
|
34658
34664
|
#
|
34659
34665
|
#
|
34660
34666
|
#
|
34661
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/
|
34662
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/
|
34663
|
-
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/
|
34667
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet.html
|
34668
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html
|
34669
|
+
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html
|
34670
|
+
# [4]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet.html
|
34671
|
+
# [5]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html
|
34672
|
+
# [6]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html
|
34664
34673
|
# @return [String]
|
34665
34674
|
#
|
34666
34675
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EbsBlockDevice AWS API Documentation
|
@@ -42969,32 +42978,10 @@ module Aws::EC2
|
|
42969
42978
|
#
|
42970
42979
|
# @!attribute [rw] source_image_id
|
42971
42980
|
# The ID of the source AMI from which the AMI was created.
|
42972
|
-
#
|
42973
|
-
# The ID only appears if the AMI was created using CreateImage,
|
42974
|
-
# CopyImage, or CreateRestoreImageTask. The ID does not appear if the
|
42975
|
-
# AMI was created using any other API. For some older AMIs, the ID
|
42976
|
-
# might not be available. For more information, see [Identify the
|
42977
|
-
# source AMI used to create a new Amazon EC2 AMI][1] in the *Amazon
|
42978
|
-
# EC2 User Guide*.
|
42979
|
-
#
|
42980
|
-
#
|
42981
|
-
#
|
42982
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/identify-source-ami-used-to-create-new-ami.html
|
42983
42981
|
# @return [String]
|
42984
42982
|
#
|
42985
42983
|
# @!attribute [rw] source_image_region
|
42986
42984
|
# The Region of the source AMI.
|
42987
|
-
#
|
42988
|
-
# The Region only appears if the AMI was created using CreateImage,
|
42989
|
-
# CopyImage, or CreateRestoreImageTask. The Region does not appear if
|
42990
|
-
# the AMI was created using any other API. For some older AMIs, the
|
42991
|
-
# Region might not be available. For more information, see [Identify
|
42992
|
-
# the source AMI used to create a new Amazon EC2 AMI][1] in the
|
42993
|
-
# *Amazon EC2 User Guide*.
|
42994
|
-
#
|
42995
|
-
#
|
42996
|
-
#
|
42997
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/identify-source-ami-used-to-create-new-ami.html
|
42998
42985
|
# @return [String]
|
42999
42986
|
#
|
43000
42987
|
# @!attribute [rw] free_tier_eligible
|
@@ -66765,6 +66752,11 @@ module Aws::EC2
|
|
66765
66752
|
# The Amazon Resource Name (ARN) of the ODB network.
|
66766
66753
|
# @return [String]
|
66767
66754
|
#
|
66755
|
+
# @!attribute [rw] ip_address
|
66756
|
+
# The next hop IP address for routes propagated by VPC Route Server
|
66757
|
+
# into VPC route tables.
|
66758
|
+
# @return [String]
|
66759
|
+
#
|
66768
66760
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Route AWS API Documentation
|
66769
66761
|
#
|
66770
66762
|
class Route < Struct.new(
|
@@ -66784,7 +66776,8 @@ module Aws::EC2
|
|
66784
66776
|
:state,
|
66785
66777
|
:vpc_peering_connection_id,
|
66786
66778
|
:core_network_arn,
|
66787
|
-
:odb_network_arn
|
66779
|
+
:odb_network_arn,
|
66780
|
+
:ip_address)
|
66788
66781
|
SENSITIVE = []
|
66789
66782
|
include Aws::Structure
|
66790
66783
|
end
|
@@ -67489,12 +67482,12 @@ module Aws::EC2
|
|
67489
67482
|
# @return [String]
|
67490
67483
|
#
|
67491
67484
|
# @!attribute [rw] instance_type
|
67492
|
-
# The instance type. For more information, see [Amazon EC2
|
67493
|
-
#
|
67485
|
+
# The instance type. For more information, see [Amazon EC2 Instance
|
67486
|
+
# Types Guide][1].
|
67494
67487
|
#
|
67495
67488
|
#
|
67496
67489
|
#
|
67497
|
-
# [1]: https://docs.aws.amazon.com/
|
67490
|
+
# [1]: https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-types.html
|
67498
67491
|
# @return [String]
|
67499
67492
|
#
|
67500
67493
|
# @!attribute [rw] ipv_6_address_count
|
@@ -67532,8 +67525,8 @@ module Aws::EC2
|
|
67532
67525
|
# @return [String]
|
67533
67526
|
#
|
67534
67527
|
# @!attribute [rw] key_name
|
67535
|
-
# The name of the key pair.
|
67536
|
-
#
|
67528
|
+
# The name of the key pair. For more information, see [Create a key
|
67529
|
+
# pair for your EC2 instance][1].
|
67537
67530
|
#
|
67538
67531
|
# If you do not specify a key pair, you can't connect to the instance
|
67539
67532
|
# unless you choose an AMI that is configured to allow users another
|
@@ -67541,8 +67534,7 @@ module Aws::EC2
|
|
67541
67534
|
#
|
67542
67535
|
#
|
67543
67536
|
#
|
67544
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/
|
67545
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportKeyPair.html
|
67537
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-key-pairs.html
|
67546
67538
|
# @return [String]
|
67547
67539
|
#
|
67548
67540
|
# @!attribute [rw] max_count
|
@@ -67599,16 +67591,11 @@ module Aws::EC2
|
|
67599
67591
|
# @return [String]
|
67600
67592
|
#
|
67601
67593
|
# @!attribute [rw] security_group_ids
|
67602
|
-
# The IDs of the security groups.
|
67603
|
-
# using [CreateSecurityGroup][1].
|
67594
|
+
# The IDs of the security groups.
|
67604
67595
|
#
|
67605
67596
|
# If you specify a network interface, you must specify any security
|
67606
67597
|
# groups as part of the network interface instead of using this
|
67607
67598
|
# parameter.
|
67608
|
-
#
|
67609
|
-
#
|
67610
|
-
#
|
67611
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateSecurityGroup.html
|
67612
67599
|
# @return [Array<String>]
|
67613
67600
|
#
|
67614
67601
|
# @!attribute [rw] security_groups
|
@@ -67632,11 +67619,11 @@ module Aws::EC2
|
|
67632
67619
|
# The user data to make available to the instance. User data must be
|
67633
67620
|
# base64-encoded. Depending on the tool or SDK that you're using, the
|
67634
67621
|
# base64-encoding might be performed for you. For more information,
|
67635
|
-
# see [
|
67622
|
+
# see [Run commands at launch using instance user data][1].
|
67636
67623
|
#
|
67637
67624
|
#
|
67638
67625
|
#
|
67639
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
67626
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html
|
67640
67627
|
# @return [String]
|
67641
67628
|
#
|
67642
67629
|
# @!attribute [rw] elastic_gpu_specification
|
@@ -67746,25 +67733,24 @@ module Aws::EC2
|
|
67746
67733
|
#
|
67747
67734
|
# @!attribute [rw] metadata_options
|
67748
67735
|
# The metadata options for the instance. For more information, see
|
67749
|
-
# [Instance
|
67736
|
+
# [Configure the Instance Metadata Service options][1].
|
67750
67737
|
#
|
67751
67738
|
#
|
67752
67739
|
#
|
67753
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
67740
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html
|
67754
67741
|
# @return [Types::InstanceMetadataOptionsRequest]
|
67755
67742
|
#
|
67756
67743
|
# @!attribute [rw] enclave_options
|
67757
67744
|
# Indicates whether the instance is enabled for Amazon Web Services
|
67758
|
-
# Nitro Enclaves. For more information, see [
|
67759
|
-
#
|
67760
|
-
# Enclaves User Guide*.
|
67745
|
+
# Nitro Enclaves. For more information, see [Amazon Web Services Nitro
|
67746
|
+
# Enclaves User Guide][1].
|
67761
67747
|
#
|
67762
67748
|
# You can't enable Amazon Web Services Nitro Enclaves and hibernation
|
67763
67749
|
# on the same instance.
|
67764
67750
|
#
|
67765
67751
|
#
|
67766
67752
|
#
|
67767
|
-
# [1]: https://docs.aws.amazon.com/enclaves/latest/user/
|
67753
|
+
# [1]: https://docs.aws.amazon.com/enclaves/latest/user/
|
67768
67754
|
# @return [Types::EnclaveOptionsRequest]
|
67769
67755
|
#
|
67770
67756
|
# @!attribute [rw] private_dns_name_options
|
@@ -67779,11 +67765,12 @@ module Aws::EC2
|
|
67779
67765
|
#
|
67780
67766
|
# @!attribute [rw] disable_api_stop
|
67781
67767
|
# Indicates whether an instance is enabled for stop protection. For
|
67782
|
-
# more information, see [
|
67768
|
+
# more information, see [Enable stop protection for your EC2
|
67769
|
+
# instances][1].
|
67783
67770
|
#
|
67784
67771
|
#
|
67785
67772
|
#
|
67786
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
67773
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html
|
67787
67774
|
# @return [Boolean]
|
67788
67775
|
#
|
67789
67776
|
# @!attribute [rw] enable_primary_ipv_6
|
@@ -67857,7 +67844,8 @@ module Aws::EC2
|
|
67857
67844
|
# randomly generated token is used for the request to ensure
|
67858
67845
|
# idempotency.
|
67859
67846
|
#
|
67860
|
-
# For more information, see [Ensuring
|
67847
|
+
# For more information, see [Ensuring idempotency in Amazon EC2 API
|
67848
|
+
# requests][1].
|
67861
67849
|
#
|
67862
67850
|
# Constraints: Maximum 64 ASCII characters
|
67863
67851
|
#
|
@@ -67866,7 +67854,7 @@ module Aws::EC2
|
|
67866
67854
|
#
|
67867
67855
|
#
|
67868
67856
|
#
|
67869
|
-
# [1]: https://docs.aws.amazon.com/
|
67857
|
+
# [1]: https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html
|
67870
67858
|
# @return [String]
|
67871
67859
|
#
|
67872
67860
|
# @!attribute [rw] additional_info
|
@@ -69775,8 +69763,8 @@ module Aws::EC2
|
|
69775
69763
|
#
|
69776
69764
|
# @!attribute [rw] volume_id
|
69777
69765
|
# The ID of the volume that was used to create the snapshot. Snapshots
|
69778
|
-
# created by
|
69779
|
-
# should not
|
69766
|
+
# created by a copy snapshot operation have an arbitrary volume ID
|
69767
|
+
# that you should not use for any purpose.
|
69780
69768
|
# @return [String]
|
69781
69769
|
#
|
69782
69770
|
# @!attribute [rw] state
|
@@ -72016,8 +72004,8 @@ module Aws::EC2
|
|
72016
72004
|
# @!attribute [rw] hibernate
|
72017
72005
|
# Hibernates the instance if the instance was enabled for hibernation
|
72018
72006
|
# at launch. If the instance cannot hibernate successfully, a normal
|
72019
|
-
# shutdown occurs. For more information, see [Hibernate your
|
72020
|
-
# instance][1] in the *Amazon EC2 User Guide*.
|
72007
|
+
# shutdown occurs. For more information, see [Hibernate your Amazon
|
72008
|
+
# EC2 instance][1] in the *Amazon EC2 User Guide*.
|
72021
72009
|
#
|
72022
72010
|
# Default: `false`
|
72023
72011
|
#
|
@@ -72026,6 +72014,17 @@ module Aws::EC2
|
|
72026
72014
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
|
72027
72015
|
# @return [Boolean]
|
72028
72016
|
#
|
72017
|
+
# @!attribute [rw] skip_os_shutdown
|
72018
|
+
# Specifies whether to bypass the graceful OS shutdown process when
|
72019
|
+
# the instance is stopped.
|
72020
|
+
#
|
72021
|
+
# Bypassing the graceful OS shutdown might result in data loss or
|
72022
|
+
# corruption (for example, memory contents not flushed to disk or loss
|
72023
|
+
# of in-flight IOs) or skipped shutdown scripts.
|
72024
|
+
#
|
72025
|
+
# Default: `false`
|
72026
|
+
# @return [Boolean]
|
72027
|
+
#
|
72029
72028
|
# @!attribute [rw] dry_run
|
72030
72029
|
# Checks whether you have the required permissions for the operation,
|
72031
72030
|
# without actually making the request, and provides an error response.
|
@@ -72057,6 +72056,7 @@ module Aws::EC2
|
|
72057
72056
|
class StopInstancesRequest < Struct.new(
|
72058
72057
|
:instance_ids,
|
72059
72058
|
:hibernate,
|
72059
|
+
:skip_os_shutdown,
|
72060
72060
|
:dry_run,
|
72061
72061
|
:force)
|
72062
72062
|
SENSITIVE = []
|
@@ -72999,6 +72999,21 @@ module Aws::EC2
|
|
72999
72999
|
# request into smaller batches.
|
73000
73000
|
# @return [Array<String>]
|
73001
73001
|
#
|
73002
|
+
# @!attribute [rw] force
|
73003
|
+
# Forces the instances to terminate. The instance will first attempt a
|
73004
|
+
# graceful shutdown, which includes flushing file system caches and
|
73005
|
+
# metadata. If the graceful shutdown fails to complete within the
|
73006
|
+
# timeout period, the instance shuts down forcibly without flushing
|
73007
|
+
# the file system caches and metadata.
|
73008
|
+
# @return [Boolean]
|
73009
|
+
#
|
73010
|
+
# @!attribute [rw] skip_os_shutdown
|
73011
|
+
# Specifies whether to bypass the graceful OS shutdown process when
|
73012
|
+
# the instance is terminated.
|
73013
|
+
#
|
73014
|
+
# Default: `false`
|
73015
|
+
# @return [Boolean]
|
73016
|
+
#
|
73002
73017
|
# @!attribute [rw] dry_run
|
73003
73018
|
# Checks whether you have the required permissions for the operation,
|
73004
73019
|
# without actually making the request, and provides an error response.
|
@@ -73010,6 +73025,8 @@ module Aws::EC2
|
|
73010
73025
|
#
|
73011
73026
|
class TerminateInstancesRequest < Struct.new(
|
73012
73027
|
:instance_ids,
|
73028
|
+
:force,
|
73029
|
+
:skip_os_shutdown,
|
73013
73030
|
:dry_run)
|
73014
73031
|
SENSITIVE = []
|
73015
73032
|
include Aws::Structure
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -14145,6 +14145,7 @@ module Aws
|
|
14145
14145
|
def stop_instances: (
|
14146
14146
|
instance_ids: Array[::String],
|
14147
14147
|
?hibernate: bool,
|
14148
|
+
?skip_os_shutdown: bool,
|
14148
14149
|
?dry_run: bool,
|
14149
14150
|
?force: bool
|
14150
14151
|
) -> _StopInstancesResponseSuccess
|
@@ -14172,6 +14173,8 @@ module Aws
|
|
14172
14173
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#terminate_instances-instance_method
|
14173
14174
|
def terminate_instances: (
|
14174
14175
|
instance_ids: Array[::String],
|
14176
|
+
?force: bool,
|
14177
|
+
?skip_os_shutdown: bool,
|
14175
14178
|
?dry_run: bool
|
14176
14179
|
) -> _TerminateInstancesResponseSuccess
|
14177
14180
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TerminateInstancesResponseSuccess
|
data/sig/instance.rbs
CHANGED
@@ -443,6 +443,7 @@ module Aws
|
|
443
443
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#stop-instance_method
|
444
444
|
def stop: (
|
445
445
|
?hibernate: bool,
|
446
|
+
?skip_os_shutdown: bool,
|
446
447
|
?dry_run: bool,
|
447
448
|
?force: bool
|
448
449
|
) -> Types::StopInstancesResult
|
@@ -450,6 +451,8 @@ module Aws
|
|
450
451
|
|
451
452
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#terminate-instance_method
|
452
453
|
def terminate: (
|
454
|
+
?force: bool,
|
455
|
+
?skip_os_shutdown: bool,
|
453
456
|
?dry_run: bool
|
454
457
|
) -> Types::TerminateInstancesResult
|
455
458
|
| (?Hash[Symbol, untyped]) -> Types::TerminateInstancesResult
|
@@ -550,12 +553,15 @@ module Aws
|
|
550
553
|
|
551
554
|
def batch_stop: (
|
552
555
|
?hibernate: bool,
|
556
|
+
?skip_os_shutdown: bool,
|
553
557
|
?dry_run: bool,
|
554
558
|
?force: bool
|
555
559
|
) -> void
|
556
560
|
| (?Hash[Symbol, untyped]) -> void
|
557
561
|
|
558
562
|
def batch_terminate!: (
|
563
|
+
?force: bool,
|
564
|
+
?skip_os_shutdown: bool,
|
559
565
|
?dry_run: bool
|
560
566
|
) -> void
|
561
567
|
| (?Hash[Symbol, untyped]) -> void
|
data/sig/route.rbs
CHANGED
@@ -68,6 +68,9 @@ module Aws
|
|
68
68
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Route.html#odb_network_arn-instance_method
|
69
69
|
def odb_network_arn: () -> ::String
|
70
70
|
|
71
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Route.html#ip_address-instance_method
|
72
|
+
def ip_address: () -> ::String
|
73
|
+
|
71
74
|
def client: () -> Client
|
72
75
|
|
73
76
|
|
data/sig/types.rbs
CHANGED
@@ -14498,6 +14498,7 @@ module Aws::EC2
|
|
14498
14498
|
attr_accessor vpc_peering_connection_id: ::String
|
14499
14499
|
attr_accessor core_network_arn: ::String
|
14500
14500
|
attr_accessor odb_network_arn: ::String
|
14501
|
+
attr_accessor ip_address: ::String
|
14501
14502
|
SENSITIVE: []
|
14502
14503
|
end
|
14503
14504
|
|
@@ -15459,6 +15460,7 @@ module Aws::EC2
|
|
15459
15460
|
class StopInstancesRequest
|
15460
15461
|
attr_accessor instance_ids: ::Array[::String]
|
15461
15462
|
attr_accessor hibernate: bool
|
15463
|
+
attr_accessor skip_os_shutdown: bool
|
15462
15464
|
attr_accessor dry_run: bool
|
15463
15465
|
attr_accessor force: bool
|
15464
15466
|
SENSITIVE: []
|
@@ -15688,6 +15690,8 @@ module Aws::EC2
|
|
15688
15690
|
|
15689
15691
|
class TerminateInstancesRequest
|
15690
15692
|
attr_accessor instance_ids: ::Array[::String]
|
15693
|
+
attr_accessor force: bool
|
15694
|
+
attr_accessor skip_os_shutdown: bool
|
15691
15695
|
attr_accessor dry_run: bool
|
15692
15696
|
SENSITIVE: []
|
15693
15697
|
end
|
@@ -15799,7 +15803,7 @@ module Aws::EC2
|
|
15799
15803
|
attr_accessor transit_gateway_route_table_id: ::String
|
15800
15804
|
attr_accessor transit_gateway_attachment_id: ::String
|
15801
15805
|
attr_accessor resource_id: ::String
|
15802
|
-
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering")
|
15806
|
+
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering" | "network-function")
|
15803
15807
|
attr_accessor state: ("associating" | "associated" | "disassociating" | "disassociated")
|
15804
15808
|
SENSITIVE: []
|
15805
15809
|
end
|
@@ -15809,7 +15813,7 @@ module Aws::EC2
|
|
15809
15813
|
attr_accessor transit_gateway_id: ::String
|
15810
15814
|
attr_accessor transit_gateway_owner_id: ::String
|
15811
15815
|
attr_accessor resource_owner_id: ::String
|
15812
|
-
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering")
|
15816
|
+
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering" | "network-function")
|
15813
15817
|
attr_accessor resource_id: ::String
|
15814
15818
|
attr_accessor state: ("initiating" | "initiatingRequest" | "pendingAcceptance" | "rollingBack" | "pending" | "available" | "modifying" | "deleting" | "deleted" | "failed" | "rejected" | "rejecting" | "failing")
|
15815
15819
|
attr_accessor association: Types::TransitGatewayAttachmentAssociation
|
@@ -15908,7 +15912,7 @@ module Aws::EC2
|
|
15908
15912
|
class TransitGatewayMulticastDomainAssociation
|
15909
15913
|
attr_accessor transit_gateway_attachment_id: ::String
|
15910
15914
|
attr_accessor resource_id: ::String
|
15911
|
-
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering")
|
15915
|
+
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering" | "network-function")
|
15912
15916
|
attr_accessor resource_owner_id: ::String
|
15913
15917
|
attr_accessor subnet: Types::SubnetAssociation
|
15914
15918
|
SENSITIVE: []
|
@@ -15918,7 +15922,7 @@ module Aws::EC2
|
|
15918
15922
|
attr_accessor transit_gateway_multicast_domain_id: ::String
|
15919
15923
|
attr_accessor transit_gateway_attachment_id: ::String
|
15920
15924
|
attr_accessor resource_id: ::String
|
15921
|
-
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering")
|
15925
|
+
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering" | "network-function")
|
15922
15926
|
attr_accessor resource_owner_id: ::String
|
15923
15927
|
attr_accessor subnets: ::Array[Types::SubnetAssociation]
|
15924
15928
|
SENSITIVE: []
|
@@ -15936,7 +15940,7 @@ module Aws::EC2
|
|
15936
15940
|
attr_accessor transit_gateway_attachment_id: ::String
|
15937
15941
|
attr_accessor subnet_id: ::String
|
15938
15942
|
attr_accessor resource_id: ::String
|
15939
|
-
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering")
|
15943
|
+
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering" | "network-function")
|
15940
15944
|
attr_accessor resource_owner_id: ::String
|
15941
15945
|
attr_accessor network_interface_id: ::String
|
15942
15946
|
attr_accessor group_member: bool
|
@@ -16022,7 +16026,7 @@ module Aws::EC2
|
|
16022
16026
|
attr_accessor transit_gateway_policy_table_id: ::String
|
16023
16027
|
attr_accessor transit_gateway_attachment_id: ::String
|
16024
16028
|
attr_accessor resource_id: ::String
|
16025
|
-
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering")
|
16029
|
+
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering" | "network-function")
|
16026
16030
|
attr_accessor state: ("associating" | "associated" | "disassociating" | "disassociated")
|
16027
16031
|
SENSITIVE: []
|
16028
16032
|
end
|
@@ -16036,7 +16040,7 @@ module Aws::EC2
|
|
16036
16040
|
|
16037
16041
|
class TransitGatewayPrefixListAttachment
|
16038
16042
|
attr_accessor transit_gateway_attachment_id: ::String
|
16039
|
-
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering")
|
16043
|
+
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering" | "network-function")
|
16040
16044
|
attr_accessor resource_id: ::String
|
16041
16045
|
SENSITIVE: []
|
16042
16046
|
end
|
@@ -16054,7 +16058,7 @@ module Aws::EC2
|
|
16054
16058
|
class TransitGatewayPropagation
|
16055
16059
|
attr_accessor transit_gateway_attachment_id: ::String
|
16056
16060
|
attr_accessor resource_id: ::String
|
16057
|
-
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering")
|
16061
|
+
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering" | "network-function")
|
16058
16062
|
attr_accessor transit_gateway_route_table_id: ::String
|
16059
16063
|
attr_accessor state: ("enabling" | "enabled" | "disabling" | "disabled")
|
16060
16064
|
attr_accessor transit_gateway_route_table_announcement_id: ::String
|
@@ -16087,7 +16091,7 @@ module Aws::EC2
|
|
16087
16091
|
class TransitGatewayRouteAttachment
|
16088
16092
|
attr_accessor resource_id: ::String
|
16089
16093
|
attr_accessor transit_gateway_attachment_id: ::String
|
16090
|
-
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering")
|
16094
|
+
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering" | "network-function")
|
16091
16095
|
SENSITIVE: []
|
16092
16096
|
end
|
16093
16097
|
|
@@ -16120,7 +16124,7 @@ module Aws::EC2
|
|
16120
16124
|
class TransitGatewayRouteTableAssociation
|
16121
16125
|
attr_accessor transit_gateway_attachment_id: ::String
|
16122
16126
|
attr_accessor resource_id: ::String
|
16123
|
-
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering")
|
16127
|
+
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering" | "network-function")
|
16124
16128
|
attr_accessor state: ("associating" | "associated" | "disassociating" | "disassociated")
|
16125
16129
|
SENSITIVE: []
|
16126
16130
|
end
|
@@ -16128,7 +16132,7 @@ module Aws::EC2
|
|
16128
16132
|
class TransitGatewayRouteTablePropagation
|
16129
16133
|
attr_accessor transit_gateway_attachment_id: ::String
|
16130
16134
|
attr_accessor resource_id: ::String
|
16131
|
-
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering")
|
16135
|
+
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering" | "network-function")
|
16132
16136
|
attr_accessor state: ("enabling" | "enabled" | "disabling" | "disabled")
|
16133
16137
|
attr_accessor transit_gateway_route_table_announcement_id: ::String
|
16134
16138
|
SENSITIVE: []
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.545.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
version: '3'
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.
|
21
|
+
version: 3.228.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -28,7 +28,7 @@ dependencies:
|
|
28
28
|
version: '3'
|
29
29
|
- - ">="
|
30
30
|
- !ruby/object:Gem::Version
|
31
|
-
version: 3.
|
31
|
+
version: 3.228.0
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: aws-sigv4
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|