Skip to main content

affected_accounts_for_organizations

Creates, updates, deletes, gets or lists an affected_accounts_for_organizations resource.

Overview

Nameaffected_accounts_for_organizations
TypeResource
Idaws.health.affected_accounts_for_organizations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
affected_accountstringA JSON set of elements of the affected accounts.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_affected_accounts_for_organizationselectregionReturns a list of accounts in the organization from Organizations that are affected by the provided event. For more information about the different types of Health events, see Event. 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 nextToken parameter in the next request to return more results.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Returns a list of accounts in the organization from Organizations that are affected by the provided event. For more information about the different types of Health events, see Event. 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 nextToken parameter in the next request to return more results.

SELECT
affected_account
FROM aws.health.affected_accounts_for_organizations
WHERE region = '{{ region }}' -- required
;