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

Contents

Description

Describes image repositories in a registry.

This operation returns paginated results.

Synopsis

Creating a Request

describeRepositories :: DescribeRepositories Source #

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

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

  • drRegistryId - The AWS account ID associated with the registry that contains the repositories to be described. If you do not specify a registry, the default registry is assumed.
  • drRepositoryNames - A list of repositories to describe. If this parameter is omitted, then all repositories in a registry are described.
  • drNextToken - The nextToken value returned from a previous paginated DescribeRepositories 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 repositories with repositoryNames .
  • drMaxResults - The maximum number of repository results returned by DescribeRepositories in paginated output. When this parameter is used, DescribeRepositories 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 DescribeRepositories request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then DescribeRepositories returns up to 100 results and a nextToken value, if applicable. This option cannot be used when you specify repositories with repositoryNames .

data DescribeRepositories Source #

See: describeRepositories smart constructor.

Instances

Eq DescribeRepositories Source # 
Data DescribeRepositories Source # 

Methods

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

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

toConstr :: DescribeRepositories -> Constr #

dataTypeOf :: DescribeRepositories -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeRepositories Source # 
Show DescribeRepositories Source # 
Generic DescribeRepositories Source # 
Hashable DescribeRepositories Source # 
ToJSON DescribeRepositories Source # 
NFData DescribeRepositories Source # 

Methods

rnf :: DescribeRepositories -> () #

AWSPager DescribeRepositories Source # 
AWSRequest DescribeRepositories Source # 
ToHeaders DescribeRepositories Source # 
ToPath DescribeRepositories Source # 
ToQuery DescribeRepositories Source # 
type Rep DescribeRepositories Source # 
type Rep DescribeRepositories = D1 * (MetaData "DescribeRepositories" "Network.AWS.ECR.DescribeRepositories" "amazonka-ecr-1.6.0-3Z9tWPZJrvhHtKQOsCutbq" False) (C1 * (MetaCons "DescribeRepositories'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_drRegistryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_drRepositoryNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe (List1 Text))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_drNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_drMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))))))
type Rs DescribeRepositories Source # 

Request Lenses

drRegistryId :: Lens' DescribeRepositories (Maybe Text) Source #

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

drRepositoryNames :: Lens' DescribeRepositories (Maybe (NonEmpty Text)) Source #

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

drNextToken :: Lens' DescribeRepositories (Maybe Text) Source #

The nextToken value returned from a previous paginated DescribeRepositories 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 repositories with repositoryNames .

drMaxResults :: Lens' DescribeRepositories (Maybe Natural) Source #

The maximum number of repository results returned by DescribeRepositories in paginated output. When this parameter is used, DescribeRepositories 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 DescribeRepositories request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then DescribeRepositories returns up to 100 results and a nextToken value, if applicable. This option cannot be used when you specify repositories with repositoryNames .

Destructuring the Response

describeRepositoriesResponse Source #

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

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

  • drrsRepositories - A list of repository objects corresponding to valid repositories.
  • drrsNextToken - The nextToken value to include in a future DescribeRepositories request. When the results of a DescribeRepositories 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.
  • drrsResponseStatus - -- | The response status code.

data DescribeRepositoriesResponse Source #

See: describeRepositoriesResponse smart constructor.

Instances

Eq DescribeRepositoriesResponse Source # 
Data DescribeRepositoriesResponse Source # 

Methods

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

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

toConstr :: DescribeRepositoriesResponse -> Constr #

dataTypeOf :: DescribeRepositoriesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeRepositoriesResponse Source # 
Show DescribeRepositoriesResponse Source # 
Generic DescribeRepositoriesResponse Source # 
NFData DescribeRepositoriesResponse Source # 
type Rep DescribeRepositoriesResponse Source # 
type Rep DescribeRepositoriesResponse = D1 * (MetaData "DescribeRepositoriesResponse" "Network.AWS.ECR.DescribeRepositories" "amazonka-ecr-1.6.0-3Z9tWPZJrvhHtKQOsCutbq" False) (C1 * (MetaCons "DescribeRepositoriesResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_drrsRepositories") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Repository]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_drrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_drrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

drrsRepositories :: Lens' DescribeRepositoriesResponse [Repository] Source #

A list of repository objects corresponding to valid repositories.

drrsNextToken :: Lens' DescribeRepositoriesResponse (Maybe Text) Source #

The nextToken value to include in a future DescribeRepositories request. When the results of a DescribeRepositories 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.