libZSservicesZSamazonka-healthZSamazonka-health
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AWSHealth.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2016-08-04 of the Amazon Health APIs and Notifications SDK configuration.

Errors

_InvalidPaginationToken :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified pagination token (nextToken) is not valid.

_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 :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified locale is not supported.

EntityStatusCode

newtype EntityStatusCode Source #

Instances

Instances details
Eq EntityStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityStatusCode

Ord EntityStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityStatusCode

Read EntityStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityStatusCode

Show EntityStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityStatusCode

Generic EntityStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityStatusCode

Associated Types

type Rep EntityStatusCode :: Type -> Type #

NFData EntityStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityStatusCode

Methods

rnf :: EntityStatusCode -> () #

Hashable EntityStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityStatusCode

ToJSON EntityStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityStatusCode

ToJSONKey EntityStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityStatusCode

FromJSON EntityStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityStatusCode

FromJSONKey EntityStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityStatusCode

ToLog EntityStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityStatusCode

ToHeader EntityStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityStatusCode

ToQuery EntityStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityStatusCode

FromXML EntityStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityStatusCode

ToXML EntityStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityStatusCode

ToByteString EntityStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityStatusCode

FromText EntityStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityStatusCode

ToText EntityStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityStatusCode

type Rep EntityStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityStatusCode

