aws-sdk-ec2 1.542.0 → 1.544.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: 6aa15629da193eefc2018558543cf65940143f4c65764b79d07c3d3b3271226b
4
+ data.tar.gz: 8350f6d3a65d6f56cb2e9dc5eb4b365207a119a57c6356b035b3eb4739ff0d49
5
5
  SHA512:
6
- metadata.gz: d9e2a7b7258ae2a19c5f4a240854ccef9576fcb95c3e55f70c39c31e3c2da1d6ec5c35989cd2e78fd802f0f7765523ac69c4351db55ef0a7363b43f453bfd2fd
7
- data.tar.gz: d3617682747f647e09b74dcc49bbe9659a5ed5a7b93a16d562ce9a2b6ae1b5837cb74ea65a652106d36694db9fecd76e8a7837587a16683b170fedff25455da8
6
+ metadata.gz: 05e1fe7a1fc0f3bb62f995ba92bb1b909c40872983dad13b8e622f3a2570e95d300dfbf4b60a701a2716826ad3ef2e545b5c293c16bbb7586e0b3eadfaef8c79
7
+ data.tar.gz: f75d2026f48284f1fa32e0b9d80877f5cca67e1f6b2df909e99ca3fdd50c954b43904c4cd8c0dd5e93163ca7421b3195faee9ddcf127d2bdd8af557cfbbec0ee
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.544.0 (2025-07-31)
5
+ ------------------
6
+
7
+ * 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.
8
+
9
+ 1.543.0 (2025-07-30)
10
+ ------------------
11
+
12
+ * Feature - Release to show the next hop IP address for routes propagated by VPC Route Server into VPC route tables.
13
+
4
14
  1.542.0 (2025-07-25)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.542.0
1
+ 1.544.0
@@ -924,8 +924,6 @@ module Aws::EC2
924
924
  # starts routing to Amazon Web Services because of BGP propagation
925
925
  # delays.
926
926
  #
927
- # To stop advertising the BYOIP CIDR, use WithdrawByoipCidr.
928
- #
929
927
  # @option params [required, String] :cidr
930
928
  # The address range, in CIDR notation. This must be the exact range that
931
929
  # you provisioned. You can't advertise only a portion of the
@@ -7883,7 +7881,7 @@ module Aws::EC2
7883
7881
  # snapshots. To create an AMI with volumes or snapshots that have a
7884
7882
  # different encryption status (for example, where the source volume
7885
7883
  # and snapshots are unencrypted, and you want to create an AMI with
7886
- # encrypted volumes or snapshots), use the CopyImage action.
7884
+ # encrypted volumes or snapshots), copy the image instead.
7887
7885
  #
7888
7886
  # * The only option that can be changed for existing mappings or
7889
7887
  # snapshots is `DeleteOnTermination`.
@@ -13144,6 +13142,7 @@ module Aws::EC2
13144
13142
  # resp.route_table.routes[0].vpc_peering_connection_id #=> String
13145
13143
  # resp.route_table.routes[0].core_network_arn #=> String
13146
13144
  # resp.route_table.routes[0].odb_network_arn #=> String
13145
+ # resp.route_table.routes[0].ip_address #=> String
13147
13146
  # resp.route_table.tags #=> Array
13148
13147
  # resp.route_table.tags[0].key #=> String
13149
13148
  # resp.route_table.tags[0].value #=> String
@@ -21595,8 +21594,8 @@ module Aws::EC2
21595
21594
  # (BYOIP) and deletes the corresponding address pool.
21596
21595
  #
21597
21596
  # 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.
21597
+ # and you must not have any IP addresses allocated from its address
21598
+ # range.
21600
21599
  #
21601
21600
  # @option params [required, String] :cidr
21602
21601
  # The address range, in CIDR notation. The prefix must be the same
@@ -22812,11 +22811,9 @@ module Aws::EC2
22812
22811
  req.send_request(options)
22813
22812
  end
22814
22813
 
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.
22814
+ # Describes the IP address ranges that were provisioned for use with
22815
+ # Amazon Web Services resources through through bring your own IP
22816
+ # addresses (BYOIP).
22820
22817
  #
22821
22818
  # @option params [Boolean] :dry_run
22822
22819
  # Checks whether you have the required permissions for the action,
@@ -26561,8 +26558,8 @@ module Aws::EC2
26561
26558
  #
26562
26559
  # **Note**: The `blockDeviceMapping` attribute is deprecated. Using this
26563
26560
  # attribute returns the `Client.AuthFailure` error. To get information
