amazonka-ecr-2.0: Amazon EC2 Container Registry SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ECR.DescribePullThroughCacheRules

Description

Returns the pull through cache rules for a registry.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribePullThroughCacheRules Source #

See: newDescribePullThroughCacheRules smart constructor.

Constructors

DescribePullThroughCacheRules' 

Fields

  • ecrRepositoryPrefixes :: Maybe (NonEmpty Text)

    The Amazon ECR repository prefixes associated with the pull through cache rules to return. If no repository prefix value is specified, all pull through cache rules are returned.

  • maxResults :: Maybe Natural

    The maximum number of pull through cache rules returned by DescribePullThroughCacheRulesRequest in paginated output. When this parameter is used, DescribePullThroughCacheRulesRequest 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 DescribePullThroughCacheRulesRequest request with the returned nextToken value. This value can be between 1 and 1000. If this parameter is not used, then DescribePullThroughCacheRulesRequest returns up to 100 results and a nextToken value, if applicable.

  • nextToken :: Maybe Text

    The nextToken value returned from a previous paginated DescribePullThroughCacheRulesRequest 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.

  • registryId :: Maybe Text

    The Amazon Web Services account ID associated with the registry to return the pull through cache rules for. If you do not specify a registry, the default registry is assumed.

Instances

Instances details
ToJSON DescribePullThroughCacheRules Source # 
Instance details

Defined in Amazonka.ECR.DescribePullThroughCacheRules

ToHeaders DescribePullThroughCacheRules Source # 
Instance details

Defined in Amazonka.ECR.DescribePullThroughCacheRules

ToPath DescribePullThroughCacheRules Source # 
Instance details

Defined in Amazonka.ECR.DescribePullThroughCacheRules

ToQuery DescribePullThroughCacheRules Source # 
Instance details

Defined in Amazonka.ECR.DescribePullThroughCacheRules

AWSPager DescribePullThroughCacheRules Source # 
Instance details

Defined in Amazonka.ECR.DescribePullThroughCacheRules

AWSRequest DescribePullThroughCacheRules Source # 
Instance details

Defined in Amazonka.ECR.DescribePullThroughCacheRules

Generic DescribePullThroughCacheRules Source # 
Instance details

Defined in Amazonka.ECR.DescribePullThroughCacheRules

Associated Types

type Rep DescribePullThroughCacheRules :: Type -> Type #

Read DescribePullThroughCacheRules Source # 
Instance details

Defined in Amazonka.ECR.DescribePullThroughCacheRules

Show DescribePullThroughCacheRules Source # 
Instance details

Defined in Amazonka.ECR.DescribePullThroughCacheRules

NFData DescribePullThroughCacheRules Source # 
Instance details

Defined in Amazonka.ECR.DescribePullThroughCacheRules

Eq DescribePullThroughCacheRules Source # 
Instance details

Defined in Amazonka.ECR.DescribePullThroughCacheRules

Hashable DescribePullThroughCacheRules Source # 
Instance details

Defined in Amazonka.ECR.DescribePullThroughCacheRules

type AWSResponse DescribePullThroughCacheRules Source # 
Instance details

Defined in Amazonka.ECR.DescribePullThroughCacheRules

type Rep DescribePullThroughCacheRules Source # 
Instance details

Defined in Amazonka.ECR.DescribePullThroughCacheRules

