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.DescribeImages

Contents

Description

Returns metadata about the images in a repository, including image size, image tags, and creation date.

This operation returns paginated results.

Synopsis

Creating a Request

describeImages Source #

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

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

  • diRegistryId - The AWS account ID associated with the registry that contains the repository in which to describe images. If you do not specify a registry, the default registry is assumed.
  • diImageIds - The list of image IDs for the requested repository.
  • diNextToken - The nextToken value returned from a previous paginated DescribeImages request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return. This option cannot be used when you specify images with imageIds .
  • diFilter - The filter key and value with which to filter your DescribeImages results.
  • diMaxResults - The maximum number of repository results returned by DescribeImages in paginated output. When this parameter is used, DescribeImages only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another DescribeImages request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then DescribeImages returns up to 100 results and a nextToken value, if applicable. This option cannot be used when you specify images with imageIds .
  • diRepositoryName - A list of repositories to describe. If this parameter is omitted, then all repositories in a registry are described.

data DescribeImages Source #

See: describeImages smart constructor.

Instances
Eq DescribeImages Source # 
Instance details

Defined in Network.AWS.ECR.DescribeImages

Data DescribeImages Source # 
Instance details

Defined in Network.AWS.ECR.DescribeImages

Methods

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

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

toConstr :: DescribeImages -> Constr #

dataTypeOf :: DescribeImages -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeImages Source # 
Instance details

Defined in Network.AWS.ECR.DescribeImages

Show DescribeImages Source # 
Instance details

Defined in Network.AWS.ECR.DescribeImages

Generic DescribeImages Source # 
Instance details

Defined in Network.AWS.ECR.DescribeImages

Associated Types

type Rep DescribeImages :: Type -> Type #

Hashable DescribeImages Source # 
Instance details

Defined in Network.AWS.ECR.DescribeImages

ToJSON DescribeImages Source # 
Instance details

Defined in Network.AWS.ECR.DescribeImages

AWSPager DescribeImages Source # 
Instance details

Defined in Network.AWS.ECR.DescribeImages

AWSRequest DescribeImages Source # 
Instance details

Defined in Network.AWS.ECR.DescribeImages

Associated Types

type Rs DescribeImages :: Type #

ToHeaders DescribeImages Source # 
Instance details

Defined in Network.AWS.ECR.DescribeImages

ToPath DescribeImages Source # 
Instance details

Defined in Network.AWS.ECR.DescribeImages

ToQuery DescribeImages Source # 
Instance details

Defined in Network.AWS.ECR.DescribeImages

NFData DescribeImages Source # 
Instance details

Defined in Network.AWS.ECR.DescribeImages

Methods

rnf :: DescribeImages -> () #

type Rep DescribeImages Source # 
Instance details

Defined in Network.AWS.ECR.DescribeImages

type Rs DescribeImages Source # 
Instance details

Defined in Network.AWS.ECR.DescribeImages

Request Lenses

diRegistryId :: Lens' DescribeImages (Maybe Text) Source #

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

diImageIds :: Lens' DescribeImages [ImageIdentifier] Source #

The list of image IDs for the requested repository.

diNextToken :: Lens' DescribeImages (Maybe Text) Source #

The nextToken value returned from a previous paginated DescribeImages request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return. This option cannot be used when you specify images with imageIds .

diFilter :: Lens' DescribeImages (Maybe DescribeImagesFilter) Source #

The filter key and value with which to filter your DescribeImages results.

diMaxResults :: Lens' DescribeImages (Maybe Natural) Source #

The maximum number of repository results returned by DescribeImages in paginated output. When this parameter is used, DescribeImages only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another DescribeImages request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then DescribeImages returns up to 100 results and a nextToken value, if applicable. This option cannot be used when you specify images with imageIds .

diRepositoryName :: Lens' DescribeImages Text Source #

A list of repositories to describe. If this parameter is omitted, then all repositories in a registry are described.

Destructuring the Response

describeImagesResponse Source #

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

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

  • dirsImageDetails - A list of ImageDetail objects that contain data about the image.
  • dirsNextToken - The nextToken value to include in a future DescribeImages request. When the results of a DescribeImages request exceed maxResults , this value can be used to retrieve the next page of results. This value is null when there are no more results to return.
  • dirsResponseStatus - -- | The response status code.

data DescribeImagesResponse Source #

See: describeImagesResponse smart constructor.

Instances
Eq DescribeImagesResponse Source # 
Instance details

Defined in Network.AWS.ECR.DescribeImages

Data DescribeImagesResponse Source # 
Instance details

Defined in Network.AWS.ECR.DescribeImages

Methods

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

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

toConstr :: DescribeImagesResponse -> Constr #

dataTypeOf :: DescribeImagesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeImagesResponse Source # 
Instance details

Defined in Network.AWS.ECR.DescribeImages

Show DescribeImagesResponse Source # 
Instance details

Defined in Network.AWS.ECR.DescribeImages

Generic DescribeImagesResponse Source # 
Instance details

Defined in Network.AWS.ECR.DescribeImages

Associated Types

type Rep DescribeImagesResponse :: Type -> Type #

NFData DescribeImagesResponse Source # 
Instance details

Defined in Network.AWS.ECR.DescribeImages

Methods

rnf :: DescribeImagesResponse -> () #

type Rep DescribeImagesResponse Source # 
Instance details

Defined in Network.AWS.ECR.DescribeImages

type Rep DescribeImagesResponse = D1 (MetaData "DescribeImagesResponse" "Network.AWS.ECR.DescribeImages" "amazonka-ecr-1.6.1-KW57ahBO482CZBe4C57Res" False) (C1 (MetaCons "DescribeImagesResponse'" PrefixI True) (S1 (MetaSel (Just "_dirsImageDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ImageDetail])) :*: (S1 (MetaSel (Just "_dirsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

dirsImageDetails :: Lens' DescribeImagesResponse [ImageDetail] Source #

A list of ImageDetail objects that contain data about the image.

dirsNextToken :: Lens' DescribeImagesResponse (Maybe Text) Source #

The nextToken value to include in a future DescribeImages request. When the results of a DescribeImages request exceed maxResults , this value can be used to retrieve the next page of results. This value is null when there are no more results to return.

dirsResponseStatus :: Lens' DescribeImagesResponse Int Source #

  • - | The response status code.