amazonka-cloud9-2.0: Amazon Cloud9 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.Cloud9.TagResource

Description

Adds tags to an Cloud9 development environment.

Tags that you add to an Cloud9 environment by using this method will NOT be automatically propagated to underlying resources.

Synopsis

Creating a Request

data TagResource Source #

See: newTagResource smart constructor.

Constructors

TagResource' 

Fields

  • resourceARN :: Text

    The Amazon Resource Name (ARN) of the Cloud9 development environment to add tags to.

  • tags :: Sensitive [Sensitive Tag]

    The list of tags to add to the given Cloud9 development environment.

Instances

Instances details
ToJSON TagResource Source # 
Instance details

Defined in Amazonka.Cloud9.TagResource

ToHeaders TagResource Source # 
Instance details

Defined in Amazonka.Cloud9.TagResource

Methods

toHeaders :: TagResource -> [Header] #

ToPath TagResource Source # 
Instance details

Defined in Amazonka.Cloud9.TagResource

ToQuery TagResource Source # 
Instance details

Defined in Amazonka.Cloud9.TagResource

AWSRequest TagResource Source # 
Instance details

Defined in Amazonka.Cloud9.TagResource

Associated Types

type AWSResponse TagResource #

Generic TagResource Source # 
Instance details

Defined in Amazonka.Cloud9.TagResource

Associated Types

type Rep TagResource :: Type -> Type #

Show TagResource Source # 
Instance details

Defined in Amazonka.Cloud9.TagResource

NFData TagResource Source # 
Instance details

Defined in Amazonka.Cloud9.TagResource

Methods

rnf :: TagResource -> () #

Eq TagResource Source # 
Instance details

Defined in Amazonka.Cloud9.TagResource

Hashable TagResource Source # 
Instance details

Defined in Amazonka.Cloud9.TagResource

type AWSResponse TagResource Source # 
Instance details

Defined in Amazonka.Cloud9.TagResource

type Rep TagResource Source # 
Instance details

Defined in Amazonka.Cloud9.TagResource

type Rep TagResource = D1 ('MetaData "TagResource" "Amazonka.Cloud9.TagResource" "amazonka-cloud9-2.0-7b5PlMySrOa4RK8dYvmjDd" 'False) (C1 ('MetaCons "TagResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive [Sensitive Tag]))))

newTagResource Source #

Create a value of TagResource 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:TagResource', tagResource_resourceARN - The Amazon Resource Name (ARN) of the Cloud9 development environment to add tags to.

$sel:tags:TagResource', tagResource_tags - The list of tags to add to the given Cloud9 development environment.

Request Lenses

tagResource_resourceARN :: Lens' TagResource Text Source #

The Amazon Resource Name (ARN) of the Cloud9 development environment to add tags to.

tagResource_tags :: Lens' TagResource [Tag] Source #

The list of tags to add to the given Cloud9 development environment.

Destructuring the Response

data TagResourceResponse Source #

See: newTagResourceResponse smart constructor.

Constructors

TagResourceResponse' 

Fields

Instances

Instances details
Generic TagResourceResponse Source # 
Instance details

Defined in Amazonka.Cloud9.TagResource

Associated Types

type Rep TagResourceResponse :: Type -> Type #

Read TagResourceResponse Source # 
Instance details

Defined in Amazonka.Cloud9.TagResource

Show TagResourceResponse Source # 
Instance details

Defined in Amazonka.Cloud9.TagResource

NFData TagResourceResponse Source # 
Instance details

Defined in Amazonka.Cloud9.TagResource

Methods

rnf :: TagResourceResponse -> () #

Eq TagResourceResponse Source # 
Instance details

Defined in Amazonka.Cloud9.TagResource

type Rep TagResourceResponse Source # 
Instance details

Defined in Amazonka.Cloud9.TagResource

type Rep TagResourceResponse = D1 ('MetaData "TagResourceResponse" "Amazonka.Cloud9.TagResource" "amazonka-cloud9-2.0-7b5PlMySrOa4RK8dYvmjDd" 'False) (C1 ('MetaCons "TagResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newTagResourceResponse Source #

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

Response Lenses