aws-sdk-ec2 1.480.0 → 1.481.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: 13a9557c015f2014711d6197e04e57565fb99127be1e1517b66ae4fe3f211993
4
- data.tar.gz: 51dc6363ded214a79125b8d187482d4d0f005a5757b7b71a8b83f8ff5e57ee01
3
+ metadata.gz: af4eefd55d40c03b8562e16fdd308d03faaf7e94523d968b69fd2af9d60a6fbd
4
+ data.tar.gz: b49bab3261aea0e482e918fec93c84c11211247ced2c051e1ebafe591d7712f3
5
5
  SHA512:
6
- metadata.gz: c1120c5ea49fa8d2b41dca560ec71a0e579b40a33fd30b1fdb52f028f08c07b099a45f911f08c8f2fbd360fd01fa4e30020cca1a9b93d03b6fae2bf3a78f5eac
7
- data.tar.gz: 0d97f56aa8c2e1fa81d11e3d939716926753786be3524b690ec3452968016e387f8c150425d598cf3521fdc94a857ec2c2d6a4e9540b67a0fba14e28933e601a
6
+ metadata.gz: b5b5730687567641c061bbb5f899f1c4dc6a518db4d041c639ebe09765bdb1c59371aed3c95b230ea55977972e4634dedf2ae487c974b4e055733b89dee01c37
7
+ data.tar.gz: 7bdecce0e4ca4179ff5e2d01ad39c4571c28004e1bbdd9cfbfceb842baab08579b044d3605fadd0834c9ca62988906b55e757e8ccb49bfb7f8e788d9816c0aa0
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.481.0 (2024-10-10)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for assigning the billing of shared Amazon EC2 On-Demand Capacity Reservations.
8
+
4
9
  1.480.0 (2024-10-04)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.480.0
1
+ 1.481.0
@@ -515,6 +515,47 @@ module Aws::EC2
515
515
  req.send_request(options)
516
516
  end
517
517
 
518
+ # Accepts a request to assign billing of the available capacity of a
519
+ # shared Capacity Reservation to your account. For more information, see
520
+ # [ Billing assignment for shared Amazon EC2 Capacity Reservations][1].
521
+ #
522
+ #
523
+ #
524
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/assign-billing.html
525
+ #
526
+ # @option params [Boolean] :dry_run
527
+ # Checks whether you have the required permissions for the action,
528
+ # without actually making the request, and provides an error response.
529
+ # If you have the required permissions, the error response is
530
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
531
+ #
532
+ # @option params [required, String] :capacity_reservation_id
533
+ # The ID of the Capacity Reservation for which to accept the request.
534
+ #
535
+ # @return [Types::AcceptCapacityReservationBillingOwnershipResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
536
+ #
537
+ # * {Types::AcceptCapacityReservationBillingOwnershipResult#return #return} => Boolean
538
+ #
539
+ # @example Request syntax with placeholder values
540
+ #
541
+ # resp = client.accept_capacity_reservation_billing_ownership({
542
+ # dry_run: false,
543
+ # capacity_reservation_id: "CapacityReservationId", # required
544
+ # })
545
+ #
546
+ # @example Response structure
547
+ #
548
+ # resp.return #=> Boolean
549
+ #
550
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptCapacityReservationBillingOwnership AWS API Documentation
551
+ #
552
+ # @overload accept_capacity_reservation_billing_ownership(params = {})
553
+ # @param [Hash] params ({})
554
+ def accept_capacity_reservation_billing_ownership(params = {}, options = {})
555
+ req = build_request(:accept_capacity_reservation_billing_ownership, params)
556
+ req.send_request(options)
557
+ end
558
+
518
559
  # Accepts the Convertible Reserved Instance exchange quote described in
519
560
  # the GetReservedInstancesExchangeQuote call.
520
561
  #
@@ -1586,7 +1627,7 @@ module Aws::EC2
1586
1627
  #
1587
1628
  #
1588
1629
  #
1589
- # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html
1630
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-working-with
1590
1631
  #
1591
1632
  # @option params [required, String] :nat_gateway_id
1592
1633
  # The ID of the NAT gateway.
@@ -1762,6 +1803,53 @@ module Aws::EC2
1762
1803
  req.send_request(options)
1763
1804
  end
1764
1805
 
