aws-sdk-ec2 1.542.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7409e49680772d4ba456ec1ba386fdf8f2b457acd8004ad42a48683d7bd34a2c
4
- data.tar.gz: 037bb6518c3218ff686bc63abbc0574e0d13a3b745e0bbc69ea0cd44ab8b1b0d
3
+ metadata.gz: 11f2309e09f49664b9e704e3355454e0f439a3a61141ec28d2ba6acfb67ea8d3
4
+ data.tar.gz: ca7074696a8d011730400c6c34f8c14461ed10cdc034fbb0ac3770e69474c3eb
5
5
  SHA512:
6
- metadata.gz: d9e2a7b7258ae2a19c5f4a240854ccef9576fcb95c3e55f70c39c31e3c2da1d6ec5c35989cd2e78fd802f0f7765523ac69c4351db55ef0a7363b43f453bfd2fd
7
- data.tar.gz: d3617682747f647e09b74dcc49bbe9659a5ed5a7b93a16d562ce9a2b6ae1b5837cb74ea65a652106d36694db9fecd76e8a7837587a16683b170fedff25455da8
6
+ metadata.gz: '06192b6a8bf2a6758f934d9f81e1650da7083fc0a74154d4484719307b5944be8170c63e9b0b4e9fe46a571505e4a0dd14bbd4c59b9d20f0835de336a1124089'
7
+ data.tar.gz: c6190333d388d905e5af844aca1aecc6f5a1705b0d72c2654917eddd3c60fb82c8de516f11a4e081d49fa7c1dd1096723a0807b27d4c2af06b7983605d8c7523
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.545.0 (2025-08-04)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.544.0 (2025-07-31)
10
+ ------------------
11
+
12
+ * Feature - Added support for the force option for the EC2 instance terminate command. This feature enables customers to recover resources associated with an instance stuck in the shutting-down state as a result of rare issues caused by a frozen operating system or an underlying hardware problem.
13
+
14
+ 1.543.0 (2025-07-30)
15
+ ------------------
16
+
17
+ * Feature - Release to show the next hop IP address for routes propagated by VPC Route Server into VPC route tables.
18
+
4
19
  1.542.0 (2025-07-25)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.542.0
1
+ 1.545.0
@@ -99,8 +99,8 @@ module Aws::EC2
99
99
  # class name or an instance of a plugin class.
100
100
  #
101
101
  # @option options [required, Aws::CredentialProvider] :credentials
102
- # Your AWS credentials used for authentication. This can be an instance of any one of the
103
- # following classes:
102
+ # Your AWS credentials used for authentication. This can be any class that includes and implements
103
+ # `Aws::CredentialProvider`, or instance of any one of the following classes:
104
104
  #
105
105
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
106
106
  # credentials.
@@ -128,8 +128,7 @@ module Aws::EC2
128
128
  # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
129
129
  # from the Cognito Identity service.
130
130
  #
131
- # When `:credentials` are not configured directly, the following
132
- # locations will be searched for credentials:
131
+ # When `:credentials` are not configured directly, the following locations will be searched for credentials:
133
132
  #
134
133
  # * `Aws.config[:credentials]`
135
134
  #
@@ -143,12 +142,10 @@ module Aws::EC2
143
142
  #
144
143
  # * `~/.aws/config`
145
144
  #
146
- # * EC2/ECS IMDS instance profile - When used by default, the timeouts
147
- # are very aggressive. Construct and pass an instance of
148
- # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
149
- # enable retries and extended timeouts. Instance profile credential
150
- # fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
151
- # to `true`.
145
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts are very aggressive.
146
+ # Construct and pass an instance of `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
147
+ # enable retries and extended timeouts. Instance profile credential fetching can be disabled by
148
+ # setting `ENV['AWS_EC2_METADATA_DISABLED']` to `true`.
152
149
  #
153
150
  # @option options [required, String] :region
154
151
  # The AWS region to connect to. The configured `:region` is
@@ -381,8 +378,8 @@ module Aws::EC2
381
378
  # `Aws::Telemetry::OTelProvider` for telemetry provider.
382
379
  #
383
380
  # @option options [Aws::TokenProvider] :token_provider
384
- # Your Bearer token used for authentication. This can be an instance of any one of the
385
- # following classes:
381
+ # Your Bearer token used for authentication. This can be any class that includes and implements
382
+ # `Aws::TokenProvider`, or instance of any one of the following classes:
386
383
  #
387
384
  # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
388
385
  # tokens.
@@ -924,8 +921,6 @@ module Aws::EC2
924
921
  # starts routing to Amazon Web Services because of BGP propagation
