describe_capacity_block_extension_history
¶
describe_capacity_block_extension_history(
*,
config_overrides: Optional[EC2ClientConfig] = None,
capacity_reservation_ids: Optional[CapacityReservationIdSet] = None,
next_token: Optional[String] = None,
max_results: Optional[DescribeFutureCapacityMaxResults] = None,
filters: Optional[FilterList] = None,
dry_run: Optional[Boolean] = None,
) -> DescribeCapacityBlockExtensionHistoryResult
Describes the events for the specified Capacity Block extension during the specified time.
Parameters:
-
capacity_reservation_ids(Optional[CapacityReservationIdSet], default:None) –The IDs of Capacity Block reservations that you want to display the history for.
-
next_token(Optional[String], default:None) –The token to use to retrieve the next page of results.
-
max_results(Optional[DescribeFutureCapacityMaxResults], 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.
-
filters(Optional[FilterList], default:None) –One or more filters
-
availability-zone- The Availability Zone of the extension. -
availability-zone-id- The Availability Zone ID of the extension. -
capacity-block-extension-offering-id- The ID of the extension offering. -
capacity-block-extension-status- The status of the extension (payment-pending|payment-failed|payment-succeeded). -
capacity-reservation-id- The reservation ID of the extension. -
instance-type- The instance type of the extension.
-
-
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.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/ec2.py
21981 21982 21983 21984 21985 21986 21987 21988 21989 21990 21991 21992 21993 21994 21995 21996 21997 21998 21999 22000 22001 22002 22003 22004 22005 22006 22007 22008 22009 22010 22011 22012 22013 22014 22015 22016 22017 22018 22019 22020 22021 22022 22023 22024 22025 22026 22027 22028 22029 22030 22031 22032 22033 22034 22035 22036 22037 22038 22039 22040 22041 22042 22043 | |