1806
+ # Initiates a request to assign billing of the unused capacity of a
1807
+ # shared Capacity Reservation to a consumer account that is consolidated
1808
+ # under the same Amazon Web Services organizations payer account. For
1809
+ # more information, see [Billing assignment for shared Amazon EC2
1810
+ # Capacity Reservations][1].
1811
+ #
1812
+ #
1813
+ #
1814
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/assign-billing.html
1815
+ #
1816
+ # @option params [Boolean] :dry_run
1817
+ # Checks whether you have the required permissions for the action,
1818
+ # without actually making the request, and provides an error response.
1819
+ # If you have the required permissions, the error response is
1820
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
1821
+ #
1822
+ # @option params [required, String] :capacity_reservation_id
1823
+ # The ID of the Capacity Reservation.
1824
+ #
1825
+ # @option params [required, String] :unused_reservation_billing_owner_id
1826
+ # The ID of the consumer account to which assign billing.
1827
+ #
1828
+ # @return [Types::AssociateCapacityReservationBillingOwnerResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1829
+ #
1830
+ # * {Types::AssociateCapacityReservationBillingOwnerResult#return #return} => Boolean
1831
+ #
1832
+ # @example Request syntax with placeholder values
1833
+ #
1834
+ # resp = client.associate_capacity_reservation_billing_owner({
1835
+ # dry_run: false,
1836
+ # capacity_reservation_id: "CapacityReservationId", # required
1837
+ # unused_reservation_billing_owner_id: "AccountID", # required
1838
+ # })
1839
+ #
1840
+ # @example Response structure
1841
+ #
1842
+ # resp.return #=> Boolean
1843
+ #
1844
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateCapacityReservationBillingOwner AWS API Documentation
1845
+ #
1846
+ # @overload associate_capacity_reservation_billing_owner(params = {})
1847
+ # @param [Hash] params ({})
1848
+ def associate_capacity_reservation_billing_owner(params = {}, options = {})
1849
+ req = build_request(:associate_capacity_reservation_billing_owner, params)
1850
+ req.send_request(options)
1851
+ end
1852
+
1765
1853
  # Associates a target network with a Client VPN endpoint. A target
1766
1854
  # network is a subnet in a VPC. You can associate multiple subnets from
1767
1855
  # the same VPC with a Client VPN endpoint. You can associate only one
@@ -2255,9 +2343,9 @@ module Aws::EC2
2255
2343
  #
2256
2344
  #
2257
2345
  #
2258
- # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html
2346
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-working-with
2259
2347
  # [2]: https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html#vpc-limits-eips
2260
- # [3]: https://docs.aws.amazon.com/vpc/latest/userguide/WorkWithEIPs.html
2348
+ # [3]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#allocate-eip
2261
2349
  #
2262
2350
  # @option params [required, String] :nat_gateway_id
2263
2351
  # The ID of the NAT gateway.
@@ -5140,6 +5228,7 @@ module Aws::EC2
5140
5228
  # resp.capacity_reservation.capacity_allocations[0].allocation_type #=> String, one of "used"
5141
5229
  # resp.capacity_reservation.capacity_allocations[0].count #=> Integer
5142
5230
  # resp.capacity_reservation.reservation_type #=> String, one of "default", "capacity-block"
5231
+ # resp.capacity_reservation.unused_reservation_billing_owner_id #=> String
5143
5232
  #
5144
5233
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCapacityReservation AWS API Documentation
5145
5234
  #
@@ -5240,6 +5329,7 @@ module Aws::EC2
5240
5329
  # resp.source_capacity_reservation.capacity_allocations[0].allocation_type #=> String, one of "used"
5241
5330
  # resp.source_capacity_reservation.capacity_allocations[0].count #=> Integer
5242
5331
  # resp.source_capacity_reservation.reservation_type #=> String, one of "default", "capacity-block"
5332
+ # resp.source_capacity_reservation.unused_reservation_billing_owner_id #=> String
5243
5333
  # resp.destination_capacity_reservation.capacity_reservation_id #=> String
5244
5334
  # resp.destination_capacity_reservation.owner_id #=> String
5245
5335
  # resp.destination_capacity_reservation.capacity_reservation_arn #=> String
@@ -5268,6 +5358,7 @@ module Aws::EC2
5268
5358
  # resp.destination_capacity_reservation.capacity_allocations[0].allocation_type #=> String, one of "used"
