describe_application_status_check_associations
async
¶
describe_application_status_check_associations(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
application_status_check_ids: Optional[ApplicationStatusCheckIdList] = None,
filters: Optional[FilterList] = None,
max_results: Optional[DescribeApplicationStatusCheckAssociationsMaxResults] = None,
next_token: Optional[String] = None,
dry_run: Optional[Boolean] = None,
) -> DescribeApplicationStatusCheckAssociationsResult
Describes the associations for one or more application status checks. For more information, see Application status checks. To avoid timeouts and retrieve complete results, use the pagination parameters.
The order of the elements in the response, including those within nested structures, might vary.
Parameters:
-
application_status_check_ids(Optional[ApplicationStatusCheckIdList], default:None) –The IDs of the application status checks for which to describe associations.
-
filters(Optional[FilterList], default:None) –The filters to use to limit the results.
-
association-type– The type of association. Valid values:tagandinstance-id.
-
-
max_results(Optional[DescribeApplicationStatusCheckAssociationsMaxResults], 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.
-
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 check associations This example describes instance ID associations for the specified application status check.
>>> await client.describe_application_status_check_associations(application_status_check_ids=['asc-0123456789abcdef0'], filters=[{'Name': 'association-type', 'Values': ['instance-id']}])
Source code in docs_src/capo_ec2/_services/async_ec2.py
21838 21839 21840 21841 21842 21843 21844 21845 21846 21847 21848 21849 21850 21851 21852 21853 21854 21855 21856 21857 21858 21859 21860 21861 21862 21863 21864 21865 21866 21867 21868 21869 21870 21871 21872 21873 21874 21875 21876 21877 21878 21879 21880 21881 21882 21883 21884 21885 21886 21887 21888 21889 21890 21891 21892 21893 21894 21895 21896 21897 21898 21899 21900 21901 21902 21903 21904 21905 21906 21907 21908 | |