amazonka-codecommit-1.4.5: Amazon CodeCommit SDK.

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

Network.AWS.CodeCommit.UpdateRepositoryDescription

Contents

Description

Sets or changes the comment or description for a repository.

Synopsis

Creating a Request

updateRepositoryDescription #

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

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

  • urdRepositoryDescription - The new comment or description for the specified repository. Repository descriptions are limited to 1,000 characters.
  • urdRepositoryName - The name of the repository to set or change the comment or description for.

data UpdateRepositoryDescription #

Represents the input of an update repository description operation.

See: updateRepositoryDescription smart constructor.

Instances

Eq UpdateRepositoryDescription # 
Data UpdateRepositoryDescription # 

Methods

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

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

toConstr :: UpdateRepositoryDescription -> Constr #

dataTypeOf :: UpdateRepositoryDescription -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateRepositoryDescription # 
Show UpdateRepositoryDescription # 
Generic UpdateRepositoryDescription # 
Hashable UpdateRepositoryDescription # 
ToJSON UpdateRepositoryDescription # 
NFData UpdateRepositoryDescription # 
AWSRequest UpdateRepositoryDescription # 
ToQuery UpdateRepositoryDescription # 
ToPath UpdateRepositoryDescription # 
ToHeaders UpdateRepositoryDescription # 
type Rep UpdateRepositoryDescription # 
type Rep UpdateRepositoryDescription = D1 (MetaData "UpdateRepositoryDescription" "Network.AWS.CodeCommit.UpdateRepositoryDescription" "amazonka-codecommit-1.4.5-IwWwQ2aHJNDDGjtjK0Oyfa" False) (C1 (MetaCons "UpdateRepositoryDescription'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_urdRepositoryDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_urdRepositoryName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs UpdateRepositoryDescription # 

Request Lenses

urdRepositoryDescription :: Lens' UpdateRepositoryDescription (Maybe Text) #

The new comment or description for the specified repository. Repository descriptions are limited to 1,000 characters.

urdRepositoryName :: Lens' UpdateRepositoryDescription Text #

The name of the repository to set or change the comment or description for.

Destructuring the Response

updateRepositoryDescriptionResponse :: UpdateRepositoryDescriptionResponse #

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

data UpdateRepositoryDescriptionResponse #

See: updateRepositoryDescriptionResponse smart constructor.

Instances

Eq UpdateRepositoryDescriptionResponse # 
Data UpdateRepositoryDescriptionResponse # 

Methods

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

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

toConstr :: UpdateRepositoryDescriptionResponse -> Constr #

dataTypeOf :: UpdateRepositoryDescriptionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateRepositoryDescriptionResponse # 
Show UpdateRepositoryDescriptionResponse # 
Generic UpdateRepositoryDescriptionResponse # 
NFData UpdateRepositoryDescriptionResponse # 
type Rep UpdateRepositoryDescriptionResponse # 
type Rep UpdateRepositoryDescriptionResponse = D1 (MetaData "UpdateRepositoryDescriptionResponse" "Network.AWS.CodeCommit.UpdateRepositoryDescription" "amazonka-codecommit-1.4.5-IwWwQ2aHJNDDGjtjK0Oyfa" False) (C1 (MetaCons "UpdateRepositoryDescriptionResponse'" PrefixI False) U1)