5269
5359
  # resp.destination_capacity_reservation.capacity_allocations[0].count #=> Integer
5270
5360
  # resp.destination_capacity_reservation.reservation_type #=> String, one of "default", "capacity-block"
5361
+ # resp.destination_capacity_reservation.unused_reservation_billing_owner_id #=> String
5271
5362
  # resp.instance_count #=> Integer
5272
5363
  #
5273
5364
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCapacityReservationBySplitting AWS API Documentation
@@ -6066,7 +6157,7 @@ module Aws::EC2
6066
6157
  #
6067
6158
  #
6068
6159
  #
6069
- # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/work-with-default-vpc.html#create-default-subnet
6160
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/default-vpc.html#create-default-subnet
6070
6161
  #
6071
6162
  # @option params [required, String] :availability_zone
6072
6163
  # The Availability Zone in which to create the default subnet.
@@ -6833,7 +6924,7 @@ module Aws::EC2
6833
6924
  #
6834
6925
  #
6835
6926
  #
6836
- # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/flow-log-records.html
6927
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html#flow-log-records
6837
6928
  # [2]: https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html
6838
6929
  #
6839
6930
  # @option params [Boolean] :dry_run
@@ -6929,7 +7020,7 @@ module Aws::EC2
6929
7020
  #
6930
7021
  #
6931
7022
  #
6932
- # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/flow-log-records.html
7023
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html#flow-log-records
6933
7024
  # [2]: https://docs.aws.amazon.com/vpc/latest/tgw/tgw-flow-logs.html#flow-log-records
6934
7025
  #
6935
7026
  # @option params [Array<Types::TagSpecification>] :tag_specifications
@@ -9710,7 +9801,7 @@ module Aws::EC2
9710
9801
  #
9711
9802
  #
9712
9803
  # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html
9713
- # [2]: https://docs.aws.amazon.com/vpc/latest/userguide/WorkWithEIPs.html
9804
+ # [2]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#allocate-eip
9714
9805
  #
9715
9806
  # @option params [String] :allocation_id
9716
9807
  # \[Public NAT gateways only\] The allocation ID of an Elastic IP
@@ -9760,7 +9851,7 @@ module Aws::EC2
9760
9851
  #
9761
9852
  #
9762
9853
  #
9763
- # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html
9854
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-creating
9764
9855
  #
9765
9856
  # @option params [Array<String>] :secondary_private_ip_addresses
9766
9857
  # Secondary private IPv4 addresses. For more information about secondary
@@ -9769,7 +9860,7 @@ module Aws::EC2
9769
9860
  #
9770
9861
  #
9771
9862
  #
9772
- # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html
9863
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-creating
9773
9864
  #
9774
9865
  # @option params [Integer] :secondary_private_ip_address_count
9775
9866
  # \[Private NAT gateway only\] The number of secondary private IPv4
@@ -9779,7 +9870,7 @@ module Aws::EC2
9779
9870
  #
9780
9871
  #
9781
9872
  #
9782
- # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html
9873
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-creating
9783
9874
  #
9784
9875
  # @return [Types::CreateNatGatewayResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9785
9876
  #
@@ -12410,14 +12501,13 @@ module Aws::EC2
12410
12501
  end
12411
12502
 
12412
12503
  # Creates a subnet CIDR reservation. For more information, see [Subnet
12413
- # CIDR reservations][1] in the *Amazon VPC User Guide* and [Manage
12414
- # prefixes for your network interfaces][2] in the *Amazon EC2 User
12415
- # Guide*.
12504
+ # CIDR reservations][1] in the *Amazon VPC User Guide* and [Assign
12505
+ # prefixes to network interfaces][2] in the *Amazon EC2 User Guide*.
12416
12506
  #
12417
12507
  #
12418
12508
  #
12419
12509
  # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/subnet-cidr-reservation.html
12420
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-prefixes.html
12510
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-eni.html
12421
12511
  #
12422
12512
  # @option params [required, String] :subnet_id
12423
12513
  # The ID of the subnet.
@@ -19061,10 +19151,7 @@ module Aws::EC2
19061
19151
  # delete all security groups associated with the VPC (except the default
19062
19152
  # one), delete all route tables associated with the VPC (except the
19063
19153
  # default one), and so on. When you delete the VPC, it deletes the
