libZSservicesZSamazonka-inspectorZSamazonka-inspector
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.Inspector.SetTagsForResource

Description

Sets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment template.

Synopsis

Creating a Request

data SetTagsForResource Source #

See: newSetTagsForResource smart constructor.

Constructors

SetTagsForResource' 

Fields

  • tags :: Maybe [Tag]

    A collection of key and value pairs that you want to set to the assessment template.

  • resourceArn :: Text

    The ARN of the assessment template that you want to set tags to.

Instances

Instances details
Eq SetTagsForResource Source # 
Instance details

Defined in Amazonka.Inspector.SetTagsForResource

Read SetTagsForResource Source # 
Instance details

Defined in Amazonka.Inspector.SetTagsForResource

Show SetTagsForResource Source # 
Instance details

Defined in Amazonka.Inspector.SetTagsForResource

Generic SetTagsForResource Source # 
Instance details

Defined in Amazonka.Inspector.SetTagsForResource

Associated Types

type Rep SetTagsForResource :: Type -> Type #

NFData SetTagsForResource Source # 
Instance details

Defined in Amazonka.Inspector.SetTagsForResource

Methods

rnf :: SetTagsForResource -> () #

Hashable SetTagsForResource Source # 
Instance details

Defined in Amazonka.Inspector.SetTagsForResource

ToJSON SetTagsForResource Source # 
Instance details

Defined in Amazonka.Inspector.SetTagsForResource

AWSRequest SetTagsForResource Source # 
Instance details

Defined in Amazonka.Inspector.SetTagsForResource

Associated Types

type AWSResponse SetTagsForResource #

ToHeaders SetTagsForResource Source # 
Instance details

Defined in Amazonka.Inspector.SetTagsForResource

ToPath SetTagsForResource Source # 
Instance details

Defined in Amazonka.Inspector.SetTagsForResource

ToQuery SetTagsForResource Source # 
Instance details

Defined in Amazonka.Inspector.SetTagsForResource

type Rep SetTagsForResource Source # 
Instance details

Defined in Amazonka.Inspector.SetTagsForResource

type Rep SetTagsForResource = D1 ('MetaData "SetTagsForResource" "Amazonka.Inspector.SetTagsForResource" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "SetTagsForResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse SetTagsForResource Source # 
Instance details

Defined in Amazonka.Inspector.SetTagsForResource

newSetTagsForResource Source #

Create a value of SetTagsForResource 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:tags:SetTagsForResource', setTagsForResource_tags - A collection of key and value pairs that you want to set to the assessment template.

$sel:resourceArn:SetTagsForResource', setTagsForResource_resourceArn - The ARN of the assessment template that you want to set tags to.

Request Lenses

setTagsForResource_tags :: Lens' SetTagsForResource (Maybe [Tag]) Source #

A collection of key and value pairs that you want to set to the assessment template.

setTagsForResource_resourceArn :: Lens' SetTagsForResource Text Source #

The ARN of the assessment template that you want to set tags to.

Destructuring the Response

data SetTagsForResourceResponse Source #

See: newSetTagsForResourceResponse smart constructor.

Instances

Instances details
Eq SetTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.Inspector.SetTagsForResource

Read SetTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.Inspector.SetTagsForResource

Show SetTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.Inspector.SetTagsForResource

Generic SetTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.Inspector.SetTagsForResource

Associated Types

type Rep SetTagsForResourceResponse :: Type -> Type #

NFData SetTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.Inspector.SetTagsForResource

type Rep SetTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.Inspector.SetTagsForResource

type Rep SetTagsForResourceResponse = D1 ('MetaData "SetTagsForResourceResponse" "Amazonka.Inspector.SetTagsForResource" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "SetTagsForResourceResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newSetTagsForResourceResponse :: SetTagsForResourceResponse Source #

Create a value of SetTagsForResourceResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.