925
922
  # delays.
926
923
  #
927
- # To stop advertising the BYOIP CIDR, use WithdrawByoipCidr.
928
- #
929
924
  # @option params [required, String] :cidr
930
925
  # The address range, in CIDR notation. This must be the exact range that
931
926
  # you provisioned. You can't advertise only a portion of the
@@ -7883,7 +7878,7 @@ module Aws::EC2
7883
7878
  # snapshots. To create an AMI with volumes or snapshots that have a
7884
7879
  # different encryption status (for example, where the source volume
7885
7880
  # and snapshots are unencrypted, and you want to create an AMI with
7886
- # encrypted volumes or snapshots), use the CopyImage action.
7881
+ # encrypted volumes or snapshots), copy the image instead.
7887
7882
  #
7888
7883
  # * The only option that can be changed for existing mappings or
7889
7884
  # snapshots is `DeleteOnTermination`.
@@ -13144,6 +13139,7 @@ module Aws::EC2
13144
13139
  # resp.route_table.routes[0].vpc_peering_connection_id #=> String
13145
13140
  # resp.route_table.routes[0].core_network_arn #=> String
13146
13141
  # resp.route_table.routes[0].odb_network_arn #=> String
13142
+ # resp.route_table.routes[0].ip_address #=> String
13147
13143
  # resp.route_table.tags #=> Array
13148
13144
  # resp.route_table.tags[0].key #=> String
13149
13145
  # resp.route_table.tags[0].value #=> String
@@ -21595,8 +21591,8 @@ module Aws::EC2
21595
21591
  # (BYOIP) and deletes the corresponding address pool.
21596
21592
  #
21597
21593
  # Before you can release an address range, you must stop advertising it
21598
- # using WithdrawByoipCidr and you must not have any IP addresses
21599
- # allocated from its address range.
21594
+ # and you must not have any IP addresses allocated from its address
21595
+ # range.
21600
21596
  #
21601
21597
  # @option params [required, String] :cidr
21602
21598
  # The address range, in CIDR notation. The prefix must be the same
@@ -22812,11 +22808,9 @@ module Aws::EC2
22812
22808
  req.send_request(options)
22813
22809
  end
22814
22810
 
22815
- # Describes the IP address ranges that were specified in calls to
22816
- # ProvisionByoipCidr.
22817
- #
22818
- # To describe the address pools that were created when you provisioned
22819
- # the address ranges, use DescribePublicIpv4Pools or DescribeIpv6Pools.
22811
+ # Describes the IP address ranges that were provisioned for use with
22812
+ # Amazon Web Services resources through through bring your own IP
22813
+ # addresses (BYOIP).
22820
22814
  #
22821
22815
  # @option params [Boolean] :dry_run
22822
22816
  # Checks whether you have the required permissions for the action,
@@ -26561,8 +26555,8 @@ module Aws::EC2
26561
26555
  #
26562
26556
  # **Note**: The `blockDeviceMapping` attribute is deprecated. Using this
26563
26557
  # attribute returns the `Client.AuthFailure` error. To get information
26564
- # about the block device mappings for an AMI, use the DescribeImages
26565
- # action.
26558
+ # about the block device mappings for an AMI, describe the image
26559
+ # instead.
26566
26560
  #
26567
26561
  # @option params [required, String] :image_id
26568
26562
  # The ID of the AMI.
@@ -26683,13 +26677,13 @@ module Aws::EC2
26683
26677
  # for each image. In `audit-mode`, the `imageAllowed` field is set to
26684
26678
  # `true` for images that meet the account's Allowed AMIs criteria, and
26685
26679
  # `false` for images that don't meet the criteria. For more
26686
- # information, see EnableAllowedImagesSettings.
26680
+ # information, see [Allowed AMIs][1].
26687
26681
  #
26688
26682
  # The Amazon EC2 API follows an eventual consistency model. This means
26689
26683
  # that the result of an API command you run that creates or modifies
26690
26684
  # resources might not be immediately available to all subsequent
26691
26685
  # commands you run. For guidance on how to manage eventual consistency,
26692
- # see [Eventual consistency in the Amazon EC2 API][1] in the *Amazon EC2
26686
+ # see [Eventual consistency in the Amazon EC2 API][2] in the *Amazon EC2
26693
26687
  # Developer Guide*.
26694
26688
  #
26695
26689
  # We strongly recommend using only paginated requests. Unpaginated
@@ -26703,7 +26697,8 @@ module Aws::EC2
26703
26697
  #
26704
26698
  #
26705
26699
  #
