amazonka-health-2.0: Amazon Health APIs and Notifications SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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 Amazon Web Services account numbers that contains the affected entities.

  • errorMessage :: Maybe Text

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

  • errorName :: Maybe Text

    The name of the error.

  • 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
FromJSON OrganizationAffectedEntitiesErrorItem Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem

Generic 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

NFData OrganizationAffectedEntitiesErrorItem Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem

Eq OrganizationAffectedEntitiesErrorItem Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem

Hashable 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" "amazonka-health-2.0-97kQZARXu4I8k4sVSmOp5K" 'False) (C1 ('MetaCons "OrganizationAffectedEntitiesErrorItem'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "awsAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "errorName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "eventArn") '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 Amazon Web Services account numbers that contains the affected entities.

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

$sel:errorName:OrganizationAffectedEntitiesErrorItem', organizationAffectedEntitiesErrorItem_errorName - The name of the error.

$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

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

The 12-digit Amazon Web Services account numbers that contains the affected entities.

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.

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