libZSservicesZSamazonka-codestarZSamazonka-codestar
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.CodeStar.TagProject

Description

Adds tags to a project.

Synopsis

Creating a Request

data TagProject Source #

See: newTagProject smart constructor.

Constructors

TagProject' 

Fields

Instances

Instances details
Eq TagProject Source # 
Instance details

Defined in Amazonka.CodeStar.TagProject

Read TagProject Source # 
Instance details

Defined in Amazonka.CodeStar.TagProject

Show TagProject Source # 
Instance details

Defined in Amazonka.CodeStar.TagProject

Generic TagProject Source # 
Instance details

Defined in Amazonka.CodeStar.TagProject

Associated Types

type Rep TagProject :: Type -> Type #

NFData TagProject Source # 
Instance details

Defined in Amazonka.CodeStar.TagProject

Methods

rnf :: TagProject -> () #

Hashable TagProject Source # 
Instance details

Defined in Amazonka.CodeStar.TagProject

ToJSON TagProject Source # 
Instance details

Defined in Amazonka.CodeStar.TagProject

AWSRequest TagProject Source # 
Instance details

Defined in Amazonka.CodeStar.TagProject

Associated Types

type AWSResponse TagProject #

ToHeaders TagProject Source # 
Instance details

Defined in Amazonka.CodeStar.TagProject

Methods

toHeaders :: TagProject -> [Header] #

ToPath TagProject Source # 
Instance details

Defined in Amazonka.CodeStar.TagProject

ToQuery TagProject Source # 
Instance details

Defined in Amazonka.CodeStar.TagProject

type Rep TagProject Source # 
Instance details

Defined in Amazonka.CodeStar.TagProject

type Rep TagProject = D1 ('MetaData "TagProject" "Amazonka.CodeStar.TagProject" "libZSservicesZSamazonka-codestarZSamazonka-codestar" 'False) (C1 ('MetaCons "TagProject'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text Text))))
type AWSResponse TagProject Source # 
Instance details

Defined in Amazonka.CodeStar.TagProject

newTagProject Source #

Create a value of TagProject 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:id:TagProject', tagProject_id - The ID of the project you want to add a tag to.

$sel:tags:TagProject', tagProject_tags - The tags you want to add to the project.

Request Lenses

tagProject_id :: Lens' TagProject Text Source #

The ID of the project you want to add a tag to.

tagProject_tags :: Lens' TagProject (HashMap Text Text) Source #

The tags you want to add to the project.

Destructuring the Response

data TagProjectResponse Source #

See: newTagProjectResponse smart constructor.

Constructors

TagProjectResponse' 

Fields

Instances

Instances details
Eq TagProjectResponse Source # 
Instance details

Defined in Amazonka.CodeStar.TagProject

Read TagProjectResponse Source # 
Instance details

Defined in Amazonka.CodeStar.TagProject

Show TagProjectResponse Source # 
Instance details

Defined in Amazonka.CodeStar.TagProject

Generic TagProjectResponse Source # 
Instance details

Defined in Amazonka.CodeStar.TagProject

Associated Types

type Rep TagProjectResponse :: Type -> Type #

NFData TagProjectResponse Source # 
Instance details

Defined in Amazonka.CodeStar.TagProject

Methods

rnf :: TagProjectResponse -> () #

type Rep TagProjectResponse Source # 
Instance details

Defined in Amazonka.CodeStar.TagProject

type Rep TagProjectResponse = D1 ('MetaData "TagProjectResponse" "Amazonka.CodeStar.TagProject" "libZSservicesZSamazonka-codestarZSamazonka-codestar" 'False) (C1 ('MetaCons "TagProjectResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newTagProjectResponse Source #

Create a value of TagProjectResponse 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:TagProject', tagProjectResponse_tags - The tags for the project.

$sel:httpStatus:TagProjectResponse', tagProjectResponse_httpStatus - The response's http status code.

Response Lenses