import type { EntityStatusCode, EventActionability, EventAggregateField, EventPersona, EventScopeCode, EventStatusCode, EventTypeActionability, EventTypeCategory, EventTypePersona } from "./enums"; /** *
The number of entities in an account that are impacted by a specific event aggregated by the entity status codes.
* @public */ export interface AccountEntityAggregate { /** *The 12-digit Amazon Web Services account numbers that contains the affected entities.
* @public */ accountId?: string | undefined; /** *The number of entities that match the filter criteria for the specified events.
* @public */ count?: number | undefined; /** *The number of affected entities aggregated by the entity status codes.
* @public */ statuses?: PartialInformation about an entity that is affected by a Health event.
* @public */ export interface AffectedEntity { /** *The unique identifier for the entity. Format: arn:aws:health:entity-region:aws-account:entity/entity-id
* . Example: arn:aws:health:us-east-1:111222333444:entity/AVh5GGT7ul1arKr1sE1K
*
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 ID of the affected entity.
* @public */ entityValue?: string | undefined; /** *The URL of the affected entity.
* @public */ entityUrl?: string | undefined; /** *The 12-digit Amazon Web Services account number that contains the affected entity.
* @public */ awsAccountId?: string | undefined; /** *The most recent time that the entity was updated.
* @public */ lastUpdatedTime?: Date | undefined; /** *The most recent status of the entity affected by the event. The possible values are
* IMPAIRED, UNIMPAIRED, UNKNOWN, PENDING, and RESOLVED.
A map of entity tags attached to the affected entity.
*Currently, the tags property isn't supported.
Additional metadata about the affected entity.
* @public */ entityMetadata?: RecordThe 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
*
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.
The maximum number of items to return in one batch, between 10 and 100, inclusive.
* @public */ maxResults?: number | undefined; } /** * @public */ export interface DescribeAffectedAccountsForOrganizationResponse { /** *A JSON set of elements of the affected accounts.
* @public */ affectedAccounts?: string[] | undefined; /** *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.
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.
A range of dates and times that is used by the EventFilter and EntityFilter objects. If 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.
The starting date and time of a time range.
* @public */ from?: Date | undefined; /** *The ending date and time of a time range.
* @public */ to?: Date | undefined; } /** *The values to use to filter results from the DescribeAffectedEntities operation.
* @public */ export interface EntityFilter { /** *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"
*
A list of entity ARNs (unique identifiers).
* @public */ entityArns?: string[] | undefined; /** *A list of IDs for affected entities.
* @public */ entityValues?: string[] | undefined; /** *A list of the most recent dates and times that the entity was updated.
* @public */ lastUpdatedTimes?: DateTimeRange[] | undefined; /** *A map of entity tags attached to the affected entity.
*Currently, the tags property isn't supported.
A list of entity status codes (IMPAIRED, UNIMPAIRED, or
* UNKNOWN).
Values to narrow the results returned. At least one event ARN is required.
* @public */ filter: EntityFilter | undefined; /** *The locale (language) to return information in. English (en) is the default and the only supported value at this time.
* @public */ locale?: string | undefined; /** *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.
The maximum number of items to return in one batch, between 1 and 100, inclusive.
* @public */ maxResults?: number | undefined; } /** * @public */ export interface DescribeAffectedEntitiesResponse { /** *The entities that match the filter criteria.
* @public */ entities?: AffectedEntity[] | undefined; /** *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.
A JSON set of elements including the awsAccountId, eventArn and a set of statusCodes.
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 12-digit Amazon Web Services account numbers that contains the affected entities.
* @public */ awsAccountId?: string | undefined; /** *A list of entity status codes.
* @public */ statusCodes?: EntityStatusCode[] | undefined; } /** *The values used to filter results from the DescribeEventDetailsForOrganization and DescribeAffectedEntitiesForOrganization operations.
* @public */ export interface EventAccountFilter { /** *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 12-digit Amazon Web Services account numbers that contains the affected entities.
* @public */ awsAccountId?: string | undefined; } /** * @public */ export interface DescribeAffectedEntitiesForOrganizationRequest { /** *A JSON set of elements including the awsAccountId and the
* eventArn.
The locale (language) to return information in. English (en) is the default and the only supported value at this time.
* @public */ locale?: string | undefined; /** *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.
The maximum number of items to return in one batch, between 1 and 100, inclusive.
* @public */ maxResults?: number | undefined; /** *A JSON set of elements including the awsAccountId, eventArn and a set of statusCodes.
Error information returned when a DescribeAffectedEntitiesForOrganization operation can't find or process a * specific entity.
* @public */ export interface OrganizationAffectedEntitiesErrorItem { /** *The 12-digit Amazon Web Services account numbers that contains the affected entities.
* @public */ awsAccountId?: string | undefined; /** *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 name of the error.
* @public */ errorName?: string | undefined; /** *A message that describes the error. Follow the error message and retry your request.
*For example, the InvalidAccountInputError error message appears if
* you call the DescribeAffectedEntitiesForOrganization operation and specify the
* AccountSpecific value for the EventScopeCode parameter, but
* don't specify an Amazon Web Services account.
A JSON set of elements including the awsAccountId and its
* entityArn, entityValue and its entityArn,
* lastUpdatedTime, and statusCode.
A JSON set of elements of the failed response, including the awsAccountId,
* errorMessage, errorName, and eventArn.
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.
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"
*
The number of entities that are affected by one or more events. Returned by the DescribeEntityAggregates operation.
* @public */ export interface EntityAggregate { /** *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 number of entities that match the criteria for the specified events.
* @public */ count?: number | undefined; /** *The number of affected entities aggregated by the entity status codes.
* @public */ statuses?: PartialThe number of entities that are affected by each of the specified events.
* @public */ entityAggregates?: EntityAggregate[] | undefined; } /** * @public */ export interface DescribeEntityAggregatesForOrganizationRequest { /** *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"
*
A list of 12-digit Amazon Web Services account numbers that contains the affected entities.
* @public */ awsAccountIds?: string[] | undefined; } /** *The aggregate results of entities affected by the specified event in your organization. * The results are aggregated by the entity status codes for the specified set of accountsIDs.
* @public */ export interface OrganizationEntityAggregate { /** *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"
*
The number of entities for the organization that match the filter criteria for the specified events.
* @public */ count?: number | undefined; /** *The number of affected entities aggregated by the entitiy status codes.
* @public */ statuses?: PartialA list of entity aggregates for each of the specified accounts in your organization that are affected by
* a specific event. If there are no awsAccountIds provided in the request, this field will be empty in the response.
The list of entity aggregates for each of the specified accounts that are affected by each of the specified events.
* @public */ organizationEntityAggregates?: OrganizationEntityAggregate[] | undefined; } /** *The values to use to filter results from the DescribeEvents and * DescribeEventAggregates operations.
* @public */ export interface EventFilter { /** *A list of actionability values to filter events. Use this to filter events based on whether they require action (ACTION_REQUIRED), may require action (ACTION_MAY_BE_REQUIRED) or are informational (INFORMATIONAL).
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"
*
A list of unique identifiers for event types. For example, "AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".
*
The Amazon Web Services services associated with the event. For example, EC2, RDS.
A list of Amazon Web Services Regions.
* @public */ regions?: string[] | undefined; /** *A list of Amazon Web Services Availability Zones.
* @public */ availabilityZones?: string[] | undefined; /** *A list of dates and times that the event began.
* @public */ startTimes?: DateTimeRange[] | undefined; /** *A list of dates and times that the event ended.
* @public */ endTimes?: DateTimeRange[] | undefined; /** *A list of dates and times that the event was last updated.
* @public */ lastUpdatedTimes?: DateTimeRange[] | undefined; /** *A list of entity ARNs (unique identifiers).
* @public */ entityArns?: string[] | undefined; /** *A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS
* volumes (vol-426ab23e).
A list of event type category codes. Possible values are
* issue, accountNotification, or scheduledChange. Currently,
* the investigation value isn't supported at this time.
A map of entity tags attached to the affected entity.
*Currently, the tags property isn't supported.
A list of event status codes.
* @public */ eventStatusCodes?: EventStatusCode[] | undefined; /** *A list of persona values to filter events. Use this to filter events based on their target audience: OPERATIONS, SECURITY, or BILLING.
Values to narrow the results returned.
* @public */ filter?: EventFilter | undefined; /** *The only currently supported value is eventTypeCategory.
The maximum number of items to return in one batch, between 10 and 100, inclusive.
* @public */ maxResults?: number | undefined; /** *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.
The number of events of each issue type. Returned by the DescribeEventAggregates operation.
* @public */ export interface EventAggregate { /** *The issue type for the associated count.
* @public */ aggregateValue?: string | undefined; /** *The number of events of the associated issue type.
* @public */ count?: number | undefined; } /** * @public */ export interface DescribeEventAggregatesResponse { /** *The number of events in each category that meet the optional filter criteria.
* @public */ eventAggregates?: EventAggregate[] | undefined; /** *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.
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"
*
The locale (language) to return information in. English (en) is the default and the only supported value at this time.
* @public */ locale?: string | undefined; } /** *Error information returned when a DescribeEventDetails operation can't find a specified event.
* @public */ export interface EventDetailsErrorItem { /** *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 name of the error.
* @public */ errorName?: string | undefined; /** *A message that describes the error.
* @public */ errorMessage?: string | undefined; } /** *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
*
The Amazon Web Services service that is affected by the event. For example, EC2, RDS.
The unique identifier for the event type. The format is AWS_SERVICE_DESCRIPTION
* ; for example, AWS_EC2_SYSTEM_MAINTENANCE_EVENT.
A list of event type category codes. Possible values are
* issue, accountNotification, or scheduledChange. Currently,
* the investigation value isn't supported at this time.
The Amazon Web Services Region name of the event.
* @public */ region?: string | undefined; /** *The Amazon Web Services Availability Zone of the event. For example, us-east-1a.
* @public */ availabilityZone?: string | undefined; /** *The date and time that the event began.
* @public */ startTime?: Date | undefined; /** *The date and time that the event ended.
* @public */ endTime?: Date | undefined; /** *The most recent date and time that the event was updated.
* @public */ lastUpdatedTime?: Date | undefined; /** *The most recent status of the event. Possible values are open,
* closed, and upcoming.
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.
The actionability classification of the event. Possible values are ACTION_REQUIRED, ACTION_MAY_BE_REQUIRED and INFORMATIONAL. Events with ACTION_REQUIRED actionability require customer action to resolve or mitigate the event. Events with ACTION_MAY_BE_REQUIRED actionability indicates that the current status is unknown or conditional and inspection is needed to determine if action is required.
* Events with INFORMATIONAL actionability are provided for awareness and do not require immediate action.
A list of persona classifications that indicate the target audience for the event. Possible values are OPERATIONS, SECURITY, and BILLING. Events can be associated with multiple personas to indicate relevance to different teams or roles within an organization.
The detailed description of the event. Included in the information returned by the * DescribeEventDetails operation.
* @public */ export interface EventDescription { /** *The most recent description of the event.
* @public */ latestDescription?: string | undefined; } /** *Detailed information about an event. A combination of an Event object, an EventDescription object, and additional metadata about the event. Returned by * the DescribeEventDetails operation.
* @public */ export interface EventDetails { /** *Summary information about the event.
* @public */ event?: Event | undefined; /** *The most recent description of the event.
* @public */ eventDescription?: EventDescription | undefined; /** *Additional metadata about the event.
* @public */ eventMetadata?: RecordInformation about the events that could be retrieved.
* @public */ successfulSet?: EventDetails[] | undefined; /** *Error messages for any events that could not be retrieved.
* @public */ failedSet?: EventDetailsErrorItem[] | undefined; } /** * @public */ export interface DescribeEventDetailsForOrganizationRequest { /** *A set of JSON elements that includes the awsAccountId and the
* eventArn.
The locale (language) to return information in. English (en) is the default and the only supported value at this time.
* @public */ locale?: string | undefined; } /** *Error information returned when a DescribeEventDetailsForOrganization operation can't find a specified * event.
* @public */ export interface OrganizationEventDetailsErrorItem { /** *Error information returned when a DescribeEventDetailsForOrganization operation can't find a specified * event.
* @public */ awsAccountId?: string | undefined; /** *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 name of the error.
* @public */ errorName?: string | undefined; /** *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.
*Detailed information about an event. A combination of an Event object, an EventDescription object, and additional metadata about the event. Returned by * the DescribeEventDetailsForOrganization operation.
* @public */ export interface OrganizationEventDetails { /** *The 12-digit Amazon Web Services account numbers that contains the affected entities.
* @public */ awsAccountId?: string | undefined; /** *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 detailed description of the event. Included in the information returned by the * DescribeEventDetails operation.
* @public */ eventDescription?: EventDescription | undefined; /** *Additional metadata about the event.
* @public */ eventMetadata?: RecordInformation about the events that could be retrieved.
* @public */ successfulSet?: OrganizationEventDetails[] | undefined; /** *Error messages for any events that could not be retrieved.
* @public */ failedSet?: OrganizationEventDetailsErrorItem[] | undefined; } /** * @public */ export interface DescribeEventsRequest { /** *Values to narrow the results returned.
* @public */ filter?: EventFilter | undefined; /** *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.
The maximum number of items to return in one batch, between 1 and 100, inclusive.
* @public */ maxResults?: number | undefined; /** *The locale (language) to return information in. English (en) is the default and the only supported value at this time.
* @public */ locale?: string | undefined; } /** * @public */ export interface DescribeEventsResponse { /** *The events that match the specified filter criteria.
* @public */ events?: Event[] | undefined; /** *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.
The values to filter results from the DescribeEventsForOrganization operation.
* @public */ export interface OrganizationEventFilter { /** *A list of actionability values to filter events. Use this to filter events based on whether they require action (ACTION_REQUIRED), may require action (ACTION_MAY_BE_REQUIRED) or are informational (INFORMATIONAL).
A list of unique identifiers for event types. For example, "AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".
*
A list of 12-digit Amazon Web Services account numbers that contains the affected entities.
* @public */ awsAccountIds?: string[] | undefined; /** *The Amazon Web Services services associated with the event. For example, EC2, RDS.
A list of Amazon Web Services Regions.
* @public */ regions?: string[] | undefined; /** *A range of dates and times that is used by the EventFilter and EntityFilter objects. If 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.
A range of dates and times that is used by the EventFilter and EntityFilter objects. If 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.
A range of dates and times that is used by the EventFilter and EntityFilter objects. If 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.
A list of entity ARNs (unique identifiers).
* @public */ entityArns?: string[] | undefined; /** *A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (vol-426ab23e).
* @public */ entityValues?: string[] | undefined; /** *A list of event type category codes. Possible values are
* issue, accountNotification, or scheduledChange. Currently,
* the investigation value isn't supported at this time.
A list of event status codes.
* @public */ eventStatusCodes?: EventStatusCode[] | undefined; /** *A list of persona values to filter events. Use this to filter events based on their target audience: OPERATIONS, SECURITY, or BILLING.
Values to narrow the results returned.
* @public */ filter?: OrganizationEventFilter | undefined; /** *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.
The maximum number of items to return in one batch, between 1 and 100, inclusive.
* @public */ maxResults?: number | undefined; /** *The locale (language) to return information in. English (en) is the default and the only supported value at this time.
* @public */ locale?: string | undefined; } /** *Summary information about an event, returned by the DescribeEventsForOrganization operation.
* @public */ export interface OrganizationEvent { /** *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 Amazon Web Services service that is affected by the event, such as EC2 and RDS.
* @public */ service?: string | undefined; /** *The unique identifier for the event type. The format is
* AWS_SERVICE_DESCRIPTION. For example,
* AWS_EC2_SYSTEM_MAINTENANCE_EVENT.
A list of event type category codes. Possible values are
* issue, accountNotification, or scheduledChange. Currently,
* the investigation value isn't supported at this time.
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.
The Amazon Web Services Region name of the event.
* @public */ region?: string | undefined; /** *The date and time that the event began.
* @public */ startTime?: Date | undefined; /** *The date and time that the event ended.
* @public */ endTime?: Date | undefined; /** *The most recent date and time that the event was updated.
* @public */ lastUpdatedTime?: Date | undefined; /** *The most recent status of the event. Possible values are open,
* closed, and upcoming.
The actionability classification of the event. Possible values are ACTION_REQUIRED, ACTION_MAY_BE_REQUIRED and INFORMATIONAL. Events with ACTION_REQUIRED actionability require customer action to resolve or mitigate the event. Events with ACTION_MAY_BE_REQUIRED actionability indicates that the current status is unknown or conditional and inspection is needed to determine if action is required.
* Events with INFORMATIONAL actionability are provided for awareness and do not require immediate action.
A list of persona classifications that indicate the target audience for the event. Possible values are OPERATIONS, SECURITY, and BILLING. Events can be associated with multiple personas to indicate relevance to different teams or roles within an organization.
The events that match the specified filter criteria.
* @public */ events?: OrganizationEvent[] | undefined; /** *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.
The values to use to filter results from the DescribeEventTypes * operation.
* @public */ export interface EventTypeFilter { /** *A list of event type codes.
* @public */ eventTypeCodes?: string[] | undefined; /** *The Amazon Web Services services associated with the event. For example, EC2, RDS.
A list of event type category codes. Possible values are
* issue, accountNotification, or scheduledChange. Currently,
* the investigation value isn't supported at this time.
A list of actionability values to filter event types. Possible values are ACTION_REQUIRED, ACTION_MAY_BE_REQUIRED and INFORMATIONAL.
A list of persona classifications to filter event types. Possible values are OPERATIONS, SECURITY, and BILLING.
Values to narrow the results returned.
* @public */ filter?: EventTypeFilter | undefined; /** *The locale (language) to return information in. English (en) is the default and the only supported value at this time.
* @public */ locale?: string | undefined; /** *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.
The maximum number of items to return in one batch, between 10 and 100, inclusive.
*If you don't specify the maxResults parameter, this operation returns a
* maximum of 30 items by default.
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.
* @public */ export interface EventType { /** *The Amazon Web Services service that is affected by the event. For example, EC2, RDS.
The unique identifier for the event type. The format is AWS_SERVICE_DESCRIPTION
* ; for example, AWS_EC2_SYSTEM_MAINTENANCE_EVENT.
A list of event type category codes. Possible values are
* issue, accountNotification, or scheduledChange. Currently,
* the investigation value isn't supported at this time.
The actionability classification of the event. Possible values are ACTION_REQUIRED, ACTION_MAY_BE_REQUIRED and INFORMATIONAL. Events with ACTION_REQUIRED actionability require customer action to resolve or mitigate the event. Events with ACTION_MAY_BE_REQUIRED actionability indicates that the current status is unknown or conditional and inspection is needed to determine if action is required.
* Events with INFORMATIONAL actionability are provided for awareness and do not require immediate action.
A list of persona classifications that indicate the target audience for the event. Possible values are OPERATIONS, SECURITY, and BILLING. Events can be associated with multiple personas to indicate relevance to different teams or roles within an organization.
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).
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.
Information about the status of enabling or disabling the Health organizational * view feature in your organization.
*Valid values are ENABLED | DISABLED | PENDING.