19064
- # default security group, network ACL, and route table for the VPC.
19065
- #
19066
- # If you created a flow log for the VPC that you are deleting, note that
19067
- # flow logs for deleted VPCs are eventually automatically removed.
19154
+ # VPC's default security group, network ACL, and route table.
19068
19155
  #
19069
19156
  # @option params [required, String] :vpc_id
19070
19157
  # The ID of the VPC.
@@ -20702,6 +20789,107 @@ module Aws::EC2
20702
20789
  req.send_request(options)
20703
20790
  end
20704
20791
 
20792
+ # Describes a request to assign the billing of the unused capacity of a
20793
+ # Capacity Reservation. For more information, see [ Billing assignment
20794
+ # for shared Amazon EC2 Capacity Reservations][1].
20795
+ #
20796
+ #
20797
+ #
20798
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/transfer-billing.html
20799
+ #
20800
+ # @option params [Array<String>] :capacity_reservation_ids
20801
+ # The ID of the Capacity Reservation.
20802
+ #
20803
+ # @option params [required, String] :role
20804
+ # Specify one of the following:
20805
+ #
20806
+ # * `odcr-owner` - If you are the Capacity Reservation owner, specify
20807
+ # this value to view requests that you have initiated. Not supported
20808
+ # with the `requested-by` filter.
20809
+ #
20810
+ # * `unused-reservation-billing-owner` - If you are the consumer
20811
+ # account, specify this value to view requests that have been sent to
20812
+ # you. Not supported with the `unused-reservation-billing-owner`
20813
+ # filter.
20814
+ #
20815
+ # @option params [String] :next_token
20816
+ # The token to use to retrieve the next page of results.
20817
+ #
20818
+ # @option params [Integer] :max_results
20819
+ # The maximum number of items to return for this request. To get the
20820
+ # next page of items, make another request with the token returned in
20821
+ # the output. For more information, see [Pagination][1].
20822
+ #
20823
+ #
20824
+ #
20825
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
20826
+ #
20827
+ # @option params [Array<Types::Filter>] :filters
20828
+ # One or more filters.
20829
+ #
20830
+ # * `status` - The state of the request (`pending` \| `accepted` \|
20831
+ # `rejected` \| `cancelled` \| `revoked` \| `expired`).
20832
+ #
20833
+ # * `requested-by` - The account ID of the Capacity Reservation owner
20834
+ # that initiated the request. Not supported if you specify
20835
+ # `requested-by` for **Role**.
20836
+ #
20837
+ # * `unused-reservation-billing-owner` - The ID of the consumer account
20838
+ # to which the request was sent. Not supported if you specify
20839
+ # `unused-reservation-billing-owner` for **Role**.
20840
+ #
20841
+ # @option params [Boolean] :dry_run
20842
+ # Checks whether you have the required permissions for the action,
20843
+ # without actually making the request, and provides an error response.
20844
+ # If you have the required permissions, the error response is
20845
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
20846
+ #
20847
+ # @return [Types::DescribeCapacityReservationBillingRequestsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
20848
+ #
20849
+ # * {Types::DescribeCapacityReservationBillingRequestsResult#next_token #next_token} => String
20850
+ # * {Types::DescribeCapacityReservationBillingRequestsResult#capacity_reservation_billing_requests #capacity_reservation_billing_requests} => Array&lt;Types::CapacityReservationBillingRequest&gt;
20851
+ #
20852
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
20853
+ #
20854
+ # @example Request syntax with placeholder values
20855
+ #
20856
+ # resp = client.describe_capacity_reservation_billing_requests({
20857
+ # capacity_reservation_ids: ["CapacityReservationId"],
20858
+ # role: "odcr-owner", # required, accepts odcr-owner, unused-reservation-billing-owner
20859
+ # next_token: "String",
20860
+ # max_results: 1,
20861
+ # filters: [
20862
+ # {
20863
+ # name: "String",
20864
+ # values: ["String"],
20865
+ # },
20866
+ # ],
20867
+ # dry_run: false,
20868
+ # })
20869
+ #
20870
+ # @example Response structure
20871
+ #
20872
+ # resp.next_token #=> String
20873
+ # resp.capacity_reservation_billing_requests #=> Array
20874
+ # resp.capacity_reservation_billing_requests[0].capacity_reservation_id #=> String
20875
+ # resp.capacity_reservation_billing_requests[0].requested_by #=> String
20876
+ # resp.capacity_reservation_billing_requests[0].unused_reservation_billing_owner_id #=> String
20877
+ # resp.capacity_reservation_billing_requests[0].last_update_time #=> Time
20878
+ # resp.capacity_reservation_billing_requests[0].status #=> String, one of "pending", "accepted", "rejected", "cancelled", "revoked", "expired"
20879
+ # resp.capacity_reservation_billing_requests[0].status_message #=> String
20880
+ # resp.capacity_reservation_billing_requests[0].capacity_reservation_info.instance_type #=> String
20881
+ # resp.capacity_reservation_billing_requests[0].capacity_reservation_info.availability_zone #=> String
20882
+ # resp.capacity_reservation_billing_requests[0].capacity_reservation_info.tenancy #=> String, one of "default", "dedicated"
20883
+ #
20884
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityReservationBillingRequests AWS API Documentation
20885
+ #
20886
+ # @overload describe_capacity_reservation_billing_requests(params = {})
20887
+ # @param [Hash] params ({})
20888
+ def describe_capacity_reservation_billing_requests(params = {}, options = {})
20889
+ req = build_request(:describe_capacity_reservation_billing_requests, params)
20890
+ req.send_request(options)
20891
+ end
20892
+
20705
20893
  # Describes one or more Capacity Reservation Fleets.
