Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Returns the pull through cache rules for a registry.
This operation returns paginated results.
Synopsis
- data DescribePullThroughCacheRules = DescribePullThroughCacheRules' {}
- newDescribePullThroughCacheRules :: DescribePullThroughCacheRules
- describePullThroughCacheRules_ecrRepositoryPrefixes :: Lens' DescribePullThroughCacheRules (Maybe (NonEmpty Text))
- describePullThroughCacheRules_maxResults :: Lens' DescribePullThroughCacheRules (Maybe Natural)
- describePullThroughCacheRules_nextToken :: Lens' DescribePullThroughCacheRules (Maybe Text)
- describePullThroughCacheRules_registryId :: Lens' DescribePullThroughCacheRules (Maybe Text)
- data DescribePullThroughCacheRulesResponse = DescribePullThroughCacheRulesResponse' {}
- newDescribePullThroughCacheRulesResponse :: Int -> DescribePullThroughCacheRulesResponse
- describePullThroughCacheRulesResponse_nextToken :: Lens' DescribePullThroughCacheRulesResponse (Maybe Text)
- describePullThroughCacheRulesResponse_pullThroughCacheRules :: Lens' DescribePullThroughCacheRulesResponse (Maybe [PullThroughCacheRule])
- describePullThroughCacheRulesResponse_httpStatus :: Lens' DescribePullThroughCacheRulesResponse Int
Creating a Request
data DescribePullThroughCacheRules Source #
See: newDescribePullThroughCacheRules
smart constructor.
DescribePullThroughCacheRules' | |
|
Instances
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 #
See: newDescribePullThroughCacheRulesResponse
smart constructor.
DescribePullThroughCacheRulesResponse' | |
|
Instances
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.
describePullThroughCacheRulesResponse_pullThroughCacheRules :: Lens' DescribePullThroughCacheRulesResponse (Maybe [PullThroughCacheRule]) Source #
The details of the pull through cache rules.
describePullThroughCacheRulesResponse_httpStatus :: Lens' DescribePullThroughCacheRulesResponse Int Source #
The response's http status code.