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

Contents

Description

Creates a new, empty repository.

Synopsis

Creating a Request

createRepository Source #

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

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

data CreateRepository Source #

Represents the input of a create repository operation.

See: createRepository smart constructor.

Instances

Eq CreateRepository Source # 
Data CreateRepository Source # 

Methods

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

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

toConstr :: CreateRepository -> Constr #

dataTypeOf :: CreateRepository -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: CreateRepository -> () #

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

Request Lenses

crRepositoryDescription :: Lens' CreateRepository (Maybe Text) Source #

A comment or description about the new repository.

crRepositoryName :: Lens' CreateRepository Text Source #

The name of the new repository to be created.

Destructuring the Response

createRepositoryResponse Source #

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

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

data CreateRepositoryResponse Source #

Represents the output of a create repository operation.

See: createRepositoryResponse smart constructor.

Instances

Eq CreateRepositoryResponse Source # 
Data CreateRepositoryResponse Source # 

Methods

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

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

toConstr :: CreateRepositoryResponse -> Constr #

dataTypeOf :: CreateRepositoryResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateRepositoryResponse Source # 
Show CreateRepositoryResponse Source # 
Generic CreateRepositoryResponse Source # 
NFData CreateRepositoryResponse Source # 
type Rep CreateRepositoryResponse Source # 
type Rep CreateRepositoryResponse = D1 (MetaData "CreateRepositoryResponse" "Network.AWS.CodeCommit.CreateRepository" "amazonka-codecommit-1.4.5-92hxoO5NQbL79RJ3cHsV8Z" False) (C1 (MetaCons "CreateRepositoryResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_crrsRepositoryMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RepositoryMetadata))) (S1 (MetaSel (Just Symbol "_crrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

crrsRepositoryMetadata :: Lens' CreateRepositoryResponse (Maybe RepositoryMetadata) Source #

Information about the newly created repository.