amazonka-codestar-1.6.0: 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 # 
Data TagProject Source # 

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 # 
Show TagProject Source # 
Generic TagProject Source # 

Associated Types

type Rep TagProject :: * -> * #

Hashable TagProject Source # 
ToJSON TagProject Source # 
NFData TagProject Source # 

Methods

rnf :: TagProject -> () #

AWSRequest TagProject Source # 
ToHeaders TagProject Source # 

Methods

toHeaders :: TagProject -> [Header] #

ToPath TagProject Source # 
ToQuery TagProject Source # 
type Rep TagProject Source # 
type Rep TagProject = D1 * (MetaData "TagProject" "Network.AWS.CodeStar.TagProject" "amazonka-codestar-1.6.0-5SZ4tYCpUgiG3GgoUtUaxn" False) (C1 * (MetaCons "TagProject'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_tpId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_tpTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Map Text Text)))))
type Rs TagProject Source # 

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 # 
Data TagProjectResponse Source # 

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 # 
Show TagProjectResponse Source # 
Generic TagProjectResponse Source # 
NFData TagProjectResponse Source # 

Methods

rnf :: TagProjectResponse -> () #

type Rep TagProjectResponse Source # 
type Rep TagProjectResponse = D1 * (MetaData "TagProjectResponse" "Network.AWS.CodeStar.TagProject" "amazonka-codestar-1.6.0-5SZ4tYCpUgiG3GgoUtUaxn" False) (C1 * (MetaCons "TagProjectResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_tprsTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe (Map Text Text)))) (S1 * (MetaSel (Just Symbol "_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.