openapi: 3.0.0
info:
version: 2016-08-04
x-release: v4
title: AWS Health APIs and Notifications
description:
The Health API provides programmatic access to the Health information that appears in the Personal Health Dashboard. You can use the API operations to get information about events that might affect your Amazon Web Services services and resources.
You must have a Business,
Enterprise On-Ramp, or Enterprise Support plan from Amazon Web Services Support to use the Health API. If you call the Health API from an Amazon
Web Services account that doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, you receive a SubscriptionRequiredException error.
You can use the Health endpoint health.us-east-1.amazonaws.com (HTTPS) to call the Health API operations. Health supports a multi-Region application architecture and has two regional endpoints in an active-passive configuration. You can use the high availability endpoint example to determine which Amazon Web Services Region is active, so that you can get the latest information from the API. For more information, see Accessing the Health API in the Health User Guide.
For authentication of requests, Health uses the Signature Version 4 Signing Process.
If your Amazon Web Services account is part of Organizations, you can use the Health organizational view feature. This feature provides a centralized view of Health events across all accounts in your organization. You can aggregate Health events in real time to identify accounts in your organization that are affected by an operational event or get notified of security vulnerabilities. Use the organizational view API operations to enable this feature and return event information. For more information, see Aggregating Health events in the Health User Guide.
When you use the Health API operations to return Health events, see the following recommendations:
Use the eventScopeCode parameter to specify whether to return Health events that are public or account-specific.
Use pagination to view all events from the response. For example, if you call the DescribeEventsForOrganization operation to get all
events in your organization, you might receive several page results. Specify the nextToken in the next request to return more results.
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.
Returns a list of entities that have been affected by the specified events, based on the specified filter criteria. Entities can refer to individual customer resources, groups of customer resources, or any other construct, depending on the Amazon Web Services service. Events that have impact beyond that of the affected entities, or where the extent of impact is unknown, include at least one entity indicating this.
At least one event ARN is required.
This API operation uses pagination. Specify the nextToken
parameter in the next request to return more results.
This operation supports resource-level permissions. You can 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.
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 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.
Returns the number of events of each event type (issue, scheduled change, and account notification). If no filter is specified, the counts of all events in each category are returned.
This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.
Returns detailed information about one or more specified events. Information includes standard event data (Amazon Web Services Region, service, and so on, as returned by DescribeEvents), a detailed event description, and possible additional metadata that depends upon the nature of the event. Affected entities are not included. To retrieve the entities, use the DescribeAffectedEntities operation.
If a specified event can't be retrieved, an error message is returned for that event.
This operation supports resource-level permissions. You can 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.
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.
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.
When you call the DescribeEventDetailsForOrganization operation, specify the organizationEventDetailFilters object in the request.
Depending on the 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, 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, Health returns an
error message because the event is specific to an account in your organization.
For more information, see Event.
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.
Returns the event types that meet the specified filter criteria. You can use this API operation to find information about the Health event, such as the category, Amazon Web Services service, and event code. The metadata for each event appears in the EventType object.
If you don't specify a filter criteria, the API operation returns all event types, in no particular order.
This API operation uses pagination. Specify the
nextToken parameter in the next request to return more results.
Returns information about events that meet the specified filter criteria. Events are returned in a summary form and do not include the detailed description, any additional metadata that depends on the event type, or any affected resources. To retrieve that information, use the DescribeEventDetails and DescribeAffectedEntities operations.
If no filter criteria are specified, all events
are returned. Results are sorted by lastModifiedTime, starting with the most recent event.
When you call the DescribeEvents operation and
specify an entity for the entityValues parameter, Health might return public events that aren't specific to that resource. For example, if you call DescribeEvents and
specify an ID for an Amazon Elastic Compute Cloud (Amazon EC2) instance, Health might return events that aren't specific to that resource or service. To get events that are specific to a
service, use the services parameter in the filter object. For more information, see Event.
This API operation uses pagination. Specify the nextToken parameter in
the next request to return more results.
Returns information about events across your organization in Organizations. You can use thefilters parameter to specify the events that you want to return. Events
are returned in a summary form and don't include the affected accounts, detailed description, any additional metadata that depends on the event type, or any affected resources. To retrieve
that information, use the following operations:
If you don't
specify a filter, the DescribeEventsForOrganizations returns all events across your organization. Results are sorted by lastModifiedTime, starting with
the most recent 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.
Disables Health from working with Organizations. To call this operation, you must sign in as an Identity and Access Management (IAM) user, assume an IAM role, or sign in as the root user (not recommended) in the organization's management account. For more information, see Aggregating Health events in the Health User Guide.
This operation doesn't remove the service-linked role from the management account in your organization. You must use the IAM console, API, or Command Line Interface (CLI) to remove the service-linked role. For more information, see Deleting a Service-Linked Role in the IAM User Guide.
You can also disable the organizational feature by using the Organizations DisableAWSServiceAccess API operation. After you call this operation, Health stops aggregating events for all other Amazon Web Services accounts in your organization. If you call the Health API operations for organizational view, Health returns an error. Health continues to aggregate health events for your Amazon Web Services account.
Enables Health to work with Organizations. You can use the organizational view feature to aggregate events from all Amazon Web Services accounts in your organization in a centralized location.
This operation also creates a service-linked role for the management account in the organization.
To call this operation, you must meet the following requirements:
You must have a Business, Enterprise On-Ramp, or Enterprise Support plan from Amazon Web Services
Support to use the Health API. If you call the Health API from an Amazon Web Services account that doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, you receive a
SubscriptionRequiredException error.
You must have permission to call this operation from the organization's management account. For example IAM policies, see Health identity-based policy examples.
If you don't have the required support plan, you can instead use the Health console to enable the organizational view feature. For more information, see Aggregating Health events in the Health User Guide.
responses: "200": description: Success "480": description: ConcurrentModificationException content: application/json: schema: $ref: "#/components/schemas/ConcurrentModificationException" examples: EnableHealthServiceAccessForOrganization480Example: summary: Default EnableHealthServiceAccessForOrganization 480 response x-microcks-default: true value: eventArn: arn:aws:health:us-east-1::event/EC2/AWS_EC2_INSTANCE_ISSUE/abc statusCode: open parameters: - name: X-Amz-Target in: header required: true schema: type: string enum: - AWSHealth_20160804.EnableHealthServiceAccessForOrganization summary: Amazon Health Dashboard Enable Health Service Access for Organization x-microcks-operation: delay: 0 dispatcher: FALLBACK parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" components: parameters: X-Amz-Content-Sha256: name: X-Amz-Content-Sha256 in: header schema: type: string required: false X-Amz-Date: name: X-Amz-Date in: header schema: type: string required: false X-Amz-Algorithm: name: X-Amz-Algorithm in: header schema: type: string required: false X-Amz-Credential: name: X-Amz-Credential in: header schema: type: string required: false X-Amz-Security-Token: name: X-Amz-Security-Token in: header schema: type: string required: false X-Amz-Signature: name: X-Amz-Signature in: header schema: type: string required: false X-Amz-SignedHeaders: name: X-Amz-SignedHeaders in: header schema: type: string required: false securitySchemes: hmac: type: apiKey name: Authorization in: header description: Amazon Signature authorization v4 x-amazon-apigateway-authtype: awsSigv4 schemas: DescribeAffectedAccountsForOrganizationResponse: type: object properties: affectedAccounts: allOf: - $ref: "#/components/schemas/affectedAccountsList" - description: A JSON set of elements of the affected accounts. eventScopeCode: allOf: - $ref: "#/components/schemas/eventScopeCode" - description:This parameter specifies if the Health event is a public Amazon Web Services service event or an account-specific event.
If the eventScopeCode
value is PUBLIC, then the affectedAccounts value is always empty.
If the eventScopeCode value is ACCOUNT_SPECIFIC,
then the affectedAccounts value lists the affected Amazon Web Services accounts in your organization. For example, if an event affects a service such as Amazon Elastic
Compute Cloud and you have Amazon Web Services accounts that use that service, those account IDs appear in the response.
If the eventScopeCode value is
NONE, then the eventArn that you specified in the request is invalid or doesn't exist.
nextToken pagination 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.
DescribeAffectedAccountsForOrganizationRequest:
type: object
required:
- eventArn
title: DescribeAffectedAccountsForOrganizationRequest
properties:
eventArn:
allOf:
- $ref: "#/components/schemas/eventArn"
- description: The unique identifier for the event. The event ARN has the arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
format.
For example, an event ARN might look like the following:
arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456
nextToken pagination 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.
maxResults:
allOf:
- $ref: "#/components/schemas/maxResults"
- description: The maximum number of items to return in one batch, between 10 and 100, inclusive.
InvalidPaginationToken: {}
DescribeAffectedEntitiesResponse:
type: object
properties:
entities:
allOf:
- $ref: "#/components/schemas/EntityList"
- description: The entities that match the filter criteria.
nextToken:
allOf:
- $ref: "#/components/schemas/nextToken"
- description: If the results of a search are large, only a portion of the results are returned, and a nextToken pagination 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.
DescribeAffectedEntitiesRequest:
type: object
required:
- filter
title: DescribeAffectedEntitiesRequest
properties:
filter:
allOf:
- $ref: "#/components/schemas/EntityFilter"
- description: Values to narrow the results returned. At least one event ARN is required.
locale:
allOf:
- $ref: "#/components/schemas/locale"
- description: The locale (language) to return information in. English (en) is the default and the only supported value at this time.
nextToken:
allOf:
- $ref: "#/components/schemas/nextToken"
- description: If the results of a search are large, only a portion of the results are returned, and a nextToken pagination 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.
maxResults:
allOf:
- $ref: "#/components/schemas/maxResults"
- description: The maximum number of items to return in one batch, between 10 and 100, inclusive.
UnsupportedLocale: {}
DescribeAffectedEntitiesForOrganizationResponse:
type: object
properties:
entities:
allOf:
- $ref: "#/components/schemas/EntityList"
- description: A JSON set of elements including the awsAccountId and its entityArn, entityValue and its entityArn,
lastUpdatedTime, and statusCode.
failedSet:
allOf:
- $ref: "#/components/schemas/DescribeAffectedEntitiesForOrganizationFailedSet"
- description: A JSON set of elements of the failed response, including the awsAccountId, errorMessage, errorName, and eventArn.
nextToken:
allOf:
- $ref: "#/components/schemas/nextToken"
- description: If the results of a search are large, only a portion of the results are returned, and a nextToken pagination 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.
DescribeAffectedEntitiesForOrganizationRequest:
type: object
required:
- organizationEntityFilters
title: DescribeAffectedEntitiesForOrganizationRequest
properties:
organizationEntityFilters:
allOf:
- $ref: "#/components/schemas/OrganizationEntityFiltersList"
- description: A JSON set of elements including the awsAccountId and the eventArn.
locale:
allOf:
- $ref: "#/components/schemas/locale"
- description: The locale (language) to return information in. English (en) is the default and the only supported value at this time.
nextToken:
allOf:
- $ref: "#/components/schemas/nextToken"
- description: If the results of a search are large, only a portion of the results are returned, and a nextToken pagination 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.
maxResults:
allOf:
- $ref: "#/components/schemas/maxResultsLowerRange"
- description: The maximum number of items to return in one batch, between 10 and 100, inclusive.
DescribeEntityAggregatesResponse:
type: object
properties:
entityAggregates:
allOf:
- $ref: "#/components/schemas/EntityAggregateList"
- description: The number of entities that are affected by each of the specified events.
DescribeEntityAggregatesRequest:
type: object
title: DescribeEntityAggregatesRequest
properties:
eventArns:
allOf:
- $ref: "#/components/schemas/EventArnsList"
- description: 'A list of event ARNs (unique identifiers). For example: "arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456",
"arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101" '
DescribeEventAggregatesResponse:
type: object
properties:
eventAggregates:
allOf:
- $ref: "#/components/schemas/EventAggregateList"
- description: The number of events in each category that meet the optional filter criteria.
nextToken:
allOf:
- $ref: "#/components/schemas/nextToken"
- description: If the results of a search are large, only a portion of the results are returned, and a nextToken pagination 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.
DescribeEventAggregatesRequest:
type: object
required:
- aggregateField
title: DescribeEventAggregatesRequest
properties:
filter:
allOf:
- $ref: "#/components/schemas/EventFilter"
- description: Values to narrow the results returned.
aggregateField:
allOf:
- $ref: "#/components/schemas/eventAggregateField"
- description: The only currently supported value is eventTypeCategory.
maxResults:
allOf:
- $ref: "#/components/schemas/maxResults"
- description: The maximum number of items to return in one batch, between 10 and 100, inclusive.
nextToken:
allOf:
- $ref: "#/components/schemas/nextToken"
- description: If the results of a search are large, only a portion of the results are returned, and a nextToken pagination 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.
DescribeEventDetailsResponse:
type: object
properties:
successfulSet:
allOf:
- $ref: "#/components/schemas/DescribeEventDetailsSuccessfulSet"
- description: Information about the events that could be retrieved.
failedSet:
allOf:
- $ref: "#/components/schemas/DescribeEventDetailsFailedSet"
- description: Error messages for any events that could not be retrieved.
DescribeEventDetailsRequest:
type: object
required:
- eventArns
title: DescribeEventDetailsRequest
properties:
eventArns:
allOf:
- $ref: "#/components/schemas/eventArnList"
- description: 'A list of event ARNs (unique identifiers). For example: "arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456",
"arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101" '
locale:
allOf:
- $ref: "#/components/schemas/locale"
- description: The locale (language) to return information in. English (en) is the default and the only supported value at this time.
DescribeEventDetailsForOrganizationResponse:
type: object
properties:
successfulSet:
allOf:
- $ref: "#/components/schemas/DescribeEventDetailsForOrganizationSuccessfulSet"
- description: Information about the events that could be retrieved.
failedSet:
allOf:
- $ref: "#/components/schemas/DescribeEventDetailsForOrganizationFailedSet"
- description: Error messages for any events that could not be retrieved.
DescribeEventDetailsForOrganizationRequest:
type: object
required:
- organizationEventDetailFilters
title: DescribeEventDetailsForOrganizationRequest
properties:
organizationEventDetailFilters:
allOf:
- $ref: "#/components/schemas/OrganizationEventDetailFiltersList"
- description: A set of JSON elements that includes the awsAccountId and the eventArn.
locale:
allOf:
- $ref: "#/components/schemas/locale"
- description: The locale (language) to return information in. English (en) is the default and the only supported value at this time.
DescribeEventTypesResponse:
type: object
properties:
eventTypes:
allOf:
- $ref: "#/components/schemas/EventTypeList"
- description: A list of event types that match the filter criteria. Event types have a category (issue, accountNotification, or scheduledChange), a
service (for example, EC2, RDS, DATAPIPELINE, BILLING), and a code (in the format AWS_SERVICE_DESCRIPTION ;
for example, AWS_EC2_SYSTEM_MAINTENANCE_EVENT).
nextToken:
allOf:
- $ref: "#/components/schemas/nextToken"
- description: If the results of a search are large, only a portion of the results are returned, and a nextToken pagination 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.
DescribeEventTypesRequest:
type: object
title: DescribeEventTypesRequest
properties:
filter:
allOf:
- $ref: "#/components/schemas/EventTypeFilter"
- description: Values to narrow the results returned.
locale:
allOf:
- $ref: "#/components/schemas/locale"
- description: The locale (language) to return information in. English (en) is the default and the only supported value at this time.
nextToken:
allOf:
- $ref: "#/components/schemas/nextToken"
- description: If the results of a search are large, only a portion of the results are returned, and a nextToken pagination 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.
maxResults:
allOf:
- $ref: "#/components/schemas/maxResults"
- description: The maximum number of items to return in one batch, between 10 and 100, inclusive.
DescribeEventsResponse:
type: object
properties:
events:
allOf:
- $ref: "#/components/schemas/EventList"
- description: The events that match the specified filter criteria.
nextToken:
allOf:
- $ref: "#/components/schemas/nextToken"
- description: If the results of a search are large, only a portion of the results are returned, and a nextToken pagination 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.
DescribeEventsRequest:
type: object
title: DescribeEventsRequest
properties:
filter:
allOf:
- $ref: "#/components/schemas/EventFilter"
- description: Values to narrow the results returned.
nextToken:
allOf:
- $ref: "#/components/schemas/nextToken"
- description: If the results of a search are large, only a portion of the results are returned, and a nextToken pagination 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.
maxResults:
allOf:
- $ref: "#/components/schemas/maxResults"
- description: The maximum number of items to return in one batch, between 10 and 100, inclusive.
locale:
allOf:
- $ref: "#/components/schemas/locale"
- description: The locale (language) to return information in. English (en) is the default and the only supported value at this time.
DescribeEventsForOrganizationResponse:
type: object
properties:
events:
allOf:
- $ref: "#/components/schemas/OrganizationEventList"
- description: The events that match the specified filter criteria.
nextToken:
allOf:
- $ref: "#/components/schemas/nextToken"
- description: If the results of a search are large, only a portion of the results are returned, and a nextToken pagination 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.
DescribeEventsForOrganizationRequest:
type: object
title: DescribeEventsForOrganizationRequest
properties:
filter:
allOf:
- $ref: "#/components/schemas/OrganizationEventFilter"
- description: Values to narrow the results returned.
nextToken:
allOf:
- $ref: "#/components/schemas/nextToken"
- description: If the results of a search are large, only a portion of the results are returned, and a nextToken pagination 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.
maxResults:
allOf:
- $ref: "#/components/schemas/maxResultsLowerRange"
- description: The maximum number of items to return in one batch, between 10 and 100, inclusive.
locale:
allOf:
- $ref: "#/components/schemas/locale"
- description: The locale (language) to return information in. English (en) is the default and the only supported value at this time.
DescribeHealthServiceStatusForOrganizationResponse:
type: object
properties:
healthServiceAccessStatusForOrganization:
allOf:
- $ref: "#/components/schemas/healthServiceAccessStatusForOrganization"
- description: Information about the status of enabling or disabling the Health organizational view feature in your organization.
Valid values are ENABLED | DISABLED |
PENDING.
arn:aws:health:entity-region:aws-account:entity/entity-id . Example: arn:aws:health:us-east-1:111222333444:entity/AVh5GGT7ul1arKr1sE1K "
eventArn:
allOf:
- $ref: "#/components/schemas/eventArn"
- description: The unique identifier for the event. The event ARN has the arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
format.
For example, an event ARN might look like the following:
arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456
IMPAIRED, UNIMPAIRED, and UNKNOWN.
tags:
allOf:
- $ref: "#/components/schemas/tagSet"
- description: A map of entity tags attached to the affected entity.
Currently, the tags property isn't supported.
from is set and to is set: match items where the timestamp (startTime, endTime, or lastUpdatedTime) is between from
and to inclusive. If from is set and to is not set: match items where the timestamp value is equal to or after from. If from is not
set and to is set: match items where the timestamp value is equal to or before to.'
nextToken:
type: string
pattern: "[a-zA-Z0-9=/+_.-]{4,10000}"
minLength: 4
maxLength: 10000
maxResults:
type: integer
minimum: 10
maximum: 100
affectedAccountsList:
type: array
items:
$ref: "#/components/schemas/accountId"
eventScopeCode:
type: string
enum:
- PUBLIC
- ACCOUNT_SPECIFIC
- NONE
OrganizationAffectedEntitiesErrorItem:
type: object
properties:
awsAccountId:
allOf:
- $ref: "#/components/schemas/accountId"
- description: The 12-digit Amazon Web Services account numbers that contains the affected entities.
eventArn:
allOf:
- $ref: "#/components/schemas/eventArn"
- description: The unique identifier for the event. The event ARN has the arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
format.
For example, an event ARN might look like the following:
arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456
AWS_SERVICE_DESCRIPTION. For example, AWS_EC2_SYSTEM_MAINTENANCE_EVENT.
description: Error information returned when a DescribeAffectedEntitiesForOrganization operation can't find or process a
specific entity.
DescribeAffectedEntitiesForOrganizationFailedSet:
type: array
items:
$ref: "#/components/schemas/OrganizationAffectedEntitiesErrorItem"
OrganizationEntityFiltersList:
type: array
items:
$ref: "#/components/schemas/EventAccountFilter"
minItems: 1
maxItems: 10
locale:
type: string
pattern: .{2,256}
minLength: 2
maxLength: 256
maxResultsLowerRange:
type: integer
minimum: 1
maximum: 100
EntityList:
type: array
items:
$ref: "#/components/schemas/AffectedEntity"
EntityFilter:
type: object
required:
- eventArns
properties:
eventArns:
allOf:
- $ref: "#/components/schemas/eventArnList"
- description: 'A list of event ARNs (unique identifiers). For example: "arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456",
"arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101" '
entityArns:
allOf:
- $ref: "#/components/schemas/entityArnList"
- description: A list of entity ARNs (unique identifiers).
entityValues:
allOf:
- $ref: "#/components/schemas/entityValueList"
- description: A list of IDs for affected entities.
lastUpdatedTimes:
allOf:
- $ref: "#/components/schemas/dateTimeRangeList"
- description: A list of the most recent dates and times that the entity was updated.
tags:
allOf:
- $ref: "#/components/schemas/tagFilter"
- description: A map of entity tags attached to the affected entity.
Currently, the tags property isn't supported.
IMPAIRED, UNIMPAIRED, or UNKNOWN).
description: The values to use to filter results from the DescribeAffectedEntities
operation.
EventArnsList:
type: array
items:
$ref: "#/components/schemas/eventArn"
minItems: 1
maxItems: 50
EntityAggregateList:
type: array
items:
$ref: "#/components/schemas/EntityAggregate"
EventFilter:
type: object
properties:
eventArns:
allOf:
- $ref: "#/components/schemas/eventArnList"
- description: 'A list of event ARNs (unique identifiers). For example: "arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456",
"arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101" '
eventTypeCodes:
allOf:
- $ref: "#/components/schemas/eventTypeList"
- description: 'A list of unique identifiers for event types. For example, "AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED". '
services:
allOf:
- $ref: "#/components/schemas/serviceList"
- description: The Amazon Web Services services associated with the event. For example, EC2, RDS.
regions:
allOf:
- $ref: "#/components/schemas/regionList"
- description: A list of Amazon Web Services Regions.
availabilityZones:
allOf:
- $ref: "#/components/schemas/availabilityZones"
- description: A list of Amazon Web Services Availability Zones.
startTimes:
allOf:
- $ref: "#/components/schemas/dateTimeRangeList"
- description: A list of dates and times that the event began.
endTimes:
allOf:
- $ref: "#/components/schemas/dateTimeRangeList"
- description: A list of dates and times that the event ended.
lastUpdatedTimes:
allOf:
- $ref: "#/components/schemas/dateTimeRangeList"
- description: A list of dates and times that the event was last updated.
entityArns:
allOf:
- $ref: "#/components/schemas/entityArnList"
- description: A list of entity ARNs (unique identifiers).
entityValues:
allOf:
- $ref: "#/components/schemas/entityValueList"
- description: A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (vol-426ab23e).
eventTypeCategories:
allOf:
- $ref: "#/components/schemas/eventTypeCategoryList"
- description: A list of event type category codes. Possible values are issue, accountNotification, or scheduledChange. Currently, the
investigation value isn't supported at this time.
tags:
allOf:
- $ref: "#/components/schemas/tagFilter"
- description: A map of entity tags attached to the affected entity.
Currently, the tags property isn't supported.
The unique identifier for the event. The event ARN has the arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
format.
For example, an event ARN might look like the following:
arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456
The unique identifier for the event. The event ARN has the arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
format.
For example, an event ARN might look like the following:
arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456
A message that describes the error.
If you call the DescribeEventDetailsForOrganization operation and receive one of the following errors, follow the
recommendations in the message:
We couldn't find a public event that matches your request. To find an event that is account specific, you must enter an Amazon Web Services account ID in the request.
We couldn't find an account specific event for the specified Amazon Web Services account. To find an event that is public, you must enter a null value for the Amazon Web Services account ID in the request.
Your Amazon Web Services account doesn't include the Amazon Web Services Support plan required to use the Health API. You must have either a Business, Enterprise On-Ramp, or Enterprise Support plan.
EC2, RDS.
eventTypeCategories:
allOf:
- $ref: "#/components/schemas/EventTypeCategoryList"
- description: A list of event type category codes. Possible values are issue, accountNotification, or scheduledChange. Currently, the
investigation value isn't supported at this time.
description: The values to use to filter results from the DescribeEventTypes operation.
EventTypeList:
type: array
items:
$ref: "#/components/schemas/EventType"
OrganizationEventFilter:
type: object
properties:
eventTypeCodes:
allOf:
- $ref: "#/components/schemas/eventTypeList"
- description: 'A list of unique identifiers for event types. For example, "AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED". '
awsAccountIds:
allOf:
- $ref: "#/components/schemas/awsAccountIdsList"
- description: A list of 12-digit Amazon Web Services account numbers that contains the affected entities.
services:
allOf:
- $ref: "#/components/schemas/serviceList"
- description: The Amazon Web Services services associated with the event. For example, EC2, RDS.
regions:
allOf:
- $ref: "#/components/schemas/regionList"
- description: A list of Amazon Web Services Regions.
startTime:
$ref: "#/components/schemas/DateTimeRange"
endTime:
$ref: "#/components/schemas/DateTimeRange"
lastUpdatedTime:
$ref: "#/components/schemas/DateTimeRange"
entityArns:
allOf:
- $ref: "#/components/schemas/entityArnList"
- description: A list of entity ARNs (unique identifiers).
entityValues:
allOf:
- $ref: "#/components/schemas/entityValueList"
- description: A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (vol-426ab23e).
eventTypeCategories:
allOf:
- $ref: "#/components/schemas/eventTypeCategoryList"
- description: A list of event type category codes. Possible values are issue, accountNotification, or scheduledChange. Currently, the
investigation value isn't supported at this time.
eventStatusCodes:
allOf:
- $ref: "#/components/schemas/eventStatusCodeList"
- description: A list of event status codes.
description: The values to filter results from the DescribeEventsForOrganization
operation.
OrganizationEventList:
type: array
items:
$ref: "#/components/schemas/OrganizationEvent"
EventList:
type: array
items:
$ref: "#/components/schemas/Event"
healthServiceAccessStatusForOrganization:
type: string
count:
type: integer
EntityAggregate:
type: object
properties:
eventArn:
allOf:
- $ref: "#/components/schemas/eventArn"
- description: The unique identifier for the event. The event ARN has the arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
format.
For example, an event ARN might look like the following:
arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456
The unique identifier for the event. The event ARN has the arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
format.
For example, an event ARN might look like the following:
arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456
EC2, RDS.
eventTypeCode:
allOf:
- $ref: "#/components/schemas/eventTypeCode"
- description: The unique identifier for the event type. The format is AWS_SERVICE_DESCRIPTION ; for example, AWS_EC2_SYSTEM_MAINTENANCE_EVENT.
eventTypeCategory:
allOf:
- $ref: "#/components/schemas/eventTypeCategory"
- description: A list of event type category codes. Possible values are issue, accountNotification, or scheduledChange. Currently, the
investigation value isn't supported at this time.
region:
allOf:
- $ref: "#/components/schemas/region"
- description: The Amazon Web Services Region name of the event.
availabilityZone:
allOf:
- $ref: "#/components/schemas/availabilityZone"
- description: The Amazon Web Services Availability Zone of the event. For example, us-east-1a.
startTime:
allOf:
- $ref: "#/components/schemas/timestamp"
- description: The date and time that the event began.
endTime:
allOf:
- $ref: "#/components/schemas/timestamp"
- description: The date and time that the event ended.
lastUpdatedTime:
allOf:
- $ref: "#/components/schemas/timestamp"
- description: The most recent date and time that the event was updated.
statusCode:
allOf:
- $ref: "#/components/schemas/eventStatusCode"
- description: The most recent status of the event. Possible values are open, closed, and upcoming.
eventScopeCode:
allOf:
- $ref: "#/components/schemas/eventScopeCode"
- description: This parameter specifies if the Health event is a public Amazon Web Services service event or an account-specific event.
If the eventScopeCode
value is PUBLIC, then the affectedAccounts value is always empty.
If the eventScopeCode value is ACCOUNT_SPECIFIC,
then the affectedAccounts value lists the affected Amazon Web Services accounts in your organization. For example, if an event affects a service such as Amazon Elastic
Compute Cloud and you have Amazon Web Services accounts that use that service, those account IDs appear in the response.
If the eventScopeCode value is
NONE, then the eventArn that you specified in the request is invalid or doesn't exist.
Summary information about an Health event.
Health events can be public or account-specific:
Public events might be service events that are not specific to an Amazon Web Services account. For example, if there is an issue with an Amazon Web Services Region, Health provides information about the event, even if you don't use services or resources in that Region.
Account-specific events are specific to either your Amazon Web Services account or an account in your organization. For example, if there's an issue with Amazon Elastic Compute Cloud in a Region that you use, Health provides information about the event and the affected resources in the account.
You can determine
if an event is public or account-specific by using the eventScopeCode parameter. For more information, see eventScopeCode.
The unique identifier for the event. The event ARN has the arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
format.
For example, an event ARN might look like the following:
arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456
EC2, RDS.
code:
allOf:
- $ref: "#/components/schemas/eventTypeCode"
- description: The unique identifier for the event type. The format is AWS_SERVICE_DESCRIPTION ; for example, AWS_EC2_SYSTEM_MAINTENANCE_EVENT.
category:
allOf:
- $ref: "#/components/schemas/eventTypeCategory"
- description: A list of event type category codes. Possible values are issue, accountNotification, or scheduledChange. Currently, the
investigation value isn't supported at this time.
description: Contains the metadata about a type of event that is reported by Health. The EventType shows the category, service, and the event type code of the event. For example,
an issue might be the category, EC2 the service, and AWS_EC2_SYSTEM_MAINTENANCE_EVENT the event type code.
You can use the DescribeEventTypes API operation to return this information about an event.
You can also use the Amazon CloudWatch Events console to create a rule so that you can get notified or take action when Health delivers a specific event to your Amazon Web Services account. For more information, see Monitor for Health events with Amazon CloudWatch Events in the Health User Guide.
EventTypeCategoryList: type: array items: $ref: "#/components/schemas/eventTypeCategory" minItems: 1 maxItems: 10 EventTypeCodeList: type: array items: $ref: "#/components/schemas/eventTypeCode" minItems: 1 maxItems: 10 OrganizationEvent: type: object properties: arn: allOf: - $ref: "#/components/schemas/eventArn" - description:The unique identifier for the event. The event ARN has the arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
format.
For example, an event ARN might look like the following:
arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456
AWS_SERVICE_DESCRIPTION. For example, AWS_EC2_SYSTEM_MAINTENANCE_EVENT.
eventTypeCategory:
allOf:
- $ref: "#/components/schemas/eventTypeCategory"
- description: A list of event type category codes. Possible values are issue, accountNotification, or scheduledChange. Currently, the
investigation value isn't supported at this time.
eventScopeCode:
allOf:
- $ref: "#/components/schemas/eventScopeCode"
- description: This parameter specifies if the Health event is a public Amazon Web Services service event or an account-specific event.
If the eventScopeCode
value is PUBLIC, then the affectedAccounts value is always empty.
If the eventScopeCode value is ACCOUNT_SPECIFIC,
then the affectedAccounts value lists the affected Amazon Web Services accounts in your organization. For example, if an event affects a service such as Amazon Elastic
Compute Cloud and you have Amazon Web Services accounts that use that service, those account IDs appear in the response.
If the eventScopeCode value is
NONE, then the eventArn that you specified in the request is invalid or doesn't exist.
open, closed, and upcoming.
description: Summary information about an event, returned by the DescribeEventsForOrganization operation.
awsAccountIdsList:
type: array
items:
$ref: "#/components/schemas/accountId"
minItems: 1
maxItems: 50
metadataValue:
type: string
maxLength: 32766
eventType:
type: string
pattern: "[^:/]{3,100}"
minLength: 3
maxLength: 100
metadataKey:
type: string
maxLength: 32766
tagKey:
type: string
pattern: .{0,127}
maxLength: 127
tagValue:
type: string
pattern: .{0,255}
maxLength: 255
security:
- hmac: []