aws-sdk-ec2 1.468.0 → 1.470.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d164038c3e50954e8d70c7994b51bdacdc26f1d1fad3bfe99d69cffd7adc8e08
4
- data.tar.gz: ed8a5efcd26a3019e9d63b974ce3fb03fdb349ff094f24c34a499034e38fdd19
3
+ metadata.gz: 39bd34046575aa57d5faab789228e06ddb9d6cfdc7809a224ae0ff346e2bc519
4
+ data.tar.gz: a98ab574763d23253d4f68586f00161214c9bf47e9c6f02c7e40db18349a70c7
5
5
  SHA512:
6
- metadata.gz: 8c96c4391fb5d2c28afb1ea083e3632c91179b7dc0d452f679a8e93c30a82047658b0337f1ca039153a2fb2804753c41c79911231cb64522c8131855a835c84e
7
- data.tar.gz: dc7dbb5653217b35ebe050519aca650804cd89dedba4b9d56ea1457e6d095e13d9c4c6381ab03237a323b3e818bc5a926d1befadfcc224496cbb33573d3645dc
6
+ metadata.gz: 4c5c2246a54e6377f80f8d67e37f54d47449082d4532e7f2d9a7acd008e1f3109895452280ee59c5a089cd4c0b576489749ac825f4fb52d97b9b8642c1ba933e
7
+ data.tar.gz: d7fefb60386b8eaa866c3b574a80ee9d6d6c2433a2278fa1e7c5129ac8da66320f1ccd5cb5be9f9d990ff889a4b97bfd150a1097ef1f0e479bbbd3bfd36d5d1f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.470.0 (2024-08-21)
5
+ ------------------
6
+
7
+ * Feature - DescribeInstanceStatus now returns health information on EBS volumes attached to Nitro instances
8
+
9
+ 1.469.0 (2024-08-12)
10
+ ------------------
11
+
12
+ * Feature - This release adds new capabilities to manage On-Demand Capacity Reservations including the ability to split your reservation, move capacity between reservations, and modify the instance eligibility of your reservation.
13
+
4
14
  1.468.0 (2024-08-08)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.468.0
1
+ 1.470.0
@@ -4482,36 +4482,28 @@ module Aws::EC2
4482
4482
  req.send_request(options)
4483
4483
  end
4484
4484
 
4485
- # Initiates the copy of an AMI. You can copy an AMI from one Region to
4486
- # another, or from a Region to an Outpost. You can't copy an AMI from
4487
- # an Outpost to a Region, from one Outpost to another, or within the
4488
- # same Outpost. To copy an AMI to another partition, see
4485
+ # Initiates an AMI copy operation. You can copy an AMI from one Region
4486
+ # to another, or from a Region to an Outpost. You can't copy an AMI
4487
+ # from an Outpost to a Region, from one Outpost to another, or within
4488
+ # the same Outpost. To copy an AMI to another partition, see
4489
4489
  # [CreateStoreImageTask][1].
4490
4490
  #
4491
- # To copy an AMI from one Region to another, specify the source Region
4492
- # using the **SourceRegion** parameter, and specify the destination
4493
- # Region using its endpoint. Copies of encrypted backing snapshots for
4494
- # the AMI are encrypted. Copies of unencrypted backing snapshots remain
4495
- # unencrypted, unless you set `Encrypted` during the copy operation. You
4496
- # cannot create an unencrypted copy of an encrypted backing snapshot.
4491
+ # When you copy an AMI from one Region to another, the destination
4492
+ # Region is the current Region.
4497
4493
  #
4498
- # To copy an AMI from a Region to an Outpost, specify the source Region
4499
- # using the **SourceRegion** parameter, and specify the ARN of the
4500
- # destination Outpost using **DestinationOutpostArn**. Backing snapshots
4501
- # copied to an Outpost are encrypted by default using the default
4502
- # encryption key for the Region, or a different key that you specify in
4503
- # the request using **KmsKeyId**. Outposts do not support unencrypted
4504
- # snapshots. For more information, [ Amazon EBS local snapshots on
4505
- # Outposts][2] in the *Amazon EBS User Guide*.
4494
+ # When you copy an AMI from a Region to an Outpost, specify the ARN of
4495
+ # the Outpost as the destination. Backing snapshots copied to an Outpost
4496
+ # are encrypted by default using the default encryption key for the
4497
+ # Region or the key that you specify. Outposts do not support
4498
+ # unencrypted snapshots.
4506
4499
  #
4507
- # For more information about the prerequisites and limits when copying
4508
- # an AMI, see [Copy an AMI][3] in the *Amazon EC2 User Guide*.
4500
+ # For information about the prerequisites when copying an AMI, see [Copy
4501
+ # an AMI][2] in the *Amazon EC2 User Guide*.
4509
4502
  #
4510
4503
  #
4511
4504
  #
