amazonka-codecommit-1.5.0: Amazon CodeCommit SDK.

Copyright(c) 2013-2017 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.CodeCommit.UpdateRepositoryDescription

Contents

Description

Sets or changes the comment or description for a repository.

Synopsis

Creating a Request

updateRepositoryDescription Source #

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

Represents the input of an update repository description operation.

See: updateRepositoryDescription smart constructor.

Instances

Eq UpdateRepositoryDescription Source # 
Data UpdateRepositoryDescription Source # 

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 Source # 
Show UpdateRepositoryDescription Source # 
Generic UpdateRepositoryDescription Source # 
Hashable UpdateRepositoryDescription Source # 
ToJSON UpdateRepositoryDescription Source # 
NFData UpdateRepositoryDescription Source # 
AWSRequest UpdateRepositoryDescription Source # 
ToQuery UpdateRepositoryDescription Source # 
ToPath UpdateRepositoryDescription Source # 
ToHeaders UpdateRepositoryDescription Source # 
type Rep UpdateRepositoryDescription Source # 
type Rep UpdateRepositoryDescription = D1 (MetaData "UpdateRepositoryDescription" "Network.AWS.CodeCommit.UpdateRepositoryDescription" "amazonka-codecommit-1.5.0-KpuBz1wlDu33SLAQFXGcI6" 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 Source # 

Request Lenses

urdRepositoryDescription :: Lens' UpdateRepositoryDescription (Maybe Text) Source #

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

urdRepositoryName :: Lens' UpdateRepositoryDescription Text Source #

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

Destructuring the Response

updateRepositoryDescriptionResponse :: UpdateRepositoryDescriptionResponse Source #

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

data UpdateRepositoryDescriptionResponse Source #

See: updateRepositoryDescriptionResponse smart constructor.

Instances

Eq UpdateRepositoryDescriptionResponse Source # 
Data UpdateRepositoryDescriptionResponse Source # 

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 Source # 
Show UpdateRepositoryDescriptionResponse Source # 
Generic UpdateRepositoryDescriptionResponse Source # 
NFData UpdateRepositoryDescriptionResponse Source # 
type Rep UpdateRepositoryDescriptionResponse Source # 
type Rep UpdateRepositoryDescriptionResponse = D1 (MetaData "UpdateRepositoryDescriptionResponse" "Network.AWS.CodeCommit.UpdateRepositoryDescription" "amazonka-codecommit-1.5.0-KpuBz1wlDu33SLAQFXGcI6" False) (C1 (MetaCons "UpdateRepositoryDescriptionResponse'" PrefixI False) U1)