amazonka-codestar-1.6.1: Amazon CodeStar SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CodeStar.TagProject

Contents

Description

Adds tags to a project.

Synopsis

Creating a Request

tagProject Source #

Arguments

:: Text

tpId

-> TagProject 

Creates a value of TagProject with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • tpId - The ID of the project you want to add a tag to.
  • tpTags - The tags you want to add to the project.

data TagProject Source #

See: tagProject smart constructor.

Instances
Eq TagProject Source # 
Instance details

Defined in Network.AWS.CodeStar.TagProject

Data TagProject Source # 
Instance details

Defined in Network.AWS.CodeStar.TagProject

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TagProject -> c TagProject #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TagProject #

toConstr :: TagProject -> Constr #

dataTypeOf :: TagProject -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TagProject) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TagProject) #

gmapT :: (forall b. Data b => b -> b) -> TagProject -> TagProject #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TagProject -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TagProject -> r #

gmapQ :: (forall d. Data d => d -> u) -> TagProject -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TagProject -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TagProject -> m TagProject #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TagProject -> m TagProject #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TagProject -> m TagProject #

Read TagProject Source # 
Instance details

Defined in Network.AWS.CodeStar.TagProject

Show TagProject Source # 
Instance details

Defined in Network.AWS.CodeStar.TagProject

Generic TagProject Source # 
Instance details

Defined in Network.AWS.CodeStar.TagProject

Associated Types

type Rep TagProject :: Type -> Type #

Hashable TagProject Source # 
Instance details

Defined in Network.AWS.CodeStar.TagProject

ToJSON TagProject Source # 
Instance details

Defined in Network.AWS.CodeStar.TagProject

AWSRequest TagProject Source # 
Instance details

Defined in Network.AWS.CodeStar.TagProject

Associated Types

type Rs TagProject :: Type #

ToHeaders TagProject Source # 
Instance details

Defined in Network.AWS.CodeStar.TagProject

Methods

toHeaders :: TagProject -> [Header] #

ToPath TagProject Source # 
Instance details

Defined in Network.AWS.CodeStar.TagProject

ToQuery TagProject Source # 
Instance details

Defined in Network.AWS.CodeStar.TagProject

NFData TagProject Source # 
Instance details

Defined in Network.AWS.CodeStar.TagProject

Methods

rnf :: TagProject -> () #

type Rep TagProject Source # 
Instance details

Defined in Network.AWS.CodeStar.TagProject

type Rep TagProject = D1 (MetaData "TagProject" "Network.AWS.CodeStar.TagProject" "amazonka-codestar-1.6.1-CcYQrsIZo67Ij9mcPy3qxj" False) (C1 (MetaCons "TagProject'" PrefixI True) (S1 (MetaSel (Just "_tpId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_tpTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Map Text Text))))
type Rs TagProject Source # 
Instance details

Defined in Network.AWS.CodeStar.TagProject

Request Lenses

tpId :: Lens' TagProject Text Source #

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

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

The tags you want to add to the project.

Destructuring the Response

tagProjectResponse Source #

Creates a value of TagProjectResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data TagProjectResponse Source #

See: tagProjectResponse smart constructor.

Instances
Eq TagProjectResponse Source # 
Instance details

Defined in Network.AWS.CodeStar.TagProject

Data TagProjectResponse Source # 
Instance details

Defined in Network.AWS.CodeStar.TagProject

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TagProjectResponse -> c TagProjectResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TagProjectResponse #

toConstr :: TagProjectResponse -> Constr #

dataTypeOf :: TagProjectResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TagProjectResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TagProjectResponse) #

gmapT :: (forall b. Data b => b -> b) -> TagProjectResponse -> TagProjectResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TagProjectResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TagProjectResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> TagProjectResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TagProjectResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TagProjectResponse -> m TagProjectResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TagProjectResponse -> m TagProjectResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TagProjectResponse -> m TagProjectResponse #

Read TagProjectResponse Source # 
Instance details

Defined in Network.AWS.CodeStar.TagProject

Show TagProjectResponse Source # 
Instance details

Defined in Network.AWS.CodeStar.TagProject

Generic TagProjectResponse Source # 
Instance details

Defined in Network.AWS.CodeStar.TagProject

Associated Types

type Rep TagProjectResponse :: Type -> Type #

NFData TagProjectResponse Source # 
Instance details

Defined in Network.AWS.CodeStar.TagProject

Methods

rnf :: TagProjectResponse -> () #

type Rep TagProjectResponse Source # 
Instance details

Defined in Network.AWS.CodeStar.TagProject

type Rep TagProjectResponse = D1 (MetaData "TagProjectResponse" "Network.AWS.CodeStar.TagProject" "amazonka-codestar-1.6.1-CcYQrsIZo67Ij9mcPy3qxj" False) (C1 (MetaCons "TagProjectResponse'" PrefixI True) (S1 (MetaSel (Just "_tprsTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text))) :*: S1 (MetaSel (Just "_tprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

tprsTags :: Lens' TagProjectResponse (HashMap Text Text) Source #

The tags for the project.

tprsResponseStatus :: Lens' TagProjectResponse Int Source #

  • - | The response status code.