26706
- # [1]: https://docs.aws.amazon.com/ec2/latest/devguide/eventual-consistency.html
26700
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-allowed-amis.html
26701
+ # [2]: https://docs.aws.amazon.com/ec2/latest/devguide/eventual-consistency.html
26707
26702
  #
26708
26703
  # @option params [Array<String>] :executable_users
26709
26704
  # Scopes the images by users with explicit launch permissions. Specify
@@ -31615,9 +31610,6 @@ module Aws::EC2
31615
31610
  # Describes your managed prefix lists and any Amazon Web
31616
31611
  # Services-managed prefix lists.
31617
31612
  #
31618
- # To view the entries for your prefix list, use
31619
- # GetManagedPrefixListEntries.
31620
- #
31621
31613
  # @option params [Boolean] :dry_run
31622
31614
  # Checks whether you have the required permissions for the action,
31623
31615
  # without actually making the request, and provides an error response.
@@ -34098,8 +34090,6 @@ module Aws::EC2
34098
34090
  # format, which includes the prefix list name and prefix list ID of the
34099
34091
  # service and the IP address range for the service.
34100
34092
  #
34101
- # We recommend that you use DescribeManagedPrefixLists instead.
34102
- #
34103
34093
  # @option params [Boolean] :dry_run
34104
34094
  # Checks whether you have the required permissions for the action,
34105
34095
  # without actually making the request, and provides an error response.
@@ -35588,6 +35578,7 @@ module Aws::EC2
35588
35578
  # resp.route_tables[0].routes[0].vpc_peering_connection_id #=> String
35589
35579
  # resp.route_tables[0].routes[0].core_network_arn #=> String
35590
35580
  # resp.route_tables[0].routes[0].odb_network_arn #=> String
35581
+ # resp.route_tables[0].routes[0].ip_address #=> String
35591
35582
  # resp.route_tables[0].tags #=> Array
35592
35583
  # resp.route_tables[0].tags[0].key #=> String
35593
35584
  # resp.route_tables[0].tags[0].value #=> String
@@ -36609,9 +36600,6 @@ module Aws::EC2
36609
36600
  # paginate the output to make the list more manageable. For more
36610
36601
  # information, see [Pagination][1].
36611
36602
  #
36612
- # To get the state of fast snapshot restores for a snapshot, use
36613
- # DescribeFastSnapshotRestores.
36614
- #
36615
36603
  # For more information about EBS snapshots, see [Amazon EBS
36616
36604
  # snapshots][2] in the *Amazon EBS User Guide*.
36617
36605
  #
@@ -40368,8 +40356,9 @@ module Aws::EC2
40368
40356
  # an event. For example, if the status of the volume is `impaired` and
40369
40357
  # the volume event shows `potential-data-inconsistency`, then the action
40370
40358
  # shows `enable-volume-io`. This means that you may want to enable the
40371
- # I/O operations for the volume by calling the EnableVolumeIO action and
40372
- # then check the volume for data consistency.
40359
+ # I/O operations for the volume and then check the volume for data
40360
+ # consistency. For more information, see [Work with an impaired EBS
40361
+ # volume][2].
40373
40362
  #
40374
40363
  # Volume status is based on the volume status checks, and does not
40375
40364
  # reflect the volume state. Therefore, volume status does not indicate
@@ -40385,6 +40374,7 @@ module Aws::EC2
40385
40374
  #
40386
40375
  #
40387
40376
  # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/monitoring-volume-status.html
40377
+ # [2]: https://docs.aws.amazon.com/ebs/latest/userguide/work_volumes_impaired.html
40388
40378
  #
40389
40379
  # @option params [Integer] :max_results
40390
40380
  # The maximum number of items to return for this request. To get the
@@ -44997,9 +44987,6 @@ module Aws::EC2
44997
44987
  # information, see [Amazon EBS encryption][1] in the *Amazon EBS User
44998
44988
  # Guide*.
44999
44989
  #
45000
- # You can specify the default KMS key for encryption by default using
45001
- # ModifyEbsDefaultKmsKeyId or ResetEbsDefaultKmsKeyId.
45002
- #
45003
44990
  # Enabling encryption by default has no effect on the encryption status
45004
44991
  # of your existing volumes.
45005
44992
  #
@@ -45139,9 +45126,7 @@ module Aws::EC2
45139
45126
  # specified Availability Zones.
45140
45127
  #
45141
45128
  # You get the full benefit of fast snapshot restores after they enter
45142
- # the `enabled` state. To get the current state of fast snapshot
45143
- # restores, use DescribeFastSnapshotRestores. To disable fast snapshot
45144
- # restores, use DisableFastSnapshotRestores.
45129
+ # the `enabled` state.
45145
45130
  #
