describe_capacity_block_status
async
¶
describe_capacity_block_status(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
capacity_block_ids: Optional[CapacityBlockIds] = None,
next_token: Optional[String] = None,
max_results: Optional[DescribeCapacityBlockStatusMaxResults] = None,
filters: Optional[FilterList] = None,
dry_run: Optional[Boolean] = None,
) -> DescribeCapacityBlockStatusResult
Describes the availability of capacity for the specified Capacity blocks, or all of your Capacity Blocks.
Parameters:
-
capacity_block_ids(Optional[CapacityBlockIds], default:None) –The ID of the Capacity Block.
-
next_token(Optional[String], default:None) –The token to use to retrieve the next page of results.
-
max_results(Optional[DescribeCapacityBlockStatusMaxResults], 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.
-
interconnect-status- The status of the interconnect for the Capacity Block (ok|impaired|insufficient-data).
-
-
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/async_ec2.py
22725 22726 22727 22728 22729 22730 22731 22732 22733 22734 22735 22736 22737 22738 22739 22740 22741 22742 22743 22744 22745 22746 22747 22748 22749 22750 22751 22752 22753 22754 22755 22756 22757 22758 22759 22760 22761 22762 22763 22764 22765 22766 22767 22768 22769 22770 22771 22772 22773 22774 22775 22776 22777 22778 22779 22780 22781 22782 22783 22784 22785 22786 22787 22788 | |