amazonka-ecr-1.6.0: 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.BatchCheckLayerAvailability

Contents

Description

Check the availability of multiple image layers in a specified registry and repository.

Synopsis

Creating a Request

batchCheckLayerAvailability Source #

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

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

  • bclaRegistryId - The AWS account ID associated with the registry that contains the image layers to check. If you do not specify a registry, the default registry is assumed.
  • bclaRepositoryName - The name of the repository that is associated with the image layers to check.
  • bclaLayerDigests - The digests of the image layers to check.

data BatchCheckLayerAvailability Source #

See: batchCheckLayerAvailability smart constructor.

Instances

Eq BatchCheckLayerAvailability Source # 
Data BatchCheckLayerAvailability Source # 

Methods

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

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

toConstr :: BatchCheckLayerAvailability -> Constr #

dataTypeOf :: BatchCheckLayerAvailability -> DataType #

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

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

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

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

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

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

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

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

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

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

Read BatchCheckLayerAvailability Source # 
Show BatchCheckLayerAvailability Source # 
Generic BatchCheckLayerAvailability Source # 
Hashable BatchCheckLayerAvailability Source # 
ToJSON BatchCheckLayerAvailability Source # 
NFData BatchCheckLayerAvailability Source # 
AWSRequest BatchCheckLayerAvailability Source # 
ToHeaders BatchCheckLayerAvailability Source # 
ToPath BatchCheckLayerAvailability Source # 
ToQuery BatchCheckLayerAvailability Source # 
type Rep BatchCheckLayerAvailability Source # 
type Rep BatchCheckLayerAvailability = D1 * (MetaData "BatchCheckLayerAvailability" "Network.AWS.ECR.BatchCheckLayerAvailability" "amazonka-ecr-1.6.0-3Z9tWPZJrvhHtKQOsCutbq" False) (C1 * (MetaCons "BatchCheckLayerAvailability'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_bclaRegistryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_bclaRepositoryName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_bclaLayerDigests") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (List1 Text))))))
type Rs BatchCheckLayerAvailability Source # 

Request Lenses

bclaRegistryId :: Lens' BatchCheckLayerAvailability (Maybe Text) Source #

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

bclaRepositoryName :: Lens' BatchCheckLayerAvailability Text Source #

The name of the repository that is associated with the image layers to check.

bclaLayerDigests :: Lens' BatchCheckLayerAvailability (NonEmpty Text) Source #

The digests of the image layers to check.

Destructuring the Response

batchCheckLayerAvailabilityResponse Source #

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

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

data BatchCheckLayerAvailabilityResponse Source #

See: batchCheckLayerAvailabilityResponse smart constructor.

Instances

Eq BatchCheckLayerAvailabilityResponse Source # 
Data BatchCheckLayerAvailabilityResponse Source # 

Methods

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

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

toConstr :: BatchCheckLayerAvailabilityResponse -> Constr #

dataTypeOf :: BatchCheckLayerAvailabilityResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read BatchCheckLayerAvailabilityResponse Source # 
Show BatchCheckLayerAvailabilityResponse Source # 
Generic BatchCheckLayerAvailabilityResponse Source # 
NFData BatchCheckLayerAvailabilityResponse Source # 
type Rep BatchCheckLayerAvailabilityResponse Source # 
type Rep BatchCheckLayerAvailabilityResponse = D1 * (MetaData "BatchCheckLayerAvailabilityResponse" "Network.AWS.ECR.BatchCheckLayerAvailability" "amazonka-ecr-1.6.0-3Z9tWPZJrvhHtKQOsCutbq" False) (C1 * (MetaCons "BatchCheckLayerAvailabilityResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_bclarsFailures") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [LayerFailure]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_bclarsLayers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Layer]))) (S1 * (MetaSel (Just Symbol "_bclarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

bclarsLayers :: Lens' BatchCheckLayerAvailabilityResponse [Layer] Source #

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