libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail
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.CloudTrail.Types.ResourceTag

Description

 
Synopsis

Documentation

data ResourceTag Source #

A resource tag.

See: newResourceTag smart constructor.

Constructors

ResourceTag' 

Fields

Instances

Instances details
Eq ResourceTag Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ResourceTag

Read ResourceTag Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ResourceTag

Show ResourceTag Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ResourceTag

Generic ResourceTag Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ResourceTag

Associated Types

type Rep ResourceTag :: Type -> Type #

NFData ResourceTag Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ResourceTag

Methods

rnf :: ResourceTag -> () #

Hashable ResourceTag Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ResourceTag

FromJSON ResourceTag Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ResourceTag

type Rep ResourceTag Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ResourceTag

type Rep ResourceTag = D1 ('MetaData "ResourceTag" "Amazonka.CloudTrail.Types.ResourceTag" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "ResourceTag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tagsList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag]))))

newResourceTag :: ResourceTag Source #

Create a value of ResourceTag 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:resourceId:ResourceTag', resourceTag_resourceId - Specifies the ARN of the resource.

$sel:tagsList:ResourceTag', resourceTag_tagsList - A list of tags.

resourceTag_resourceId :: Lens' ResourceTag (Maybe Text) Source #

Specifies the ARN of the resource.