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.EventAccountFilter

Description

 
Synopsis

Documentation

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