4512
4505
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateStoreImageTask.html
4513
- # [2]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#ami
4514
- # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/CopyingAMIs.html
4506
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/CopyingAMIs.html
4515
4507
  #
4516
4508
  # @option params [String] :client_token
4517
4509
  # Unique, case-sensitive identifier you provide to ensure idempotency of
@@ -4531,12 +4523,12 @@ module Aws::EC2
4531
4523
  # you cannot create an unencrypted copy of an encrypted snapshot. The
4532
4524
  # default KMS key for Amazon EBS is used unless you specify a
4533
4525
  # non-default Key Management Service (KMS) KMS key using `KmsKeyId`. For
4534
- # more information, see [Amazon EBS encryption][1] in the *Amazon EBS
4535
- # User Guide*.
4526
+ # more information, see [Use encryption with EBS-backed AMIs][1] in the
4527
+ # *Amazon EC2 User Guide*.
4536
4528
  #
4537
4529
  #
4538
4530
  #
4539
- # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html
4531
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIEncryption.html
4540
4532
  #
4541
4533
  # @option params [String] :kms_key_id
4542
4534
  # The identifier of the symmetric Key Management Service (KMS) KMS key
@@ -5132,6 +5124,135 @@ module Aws::EC2
5132
5124
  req.send_request(options)
5133
5125
  end
5134
5126
 
