amazonka-cloudwatch-events-2.0: Amazon EventBridge 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.CloudWatchEvents.Types.RemoveTargetsResultEntry

Description

 
Synopsis

Documentation

data RemoveTargetsResultEntry Source #

Represents a target that failed to be removed from a rule.

See: newRemoveTargetsResultEntry smart constructor.

Constructors

RemoveTargetsResultEntry' 

Fields

  • errorCode :: Maybe Text

    The error code that indicates why the target removal 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 removal failed.

  • targetId :: Maybe Text

    The ID of the target.

Instances

Instances details
FromJSON RemoveTargetsResultEntry Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry

Generic RemoveTargetsResultEntry Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry

Associated Types

type Rep RemoveTargetsResultEntry :: Type -> Type #

Read RemoveTargetsResultEntry Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry

Show RemoveTargetsResultEntry Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry

NFData RemoveTargetsResultEntry Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry

Eq RemoveTargetsResultEntry Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry

Hashable RemoveTargetsResultEntry Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry

type Rep RemoveTargetsResultEntry Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry

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

newRemoveTargetsResultEntry :: RemoveTargetsResultEntry Source #

Create a value of RemoveTargetsResultEntry 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:errorCode:RemoveTargetsResultEntry', removeTargetsResultEntry_errorCode - The error code that indicates why the target removal failed. If the value is ConcurrentModificationException, too many requests were made at the same time.

$sel:errorMessage:RemoveTargetsResultEntry', removeTargetsResultEntry_errorMessage - The error message that explains why the target removal failed.

$sel:targetId:RemoveTargetsResultEntry', removeTargetsResultEntry_targetId - The ID of the target.

removeTargetsResultEntry_errorCode :: Lens' RemoveTargetsResultEntry (Maybe Text) Source #

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

removeTargetsResultEntry_errorMessage :: Lens' RemoveTargetsResultEntry (Maybe Text) Source #

The error message that explains why the target removal failed.