26564
- # about the block device mappings for an AMI, use the DescribeImages
26565
- # action.
26561
+ # about the block device mappings for an AMI, describe the image
26562
+ # instead.
26566
26563
  #
26567
26564
  # @option params [required, String] :image_id
26568
26565
  # The ID of the AMI.
@@ -26683,13 +26680,13 @@ module Aws::EC2
26683
26680
  # for each image. In `audit-mode`, the `imageAllowed` field is set to
26684
26681
  # `true` for images that meet the account's Allowed AMIs criteria, and
26685
26682
  # `false` for images that don't meet the criteria. For more
26686
- # information, see EnableAllowedImagesSettings.
26683
+ # information, see [Allowed AMIs][1].
26687
26684
  #
26688
26685
  # The Amazon EC2 API follows an eventual consistency model. This means
26689
26686
  # that the result of an API command you run that creates or modifies
26690
26687
  # resources might not be immediately available to all subsequent
26691
26688
  # 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
26689
+ # see [Eventual consistency in the Amazon EC2 API][2] in the *Amazon EC2
26693
26690
  # Developer Guide*.
26694
26691
  #
26695
26692
  # We strongly recommend using only paginated requests. Unpaginated
@@ -26703,7 +26700,8 @@ module Aws::EC2
26703
26700
  #
26704
26701
  #
26705
26702
  #
26706
- # [1]: https://docs.aws.amazon.com/ec2/latest/devguide/eventual-consistency.html
26703
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-allowed-amis.html
26704
+ # [2]: https://docs.aws.amazon.com/ec2/latest/devguide/eventual-consistency.html
26707
26705
  #
26708
26706
  # @option params [Array<String>] :executable_users
26709
26707
  # Scopes the images by users with explicit launch permissions. Specify
@@ -31615,9 +31613,6 @@ module Aws::EC2
31615
31613
  # Describes your managed prefix lists and any Amazon Web
31616
31614
  # Services-managed prefix lists.
31617
31615
  #
31618
- # To view the entries for your prefix list, use
31619
- # GetManagedPrefixListEntries.
31620
- #
31621
31616
  # @option params [Boolean] :dry_run
31622
31617
  # Checks whether you have the required permissions for the action,
31623
31618
  # without actually making the request, and provides an error response.
@@ -34098,8 +34093,6 @@ module Aws::EC2
34098
34093
  # format, which includes the prefix list name and prefix list ID of the
34099
34094
  # service and the IP address range for the service.
34100
34095
  #
34101
- # We recommend that you use DescribeManagedPrefixLists instead.
34102
- #
34103
34096
  # @option params [Boolean] :dry_run
34104
34097
  # Checks whether you have the required permissions for the action,
34105
34098
  # without actually making the request, and provides an error response.
@@ -35588,6 +35581,7 @@ module Aws::EC2
35588
35581
  # resp.route_tables[0].routes[0].vpc_peering_connection_id #=> String
35589
35582
  # resp.route_tables[0].routes[0].core_network_arn #=> String
35590
35583
  # resp.route_tables[0].routes[0].odb_network_arn #=> String
35584
+ # resp.route_tables[0].routes[0].ip_address #=> String
35591
35585
  # resp.route_tables[0].tags #=> Array
35592
35586
  # resp.route_tables[0].tags[0].key #=> String
35593
35587
  # resp.route_tables[0].tags[0].value #=> String
@@ -36609,9 +36603,6 @@ module Aws::EC2
36609
36603
  # paginate the output to make the list more manageable. For more
36610
36604
  # information, see [Pagination][1].
36611
36605
  #
36612
- # To get the state of fast snapshot restores for a snapshot, use
36613
- # DescribeFastSnapshotRestores.
36614
- #
36615
36606
  # For more information about EBS snapshots, see [Amazon EBS
36616
36607
  # snapshots][2] in the *Amazon EBS User Guide*.
36617
36608
  #
@@ -40368,8 +40359,9 @@ module Aws::EC2
40368
40359
  # an event. For example, if the status of the volume is `impaired` and
40369
40360
  # the volume event shows `potential-data-inconsistency`, then the action
40370
40361
  # 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.
40362
+ # I/O operations for the volume and then check the volume for data
40363
+ # consistency. For more information, see [Work with an impaired EBS
40364
+ # volume][2].
40373
40365
  #
40374
40366
  # Volume status is based on the volume status checks, and does not
40375
40367
  # reflect the volume state. Therefore, volume status does not indicate