5127
+ # Create a new Capacity Reservation by splitting the available capacity
5128
+ # of the source Capacity Reservation. The new Capacity Reservation will
5129
+ # have the same attributes as the source Capacity Reservation except for
5130
+ # tags. The source Capacity Reservation must be `active` and owned by
5131
+ # your Amazon Web Services account.
5132
+ #
5133
+ # @option params [Boolean] :dry_run
5134
+ # Checks whether you have the required permissions for the action,
5135
+ # without actually making the request, and provides an error response.
5136
+ # If you have the required permissions, the error response is
5137
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
5138
+ #
5139
+ # @option params [String] :client_token
5140
+ # Unique, case-sensitive identifier that you provide to ensure the
5141
+ # idempotency of the request. For more information, see [Ensure
5142
+ # Idempotency][1].
5143
+ #
5144
+ # **A suitable default value is auto-generated.** You should normally
5145
+ # not need to pass this option.**
5146
+ #
5147
+ #
5148
+ #
5149
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
5150
+ #
5151
+ # @option params [required, String] :source_capacity_reservation_id
5152
+ # The ID of the Capacity Reservation from which you want to split the
5153
+ # available capacity.
5154
+ #
5155
+ # @option params [required, Integer] :instance_count
5156
+ # The number of instances to split from the source Capacity Reservation.
5157
+ #
5158
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
5159
+ # The tags to apply to the new Capacity Reservation.
5160
+ #
5161
+ # @return [Types::CreateCapacityReservationBySplittingResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5162
+ #
5163
+ # * {Types::CreateCapacityReservationBySplittingResult#source_capacity_reservation #source_capacity_reservation} => Types::CapacityReservation
5164
+ # * {Types::CreateCapacityReservationBySplittingResult#destination_capacity_reservation #destination_capacity_reservation} => Types::CapacityReservation
5165
+ # * {Types::CreateCapacityReservationBySplittingResult#instance_count #instance_count} => Integer
5166
+ #
5167
+ # @example Request syntax with placeholder values
5168
+ #
5169
+ # resp = client.create_capacity_reservation_by_splitting({
5170
+ # dry_run: false,
5171
+ # client_token: "String",
5172
+ # source_capacity_reservation_id: "CapacityReservationId", # required
5173
+ # instance_count: 1, # required
5174
+ # tag_specifications: [
5175
+ # {
5176
+ # resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, verified-access-instance, verified-access-group, verified-access-endpoint, verified-access-policy, verified-access-trust-provider, vpn-connection-device-type, vpc-block-public-access-exclusion, ipam-resource-discovery, ipam-resource-discovery-association, instance-connect-endpoint, ipam-external-resource-verification-token
5177
+ # tags: [
5178
+ # {
5179
+ # key: "String",
5180
+ # value: "String",
5181
+ # },
5182
+ # ],
5183
+ # },
5184
+ # ],
5185
+ # })
5186
+ #
5187
+ # @example Response structure
5188
+ #
5189
+ # resp.source_capacity_reservation.capacity_reservation_id #=> String
5190
+ # resp.source_capacity_reservation.owner_id #=> String
5191
+ # resp.source_capacity_reservation.capacity_reservation_arn #=> String
5192
+ # resp.source_capacity_reservation.availability_zone_id #=> String
5193
+ # resp.source_capacity_reservation.instance_type #=> String
5194
+ # resp.source_capacity_reservation.instance_platform #=> String, one of "Linux/UNIX", "Red Hat Enterprise Linux", "SUSE Linux", "Windows", "Windows with SQL Server", "Windows with SQL Server Enterprise", "Windows with SQL Server Standard", "Windows with SQL Server Web", "Linux with SQL Server Standard", "Linux with SQL Server Web", "Linux with SQL Server Enterprise", "RHEL with SQL Server Standard", "RHEL with SQL Server Enterprise", "RHEL with SQL Server Web", "RHEL with HA", "RHEL with HA and SQL Server Standard", "RHEL with HA and SQL Server Enterprise", "Ubuntu Pro"
5195
+ # resp.source_capacity_reservation.availability_zone #=> String
5196
+ # resp.source_capacity_reservation.tenancy #=> String, one of "default", "dedicated"
5197
+ # resp.source_capacity_reservation.total_instance_count #=> Integer
5198
+ # resp.source_capacity_reservation.available_instance_count #=> Integer
5199
+ # resp.source_capacity_reservation.ebs_optimized #=> Boolean
5200
+ # resp.source_capacity_reservation.ephemeral_storage #=> Boolean
5201
+ # resp.source_capacity_reservation.state #=> String, one of "active", "expired", "cancelled", "pending", "failed", "scheduled", "payment-pending", "payment-failed"
5202
+ # resp.source_capacity_reservation.start_date #=> Time
5203
+ # resp.source_capacity_reservation.end_date #=> Time
5204
+ # resp.source_capacity_reservation.end_date_type #=> String, one of "unlimited", "limited"
5205
+ # resp.source_capacity_reservation.instance_match_criteria #=> String, one of "open", "targeted"
5206
+ # resp.source_capacity_reservation.create_date #=> Time
5207
+ # resp.source_capacity_reservation.tags #=> Array
5208
+ # resp.source_capacity_reservation.tags[0].key #=> String
5209
+ # resp.source_capacity_reservation.tags[0].value #=> String
5210
+ # resp.source_capacity_reservation.outpost_arn #=> String
5211
+ # resp.source_capacity_reservation.capacity_reservation_fleet_id #=> String
5212
+ # resp.source_capacity_reservation.placement_group_arn #=> String
5213
+ # resp.source_capacity_reservation.capacity_allocations #=> Array
5214
+ # resp.source_capacity_reservation.capacity_allocations[0].allocation_type #=> String, one of "used"
5215
+ # resp.source_capacity_reservation.capacity_allocations[0].count #=> Integer
5216
+ # resp.source_capacity_reservation.reservation_type #=> String, one of "default", "capacity-block"
5217
+ # resp.destination_capacity_reservation.capacity_reservation_id #=> String
5218
+ # resp.destination_capacity_reservation.owner_id #=> String
5219
+ # resp.destination_capacity_reservation.capacity_reservation_arn #=> String
5220
+ # resp.destination_capacity_reservation.availability_zone_id #=> String
5221
+ # resp.destination_capacity_reservation.instance_type #=> String
5222
+ # resp.destination_capacity_reservation.instance_platform #=> String, one of "Linux/UNIX", "Red Hat Enterprise Linux", "SUSE Linux", "Windows", "Windows with SQL Server", "Windows with SQL Server Enterprise", "Windows with SQL Server Standard", "Windows with SQL Server Web", "Linux with SQL Server Standard", "Linux with SQL Server Web", "Linux with SQL Server Enterprise", "RHEL with SQL Server Standard", "RHEL with SQL Server Enterprise", "RHEL with SQL Server Web", "RHEL with HA", "RHEL with HA and SQL Server Standard", "RHEL with HA and SQL Server Enterprise", "Ubuntu Pro"
5223
+ # resp.destination_capacity_reservation.availability_zone #=> String
5224
+ # resp.destination_capacity_reservation.tenancy #=> String, one of "default", "dedicated"
5225
+ # resp.destination_capacity_reservation.total_instance_count #=> Integer
5226
+ # resp.destination_capacity_reservation.available_instance_count #=> Integer
5227
+ # resp.destination_capacity_reservation.ebs_optimized #=> Boolean
5228
+ # resp.destination_capacity_reservation.ephemeral_storage #=> Boolean
5229
+ # resp.destination_capacity_reservation.state #=> String, one of "active", "expired", "cancelled", "pending", "failed", "scheduled", "payment-pending", "payment-failed"
5230
+ # resp.destination_capacity_reservation.start_date #=> Time
5231
+ # resp.destination_capacity_reservation.end_date #=> Time
5232
+ # resp.destination_capacity_reservation.end_date_type #=> String, one of "unlimited", "limited"
5233
+ # resp.destination_capacity_reservation.instance_match_criteria #=> String, one of "open", "targeted"
5234
+ # resp.destination_capacity_reservation.create_date #=> Time
5235
+ # resp.destination_capacity_reservation.tags #=> Array
5236
+ # resp.destination_capacity_reservation.tags[0].key #=> String
5237
+ # resp.destination_capacity_reservation.tags[0].value #=> String
5238
+ # resp.destination_capacity_reservation.outpost_arn #=> String
5239
+ # resp.destination_capacity_reservation.capacity_reservation_fleet_id #=> String
5240
+ # resp.destination_capacity_reservation.placement_group_arn #=> String
5241
+ # resp.destination_capacity_reservation.capacity_allocations #=> Array
5242
+ # resp.destination_capacity_reservation.capacity_allocations[0].allocation_type #=> String, one of "used"
5243
+ # resp.destination_capacity_reservation.capacity_allocations[0].count #=> Integer
5244
+ # resp.destination_capacity_reservation.reservation_type #=> String, one of "default", "capacity-block"
5245
+ # resp.instance_count #=> Integer
5246
+ #
5247
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCapacityReservationBySplitting AWS API Documentation
5248
+ #
5249
+ # @overload create_capacity_reservation_by_splitting(params = {})
5250
+ # @param [Hash] params ({})
5251
+ def create_capacity_reservation_by_splitting(params = {}, options = {})
5252
+ req = build_request(:create_capacity_reservation_by_splitting, params)
5253
+ req.send_request(options)
5254
+ end
5255
+
5135
5256
  # Creates a Capacity Reservation Fleet. For more information, see