20706
20894
  #
20707
20895
  # @option params [Array<String>] :capacity_reservation_fleet_ids
@@ -20966,6 +21154,7 @@ module Aws::EC2
20966
21154
  # resp.capacity_reservations[0].capacity_allocations[0].allocation_type #=> String, one of "used"
20967
21155
  # resp.capacity_reservations[0].capacity_allocations[0].count #=> Integer
20968
21156
  # resp.capacity_reservations[0].reservation_type #=> String, one of "default", "capacity-block"
21157
+ # resp.capacity_reservations[0].unused_reservation_billing_owner_id #=> String
20969
21158
  #
20970
21159
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityReservations AWS API Documentation
20971
21160
  #
@@ -22058,9 +22247,7 @@ module Aws::EC2
22058
22247
  req.send_request(options)
22059
22248
  end
22060
22249
 
22061
- # <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024. For
22062
- # workloads that require graphics acceleration, we recommend that you
22063
- # use Amazon EC2 G4, G5, or G6 instances.
22250
+ # <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024.
22064
22251
  #
22065
22252
  # </note>
22066
22253
  #
@@ -25761,9 +25948,6 @@ module Aws::EC2
25761
25948
  # * `iam-instance-profile.id` - The instance profile associated with the
25762
25949
  # instance. Specified as an ID.
25763
25950
  #
25764
- # * `iam-instance-profile.name` - The instance profile associated with
25765
- # the instance. Specified as an name.
25766
- #
25767
25951
  # * `image-id` - The ID of the image used to launch the instance.
25768
25952
  #
25769
25953
  # * `instance-id` - The ID of the instance.
@@ -39602,6 +39786,52 @@ module Aws::EC2
39602
39786
  req.send_request(options)
39603
39787
  end
39604
39788
 
39789
+ # Cancels a pending request to assign billing of the unused capacity of
39790
+ # a Capacity Reservation to a consumer account, or revokes a request
39791
+ # that has already been accepted. For more information, see [Billing
39792
+ # assignment for shared Amazon EC2 Capacity Reservations][1].
39793
+ #
39794
+ #
39795
+ #
39796
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/assign-billing.html
39797
+ #
39798
+ # @option params [Boolean] :dry_run
39799
+ # Checks whether you have the required permissions for the action,
39800
+ # without actually making the request, and provides an error response.
39801
+ # If you have the required permissions, the error response is
39802
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
39803
+ #
39804
+ # @option params [required, String] :capacity_reservation_id
39805
+ # The ID of the Capacity Reservation.
39806
+ #
39807
+ # @option params [required, String] :unused_reservation_billing_owner_id
39808
+ # The ID of the consumer account to which the request was sent.
39809
+ #
39810
+ # @return [Types::DisassociateCapacityReservationBillingOwnerResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
39811
+ #
39812
+ # * {Types::DisassociateCapacityReservationBillingOwnerResult#return #return} => Boolean
39813
+ #
39814
+ # @example Request syntax with placeholder values
39815
+ #
39816
+ # resp = client.disassociate_capacity_reservation_billing_owner({
39817
+ # dry_run: false,
39818
+ # capacity_reservation_id: "CapacityReservationId", # required
39819
+ # unused_reservation_billing_owner_id: "AccountID", # required
39820
+ # })
39821
+ #
39822
+ # @example Response structure
39823
+ #
39824
+ # resp.return #=> Boolean
39825
+ #
39826
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateCapacityReservationBillingOwner AWS API Documentation
39827
+ #
39828
+ # @overload disassociate_capacity_reservation_billing_owner(params = {})
39829
+ # @param [Hash] params ({})
39830
+ def disassociate_capacity_reservation_billing_owner(params = {}, options = {})
39831
+ req = build_request(:disassociate_capacity_reservation_billing_owner, params)
39832
+ req.send_request(options)
39833
+ end
39834
+
39605
39835
  # Disassociates a target network from the specified Client VPN endpoint.
