Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Returns the image tag details for a repository in a public registry.
This operation returns paginated results.
Synopsis
- data DescribeImageTags = DescribeImageTags' {}
- newDescribeImageTags :: Text -> DescribeImageTags
- describeImageTags_registryId :: Lens' DescribeImageTags (Maybe Text)
- describeImageTags_nextToken :: Lens' DescribeImageTags (Maybe Text)
- describeImageTags_maxResults :: Lens' DescribeImageTags (Maybe Natural)
- describeImageTags_repositoryName :: Lens' DescribeImageTags Text
- data DescribeImageTagsResponse = DescribeImageTagsResponse' {}
- newDescribeImageTagsResponse :: Int -> DescribeImageTagsResponse
- describeImageTagsResponse_nextToken :: Lens' DescribeImageTagsResponse (Maybe Text)
- describeImageTagsResponse_imageTagDetails :: Lens' DescribeImageTagsResponse (Maybe [ImageTagDetail])
- describeImageTagsResponse_httpStatus :: Lens' DescribeImageTagsResponse Int
Creating a Request
data DescribeImageTags Source #
See: newDescribeImageTags
smart constructor.
DescribeImageTags' | |
|
Instances
Create a value of DescribeImageTags
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:registryId:DescribeImageTags'
, describeImageTags_registryId
- The AWS account ID associated with the public registry that contains the
repository in which to describe images. If you do not specify a
registry, the default public registry is assumed.
$sel:nextToken:DescribeImageTags'
, describeImageTags_nextToken
- The nextToken
value returned from a previous paginated
DescribeImageTags
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
.
$sel:maxResults:DescribeImageTags'
, describeImageTags_maxResults
- The maximum number of repository results returned by DescribeImageTags
in paginated output. When this parameter is used, DescribeImageTags
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 DescribeImageTags
request with
the returned nextToken
value. This value can be between 1 and 1000. If
this parameter is not used, then DescribeImageTags
returns up to 100
results and a nextToken
value, if applicable. This option cannot be
used when you specify images with imageIds
.
$sel:repositoryName:DescribeImageTags'
, describeImageTags_repositoryName
- The name of the repository that contains the image tag details to
describe.
Request Lenses
describeImageTags_registryId :: Lens' DescribeImageTags (Maybe Text) Source #
The AWS account ID associated with the public registry that contains the repository in which to describe images. If you do not specify a registry, the default public registry is assumed.
describeImageTags_nextToken :: Lens' DescribeImageTags (Maybe Text) Source #
The nextToken
value returned from a previous paginated
DescribeImageTags
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
.
describeImageTags_maxResults :: Lens' DescribeImageTags (Maybe Natural) Source #
The maximum number of repository results returned by DescribeImageTags
in paginated output. When this parameter is used, DescribeImageTags
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 DescribeImageTags
request with
the returned nextToken
value. This value can be between 1 and 1000. If
this parameter is not used, then DescribeImageTags
returns up to 100
results and a nextToken
value, if applicable. This option cannot be
used when you specify images with imageIds
.
describeImageTags_repositoryName :: Lens' DescribeImageTags Text Source #
The name of the repository that contains the image tag details to describe.
Destructuring the Response
data DescribeImageTagsResponse Source #
See: newDescribeImageTagsResponse
smart constructor.
DescribeImageTagsResponse' | |
|
Instances
newDescribeImageTagsResponse Source #
Create a value of DescribeImageTagsResponse
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:nextToken:DescribeImageTags'
, describeImageTagsResponse_nextToken
- The nextToken
value to include in a future DescribeImageTags
request. When the results of a DescribeImageTags
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:imageTagDetails:DescribeImageTagsResponse'
, describeImageTagsResponse_imageTagDetails
- The image tag details for the images in the requested repository.
$sel:httpStatus:DescribeImageTagsResponse'
, describeImageTagsResponse_httpStatus
- The response's http status code.
Response Lenses
describeImageTagsResponse_nextToken :: Lens' DescribeImageTagsResponse (Maybe Text) Source #
The nextToken
value to include in a future DescribeImageTags
request. When the results of a DescribeImageTags
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.
describeImageTagsResponse_imageTagDetails :: Lens' DescribeImageTagsResponse (Maybe [ImageTagDetail]) Source #
The image tag details for the images in the requested repository.
describeImageTagsResponse_httpStatus :: Lens' DescribeImageTagsResponse Int Source #
The response's http status code.