45146
45131
  # For more information, see [Amazon EBS fast snapshot restore][1] in the
45147
45132
  # *Amazon EBS User Guide*.
@@ -45366,7 +45351,7 @@ module Aws::EC2
45366
45351
  # protection is enabled, the AMI can't be deregistered.
45367
45352
  #
45368
45353
  # To allow the AMI to be deregistered, you must first disable
45369
- # deregistration protection using DisableImageDeregistrationProtection.
45354
+ # deregistration protection.
45370
45355
  #
45371
45356
  # For more information, see [Protect an Amazon EC2 AMI from
45372
45357
  # deregistration][1] in the *Amazon EC2 User Guide*.
@@ -46866,9 +46851,7 @@ module Aws::EC2
46866
46851
  end
46867
46852
 
46868
46853
  # Describes the default KMS key for EBS encryption by default for your
46869
- # account in this Region. You can change the default KMS key for
46870
- # encryption by default using ModifyEbsDefaultKmsKeyId or
46871
- # ResetEbsDefaultKmsKeyId.
46854
+ # account in this Region.
46872
46855
  #
46873
46856
  # For more information, see [Amazon EBS encryption][1] in the *Amazon
46874
46857
  # EBS User Guide*.
@@ -52078,10 +52061,8 @@ module Aws::EC2
52078
52061
  # Amazon Web Services creates a unique Amazon Web Services managed KMS
52079
52062
  # key in each Region for use with encryption by default. If you change
52080
52063
  # the default KMS key to a symmetric customer managed KMS key, it is
52081
- # used instead of the Amazon Web Services managed KMS key. To reset the
52082
- # default KMS key to the Amazon Web Services managed KMS key for EBS,
52083
- # use ResetEbsDefaultKmsKeyId. Amazon EBS does not support asymmetric
52084
- # KMS keys.
52064
+ # used instead of the Amazon Web Services managed KMS key. Amazon EBS
52065
+ # does not support asymmetric KMS keys.
52085
52066
  #
52086
52067
  # If you delete or disable the customer managed KMS key that you
52087
52068
  # specified for use with encryption by default, your instances will fail
@@ -58331,10 +58312,9 @@ module Aws::EC2
58331
58312
  # EC2-VPC platform. The Elastic IP address must be allocated to your
58332
58313
  # account for more than 24 hours, and it must not be associated with an
58333
58314
  # instance. After the Elastic IP address is moved, it is no longer
58334
- # available for use in the EC2-Classic platform, unless you move it back
58335
- # using the RestoreAddressToClassic request. You cannot move an Elastic
58336
- # IP address that was originally allocated for use in the EC2-VPC
58337
- # platform to the EC2-Classic platform.
58315
+ # available for use in the EC2-Classic platform. You cannot move an
58316
+ # Elastic IP address that was originally allocated for use in the
58317
+ # EC2-VPC platform to the EC2-Classic platform.
58338
58318
  #
58339
58319
  # @option params [Boolean] :dry_run
58340
58320
  # Checks whether you have the required permissions for the action,
@@ -58592,7 +58572,7 @@ module Aws::EC2
58592
58572
  # Provisions an IPv4 or IPv6 address range for use with your Amazon Web
58593
58573
  # Services resources through bring your own IP addresses (BYOIP) and
58594
58574
  # creates a corresponding address pool. After the address range is
58595
- # provisioned, it is ready to be advertised using AdvertiseByoipCidr.
58575
+ # provisioned, it is ready to be advertised.
58596
58576
  #
58597
58577
  # Amazon Web Services verifies that you own the address range and are
58598
58578
  # authorized to advertise it. You must ensure that the address range is
@@ -58603,15 +58583,13 @@ module Aws::EC2
58603
58583
  #
58604
58584
  # Provisioning an address range is an asynchronous operation, so the
58605
58585
  # call returns immediately, but the address range is not ready to use
58606
- # until its status changes from `pending-provision` to `provisioned`. To
58607
- # monitor the status of an address range, use DescribeByoipCidrs. To
58608
- # allocate an Elastic IP address from your IPv4 address pool, use
58609
- # AllocateAddress with either the specific address from the address pool
58610
- # or the ID of the address pool.
58586
+ # until its status changes from `pending-provision` to `provisioned`.
58587
+ # For more information, see [Onboard your address range][2].
58611
58588
  #
58612
58589
  #
58613
58590
  #
58614
58591
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html
58592
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/byoip-onboard.html
58615
58593
  #
58616
58594
  # @option params [required, String] :cidr
