libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events
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.CloudWatchEvents.Types.PutTargetsResultEntry

Description

 
Synopsis

Documentation

data PutTargetsResultEntry Source #

Represents a target that failed to be added to a rule.

See: newPutTargetsResultEntry smart constructor.

Constructors

PutTargetsResultEntry' 

Fields

  • targetId :: Maybe Text

    The ID of the target.

  • errorCode :: Maybe Text

    The error code that indicates why the target addition failed. If the value is ConcurrentModificationException, too many requests were made at the same time.

  • errorMessage :: Maybe Text

    The error message that explains why the target addition failed.

Instances

Instances details
Eq PutTargetsResultEntry Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry

Read PutTargetsResultEntry Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry

Show PutTargetsResultEntry Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry

Generic PutTargetsResultEntry Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry

Associated Types

type Rep PutTargetsResultEntry :: Type -> Type #

NFData PutTargetsResultEntry Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry

Methods

rnf :: PutTargetsResultEntry -> () #

Hashable PutTargetsResultEntry Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry

FromJSON PutTargetsResultEntry Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry

type Rep PutTargetsResultEntry Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry

type Rep PutTargetsResultEntry = D1 ('MetaData "PutTargetsResultEntry" "Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry" "libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events" 'False) (C1 ('MetaCons "PutTargetsResultEntry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "targetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newPutTargetsResultEntry :: PutTargetsResultEntry Source #

Create a value of PutTargetsResultEntry 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:targetId:PutTargetsResultEntry', putTargetsResultEntry_targetId - The ID of the target.

$sel:errorCode:PutTargetsResultEntry', putTargetsResultEntry_errorCode - The error code that indicates why the target addition failed. If the value is ConcurrentModificationException, too many requests were made at the same time.

$sel:errorMessage:PutTargetsResultEntry', putTargetsResultEntry_errorMessage - The error message that explains why the target addition failed.

putTargetsResultEntry_errorCode :: Lens' PutTargetsResultEntry (Maybe Text) Source #

The error code that indicates why the target addition failed. If the value is ConcurrentModificationException, too many requests were made at the same time.

putTargetsResultEntry_errorMessage :: Lens' PutTargetsResultEntry (Maybe Text) Source #

The error message that explains why the target addition failed.