5136
5257
  # [Create a Capacity Reservation Fleet][1] in the *Amazon EC2 User
5137
5258
  # Guide*.
@@ -10723,7 +10844,7 @@ module Aws::EC2
10723
10844
  # The Amazon Web Services account ID.
10724
10845
  #
10725
10846
  # @option params [String] :aws_service
10726
- # The Amazon Web Service. Currently not supported.
10847
+ # The Amazon Web Services service. Currently not supported.
10727
10848
  #
10728
10849
  # @option params [required, String] :permission
10729
10850
  # The type of permission to grant.
@@ -17610,7 +17731,7 @@ module Aws::EC2
17610
17731
  #
17611
17732
  # If you attempt to delete a security group that is associated with an
17612
17733
  # instance or network interface or is referenced by another security
17613
- # group, the operation fails with `DependencyViolation`.
17734
+ # group in the same VPC, the operation fails with `DependencyViolation`.
17614
17735
  #
17615
17736
  # @option params [String] :group_id
17616
17737
  # The ID of the security group.
@@ -19779,8 +19900,8 @@ module Aws::EC2
19779
19900
  # days, the source account can view the pending transfer by using this
19780
19901
  # action. After seven days, the transfer expires and ownership of the
19781
19902
  # Elastic IP address returns to the source account. Accepted transfers
19782
- # are visible to the source account for three days after the transfers
19783
- # have been accepted.
19903
+ # are visible to the source account for 14 days after the transfers have
19904
+ # been accepted.
19784
19905
  #
19785
19906
  #
19786
19907
  #
@@ -24794,6 +24915,10 @@ module Aws::EC2
24794
24915
  # `impaired` \| `initializing` \| `insufficient-data` \|
24795
24916
  # `not-applicable`).
24796
24917
  #
24918
+ # * `attached-ebs-status.status` - The status of the attached EBS volume
24919
+ # for the instance (`ok` \| `impaired` \| `initializing` \|
24920
+ # `insufficient-data` \| `not-applicable`).
24921
+ #
24797
24922
  # @option params [Array<String>] :instance_ids
24798
24923
  # The instance IDs.
24799
24924
  #
@@ -24920,6 +25045,11 @@ module Aws::EC2
24920
25045
  # resp.instance_statuses[0].system_status.details[0].name #=> String, one of "reachability"
24921
25046
  # resp.instance_statuses[0].system_status.details[0].status #=> String, one of "passed", "failed", "insufficient-data", "initializing"
24922
25047
  # resp.instance_statuses[0].system_status.status #=> String, one of "ok", "impaired", "insufficient-data", "not-applicable", "initializing"
25048
+ # resp.instance_statuses[0].attached_ebs_status.details #=> Array
25049
+ # resp.instance_statuses[0].attached_ebs_status.details[0].impaired_since #=> Time
25050
+ # resp.instance_statuses[0].attached_ebs_status.details[0].name #=> String, one of "reachability"
25051
+ # resp.instance_statuses[0].attached_ebs_status.details[0].status #=> String, one of "passed", "failed", "insufficient-data", "initializing"
25052
+ # resp.instance_statuses[0].attached_ebs_status.status #=> String, one of "ok", "impaired", "insufficient-data", "not-applicable", "initializing"
24923
25053
  # resp.next_token #=> String
24924
25054
  #
24925
25055
  #
@@ -30092,7 +30222,8 @@ module Aws::EC2
30092
30222
  # * `network-interface-permission.aws-account-id` - The Amazon Web
30093
30223
  # Services account ID.
30094
30224
  #
