describe_capacity_block_status
¶
describe_capacity_block_status(
*,
config_overrides: Optional[EC2ClientConfig] = 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/ec2.py
22408 22409 22410 22411 22412 22413 22414 22415 22416 22417 22418 22419 22420 22421 22422 22423 22424 22425 22426 22427 22428 22429 22430 22431 22432 22433 22434 22435 22436 22437 22438 22439 22440 22441 22442 22443 22444 22445 22446 22447 22448 22449 22450 22451 22452 22453 22454 22455 22456 22457 22458 22459 22460 22461 22462 22463 22464 22465 22466 22467 22468 22469 22470 | |