|
180 | 180 | create_capacity_reservation/3, |
181 | 181 | create_capacity_reservation_by_splitting/2, |
182 | 182 | create_capacity_reservation_by_splitting/3, |
| 183 | + create_capacity_reservation_cancellation_quote/2, |
| 184 | + create_capacity_reservation_cancellation_quote/3, |
183 | 185 | create_capacity_reservation_fleet/2, |
184 | 186 | create_capacity_reservation_fleet/3, |
185 | 187 | create_carrier_gateway/2, |
|
616 | 618 | describe_capacity_manager_data_exports/3, |
617 | 619 | describe_capacity_reservation_billing_requests/2, |
618 | 620 | describe_capacity_reservation_billing_requests/3, |
| 621 | + describe_capacity_reservation_cancellation_quotes/2, |
| 622 | + describe_capacity_reservation_cancellation_quotes/3, |
619 | 623 | describe_capacity_reservation_fleets/2, |
620 | 624 | describe_capacity_reservation_fleets/3, |
621 | 625 | describe_capacity_reservation_topology/2, |
|
5303 | 5307 | %% } |
5304 | 5308 | -type associate_capacity_reservation_billing_owner_request() :: #{binary() => any()}. |
5305 | 5309 |
|
| 5310 | +%% Example: |
| 5311 | +%% capacity_reservation_configuration() :: #{ |
| 5312 | +%% <<"InstanceCount">> => integer(), |
| 5313 | +%% <<"ReservationState">> => string() |
| 5314 | +%% } |
| 5315 | +-type capacity_reservation_configuration() :: #{binary() => any()}. |
| 5316 | + |
5306 | 5317 | %% Example: |
5307 | 5318 | %% describe_internet_gateways_request() :: #{ |
5308 | 5319 | %% <<"DryRun">> => boolean(), |
|
11907 | 11918 | %% } |
11908 | 11919 | -type replace_network_acl_entry_request() :: #{binary() => any()}. |
11909 | 11920 |
|
| 11921 | +%% Example: |
| 11922 | +%% create_capacity_reservation_cancellation_quote_request() :: #{ |
| 11923 | +%% <<"CapacityReservationId">> := string(), |
| 11924 | +%% <<"ClientToken">> => string(), |
| 11925 | +%% <<"DryRun">> => boolean(), |
| 11926 | +%% <<"TagSpecifications">> => list(tag_specification()) |
| 11927 | +%% } |
| 11928 | +-type create_capacity_reservation_cancellation_quote_request() :: #{binary() => any()}. |
| 11929 | + |
11910 | 11930 | %% Example: |
11911 | 11931 | %% instance_private_ip_address() :: #{ |
11912 | 11932 | %% <<"Association">> => instance_network_interface_association(), |
|
14852 | 14872 |
|
14853 | 14873 | %% Example: |
14854 | 14874 | %% cancel_capacity_reservation_request() :: #{ |
| 14875 | +%% <<"ApplyCancellationCharges">> => list(any()), |
14855 | 14876 | %% <<"CapacityReservationId">> := string(), |
14856 | | -%% <<"DryRun">> => boolean() |
| 14877 | +%% <<"DryRun">> => boolean(), |
| 14878 | +%% <<"QuoteId">> => string() |
14857 | 14879 | %% } |
14858 | 14880 | -type cancel_capacity_reservation_request() :: #{binary() => any()}. |
14859 | 14881 |
|
|
15038 | 15060 | %% } |
15039 | 15061 | -type instance_network_interface_attachment() :: #{binary() => any()}. |
15040 | 15062 |
|
| 15063 | +%% Example: |
| 15064 | +%% describe_capacity_reservation_cancellation_quotes_request() :: #{ |
| 15065 | +%% <<"CapacityReservationCancellationQuoteIds">> => list(string()), |
| 15066 | +%% <<"DryRun">> => boolean(), |
| 15067 | +%% <<"Filters">> => list(filter()), |
| 15068 | +%% <<"MaxResults">> => integer(), |
| 15069 | +%% <<"NextToken">> => string() |
| 15070 | +%% } |
| 15071 | +-type describe_capacity_reservation_cancellation_quotes_request() :: #{binary() => any()}. |
| 15072 | + |
15041 | 15073 | %% Example: |
15042 | 15074 | %% instance_status_event() :: #{ |
15043 | 15075 | %% <<"Code">> => list(any()), |
|
16424 | 16456 | %% } |
16425 | 16457 | -type describe_network_interface_permissions_request() :: #{binary() => any()}. |
16426 | 16458 |
|
| 16459 | +%% Example: |
| 16460 | +%% create_capacity_reservation_cancellation_quote_result() :: #{ |
| 16461 | +%% <<"CapacityReservationCancellationQuote">> => capacity_reservation_cancellation_quote() |
| 16462 | +%% } |
| 16463 | +-type create_capacity_reservation_cancellation_quote_result() :: #{binary() => any()}. |
| 16464 | + |
16427 | 16465 | %% Example: |
16428 | 16466 | %% client_vpn_endpoint_attribute_status() :: #{ |
16429 | 16467 | %% <<"Code">> => list(any()), |
|
16690 | 16728 | %% } |
16691 | 16729 | -type delete_image_usage_report_result() :: #{binary() => any()}. |
16692 | 16730 |
|
| 16731 | +%% Example: |
| 16732 | +%% cancellation_terms() :: #{ |
| 16733 | +%% <<"CancellationType">> => list(any()), |
| 16734 | +%% <<"ChargeCommitmentDurationHours">> => float(), |
| 16735 | +%% <<"ChargeEndDate">> => non_neg_integer(), |
| 16736 | +%% <<"CommittedInstanceCount">> => integer(), |
| 16737 | +%% <<"ReservationState">> => string() |
| 16738 | +%% } |
| 16739 | +-type cancellation_terms() :: #{binary() => any()}. |
| 16740 | + |
16693 | 16741 | %% Example: |
16694 | 16742 | %% describe_vpcs_request() :: #{ |
16695 | 16743 | %% <<"DryRun">> => boolean(), |
|
19673 | 19721 | %% } |
19674 | 19722 | -type verified_access_sse_specification_response() :: #{binary() => any()}. |
19675 | 19723 |
|
| 19724 | +%% Example: |
| 19725 | +%% describe_capacity_reservation_cancellation_quotes_result() :: #{ |
| 19726 | +%% <<"CapacityReservationCancellationQuotes">> => list(capacity_reservation_cancellation_quote()), |
| 19727 | +%% <<"NextToken">> => string() |
| 19728 | +%% } |
| 19729 | +-type describe_capacity_reservation_cancellation_quotes_result() :: #{binary() => any()}. |
| 19730 | + |
19676 | 19731 | %% Example: |
19677 | 19732 | %% destination_options_request() :: #{ |
19678 | 19733 | %% <<"FileFormat">> => list(any()), |
|
22618 | 22673 | %% } |
22619 | 22674 | -type delete_placement_group_request() :: #{binary() => any()}. |
22620 | 22675 |
|
| 22676 | +%% Example: |
| 22677 | +%% capacity_reservation_cancellation_quote() :: #{ |
| 22678 | +%% <<"CancellationTerms">> => list(cancellation_terms()), |
| 22679 | +%% <<"CapacityReservationCancellationQuoteId">> => string(), |
| 22680 | +%% <<"CapacityReservationId">> => string(), |
| 22681 | +%% <<"CreateTime">> => non_neg_integer(), |
| 22682 | +%% <<"CurrentConfiguration">> => capacity_reservation_configuration(), |
| 22683 | +%% <<"ExpirationTime">> => non_neg_integer(), |
| 22684 | +%% <<"QuoteState">> => list(any()), |
| 22685 | +%% <<"Tags">> => list(tag()) |
| 22686 | +%% } |
| 22687 | +-type capacity_reservation_cancellation_quote() :: #{binary() => any()}. |
| 22688 | + |
22621 | 22689 | %% Example: |
22622 | 22690 | %% instance_network_interface_specification() :: #{ |
22623 | 22691 | %% <<"AssociateCarrierIpAddress">> => boolean(), |
@@ -24217,10 +24285,16 @@ cancel_bundle_task(Client, Input, Options) |
24217 | 24285 | %% |
24218 | 24286 | %% `assessing' |
24219 | 24287 | %% |
| 24288 | +%% `scheduled' |
| 24289 | +%% |
24220 | 24290 | %% `active' and there is no commitment duration or the commitment |
24221 | | -%% duration has elapsed. You can't cancel a future-dated Capacity |
24222 | | -%% Reservation |
24223 | | -%% during the commitment duration. |
| 24291 | +%% duration has elapsed. |
| 24292 | +%% |
| 24293 | +%% `active' during the commitment duration, if you provide a |
| 24294 | +%% cancellation quote ID and accept the cancellation charges. Use |
| 24295 | +%% `CreateCapacityReservationCancellationQuote' to generate a quote. |
| 24296 | +%% The Capacity Reservation transitions to `cancelling' while charges |
| 24297 | +%% are applied. |
24224 | 24298 | %% |
24225 | 24299 | %% You can't modify or cancel a Capacity Block. For more information, see |
24226 | 24300 | %% Capacity Blocks for ML: |
@@ -24780,6 +24854,28 @@ create_capacity_reservation_by_splitting(Client, Input, Options) |
24780 | 24854 | when is_map(Client), is_map(Input), is_list(Options) -> |
24781 | 24855 | request(Client, <<"CreateCapacityReservationBySplitting">>, Input, Options). |
24782 | 24856 |
|
| 24857 | +%% @doc Generates a cancellation quote for a future-dated Capacity |
| 24858 | +%% Reservation that is |
| 24859 | +%% within its commitment duration. |
| 24860 | +%% |
| 24861 | +%% The quote includes the cancellation terms and a quote ID |
| 24862 | +%% that you can pass to the `CancelCapacityReservation' action. |
| 24863 | +%% Cancellation |
| 24864 | +%% quotes are valid for 24 hours. |
| 24865 | +-spec create_capacity_reservation_cancellation_quote(aws_client:aws_client(), create_capacity_reservation_cancellation_quote_request()) -> |
| 24866 | + {ok, create_capacity_reservation_cancellation_quote_result(), tuple()} | |
| 24867 | + {error, any()}. |
| 24868 | +create_capacity_reservation_cancellation_quote(Client, Input) |
| 24869 | + when is_map(Client), is_map(Input) -> |
| 24870 | + create_capacity_reservation_cancellation_quote(Client, Input, []). |
| 24871 | + |
| 24872 | +-spec create_capacity_reservation_cancellation_quote(aws_client:aws_client(), create_capacity_reservation_cancellation_quote_request(), proplists:proplist()) -> |
| 24873 | + {ok, create_capacity_reservation_cancellation_quote_result(), tuple()} | |
| 24874 | + {error, any()}. |
| 24875 | +create_capacity_reservation_cancellation_quote(Client, Input, Options) |
| 24876 | + when is_map(Client), is_map(Input), is_list(Options) -> |
| 24877 | + request(Client, <<"CreateCapacityReservationCancellationQuote">>, Input, Options). |
| 24878 | + |
24783 | 24879 | %% @doc Creates a Capacity Reservation Fleet. |
24784 | 24880 | %% |
24785 | 24881 | %% For more information, see Create a |
@@ -29925,6 +30021,25 @@ describe_capacity_reservation_billing_requests(Client, Input, Options) |
29925 | 30021 | when is_map(Client), is_map(Input), is_list(Options) -> |
29926 | 30022 | request(Client, <<"DescribeCapacityReservationBillingRequests">>, Input, Options). |
29927 | 30023 |
|
| 30024 | +%% @doc Describes one or more Capacity Reservation cancellation quotes. |
| 30025 | +%% |
| 30026 | +%% The results describe |
| 30027 | +%% only the quotes that you have previously generated by using the |
| 30028 | +%% `CreateCapacityReservationCancellationQuote' action. |
| 30029 | +-spec describe_capacity_reservation_cancellation_quotes(aws_client:aws_client(), describe_capacity_reservation_cancellation_quotes_request()) -> |
| 30030 | + {ok, describe_capacity_reservation_cancellation_quotes_result(), tuple()} | |
| 30031 | + {error, any()}. |
| 30032 | +describe_capacity_reservation_cancellation_quotes(Client, Input) |
| 30033 | + when is_map(Client), is_map(Input) -> |
| 30034 | + describe_capacity_reservation_cancellation_quotes(Client, Input, []). |
| 30035 | + |
| 30036 | +-spec describe_capacity_reservation_cancellation_quotes(aws_client:aws_client(), describe_capacity_reservation_cancellation_quotes_request(), proplists:proplist()) -> |
| 30037 | + {ok, describe_capacity_reservation_cancellation_quotes_result(), tuple()} | |
| 30038 | + {error, any()}. |
| 30039 | +describe_capacity_reservation_cancellation_quotes(Client, Input, Options) |
| 30040 | + when is_map(Client), is_map(Input), is_list(Options) -> |
| 30041 | + request(Client, <<"DescribeCapacityReservationCancellationQuotes">>, Input, Options). |
| 30042 | + |
29928 | 30043 | %% @doc Describes one or more Capacity Reservation Fleets. |
29929 | 30044 | -spec describe_capacity_reservation_fleets(aws_client:aws_client(), describe_capacity_reservation_fleets_request()) -> |
29930 | 30045 | {ok, describe_capacity_reservation_fleets_result(), tuple()} | |
|
0 commit comments