30095
- # * `network-interface-permission.aws-service` - The Amazon Web Service.
30225
+ # * `network-interface-permission.aws-service` - The Amazon Web Services
30226
+ # service.
30096
30227
  #
30097
30228
  # * `network-interface-permission.permission` - The type of permission
30098
30229
  # (`INSTANCE-ATTACH` \| `EIP-ASSOCIATE`).
@@ -30251,8 +30382,8 @@ module Aws::EC2
30251
30382
  # principal or service that created the network interface.
30252
30383
  #
30253
30384
  # * `requester-managed` - Indicates whether the network interface is
30254
- # being managed by an Amazon Web Service (for example, Amazon Web
30255
- # Services Management Console, Auto Scaling, and so on).
30385
+ # being managed by an Amazon Web Services service (for example, Amazon
30386
+ # Web Services Management Console, Auto Scaling, and so on).
30256
30387
  #
30257
30388
  # * `source-dest-check` - Indicates whether the network interface
30258
30389
  # performs source/destination checking. A value of `true` means
@@ -31627,7 +31758,7 @@ module Aws::EC2
31627
31758
  # in a route in the route table.
31628
31759
  #
31629
31760
  # * `route.destination-prefix-list-id` - The ID (prefix) of the Amazon
31630
- # Web Service specified in a route in the table.
31761
+ # Web Services service specified in a route in the table.
31631
31762
  #
31632
31763
  # * `route.egress-only-internet-gateway-id` - The ID of an egress-only
31633
31764
  # Internet gateway specified in a route in the route table.
@@ -33930,9 +34061,9 @@ module Aws::EC2
33930
34061
 
33931
34062
  # Describes the stale security group rules for security groups in a
33932
34063
  # specified VPC. Rules are stale when they reference a deleted security
33933
- # group in the same VPC or peered VPC. Rules can also be stale if they
33934
- # reference a security group in a peer VPC for which the VPC peering
33935
- # connection has been deleted.
34064
+ # group in a peered VPC. Rules can also be stale if they reference a
34065
+ # security group in a peer VPC for which the VPC peering connection has
34066
+ # been deleted.
33936
34067
  #
33937
34068
  # @option params [Boolean] :dry_run
33938
34069
  # Checks whether you have the required permissions for the action,
@@ -39178,10 +39309,15 @@ module Aws::EC2
39178
39309
  # disable block public access for snapshots in a Region, users can
39179
39310
  # publicly share snapshots in that Region.
39180
39311
  #
39181
- # If block public access is enabled in `block-all-sharing` mode, and you
39182
- # disable block public access, all snapshots that were previously
39183
- # publicly shared are no longer treated as private and they become
39184
- # publicly accessible again.
39312
+ # Enabling block public access for snapshots in *block-all-sharing* mode
39313
+ # does not change the permissions for snapshots that are already
39314
+ # publicly shared. Instead, it prevents these snapshots from be publicly
39315
+ # visible and publicly accessible. Therefore, the attributes for these
39316
+ # snapshots still indicate that they are publicly shared, even though
39317
+ # they are not publicly available.
39318
+ #
39319
+ # If you disable block public access , these snapshots will become
39320
+ # publicly available again.
39185
39321
  #
39186
39322
  # For more information, see [ Block public access for snapshots][1] in
39187
39323
  # the *Amazon EBS User Guide* .
@@ -40816,10 +40952,15 @@ module Aws::EC2
40816
40952
  # that are already publicly shared are either treated as private or they
40817
40953
  # remain publicly shared, depending on the **State** that you specify.
40818
40954
  #
40819
- # If block public access is enabled in `block-all-sharing` mode, and you
40820
- # change the mode to `block-new-sharing`, all snapshots that were
40821
- # previously publicly shared are no longer treated as private and they
40822
- # become publicly accessible again.
40955
+ # Enabling block public access for snapshots in *block all sharing* mode
40956
+ # does not change the permissions for snapshots that are already
40957
+ # publicly shared. Instead, it prevents these snapshots from be publicly
40958
+ # visible and publicly accessible. Therefore, the attributes for these
40959
+ # snapshots still indicate that they are publicly shared, even though
40960
+ # they are not publicly available.
40961
+ #
40962
+ # If you later disable block public access or change the mode to *block
40963
+ # new sharing*, these snapshots will become publicly available again.
40823
40964
  #
40824
40965
  # For more information, see [ Block public access for snapshots][1] in
40825
40966
  # the *Amazon EBS User Guide*.
@@ -40838,16 +40979,6 @@ module Aws::EC2
40838
40979
  # publicly shared are treated as private and they are no longer
40839
40980
  # publicly available.
40840
40981
  #
