Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
- Service Configuration
- Errors
- Waiters
- Operations
- EnableHealthServiceAccessForOrganization
- DescribeEntityAggregates
- DescribeEvents (Paginated)
- DescribeEventsForOrganization (Paginated)
- DescribeAffectedAccountsForOrganization (Paginated)
- DescribeEventDetails
- DescribeEventAggregates (Paginated)
- DescribeAffectedEntities (Paginated)
- DescribeEventTypes (Paginated)
- DescribeAffectedEntitiesForOrganization (Paginated)
- DescribeHealthServiceStatusForOrganization
- DescribeEventDetailsForOrganization
- DisableHealthServiceAccessForOrganization
- Types
- EntityStatusCode
- EventAggregateField
- EventScopeCode
- EventStatusCode
- EventTypeCategory
- AffectedEntity
- DateTimeRange
- EntityAggregate
- EntityFilter
- Event
- EventAccountFilter
- EventAggregate
- EventDescription
- EventDetails
- EventDetailsErrorItem
- EventFilter
- EventType
- EventTypeFilter
- OrganizationAffectedEntitiesErrorItem
- OrganizationEvent
- OrganizationEventDetails
- OrganizationEventDetailsErrorItem
- OrganizationEventFilter
Derived from API version 2016-08-04
of the AWS service descriptions, licensed under Apache 2.0.
AWS Health
The AWS Health API provides programmatic access to the AWS Health information that appears in the AWS Personal Health Dashboard. You can use the API operations to get information about AWS Health events that affect your AWS services and resources.
- You must have a Business or Enterprise Support plan from
AWS Support to use the AWS
Health API. If you call the AWS Health API from an AWS account that
doesn't have a Business or Enterprise Support plan, you receive a
SubscriptionRequiredException
error. - You can use the AWS Health endpoint health.us-east-1.amazonaws.com (HTTPS) to call the AWS Health API operations. AWS Health supports a multi-Region application architecture and has two regional endpoints in an active-passive configuration. You can use the high availability endpoint example to determine which AWS Region is active, so that you can get the latest information from the API. For more information, see Accessing the AWS Health API in the AWS Health User Guide.
For authentication of requests, AWS Health uses the Signature Version 4 Signing Process.
If your AWS account is part of AWS Organizations, you can use the AWS Health organizational view feature. This feature provides a centralized view of AWS Health events across all accounts in your organization. You can aggregate AWS Health events in real time to identify accounts in your organization that are affected by an operational event or get notified of security vulnerabilities. Use the organizational view API operations to enable this feature and return event information. For more information, see Aggregating AWS Health events in the AWS Health User Guide.
When you use the AWS Health API operations to return AWS Health events, see the following recommendations:
- Use the eventScopeCode parameter to specify whether to return AWS Health events that are public or account-specific.
- Use pagination to view all events from the response. For example, if
you call the
DescribeEventsForOrganization
operation to get all events in your organization, you might receive several page results. Specify thenextToken
in the next request to return more results.
Synopsis
- defaultService :: Service
- _InvalidPaginationToken :: AsError a => Getting (First ServiceError) a ServiceError
- _ConcurrentModificationException :: AsError a => Getting (First ServiceError) a ServiceError
- _UnsupportedLocale :: AsError a => Getting (First ServiceError) a ServiceError
- data EnableHealthServiceAccessForOrganization = EnableHealthServiceAccessForOrganization' {
- newEnableHealthServiceAccessForOrganization :: EnableHealthServiceAccessForOrganization
- data EnableHealthServiceAccessForOrganizationResponse = EnableHealthServiceAccessForOrganizationResponse' {
- newEnableHealthServiceAccessForOrganizationResponse :: EnableHealthServiceAccessForOrganizationResponse
- data DescribeEntityAggregates = DescribeEntityAggregates' (Maybe (NonEmpty Text))
- newDescribeEntityAggregates :: DescribeEntityAggregates
- data DescribeEntityAggregatesResponse = DescribeEntityAggregatesResponse' (Maybe [EntityAggregate]) Int
- newDescribeEntityAggregatesResponse :: Int -> DescribeEntityAggregatesResponse
- data DescribeEvents = DescribeEvents' (Maybe Text) (Maybe Text) (Maybe EventFilter) (Maybe Natural)
- newDescribeEvents :: DescribeEvents
- data DescribeEventsResponse = DescribeEventsResponse' (Maybe Text) (Maybe [Event]) Int
- newDescribeEventsResponse :: Int -> DescribeEventsResponse
- data DescribeEventsForOrganization = DescribeEventsForOrganization' (Maybe Text) (Maybe Text) (Maybe OrganizationEventFilter) (Maybe Natural)
- newDescribeEventsForOrganization :: DescribeEventsForOrganization
- data DescribeEventsForOrganizationResponse = DescribeEventsForOrganizationResponse' (Maybe Text) (Maybe [OrganizationEvent]) Int
- newDescribeEventsForOrganizationResponse :: Int -> DescribeEventsForOrganizationResponse
- data DescribeAffectedAccountsForOrganization = DescribeAffectedAccountsForOrganization' (Maybe Text) (Maybe Natural) Text
- newDescribeAffectedAccountsForOrganization :: Text -> DescribeAffectedAccountsForOrganization
- data DescribeAffectedAccountsForOrganizationResponse = DescribeAffectedAccountsForOrganizationResponse' (Maybe [Text]) (Maybe EventScopeCode) (Maybe Text) Int
- newDescribeAffectedAccountsForOrganizationResponse :: Int -> DescribeAffectedAccountsForOrganizationResponse
- data DescribeEventDetails = DescribeEventDetails' (Maybe Text) (NonEmpty Text)
- newDescribeEventDetails :: NonEmpty Text -> DescribeEventDetails
- data DescribeEventDetailsResponse = DescribeEventDetailsResponse' (Maybe [EventDetails]) (Maybe [EventDetailsErrorItem]) Int
- newDescribeEventDetailsResponse :: Int -> DescribeEventDetailsResponse
- data DescribeEventAggregates = DescribeEventAggregates' (Maybe Text) (Maybe EventFilter) (Maybe Natural) EventAggregateField
- newDescribeEventAggregates :: EventAggregateField -> DescribeEventAggregates
- data DescribeEventAggregatesResponse = DescribeEventAggregatesResponse' (Maybe Text) (Maybe [EventAggregate]) Int
- newDescribeEventAggregatesResponse :: Int -> DescribeEventAggregatesResponse
- data DescribeAffectedEntities = DescribeAffectedEntities' (Maybe Text) (Maybe Text) (Maybe Natural) EntityFilter
- newDescribeAffectedEntities :: EntityFilter -> DescribeAffectedEntities
- data DescribeAffectedEntitiesResponse = DescribeAffectedEntitiesResponse' (Maybe [AffectedEntity]) (Maybe Text) Int
- newDescribeAffectedEntitiesResponse :: Int -> DescribeAffectedEntitiesResponse
- data DescribeEventTypes = DescribeEventTypes' (Maybe Text) (Maybe Text) (Maybe EventTypeFilter) (Maybe Natural)
- newDescribeEventTypes :: DescribeEventTypes
- data DescribeEventTypesResponse = DescribeEventTypesResponse' (Maybe [EventType]) (Maybe Text) Int
- newDescribeEventTypesResponse :: Int -> DescribeEventTypesResponse
- data DescribeAffectedEntitiesForOrganization = DescribeAffectedEntitiesForOrganization' (Maybe Text) (Maybe Text) (Maybe Natural) (NonEmpty EventAccountFilter)
- newDescribeAffectedEntitiesForOrganization :: NonEmpty EventAccountFilter -> DescribeAffectedEntitiesForOrganization
- data DescribeAffectedEntitiesForOrganizationResponse = DescribeAffectedEntitiesForOrganizationResponse' (Maybe [AffectedEntity]) (Maybe [OrganizationAffectedEntitiesErrorItem]) (Maybe Text) Int
- newDescribeAffectedEntitiesForOrganizationResponse :: Int -> DescribeAffectedEntitiesForOrganizationResponse
- data DescribeHealthServiceStatusForOrganization = DescribeHealthServiceStatusForOrganization' {
- newDescribeHealthServiceStatusForOrganization :: DescribeHealthServiceStatusForOrganization
- data DescribeHealthServiceStatusForOrganizationResponse = DescribeHealthServiceStatusForOrganizationResponse' (Maybe Text) Int
- newDescribeHealthServiceStatusForOrganizationResponse :: Int -> DescribeHealthServiceStatusForOrganizationResponse
- data DescribeEventDetailsForOrganization = DescribeEventDetailsForOrganization' (Maybe Text) (NonEmpty EventAccountFilter)
- newDescribeEventDetailsForOrganization :: NonEmpty EventAccountFilter -> DescribeEventDetailsForOrganization
- data DescribeEventDetailsForOrganizationResponse = DescribeEventDetailsForOrganizationResponse' (Maybe [OrganizationEventDetails]) (Maybe [OrganizationEventDetailsErrorItem]) Int
- newDescribeEventDetailsForOrganizationResponse :: Int -> DescribeEventDetailsForOrganizationResponse
- data DisableHealthServiceAccessForOrganization = DisableHealthServiceAccessForOrganization' {
- newDisableHealthServiceAccessForOrganization :: DisableHealthServiceAccessForOrganization
- data DisableHealthServiceAccessForOrganizationResponse = DisableHealthServiceAccessForOrganizationResponse' {
- newDisableHealthServiceAccessForOrganizationResponse :: DisableHealthServiceAccessForOrganizationResponse
- newtype EntityStatusCode where
- EntityStatusCode' { }
- pattern EntityStatusCode_IMPAIRED :: EntityStatusCode
- pattern EntityStatusCode_UNIMPAIRED :: EntityStatusCode
- pattern EntityStatusCode_UNKNOWN :: EntityStatusCode
- newtype EventAggregateField where
- newtype EventScopeCode where
- EventScopeCode' { }
- pattern EventScopeCode_ACCOUNT_SPECIFIC :: EventScopeCode
- pattern EventScopeCode_NONE :: EventScopeCode
- pattern EventScopeCode_PUBLIC :: EventScopeCode
- newtype EventStatusCode where
- EventStatusCode' { }
- pattern EventStatusCode_Closed :: EventStatusCode
- pattern EventStatusCode_Open :: EventStatusCode
- pattern EventStatusCode_Upcoming :: EventStatusCode
- newtype EventTypeCategory where
- data AffectedEntity = AffectedEntity' (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe (HashMap Text Text)) (Maybe EntityStatusCode)
- newAffectedEntity :: AffectedEntity
- data DateTimeRange = DateTimeRange' (Maybe POSIX) (Maybe POSIX)
- newDateTimeRange :: DateTimeRange
- data EntityAggregate = EntityAggregate' (Maybe Int) (Maybe Text)
- newEntityAggregate :: EntityAggregate
- data EntityFilter = EntityFilter' (Maybe (NonEmpty EntityStatusCode)) (Maybe (NonEmpty Text)) (Maybe (NonEmpty Text)) (Maybe [HashMap Text Text]) (Maybe (NonEmpty DateTimeRange)) (NonEmpty Text)
- newEntityFilter :: NonEmpty Text -> EntityFilter
- data Event = Event' (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe EventScopeCode) (Maybe Text) (Maybe EventTypeCategory) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe EventStatusCode)
- newEvent :: Event
- data EventAccountFilter = EventAccountFilter' (Maybe Text) Text
- newEventAccountFilter :: Text -> EventAccountFilter
- data EventAggregate = EventAggregate' (Maybe Int) (Maybe Text)
- newEventAggregate :: EventAggregate
- data EventDescription = EventDescription' (Maybe Text)
- newEventDescription :: EventDescription
- data EventDetails = EventDetails' (Maybe Event) (Maybe EventDescription) (Maybe (HashMap Text Text))
- newEventDetails :: EventDetails
- data EventDetailsErrorItem = EventDetailsErrorItem' (Maybe Text) (Maybe Text) (Maybe Text)
- newEventDetailsErrorItem :: EventDetailsErrorItem
- data EventFilter = EventFilter' (Maybe (NonEmpty Text)) (Maybe (NonEmpty EventTypeCategory)) (Maybe (NonEmpty Text)) (Maybe (NonEmpty Text)) (Maybe (NonEmpty EventStatusCode)) (Maybe (NonEmpty DateTimeRange)) (Maybe [Text]) (Maybe (NonEmpty Text)) (Maybe (NonEmpty Text)) (Maybe (NonEmpty DateTimeRange)) (Maybe (NonEmpty Text)) (Maybe [HashMap Text Text]) (Maybe (NonEmpty DateTimeRange))
- newEventFilter :: EventFilter
- data EventType = EventType' (Maybe Text) (Maybe EventTypeCategory) (Maybe Text)
- newEventType :: EventType
- data EventTypeFilter = EventTypeFilter' (Maybe (NonEmpty EventTypeCategory)) (Maybe (NonEmpty Text)) (Maybe (NonEmpty Text))
- newEventTypeFilter :: EventTypeFilter
- data OrganizationAffectedEntitiesErrorItem = OrganizationAffectedEntitiesErrorItem' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text)
- newOrganizationAffectedEntitiesErrorItem :: OrganizationAffectedEntitiesErrorItem
- data OrganizationEvent = OrganizationEvent' (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe EventScopeCode) (Maybe Text) (Maybe EventTypeCategory) (Maybe POSIX) (Maybe Text) (Maybe EventStatusCode)
- newOrganizationEvent :: OrganizationEvent
- data OrganizationEventDetails = OrganizationEventDetails' (Maybe Event) (Maybe EventDescription) (Maybe Text) (Maybe (HashMap Text Text))
- newOrganizationEventDetails :: OrganizationEventDetails
- data OrganizationEventDetailsErrorItem = OrganizationEventDetailsErrorItem' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text)
- newOrganizationEventDetailsErrorItem :: OrganizationEventDetailsErrorItem
- data OrganizationEventFilter = OrganizationEventFilter' (Maybe DateTimeRange) (Maybe (NonEmpty Text)) (Maybe (NonEmpty EventTypeCategory)) (Maybe (NonEmpty Text)) (Maybe DateTimeRange) (Maybe (NonEmpty Text)) (Maybe (NonEmpty EventStatusCode)) (Maybe DateTimeRange) (Maybe (NonEmpty Text)) (Maybe (NonEmpty Text)) (Maybe (NonEmpty Text))
- newOrganizationEventFilter :: OrganizationEventFilter
Service Configuration
defaultService :: Service Source #
API version 2016-08-04
of the Amazon Health APIs and Notifications SDK configuration.
Errors
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by AWSHealth
.
InvalidPaginationToken
_InvalidPaginationToken :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified pagination token (nextToken
) is not valid.
ConcurrentModificationException
_ConcurrentModificationException :: AsError a => Getting (First ServiceError) a ServiceError Source #
EnableHealthServiceAccessForOrganization is already in progress. Wait for the action to complete before trying again. To get the current status, use the DescribeHealthServiceStatusForOrganization operation.
UnsupportedLocale
_UnsupportedLocale :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified locale is not supported.
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait
specification is fulfilled. The Wait
specification
determines how many attempts should be made, in addition to delay and retry strategies.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects
operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager
instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
EnableHealthServiceAccessForOrganization
data EnableHealthServiceAccessForOrganization Source #
See: newEnableHealthServiceAccessForOrganization
smart constructor.
Instances
newEnableHealthServiceAccessForOrganization :: EnableHealthServiceAccessForOrganization Source #
Create a value of EnableHealthServiceAccessForOrganization
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
data EnableHealthServiceAccessForOrganizationResponse Source #
See: newEnableHealthServiceAccessForOrganizationResponse
smart constructor.
Instances
Eq EnableHealthServiceAccessForOrganizationResponse Source # | |
Read EnableHealthServiceAccessForOrganizationResponse Source # | |
Show EnableHealthServiceAccessForOrganizationResponse Source # | |
Generic EnableHealthServiceAccessForOrganizationResponse Source # | |
NFData EnableHealthServiceAccessForOrganizationResponse Source # | |
type Rep EnableHealthServiceAccessForOrganizationResponse Source # | |
Defined in Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization type Rep EnableHealthServiceAccessForOrganizationResponse = D1 ('MetaData "EnableHealthServiceAccessForOrganizationResponse" "Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization" "libZSservicesZSamazonka-healthZSamazonka-health" 'False) (C1 ('MetaCons "EnableHealthServiceAccessForOrganizationResponse'" 'PrefixI 'False) (U1 :: Type -> Type)) |
newEnableHealthServiceAccessForOrganizationResponse :: EnableHealthServiceAccessForOrganizationResponse Source #
Create a value of EnableHealthServiceAccessForOrganizationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
DescribeEntityAggregates
data DescribeEntityAggregates Source #
See: newDescribeEntityAggregates
smart constructor.
Instances
newDescribeEntityAggregates :: DescribeEntityAggregates Source #
Create a value of DescribeEntityAggregates
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:eventArns:DescribeEntityAggregates'
, describeEntityAggregates_eventArns
- 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"
data DescribeEntityAggregatesResponse Source #
See: newDescribeEntityAggregatesResponse
smart constructor.
Instances
Eq DescribeEntityAggregatesResponse Source # | |
Read DescribeEntityAggregatesResponse Source # | |
Show DescribeEntityAggregatesResponse Source # | |
Generic DescribeEntityAggregatesResponse Source # | |
NFData DescribeEntityAggregatesResponse Source # | |
Defined in Amazonka.AWSHealth.DescribeEntityAggregates rnf :: DescribeEntityAggregatesResponse -> () # | |
type Rep DescribeEntityAggregatesResponse Source # | |
Defined in Amazonka.AWSHealth.DescribeEntityAggregates type Rep DescribeEntityAggregatesResponse = D1 ('MetaData "DescribeEntityAggregatesResponse" "Amazonka.AWSHealth.DescribeEntityAggregates" "libZSservicesZSamazonka-healthZSamazonka-health" 'False) (C1 ('MetaCons "DescribeEntityAggregatesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "entityAggregates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EntityAggregate])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDescribeEntityAggregatesResponse Source #
Create a value of DescribeEntityAggregatesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:entityAggregates:DescribeEntityAggregatesResponse'
, describeEntityAggregatesResponse_entityAggregates
- The number of entities that are affected by each of the specified
events.
$sel:httpStatus:DescribeEntityAggregatesResponse'
, describeEntityAggregatesResponse_httpStatus
- The response's http status code.
DescribeEvents (Paginated)
data DescribeEvents Source #
See: newDescribeEvents
smart constructor.
DescribeEvents' (Maybe Text) (Maybe Text) (Maybe EventFilter) (Maybe Natural) |
Instances
newDescribeEvents :: DescribeEvents Source #
Create a value of DescribeEvents
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:locale:DescribeEvents'
, describeEvents_locale
- The locale (language) to return information in. English (en) is the
default and the only supported value at this time.
$sel:nextToken:DescribeEvents'
, describeEvents_nextToken
- 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.
$sel:filter':DescribeEvents'
, describeEvents_filter
- Values to narrow the results returned.
$sel:maxResults:DescribeEvents'
, describeEvents_maxResults
- The maximum number of items to return in one batch, between 10 and 100,
inclusive.
data DescribeEventsResponse Source #
See: newDescribeEventsResponse
smart constructor.
Instances
newDescribeEventsResponse Source #
Create a value of DescribeEventsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:DescribeEvents'
, describeEventsResponse_nextToken
- 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.
$sel:events:DescribeEventsResponse'
, describeEventsResponse_events
- The events that match the specified filter criteria.
$sel:httpStatus:DescribeEventsResponse'
, describeEventsResponse_httpStatus
- The response's http status code.
DescribeEventsForOrganization (Paginated)
data DescribeEventsForOrganization Source #
See: newDescribeEventsForOrganization
smart constructor.
DescribeEventsForOrganization' (Maybe Text) (Maybe Text) (Maybe OrganizationEventFilter) (Maybe Natural) |
Instances
newDescribeEventsForOrganization :: DescribeEventsForOrganization Source #
Create a value of DescribeEventsForOrganization
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:locale:DescribeEventsForOrganization'
, describeEventsForOrganization_locale
- The locale (language) to return information in. English (en) is the
default and the only supported value at this time.
$sel:nextToken:DescribeEventsForOrganization'
, describeEventsForOrganization_nextToken
- 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.
$sel:filter':DescribeEventsForOrganization'
, describeEventsForOrganization_filter
- Values to narrow the results returned.
$sel:maxResults:DescribeEventsForOrganization'
, describeEventsForOrganization_maxResults
- The maximum number of items to return in one batch, between 10 and 100,
inclusive.
data DescribeEventsForOrganizationResponse Source #
See: newDescribeEventsForOrganizationResponse
smart constructor.
Instances
newDescribeEventsForOrganizationResponse Source #
Create a value of DescribeEventsForOrganizationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:DescribeEventsForOrganization'
, describeEventsForOrganizationResponse_nextToken
- 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.
$sel:events:DescribeEventsForOrganizationResponse'
, describeEventsForOrganizationResponse_events
- The events that match the specified filter criteria.
$sel:httpStatus:DescribeEventsForOrganizationResponse'
, describeEventsForOrganizationResponse_httpStatus
- The response's http status code.
DescribeAffectedAccountsForOrganization (Paginated)
data DescribeAffectedAccountsForOrganization Source #
See: newDescribeAffectedAccountsForOrganization
smart constructor.
Instances
newDescribeAffectedAccountsForOrganization Source #
Create a value of DescribeAffectedAccountsForOrganization
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:DescribeAffectedAccountsForOrganization'
, describeAffectedAccountsForOrganization_nextToken
- 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.
$sel:maxResults:DescribeAffectedAccountsForOrganization'
, describeAffectedAccountsForOrganization_maxResults
- The maximum number of items to return in one batch, between 10 and 100,
inclusive.
$sel:eventArn:DescribeAffectedAccountsForOrganization'
, describeAffectedAccountsForOrganization_eventArn
- 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
data DescribeAffectedAccountsForOrganizationResponse Source #
See: newDescribeAffectedAccountsForOrganizationResponse
smart constructor.
DescribeAffectedAccountsForOrganizationResponse' (Maybe [Text]) (Maybe EventScopeCode) (Maybe Text) Int |
Instances
newDescribeAffectedAccountsForOrganizationResponse Source #
:: Int |
|
-> DescribeAffectedAccountsForOrganizationResponse |
Create a value of DescribeAffectedAccountsForOrganizationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:affectedAccounts:DescribeAffectedAccountsForOrganizationResponse'
, describeAffectedAccountsForOrganizationResponse_affectedAccounts
- A JSON set of elements of the affected accounts.
$sel:eventScopeCode:DescribeAffectedAccountsForOrganizationResponse'
, describeAffectedAccountsForOrganizationResponse_eventScopeCode
- This parameter specifies if the AWS Health event is a public AWS service
event or an account-specific event.
- If the
eventScopeCode
value isPUBLIC
, then theaffectedAccounts
value is always empty. - If the
eventScopeCode
value isACCOUNT_SPECIFIC
, then theaffectedAccounts
value lists the affected AWS accounts in your organization. For example, if an event affects a service such as Amazon Elastic Compute Cloud and you have AWS accounts that use that service, those account IDs appear in the response. - If the
eventScopeCode
value isNONE
, then theeventArn
that you specified in the request is invalid or doesn't exist.
$sel:nextToken:DescribeAffectedAccountsForOrganization'
, describeAffectedAccountsForOrganizationResponse_nextToken
- 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.
$sel:httpStatus:DescribeAffectedAccountsForOrganizationResponse'
, describeAffectedAccountsForOrganizationResponse_httpStatus
- The response's http status code.
DescribeEventDetails
data DescribeEventDetails Source #
See: newDescribeEventDetails
smart constructor.
Instances
newDescribeEventDetails Source #
Create a value of DescribeEventDetails
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:locale:DescribeEventDetails'
, describeEventDetails_locale
- The locale (language) to return information in. English (en) is the
default and the only supported value at this time.
$sel:eventArns:DescribeEventDetails'
, describeEventDetails_eventArns
- 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"
data DescribeEventDetailsResponse Source #
See: newDescribeEventDetailsResponse
smart constructor.
Instances
newDescribeEventDetailsResponse Source #
Create a value of DescribeEventDetailsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:successfulSet:DescribeEventDetailsResponse'
, describeEventDetailsResponse_successfulSet
- Information about the events that could be retrieved.
$sel:failedSet:DescribeEventDetailsResponse'
, describeEventDetailsResponse_failedSet
- Error messages for any events that could not be retrieved.
$sel:httpStatus:DescribeEventDetailsResponse'
, describeEventDetailsResponse_httpStatus
- The response's http status code.
DescribeEventAggregates (Paginated)
data DescribeEventAggregates Source #
See: newDescribeEventAggregates
smart constructor.
Instances
newDescribeEventAggregates Source #
Create a value of DescribeEventAggregates
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:DescribeEventAggregates'
, describeEventAggregates_nextToken
- 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.
$sel:filter':DescribeEventAggregates'
, describeEventAggregates_filter
- Values to narrow the results returned.
$sel:maxResults:DescribeEventAggregates'
, describeEventAggregates_maxResults
- The maximum number of items to return in one batch, between 10 and 100,
inclusive.
$sel:aggregateField:DescribeEventAggregates'
, describeEventAggregates_aggregateField
- The only currently supported value is eventTypeCategory
.
data DescribeEventAggregatesResponse Source #
See: newDescribeEventAggregatesResponse
smart constructor.
Instances
newDescribeEventAggregatesResponse Source #
Create a value of DescribeEventAggregatesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:DescribeEventAggregates'
, describeEventAggregatesResponse_nextToken
- 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.
$sel:eventAggregates:DescribeEventAggregatesResponse'
, describeEventAggregatesResponse_eventAggregates
- The number of events in each category that meet the optional filter
criteria.
$sel:httpStatus:DescribeEventAggregatesResponse'
, describeEventAggregatesResponse_httpStatus
- The response's http status code.
DescribeAffectedEntities (Paginated)
data DescribeAffectedEntities Source #
See: newDescribeAffectedEntities
smart constructor.
Instances
newDescribeAffectedEntities Source #
Create a value of DescribeAffectedEntities
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:locale:DescribeAffectedEntities'
, describeAffectedEntities_locale
- The locale (language) to return information in. English (en) is the
default and the only supported value at this time.
$sel:nextToken:DescribeAffectedEntities'
, describeAffectedEntities_nextToken
- 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.
$sel:maxResults:DescribeAffectedEntities'
, describeAffectedEntities_maxResults
- The maximum number of items to return in one batch, between 10 and 100,
inclusive.
$sel:filter':DescribeAffectedEntities'
, describeAffectedEntities_filter
- Values to narrow the results returned. At least one event ARN is
required.
data DescribeAffectedEntitiesResponse Source #
See: newDescribeAffectedEntitiesResponse
smart constructor.
Instances
newDescribeAffectedEntitiesResponse Source #
Create a value of DescribeAffectedEntitiesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:entities:DescribeAffectedEntitiesResponse'
, describeAffectedEntitiesResponse_entities
- The entities that match the filter criteria.
$sel:nextToken:DescribeAffectedEntities'
, describeAffectedEntitiesResponse_nextToken
- 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.
$sel:httpStatus:DescribeAffectedEntitiesResponse'
, describeAffectedEntitiesResponse_httpStatus
- The response's http status code.
DescribeEventTypes (Paginated)
data DescribeEventTypes Source #
See: newDescribeEventTypes
smart constructor.
Instances
newDescribeEventTypes :: DescribeEventTypes Source #
Create a value of DescribeEventTypes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:locale:DescribeEventTypes'
, describeEventTypes_locale
- The locale (language) to return information in. English (en) is the
default and the only supported value at this time.
$sel:nextToken:DescribeEventTypes'
, describeEventTypes_nextToken
- 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.
$sel:filter':DescribeEventTypes'
, describeEventTypes_filter
- Values to narrow the results returned.
$sel:maxResults:DescribeEventTypes'
, describeEventTypes_maxResults
- The maximum number of items to return in one batch, between 10 and 100,
inclusive.
data DescribeEventTypesResponse Source #
See: newDescribeEventTypesResponse
smart constructor.
Instances
newDescribeEventTypesResponse Source #
Create a value of DescribeEventTypesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:eventTypes:DescribeEventTypesResponse'
, describeEventTypesResponse_eventTypes
- 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
).
$sel:nextToken:DescribeEventTypes'
, describeEventTypesResponse_nextToken
- 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.
$sel:httpStatus:DescribeEventTypesResponse'
, describeEventTypesResponse_httpStatus
- The response's http status code.
DescribeAffectedEntitiesForOrganization (Paginated)
data DescribeAffectedEntitiesForOrganization Source #
See: newDescribeAffectedEntitiesForOrganization
smart constructor.
DescribeAffectedEntitiesForOrganization' (Maybe Text) (Maybe Text) (Maybe Natural) (NonEmpty EventAccountFilter) |
Instances
newDescribeAffectedEntitiesForOrganization Source #
:: NonEmpty EventAccountFilter |
|
-> DescribeAffectedEntitiesForOrganization |
Create a value of DescribeAffectedEntitiesForOrganization
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:locale:DescribeAffectedEntitiesForOrganization'
, describeAffectedEntitiesForOrganization_locale
- The locale (language) to return information in. English (en) is the
default and the only supported value at this time.
$sel:nextToken:DescribeAffectedEntitiesForOrganization'
, describeAffectedEntitiesForOrganization_nextToken
- 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.
$sel:maxResults:DescribeAffectedEntitiesForOrganization'
, describeAffectedEntitiesForOrganization_maxResults
- The maximum number of items to return in one batch, between 10 and 100,
inclusive.
$sel:organizationEntityFilters:DescribeAffectedEntitiesForOrganization'
, describeAffectedEntitiesForOrganization_organizationEntityFilters
- A JSON set of elements including the awsAccountId
and the eventArn
.
data DescribeAffectedEntitiesForOrganizationResponse Source #
See: newDescribeAffectedEntitiesForOrganizationResponse
smart constructor.
DescribeAffectedEntitiesForOrganizationResponse' (Maybe [AffectedEntity]) (Maybe [OrganizationAffectedEntitiesErrorItem]) (Maybe Text) Int |
Instances
newDescribeAffectedEntitiesForOrganizationResponse Source #
:: Int |
|
-> DescribeAffectedEntitiesForOrganizationResponse |
Create a value of DescribeAffectedEntitiesForOrganizationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:entities:DescribeAffectedEntitiesForOrganizationResponse'
, describeAffectedEntitiesForOrganizationResponse_entities
- A JSON set of elements including the awsAccountId
and its entityArn
,
entityValue
and its entityArn
, lastUpdatedTime
, and statusCode
.
$sel:failedSet:DescribeAffectedEntitiesForOrganizationResponse'
, describeAffectedEntitiesForOrganizationResponse_failedSet
- A JSON set of elements of the failed response, including the
awsAccountId
, errorMessage
, errorName
, and eventArn
.
$sel:nextToken:DescribeAffectedEntitiesForOrganization'
, describeAffectedEntitiesForOrganizationResponse_nextToken
- 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.
$sel:httpStatus:DescribeAffectedEntitiesForOrganizationResponse'
, describeAffectedEntitiesForOrganizationResponse_httpStatus
- The response's http status code.
DescribeHealthServiceStatusForOrganization
data DescribeHealthServiceStatusForOrganization Source #
See: newDescribeHealthServiceStatusForOrganization
smart constructor.
Instances
newDescribeHealthServiceStatusForOrganization :: DescribeHealthServiceStatusForOrganization Source #
Create a value of DescribeHealthServiceStatusForOrganization
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
data DescribeHealthServiceStatusForOrganizationResponse Source #
See: newDescribeHealthServiceStatusForOrganizationResponse
smart constructor.
Instances
newDescribeHealthServiceStatusForOrganizationResponse Source #
:: Int |
|
-> DescribeHealthServiceStatusForOrganizationResponse |
Create a value of DescribeHealthServiceStatusForOrganizationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:healthServiceAccessStatusForOrganization:DescribeHealthServiceStatusForOrganizationResponse'
, describeHealthServiceStatusForOrganizationResponse_healthServiceAccessStatusForOrganization
- Information about the status of enabling or disabling AWS Health
Organizational View in your organization.
Valid values are ENABLED | DISABLED | PENDING
.
$sel:httpStatus:DescribeHealthServiceStatusForOrganizationResponse'
, describeHealthServiceStatusForOrganizationResponse_httpStatus
- The response's http status code.
DescribeEventDetailsForOrganization
data DescribeEventDetailsForOrganization Source #
See: newDescribeEventDetailsForOrganization
smart constructor.
Instances
newDescribeEventDetailsForOrganization Source #
:: NonEmpty EventAccountFilter |
|
-> DescribeEventDetailsForOrganization |
Create a value of DescribeEventDetailsForOrganization
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:locale:DescribeEventDetailsForOrganization'
, describeEventDetailsForOrganization_locale
- The locale (language) to return information in. English (en) is the
default and the only supported value at this time.
$sel:organizationEventDetailFilters:DescribeEventDetailsForOrganization'
, describeEventDetailsForOrganization_organizationEventDetailFilters
- A set of JSON elements that includes the awsAccountId
and the
eventArn
.
data DescribeEventDetailsForOrganizationResponse Source #
See: newDescribeEventDetailsForOrganizationResponse
smart constructor.
DescribeEventDetailsForOrganizationResponse' (Maybe [OrganizationEventDetails]) (Maybe [OrganizationEventDetailsErrorItem]) Int |
Instances
newDescribeEventDetailsForOrganizationResponse Source #
:: Int |
|
-> DescribeEventDetailsForOrganizationResponse |
Create a value of DescribeEventDetailsForOrganizationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:successfulSet:DescribeEventDetailsForOrganizationResponse'
, describeEventDetailsForOrganizationResponse_successfulSet
- Information about the events that could be retrieved.
$sel:failedSet:DescribeEventDetailsForOrganizationResponse'
, describeEventDetailsForOrganizationResponse_failedSet
- Error messages for any events that could not be retrieved.
$sel:httpStatus:DescribeEventDetailsForOrganizationResponse'
, describeEventDetailsForOrganizationResponse_httpStatus
- The response's http status code.
DisableHealthServiceAccessForOrganization
data DisableHealthServiceAccessForOrganization Source #
See: newDisableHealthServiceAccessForOrganization
smart constructor.
Instances
newDisableHealthServiceAccessForOrganization :: DisableHealthServiceAccessForOrganization Source #
Create a value of DisableHealthServiceAccessForOrganization
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
data DisableHealthServiceAccessForOrganizationResponse Source #
See: newDisableHealthServiceAccessForOrganizationResponse
smart constructor.
Instances
Eq DisableHealthServiceAccessForOrganizationResponse Source # | |
Read DisableHealthServiceAccessForOrganizationResponse Source # | |
Show DisableHealthServiceAccessForOrganizationResponse Source # | |
Generic DisableHealthServiceAccessForOrganizationResponse Source # | |
NFData DisableHealthServiceAccessForOrganizationResponse Source # | |
type Rep DisableHealthServiceAccessForOrganizationResponse Source # | |
Defined in Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization type Rep DisableHealthServiceAccessForOrganizationResponse = D1 ('MetaData "DisableHealthServiceAccessForOrganizationResponse" "Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization" "libZSservicesZSamazonka-healthZSamazonka-health" 'False) (C1 ('MetaCons "DisableHealthServiceAccessForOrganizationResponse'" 'PrefixI 'False) (U1 :: Type -> Type)) |
newDisableHealthServiceAccessForOrganizationResponse :: DisableHealthServiceAccessForOrganizationResponse Source #
Create a value of DisableHealthServiceAccessForOrganizationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Types
EntityStatusCode
newtype EntityStatusCode Source #
pattern EntityStatusCode_IMPAIRED :: EntityStatusCode | |
pattern EntityStatusCode_UNIMPAIRED :: EntityStatusCode | |
pattern EntityStatusCode_UNKNOWN :: EntityStatusCode |
Instances
EventAggregateField
newtype EventAggregateField Source #
Instances
EventScopeCode
newtype EventScopeCode Source #
pattern EventScopeCode_ACCOUNT_SPECIFIC :: EventScopeCode | |
pattern EventScopeCode_NONE :: EventScopeCode | |
pattern EventScopeCode_PUBLIC :: EventScopeCode |
Instances
EventStatusCode
newtype EventStatusCode Source #
pattern EventStatusCode_Closed :: EventStatusCode | |
pattern EventStatusCode_Open :: EventStatusCode | |
pattern EventStatusCode_Upcoming :: EventStatusCode |
Instances
EventTypeCategory
newtype EventTypeCategory Source #
pattern EventTypeCategory_AccountNotification :: EventTypeCategory | |
pattern EventTypeCategory_Investigation :: EventTypeCategory | |
pattern EventTypeCategory_Issue :: EventTypeCategory | |
pattern EventTypeCategory_ScheduledChange :: EventTypeCategory |
Instances
AffectedEntity
data AffectedEntity Source #
Information about an entity that is affected by a Health event.
See: newAffectedEntity
smart constructor.
AffectedEntity' (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe (HashMap Text Text)) (Maybe EntityStatusCode) |
Instances
newAffectedEntity :: AffectedEntity Source #
Create a value of AffectedEntity
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:lastUpdatedTime:AffectedEntity'
, affectedEntity_lastUpdatedTime
- The most recent time that the entity was updated.
$sel:entityValue:AffectedEntity'
, affectedEntity_entityValue
- The ID of the affected entity.
$sel:entityUrl:AffectedEntity'
, affectedEntity_entityUrl
- The URL of the affected entity.
$sel:awsAccountId:AffectedEntity'
, affectedEntity_awsAccountId
- The 12-digit AWS account number that contains the affected entity.
$sel:eventArn:AffectedEntity'
, affectedEntity_eventArn
- 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
$sel:entityArn:AffectedEntity'
, affectedEntity_entityArn
- 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
$sel:tags:AffectedEntity'
, affectedEntity_tags
- A map of entity tags attached to the affected entity.
Currently, the tags
property isn't supported.
$sel:statusCode:AffectedEntity'
, affectedEntity_statusCode
- The most recent status of the entity affected by the event. The possible
values are IMPAIRED
, UNIMPAIRED
, and UNKNOWN
.
DateTimeRange
data DateTimeRange Source #
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
.
See: newDateTimeRange
smart constructor.
Instances
newDateTimeRange :: DateTimeRange Source #
Create a value of DateTimeRange
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:to:DateTimeRange'
, dateTimeRange_to
- The ending date and time of a time range.
$sel:from:DateTimeRange'
, dateTimeRange_from
- The starting date and time of a time range.
EntityAggregate
data EntityAggregate Source #
The number of entities that are affected by one or more events. Returned by the DescribeEntityAggregates operation.
See: newEntityAggregate
smart constructor.
Instances
newEntityAggregate :: EntityAggregate Source #
Create a value of EntityAggregate
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:count:EntityAggregate'
, entityAggregate_count
- The number of entities that match the criteria for the specified events.
$sel:eventArn:EntityAggregate'
, entityAggregate_eventArn
- 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
EntityFilter
data EntityFilter Source #
The values to use to filter results from the EntityFilter operation.
See: newEntityFilter
smart constructor.
EntityFilter' (Maybe (NonEmpty EntityStatusCode)) (Maybe (NonEmpty Text)) (Maybe (NonEmpty Text)) (Maybe [HashMap Text Text]) (Maybe (NonEmpty DateTimeRange)) (NonEmpty Text) |
Instances
Create a value of EntityFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:statusCodes:EntityFilter'
, entityFilter_statusCodes
- A list of entity status codes (IMPAIRED
, UNIMPAIRED
, or UNKNOWN
).
$sel:entityArns:EntityFilter'
, entityFilter_entityArns
- A list of entity ARNs (unique identifiers).
$sel:entityValues:EntityFilter'
, entityFilter_entityValues
- A list of IDs for affected entities.
$sel:tags:EntityFilter'
, entityFilter_tags
- A map of entity tags attached to the affected entity.
Currently, the tags
property isn't supported.
$sel:lastUpdatedTimes:EntityFilter'
, entityFilter_lastUpdatedTimes
- A list of the most recent dates and times that the entity was updated.
$sel:eventArns:EntityFilter'
, entityFilter_eventArns
- 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"
Event
Summary information about an AWS Health event.
AWS Health events can be public or account-specific:
- Public events might be service events that are not specific to an AWS account. For example, if there is an issue with an AWS Region, AWS 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 AWS 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, AWS 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.
See: newEvent
smart constructor.
Event' (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe EventScopeCode) (Maybe Text) (Maybe EventTypeCategory) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe EventStatusCode) |
Instances
Create a value of Event
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:lastUpdatedTime:Event'
, event_lastUpdatedTime
- The most recent date and time that the event was updated.
$sel:arn:Event'
, event_arn
- 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
$sel:service:Event'
, event_service
- The AWS service that is affected by the event. For example, EC2
,
RDS
.
$sel:startTime:Event'
, event_startTime
- The date and time that the event began.
$sel:eventScopeCode:Event'
, event_eventScopeCode
- This parameter specifies if the AWS Health event is a public AWS service
event or an account-specific event.
- If the
eventScopeCode
value isPUBLIC
, then theaffectedAccounts
value is always empty. - If the
eventScopeCode
value isACCOUNT_SPECIFIC
, then theaffectedAccounts
value lists the affected AWS accounts in your organization. For example, if an event affects a service such as Amazon Elastic Compute Cloud and you have AWS accounts that use that service, those account IDs appear in the response. - If the
eventScopeCode
value isNONE
, then theeventArn
that you specified in the request is invalid or doesn't exist.
$sel:eventTypeCode:Event'
, event_eventTypeCode
- The unique identifier for the event type. The format is
AWS_SERVICE_DESCRIPTION
; for example,
AWS_EC2_SYSTEM_MAINTENANCE_EVENT
.
$sel:eventTypeCategory:Event'
, event_eventTypeCategory
- The category of the event. Possible values are issue
,
scheduledChange
, and accountNotification
.
$sel:availabilityZone:Event'
, event_availabilityZone
- The AWS Availability Zone of the event. For example, us-east-1a.
$sel:endTime:Event'
, event_endTime
- The date and time that the event ended.
$sel:region:Event'
, event_region
- The AWS Region name of the event.
$sel:statusCode:Event'
, event_statusCode
- The most recent status of the event. Possible values are open
,
closed
, and upcoming
.
EventAccountFilter
data EventAccountFilter Source #
The values used to filter results from the DescribeEventDetailsForOrganization and DescribeAffectedEntitiesForOrganization operations.
See: newEventAccountFilter
smart constructor.
Instances
newEventAccountFilter Source #
Create a value of EventAccountFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:awsAccountId:EventAccountFilter'
, eventAccountFilter_awsAccountId
- The 12-digit AWS account numbers that contains the affected entities.
$sel:eventArn:EventAccountFilter'
, eventAccountFilter_eventArn
- 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
EventAggregate
data EventAggregate Source #
The number of events of each issue type. Returned by the DescribeEventAggregates operation.
See: newEventAggregate
smart constructor.
EventAggregate' (Maybe Int) (Maybe Text) |
Instances
newEventAggregate :: EventAggregate Source #
Create a value of EventAggregate
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:count:EventAggregate'
, eventAggregate_count
- The number of events of the associated issue type.
$sel:aggregateValue:EventAggregate'
, eventAggregate_aggregateValue
- The issue type for the associated count.
EventDescription
data EventDescription Source #
The detailed description of the event. Included in the information returned by the DescribeEventDetails operation.
See: newEventDescription
smart constructor.
Instances
newEventDescription :: EventDescription Source #
Create a value of EventDescription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:latestDescription:EventDescription'
, eventDescription_latestDescription
- The most recent description of the event.
EventDetails
data EventDetails Source #
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.
See: newEventDetails
smart constructor.
EventDetails' (Maybe Event) (Maybe EventDescription) (Maybe (HashMap Text Text)) |
Instances
newEventDetails :: EventDetails Source #
Create a value of EventDetails
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:event:EventDetails'
, eventDetails_event
- Summary information about the event.
$sel:eventDescription:EventDetails'
, eventDetails_eventDescription
- The most recent description of the event.
$sel:eventMetadata:EventDetails'
, eventDetails_eventMetadata
- Additional metadata about the event.
EventDetailsErrorItem
data EventDetailsErrorItem Source #
Error information returned when a DescribeEventDetails operation can't find a specified event.
See: newEventDetailsErrorItem
smart constructor.
Instances
newEventDetailsErrorItem :: EventDetailsErrorItem Source #
Create a value of EventDetailsErrorItem
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:eventArn:EventDetailsErrorItem'
, eventDetailsErrorItem_eventArn
- 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
$sel:errorName:EventDetailsErrorItem'
, eventDetailsErrorItem_errorName
- The name of the error.
$sel:errorMessage:EventDetailsErrorItem'
, eventDetailsErrorItem_errorMessage
- A message that describes the error.
EventFilter
data EventFilter Source #
The values to use to filter results from the DescribeEvents and DescribeEventAggregates operations.
See: newEventFilter
smart constructor.
EventFilter' (Maybe (NonEmpty Text)) (Maybe (NonEmpty EventTypeCategory)) (Maybe (NonEmpty Text)) (Maybe (NonEmpty Text)) (Maybe (NonEmpty EventStatusCode)) (Maybe (NonEmpty DateTimeRange)) (Maybe [Text]) (Maybe (NonEmpty Text)) (Maybe (NonEmpty Text)) (Maybe (NonEmpty DateTimeRange)) (Maybe (NonEmpty Text)) (Maybe [HashMap Text Text]) (Maybe (NonEmpty DateTimeRange)) |
Instances
newEventFilter :: EventFilter Source #
Create a value of EventFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:eventArns:EventFilter'
, eventFilter_eventArns
- 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"
$sel:eventTypeCategories:EventFilter'
, eventFilter_eventTypeCategories
- A list of event type category codes (issue
, scheduledChange
, or
accountNotification
).
$sel:eventTypeCodes:EventFilter'
, eventFilter_eventTypeCodes
- A list of unique identifiers for event types. For example,
"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".
$sel:regions:EventFilter'
, eventFilter_regions
- A list of AWS Regions.
$sel:eventStatusCodes:EventFilter'
, eventFilter_eventStatusCodes
- A list of event status codes.
$sel:endTimes:EventFilter'
, eventFilter_endTimes
- A list of dates and times that the event ended.
$sel:availabilityZones:EventFilter'
, eventFilter_availabilityZones
- A list of AWS Availability Zones.
$sel:entityArns:EventFilter'
, eventFilter_entityArns
- A list of entity ARNs (unique identifiers).
$sel:entityValues:EventFilter'
, eventFilter_entityValues
- A list of entity identifiers, such as EC2 instance IDs (i-34ab692e
) or
EBS volumes (vol-426ab23e
).
$sel:startTimes:EventFilter'
, eventFilter_startTimes
- A list of dates and times that the event began.
$sel:services:EventFilter'
, eventFilter_services
- The AWS services associated with the event. For example, EC2
, RDS
.
$sel:tags:EventFilter'
, eventFilter_tags
- A map of entity tags attached to the affected entity.
Currently, the tags
property isn't supported.
$sel:lastUpdatedTimes:EventFilter'
, eventFilter_lastUpdatedTimes
- A list of dates and times that the event was last updated.
EventType
Contains the metadata about a type of event that is reported by AWS
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 AWS Health delivers a specific event to your AWS account. For more information, see Monitor for AWS Health events with Amazon CloudWatch Events in the AWS Health User Guide.
See: newEventType
smart constructor.
Instances
Eq EventType Source # | |
Read EventType Source # | |
Show EventType Source # | |
Generic EventType Source # | |
NFData EventType Source # | |
Defined in Amazonka.AWSHealth.Types.EventType | |
Hashable EventType Source # | |
Defined in Amazonka.AWSHealth.Types.EventType | |
FromJSON EventType Source # | |
type Rep EventType Source # | |
Defined in Amazonka.AWSHealth.Types.EventType type Rep EventType = D1 ('MetaData "EventType" "Amazonka.AWSHealth.Types.EventType" "libZSservicesZSamazonka-healthZSamazonka-health" 'False) (C1 ('MetaCons "EventType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "service") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "category") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EventTypeCategory)) :*: S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) |
newEventType :: EventType Source #
Create a value of EventType
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:service:EventType'
, eventType_service
- The AWS service that is affected by the event. For example, EC2
,
RDS
.
$sel:category:EventType'
, eventType_category
- A list of event type category codes (issue
, scheduledChange
, or
accountNotification
).
$sel:code:EventType'
, eventType_code
- The unique identifier for the event type. The format is
AWS_SERVICE_DESCRIPTION
; for example,
AWS_EC2_SYSTEM_MAINTENANCE_EVENT
.
EventTypeFilter
data EventTypeFilter Source #
The values to use to filter results from the DescribeEventTypes operation.
See: newEventTypeFilter
smart constructor.
EventTypeFilter' (Maybe (NonEmpty EventTypeCategory)) (Maybe (NonEmpty Text)) (Maybe (NonEmpty Text)) |
Instances
newEventTypeFilter :: EventTypeFilter Source #
Create a value of EventTypeFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:eventTypeCategories:EventTypeFilter'
, eventTypeFilter_eventTypeCategories
- A list of event type category codes (issue
, scheduledChange
, or
accountNotification
).
$sel:eventTypeCodes:EventTypeFilter'
, eventTypeFilter_eventTypeCodes
- A list of event type codes.
$sel:services:EventTypeFilter'
, eventTypeFilter_services
- The AWS services associated with the event. For example, EC2
, RDS
.
OrganizationAffectedEntitiesErrorItem
data OrganizationAffectedEntitiesErrorItem Source #
Error information returned when a DescribeAffectedEntitiesForOrganization operation can't find or process a specific entity.
See: newOrganizationAffectedEntitiesErrorItem
smart constructor.
Instances
newOrganizationAffectedEntitiesErrorItem :: OrganizationAffectedEntitiesErrorItem Source #
Create a value of OrganizationAffectedEntitiesErrorItem
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:awsAccountId:OrganizationAffectedEntitiesErrorItem'
, organizationAffectedEntitiesErrorItem_awsAccountId
- The 12-digit AWS account numbers that contains the affected entities.
$sel:eventArn:OrganizationAffectedEntitiesErrorItem'
, organizationAffectedEntitiesErrorItem_eventArn
- 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
$sel:errorName:OrganizationAffectedEntitiesErrorItem'
, organizationAffectedEntitiesErrorItem_errorName
- The name of the error.
$sel:errorMessage:OrganizationAffectedEntitiesErrorItem'
, organizationAffectedEntitiesErrorItem_errorMessage
- The unique identifier for the event type. The format is
AWS_SERVICE_DESCRIPTION
. For example,
AWS_EC2_SYSTEM_MAINTENANCE_EVENT
.
OrganizationEvent
data OrganizationEvent Source #
Summary information about an event, returned by the DescribeEventsForOrganization operation.
See: newOrganizationEvent
smart constructor.
OrganizationEvent' (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe EventScopeCode) (Maybe Text) (Maybe EventTypeCategory) (Maybe POSIX) (Maybe Text) (Maybe EventStatusCode) |
Instances
newOrganizationEvent :: OrganizationEvent Source #
Create a value of OrganizationEvent
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:lastUpdatedTime:OrganizationEvent'
, organizationEvent_lastUpdatedTime
- The most recent date and time that the event was updated.
$sel:arn:OrganizationEvent'
, organizationEvent_arn
- 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
$sel:service:OrganizationEvent'
, organizationEvent_service
- The AWS service that is affected by the event, such as EC2 and RDS.
$sel:startTime:OrganizationEvent'
, organizationEvent_startTime
- The date and time that the event began.
$sel:eventScopeCode:OrganizationEvent'
, organizationEvent_eventScopeCode
- This parameter specifies if the AWS Health event is a public AWS service
event or an account-specific event.
- If the
eventScopeCode
value isPUBLIC
, then theaffectedAccounts
value is always empty. - If the
eventScopeCode
value isACCOUNT_SPECIFIC
, then theaffectedAccounts
value lists the affected AWS accounts in your organization. For example, if an event affects a service such as Amazon Elastic Compute Cloud and you have AWS accounts that use that service, those account IDs appear in the response. - If the
eventScopeCode
value isNONE
, then theeventArn
that you specified in the request is invalid or doesn't exist.
$sel:eventTypeCode:OrganizationEvent'
, organizationEvent_eventTypeCode
- The unique identifier for the event type. The format is
AWS_SERVICE_DESCRIPTION
. For example,
AWS_EC2_SYSTEM_MAINTENANCE_EVENT
.
$sel:eventTypeCategory:OrganizationEvent'
, organizationEvent_eventTypeCategory
- The category of the event type.
$sel:endTime:OrganizationEvent'
, organizationEvent_endTime
- The date and time that the event ended.
$sel:region:OrganizationEvent'
, organizationEvent_region
- The AWS Region name of the event.
$sel:statusCode:OrganizationEvent'
, organizationEvent_statusCode
- The most recent status of the event. Possible values are open
,
closed
, and upcoming
.
OrganizationEventDetails
data OrganizationEventDetails Source #
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.
See: newOrganizationEventDetails
smart constructor.
OrganizationEventDetails' (Maybe Event) (Maybe EventDescription) (Maybe Text) (Maybe (HashMap Text Text)) |
Instances
newOrganizationEventDetails :: OrganizationEventDetails Source #
Create a value of OrganizationEventDetails
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:event:OrganizationEventDetails'
, organizationEventDetails_event
- Undocumented member.
$sel:eventDescription:OrganizationEventDetails'
, organizationEventDetails_eventDescription
- Undocumented member.
$sel:awsAccountId:OrganizationEventDetails'
, organizationEventDetails_awsAccountId
- The 12-digit AWS account numbers that contains the affected entities.
$sel:eventMetadata:OrganizationEventDetails'
, organizationEventDetails_eventMetadata
- Additional metadata about the event.
OrganizationEventDetailsErrorItem
data OrganizationEventDetailsErrorItem Source #
Error information returned when a DescribeEventDetailsForOrganization operation can't find a specified event.
See: newOrganizationEventDetailsErrorItem
smart constructor.
Instances
newOrganizationEventDetailsErrorItem :: OrganizationEventDetailsErrorItem Source #
Create a value of OrganizationEventDetailsErrorItem
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:awsAccountId:OrganizationEventDetailsErrorItem'
, organizationEventDetailsErrorItem_awsAccountId
- Error information returned when a
DescribeEventDetailsForOrganization
operation can't find a specified event.
$sel:eventArn:OrganizationEventDetailsErrorItem'
, organizationEventDetailsErrorItem_eventArn
- 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
$sel:errorName:OrganizationEventDetailsErrorItem'
, organizationEventDetailsErrorItem_errorName
- The name of the error.
$sel:errorMessage:OrganizationEventDetailsErrorItem'
, organizationEventDetailsErrorItem_errorMessage
- 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 AWS account ID in the request.
- We couldn't find an account specific event for the specified AWS account. To find an event that is public, you must enter a null value for the AWS account ID in the request.
- Your AWS account doesn't include the AWS Support plan required to use the AWS Health API. You must have either a Business or Enterprise Support plan.
OrganizationEventFilter
data OrganizationEventFilter Source #
The values to filter results from the DescribeEventsForOrganization operation.
See: newOrganizationEventFilter
smart constructor.
OrganizationEventFilter' (Maybe DateTimeRange) (Maybe (NonEmpty Text)) (Maybe (NonEmpty EventTypeCategory)) (Maybe (NonEmpty Text)) (Maybe DateTimeRange) (Maybe (NonEmpty Text)) (Maybe (NonEmpty EventStatusCode)) (Maybe DateTimeRange) (Maybe (NonEmpty Text)) (Maybe (NonEmpty Text)) (Maybe (NonEmpty Text)) |
Instances
newOrganizationEventFilter :: OrganizationEventFilter Source #
Create a value of OrganizationEventFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:lastUpdatedTime:OrganizationEventFilter'
, organizationEventFilter_lastUpdatedTime
- Undocumented member.
$sel:awsAccountIds:OrganizationEventFilter'
, organizationEventFilter_awsAccountIds
- A list of 12-digit AWS account numbers that contains the affected
entities.
$sel:eventTypeCategories:OrganizationEventFilter'
, organizationEventFilter_eventTypeCategories
- A list of event type category codes (issue, scheduledChange, or
accountNotification).
$sel:eventTypeCodes:OrganizationEventFilter'
, organizationEventFilter_eventTypeCodes
- A list of unique identifiers for event types. For example,
"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".
$sel:startTime:OrganizationEventFilter'
, organizationEventFilter_startTime
- Undocumented member.
$sel:regions:OrganizationEventFilter'
, organizationEventFilter_regions
- A list of AWS Regions.
$sel:eventStatusCodes:OrganizationEventFilter'
, organizationEventFilter_eventStatusCodes
- A list of event status codes.
$sel:endTime:OrganizationEventFilter'
, organizationEventFilter_endTime
- Undocumented member.
$sel:entityArns:OrganizationEventFilter'
, organizationEventFilter_entityArns
- A list of entity ARNs (unique identifiers).
$sel:entityValues:OrganizationEventFilter'
, organizationEventFilter_entityValues
- A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or
EBS volumes (vol-426ab23e).
$sel:services:OrganizationEventFilter'
, organizationEventFilter_services
- The AWS services associated with the event. For example, EC2
, RDS
.