describe_capacity_reservation_cancellation_quotes
async
¶
describe_capacity_reservation_cancellation_quotes(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
capacity_reservation_cancellation_quote_ids: Optional[
CapacityReservationCancellationQuoteIdSet
] = None,
max_results: Optional[
DescribeCapacityReservationCancellationQuotesRequestMaxResults
] = None,
next_token: Optional[String] = None,
dry_run: Optional[Boolean] = None,
filters: Optional[FilterList] = None,
) -> DescribeCapacityReservationCancellationQuotesResult
Describes one or more Capacity Reservation cancellation quotes. The results describe only the quotes that you have previously generated by using the CreateCapacityReservationCancellationQuote action.
Parameters:
-
capacity_reservation_cancellation_quote_ids(Optional[CapacityReservationCancellationQuoteIdSet], default:None) –The IDs of the cancellation quotes to describe.
-
max_results(Optional[DescribeCapacityReservationCancellationQuotesRequestMaxResults], default:None) –The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
-
next_token(Optional[String], default:None) –The token to use to retrieve the next page of results.
-
dry_run(Optional[Boolean], default:None) –Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation. -
filters(Optional[FilterList], default:None) –One or more filters. Filter names and values are case-sensitive.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
23022 23023 23024 23025 23026 23027 23028 23029 23030 23031 23032 23033 23034 23035 23036 23037 23038 23039 23040 23041 23042 23043 23044 23045 23046 23047 23048 23049 23050 23051 23052 23053 23054 23055 23056 23057 23058 23059 23060 23061 23062 23063 23064 23065 23066 23067 23068 23069 23070 23071 23072 23073 23074 23075 23076 23077 23078 23079 23080 23081 23082 23083 23084 23085 23086 23087 23088 | |