describe_affected_entities_for_organization
async
¶
describe_affected_entities_for_organization(
*,
config_overrides: Optional[AsyncHealthClientConfig] = None,
organization_entity_filters: Optional[OrganizationEntityFiltersList] = None,
locale: Optional[locale] = None,
next_token: Optional[nextToken] = None,
max_results: Optional[maxResultsLowerRange] = None,
organization_entity_account_filters: Optional[
OrganizationEntityAccountFiltersList
] = None,
) -> DescribeAffectedEntitiesForOrganizationResponse
Returns a list of entities that have been affected by one or more events for one or more accounts in your organization in Organizations, based on the filter criteria. Entities can refer to individual customer resources, groups of customer resources, or any other construct, depending on the Amazon Web Services service.
At least one event Amazon Resource Name (ARN) and account ID are required.
Before you can call this operation, you must first enable Health to work with Organizations. To do this, call the EnableHealthServiceAccessForOrganization operation from your organization's management account.
-
This API operation uses pagination. Specify the
nextTokenparameter in the next request to return more results. -
This operation doesn't support resource-level permissions. You can't use this operation to allow or deny access to specific Health events. For more information, see Resource- and action-based conditions in the Health User Guide.
Parameters:
-
organization_entity_filters(Optional[OrganizationEntityFiltersList], default:None) –A JSON set of elements including the
awsAccountIdand theeventArn. -
locale(Optional[locale], default:None) –The locale (language) to return information in. English (en) is the default and the only supported value at this time.
-
next_token(Optional[nextToken], default:None) –If the results of a search are large, only a portion of the results are returned, and a
nextTokenpagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value. -
max_results(Optional[maxResultsLowerRange], default:None) –The maximum number of items to return in one batch, between 1 and 100, inclusive.
-
organization_entity_account_filters(Optional[OrganizationEntityAccountFiltersList], default:None) –A JSON set of elements including the
awsAccountId,eventArnand a set ofstatusCodes.
Raises:
-
InvalidPaginationToken–The specified pagination token (
nextToken) is not valid. -
UnsupportedLocale–The specified locale is not supported.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_health/_services/async_health.py
548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 | |