| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.ECR.BatchGetImage
Description
Gets detailed information for specified images within a specified repository. Images are specified with either imageTag or imageDigest .
Synopsis
- batchGetImage :: Text -> BatchGetImage
- data BatchGetImage
- bgiRegistryId :: Lens' BatchGetImage (Maybe Text)
- bgiAcceptedMediaTypes :: Lens' BatchGetImage (Maybe (NonEmpty Text))
- bgiRepositoryName :: Lens' BatchGetImage Text
- bgiImageIds :: Lens' BatchGetImage [ImageIdentifier]
- batchGetImageResponse :: Int -> BatchGetImageResponse
- data BatchGetImageResponse
- bgirsImages :: Lens' BatchGetImageResponse [Image]
- bgirsFailures :: Lens' BatchGetImageResponse [ImageFailure]
- bgirsResponseStatus :: Lens' BatchGetImageResponse Int
Creating a Request
Arguments
| :: Text | |
| -> BatchGetImage |
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+jsonbgiRepositoryName- The repository that contains the images to describe.bgiImageIds- A list of image ID references that correspond to images to describe. The format of theimageIdsreference isimageTag=tagorimageDigest=digest.
data BatchGetImage Source #
See: batchGetImage smart constructor.
Instances
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 #
Arguments
| :: Int | |
| -> BatchGetImageResponse |
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:
bgirsImages- A list of image objects corresponding to the image references in the request.bgirsFailures- Any failures associated with the call.bgirsResponseStatus- -- | The response status code.
data BatchGetImageResponse Source #
See: batchGetImageResponse smart constructor.
Instances
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.