40841
- # <note markdown="1"> If you enable block public access for snapshots in
40842
- # `block-all-sharing` mode, it does not change the permissions for
40843
- # snapshots that are already publicly shared. Instead, it prevents
40844
- # these snapshots from be publicly visible and publicly accessible.
40845
- # Therefore, the attributes for these snapshots still indicate that
40846
- # they are publicly shared, even though they are not publicly
40847
- # available.
40848
- #
40849
- # </note>
40850
- #
40851
40982
  # * `block-new-sharing` - Prevents only new public sharing of snapshots
40852
40983
  # in the Region. Users in the account will no longer be able to
40853
40984
  # request new public sharing. However, snapshots that are already
@@ -46341,13 +46472,18 @@ module Aws::EC2
46341
46472
  req.send_request(options)
46342
46473
  end
46343
46474
 
46344
- # Modifies a Capacity Reservation's capacity and the conditions under
46345
- # which it is to be released. You cannot change a Capacity
46346
- # Reservation's instance type, EBS optimization, instance store
46347
- # settings, platform, Availability Zone, or instance eligibility. If you
46348
- # need to modify any of these attributes, we recommend that you cancel
46349
- # the Capacity Reservation, and then create a new one with the required
46350
- # attributes.
46475
+ # Modifies a Capacity Reservation's capacity, instance eligibility, and
46476
+ # the conditions under which it is to be released. You can't modify a
46477
+ # Capacity Reservation's instance type, EBS optimization, platform,
46478
+ # instance store settings, Availability Zone, or tenancy. If you need to
46479
+ # modify any of these attributes, we recommend that you cancel the
46480
+ # Capacity Reservation, and then create a new one with the required
46481
+ # attributes. For more information, see [Modify an active Capacity
46482
+ # Reservation][1].
46483
+ #
46484
+ #
46485
+ #
46486
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/capacity-reservations-modify.html
46351
46487
  #
46352
46488
  # @option params [required, String] :capacity_reservation_id
46353
46489
  # The ID of the Capacity Reservation.
@@ -46397,6 +46533,18 @@ module Aws::EC2
46397
46533
  # @option params [String] :additional_info
46398
46534
  # Reserved for future use.
46399
46535
  #
46536
+ # @option params [String] :instance_match_criteria
46537
+ # The matching criteria (instance eligibility) that you want to use in
46538
+ # the modified Capacity Reservation. If you change the instance
46539
+ # eligibility of an existing Capacity Reservation from `targeted` to
46540
+ # `open`, any running instances that match the attributes of the
46541
+ # Capacity Reservation, have the `CapacityReservationPreference` set to
46542
+ # `open`, and are not yet running in the Capacity Reservation, will
46543
+ # automatically use the modified Capacity Reservation.
46544
+ #
46545
+ # To modify the instance eligibility, the Capacity Reservation must be
46546
+ # completely idle (zero usage).
46547
+ #
46400
46548
  # @return [Types::ModifyCapacityReservationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
46401
46549
  #
46402
46550
  # * {Types::ModifyCapacityReservationResult#return #return} => Boolean
@@ -46411,6 +46559,7 @@ module Aws::EC2
46411
46559
  # accept: false,
46412
46560
  # dry_run: false,
46413
46561
  # additional_info: "String",
46562
+ # instance_match_criteria: "open", # accepts open, targeted
46414
46563
  # })
46415
46564
  #
46416
46565
  # @example Response structure
@@ -49748,6 +49897,18 @@ module Aws::EC2
49748
49897
  # in this subnet should return synthetic IPv6 addresses for IPv4-only
49749
49898
  # destinations.
49750
49899
  #
49900
+ # <note markdown="1"> You must first configure a NAT gateway in a public subnet (separate
49901
+ # from the subnet containing the IPv6-only workloads). For example, the
49902
+ # subnet containing the NAT gateway should have a `0.0.0.0/0` route
49903
+ # pointing to the internet gateway. For more information, see [Configure
49904
+ # DNS64 and NAT64][1] in the *Amazon VPC User Guide*.
49905
+ #
49906
+ # </note>
49907
+ #
49908
+ #
49909
+ #
49910
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-nat64-dns64.html#nat-gateway-nat64-dns64-walkthrough
49911
+ #
49751
49912
  # @option params [String] :private_dns_hostname_type_on_launch
49752
49913
  # The type of hostname to assign to instances in the subnet at launch.
49753
49914
  # For IPv4-only and dual-stack (IPv4 and IPv6) subnets, an instance DNS
@@ -52387,6 +52548,138 @@ module Aws::EC2
52387
52548
  req.send_request(options)
52388
52549
  end
52389
52550
 
