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

Description

 
Synopsis

Documentation

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.