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

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@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 #

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

data DescribeRepositories #

See: describeRepositories smart constructor.

Instances

Eq DescribeRepositories # 
Data DescribeRepositories # 

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 # 
Show DescribeRepositories # 
Generic DescribeRepositories # 
Hashable DescribeRepositories # 
ToJSON DescribeRepositories # 
NFData DescribeRepositories # 

Methods

rnf :: DescribeRepositories -> () #

AWSPager DescribeRepositories # 
AWSRequest DescribeRepositories # 
ToQuery DescribeRepositories # 
ToPath DescribeRepositories # 
ToHeaders DescribeRepositories # 
type Rep DescribeRepositories # 
type Rep DescribeRepositories = D1 (MetaData "DescribeRepositories" "Network.AWS.ECR.DescribeRepositories" "amazonka-ecr-1.4.5-5nGSxfFcP6f5SQqSnAVfxz" 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 # 

Request Lenses

drRegistryId :: Lens' DescribeRepositories (Maybe Text) #

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)) #

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

drNextToken :: Lens' DescribeRepositories (Maybe Text) #

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.

drMaxResults :: Lens' DescribeRepositories (Maybe Natural) #

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.

Destructuring the Response

describeRepositoriesResponse #

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 #

See: describeRepositoriesResponse smart constructor.

Instances

Eq DescribeRepositoriesResponse # 
Data DescribeRepositoriesResponse # 

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 # 
Show DescribeRepositoriesResponse # 
Generic DescribeRepositoriesResponse # 
NFData DescribeRepositoriesResponse # 
type Rep DescribeRepositoriesResponse # 
type Rep DescribeRepositoriesResponse = D1 (MetaData "DescribeRepositoriesResponse" "Network.AWS.ECR.DescribeRepositories" "amazonka-ecr-1.4.5-5nGSxfFcP6f5SQqSnAVfxz" 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 DecidedUnpack) (Rec0 Int)))))

Response Lenses

drrsRepositories :: Lens' DescribeRepositoriesResponse [Repository] #

A list of repository objects corresponding to valid repositories.

drrsNextToken :: Lens' DescribeRepositoriesResponse (Maybe Text) #

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.