describe_application_status_checks
async
¶
describe_application_status_checks(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = 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.
>>> await 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.
>>> await client.describe_application_status_checks(filters=[{'Name': 'aggregation', 'Values': ['included']}], max_results=10)
Source code in docs_src/capo_ec2/_services/async_ec2.py
21910 21911 21912 21913 21914 21915 21916 21917 21918 21919 21920 21921 21922 21923 21924 21925 21926 21927 21928 21929 21930 21931 21932 21933 21934 21935 21936 21937 21938 21939 21940 21941 21942 21943 21944 21945 21946 21947 21948 21949 21950 21951 21952 21953 21954 21955 21956 21957 21958 21959 21960 21961 21962 21963 21964 21965 21966 21967 21968 21969 21970 21971 21972 21973 21974 21975 21976 21977 21978 21979 21980 21981 21982 21983 21984 21985 21986 21987 | |