libZSservicesZSamazonka-cloudhsmZSamazonka-cloudhsm
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.CloudHSM.AddTagsToResource

Description

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Adds or overwrites one or more tags for the specified AWS CloudHSM resource.

Each tag consists of a key and a value. Tag keys must be unique to each resource.

Synopsis

Creating a Request

data AddTagsToResource Source #

See: newAddTagsToResource smart constructor.

Constructors

AddTagsToResource' 

Fields

Instances

Instances details
Eq AddTagsToResource Source # 
Instance details

Defined in Amazonka.CloudHSM.AddTagsToResource

Read AddTagsToResource Source # 
Instance details

Defined in Amazonka.CloudHSM.AddTagsToResource

Show AddTagsToResource Source # 
Instance details

Defined in Amazonka.CloudHSM.AddTagsToResource

Generic AddTagsToResource Source # 
Instance details

Defined in Amazonka.CloudHSM.AddTagsToResource

Associated Types

type Rep AddTagsToResource :: Type -> Type #

NFData AddTagsToResource Source # 
Instance details

Defined in Amazonka.CloudHSM.AddTagsToResource

Methods

rnf :: AddTagsToResource -> () #

Hashable AddTagsToResource Source # 
Instance details

Defined in Amazonka.CloudHSM.AddTagsToResource

ToJSON AddTagsToResource Source # 
Instance details

Defined in Amazonka.CloudHSM.AddTagsToResource

AWSRequest AddTagsToResource Source # 
Instance details

Defined in Amazonka.CloudHSM.AddTagsToResource

Associated Types

type AWSResponse AddTagsToResource #

ToHeaders AddTagsToResource Source # 
Instance details

Defined in Amazonka.CloudHSM.AddTagsToResource

ToPath AddTagsToResource Source # 
Instance details

Defined in Amazonka.CloudHSM.AddTagsToResource

ToQuery AddTagsToResource Source # 
Instance details

Defined in Amazonka.CloudHSM.AddTagsToResource

type Rep AddTagsToResource Source # 
Instance details

Defined in Amazonka.CloudHSM.AddTagsToResource

type Rep AddTagsToResource = D1 ('MetaData "AddTagsToResource" "Amazonka.CloudHSM.AddTagsToResource" "libZSservicesZSamazonka-cloudhsmZSamazonka-cloudhsm" 'False) (C1 ('MetaCons "AddTagsToResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tagList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Tag])))
type AWSResponse AddTagsToResource Source # 
Instance details

Defined in Amazonka.CloudHSM.AddTagsToResource

newAddTagsToResource Source #

Create a value of AddTagsToResource 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:AddTagsToResource', addTagsToResource_resourceArn - The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.

$sel:tagList:AddTagsToResource', addTagsToResource_tagList - One or more tags.

Request Lenses

addTagsToResource_resourceArn :: Lens' AddTagsToResource Text Source #

The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.

Destructuring the Response

data AddTagsToResourceResponse Source #

See: newAddTagsToResourceResponse smart constructor.

Constructors

AddTagsToResourceResponse' 

Fields

Instances

Instances details
Eq AddTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.AddTagsToResource

Read AddTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.AddTagsToResource

Show AddTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.AddTagsToResource

Generic AddTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.AddTagsToResource

Associated Types

type Rep AddTagsToResourceResponse :: Type -> Type #

NFData AddTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.AddTagsToResource

type Rep AddTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.AddTagsToResource

type Rep AddTagsToResourceResponse = D1 ('MetaData "AddTagsToResourceResponse" "Amazonka.CloudHSM.AddTagsToResource" "libZSservicesZSamazonka-cloudhsmZSamazonka-cloudhsm" 'False) (C1 ('MetaCons "AddTagsToResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newAddTagsToResourceResponse Source #

Create a value of AddTagsToResourceResponse 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:httpStatus:AddTagsToResourceResponse', addTagsToResourceResponse_httpStatus - The response's http status code.

$sel:status:AddTagsToResourceResponse', addTagsToResourceResponse_status - The status of the operation.

Response Lenses