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 #

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 #

Represents the input of a create repository operation.

See: createRepository smart constructor.

Instances

Eq CreateRepository # 
Data CreateRepository # 

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

Methods

rnf :: CreateRepository -> () #

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

Request Lenses

crRepositoryDescription :: Lens' CreateRepository (Maybe Text) #

A comment or description about the new repository.

crRepositoryName :: Lens' CreateRepository Text #

The name of the new repository to be created.

Destructuring the Response

createRepositoryResponse #

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 #

Represents the output of a create repository operation.

See: createRepositoryResponse smart constructor.

Instances

Eq CreateRepositoryResponse # 
Data CreateRepositoryResponse # 

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 # 
Show CreateRepositoryResponse # 
Generic CreateRepositoryResponse # 
NFData CreateRepositoryResponse # 
type Rep CreateRepositoryResponse # 
type Rep CreateRepositoryResponse = D1 (MetaData "CreateRepositoryResponse" "Network.AWS.CodeCommit.CreateRepository" "amazonka-codecommit-1.4.5-IwWwQ2aHJNDDGjtjK0Oyfa" 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) #

Information about the newly created repository.

crrsResponseStatus :: Lens' CreateRepositoryResponse Int #

  • - | The response status code.