libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups
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.ResourceGroups.Types.FailedResource

Description

 
Synopsis

Documentation

data FailedResource Source #

A resource that failed to be added to or removed from a group.

See: newFailedResource smart constructor.

Constructors

FailedResource' 

Fields

Instances

Instances details
Eq FailedResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.FailedResource

Read FailedResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.FailedResource

Show FailedResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.FailedResource

Generic FailedResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.FailedResource

Associated Types

type Rep FailedResource :: Type -> Type #

NFData FailedResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.FailedResource

Methods

rnf :: FailedResource -> () #

Hashable FailedResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.FailedResource

FromJSON FailedResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.FailedResource

type Rep FailedResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.FailedResource

type Rep FailedResource = D1 ('MetaData "FailedResource" "Amazonka.ResourceGroups.Types.FailedResource" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "FailedResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") '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)))))

newFailedResource :: FailedResource Source #

Create a value of FailedResource 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:resourceArn:FailedResource', failedResource_resourceArn - The ARN of the resource that failed to be added or removed.

$sel:errorCode:FailedResource', failedResource_errorCode - The error code associated with the failure.

$sel:errorMessage:FailedResource', failedResource_errorMessage - The error message text associated with the failure.

failedResource_resourceArn :: Lens' FailedResource (Maybe Text) Source #

The ARN of the resource that failed to be added or removed.

failedResource_errorCode :: Lens' FailedResource (Maybe Text) Source #

The error code associated with the failure.

failedResource_errorMessage :: Lens' FailedResource (Maybe Text) Source #

The error message text associated with the failure.