DescribeEventDetailsForOrganization - Amazon Health
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

DescribeEventDetailsForOrganization

Returns detailed information about one or more specified events for one or more Amazon Web Services accounts in your organization. This information includes standard event data (such as the Amazon Web Services Region and service), an event description, and (depending on the event) possible metadata. This operation doesn't return affected entities, such as the resources related to the event. To return affected entities, use the DescribeAffectedEntitiesForOrganization operation.

Note

Before you can call this operation, you must first enable Amazon Health to work with Amazon Organizations. To do this, call the EnableHealthServiceAccessForOrganization operation from your organization's management account.

When you call the DescribeEventDetailsForOrganization operation, specify the organizationEventDetailFilters object in the request. Depending on the Amazon Health event type, note the following differences:

  • To return event details for a public event, you must specify a null value for the awsAccountId parameter. If you specify an account ID for a public event, Amazon Health returns an error message because public events aren't specific to an account.

  • To return event details for an event that is specific to an account in your organization, you must specify the awsAccountId parameter in the request. If you don't specify an account ID, Amazon Health returns an error message because the event is specific to an account in your organization.

For more information, see Event.

Note

This operation doesn't support resource-level permissions. You can't use this operation to allow or deny access to specific Amazon Health events. For more information, see Resource- and action-based conditions in the Amazon Health User Guide.

Request Syntax

{ "locale": "string", "organizationEventDetailFilters": [ { "awsAccountId": "string", "eventArn": "string" } ] }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

locale

The locale (language) to return information in. English (en) is the default and the only supported value at this time.

Type: String

Length Constraints: Minimum length of 2. Maximum length of 256.

Pattern: .{2,256}

Required: No

organizationEventDetailFilters

A set of JSON elements that includes the awsAccountId and the eventArn.

Type: Array of EventAccountFilter objects

Array Members: Minimum number of 1 item. Maximum number of 10 items.

Required: Yes

Response Syntax

{ "failedSet": [ { "awsAccountId": "string", "errorMessage": "string", "errorName": "string", "eventArn": "string" } ], "successfulSet": [ { "awsAccountId": "string", "event": { "arn": "string", "availabilityZone": "string", "endTime": number, "eventScopeCode": "string", "eventTypeCategory": "string", "eventTypeCode": "string", "lastUpdatedTime": number, "region": "string", "service": "string", "startTime": number, "statusCode": "string" }, "eventDescription": { "latestDescription": "string" }, "eventMetadata": { "string" : "string" } } ] }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

failedSet

Error messages for any events that could not be retrieved.

Type: Array of OrganizationEventDetailsErrorItem objects

successfulSet

Information about the events that could be retrieved.

Type: Array of OrganizationEventDetails objects

Errors

For information about the errors that are common to all actions, see Common Errors.

UnsupportedLocale

The specified locale is not supported.

HTTP Status Code: 400