amazonka-ecr-1.4.4: Amazon EC2 Container Registry 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.ECR.CreateRepository

Contents

Description

Creates an image 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 #

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

Methods

rnf :: CreateRepository -> () #

AWSRequest CreateRepository Source # 
ToPath CreateRepository Source # 
ToHeaders CreateRepository Source # 
ToQuery CreateRepository Source # 
ToJSON CreateRepository Source # 
type Rep CreateRepository Source # 
type Rep CreateRepository = D1 (MetaData "CreateRepository" "Network.AWS.ECR.CreateRepository" "amazonka-ecr-1.4.4-A4Pky1aCrQ8Q8zCT22L20" True) (C1 (MetaCons "CreateRepository'" PrefixI True) (S1 (MetaSel (Just Symbol "_crRepositoryName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs CreateRepository Source # 

Request Lenses

crRepositoryName :: Lens' CreateRepository Text Source #

The name to use for the repository. The repository name may be specified on its own (such as 'nginx-web-app') or it can be prepended with a namespace to group the repository into a category (such as 'project-a\/nginx-web-app').

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 #

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.ECR.CreateRepository" "amazonka-ecr-1.4.4-A4Pky1aCrQ8Q8zCT22L20" False) (C1 (MetaCons "CreateRepositoryResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_crrsRepository") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Repository))) (S1 (MetaSel (Just Symbol "_crrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses