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 #

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 #

Represents the input of an update repository description operation.

See: updateRepositoryName smart constructor.

Instances

Eq UpdateRepositoryName # 
Data UpdateRepositoryName # 

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 # 
Show UpdateRepositoryName # 
Generic UpdateRepositoryName # 
Hashable UpdateRepositoryName # 
ToJSON UpdateRepositoryName # 
NFData UpdateRepositoryName # 

Methods

rnf :: UpdateRepositoryName -> () #

AWSRequest UpdateRepositoryName # 
ToQuery UpdateRepositoryName # 
ToPath UpdateRepositoryName # 
ToHeaders UpdateRepositoryName # 
type Rep UpdateRepositoryName # 
type Rep UpdateRepositoryName = D1 (MetaData "UpdateRepositoryName" "Network.AWS.CodeCommit.UpdateRepositoryName" "amazonka-codecommit-1.4.5-IwWwQ2aHJNDDGjtjK0Oyfa" 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 # 

Request Lenses

urnOldName :: Lens' UpdateRepositoryName Text #

The existing name of the repository.

urnNewName :: Lens' UpdateRepositoryName Text #

The new name for the repository.

Destructuring the Response

updateRepositoryNameResponse :: UpdateRepositoryNameResponse #

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

data UpdateRepositoryNameResponse #

See: updateRepositoryNameResponse smart constructor.

Instances

Eq UpdateRepositoryNameResponse # 
Data UpdateRepositoryNameResponse # 

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 # 
Show UpdateRepositoryNameResponse # 
Generic UpdateRepositoryNameResponse # 
NFData UpdateRepositoryNameResponse # 
type Rep UpdateRepositoryNameResponse # 
type Rep UpdateRepositoryNameResponse = D1 (MetaData "UpdateRepositoryNameResponse" "Network.AWS.CodeCommit.UpdateRepositoryName" "amazonka-codecommit-1.4.5-IwWwQ2aHJNDDGjtjK0Oyfa" False) (C1 (MetaCons "UpdateRepositoryNameResponse'" PrefixI False) U1)