@@ -40385,6 +40377,7 @@ module Aws::EC2
40385
40377
  #
40386
40378
  #
40387
40379
  # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/monitoring-volume-status.html
40380
+ # [2]: https://docs.aws.amazon.com/ebs/latest/userguide/work_volumes_impaired.html
40388
40381
  #
40389
40382
  # @option params [Integer] :max_results
40390
40383
  # The maximum number of items to return for this request. To get the
@@ -44997,9 +44990,6 @@ module Aws::EC2
44997
44990
  # information, see [Amazon EBS encryption][1] in the *Amazon EBS User
44998
44991
  # Guide*.
44999
44992
  #
45000
- # You can specify the default KMS key for encryption by default using
45001
- # ModifyEbsDefaultKmsKeyId or ResetEbsDefaultKmsKeyId.
45002
- #
45003
44993
  # Enabling encryption by default has no effect on the encryption status
45004
44994
  # of your existing volumes.
45005
44995
  #
@@ -45139,9 +45129,7 @@ module Aws::EC2
45139
45129
  # specified Availability Zones.
45140
45130
  #
45141
45131
  # 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.
45132
+ # the `enabled` state.
45145
45133
  #
45146
45134
  # For more information, see [Amazon EBS fast snapshot restore][1] in the
45147
45135
  # *Amazon EBS User Guide*.
@@ -45366,7 +45354,7 @@ module Aws::EC2
45366
45354
  # protection is enabled, the AMI can't be deregistered.
45367
45355
  #
45368
45356
  # To allow the AMI to be deregistered, you must first disable
45369
- # deregistration protection using DisableImageDeregistrationProtection.
45357
+ # deregistration protection.
45370
45358
  #
45371
45359
  # For more information, see [Protect an Amazon EC2 AMI from
45372
45360
  # deregistration][1] in the *Amazon EC2 User Guide*.
@@ -46866,9 +46854,7 @@ module Aws::EC2
46866
46854
  end
46867
46855
 
46868
46856
  # 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.
46857
+ # account in this Region.
46872
46858
  #
46873
46859
  # For more information, see [Amazon EBS encryption][1] in the *Amazon
46874
46860
  # EBS User Guide*.
@@ -52078,10 +52064,8 @@ module Aws::EC2
52078
52064
  # Amazon Web Services creates a unique Amazon Web Services managed KMS
52079
52065
  # key in each Region for use with encryption by default. If you change
52080
52066
  # 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.
52067
+ # used instead of the Amazon Web Services managed KMS key. Amazon EBS
52068
+ # does not support asymmetric KMS keys.
52085
52069
  #
52086
52070
  # If you delete or disable the customer managed KMS key that you
52087
52071
  # specified for use with encryption by default, your instances will fail
@@ -58331,10 +58315,9 @@ module Aws::EC2
58331
58315
  # EC2-VPC platform. The Elastic IP address must be allocated to your
58332
58316
  # account for more than 24 hours, and it must not be associated with an
58333
58317
  # 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.
58318
+ # available for use in the EC2-Classic platform. You cannot move an
58319
+ # Elastic IP address that was originally allocated for use in the
58320
+ # EC2-VPC platform to the EC2-Classic platform.
58338
58321
  #
58339
58322
  # @option params [Boolean] :dry_run
58340
58323
  # Checks whether you have the required permissions for the action,
@@ -58592,7 +58575,7 @@ module Aws::EC2
58592
58575
  # Provisions an IPv4 or IPv6 address range for use with your Amazon Web
58593
58576
  # Services resources through bring your own IP addresses (BYOIP) and
58594
58577
  # creates a corresponding address pool. After the address range is
58595
- # provisioned, it is ready to be advertised using AdvertiseByoipCidr.
58578
+ # provisioned, it is ready to be advertised.
58596
58579
  #
58597
58580
  # Amazon Web Services verifies that you own the address range and are
58598
58581
  # authorized to advertise it. You must ensure that the address range is
@@ -58603,15 +58586,13 @@ module Aws::EC2
58603
58586
  #
58604
58587
  # Provisioning an address range is an asynchronous operation, so the
58605
58588
  # 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.
58589
+ # until its status changes from `pending-provision` to `provisioned`.
58590
+ # For more information, see [Onboard your address range][2].
58611
58591
  #
58612
58592
  #
58613
58593
  #
58614
58594
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html
58595
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/byoip-onboard.html
58615
58596
  #
58616
58597
  # @option params [required, String] :cidr