58617
58595
  # The public IPv4 or IPv6 address range, in CIDR notation. The most
@@ -59417,13 +59395,6 @@ module Aws::EC2
59417
59395
  # snapshot][1] and [Create an instance-store backed AMI][2] in the
59418
59396
  # *Amazon EC2 User Guide*.
59419
59397
  #
59420
- # <note markdown="1"> For Amazon EBS-backed instances, CreateImage creates and registers the
59421
- # AMI in a single request, so you don't have to register the AMI
59422
- # yourself. We recommend that you always use CreateImage unless you have
59423
- # a specific reason to use RegisterImage.
59424
- #
59425
- # </note>
59426
- #
59427
59398
  # If needed, you can deregister an AMI at any time. Any modifications
59428
59399
  # you make to an AMI backed by an instance store volume invalidates its
59429
59400
  # registration. If you make changes to an image, deregister the previous
@@ -59457,17 +59428,17 @@ module Aws::EC2
59457
59428
  # field is empty or doesn't match the expected operating system code
59458
59429
  # (for example, Windows, RedHat, SUSE, or SQL), the AMI creation was
59459
59430
  # unsuccessful, and you should discard the AMI and instead create the
59460
- # AMI from an instance using CreateImage. For more information, see
59461
- # [Create an AMI from an instance ][5] in the *Amazon EC2 User Guide*.
59431
+ # AMI from an instance. For more information, see [Create an AMI from an
59432
+ # instance ][5] in the *Amazon EC2 User Guide*.
59462
59433
  #
59463
59434
  # If you purchase a Reserved Instance to apply to an On-Demand Instance
59464
59435
  # that was launched from an AMI with a billing product code, make sure
59465
59436
  # that the Reserved Instance has the matching billing product code. If
59466
59437
  # you purchase a Reserved Instance without the matching billing product
59467
- # code, the Reserved Instance will not be applied to the On-Demand
59468
- # Instance. For information about how to obtain the platform details and
59469
- # billing information of an AMI, see [Understand AMI billing
59470
- # information][4] in the *Amazon EC2 User Guide*.
59438
+ # code, the Reserved Instance is not applied to the On-Demand Instance.
59439
+ # For information about how to obtain the platform details and billing
59440
+ # information of an AMI, see [Understand AMI billing information][4] in
59441
+ # the *Amazon EC2 User Guide*.
59471
59442
  #
59472
59443
  #
59473
59444
  #
@@ -60162,13 +60133,13 @@ module Aws::EC2
60162
60133
  # Releases the specified Elastic IP address.
60163
60134
  #
60164
60135
  # \[Default VPC\] Releasing an Elastic IP address automatically
60165
- # disassociates it from any instance that it's associated with. To
60166
- # disassociate an Elastic IP address without releasing it, use
60167
- # DisassociateAddress.
60136
+ # disassociates it from any instance that it's associated with.
60137
+ # Alternatively, you can disassociate an Elastic IP address without
60138
+ # releasing it.
60168
60139
  #
60169
- # \[Nondefault VPC\] You must use DisassociateAddress to disassociate
60170
- # the Elastic IP address before you can release it. Otherwise, Amazon
60171
- # EC2 returns an error (`InvalidIPAddress.InUse`).
60140
+ # \[Nondefault VPC\] You must disassociate the Elastic IP address before
60141
+ # you can release it. Otherwise, Amazon EC2 returns an error
60142
+ # (`InvalidIPAddress.InUse`).
60172
60143
  #
60173
60144
  # After releasing an Elastic IP address, it is released to the IP
60174
60145
  # address pool. Be sure to update your DNS records and any servers or
@@ -60178,7 +60149,11 @@ module Aws::EC2
60178
60149
  # Amazon Web Services account.
60179
60150
  #
60180
60151
  # After you release an Elastic IP address, you might be able to recover
60181
- # it. For more information, see AllocateAddress.
60152
+ # it. For more information, see [Release an Elastic IP address][1].
60153
+ #
60154
+ #
60155
+ #
60156
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-instance-addressing-eips-releasing.html
60182
60157
  #
60183
60158
  # @option params [String] :allocation_id
60184
60159
  # The allocation ID. This parameter is required.
@@ -65804,6 +65779,13 @@ module Aws::EC2
65804
65779
  # Constraints: Up to 1000 instance IDs. We recommend breaking up this
65805
65780
  # request into smaller batches.
65806
65781
  #