39606
39836
  # When you disassociate the last target network from a Client VPN, the
39607
39837
  # following happens:
@@ -39948,7 +40178,7 @@ module Aws::EC2
39948
40178
  #
39949
40179
  #
39950
40180
  #
39951
- # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html#nat-gateway-edit-secondary
40181
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-edit-secondary
39952
40182
  #
39953
40183
  # @option params [required, String] :nat_gateway_id
39954
40184
  # The ID of the NAT gateway.
@@ -47911,7 +48141,8 @@ module Aws::EC2
47911
48141
  # performance. The base cost of the instance remains unchanged.
47912
48142
  #
47913
48143
  # The number of active vCPUs equals the number of threads per CPU core
47914
- # multiplied by the number of cores.
48144
+ # multiplied by the number of cores. The instance must be in a `Stopped`
48145
+ # state before you make changes.
47915
48146
  #
47916
48147
  # <note markdown="1"> Some instance type options do not support this capability. For more
47917
48148
  # information, see [Supported CPU options][1] in the *Amazon EC2 User
@@ -49985,12 +50216,14 @@ module Aws::EC2
49985
50216
  # in this subnet should return synthetic IPv6 addresses for IPv4-only
49986
50217
  # destinations.
49987
50218
  #
49988
- # You must first configure a NAT gateway in a public subnet (separate
50219
+ # <note markdown="1"> You must first configure a NAT gateway in a public subnet (separate
49989
50220
  # from the subnet containing the IPv6-only workloads). For example, the
49990
50221
  # subnet containing the NAT gateway should have a `0.0.0.0/0` route
49991
50222
  # pointing to the internet gateway. For more information, see [Configure
49992
50223
  # DNS64 and NAT64][1] in the *Amazon VPC User Guide*.
49993
50224
  #
50225
+ # </note>
50226
+ #
49994
50227
  #
49995
50228
  #
49996
50229
  # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-nat64-dns64.html#nat-gateway-nat64-dns64-walkthrough
@@ -52727,6 +52960,7 @@ module Aws::EC2
52727
52960
  # resp.source_capacity_reservation.capacity_allocations[0].allocation_type #=> String, one of "used"
52728
52961
  # resp.source_capacity_reservation.capacity_allocations[0].count #=> Integer
52729
52962
  # resp.source_capacity_reservation.reservation_type #=> String, one of "default", "capacity-block"
52963
+ # resp.source_capacity_reservation.unused_reservation_billing_owner_id #=> String
52730
52964
  # resp.destination_capacity_reservation.capacity_reservation_id #=> String
52731
52965
  # resp.destination_capacity_reservation.owner_id #=> String
52732
52966
  # resp.destination_capacity_reservation.capacity_reservation_arn #=> String
@@ -52755,6 +52989,7 @@ module Aws::EC2
52755
52989
  # resp.destination_capacity_reservation.capacity_allocations[0].allocation_type #=> String, one of "used"
52756
52990
  # resp.destination_capacity_reservation.capacity_allocations[0].count #=> Integer
52757
52991
  # resp.destination_capacity_reservation.reservation_type #=> String, one of "default", "capacity-block"
52992
+ # resp.destination_capacity_reservation.unused_reservation_billing_owner_id #=> String
52758
52993
  # resp.instance_count #=> Integer
52759
52994
  #