type Rep EntityStatusCode = D1 ('MetaData "EntityStatusCode" "Amazonka.AWSHealth.Types.EntityStatusCode" "libZSservicesZSamazonka-healthZSamazonka-health" 'True) (C1 ('MetaCons "EntityStatusCode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromEntityStatusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

EventAggregateField

newtype EventAggregateField Source #

Instances

Instances details
Eq EventAggregateField Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAggregateField

Ord EventAggregateField Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAggregateField

Read EventAggregateField Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAggregateField

Show EventAggregateField Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAggregateField

Generic EventAggregateField Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAggregateField

Associated Types

type Rep EventAggregateField :: Type -> Type #

NFData EventAggregateField Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAggregateField

Methods

rnf :: EventAggregateField -> () #

Hashable EventAggregateField Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAggregateField

ToJSON EventAggregateField Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAggregateField

ToJSONKey EventAggregateField Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAggregateField

FromJSON EventAggregateField Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAggregateField

FromJSONKey EventAggregateField Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAggregateField

ToLog EventAggregateField Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAggregateField

ToHeader EventAggregateField Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAggregateField

ToQuery EventAggregateField Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAggregateField

FromXML EventAggregateField Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAggregateField

ToXML EventAggregateField Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAggregateField

ToByteString EventAggregateField Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAggregateField

FromText EventAggregateField Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAggregateField

ToText EventAggregateField Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAggregateField

type Rep EventAggregateField Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAggregateField

type Rep EventAggregateField = D1 ('MetaData "EventAggregateField" "Amazonka.AWSHealth.Types.EventAggregateField" "libZSservicesZSamazonka-healthZSamazonka-health" 'True) (C1 ('MetaCons "EventAggregateField'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromEventAggregateField") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

EventScopeCode

newtype EventScopeCode Source #

Constructors

EventScopeCode' 

Instances

Instances details
Eq EventScopeCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventScopeCode

Ord EventScopeCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventScopeCode

Read EventScopeCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventScopeCode

Show EventScopeCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventScopeCode

Generic EventScopeCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventScopeCode

Associated Types

type Rep EventScopeCode :: Type -> Type #

NFData EventScopeCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventScopeCode

Methods

rnf :: EventScopeCode -> () #

Hashable EventScopeCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventScopeCode

ToJSON EventScopeCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventScopeCode

ToJSONKey EventScopeCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventScopeCode

FromJSON EventScopeCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventScopeCode

FromJSONKey EventScopeCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventScopeCode

ToLog EventScopeCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventScopeCode

ToHeader EventScopeCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventScopeCode

ToQuery EventScopeCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventScopeCode

FromXML EventScopeCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventScopeCode

ToXML EventScopeCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventScopeCode

Methods

toXML :: EventScopeCode -> XML #

ToByteString EventScopeCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventScopeCode

FromText EventScopeCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventScopeCode

ToText EventScopeCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventScopeCode

type Rep EventScopeCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventScopeCode

type Rep EventScopeCode = D1 ('MetaData "EventScopeCode" "Amazonka.AWSHealth.Types.EventScopeCode" "libZSservicesZSamazonka-healthZSamazonka-health" 'True) (C1 ('MetaCons "EventScopeCode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromEventScopeCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

EventStatusCode

newtype EventStatusCode Source #

Constructors

EventStatusCode' 

Instances

Instances details
Eq EventStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventStatusCode

Ord EventStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventStatusCode

Read EventStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventStatusCode

Show EventStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventStatusCode

Generic EventStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventStatusCode

Associated Types

type Rep EventStatusCode :: Type -> Type #

NFData EventStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventStatusCode

Methods

rnf :: EventStatusCode -> () #

Hashable EventStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventStatusCode

ToJSON EventStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventStatusCode

ToJSONKey EventStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventStatusCode

FromJSON EventStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventStatusCode

FromJSONKey EventStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventStatusCode

ToLog EventStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventStatusCode

ToHeader EventStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventStatusCode

ToQuery EventStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventStatusCode

FromXML EventStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventStatusCode

ToXML EventStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventStatusCode

Methods

toXML :: EventStatusCode -> XML #

ToByteString EventStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventStatusCode

FromText EventStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventStatusCode

ToText EventStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventStatusCode

type Rep EventStatusCode Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventStatusCode

type Rep EventStatusCode = D1 ('MetaData "EventStatusCode" "Amazonka.AWSHealth.Types.EventStatusCode" "libZSservicesZSamazonka-healthZSamazonka-health" 'True) (C1 ('MetaCons "EventStatusCode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromEventStatusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

EventTypeCategory

newtype EventTypeCategory Source #

Instances

Instances details
Eq EventTypeCategory Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventTypeCategory

Ord EventTypeCategory Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventTypeCategory

Read EventTypeCategory Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventTypeCategory

Show EventTypeCategory Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventTypeCategory

Generic EventTypeCategory Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventTypeCategory

Associated Types

type Rep EventTypeCategory :: Type -> Type #

NFData EventTypeCategory Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventTypeCategory

Methods

rnf :: EventTypeCategory -> () #

Hashable EventTypeCategory Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventTypeCategory

ToJSON EventTypeCategory Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventTypeCategory

ToJSONKey EventTypeCategory Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventTypeCategory

FromJSON EventTypeCategory Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventTypeCategory

FromJSONKey EventTypeCategory Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventTypeCategory

ToLog EventTypeCategory Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventTypeCategory

ToHeader EventTypeCategory Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventTypeCategory

ToQuery EventTypeCategory Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventTypeCategory

FromXML EventTypeCategory Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventTypeCategory

ToXML EventTypeCategory Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventTypeCategory

ToByteString EventTypeCategory Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventTypeCategory

FromText EventTypeCategory Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventTypeCategory

ToText EventTypeCategory Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventTypeCategory

type Rep EventTypeCategory Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventTypeCategory

type Rep EventTypeCategory = D1 ('MetaData "EventTypeCategory" "Amazonka.AWSHealth.Types.EventTypeCategory" "libZSservicesZSamazonka-healthZSamazonka-health" 'True) (C1 ('MetaCons "EventTypeCategory'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromEventTypeCategory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

AffectedEntity

data AffectedEntity Source #

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

See: newAffectedEntity smart constructor.

Constructors

AffectedEntity' 

Fields

  • lastUpdatedTime :: Maybe POSIX

    The most recent time that the entity was updated.

  • entityValue :: Maybe Text

    The ID of the affected entity.

  • entityUrl :: Maybe Text

    The URL of the affected entity.

  • awsAccountId :: Maybe Text

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

  • eventArn :: Maybe Text

    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
  • entityArn :: Maybe Text

    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

  • tags :: Maybe (HashMap Text Text)

    A map of entity tags attached to the affected entity.

    Currently, the tags property isn't supported.

  • statusCode :: Maybe EntityStatusCode

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

Instances

Instances details
Eq AffectedEntity Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.AffectedEntity

Read AffectedEntity Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.AffectedEntity

Show AffectedEntity Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.AffectedEntity

Generic AffectedEntity Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.AffectedEntity

Associated Types

type Rep AffectedEntity :: Type -> Type #

NFData AffectedEntity Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.AffectedEntity

Methods

rnf :: AffectedEntity -> () #

Hashable AffectedEntity Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.AffectedEntity

FromJSON AffectedEntity Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.AffectedEntity

type Rep AffectedEntity Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.AffectedEntity

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.

affectedEntity_lastUpdatedTime :: Lens' AffectedEntity (Maybe UTCTime) Source #

The most recent time that the entity was updated.

affectedEntity_entityValue :: Lens' AffectedEntity (Maybe Text) Source #

The ID of the affected entity.

affectedEntity_entityUrl :: Lens' AffectedEntity (Maybe Text) Source #

The URL of the affected entity.

affectedEntity_awsAccountId :: Lens' AffectedEntity (Maybe Text) Source #

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

affectedEntity_eventArn :: Lens' AffectedEntity (Maybe Text) Source #

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

affectedEntity_entityArn :: Lens' AffectedEntity (Maybe Text) Source #

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

affectedEntity_tags :: Lens' AffectedEntity (Maybe (HashMap Text Text)) Source #

A map of entity tags attached to the affected entity.

Currently, the tags property isn't supported.

affectedEntity_statusCode :: Lens' AffectedEntity (Maybe EntityStatusCode) Source #

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.

Constructors

DateTimeRange' 

Fields

Instances

Instances details
Eq DateTimeRange Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.DateTimeRange

Read DateTimeRange Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.DateTimeRange

Show DateTimeRange Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.DateTimeRange

Generic DateTimeRange Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.DateTimeRange

Associated Types

type Rep DateTimeRange :: Type -> Type #

NFData DateTimeRange Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.DateTimeRange

Methods

rnf :: DateTimeRange -> () #

Hashable DateTimeRange Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.DateTimeRange

ToJSON DateTimeRange Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.DateTimeRange

type Rep DateTimeRange Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.DateTimeRange

type Rep DateTimeRange = D1 ('MetaData "DateTimeRange" "Amazonka.AWSHealth.Types.DateTimeRange" "libZSservicesZSamazonka-healthZSamazonka-health" 'False) (C1 ('MetaCons "DateTimeRange'" 'PrefixI 'True) (S1 ('MetaSel ('Just "to") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "from") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))

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.

dateTimeRange_to :: Lens' DateTimeRange (Maybe UTCTime) Source #

The ending date and time of a time range.

dateTimeRange_from :: Lens' DateTimeRange (Maybe UTCTime) Source #

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.

Constructors

EntityAggregate' 

Fields

  • count :: Maybe Int

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

  • eventArn :: Maybe Text

    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

Instances

Instances details
Eq EntityAggregate Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityAggregate

Read EntityAggregate Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityAggregate

Show EntityAggregate Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityAggregate

Generic EntityAggregate Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityAggregate

Associated Types

type Rep EntityAggregate :: Type -> Type #

NFData EntityAggregate Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityAggregate

Methods

rnf :: EntityAggregate -> () #

Hashable EntityAggregate Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityAggregate

FromJSON EntityAggregate Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityAggregate

type Rep EntityAggregate Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityAggregate

type Rep EntityAggregate = D1 ('MetaData "EntityAggregate" "Amazonka.AWSHealth.Types.EntityAggregate" "libZSservicesZSamazonka-healthZSamazonka-health" 'False) (C1 ('MetaCons "EntityAggregate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "count") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "eventArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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

entityAggregate_count :: Lens' EntityAggregate (Maybe Int) Source #

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

entityAggregate_eventArn :: Lens' EntityAggregate (Maybe Text) Source #

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.

Constructors

EntityFilter' 

Fields

Instances

Instances details
Eq EntityFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityFilter

Read EntityFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityFilter

Show EntityFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityFilter

Generic EntityFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityFilter

Associated Types

type Rep EntityFilter :: Type -> Type #

NFData EntityFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityFilter

Methods

rnf :: EntityFilter -> () #

Hashable EntityFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityFilter

ToJSON EntityFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityFilter

type Rep EntityFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EntityFilter

newEntityFilter Source #

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"

entityFilter_statusCodes :: Lens' EntityFilter (Maybe (NonEmpty EntityStatusCode)) Source #

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

entityFilter_entityArns :: Lens' EntityFilter (Maybe (NonEmpty Text)) Source #

A list of entity ARNs (unique identifiers).

entityFilter_entityValues :: Lens' EntityFilter (Maybe (NonEmpty Text)) Source #

A list of IDs for affected entities.

entityFilter_tags :: Lens' EntityFilter (Maybe [HashMap Text Text]) Source #

A map of entity tags attached to the affected entity.

Currently, the tags property isn't supported.

entityFilter_lastUpdatedTimes :: Lens' EntityFilter (Maybe (NonEmpty DateTimeRange)) Source #

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

entityFilter_eventArns :: Lens' EntityFilter (NonEmpty Text) Source #

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

data Event Source #

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.

Constructors

Event' 

Fields

  • lastUpdatedTime :: Maybe POSIX

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

  • arn :: Maybe Text

    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
  • service :: Maybe Text

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

  • startTime :: Maybe POSIX

    The date and time that the event began.

  • eventScopeCode :: Maybe EventScopeCode

    This parameter specifies if the AWS Health event is a public AWS 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 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 is NONE, then the eventArn that you specified in the request is invalid or doesn't exist.
  • eventTypeCode :: Maybe Text

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

  • eventTypeCategory :: Maybe EventTypeCategory

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

  • availabilityZone :: Maybe Text

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

  • endTime :: Maybe POSIX

    The date and time that the event ended.

  • region :: Maybe Text

    The AWS Region name of the event.

  • statusCode :: Maybe EventStatusCode

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

Instances

Instances details
Eq Event Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.Event

Methods

(==) :: Event -> Event -> Bool #

(/=) :: Event -> Event -> Bool #

Read Event Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.Event

Show Event Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.Event

Methods

showsPrec :: Int -> Event -> ShowS #

show :: Event -> String #

showList :: [Event] -> ShowS #

Generic Event Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.Event

Associated Types

type Rep Event :: Type -> Type #

Methods

from :: Event -> Rep Event x #

to :: Rep Event x -> Event #

NFData Event Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.Event

Methods

rnf :: Event -> () #

Hashable Event Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.Event

Methods

hashWithSalt :: Int -> Event -> Int #

hash :: Event -> Int #

FromJSON Event Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.Event

type Rep Event Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.Event

type Rep Event = D1 ('MetaData "Event" "Amazonka.AWSHealth.Types.Event" "libZSservicesZSamazonka-healthZSamazonka-health" 'False) (C1 ('MetaCons "Event'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "lastUpdatedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "service") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "eventScopeCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EventScopeCode))))) :*: ((S1 ('MetaSel ('Just "eventTypeCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "eventTypeCategory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EventTypeCategory)) :*: S1 ('MetaSel ('Just "availabilityZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "region") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EventStatusCode)))))))

newEvent :: Event Source #

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 is PUBLIC, then the affectedAccounts value is always empty.
  • If the eventScopeCode value is ACCOUNT_SPECIFIC, then the affectedAccounts 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 is NONE, then the eventArn 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.

event_lastUpdatedTime :: Lens' Event (Maybe UTCTime) Source #

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

event_arn :: Lens' Event (Maybe Text) Source #

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

event_service :: Lens' Event (Maybe Text) Source #

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

event_startTime :: Lens' Event (Maybe UTCTime) Source #

The date and time that the event began.

event_eventScopeCode :: Lens' Event (Maybe EventScopeCode) Source #

This parameter specifies if the AWS Health event is a public AWS 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 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 is NONE, then the eventArn that you specified in the request is invalid or doesn't exist.

event_eventTypeCode :: Lens' Event (Maybe Text) Source #

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

event_eventTypeCategory :: Lens' Event (Maybe EventTypeCategory) Source #

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

event_availabilityZone :: Lens' Event (Maybe Text) Source #

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

event_endTime :: Lens' Event (Maybe UTCTime) Source #

The date and time that the event ended.

event_region :: Lens' Event (Maybe Text) Source #

The AWS Region name of the event.

event_statusCode :: Lens' Event (Maybe EventStatusCode) Source #

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.

Constructors

EventAccountFilter' 

Fields

  • awsAccountId :: Maybe Text

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

  • eventArn :: Text

    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

Instances

Instances details
Eq EventAccountFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAccountFilter

Read EventAccountFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAccountFilter

Show EventAccountFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAccountFilter

Generic EventAccountFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAccountFilter

Associated Types

type Rep EventAccountFilter :: Type -> Type #

NFData EventAccountFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAccountFilter

Methods

rnf :: EventAccountFilter -> () #

Hashable EventAccountFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAccountFilter

ToJSON EventAccountFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAccountFilter

type Rep EventAccountFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAccountFilter

type Rep EventAccountFilter = D1 ('MetaData "EventAccountFilter" "Amazonka.AWSHealth.Types.EventAccountFilter" "libZSservicesZSamazonka-healthZSamazonka-health" 'False) (C1 ('MetaCons "EventAccountFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "awsAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "eventArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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

eventAccountFilter_awsAccountId :: Lens' EventAccountFilter (Maybe Text) Source #

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

eventAccountFilter_eventArn :: Lens' EventAccountFilter Text Source #

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.

Constructors

EventAggregate' 

Fields

Instances

Instances details
Eq EventAggregate Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAggregate

Read EventAggregate Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAggregate

Show EventAggregate Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAggregate

Generic EventAggregate Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAggregate

Associated Types

type Rep EventAggregate :: Type -> Type #

NFData EventAggregate Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAggregate

Methods

rnf :: EventAggregate -> () #

Hashable EventAggregate Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAggregate

FromJSON EventAggregate Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAggregate

type Rep EventAggregate Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventAggregate

type Rep EventAggregate = D1 ('MetaData "EventAggregate" "Amazonka.AWSHealth.Types.EventAggregate" "libZSservicesZSamazonka-healthZSamazonka-health" 'False) (C1 ('MetaCons "EventAggregate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "count") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "aggregateValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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.

eventAggregate_count :: Lens' EventAggregate (Maybe Int) Source #

The number of events of the associated issue type.

eventAggregate_aggregateValue :: Lens' EventAggregate (Maybe Text) Source #

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.

Constructors

EventDescription' 

Fields

Instances

Instances details
Eq EventDescription Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventDescription

Read EventDescription Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventDescription

Show EventDescription Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventDescription

Generic EventDescription Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventDescription

Associated Types

type Rep EventDescription :: Type -> Type #

NFData EventDescription Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventDescription

Methods

rnf :: EventDescription -> () #

Hashable EventDescription Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventDescription

FromJSON EventDescription Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventDescription

type Rep EventDescription Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventDescription

type Rep EventDescription = D1 ('MetaData "EventDescription" "Amazonka.AWSHealth.Types.EventDescription" "libZSservicesZSamazonka-healthZSamazonka-health" 'False) (C1 ('MetaCons "EventDescription'" 'PrefixI 'True) (S1 ('MetaSel ('Just "latestDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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.

eventDescription_latestDescription :: Lens' EventDescription (Maybe Text) Source #

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.

Constructors

EventDetails' 

Fields

Instances

Instances details
Eq EventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventDetails

Read EventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventDetails

Show EventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventDetails

Generic EventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventDetails

Associated Types

type Rep EventDetails :: Type -> Type #

NFData EventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventDetails

Methods

rnf :: EventDetails -> () #

Hashable EventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventDetails

FromJSON EventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventDetails

type Rep EventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventDetails

type Rep EventDetails = D1 ('MetaData "EventDetails" "Amazonka.AWSHealth.Types.EventDetails" "libZSservicesZSamazonka-healthZSamazonka-health" 'False) (C1 ('MetaCons "EventDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "event") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Event)) :*: (S1 ('MetaSel ('Just "eventDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EventDescription)) :*: S1 ('MetaSel ('Just "eventMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))))

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.

eventDetails_event :: Lens' EventDetails (Maybe Event) Source #

Summary information about the event.

eventDetails_eventDescription :: Lens' EventDetails (Maybe EventDescription) Source #

The most recent description of the event.

eventDetails_eventMetadata :: Lens' EventDetails (Maybe (HashMap Text Text)) Source #

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.

Constructors

EventDetailsErrorItem' 

Fields

  • eventArn :: Maybe Text

    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
  • errorName :: Maybe Text

    The name of the error.

  • errorMessage :: Maybe Text

    A message that describes the error.

Instances

Instances details
Eq EventDetailsErrorItem Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventDetailsErrorItem

Read EventDetailsErrorItem Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventDetailsErrorItem

Show EventDetailsErrorItem Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventDetailsErrorItem

Generic EventDetailsErrorItem Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventDetailsErrorItem

Associated Types

type Rep EventDetailsErrorItem :: Type -> Type #

NFData EventDetailsErrorItem Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventDetailsErrorItem

Methods

rnf :: EventDetailsErrorItem -> () #

Hashable EventDetailsErrorItem Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventDetailsErrorItem

FromJSON EventDetailsErrorItem Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventDetailsErrorItem

type Rep EventDetailsErrorItem Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventDetailsErrorItem

type Rep EventDetailsErrorItem = D1 ('MetaData "EventDetailsErrorItem" "Amazonka.AWSHealth.Types.EventDetailsErrorItem" "libZSservicesZSamazonka-healthZSamazonka-health" 'False) (C1 ('MetaCons "EventDetailsErrorItem'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "errorName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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.

eventDetailsErrorItem_eventArn :: Lens' EventDetailsErrorItem (Maybe Text) Source #

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

EventFilter

data EventFilter Source #

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

See: newEventFilter smart constructor.

Constructors

EventFilter' 

Fields

Instances

Instances details
Eq EventFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventFilter

Read EventFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventFilter

Show EventFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventFilter

Generic EventFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventFilter

Associated Types

type Rep EventFilter :: Type -> Type #

NFData EventFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventFilter

Methods

rnf :: EventFilter -> () #

Hashable EventFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventFilter

ToJSON EventFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventFilter

type Rep EventFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventFilter

type Rep EventFilter = D1 ('MetaData "EventFilter" "Amazonka.AWSHealth.Types.EventFilter" "libZSservicesZSamazonka-healthZSamazonka-health" 'False) (C1 ('MetaCons "EventFilter'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "eventArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: (S1 ('MetaSel ('Just "eventTypeCategories") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty EventTypeCategory))) :*: S1 ('MetaSel ('Just "eventTypeCodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))))) :*: (S1 ('MetaSel ('Just "regions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: (S1 ('MetaSel ('Just "eventStatusCodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty EventStatusCode))) :*: S1 ('MetaSel ('Just "endTimes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty DateTimeRange)))))) :*: ((S1 ('MetaSel ('Just "availabilityZones") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "entityArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "entityValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))))) :*: ((S1 ('MetaSel ('Just "startTimes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty DateTimeRange))) :*: S1 ('MetaSel ('Just "services") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text)))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [HashMap Text Text])) :*: S1 ('MetaSel ('Just "lastUpdatedTimes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty DateTimeRange))))))))

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.

eventFilter_eventArns :: Lens' EventFilter (Maybe (NonEmpty Text)) Source #

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"

eventFilter_eventTypeCategories :: Lens' EventFilter (Maybe (NonEmpty EventTypeCategory)) Source #

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

eventFilter_eventTypeCodes :: Lens' EventFilter (Maybe (NonEmpty Text)) Source #

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

eventFilter_endTimes :: Lens' EventFilter (Maybe (NonEmpty DateTimeRange)) Source #

A list of dates and times that the event ended.

eventFilter_availabilityZones :: Lens' EventFilter (Maybe [Text]) Source #

A list of AWS Availability Zones.

eventFilter_entityArns :: Lens' EventFilter (Maybe (NonEmpty Text)) Source #

A list of entity ARNs (unique identifiers).

eventFilter_entityValues :: Lens' EventFilter (Maybe (NonEmpty Text)) Source #

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

eventFilter_startTimes :: Lens' EventFilter (Maybe (NonEmpty DateTimeRange)) Source #

A list of dates and times that the event began.

eventFilter_services :: Lens' EventFilter (Maybe (NonEmpty Text)) Source #

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

eventFilter_tags :: Lens' EventFilter (Maybe [HashMap Text Text]) Source #

A map of entity tags attached to the affected entity.

Currently, the tags property isn't supported.

eventFilter_lastUpdatedTimes :: Lens' EventFilter (Maybe (NonEmpty DateTimeRange)) Source #

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

EventType

data EventType Source #

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.

Constructors

EventType' 

Fields

  • service :: Maybe Text

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

  • category :: Maybe EventTypeCategory

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

  • code :: Maybe Text

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

Instances

Instances details
Eq EventType Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventType

Read EventType Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventType

Show EventType Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventType

Generic EventType Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventType

Associated Types

type Rep EventType :: Type -> Type #

NFData EventType Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventType

Methods

rnf :: EventType -> () #

Hashable EventType Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventType

FromJSON EventType Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventType

type Rep EventType Source # 
Instance details

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.

eventType_service :: Lens' EventType (Maybe Text) Source #

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

eventType_category :: Lens' EventType (Maybe EventTypeCategory) Source #

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

eventType_code :: Lens' EventType (Maybe Text) Source #

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.

Constructors

EventTypeFilter' 

Fields

Instances

Instances details
Eq EventTypeFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventTypeFilter

Read EventTypeFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventTypeFilter

Show EventTypeFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventTypeFilter

Generic EventTypeFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventTypeFilter

Associated Types

type Rep EventTypeFilter :: Type -> Type #

NFData EventTypeFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventTypeFilter

Methods

rnf :: EventTypeFilter -> () #

Hashable EventTypeFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventTypeFilter

ToJSON EventTypeFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventTypeFilter

type Rep EventTypeFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventTypeFilter

type Rep EventTypeFilter = D1 ('MetaData "EventTypeFilter" "Amazonka.AWSHealth.Types.EventTypeFilter" "libZSservicesZSamazonka-healthZSamazonka-health" 'False) (C1 ('MetaCons "EventTypeFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventTypeCategories") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty EventTypeCategory))) :*: (S1 ('MetaSel ('Just "eventTypeCodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "services") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))))))

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.

eventTypeFilter_eventTypeCategories :: Lens' EventTypeFilter (Maybe (NonEmpty EventTypeCategory)) Source #

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

eventTypeFilter_services :: Lens' EventTypeFilter (Maybe (NonEmpty Text)) Source #

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.

Constructors

OrganizationAffectedEntitiesErrorItem' 

Fields

  • awsAccountId :: Maybe Text

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

  • eventArn :: Maybe Text

    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
  • errorName :: Maybe Text

    The name of the error.

  • errorMessage :: Maybe Text

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

Instances

Instances details
Eq OrganizationAffectedEntitiesErrorItem Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem

Read OrganizationAffectedEntitiesErrorItem Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem

Show OrganizationAffectedEntitiesErrorItem Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem

Generic OrganizationAffectedEntitiesErrorItem Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem

NFData OrganizationAffectedEntitiesErrorItem Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem

Hashable OrganizationAffectedEntitiesErrorItem Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem

FromJSON OrganizationAffectedEntitiesErrorItem Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem

type Rep OrganizationAffectedEntitiesErrorItem Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem

type Rep OrganizationAffectedEntitiesErrorItem = D1 ('MetaData "OrganizationAffectedEntitiesErrorItem" "Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem" "libZSservicesZSamazonka-healthZSamazonka-health" 'False) (C1 ('MetaCons "OrganizationAffectedEntitiesErrorItem'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "awsAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "eventArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "errorName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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.

organizationAffectedEntitiesErrorItem_awsAccountId :: Lens' OrganizationAffectedEntitiesErrorItem (Maybe Text) Source #

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

organizationAffectedEntitiesErrorItem_eventArn :: Lens' OrganizationAffectedEntitiesErrorItem (Maybe Text) Source #

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

organizationAffectedEntitiesErrorItem_errorMessage :: Lens' OrganizationAffectedEntitiesErrorItem (Maybe Text) Source #

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.

Constructors

OrganizationEvent' 

Fields

  • lastUpdatedTime :: Maybe POSIX

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

  • arn :: Maybe Text

    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
  • service :: Maybe Text

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

  • startTime :: Maybe POSIX

    The date and time that the event began.

  • eventScopeCode :: Maybe EventScopeCode

    This parameter specifies if the AWS Health event is a public AWS 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 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 is NONE, then the eventArn that you specified in the request is invalid or doesn't exist.
  • eventTypeCode :: Maybe Text

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

  • eventTypeCategory :: Maybe EventTypeCategory

    The category of the event type.

  • endTime :: Maybe POSIX

    The date and time that the event ended.

  • region :: Maybe Text

    The AWS Region name of the event.

  • statusCode :: Maybe EventStatusCode

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

Instances

Instances details
Eq OrganizationEvent Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationEvent

Read OrganizationEvent Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationEvent

Show OrganizationEvent Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationEvent

Generic OrganizationEvent Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationEvent

Associated Types

type Rep OrganizationEvent :: Type -> Type #

NFData OrganizationEvent Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationEvent

Methods

rnf :: OrganizationEvent -> () #

Hashable OrganizationEvent Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationEvent

FromJSON OrganizationEvent Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationEvent

type Rep OrganizationEvent Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationEvent

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 is PUBLIC, then the affectedAccounts value is always empty.
  • If the eventScopeCode value is ACCOUNT_SPECIFIC, then the affectedAccounts 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 is NONE, then the eventArn 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.

organizationEvent_lastUpdatedTime :: Lens' OrganizationEvent (Maybe UTCTime) Source #

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

organizationEvent_arn :: Lens' OrganizationEvent (Maybe Text) Source #

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

organizationEvent_service :: Lens' OrganizationEvent (Maybe Text) Source #

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

organizationEvent_startTime :: Lens' OrganizationEvent (Maybe UTCTime) Source #

The date and time that the event began.

organizationEvent_eventScopeCode :: Lens' OrganizationEvent (Maybe EventScopeCode) Source #

This parameter specifies if the AWS Health event is a public AWS 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 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 is NONE, then the eventArn that you specified in the request is invalid or doesn't exist.

organizationEvent_eventTypeCode :: Lens' OrganizationEvent (Maybe Text) Source #

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

organizationEvent_endTime :: Lens' OrganizationEvent (Maybe UTCTime) Source #

The date and time that the event ended.

organizationEvent_region :: Lens' OrganizationEvent (Maybe Text) Source #

The AWS Region name of the event.

organizationEvent_statusCode :: Lens' OrganizationEvent (Maybe EventStatusCode) Source #

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.

Constructors

OrganizationEventDetails' 

Fields

Instances

Instances details
Eq OrganizationEventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationEventDetails

Read OrganizationEventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationEventDetails

Show OrganizationEventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationEventDetails

Generic OrganizationEventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationEventDetails

Associated Types

type Rep OrganizationEventDetails :: Type -> Type #

NFData OrganizationEventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationEventDetails

Hashable OrganizationEventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationEventDetails

FromJSON OrganizationEventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationEventDetails

type Rep OrganizationEventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationEventDetails

type Rep OrganizationEventDetails = D1 ('MetaData "OrganizationEventDetails" "Amazonka.AWSHealth.Types.OrganizationEventDetails" "libZSservicesZSamazonka-healthZSamazonka-health" 'False) (C1 ('MetaCons "OrganizationEventDetails'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "event") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Event)) :*: S1 ('MetaSel ('Just "eventDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EventDescription))) :*: (S1 ('MetaSel ('Just "awsAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "eventMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))))

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.

organizationEventDetails_awsAccountId :: Lens' OrganizationEventDetails (Maybe Text) Source #

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

OrganizationEventDetailsErrorItem

data OrganizationEventDetailsErrorItem Source #

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

See: newOrganizationEventDetailsErrorItem smart constructor.

Constructors

OrganizationEventDetailsErrorItem' 

Fields

  • awsAccountId :: Maybe Text

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

  • eventArn :: Maybe Text

    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
  • errorName :: Maybe Text

    The name of the error.

  • errorMessage :: Maybe Text

    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.

Instances

Instances details
Eq OrganizationEventDetailsErrorItem Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem

Read OrganizationEventDetailsErrorItem Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem

Show OrganizationEventDetailsErrorItem Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem

Generic OrganizationEventDetailsErrorItem Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem

Associated Types

type Rep OrganizationEventDetailsErrorItem :: Type -> Type #

NFData OrganizationEventDetailsErrorItem Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem

Hashable OrganizationEventDetailsErrorItem Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem

FromJSON OrganizationEventDetailsErrorItem Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem

type Rep OrganizationEventDetailsErrorItem Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem

type Rep OrganizationEventDetailsErrorItem = D1 ('MetaData "OrganizationEventDetailsErrorItem" "Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem" "libZSservicesZSamazonka-healthZSamazonka-health" 'False) (C1 ('MetaCons "OrganizationEventDetailsErrorItem'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "awsAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "eventArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "errorName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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.

organizationEventDetailsErrorItem_eventArn :: Lens' OrganizationEventDetailsErrorItem (Maybe Text) Source #

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

organizationEventDetailsErrorItem_errorMessage :: Lens' OrganizationEventDetailsErrorItem (Maybe Text) Source #

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.

Constructors

OrganizationEventFilter' 

Fields

Instances

Instances details
Eq OrganizationEventFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationEventFilter

Read OrganizationEventFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationEventFilter

Show OrganizationEventFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationEventFilter

Generic OrganizationEventFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationEventFilter

Associated Types

type Rep OrganizationEventFilter :: Type -> Type #

NFData OrganizationEventFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationEventFilter

Methods

rnf :: OrganizationEventFilter -> () #

Hashable OrganizationEventFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationEventFilter

ToJSON OrganizationEventFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationEventFilter

type Rep OrganizationEventFilter Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationEventFilter

type Rep OrganizationEventFilter = D1 ('MetaData "OrganizationEventFilter" "Amazonka.AWSHealth.Types.OrganizationEventFilter" "libZSservicesZSamazonka-healthZSamazonka-health" 'False) (C1 ('MetaCons "OrganizationEventFilter'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "lastUpdatedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DateTimeRange)) :*: S1 ('MetaSel ('Just "awsAccountIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text)))) :*: (S1 ('MetaSel ('Just "eventTypeCategories") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty EventTypeCategory))) :*: (S1 ('MetaSel ('Just "eventTypeCodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DateTimeRange))))) :*: ((S1 ('MetaSel ('Just "regions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: (S1 ('MetaSel ('Just "eventStatusCodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty EventStatusCode))) :*: S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DateTimeRange)))) :*: (S1 ('MetaSel ('Just "entityArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: (S1 ('MetaSel ('Just "entityValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "services") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))))))))

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.

organizationEventFilter_awsAccountIds :: Lens' OrganizationEventFilter (Maybe (NonEmpty Text)) Source #

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

organizationEventFilter_eventTypeCategories :: Lens' OrganizationEventFilter (Maybe (NonEmpty EventTypeCategory)) Source #

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

organizationEventFilter_eventTypeCodes :: Lens' OrganizationEventFilter (Maybe (NonEmpty Text)) Source #

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

organizationEventFilter_entityValues :: Lens' OrganizationEventFilter (Maybe (NonEmpty Text)) Source #

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

organizationEventFilter_services :: Lens' OrganizationEventFilter (Maybe (NonEmpty Text)) Source #

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