65782
+ # @option params [Boolean] :force
65783
+ # Forces the instances to terminate. The instance will first attempt a
65784
+ # graceful shutdown, which includes flushing file system caches and
65785
+ # metadata. If the graceful shutdown fails to complete within the
65786
+ # timeout period, the instance shuts down forcibly without flushing the
65787
+ # file system caches and metadata.
65788
+ #
65807
65789
  # @option params [Boolean] :skip_os_shutdown
65808
65790
  # Specifies whether to bypass the graceful OS shutdown process when the
65809
65791
  # instance is terminated.
@@ -65852,6 +65834,7 @@ module Aws::EC2
65852
65834
  #
65853
65835
  # resp = client.terminate_instances({
65854
65836
  # instance_ids: ["InstanceId"], # required
65837
+ # force: false,
65855
65838
  # skip_os_shutdown: false,
65856
65839
  # dry_run: false,
65857
65840
  # })
@@ -66435,7 +66418,7 @@ module Aws::EC2
66435
66418
  tracer: tracer
66436
66419
  )
66437
66420
  context[:gem_name] = 'aws-sdk-ec2'
66438
- context[:gem_version] = '1.542.0'
66421
+ context[:gem_version] = '1.545.0'
66439
66422
  Seahorse::Client::Request.new(handlers, context)
66440
66423
  end
66441
66424
 
@@ -15233,6 +15233,7 @@ module Aws::EC2
15233
15233
  Route.add_member(:vpc_peering_connection_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcPeeringConnectionId"))
15234
15234
  Route.add_member(:core_network_arn, Shapes::ShapeRef.new(shape: CoreNetworkArn, location_name: "coreNetworkArn"))
15235
15235
  Route.add_member(:odb_network_arn, Shapes::ShapeRef.new(shape: OdbNetworkArn, location_name: "odbNetworkArn"))
15236
+ Route.add_member(:ip_address, Shapes::ShapeRef.new(shape: String, location_name: "ipAddress"))
15236
15237
  Route.struct_class = Types::Route
15237
15238
 
15238
15239
  RouteList.member = Shapes::ShapeRef.new(shape: Route, location_name: "item")
@@ -16334,6 +16335,7 @@ module Aws::EC2
16334
16335
  TerminateConnectionStatusSet.member = Shapes::ShapeRef.new(shape: TerminateConnectionStatus, location_name: "item")
16335
16336
 
16336
16337
  TerminateInstancesRequest.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIdStringList, required: true, location_name: "InstanceId"))
16338
+ TerminateInstancesRequest.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location_name: "Force"))
16337
16339
  TerminateInstancesRequest.add_member(:skip_os_shutdown, Shapes::ShapeRef.new(shape: Boolean, location_name: "SkipOsShutdown"))
16338
16340
  TerminateInstancesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
16339
16341
  TerminateInstancesRequest.struct_class = Types::TerminateInstancesRequest
@@ -241,34 +241,12 @@ module Aws::EC2
241
241
  end
242
242
 
243
243
  # The ID of the source AMI from which the AMI was created.
244
- #
245
- # The ID only appears if the AMI was created using CreateImage,
246
- # CopyImage, or CreateRestoreImageTask. The ID does not appear if the
247
- # AMI was created using any other API. For some older AMIs, the ID might
248
- # not be available. For more information, see [Identify the source AMI
249
- # used to create a new Amazon EC2 AMI][1] in the *Amazon EC2 User
250
- # Guide*.
251
- #
252
- #
253
- #
254
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/identify-source-ami-used-to-create-new-ami.html
255
244
  # @return [String]
256
245
  def source_image_id
257
246
  data[:source_image_id]
258
247
  end
259
248
 
260
249
  # The Region of the source AMI.
261
- #
262
- # The Region only appears if the AMI was created using CreateImage,
263
- # CopyImage, or CreateRestoreImageTask. The Region does not appear if
264
- # the AMI was created using any other API. For some older AMIs, the
265
- # Region might not be available. For more information, see [Identify the
266
- # source AMI used to create a new Amazon EC2 AMI][1] in the *Amazon EC2
267
- # User Guide*.
268
- #
269
- #
270
- #
271
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/identify-source-ami-used-to-create-new-ami.html
272
250
  # @return [String]
273
251
  def source_image_region
274
252
  data[:source_image_region]
@@ -659,8 +637,8 @@ module Aws::EC2
659
637
  #
660
638
  # **Note**: The `blockDeviceMapping` attribute is deprecated. Using this
661
639
  # attribute returns the `Client.AuthFailure` error. To get information
662
- # about the block device mappings for an AMI, use the DescribeImages
663
- # action.
640
+ # about the block device mappings for an AMI, describe the image
641
+ # instead.
664
642
  # @option options [Boolean] :dry_run