52760
52995
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MoveCapacityReservationInstances AWS API Documentation
@@ -53196,6 +53431,7 @@ module Aws::EC2
53196
53431
  # resp.capacity_reservation.capacity_allocations[0].allocation_type #=> String, one of "used"
53197
53432
  # resp.capacity_reservation.capacity_allocations[0].count #=> Integer
53198
53433
  # resp.capacity_reservation.reservation_type #=> String, one of "default", "capacity-block"
53434
+ # resp.capacity_reservation.unused_reservation_billing_owner_id #=> String
53199
53435
  #
53200
53436
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseCapacityBlock AWS API Documentation
53201
53437
  #
@@ -53978,6 +54214,47 @@ module Aws::EC2
53978
54214
  req.send_request(options)
53979
54215
  end
53980
54216
 
54217
+ # Rejects a request to assign billing of the available capacity of a
54218
+ # shared Capacity Reservation to your account. For more information, see
54219
+ # [ Billing assignment for shared Amazon EC2 Capacity Reservations][1].
54220
+ #
54221
+ #
54222
+ #
54223
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/assign-billing.html
54224
+ #
54225
+ # @option params [Boolean] :dry_run
54226
+ # Checks whether you have the required permissions for the action,
54227
+ # without actually making the request, and provides an error response.
54228
+ # If you have the required permissions, the error response is
54229
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
54230
+ #
54231
+ # @option params [required, String] :capacity_reservation_id
54232
+ # The ID of the Capacity Reservation for which to reject the request.
54233
+ #
54234
+ # @return [Types::RejectCapacityReservationBillingOwnershipResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
54235
+ #
54236
+ # * {Types::RejectCapacityReservationBillingOwnershipResult#return #return} => Boolean
54237
+ #
54238
+ # @example Request syntax with placeholder values
54239
+ #
54240
+ # resp = client.reject_capacity_reservation_billing_ownership({
54241
+ # dry_run: false,
54242
+ # capacity_reservation_id: "CapacityReservationId", # required
54243
+ # })
54244
+ #
54245
+ # @example Response structure
54246
+ #
54247
+ # resp.return #=> Boolean
54248
+ #
54249
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RejectCapacityReservationBillingOwnership AWS API Documentation
54250
+ #
54251
+ # @overload reject_capacity_reservation_billing_ownership(params = {})
54252
+ # @param [Hash] params ({})
54253
+ def reject_capacity_reservation_billing_ownership(params = {}, options = {})
54254
+ req = build_request(:reject_capacity_reservation_billing_ownership, params)
54255
+ req.send_request(options)
54256
+ end
54257
+
53981
54258
  # Rejects a request to associate cross-account subnets with a transit
53982
54259
  # gateway multicast domain.
53983
54260
  #
@@ -57082,15 +57359,10 @@ module Aws::EC2
57082
57359
  # @option params [Array<Types::ElasticInferenceAccelerator>] :elastic_inference_accelerators
57083
57360
  # An elastic inference accelerator to associate with the instance.
57084
57361
  #
57085
- # <note markdown="1"> Amazon Elastic Inference (EI) is no longer available to new customers.
57086
- # For more information, see [Amazon Elastic Inference FAQs][1].
57362
+ # <note markdown="1"> Amazon Elastic Inference is no longer available.
57087
57363
  #
57088
57364
  # </note>
57089
57365
  #
57090
- #
57091
- #
57092
- # [1]: http://aws.amazon.com/machine-learning/elastic-inference/faqs/
57093
- #
57094
57366
  # @option params [Array<Types::TagSpecification>] :tag_specifications
57095
57367
  # The tags to apply to the resources that are created during instance
57096
57368
  # launch.
@@ -59745,7 +60017,7 @@ module Aws::EC2
59745
60017
  #
59746
60018
  #
59747
60019
  #
59748
- # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html#nat-gateway-edit-secondary
60020
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-edit-secondary
59749
60021
  #
59750
60022
  # @option params [required, String] :nat_gateway_id
59751
60023
  # The ID of the NAT gateway.
@@ -60196,7 +60468,7 @@ module Aws::EC2
60196
60468
  tracer: tracer
60197
60469
  )
60198
60470
  context[:gem_name] = 'aws-sdk-ec2'
60199
- context[:gem_version] = '1.480.0'
60471
+ context[:gem_version] = '1.481.0'
60200
60472
  Seahorse::Client::Request.new(handlers, context)
60201
60473
  end
60202
60474