52551
+ # Move available capacity from a source Capacity Reservation to a
52552
+ # destination Capacity Reservation. The source Capacity Reservation and
52553
+ # the destination Capacity Reservation must be `active`, owned by your
52554
+ # Amazon Web Services account, and share the following:
52555
+ #
52556
+ # * Instance type
52557
+ #
52558
+ # * Platform
52559
+ #
52560
+ # * Availability Zone
52561
+ #
52562
+ # * Tenancy
52563
+ #
52564
+ # * Placement group
52565
+ #
52566
+ # * Capacity Reservation end time - `At specific time` or `Manually`.
52567
+ #
52568
+ # @option params [Boolean] :dry_run
52569
+ # Checks whether you have the required permissions for the action,
52570
+ # without actually making the request, and provides an error response.
52571
+ # If you have the required permissions, the error response is
52572
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
52573
+ #
52574
+ # @option params [String] :client_token
52575
+ # Unique, case-sensitive identifier that you provide to ensure the
52576
+ # idempotency of the request. For more information, see [Ensure
52577
+ # Idempotency][1].
52578
+ #
52579
+ # **A suitable default value is auto-generated.** You should normally
52580
+ # not need to pass this option.**
52581
+ #
52582
+ #
52583
+ #
52584
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
52585
+ #
52586
+ # @option params [required, String] :source_capacity_reservation_id
52587
+ # The ID of the Capacity Reservation from which you want to move
52588
+ # capacity.
52589
+ #
52590
+ # @option params [required, String] :destination_capacity_reservation_id
52591
+ # The ID of the Capacity Reservation that you want to move capacity
52592
+ # into.
52593
+ #
52594
+ # @option params [required, Integer] :instance_count
52595
+ # The number of instances that you want to move from the source Capacity
52596
+ # Reservation.
52597
+ #
52598
+ # @return [Types::MoveCapacityReservationInstancesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
52599
+ #
52600
+ # * {Types::MoveCapacityReservationInstancesResult#source_capacity_reservation #source_capacity_reservation} => Types::CapacityReservation
52601
+ # * {Types::MoveCapacityReservationInstancesResult#destination_capacity_reservation #destination_capacity_reservation} => Types::CapacityReservation
52602
+ # * {Types::MoveCapacityReservationInstancesResult#instance_count #instance_count} => Integer
52603
+ #
52604
+ # @example Request syntax with placeholder values
52605
+ #
52606
+ # resp = client.move_capacity_reservation_instances({
52607
+ # dry_run: false,
52608
+ # client_token: "String",
52609
+ # source_capacity_reservation_id: "CapacityReservationId", # required
52610
+ # destination_capacity_reservation_id: "CapacityReservationId", # required
52611
+ # instance_count: 1, # required
52612
+ # })
52613
+ #
52614
+ # @example Response structure
52615
+ #
52616
+ # resp.source_capacity_reservation.capacity_reservation_id #=> String
52617
+ # resp.source_capacity_reservation.owner_id #=> String
52618
+ # resp.source_capacity_reservation.capacity_reservation_arn #=> String
52619
+ # resp.source_capacity_reservation.availability_zone_id #=> String
52620
+ # resp.source_capacity_reservation.instance_type #=> String
52621
+ # resp.source_capacity_reservation.instance_platform #=> String, one of "Linux/UNIX", "Red Hat Enterprise Linux", "SUSE Linux", "Windows", "Windows with SQL Server", "Windows with SQL Server Enterprise", "Windows with SQL Server Standard", "Windows with SQL Server Web", "Linux with SQL Server Standard", "Linux with SQL Server Web", "Linux with SQL Server Enterprise", "RHEL with SQL Server Standard", "RHEL with SQL Server Enterprise", "RHEL with SQL Server Web", "RHEL with HA", "RHEL with HA and SQL Server Standard", "RHEL with HA and SQL Server Enterprise", "Ubuntu Pro"
52622
+ # resp.source_capacity_reservation.availability_zone #=> String
52623
+ # resp.source_capacity_reservation.tenancy #=> String, one of "default", "dedicated"
52624
+ # resp.source_capacity_reservation.total_instance_count #=> Integer
52625
+ # resp.source_capacity_reservation.available_instance_count #=> Integer
52626
+ # resp.source_capacity_reservation.ebs_optimized #=> Boolean
52627
+ # resp.source_capacity_reservation.ephemeral_storage #=> Boolean
52628
+ # resp.source_capacity_reservation.state #=> String, one of "active", "expired", "cancelled", "pending", "failed", "scheduled", "payment-pending", "payment-failed"
52629
+ # resp.source_capacity_reservation.start_date #=> Time
52630
+ # resp.source_capacity_reservation.end_date #=> Time
52631
+ # resp.source_capacity_reservation.end_date_type #=> String, one of "unlimited", "limited"
52632
+ # resp.source_capacity_reservation.instance_match_criteria #=> String, one of "open", "targeted"
52633
+ # resp.source_capacity_reservation.create_date #=> Time
52634
+ # resp.source_capacity_reservation.tags #=> Array
52635
+ # resp.source_capacity_reservation.tags[0].key #=> String
52636
+ # resp.source_capacity_reservation.tags[0].value #=> String
52637
+ # resp.source_capacity_reservation.outpost_arn #=> String
52638
+ # resp.source_capacity_reservation.capacity_reservation_fleet_id #=> String
52639
+ # resp.source_capacity_reservation.placement_group_arn #=> String
52640
+ # resp.source_capacity_reservation.capacity_allocations #=> Array
52641
+ # resp.source_capacity_reservation.capacity_allocations[0].allocation_type #=> String, one of "used"
52642
+ # resp.source_capacity_reservation.capacity_allocations[0].count #=> Integer
52643
+ # resp.source_capacity_reservation.reservation_type #=> String, one of "default", "capacity-block"
52644
+ # resp.destination_capacity_reservation.capacity_reservation_id #=> String
52645
+ # resp.destination_capacity_reservation.owner_id #=> String
52646
+ # resp.destination_capacity_reservation.capacity_reservation_arn #=> String
52647
+ # resp.destination_capacity_reservation.availability_zone_id #=> String
52648
+ # resp.destination_capacity_reservation.instance_type #=> String
52649
+ # resp.destination_capacity_reservation.instance_platform #=> String, one of "Linux/UNIX", "Red Hat Enterprise Linux", "SUSE Linux", "Windows", "Windows with SQL Server", "Windows with SQL Server Enterprise", "Windows with SQL Server Standard", "Windows with SQL Server Web", "Linux with SQL Server Standard", "Linux with SQL Server Web", "Linux with SQL Server Enterprise", "RHEL with SQL Server Standard", "RHEL with SQL Server Enterprise", "RHEL with SQL Server Web", "RHEL with HA", "RHEL with HA and SQL Server Standard", "RHEL with HA and SQL Server Enterprise", "Ubuntu Pro"
52650
+ # resp.destination_capacity_reservation.availability_zone #=> String
52651
+ # resp.destination_capacity_reservation.tenancy #=> String, one of "default", "dedicated"
52652
+ # resp.destination_capacity_reservation.total_instance_count #=> Integer
52653
+ # resp.destination_capacity_reservation.available_instance_count #=> Integer
52654
+ # resp.destination_capacity_reservation.ebs_optimized #=> Boolean
52655
+ # resp.destination_capacity_reservation.ephemeral_storage #=> Boolean
52656
+ # resp.destination_capacity_reservation.state #=> String, one of "active", "expired", "cancelled", "pending", "failed", "scheduled", "payment-pending", "payment-failed"
52657
+ # resp.destination_capacity_reservation.start_date #=> Time
52658
+ # resp.destination_capacity_reservation.end_date #=> Time
52659
+ # resp.destination_capacity_reservation.end_date_type #=> String, one of "unlimited", "limited"
52660
+ # resp.destination_capacity_reservation.instance_match_criteria #=> String, one of "open", "targeted"
52661
+ # resp.destination_capacity_reservation.create_date #=> Time
52662
+ # resp.destination_capacity_reservation.tags #=> Array
52663
+ # resp.destination_capacity_reservation.tags[0].key #=> String
52664
+ # resp.destination_capacity_reservation.tags[0].value #=> String
52665
+ # resp.destination_capacity_reservation.outpost_arn #=> String
52666
+ # resp.destination_capacity_reservation.capacity_reservation_fleet_id #=> String
52667
+ # resp.destination_capacity_reservation.placement_group_arn #=> String
52668
+ # resp.destination_capacity_reservation.capacity_allocations #=> Array
52669
+ # resp.destination_capacity_reservation.capacity_allocations[0].allocation_type #=> String, one of "used"
52670
+ # resp.destination_capacity_reservation.capacity_allocations[0].count #=> Integer
52671
+ # resp.destination_capacity_reservation.reservation_type #=> String, one of "default", "capacity-block"
52672
+ # resp.instance_count #=> Integer
52673
+ #
52674
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MoveCapacityReservationInstances AWS API Documentation
52675
+ #
52676
+ # @overload move_capacity_reservation_instances(params = {})
52677
+ # @param [Hash] params ({})
52678
+ def move_capacity_reservation_instances(params = {}, options = {})
52679
+ req = build_request(:move_capacity_reservation_instances, params)
52680
+ req.send_request(options)
52681
+ end
52682
+
52390
52683
  # Provisions an IPv4 or IPv6 address range for use with your Amazon Web
52391
52684
  # Services resources through bring your own IP addresses (BYOIP) and
52392
52685
  # creates a corresponding address pool. After the address range is
@@ -59810,7 +60103,7 @@ module Aws::EC2
59810
60103
  params: params,
59811
60104
  config: config)
59812
60105
  context[:gem_name] = 'aws-sdk-ec2'
59813
- context[:gem_version] = '1.468.0'
60106
+ context[:gem_version] = '1.470.0'
59814
60107
  Seahorse::Client::Request.new(handlers, context)
59815
60108
  end
59816
60109