amazonka-ecr-1.4.5: 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.BatchGetImage

Contents

Description

Gets detailed information for specified images within a specified repository. Images are specified with either imageTag or imageDigest .

Synopsis

Creating a Request

batchGetImage Source #

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

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

  • bgiRegistryId - The AWS account ID associated with the registry that contains the images to describe. If you do not specify a registry, the default registry is assumed.
  • bgiRepositoryName - The repository that contains the images to describe.
  • bgiImageIds - A list of image ID references that correspond to images to describe. The format of the imageIds reference is imageTag=tag or imageDigest=digest .

data BatchGetImage Source #

See: batchGetImage smart constructor.

Instances

Eq BatchGetImage Source # 
Data BatchGetImage Source # 

Methods

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

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

toConstr :: BatchGetImage -> Constr #

dataTypeOf :: BatchGetImage -> DataType #

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

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

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

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

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

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

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

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

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

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

Read BatchGetImage Source # 
Show BatchGetImage Source # 
Generic BatchGetImage Source # 

Associated Types

type Rep BatchGetImage :: * -> * #

Hashable BatchGetImage Source # 
ToJSON BatchGetImage Source # 
NFData BatchGetImage Source # 

Methods

rnf :: BatchGetImage -> () #

AWSRequest BatchGetImage Source # 
ToPath BatchGetImage Source # 
ToHeaders BatchGetImage Source # 
ToQuery BatchGetImage Source # 
type Rep BatchGetImage Source # 
type Rep BatchGetImage = D1 (MetaData "BatchGetImage" "Network.AWS.ECR.BatchGetImage" "amazonka-ecr-1.4.5-CCdpOETgEgK6cFz60uVoIg" False) (C1 (MetaCons "BatchGetImage'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_bgiRegistryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_bgiRepositoryName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_bgiImageIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [ImageIdentifier])))))
type Rs BatchGetImage Source # 

Request Lenses

bgiRegistryId :: Lens' BatchGetImage (Maybe Text) Source #

The AWS account ID associated with the registry that contains the images to describe. If you do not specify a registry, the default registry is assumed.

bgiRepositoryName :: Lens' BatchGetImage Text Source #

The repository that contains the images to describe.

bgiImageIds :: Lens' BatchGetImage [ImageIdentifier] Source #

A list of image ID references that correspond to images to describe. The format of the imageIds reference is imageTag=tag or imageDigest=digest .

Destructuring the Response

batchGetImageResponse Source #

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

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

data BatchGetImageResponse Source #

See: batchGetImageResponse smart constructor.

Instances

Eq BatchGetImageResponse Source # 
Data BatchGetImageResponse Source # 

Methods

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

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

toConstr :: BatchGetImageResponse -> Constr #

dataTypeOf :: BatchGetImageResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read BatchGetImageResponse Source # 
Show BatchGetImageResponse Source # 
Generic BatchGetImageResponse Source # 
NFData BatchGetImageResponse Source # 

Methods

rnf :: BatchGetImageResponse -> () #

type Rep BatchGetImageResponse Source # 
type Rep BatchGetImageResponse = D1 (MetaData "BatchGetImageResponse" "Network.AWS.ECR.BatchGetImage" "amazonka-ecr-1.4.5-CCdpOETgEgK6cFz60uVoIg" False) (C1 (MetaCons "BatchGetImageResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_bgirsImages") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Image]))) ((:*:) (S1 (MetaSel (Just Symbol "_bgirsFailures") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ImageFailure]))) (S1 (MetaSel (Just Symbol "_bgirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

bgirsImages :: Lens' BatchGetImageResponse [Image] Source #

A list of image objects corresponding to the image references in the request.

bgirsFailures :: Lens' BatchGetImageResponse [ImageFailure] Source #

Any failures associated with the call.

bgirsResponseStatus :: Lens' BatchGetImageResponse Int Source #

  • - | The response status code.