665
643
  # Checks whether you have the required permissions for the action,
666
644
  # without actually making the request, and provides an error response.
@@ -897,7 +897,7 @@ module Aws::EC2
897
897
  # snapshots. To create an AMI with volumes or snapshots that have a
898
898
  # different encryption status (for example, where the source volume
899
899
  # and snapshots are unencrypted, and you want to create an AMI with
900
- # encrypted volumes or snapshots), use the CopyImage action.
900
+ # encrypted volumes or snapshots), copy the image instead.
901
901
  #
902
902
  # * The only option that can be changed for existing mappings or
903
903
  # snapshots is `DeleteOnTermination`.
@@ -1561,10 +1561,17 @@ module Aws::EC2
1561
1561
  # @example Request syntax with placeholder values
1562
1562
  #
1563
1563
  # instance.terminate({
1564
+ # force: false,
1564
1565
  # skip_os_shutdown: false,
1565
1566
  # dry_run: false,
1566
1567
  # })
1567
1568
  # @param [Hash] options ({})
1569
+ # @option options [Boolean] :force
1570
+ # Forces the instances to terminate. The instance will first attempt a
1571
+ # graceful shutdown, which includes flushing file system caches and
1572
+ # metadata. If the graceful shutdown fails to complete within the
1573
+ # timeout period, the instance shuts down forcibly without flushing the
1574
+ # file system caches and metadata.
1568
1575
  # @option options [Boolean] :skip_os_shutdown
1569
1576
  # Specifies whether to bypass the graceful OS shutdown process when the
1570
1577
  # instance is terminated.
@@ -2160,10 +2167,17 @@ module Aws::EC2
2160
2167
  # @example Request syntax with placeholder values
2161
2168
  #
2162
2169
  # instance.batch_terminate!({
2170
+ # force: false,
2163
2171
  # skip_os_shutdown: false,
2164
2172
  # dry_run: false,
2165
2173
  # })
2166
2174
  # @param options ({})
2175
+ # @option options [Boolean] :force
2176
+ # Forces the instances to terminate. The instance will first attempt a
2177
+ # graceful shutdown, which includes flushing file system caches and
2178
+ # metadata. If the graceful shutdown fails to complete within the
2179
+ # timeout period, the instance shuts down forcibly without flushing the
2180
+ # file system caches and metadata.
2167
2181
  # @option options [Boolean] :skip_os_shutdown
2168
2182
  # Specifies whether to bypass the graceful OS shutdown process when the
2169
2183
  # instance is terminated.
@@ -149,6 +149,13 @@ module Aws::EC2
149
149
  data[:odb_network_arn]
150
150
  end
151
151
 
152
+ # The next hop IP address for routes propagated by VPC Route Server into
153
+ # VPC route tables.
154
+ # @return [String]
155
+ def ip_address
156
+ data[:ip_address]
157
+ end
158
+
152
159
  # @!endgroup
153
160
 
154
161
  # @return [Client]
@@ -140,8 +140,8 @@ module Aws::EC2
140
140
  end
141
141
 
142
142
  # The ID of the volume that was used to create the snapshot. Snapshots
143
- # created by the CopySnapshot action have an arbitrary volume ID that
144
- # should not be used for any purpose.
143
+ # created by a copy snapshot operation have an arbitrary volume ID that
144
+ # you should not use for any purpose.
145
145
  # @return [String]
146
146
  def volume_id
147
147
  data[:volume_id]
@@ -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), use the CopyImage action.
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, use the
22409
- # DescribeImages action.
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
@@ -42978,32 +42978,10 @@ module Aws::EC2
42978
42978
  #
42979
42979
  # @!attribute [rw] source_image_id
42980
42980
  # The ID of the source AMI from which the AMI was created.
42981
- #
42982
- # The ID only appears if the AMI was created using CreateImage,
42983
- # CopyImage, or CreateRestoreImageTask. The ID does not appear if the
42984
- # AMI was created using any other API. For some older AMIs, the ID
42985
- # might not be available. For more information, see [Identify the
42986
- # source AMI used to create a new Amazon EC2 AMI][1] in the *Amazon
42987
- # EC2 User Guide*.
42988
- #
42989
- #
42990
- #
42991
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/identify-source-ami-used-to-create-new-ami.html
42992
42981
  # @return [String]
42993
42982
  #
42994
42983
  # @!attribute [rw] source_image_region
42995
42984
  # The Region of the source AMI.