58617
58598
  # The public IPv4 or IPv6 address range, in CIDR notation. The most
@@ -59417,13 +59398,6 @@ module Aws::EC2
59417
59398
  # snapshot][1] and [Create an instance-store backed AMI][2] in the
59418
59399
  # *Amazon EC2 User Guide*.
59419
59400
  #
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
59401
  # If needed, you can deregister an AMI at any time. Any modifications
59428
59402
  # you make to an AMI backed by an instance store volume invalidates its
59429
59403
  # registration. If you make changes to an image, deregister the previous
@@ -59457,17 +59431,17 @@ module Aws::EC2
59457
59431
  # field is empty or doesn't match the expected operating system code
59458
59432
  # (for example, Windows, RedHat, SUSE, or SQL), the AMI creation was
59459
59433
  # 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*.
59434
+ # AMI from an instance. For more information, see [Create an AMI from an
59435
+ # instance ][5] in the *Amazon EC2 User Guide*.
59462
59436
  #
59463
59437
  # If you purchase a Reserved Instance to apply to an On-Demand Instance
59464
59438
  # that was launched from an AMI with a billing product code, make sure
59465
59439
  # that the Reserved Instance has the matching billing product code. If
59466
59440
  # 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*.
59441
+ # code, the Reserved Instance is not applied to the On-Demand Instance.
59442
+ # For information about how to obtain the platform details and billing
59443
+ # information of an AMI, see [Understand AMI billing information][4] in
59444
+ # the *Amazon EC2 User Guide*.
59471
59445
  #
59472
59446
  #
59473
59447
  #
@@ -60162,13 +60136,13 @@ module Aws::EC2
60162
60136
  # Releases the specified Elastic IP address.
60163
60137
  #
60164
60138
  # \[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.
60139
+ # disassociates it from any instance that it's associated with.
60140
+ # Alternatively, you can disassociate an Elastic IP address without
60141
+ # releasing it.
60168
60142
  #
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`).
60143
+ # \[Nondefault VPC\] You must disassociate the Elastic IP address before
60144
+ # you can release it. Otherwise, Amazon EC2 returns an error
60145
+ # (`InvalidIPAddress.InUse`).
60172
60146
  #
60173
60147
  # After releasing an Elastic IP address, it is released to the IP
60174
60148
  # address pool. Be sure to update your DNS records and any servers or
@@ -60178,7 +60152,11 @@ module Aws::EC2
60178
60152
  # Amazon Web Services account.
60179
60153
  #
60180
60154
  # After you release an Elastic IP address, you might be able to recover
60181
- # it. For more information, see AllocateAddress.
60155
+ # it. For more information, see [Release an Elastic IP address][1].
60156
+ #
60157
+ #
60158
+ #
60159
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-instance-addressing-eips-releasing.html
60182
60160
  #
60183
60161
  # @option params [String] :allocation_id
60184
60162
  # The allocation ID. This parameter is required.
@@ -65804,6 +65782,13 @@ module Aws::EC2
65804
65782
  # Constraints: Up to 1000 instance IDs. We recommend breaking up this
65805
65783
  # request into smaller batches.
65806
65784
  #
65785
+ # @option params [Boolean] :force
65786
+ # Forces the instances to terminate. The instance will first attempt a
65787
+ # graceful shutdown, which includes flushing file system caches and
65788
+ # metadata. If the graceful shutdown fails to complete within the
65789
+ # timeout period, the instance shuts down forcibly without flushing the
65790
+ # file system caches and metadata.
65791
+ #
65807
65792
  # @option params [Boolean] :skip_os_shutdown
65808
65793
  # Specifies whether to bypass the graceful OS shutdown process when the
65809
65794
  # instance is terminated.
@@ -65852,6 +65837,7 @@ module Aws::EC2
65852
65837
  #
65853
65838
  # resp = client.terminate_instances({
65854
65839
  # instance_ids: ["InstanceId"], # required
65840
+ # force: false,
65855
65841
  # skip_os_shutdown: false,
65856
65842
  # dry_run: false,
65857
65843
  # })
@@ -66435,7 +66421,7 @@ module Aws::EC2
66435
66421
  tracer: tracer
66436
66422
  )
66437
66423
  context[:gem_name] = 'aws-sdk-ec2'
66438
- context[:gem_version] = '1.542.0'
66424
+ context[:gem_version] = '1.544.0'
66439
66425
  Seahorse::Client::Request.new(handlers, context)
66440
66426
  end
66441
66427
 
@@ -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.544.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.544.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