describe_application_status_check_associations
¶
describe_application_status_check_associations(
*,
config_overrides: Optional[EC2ClientConfig] = 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.
>>> 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/ec2.py
21535 21536 21537 21538 21539 21540 21541 21542 21543 21544 21545 21546 21547 21548 21549 21550 21551 21552 21553 21554 21555 21556 21557 21558 21559 21560 21561 21562 21563 21564 21565 21566 21567 21568 21569 21570 21571 21572 21573 21574 21575 21576 21577 21578 21579 21580 21581 21582 21583 21584 21585 21586 21587 21588 21589 21590 21591 21592 21593 21594 21595 21596 21597 21598 21599 21600 21601 21602 21603 21604 | |