42996
- #
42997
- # The Region only appears if the AMI was created using CreateImage,
42998
- # CopyImage, or CreateRestoreImageTask. The Region does not appear if
42999
- # the AMI was created using any other API. For some older AMIs, the
43000
- # Region might not be available. For more information, see [Identify
43001
- # the source AMI used to create a new Amazon EC2 AMI][1] in the
43002
- # *Amazon EC2 User Guide*.
43003
- #
43004
- #
43005
- #
43006
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/identify-source-ami-used-to-create-new-ami.html
43007
42985
  # @return [String]
43008
42986
  #
43009
42987
  # @!attribute [rw] free_tier_eligible
@@ -66774,6 +66752,11 @@ module Aws::EC2
66774
66752
  # The Amazon Resource Name (ARN) of the ODB network.
66775
66753
  # @return [String]
66776
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
+ #
66777
66760
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Route AWS API Documentation
66778
66761
  #
66779
66762
  class Route < Struct.new(
@@ -66793,7 +66776,8 @@ module Aws::EC2
66793
66776
  :state,
66794
66777
  :vpc_peering_connection_id,
66795
66778
  :core_network_arn,
66796
- :odb_network_arn)
66779
+ :odb_network_arn,
66780
+ :ip_address)
66797
66781
  SENSITIVE = []
66798
66782
  include Aws::Structure
66799
66783
  end
@@ -69779,8 +69763,8 @@ module Aws::EC2
69779
69763
  #
69780
69764
  # @!attribute [rw] volume_id
69781
69765
  # The ID of the volume that was used to create the snapshot. Snapshots
69782
- # created by the CopySnapshot action have an arbitrary volume ID that
69783
- # should not be used for any purpose.
69766
+ # created by a copy snapshot operation have an arbitrary volume ID
69767
+ # that you should not use for any purpose.
69784
69768
  # @return [String]
69785
69769
  #
69786
69770
  # @!attribute [rw] state
@@ -73015,6 +72999,14 @@ module Aws::EC2
73015
72999
  # request into smaller batches.
73016
73000
  # @return [Array<String>]
73017
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
+ #
73018
73010
  # @!attribute [rw] skip_os_shutdown
73019
73011
  # Specifies whether to bypass the graceful OS shutdown process when
73020
73012
  # the instance is terminated.
@@ -73033,6 +73025,7 @@ module Aws::EC2
73033
73025
  #
73034
73026
  class TerminateInstancesRequest < Struct.new(
73035
73027
  :instance_ids,
73028
+ :force,
73036
73029
  :skip_os_shutdown,
73037
73030
  :dry_run)
73038
73031
  SENSITIVE = []
data/lib/aws-sdk-ec2.rb CHANGED
@@ -78,7 +78,7 @@ module Aws::EC2
78
78
  autoload :VpcPeeringConnection, 'aws-sdk-ec2/vpc_peering_connection'
79
79
  autoload :VpcAddress, 'aws-sdk-ec2/vpc_address'
80
80
 
81
- GEM_VERSION = '1.542.0'
81
+ GEM_VERSION = '1.545.0'
82
82
 
83
83
  end
84
84
 
data/sig/client.rbs CHANGED
@@ -14173,6 +14173,7 @@ module Aws
14173
14173
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#terminate_instances-instance_method
14174
14174
  def terminate_instances: (
14175
14175
  instance_ids: Array[::String],
14176
+ ?force: bool,
14176
14177
  ?skip_os_shutdown: bool,
14177
14178
  ?dry_run: bool
14178
14179
  ) -> _TerminateInstancesResponseSuccess
data/sig/instance.rbs CHANGED
@@ -451,6 +451,7 @@ module Aws
451
451
 
452
452
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#terminate-instance_method
453
453
  def terminate: (
454
+ ?force: bool,
454
455
  ?skip_os_shutdown: bool,
455
456
  ?dry_run: bool
456
457
  ) -> Types::TerminateInstancesResult
@@ -559,6 +560,7 @@ module Aws
559
560
  | (?Hash[Symbol, untyped]) -> void
560
561
 
561
562
  def batch_terminate!: (
563
+ ?force: bool,
562
564
  ?skip_os_shutdown: bool,
563
565
  ?dry_run: bool
564
566
  ) -> 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
 
@@ -15689,6 +15690,7 @@ module Aws::EC2
15689
15690
 
15690
15691
  class TerminateInstancesRequest
15691
15692
  attr_accessor instance_ids: ::Array[::String]
15693
+ attr_accessor force: bool
15692
15694
  attr_accessor skip_os_shutdown: bool
15693
15695
  attr_accessor dry_run: bool
15694
15696
  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.542.0
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.227.0
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.227.0
31
+ version: 3.228.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement