Method: Aws::Health::Client#describe_affected_entities_for_organization
- Defined in:
- lib/aws-sdk-health/client.rb
#describe_affected_entities_for_organization(params = {}) ⇒ Types::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 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][1
-
operation from your
organization’s management account.
<note markdown=“1”> * This API operation uses pagination. Specify the ‘nextToken`
parameter 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*.
</note>
[1]: docs.aws.amazon.com/health/latest/APIReference/API_EnableHealthServiceAccessForOrganization.html [2]: docs.aws.amazon.com/health/latest/ug/security_iam_id-based-policy-examples.html#resource-action-based-conditions
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
673 674 675 676 |
# File 'lib/aws-sdk-health/client.rb', line 673 def describe_affected_entities_for_organization(params = {}, = {}) req = build_request(:describe_affected_entities_for_organization, params) req.send_request() end |