amazonka-ecr-1.6.1: Amazon EC2 Container Registry SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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.
  • bgiAcceptedMediaTypes - The accepted media types for the request. Valid values: application/vnd.docker.distribution.manifest.v1+json | application/vnd.docker.distribution.manifest.v2+json | application/vnd.oci.image.manifest.v1+json
  • 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 # 
Instance details

Defined in Network.AWS.ECR.BatchGetImage

Data BatchGetImage Source # 
Instance details

Defined in Network.AWS.ECR.BatchGetImage

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 # 
Instance details

Defined in Network.AWS.ECR.BatchGetImage

Show BatchGetImage Source # 
Instance details

Defined in Network.AWS.ECR.BatchGetImage

Generic BatchGetImage Source # 
Instance details

Defined in Network.AWS.ECR.BatchGetImage

Associated Types

type Rep BatchGetImage :: Type -> Type #

Hashable BatchGetImage Source # 
Instance details

Defined in Network.AWS.ECR.BatchGetImage

ToJSON BatchGetImage Source # 
Instance details

Defined in Network.AWS.ECR.BatchGetImage

AWSRequest BatchGetImage Source # 
Instance details

Defined in Network.AWS.ECR.BatchGetImage

Associated Types

type Rs BatchGetImage :: Type #

ToHeaders BatchGetImage Source # 
Instance details

Defined in Network.AWS.ECR.BatchGetImage

ToPath BatchGetImage Source # 
Instance details

Defined in Network.AWS.ECR.BatchGetImage

ToQuery BatchGetImage Source # 
Instance details

Defined in Network.AWS.ECR.BatchGetImage

NFData BatchGetImage Source # 
Instance details

Defined in Network.AWS.ECR.BatchGetImage

Methods

rnf :: BatchGetImage -> () #

type Rep BatchGetImage Source # 
Instance details

Defined in Network.AWS.ECR.BatchGetImage

type Rep BatchGetImage = D1 (MetaData "BatchGetImage" "Network.AWS.ECR.BatchGetImage" "amazonka-ecr-1.6.1-KW57ahBO482CZBe4C57Res" False) (C1 (MetaCons "BatchGetImage'" PrefixI True) ((S1 (MetaSel (Just "_bgiRegistryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_bgiAcceptedMediaTypes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 Text)))) :*: (S1 (MetaSel (Just "_bgiRepositoryName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_bgiImageIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [ImageIdentifier]))))
type Rs BatchGetImage Source # 
Instance details

Defined in Network.AWS.ECR.BatchGetImage

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.

bgiAcceptedMediaTypes :: Lens' BatchGetImage (Maybe (NonEmpty Text)) Source #

The accepted media types for the request. Valid values: application/vnd.docker.distribution.manifest.v1+json | application/vnd.docker.distribution.manifest.v2+json | application/vnd.oci.image.manifest.v1+json

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 # 
Instance details

Defined in Network.AWS.ECR.BatchGetImage

Data BatchGetImageResponse Source # 
Instance details

Defined in Network.AWS.ECR.BatchGetImage

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 # 
Instance details

Defined in Network.AWS.ECR.BatchGetImage

Show BatchGetImageResponse Source # 
Instance details

Defined in Network.AWS.ECR.BatchGetImage

Generic BatchGetImageResponse Source # 
Instance details

Defined in Network.AWS.ECR.BatchGetImage

Associated Types

type Rep BatchGetImageResponse :: Type -> Type #

NFData BatchGetImageResponse Source # 
Instance details

Defined in Network.AWS.ECR.BatchGetImage

Methods

rnf :: BatchGetImageResponse -> () #

type Rep BatchGetImageResponse Source # 
Instance details

Defined in Network.AWS.ECR.BatchGetImage

type Rep BatchGetImageResponse = D1 (MetaData "BatchGetImageResponse" "Network.AWS.ECR.BatchGetImage" "amazonka-ecr-1.6.1-KW57ahBO482CZBe4C57Res" False) (C1 (MetaCons "BatchGetImageResponse'" PrefixI True) (S1 (MetaSel (Just "_bgirsImages") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Image])) :*: (S1 (MetaSel (Just "_bgirsFailures") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ImageFailure])) :*: S1 (MetaSel (Just "_bgirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (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.