describe_application_status_checks
¶
describe_application_status_checks(
*,
config_overrides: Optional[EC2ClientConfig] = None,
application_status_check_ids: Optional[ApplicationStatusCheckIdList] = None,
filters: Optional[FilterList] = None,
max_results: Optional[DescribeApplicationStatusChecksMaxResults] = None,
next_token: Optional[String] = None,
include_all: Optional[Boolean] = None,
dry_run: Optional[Boolean] = None,
) -> DescribeApplicationStatusChecksResult
Describes application status checks, including configuration details such as protocol, port, path, thresholds, and associations. Results are paginated. Use the NextToken parameter to retrieve additional results. The following rules apply:
-
If you do not specify any application status check IDs, all checks in your account are returned.
-
Use
DescribeApplicationStatusto see the actual health status of instances.
Parameters:
-
application_status_check_ids(Optional[ApplicationStatusCheckIdList], default:None) –The IDs of the application status checks to describe.
-
filters(Optional[FilterList], default:None) –The filters.
-
aggregation– The aggregation setting. Valid values:includedandexcluded.
-
-
max_results(Optional[DescribeApplicationStatusChecksMaxResults], 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 returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
-
include_all(Optional[Boolean], default:None) –Specifies whether to include recently deleted application status checks that remain available during the deletion grace period. If you omit this parameter or set it to
false, the response includes only active checks. -
dry_run(Optional[Boolean], default:None) –Checks whether you have the required permissions for the operation, 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.
Examples:
To describe application status checks This example describes the specified application status checks.
>>> client.describe_application_status_checks(application_status_check_ids=['asc-0123456789abcdef0'])
To describe application status checks using filters
This example uses a filter to describe application status checks included in aggregation.
>>> client.describe_application_status_checks(filters=[{'Name': 'aggregation', 'Values': ['included']}], max_results=10)
Source code in docs_src/capo_ec2/_services/ec2.py
21606 21607 21608 21609 21610 21611 21612 21613 21614 21615 21616 21617 21618 21619 21620 21621 21622 21623 21624 21625 21626 21627 21628 21629 21630 21631 21632 21633 21634 21635 21636 21637 21638 21639 21640 21641 21642 21643 21644 21645 21646 21647 21648 21649 21650 21651 21652 21653 21654 21655 21656 21657 21658 21659 21660 21661 21662 21663 21664 21665 21666 21667 21668 21669 21670 21671 21672 21673 21674 21675 21676 21677 21678 21679 21680 21681 21682 | |