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.UpdateRepositoryName

Contents

Description

Renames a repository. The repository name must be unique across the calling AWS account. In addition, repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. The suffix ".git" is prohibited. For a full description of the limits on repository names, see Limits in the AWS CodeCommit User Guide.

Synopsis

Creating a Request

updateRepositoryName Source #

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

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

data UpdateRepositoryName Source #

Represents the input of an update repository description operation.

See: updateRepositoryName smart constructor.

Instances

Eq UpdateRepositoryName Source # 
Data UpdateRepositoryName Source # 

Methods

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

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

toConstr :: UpdateRepositoryName -> Constr #

dataTypeOf :: UpdateRepositoryName -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateRepositoryName Source # 
Show UpdateRepositoryName Source # 
Generic UpdateRepositoryName Source # 
Hashable UpdateRepositoryName Source # 
ToJSON UpdateRepositoryName Source # 
NFData UpdateRepositoryName Source # 

Methods

rnf :: UpdateRepositoryName -> () #

AWSRequest UpdateRepositoryName Source # 
ToPath UpdateRepositoryName Source # 
ToHeaders UpdateRepositoryName Source # 
ToQuery UpdateRepositoryName Source # 
type Rep UpdateRepositoryName Source # 
type Rep UpdateRepositoryName = D1 (MetaData "UpdateRepositoryName" "Network.AWS.CodeCommit.UpdateRepositoryName" "amazonka-codecommit-1.4.5-92hxoO5NQbL79RJ3cHsV8Z" False) (C1 (MetaCons "UpdateRepositoryName'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_urnOldName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_urnNewName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs UpdateRepositoryName Source # 

Request Lenses

urnOldName :: Lens' UpdateRepositoryName Text Source #

The existing name of the repository.

urnNewName :: Lens' UpdateRepositoryName Text Source #

The new name for the repository.

Destructuring the Response

updateRepositoryNameResponse :: UpdateRepositoryNameResponse Source #

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

data UpdateRepositoryNameResponse Source #

See: updateRepositoryNameResponse smart constructor.

Instances

Eq UpdateRepositoryNameResponse Source # 
Data UpdateRepositoryNameResponse Source # 

Methods

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

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

toConstr :: UpdateRepositoryNameResponse -> Constr #

dataTypeOf :: UpdateRepositoryNameResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateRepositoryNameResponse Source # 
Show UpdateRepositoryNameResponse Source # 
Generic UpdateRepositoryNameResponse Source # 
NFData UpdateRepositoryNameResponse Source # 
type Rep UpdateRepositoryNameResponse Source # 
type Rep UpdateRepositoryNameResponse = D1 (MetaData "UpdateRepositoryNameResponse" "Network.AWS.CodeCommit.UpdateRepositoryName" "amazonka-codecommit-1.4.5-92hxoO5NQbL79RJ3cHsV8Z" False) (C1 (MetaCons "UpdateRepositoryNameResponse'" PrefixI False) U1)