type Rep DescribePullThroughCacheRules = D1 ('MetaData "DescribePullThroughCacheRules" "Amazonka.ECR.DescribePullThroughCacheRules" "amazonka-ecr-2.0-BqgZWPod2JCFn2nq69DCrJ" 'False) (C1 ('MetaCons "DescribePullThroughCacheRules'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "ecrRepositoryPrefixes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "registryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDescribePullThroughCacheRules :: DescribePullThroughCacheRules Source #

Create a value of DescribePullThroughCacheRules with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:ecrRepositoryPrefixes:DescribePullThroughCacheRules', describePullThroughCacheRules_ecrRepositoryPrefixes - The Amazon ECR repository prefixes associated with the pull through cache rules to return. If no repository prefix value is specified, all pull through cache rules are returned.

$sel:maxResults:DescribePullThroughCacheRules', describePullThroughCacheRules_maxResults - The maximum number of pull through cache rules returned by DescribePullThroughCacheRulesRequest in paginated output. When this parameter is used, DescribePullThroughCacheRulesRequest 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 DescribePullThroughCacheRulesRequest request with the returned nextToken value. This value can be between 1 and 1000. If this parameter is not used, then DescribePullThroughCacheRulesRequest returns up to 100 results and a nextToken value, if applicable.

DescribePullThroughCacheRules, describePullThroughCacheRules_nextToken - The nextToken value returned from a previous paginated DescribePullThroughCacheRulesRequest 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.

DescribePullThroughCacheRules, describePullThroughCacheRules_registryId - The Amazon Web Services account ID associated with the registry to return the pull through cache rules for. If you do not specify a registry, the default registry is assumed.

Request Lenses

describePullThroughCacheRules_ecrRepositoryPrefixes :: Lens' DescribePullThroughCacheRules (Maybe (NonEmpty Text)) Source #

The Amazon ECR repository prefixes associated with the pull through cache rules to return. If no repository prefix value is specified, all pull through cache rules are returned.

describePullThroughCacheRules_maxResults :: Lens' DescribePullThroughCacheRules (Maybe Natural) Source #

The maximum number of pull through cache rules returned by DescribePullThroughCacheRulesRequest in paginated output. When this parameter is used, DescribePullThroughCacheRulesRequest 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 DescribePullThroughCacheRulesRequest request with the returned nextToken value. This value can be between 1 and 1000. If this parameter is not used, then DescribePullThroughCacheRulesRequest returns up to 100 results and a nextToken value, if applicable.

describePullThroughCacheRules_nextToken :: Lens' DescribePullThroughCacheRules (Maybe Text) Source #

The nextToken value returned from a previous paginated DescribePullThroughCacheRulesRequest 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.

describePullThroughCacheRules_registryId :: Lens' DescribePullThroughCacheRules (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry to return the pull through cache rules for. If you do not specify a registry, the default registry is assumed.

Destructuring the Response

data DescribePullThroughCacheRulesResponse Source #

Constructors

DescribePullThroughCacheRulesResponse' 

Fields

  • nextToken :: Maybe Text

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

  • pullThroughCacheRules :: Maybe [PullThroughCacheRule]

    The details of the pull through cache rules.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DescribePullThroughCacheRulesResponse Source # 
Instance details

Defined in Amazonka.ECR.DescribePullThroughCacheRules

Read DescribePullThroughCacheRulesResponse Source # 
Instance details

Defined in Amazonka.ECR.DescribePullThroughCacheRules

Show DescribePullThroughCacheRulesResponse Source # 
Instance details

Defined in Amazonka.ECR.DescribePullThroughCacheRules

NFData DescribePullThroughCacheRulesResponse Source # 
Instance details

Defined in Amazonka.ECR.DescribePullThroughCacheRules

Eq DescribePullThroughCacheRulesResponse Source # 
Instance details

Defined in Amazonka.ECR.DescribePullThroughCacheRules

type Rep DescribePullThroughCacheRulesResponse Source # 
Instance details

Defined in Amazonka.ECR.DescribePullThroughCacheRules

type Rep DescribePullThroughCacheRulesResponse = D1 ('MetaData "DescribePullThroughCacheRulesResponse" "Amazonka.ECR.DescribePullThroughCacheRules" "amazonka-ecr-2.0-BqgZWPod2JCFn2nq69DCrJ" 'False) (C1 ('MetaCons "DescribePullThroughCacheRulesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "pullThroughCacheRules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PullThroughCacheRule])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribePullThroughCacheRulesResponse Source #

Create a value of DescribePullThroughCacheRulesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

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

$sel:pullThroughCacheRules:DescribePullThroughCacheRulesResponse', describePullThroughCacheRulesResponse_pullThroughCacheRules - The details of the pull through cache rules.

$sel:httpStatus:DescribePullThroughCacheRulesResponse', describePullThroughCacheRulesResponse_httpStatus - The response's http status code.

Response Lenses

describePullThroughCacheRulesResponse_nextToken :: Lens' DescribePullThroughCacheRulesResponse (Maybe Text) Source #

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