{ "smithy": "1.0", "metadata": { "suppressions": [ { "id": "HttpMethodSemantics", "namespace": "*" }, { "id": "HttpResponseCodeSemantics", "namespace": "*" }, { "id": "PaginatedTrait", "namespace": "*" }, { "id": "HttpHeaderTrait", "namespace": "*" }, { "id": "HttpUriConflict", "namespace": "*" }, { "id": "Service", "namespace": "*" } ] }, "shapes": { "com.amazonaws.health#AWSHealth_20160804": { "type": "service", "version": "2016-08-04", "operations": [ { "target": "com.amazonaws.health#DescribeAffectedAccountsForOrganization" }, { "target": "com.amazonaws.health#DescribeAffectedEntities" }, { "target": "com.amazonaws.health#DescribeAffectedEntitiesForOrganization" }, { "target": "com.amazonaws.health#DescribeEntityAggregates" }, { "target": "com.amazonaws.health#DescribeEventAggregates" }, { "target": "com.amazonaws.health#DescribeEventDetails" }, { "target": "com.amazonaws.health#DescribeEventDetailsForOrganization" }, { "target": "com.amazonaws.health#DescribeEvents" }, { "target": "com.amazonaws.health#DescribeEventsForOrganization" }, { "target": "com.amazonaws.health#DescribeEventTypes" }, { "target": "com.amazonaws.health#DescribeHealthServiceStatusForOrganization" }, { "target": "com.amazonaws.health#DisableHealthServiceAccessForOrganization" }, { "target": "com.amazonaws.health#EnableHealthServiceAccessForOrganization" } ], "traits": { "aws.api#service": { "sdkId": "Health", "arnNamespace": "health", "cloudFormationName": "Health", "cloudTrailEventSource": "health.amazonaws.com", "endpointPrefix": "health" }, "aws.auth#sigv4": { "name": "health" }, "aws.protocols#awsJson1_1": {}, "smithy.api#documentation": "AWS Health\n \n

The AWS Health API provides programmatic access to the AWS Health information that\n appears in the AWS Personal Health Dashboard. You\n can use the API operations to get information about AWS Health events that affect your\n AWS services and resources.

\n \n \n \n

For authentication of requests, AWS Health uses the Signature Version 4 Signing\n Process.

\n

If your AWS account is part of AWS Organizations, you can use the AWS Health organizational\n view feature. This feature provides a centralized view of AWS Health events across all\n accounts in your organization. You can aggregate AWS Health events in real time to\n identify accounts in your organization that are affected by an operational event or get\n notified of security vulnerabilities. Use the organizational view API operations to enable\n this feature and return event information. For more information, see Aggregating\n AWS Health events in the AWS Health User Guide.

\n \n

When you use the AWS Health API operations to return AWS Health events, see the\n following recommendations:

\n \n
", "smithy.api#title": "AWS Health APIs and Notifications" } }, "com.amazonaws.health#AffectedEntity": { "type": "structure", "members": { "entityArn": { "target": "com.amazonaws.health#entityArn", "traits": { "smithy.api#documentation": "

The unique identifier for the entity. Format: arn:aws:health:entity-region:aws-account:entity/entity-id\n . Example: arn:aws:health:us-east-1:111222333444:entity/AVh5GGT7ul1arKr1sE1K\n

" } }, "eventArn": { "target": "com.amazonaws.health#eventArn", "traits": { "smithy.api#documentation": "

The unique identifier for the event. The event ARN has the\narn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID\n \nformat.

\n

For example, an event ARN might look like the following:

\n

\n arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456\n

" } }, "entityValue": { "target": "com.amazonaws.health#entityValue", "traits": { "smithy.api#documentation": "

The ID of the affected entity.

" } }, "entityUrl": { "target": "com.amazonaws.health#entityUrl", "traits": { "smithy.api#documentation": "

The URL of the affected entity.

" } }, "awsAccountId": { "target": "com.amazonaws.health#accountId", "traits": { "smithy.api#documentation": "

The 12-digit AWS account number that contains the affected entity.

" } }, "lastUpdatedTime": { "target": "com.amazonaws.health#timestamp", "traits": { "smithy.api#documentation": "

The most recent time that the entity was updated.

" } }, "statusCode": { "target": "com.amazonaws.health#entityStatusCode", "traits": { "smithy.api#documentation": "

The most recent status of the entity affected by the event. The possible values are\n IMPAIRED, UNIMPAIRED, and UNKNOWN.

" } }, "tags": { "target": "com.amazonaws.health#tagSet", "traits": { "smithy.api#documentation": "

A map of entity tags attached to the affected entity.

\n \n

Currently, the tags property isn't supported.

\n
" } } }, "traits": { "smithy.api#documentation": "

Information about an entity that is affected by a Health event.

" } }, "com.amazonaws.health#ConcurrentModificationException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.health#string" } }, "traits": { "smithy.api#documentation": "

\n EnableHealthServiceAccessForOrganization is already in progress. Wait for the\n action to complete before trying again. To get the current status, use the DescribeHealthServiceStatusForOrganization operation.

", "smithy.api#error": "client" } }, "com.amazonaws.health#DateTimeRange": { "type": "structure", "members": { "from": { "target": "com.amazonaws.health#timestamp", "traits": { "smithy.api#documentation": "

The starting date and time of a time range.

" } }, "to": { "target": "com.amazonaws.health#timestamp", "traits": { "smithy.api#documentation": "

The ending date and time of a time range.

" } } }, "traits": { "smithy.api#documentation": "

A range of dates and times that is used by the EventFilter and EntityFilter objects. If from is set and to is set:\n match items where the timestamp (startTime, endTime, or\n lastUpdatedTime) is between from and to\n inclusive. If from is set and to is not set: match items where\n the timestamp value is equal to or after from. If from is not set\n and to is set: match items where the timestamp value is equal to or before\n to.

" } }, "com.amazonaws.health#DescribeAffectedAccountsForOrganization": { "type": "operation", "input": { "target": "com.amazonaws.health#DescribeAffectedAccountsForOrganizationRequest" }, "output": { "target": "com.amazonaws.health#DescribeAffectedAccountsForOrganizationResponse" }, "errors": [ { "target": "com.amazonaws.health#InvalidPaginationToken" } ], "traits": { "smithy.api#documentation": "

Returns a list of accounts in the organization from AWS Organizations that are affected by the\n provided event. For more information about the different types of AWS Health events, see\n Event.

\n

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

\n \n

This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.

\n
", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "items": "affectedAccounts", "pageSize": "maxResults" } } }, "com.amazonaws.health#DescribeAffectedAccountsForOrganizationRequest": { "type": "structure", "members": { "eventArn": { "target": "com.amazonaws.health#eventArn", "traits": { "smithy.api#documentation": "

The unique identifier for the event. The event ARN has the\narn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID\n \nformat.

\n

For example, an event ARN might look like the following:

\n

\n arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456\n

", "smithy.api#required": {} } }, "nextToken": { "target": "com.amazonaws.health#nextToken", "traits": { "smithy.api#documentation": "

If the results of a search are large, only a portion of the\nresults are returned, and a nextToken pagination token is returned in the response. To\nretrieve the next batch of results, reissue the search request and include the returned token.\nWhen all results have been returned, the response does not contain a pagination token value.

" } }, "maxResults": { "target": "com.amazonaws.health#maxResults", "traits": { "smithy.api#documentation": "

The maximum number of items to return in one batch, between 10 and 100, inclusive.

" } } } }, "com.amazonaws.health#DescribeAffectedAccountsForOrganizationResponse": { "type": "structure", "members": { "affectedAccounts": { "target": "com.amazonaws.health#affectedAccountsList", "traits": { "smithy.api#documentation": "

A JSON set of elements of the affected accounts.

" } }, "eventScopeCode": { "target": "com.amazonaws.health#eventScopeCode", "traits": { "smithy.api#documentation": "

This parameter specifies if the AWS Health event is a public AWS service event or an account-specific event.

\n " } }, "nextToken": { "target": "com.amazonaws.health#nextToken", "traits": { "smithy.api#documentation": "

If the results of a search are large, only a portion of the\nresults are returned, and a nextToken pagination token is returned in the response. To\nretrieve the next batch of results, reissue the search request and include the returned token.\nWhen all results have been returned, the response does not contain a pagination token value.

" } } } }, "com.amazonaws.health#DescribeAffectedEntities": { "type": "operation", "input": { "target": "com.amazonaws.health#DescribeAffectedEntitiesRequest" }, "output": { "target": "com.amazonaws.health#DescribeAffectedEntitiesResponse" }, "errors": [ { "target": "com.amazonaws.health#InvalidPaginationToken" }, { "target": "com.amazonaws.health#UnsupportedLocale" } ], "traits": { "smithy.api#documentation": "

Returns a list of entities that have been affected by the specified events, based on the\n specified filter criteria. Entities can refer to individual customer resources, groups of\n customer resources, or any other construct, depending on the AWS service. Events that\n have impact beyond that of the affected entities, or where the extent of impact is unknown,\n include at least one entity indicating this.

\n

At least one event ARN is required. Results are sorted by the\n lastUpdatedTime of the entity, starting with the most recent.

\n \n \n \n ", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "items": "entities", "pageSize": "maxResults" } } }, "com.amazonaws.health#DescribeAffectedEntitiesForOrganization": { "type": "operation", "input": { "target": "com.amazonaws.health#DescribeAffectedEntitiesForOrganizationRequest" }, "output": { "target": "com.amazonaws.health#DescribeAffectedEntitiesForOrganizationResponse" }, "errors": [ { "target": "com.amazonaws.health#InvalidPaginationToken" }, { "target": "com.amazonaws.health#UnsupportedLocale" } ], "traits": { "smithy.api#documentation": "

Returns a list of entities that have been affected by one or more events for one or more\n accounts in your organization in AWS Organizations, based on the filter criteria. Entities can refer\n to individual customer resources, groups of customer resources, or any other construct,\n depending on the AWS service.

\n

At least one event Amazon Resource Name (ARN) and account ID are required. Results are\n sorted by the lastUpdatedTime of the entity, starting with the most\n recent.

\n

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

\n \n \n \n ", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "items": "entities", "pageSize": "maxResults" } } }, "com.amazonaws.health#DescribeAffectedEntitiesForOrganizationFailedSet": { "type": "list", "member": { "target": "com.amazonaws.health#OrganizationAffectedEntitiesErrorItem" } }, "com.amazonaws.health#DescribeAffectedEntitiesForOrganizationRequest": { "type": "structure", "members": { "organizationEntityFilters": { "target": "com.amazonaws.health#OrganizationEntityFiltersList", "traits": { "smithy.api#documentation": "

A JSON set of elements including the awsAccountId and the\n eventArn.

", "smithy.api#required": {} } }, "locale": { "target": "com.amazonaws.health#locale", "traits": { "smithy.api#documentation": "

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

" } }, "nextToken": { "target": "com.amazonaws.health#nextToken", "traits": { "smithy.api#documentation": "

If the results of a search are large, only a portion of the\nresults are returned, and a nextToken pagination token is returned in the response. To\nretrieve the next batch of results, reissue the search request and include the returned token.\nWhen all results have been returned, the response does not contain a pagination token value.

" } }, "maxResults": { "target": "com.amazonaws.health#maxResults", "traits": { "smithy.api#documentation": "

The maximum number of items to return in one batch, between 10 and 100, inclusive.

" } } } }, "com.amazonaws.health#DescribeAffectedEntitiesForOrganizationResponse": { "type": "structure", "members": { "entities": { "target": "com.amazonaws.health#EntityList", "traits": { "smithy.api#documentation": "

A JSON set of elements including the awsAccountId and its\n entityArn, entityValue and its entityArn,\n lastUpdatedTime, and statusCode.

" } }, "failedSet": { "target": "com.amazonaws.health#DescribeAffectedEntitiesForOrganizationFailedSet", "traits": { "smithy.api#documentation": "

A JSON set of elements of the failed response, including the awsAccountId,\n errorMessage, errorName, and eventArn.

" } }, "nextToken": { "target": "com.amazonaws.health#nextToken", "traits": { "smithy.api#documentation": "

If the results of a search are large, only a portion of the\nresults are returned, and a nextToken pagination token is returned in the response. To\nretrieve the next batch of results, reissue the search request and include the returned token.\nWhen all results have been returned, the response does not contain a pagination token value.

" } } } }, "com.amazonaws.health#DescribeAffectedEntitiesRequest": { "type": "structure", "members": { "filter": { "target": "com.amazonaws.health#EntityFilter", "traits": { "smithy.api#documentation": "

Values to narrow the results returned. At least one event ARN is required.

", "smithy.api#required": {} } }, "locale": { "target": "com.amazonaws.health#locale", "traits": { "smithy.api#documentation": "

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

" } }, "nextToken": { "target": "com.amazonaws.health#nextToken", "traits": { "smithy.api#documentation": "

If the results of a search are large, only a portion of the\nresults are returned, and a nextToken pagination token is returned in the response. To\nretrieve the next batch of results, reissue the search request and include the returned token.\nWhen all results have been returned, the response does not contain a pagination token value.

" } }, "maxResults": { "target": "com.amazonaws.health#maxResults", "traits": { "smithy.api#documentation": "

The maximum number of items to return in one batch, between 10 and 100, inclusive.

" } } } }, "com.amazonaws.health#DescribeAffectedEntitiesResponse": { "type": "structure", "members": { "entities": { "target": "com.amazonaws.health#EntityList", "traits": { "smithy.api#documentation": "

The entities that match the filter criteria.

" } }, "nextToken": { "target": "com.amazonaws.health#nextToken", "traits": { "smithy.api#documentation": "

If the results of a search are large, only a portion of the\nresults are returned, and a nextToken pagination token is returned in the response. To\nretrieve the next batch of results, reissue the search request and include the returned token.\nWhen all results have been returned, the response does not contain a pagination token value.

" } } } }, "com.amazonaws.health#DescribeEntityAggregates": { "type": "operation", "input": { "target": "com.amazonaws.health#DescribeEntityAggregatesRequest" }, "output": { "target": "com.amazonaws.health#DescribeEntityAggregatesResponse" }, "traits": { "smithy.api#documentation": "

Returns the number of entities that are affected by each of the specified events. If no\n events are specified, the counts of all affected entities are returned.

", "smithy.api#idempotent": {} } }, "com.amazonaws.health#DescribeEntityAggregatesRequest": { "type": "structure", "members": { "eventArns": { "target": "com.amazonaws.health#EventArnsList", "traits": { "smithy.api#documentation": "

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\"\n

" } } } }, "com.amazonaws.health#DescribeEntityAggregatesResponse": { "type": "structure", "members": { "entityAggregates": { "target": "com.amazonaws.health#EntityAggregateList", "traits": { "smithy.api#documentation": "

The number of entities that are affected by each of the specified events.

" } } } }, "com.amazonaws.health#DescribeEventAggregates": { "type": "operation", "input": { "target": "com.amazonaws.health#DescribeEventAggregatesRequest" }, "output": { "target": "com.amazonaws.health#DescribeEventAggregatesResponse" }, "errors": [ { "target": "com.amazonaws.health#InvalidPaginationToken" } ], "traits": { "smithy.api#documentation": "

Returns the number of events of each event type (issue, scheduled change, and account\n notification). If no filter is specified, the counts of all events in each category are\n returned.

\n \n

This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.

\n
", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "items": "eventAggregates", "pageSize": "maxResults" } } }, "com.amazonaws.health#DescribeEventAggregatesRequest": { "type": "structure", "members": { "filter": { "target": "com.amazonaws.health#EventFilter", "traits": { "smithy.api#documentation": "

Values to narrow the results returned.

" } }, "aggregateField": { "target": "com.amazonaws.health#eventAggregateField", "traits": { "smithy.api#documentation": "

The only currently supported value is eventTypeCategory.

", "smithy.api#required": {} } }, "maxResults": { "target": "com.amazonaws.health#maxResults", "traits": { "smithy.api#documentation": "

The maximum number of items to return in one batch, between 10 and 100, inclusive.

" } }, "nextToken": { "target": "com.amazonaws.health#nextToken", "traits": { "smithy.api#documentation": "

If the results of a search are large, only a portion of the\nresults are returned, and a nextToken pagination token is returned in the response. To\nretrieve the next batch of results, reissue the search request and include the returned token.\nWhen all results have been returned, the response does not contain a pagination token value.

" } } } }, "com.amazonaws.health#DescribeEventAggregatesResponse": { "type": "structure", "members": { "eventAggregates": { "target": "com.amazonaws.health#EventAggregateList", "traits": { "smithy.api#documentation": "

The number of events in each category that meet the optional filter criteria.

" } }, "nextToken": { "target": "com.amazonaws.health#nextToken", "traits": { "smithy.api#documentation": "

If the results of a search are large, only a portion of the\nresults are returned, and a nextToken pagination token is returned in the response. To\nretrieve the next batch of results, reissue the search request and include the returned token.\nWhen all results have been returned, the response does not contain a pagination token value.

" } } } }, "com.amazonaws.health#DescribeEventDetails": { "type": "operation", "input": { "target": "com.amazonaws.health#DescribeEventDetailsRequest" }, "output": { "target": "com.amazonaws.health#DescribeEventDetailsResponse" }, "errors": [ { "target": "com.amazonaws.health#UnsupportedLocale" } ], "traits": { "smithy.api#documentation": "

Returns detailed information about one or more specified events. Information includes\n standard event data (AWS Region, service, and so on, as returned by DescribeEvents), a detailed event description, and possible additional metadata\n that depends upon the nature of the event. Affected entities are not included. To retrieve\n the entities, use the DescribeAffectedEntities operation.

\n

If a specified event can't be retrieved, an error message is returned for that\n event.

\n \n

This operation supports resource-level permissions. You can use this operation to allow or deny access to specific AWS Health events. For more\n information, see Resource- and action-based conditions in the AWS Health User Guide.

\n
", "smithy.api#idempotent": {} } }, "com.amazonaws.health#DescribeEventDetailsFailedSet": { "type": "list", "member": { "target": "com.amazonaws.health#EventDetailsErrorItem" } }, "com.amazonaws.health#DescribeEventDetailsForOrganization": { "type": "operation", "input": { "target": "com.amazonaws.health#DescribeEventDetailsForOrganizationRequest" }, "output": { "target": "com.amazonaws.health#DescribeEventDetailsForOrganizationResponse" }, "errors": [ { "target": "com.amazonaws.health#UnsupportedLocale" } ], "traits": { "smithy.api#documentation": "

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

\n \n

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

\n
\n

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

\n \n

For more information, see Event.

\n\n \n

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

\n
", "smithy.api#idempotent": {} } }, "com.amazonaws.health#DescribeEventDetailsForOrganizationFailedSet": { "type": "list", "member": { "target": "com.amazonaws.health#OrganizationEventDetailsErrorItem" } }, "com.amazonaws.health#DescribeEventDetailsForOrganizationRequest": { "type": "structure", "members": { "organizationEventDetailFilters": { "target": "com.amazonaws.health#OrganizationEventDetailFiltersList", "traits": { "smithy.api#documentation": "

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

", "smithy.api#required": {} } }, "locale": { "target": "com.amazonaws.health#locale", "traits": { "smithy.api#documentation": "

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

" } } } }, "com.amazonaws.health#DescribeEventDetailsForOrganizationResponse": { "type": "structure", "members": { "successfulSet": { "target": "com.amazonaws.health#DescribeEventDetailsForOrganizationSuccessfulSet", "traits": { "smithy.api#documentation": "

Information about the events that could be retrieved.

" } }, "failedSet": { "target": "com.amazonaws.health#DescribeEventDetailsForOrganizationFailedSet", "traits": { "smithy.api#documentation": "

Error messages for any events that could not be retrieved.

" } } } }, "com.amazonaws.health#DescribeEventDetailsForOrganizationSuccessfulSet": { "type": "list", "member": { "target": "com.amazonaws.health#OrganizationEventDetails" } }, "com.amazonaws.health#DescribeEventDetailsRequest": { "type": "structure", "members": { "eventArns": { "target": "com.amazonaws.health#eventArnList", "traits": { "smithy.api#documentation": "

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\"\n

", "smithy.api#required": {} } }, "locale": { "target": "com.amazonaws.health#locale", "traits": { "smithy.api#documentation": "

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

" } } } }, "com.amazonaws.health#DescribeEventDetailsResponse": { "type": "structure", "members": { "successfulSet": { "target": "com.amazonaws.health#DescribeEventDetailsSuccessfulSet", "traits": { "smithy.api#documentation": "

Information about the events that could be retrieved.

" } }, "failedSet": { "target": "com.amazonaws.health#DescribeEventDetailsFailedSet", "traits": { "smithy.api#documentation": "

Error messages for any events that could not be retrieved.

" } } } }, "com.amazonaws.health#DescribeEventDetailsSuccessfulSet": { "type": "list", "member": { "target": "com.amazonaws.health#EventDetails" } }, "com.amazonaws.health#DescribeEventTypes": { "type": "operation", "input": { "target": "com.amazonaws.health#DescribeEventTypesRequest" }, "output": { "target": "com.amazonaws.health#DescribeEventTypesResponse" }, "errors": [ { "target": "com.amazonaws.health#InvalidPaginationToken" }, { "target": "com.amazonaws.health#UnsupportedLocale" } ], "traits": { "smithy.api#documentation": "

Returns the event types that meet the specified filter criteria. You can use this API\n operation to find information about the AWS Health event, such as the category, AWS\n service, and event code. The metadata for each event appears in the EventType object.

\n

If you don't specify a filter criteria, the API operation returns all event types, in no\n particular order.

\n \n

This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.

\n
", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "items": "eventTypes", "pageSize": "maxResults" } } }, "com.amazonaws.health#DescribeEventTypesRequest": { "type": "structure", "members": { "filter": { "target": "com.amazonaws.health#EventTypeFilter", "traits": { "smithy.api#documentation": "

Values to narrow the results returned.

" } }, "locale": { "target": "com.amazonaws.health#locale", "traits": { "smithy.api#documentation": "

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

" } }, "nextToken": { "target": "com.amazonaws.health#nextToken", "traits": { "smithy.api#documentation": "

If the results of a search are large, only a portion of the\nresults are returned, and a nextToken pagination token is returned in the response. To\nretrieve the next batch of results, reissue the search request and include the returned token.\nWhen all results have been returned, the response does not contain a pagination token value.

" } }, "maxResults": { "target": "com.amazonaws.health#maxResults", "traits": { "smithy.api#documentation": "

The maximum number of items to return in one batch, between 10 and 100, inclusive.

" } } } }, "com.amazonaws.health#DescribeEventTypesResponse": { "type": "structure", "members": { "eventTypes": { "target": "com.amazonaws.health#EventTypeList", "traits": { "smithy.api#documentation": "

A list of event types that match the filter criteria. Event types have a category\n (issue, accountNotification, or scheduledChange),\n a service (for example, EC2, RDS, DATAPIPELINE,\n BILLING), and a code (in the format\n AWS_SERVICE_DESCRIPTION\n ; for\n example, AWS_EC2_SYSTEM_MAINTENANCE_EVENT).

" } }, "nextToken": { "target": "com.amazonaws.health#nextToken", "traits": { "smithy.api#documentation": "

If the results of a search are large, only a portion of the\nresults are returned, and a nextToken pagination token is returned in the response. To\nretrieve the next batch of results, reissue the search request and include the returned token.\nWhen all results have been returned, the response does not contain a pagination token value.

" } } } }, "com.amazonaws.health#DescribeEvents": { "type": "operation", "input": { "target": "com.amazonaws.health#DescribeEventsRequest" }, "output": { "target": "com.amazonaws.health#DescribeEventsResponse" }, "errors": [ { "target": "com.amazonaws.health#InvalidPaginationToken" }, { "target": "com.amazonaws.health#UnsupportedLocale" } ], "traits": { "smithy.api#documentation": "

Returns information about events that meet the specified filter criteria. Events are\n returned in a summary form and do not include the detailed description, any additional\n metadata that depends on the event type, or any affected resources. To retrieve that\n information, use the DescribeEventDetails and DescribeAffectedEntities operations.

\n

If no filter criteria are specified, all events are returned. Results are sorted by\n lastModifiedTime, starting with the most recent event.

\n \n \n ", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "items": "events", "pageSize": "maxResults" } } }, "com.amazonaws.health#DescribeEventsForOrganization": { "type": "operation", "input": { "target": "com.amazonaws.health#DescribeEventsForOrganizationRequest" }, "output": { "target": "com.amazonaws.health#DescribeEventsForOrganizationResponse" }, "errors": [ { "target": "com.amazonaws.health#InvalidPaginationToken" }, { "target": "com.amazonaws.health#UnsupportedLocale" } ], "traits": { "smithy.api#documentation": "

Returns information about events across your organization in AWS Organizations. You can use\n thefilters parameter to specify the events that you want to return. Events\n are returned in a summary form and don't include the affected accounts, detailed\n description, any additional metadata that depends on the event type, or any affected\n resources. To retrieve that information, use the following operations:

\n \n

If you don't specify a filter, the\n DescribeEventsForOrganizations returns all events across your organization.\n Results are sorted by lastModifiedTime, starting with the most recent event.

\n

For more information about the different types of AWS Health events, see Event.

\n

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

\n \n

This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.

\n
", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "items": "events", "pageSize": "maxResults" } } }, "com.amazonaws.health#DescribeEventsForOrganizationRequest": { "type": "structure", "members": { "filter": { "target": "com.amazonaws.health#OrganizationEventFilter", "traits": { "smithy.api#documentation": "

Values to narrow the results returned.

" } }, "nextToken": { "target": "com.amazonaws.health#nextToken", "traits": { "smithy.api#documentation": "

If the results of a search are large, only a portion of the\nresults are returned, and a nextToken pagination token is returned in the response. To\nretrieve the next batch of results, reissue the search request and include the returned token.\nWhen all results have been returned, the response does not contain a pagination token value.

" } }, "maxResults": { "target": "com.amazonaws.health#maxResults", "traits": { "smithy.api#documentation": "

The maximum number of items to return in one batch, between 10 and 100, inclusive.

" } }, "locale": { "target": "com.amazonaws.health#locale", "traits": { "smithy.api#documentation": "

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

" } } } }, "com.amazonaws.health#DescribeEventsForOrganizationResponse": { "type": "structure", "members": { "events": { "target": "com.amazonaws.health#OrganizationEventList", "traits": { "smithy.api#documentation": "

The events that match the specified filter criteria.

" } }, "nextToken": { "target": "com.amazonaws.health#nextToken", "traits": { "smithy.api#documentation": "

If the results of a search are large, only a portion of the\nresults are returned, and a nextToken pagination token is returned in the response. To\nretrieve the next batch of results, reissue the search request and include the returned token.\nWhen all results have been returned, the response does not contain a pagination token value.

" } } } }, "com.amazonaws.health#DescribeEventsRequest": { "type": "structure", "members": { "filter": { "target": "com.amazonaws.health#EventFilter", "traits": { "smithy.api#documentation": "

Values to narrow the results returned.

" } }, "nextToken": { "target": "com.amazonaws.health#nextToken", "traits": { "smithy.api#documentation": "

If the results of a search are large, only a portion of the\nresults are returned, and a nextToken pagination token is returned in the response. To\nretrieve the next batch of results, reissue the search request and include the returned token.\nWhen all results have been returned, the response does not contain a pagination token value.

" } }, "maxResults": { "target": "com.amazonaws.health#maxResults", "traits": { "smithy.api#documentation": "

The maximum number of items to return in one batch, between 10 and 100, inclusive.

" } }, "locale": { "target": "com.amazonaws.health#locale", "traits": { "smithy.api#documentation": "

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

" } } } }, "com.amazonaws.health#DescribeEventsResponse": { "type": "structure", "members": { "events": { "target": "com.amazonaws.health#EventList", "traits": { "smithy.api#documentation": "

The events that match the specified filter criteria.

" } }, "nextToken": { "target": "com.amazonaws.health#nextToken", "traits": { "smithy.api#documentation": "

If the results of a search are large, only a portion of the\nresults are returned, and a nextToken pagination token is returned in the response. To\nretrieve the next batch of results, reissue the search request and include the returned token.\nWhen all results have been returned, the response does not contain a pagination token value.

" } } } }, "com.amazonaws.health#DescribeHealthServiceStatusForOrganization": { "type": "operation", "output": { "target": "com.amazonaws.health#DescribeHealthServiceStatusForOrganizationResponse" }, "traits": { "smithy.api#documentation": "

This operation provides status information on enabling or disabling AWS Health to work\n with your organization. To call this operation, you must sign in as an IAM user, assume\n an IAM role, or sign in as the root user (not recommended) in the organization's\n management account.

", "smithy.api#idempotent": {} } }, "com.amazonaws.health#DescribeHealthServiceStatusForOrganizationResponse": { "type": "structure", "members": { "healthServiceAccessStatusForOrganization": { "target": "com.amazonaws.health#healthServiceAccessStatusForOrganization", "traits": { "smithy.api#documentation": "

Information about the status of enabling or disabling AWS Health Organizational View in\n your organization.

\n

Valid values are ENABLED | DISABLED | PENDING.

" } } } }, "com.amazonaws.health#DisableHealthServiceAccessForOrganization": { "type": "operation", "errors": [ { "target": "com.amazonaws.health#ConcurrentModificationException" } ], "traits": { "smithy.api#documentation": "

Disables AWS Health from working with AWS Organizations. To call this operation, you must sign\n in as an AWS Identity and Access Management (IAM) user, assume an IAM role, or sign in as the root user (not\n recommended) in the organization's management account. For more information, see Aggregating\n AWS Health events in the\n AWS Health User Guide.

\n

This operation doesn't remove the service-linked role from the management account in your organization. You must use the IAM console, API, or AWS Command Line Interface (AWS CLI) to\n remove the service-linked role. For more information, see Deleting a Service-Linked Role in the\n IAM User Guide.

\n \n

You can also disable the organizational feature by using the Organizations DisableAWSServiceAccess API operation. After you call this operation,\n AWS Health stops aggregating events for all other AWS accounts in your organization.\n If you call the AWS Health API operations for organizational view, AWS Health returns\n an error. AWS Health continues to aggregate health events for your AWS\n account.

\n
", "smithy.api#idempotent": {} } }, "com.amazonaws.health#EnableHealthServiceAccessForOrganization": { "type": "operation", "errors": [ { "target": "com.amazonaws.health#ConcurrentModificationException" } ], "traits": { "smithy.api#documentation": "

Enables AWS Health to work with AWS Organizations. You can use the organizational view feature\n to aggregate events from all AWS accounts in your organization in a centralized location.

\n

This operation also creates a service-linked role for the management account in the\n organization.

\n \n

To call this operation, you must meet the following requirements:

\n \n
\n

If you don't have the required support plan, you can instead use the AWS Health console\n to enable the organizational view feature. For more information, see Aggregating\n AWS Health events in the AWS Health User Guide.

", "smithy.api#idempotent": {} } }, "com.amazonaws.health#EntityAggregate": { "type": "structure", "members": { "eventArn": { "target": "com.amazonaws.health#eventArn", "traits": { "smithy.api#documentation": "

The unique identifier for the event. The event ARN has the\narn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID\n \nformat.

\n

For example, an event ARN might look like the following:

\n

\n arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456\n

" } }, "count": { "target": "com.amazonaws.health#count", "traits": { "smithy.api#documentation": "

The number of entities that match the criteria for the specified events.

" } } }, "traits": { "smithy.api#documentation": "

The number of entities that are affected by one or more events. Returned by the DescribeEntityAggregates operation.

" } }, "com.amazonaws.health#EntityAggregateList": { "type": "list", "member": { "target": "com.amazonaws.health#EntityAggregate" } }, "com.amazonaws.health#EntityFilter": { "type": "structure", "members": { "eventArns": { "target": "com.amazonaws.health#eventArnList", "traits": { "smithy.api#documentation": "

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\"\n

", "smithy.api#required": {} } }, "entityArns": { "target": "com.amazonaws.health#entityArnList", "traits": { "smithy.api#documentation": "

A list of entity ARNs (unique identifiers).

" } }, "entityValues": { "target": "com.amazonaws.health#entityValueList", "traits": { "smithy.api#documentation": "

A list of IDs for affected entities.

" } }, "lastUpdatedTimes": { "target": "com.amazonaws.health#dateTimeRangeList", "traits": { "smithy.api#documentation": "

A list of the most recent dates and times that the entity was updated.

" } }, "tags": { "target": "com.amazonaws.health#tagFilter", "traits": { "smithy.api#documentation": "

A map of entity tags attached to the affected entity.

\n \n

Currently, the tags property isn't supported.

\n
" } }, "statusCodes": { "target": "com.amazonaws.health#entityStatusCodeList", "traits": { "smithy.api#documentation": "

A list of entity status codes (IMPAIRED, UNIMPAIRED, or\n UNKNOWN).

" } } }, "traits": { "smithy.api#documentation": "

The values to use to filter results from the EntityFilter\n operation.

" } }, "com.amazonaws.health#EntityList": { "type": "list", "member": { "target": "com.amazonaws.health#AffectedEntity" } }, "com.amazonaws.health#Event": { "type": "structure", "members": { "arn": { "target": "com.amazonaws.health#eventArn", "traits": { "smithy.api#documentation": "

The unique identifier for the event. The event ARN has the\narn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID\n \nformat.

\n

For example, an event ARN might look like the following:

\n

\n arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456\n

" } }, "service": { "target": "com.amazonaws.health#service", "traits": { "smithy.api#documentation": "

The AWS service that is affected by the event. For example, EC2, RDS.

" } }, "eventTypeCode": { "target": "com.amazonaws.health#eventTypeCode", "traits": { "smithy.api#documentation": "

The unique identifier for the event type. The format is AWS_SERVICE_DESCRIPTION\n ; for example, AWS_EC2_SYSTEM_MAINTENANCE_EVENT.

" } }, "eventTypeCategory": { "target": "com.amazonaws.health#eventTypeCategory", "traits": { "smithy.api#documentation": "

The category of the event. Possible values are issue,\n scheduledChange, and accountNotification.

" } }, "region": { "target": "com.amazonaws.health#region", "traits": { "smithy.api#documentation": "

The AWS Region name of the event.

" } }, "availabilityZone": { "target": "com.amazonaws.health#availabilityZone", "traits": { "smithy.api#documentation": "

The AWS Availability Zone of the event. For example, us-east-1a.

" } }, "startTime": { "target": "com.amazonaws.health#timestamp", "traits": { "smithy.api#documentation": "

The date and time that the event began.

" } }, "endTime": { "target": "com.amazonaws.health#timestamp", "traits": { "smithy.api#documentation": "

The date and time that the event ended.

" } }, "lastUpdatedTime": { "target": "com.amazonaws.health#timestamp", "traits": { "smithy.api#documentation": "

The most recent date and time that the event was updated.

" } }, "statusCode": { "target": "com.amazonaws.health#eventStatusCode", "traits": { "smithy.api#documentation": "

The most recent status of the event. Possible values are open,\n closed, and upcoming.

" } }, "eventScopeCode": { "target": "com.amazonaws.health#eventScopeCode", "traits": { "smithy.api#documentation": "

This parameter specifies if the AWS Health event is a public AWS service event or an account-specific event.

\n " } } }, "traits": { "smithy.api#documentation": "

Summary information about an AWS Health event.

\n

AWS Health events can be public or account-specific:

\n \n

You can determine if an event is public or account-specific by using the\n eventScopeCode parameter. For more information, see eventScopeCode.

" } }, "com.amazonaws.health#EventAccountFilter": { "type": "structure", "members": { "eventArn": { "target": "com.amazonaws.health#eventArn", "traits": { "smithy.api#documentation": "

The unique identifier for the event. The event ARN has the\narn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID\n \nformat.

\n

For example, an event ARN might look like the following:

\n

\n arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456\n

", "smithy.api#required": {} } }, "awsAccountId": { "target": "com.amazonaws.health#accountId", "traits": { "smithy.api#documentation": "

The 12-digit AWS account numbers that contains the affected entities.

" } } }, "traits": { "smithy.api#documentation": "

The values used to filter results from the DescribeEventDetailsForOrganization and DescribeAffectedEntitiesForOrganization operations.

" } }, "com.amazonaws.health#EventAggregate": { "type": "structure", "members": { "aggregateValue": { "target": "com.amazonaws.health#aggregateValue", "traits": { "smithy.api#documentation": "

The issue type for the associated count.

" } }, "count": { "target": "com.amazonaws.health#count", "traits": { "smithy.api#documentation": "

The number of events of the associated issue type.

" } } }, "traits": { "smithy.api#documentation": "

The number of events of each issue type. Returned by the DescribeEventAggregates operation.

" } }, "com.amazonaws.health#EventAggregateList": { "type": "list", "member": { "target": "com.amazonaws.health#EventAggregate" } }, "com.amazonaws.health#EventArnsList": { "type": "list", "member": { "target": "com.amazonaws.health#eventArn" }, "traits": { "smithy.api#length": { "min": 1, "max": 50 } } }, "com.amazonaws.health#EventDescription": { "type": "structure", "members": { "latestDescription": { "target": "com.amazonaws.health#EventDescription2", "traits": { "smithy.api#documentation": "

The most recent description of the event.

" } } }, "traits": { "smithy.api#documentation": "

The detailed description of the event. Included in the information returned by the\n DescribeEventDetails operation.

" } }, "com.amazonaws.health#EventDescription2": { "type": "string" }, "com.amazonaws.health#EventDetails": { "type": "structure", "members": { "event": { "target": "com.amazonaws.health#Event", "traits": { "smithy.api#documentation": "

Summary information about the event.

" } }, "eventDescription": { "target": "com.amazonaws.health#EventDescription", "traits": { "smithy.api#documentation": "

The most recent description of the event.

" } }, "eventMetadata": { "target": "com.amazonaws.health#eventMetadata", "traits": { "smithy.api#documentation": "

Additional metadata about the event.

" } } }, "traits": { "smithy.api#documentation": "

Detailed information about an event. A combination of an Event object, an EventDescription object, and additional metadata about the event. Returned by\n the DescribeEventDetails operation.

" } }, "com.amazonaws.health#EventDetailsErrorItem": { "type": "structure", "members": { "eventArn": { "target": "com.amazonaws.health#eventArn", "traits": { "smithy.api#documentation": "

The unique identifier for the event. The event ARN has the\narn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID\n \nformat.

\n

For example, an event ARN might look like the following:

\n

\n arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456\n

" } }, "errorName": { "target": "com.amazonaws.health#string", "traits": { "smithy.api#documentation": "

The name of the error.

" } }, "errorMessage": { "target": "com.amazonaws.health#string", "traits": { "smithy.api#documentation": "

A message that describes the error.

" } } }, "traits": { "smithy.api#documentation": "

Error information returned when a DescribeEventDetails operation can't find a specified event.

" } }, "com.amazonaws.health#EventFilter": { "type": "structure", "members": { "eventArns": { "target": "com.amazonaws.health#eventArnList", "traits": { "smithy.api#documentation": "

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\"\n

" } }, "eventTypeCodes": { "target": "com.amazonaws.health#eventTypeList2", "traits": { "smithy.api#documentation": "

A list of unique identifiers for event types. For example, \"AWS_EC2_SYSTEM_MAINTENANCE_EVENT\",\"AWS_RDS_MAINTENANCE_SCHEDULED\".\n

" } }, "services": { "target": "com.amazonaws.health#serviceList", "traits": { "smithy.api#documentation": "

The AWS services associated with the event. For example, EC2, RDS.

" } }, "regions": { "target": "com.amazonaws.health#regionList", "traits": { "smithy.api#documentation": "

A list of AWS Regions.

" } }, "availabilityZones": { "target": "com.amazonaws.health#availabilityZones", "traits": { "smithy.api#documentation": "

A list of AWS Availability Zones.

" } }, "startTimes": { "target": "com.amazonaws.health#dateTimeRangeList", "traits": { "smithy.api#documentation": "

A list of dates and times that the event began.

" } }, "endTimes": { "target": "com.amazonaws.health#dateTimeRangeList", "traits": { "smithy.api#documentation": "

A list of dates and times that the event ended.

" } }, "lastUpdatedTimes": { "target": "com.amazonaws.health#dateTimeRangeList", "traits": { "smithy.api#documentation": "

A list of dates and times that the event was last updated.

" } }, "entityArns": { "target": "com.amazonaws.health#entityArnList", "traits": { "smithy.api#documentation": "

A list of entity ARNs (unique identifiers).

" } }, "entityValues": { "target": "com.amazonaws.health#entityValueList", "traits": { "smithy.api#documentation": "

A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS\n volumes (vol-426ab23e).

" } }, "eventTypeCategories": { "target": "com.amazonaws.health#eventTypeCategoryList2", "traits": { "smithy.api#documentation": "

A list of event type category codes (issue, scheduledChange,\n or accountNotification).

" } }, "tags": { "target": "com.amazonaws.health#tagFilter", "traits": { "smithy.api#documentation": "

A map of entity tags attached to the affected entity.

\n \n

Currently, the tags property isn't supported.

\n
" } }, "eventStatusCodes": { "target": "com.amazonaws.health#eventStatusCodeList", "traits": { "smithy.api#documentation": "

A list of event status codes.

" } } }, "traits": { "smithy.api#documentation": "

The values to use to filter results from the DescribeEvents and\n DescribeEventAggregates operations.

" } }, "com.amazonaws.health#EventList": { "type": "list", "member": { "target": "com.amazonaws.health#Event" } }, "com.amazonaws.health#EventType": { "type": "structure", "members": { "service": { "target": "com.amazonaws.health#service", "traits": { "smithy.api#documentation": "

The AWS service that is affected by the event. For example, EC2, RDS.

" } }, "code": { "target": "com.amazonaws.health#eventTypeCode", "traits": { "smithy.api#documentation": "

The unique identifier for the event type. The format is AWS_SERVICE_DESCRIPTION\n ; for example, AWS_EC2_SYSTEM_MAINTENANCE_EVENT.

" } }, "category": { "target": "com.amazonaws.health#eventTypeCategory", "traits": { "smithy.api#documentation": "

A list of event type category codes (issue, scheduledChange,\n or accountNotification).

" } } }, "traits": { "smithy.api#documentation": "

Contains the metadata about a type of event that is reported by AWS Health. The\n EventType shows the category, service, and the event type code of the\n event. For example, an issue might be the category, EC2 the\n service, and AWS_EC2_SYSTEM_MAINTENANCE_EVENT the event type code.

\n

You can use the DescribeEventTypes API operation to return this information\n about an event.

\n

You can also use the Amazon CloudWatch Events console to create a rule so that you can get notified or\n take action when AWS Health delivers a specific event to your AWS account. For more\n information, see Monitor for AWS Health events with Amazon CloudWatch Events in the\n AWS Health User Guide.

" } }, "com.amazonaws.health#EventType2": { "type": "string", "traits": { "smithy.api#length": { "min": 3, "max": 100 }, "smithy.api#pattern": "[^:/]{3,100}" } }, "com.amazonaws.health#EventTypeCategoryList": { "type": "list", "member": { "target": "com.amazonaws.health#eventTypeCategory" }, "traits": { "smithy.api#length": { "min": 1, "max": 10 } } }, "com.amazonaws.health#EventTypeCodeList": { "type": "list", "member": { "target": "com.amazonaws.health#eventTypeCode" }, "traits": { "smithy.api#length": { "min": 1, "max": 10 } } }, "com.amazonaws.health#EventTypeFilter": { "type": "structure", "members": { "eventTypeCodes": { "target": "com.amazonaws.health#EventTypeCodeList", "traits": { "smithy.api#documentation": "

A list of event type codes.

" } }, "services": { "target": "com.amazonaws.health#serviceList", "traits": { "smithy.api#documentation": "

The AWS services associated with the event. For example, EC2, RDS.

" } }, "eventTypeCategories": { "target": "com.amazonaws.health#EventTypeCategoryList", "traits": { "smithy.api#documentation": "

A list of event type category codes (issue, scheduledChange,\n or accountNotification).

" } } }, "traits": { "smithy.api#documentation": "

The values to use to filter results from the DescribeEventTypes\n operation.

" } }, "com.amazonaws.health#EventTypeList": { "type": "list", "member": { "target": "com.amazonaws.health#EventType" } }, "com.amazonaws.health#InvalidPaginationToken": { "type": "structure", "members": { "message": { "target": "com.amazonaws.health#string" } }, "traits": { "smithy.api#documentation": "

The specified pagination token (nextToken) is not valid.

", "smithy.api#error": "client" } }, "com.amazonaws.health#OrganizationAffectedEntitiesErrorItem": { "type": "structure", "members": { "awsAccountId": { "target": "com.amazonaws.health#accountId", "traits": { "smithy.api#documentation": "

The 12-digit AWS account numbers that contains the affected entities.

" } }, "eventArn": { "target": "com.amazonaws.health#eventArn", "traits": { "smithy.api#documentation": "

The unique identifier for the event. The event ARN has the\narn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID\n \nformat.

\n

For example, an event ARN might look like the following:

\n

\n arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456\n

" } }, "errorName": { "target": "com.amazonaws.health#string", "traits": { "smithy.api#documentation": "

The name of the error.

" } }, "errorMessage": { "target": "com.amazonaws.health#string", "traits": { "smithy.api#documentation": "

The unique identifier for the event type. The format is\n AWS_SERVICE_DESCRIPTION. For example,\n AWS_EC2_SYSTEM_MAINTENANCE_EVENT.

" } } }, "traits": { "smithy.api#documentation": "

Error information returned when a DescribeAffectedEntitiesForOrganization operation can't find or process a\n specific entity.

" } }, "com.amazonaws.health#OrganizationEntityFiltersList": { "type": "list", "member": { "target": "com.amazonaws.health#EventAccountFilter" }, "traits": { "smithy.api#length": { "min": 1, "max": 10 } } }, "com.amazonaws.health#OrganizationEvent": { "type": "structure", "members": { "arn": { "target": "com.amazonaws.health#eventArn", "traits": { "smithy.api#documentation": "

The unique identifier for the event. The event ARN has the\narn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID\n \nformat.

\n

For example, an event ARN might look like the following:

\n

\n arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456\n

" } }, "service": { "target": "com.amazonaws.health#service", "traits": { "smithy.api#documentation": "

The AWS service that is affected by the event, such as EC2 and RDS.

" } }, "eventTypeCode": { "target": "com.amazonaws.health#eventTypeCode", "traits": { "smithy.api#documentation": "

The unique identifier for the event type. The format is\n AWS_SERVICE_DESCRIPTION. For example,\n AWS_EC2_SYSTEM_MAINTENANCE_EVENT.

" } }, "eventTypeCategory": { "target": "com.amazonaws.health#eventTypeCategory", "traits": { "smithy.api#documentation": "

The category of the event type.

" } }, "eventScopeCode": { "target": "com.amazonaws.health#eventScopeCode", "traits": { "smithy.api#documentation": "

This parameter specifies if the AWS Health event is a public AWS service event or an account-specific event.

\n " } }, "region": { "target": "com.amazonaws.health#region", "traits": { "smithy.api#documentation": "

The AWS Region name of the event.

" } }, "startTime": { "target": "com.amazonaws.health#timestamp", "traits": { "smithy.api#documentation": "

The date and time that the event began.

" } }, "endTime": { "target": "com.amazonaws.health#timestamp", "traits": { "smithy.api#documentation": "

The date and time that the event ended.

" } }, "lastUpdatedTime": { "target": "com.amazonaws.health#timestamp", "traits": { "smithy.api#documentation": "

The most recent date and time that the event was updated.

" } }, "statusCode": { "target": "com.amazonaws.health#eventStatusCode", "traits": { "smithy.api#documentation": "

The most recent status of the event. Possible values are open,\n closed, and upcoming.

" } } }, "traits": { "smithy.api#documentation": "

Summary information about an event, returned by the DescribeEventsForOrganization operation.

" } }, "com.amazonaws.health#OrganizationEventDetailFiltersList": { "type": "list", "member": { "target": "com.amazonaws.health#EventAccountFilter" }, "traits": { "smithy.api#length": { "min": 1, "max": 10 } } }, "com.amazonaws.health#OrganizationEventDetails": { "type": "structure", "members": { "awsAccountId": { "target": "com.amazonaws.health#accountId", "traits": { "smithy.api#documentation": "

The 12-digit AWS account numbers that contains the affected entities.

" } }, "event": { "target": "com.amazonaws.health#Event" }, "eventDescription": { "target": "com.amazonaws.health#EventDescription" }, "eventMetadata": { "target": "com.amazonaws.health#eventMetadata", "traits": { "smithy.api#documentation": "

Additional metadata about the event.

" } } }, "traits": { "smithy.api#documentation": "

Detailed information about an event. A combination of an Event object, an EventDescription object, and additional metadata about the event. Returned by\n the DescribeEventDetailsForOrganization operation.

" } }, "com.amazonaws.health#OrganizationEventDetailsErrorItem": { "type": "structure", "members": { "awsAccountId": { "target": "com.amazonaws.health#accountId", "traits": { "smithy.api#documentation": "

Error information returned when a DescribeEventDetailsForOrganization operation can't find a specified\n event.

" } }, "eventArn": { "target": "com.amazonaws.health#eventArn", "traits": { "smithy.api#documentation": "

The unique identifier for the event. The event ARN has the\narn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID\n \nformat.

\n

For example, an event ARN might look like the following:

\n

\n arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456\n

" } }, "errorName": { "target": "com.amazonaws.health#string", "traits": { "smithy.api#documentation": "

The name of the error.

" } }, "errorMessage": { "target": "com.amazonaws.health#string", "traits": { "smithy.api#documentation": "

A message that describes the error.

\n

If you call the DescribeEventDetailsForOrganization\noperation and receive one of the following errors, follow the recommendations in the message:

\n " } } }, "traits": { "smithy.api#documentation": "

Error information returned when a DescribeEventDetailsForOrganization operation can't find a specified\n event.

" } }, "com.amazonaws.health#OrganizationEventFilter": { "type": "structure", "members": { "eventTypeCodes": { "target": "com.amazonaws.health#eventTypeList2", "traits": { "smithy.api#documentation": "

A list of unique identifiers for event types. For example, \"AWS_EC2_SYSTEM_MAINTENANCE_EVENT\",\"AWS_RDS_MAINTENANCE_SCHEDULED\".\n

" } }, "awsAccountIds": { "target": "com.amazonaws.health#awsAccountIdsList", "traits": { "smithy.api#documentation": "

A list of 12-digit AWS account numbers that contains the affected entities.

" } }, "services": { "target": "com.amazonaws.health#serviceList", "traits": { "smithy.api#documentation": "

The AWS services associated with the event. For example, EC2, RDS.

" } }, "regions": { "target": "com.amazonaws.health#regionList", "traits": { "smithy.api#documentation": "

A list of AWS Regions.

" } }, "startTime": { "target": "com.amazonaws.health#DateTimeRange" }, "endTime": { "target": "com.amazonaws.health#DateTimeRange" }, "lastUpdatedTime": { "target": "com.amazonaws.health#DateTimeRange" }, "entityArns": { "target": "com.amazonaws.health#entityArnList", "traits": { "smithy.api#documentation": "

A list of entity ARNs (unique identifiers).

" } }, "entityValues": { "target": "com.amazonaws.health#entityValueList", "traits": { "smithy.api#documentation": "

A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (vol-426ab23e).

" } }, "eventTypeCategories": { "target": "com.amazonaws.health#eventTypeCategoryList2", "traits": { "smithy.api#documentation": "

A list of event type category codes (issue, scheduledChange, or accountNotification).

" } }, "eventStatusCodes": { "target": "com.amazonaws.health#eventStatusCodeList", "traits": { "smithy.api#documentation": "

A list of event status codes.

" } } }, "traits": { "smithy.api#documentation": "

The values to filter results from the DescribeEventsForOrganization operation.

" } }, "com.amazonaws.health#OrganizationEventList": { "type": "list", "member": { "target": "com.amazonaws.health#OrganizationEvent" } }, "com.amazonaws.health#UnsupportedLocale": { "type": "structure", "members": { "message": { "target": "com.amazonaws.health#string" } }, "traits": { "smithy.api#documentation": "

The specified locale is not supported.

", "smithy.api#error": "client" } }, "com.amazonaws.health#accountId": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 12 }, "smithy.api#pattern": "^\\S+$" } }, "com.amazonaws.health#affectedAccountsList": { "type": "list", "member": { "target": "com.amazonaws.health#accountId" } }, "com.amazonaws.health#aggregateValue": { "type": "string" }, "com.amazonaws.health#availabilityZone": { "type": "string", "traits": { "smithy.api#length": { "min": 6, "max": 18 }, "smithy.api#pattern": "[a-z]{2}\\-[0-9a-z\\-]{4,16}" } }, "com.amazonaws.health#availabilityZones": { "type": "list", "member": { "target": "com.amazonaws.health#availabilityZone" } }, "com.amazonaws.health#awsAccountIdsList": { "type": "list", "member": { "target": "com.amazonaws.health#accountId" }, "traits": { "smithy.api#length": { "min": 1, "max": 50 } } }, "com.amazonaws.health#count": { "type": "integer" }, "com.amazonaws.health#dateTimeRangeList": { "type": "list", "member": { "target": "com.amazonaws.health#DateTimeRange" }, "traits": { "smithy.api#length": { "min": 1, "max": 10 } } }, "com.amazonaws.health#entityArn": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 1600 }, "smithy.api#pattern": ".{0,1600}" } }, "com.amazonaws.health#entityArnList": { "type": "list", "member": { "target": "com.amazonaws.health#entityArn" }, "traits": { "smithy.api#length": { "min": 1, "max": 100 } } }, "com.amazonaws.health#entityStatusCode": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "IMPAIRED", "name": "IMPAIRED" }, { "value": "UNIMPAIRED", "name": "UNIMPAIRED" }, { "value": "UNKNOWN", "name": "UNKNOWN" } ] } }, "com.amazonaws.health#entityStatusCodeList": { "type": "list", "member": { "target": "com.amazonaws.health#entityStatusCode" }, "traits": { "smithy.api#length": { "min": 1, "max": 3 } } }, "com.amazonaws.health#entityUrl": { "type": "string" }, "com.amazonaws.health#entityValue": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 1224 }, "smithy.api#pattern": ".{0,1224}" } }, "com.amazonaws.health#entityValueList": { "type": "list", "member": { "target": "com.amazonaws.health#entityValue" }, "traits": { "smithy.api#length": { "min": 1, "max": 100 } } }, "com.amazonaws.health#eventAggregateField": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "eventTypeCategory", "name": "EventTypeCategory" } ] } }, "com.amazonaws.health#eventArn": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 1600 }, "smithy.api#pattern": "arn:aws(-[a-z]+(-[a-z]+)?)?:health:[^:]*:[^:]*:event(?:/[\\w-]+){3}" } }, "com.amazonaws.health#eventArnList": { "type": "list", "member": { "target": "com.amazonaws.health#eventArn" }, "traits": { "smithy.api#length": { "min": 1, "max": 10 } } }, "com.amazonaws.health#eventMetadata": { "type": "map", "key": { "target": "com.amazonaws.health#metadataKey" }, "value": { "target": "com.amazonaws.health#metadataValue" } }, "com.amazonaws.health#eventScopeCode": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "PUBLIC", "name": "PUBLIC" }, { "value": "ACCOUNT_SPECIFIC", "name": "ACCOUNT_SPECIFIC" }, { "value": "NONE", "name": "NONE" } ] } }, "com.amazonaws.health#eventStatusCode": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "open", "name": "OPEN" }, { "value": "closed", "name": "CLOSED" }, { "value": "upcoming", "name": "UPCOMING" } ] } }, "com.amazonaws.health#eventStatusCodeList": { "type": "list", "member": { "target": "com.amazonaws.health#eventStatusCode" }, "traits": { "smithy.api#length": { "min": 1, "max": 6 } } }, "com.amazonaws.health#eventTypeCategory": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "issue", "name": "ISSUE" }, { "value": "accountNotification", "name": "ACCOUNT_NOTIFICATION" }, { "value": "scheduledChange", "name": "SCHEDULED_CHANGE" }, { "value": "investigation", "name": "INVESTIGATION" } ], "smithy.api#length": { "min": 3, "max": 255 } } }, "com.amazonaws.health#eventTypeCategoryList2": { "type": "list", "member": { "target": "com.amazonaws.health#eventTypeCategory" }, "traits": { "smithy.api#length": { "min": 1, "max": 10 } } }, "com.amazonaws.health#eventTypeCode": { "type": "string", "traits": { "smithy.api#length": { "min": 3, "max": 100 }, "smithy.api#pattern": "[a-zA-Z0-9\\_\\-]{3,100}" } }, "com.amazonaws.health#eventTypeList2": { "type": "list", "member": { "target": "com.amazonaws.health#EventType2" }, "traits": { "smithy.api#length": { "min": 1, "max": 10 } } }, "com.amazonaws.health#healthServiceAccessStatusForOrganization": { "type": "string" }, "com.amazonaws.health#locale": { "type": "string", "traits": { "smithy.api#length": { "min": 2, "max": 256 }, "smithy.api#pattern": ".{2,256}" } }, "com.amazonaws.health#maxResults": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 10, "max": 100 } } }, "com.amazonaws.health#metadataKey": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 32766 } } }, "com.amazonaws.health#metadataValue": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 32766 } } }, "com.amazonaws.health#nextToken": { "type": "string", "traits": { "smithy.api#length": { "min": 4, "max": 10000 }, "smithy.api#pattern": "[a-zA-Z0-9=/+_.-]{4,10000}" } }, "com.amazonaws.health#region": { "type": "string", "traits": { "smithy.api#length": { "min": 2, "max": 25 }, "smithy.api#pattern": "[^:/]{2,25}" } }, "com.amazonaws.health#regionList": { "type": "list", "member": { "target": "com.amazonaws.health#region" }, "traits": { "smithy.api#length": { "min": 1, "max": 10 } } }, "com.amazonaws.health#service": { "type": "string", "traits": { "smithy.api#length": { "min": 2, "max": 30 }, "smithy.api#pattern": "[^:/]{2,30}" } }, "com.amazonaws.health#serviceList": { "type": "list", "member": { "target": "com.amazonaws.health#service" }, "traits": { "smithy.api#length": { "min": 1, "max": 10 } } }, "com.amazonaws.health#string": { "type": "string" }, "com.amazonaws.health#tagFilter": { "type": "list", "member": { "target": "com.amazonaws.health#tagSet" }, "traits": { "smithy.api#length": { "min": 0, "max": 50 } } }, "com.amazonaws.health#tagKey": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 127 }, "smithy.api#pattern": ".{0,127}" } }, "com.amazonaws.health#tagSet": { "type": "map", "key": { "target": "com.amazonaws.health#tagKey" }, "value": { "target": "com.amazonaws.health#tagValue" }, "traits": { "smithy.api#length": { "min": 0, "max": 50 } } }, "com.amazonaws.health#tagValue": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 255 }, "smithy.api#pattern": ".{0,255}" } }, "com.amazonaws.health#timestamp": { "type": "timestamp" } } }