Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Retrieves the results of the specified lifecycle policy preview request.
- getLifecyclePolicyPreview :: Text -> GetLifecyclePolicyPreview
- data GetLifecyclePolicyPreview
- glppRegistryId :: Lens' GetLifecyclePolicyPreview (Maybe Text)
- glppImageIds :: Lens' GetLifecyclePolicyPreview [ImageIdentifier]
- glppNextToken :: Lens' GetLifecyclePolicyPreview (Maybe Text)
- glppFilter :: Lens' GetLifecyclePolicyPreview (Maybe LifecyclePolicyPreviewFilter)
- glppMaxResults :: Lens' GetLifecyclePolicyPreview (Maybe Natural)
- glppRepositoryName :: Lens' GetLifecyclePolicyPreview Text
- getLifecyclePolicyPreviewResponse :: Int -> GetLifecyclePolicyPreviewResponse
- data GetLifecyclePolicyPreviewResponse
- glpprsSummary :: Lens' GetLifecyclePolicyPreviewResponse (Maybe LifecyclePolicyPreviewSummary)
- glpprsStatus :: Lens' GetLifecyclePolicyPreviewResponse (Maybe LifecyclePolicyPreviewStatus)
- glpprsRegistryId :: Lens' GetLifecyclePolicyPreviewResponse (Maybe Text)
- glpprsLifecyclePolicyText :: Lens' GetLifecyclePolicyPreviewResponse (Maybe Text)
- glpprsNextToken :: Lens' GetLifecyclePolicyPreviewResponse (Maybe Text)
- glpprsRepositoryName :: Lens' GetLifecyclePolicyPreviewResponse (Maybe Text)
- glpprsPreviewResults :: Lens' GetLifecyclePolicyPreviewResponse [LifecyclePolicyPreviewResult]
- glpprsResponseStatus :: Lens' GetLifecyclePolicyPreviewResponse Int
Creating a Request
getLifecyclePolicyPreview Source #
Creates a value of GetLifecyclePolicyPreview
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
glppRegistryId
- The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.glppImageIds
- The list of imageIDs to be included.glppNextToken
- ThenextToken
value returned from a previous paginatedGetLifecyclePolicyPreviewRequest
request wheremaxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
value. This value isnull
when there are no more results to return. This option cannot be used when you specify images withimageIds
.glppFilter
- An optional parameter that filters results based on image tag status and all tags, if tagged.glppMaxResults
- The maximum number of repository results returned byGetLifecyclePolicyPreviewRequest
in paginated output. When this parameter is used,GetLifecyclePolicyPreviewRequest
only returnsmaxResults
results in a single page along with anextToken
response element. The remaining results of the initial request can be seen by sending anotherGetLifecyclePolicyPreviewRequest
request with the returnednextToken
value. This value can be between 1 and 100. If this parameter is not used, thenGetLifecyclePolicyPreviewRequest
returns up to 100 results and anextToken
value, if applicable. This option cannot be used when you specify images withimageIds
.glppRepositoryName
- The name of the repository.
data GetLifecyclePolicyPreview Source #
See: getLifecyclePolicyPreview
smart constructor.
Request Lenses
glppRegistryId :: Lens' GetLifecyclePolicyPreview (Maybe Text) Source #
The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
glppImageIds :: Lens' GetLifecyclePolicyPreview [ImageIdentifier] Source #
The list of imageIDs to be included.
glppNextToken :: Lens' GetLifecyclePolicyPreview (Maybe Text) Source #
The nextToken
value returned from a previous paginated
GetLifecyclePolicyPreviewRequest
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
.
glppFilter :: Lens' GetLifecyclePolicyPreview (Maybe LifecyclePolicyPreviewFilter) Source #
An optional parameter that filters results based on image tag status and all tags, if tagged.
glppMaxResults :: Lens' GetLifecyclePolicyPreview (Maybe Natural) Source #
The maximum number of repository results returned by GetLifecyclePolicyPreviewRequest
in
paginated output. When this parameter is used, GetLifecyclePolicyPreviewRequest
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 GetLifecyclePolicyPreviewRequest
request with the returned nextToken
value. This value can be between 1 and 100. If this
parameter is not used, then GetLifecyclePolicyPreviewRequest
returns up to
100 results and a nextToken
value, if
applicable. This option cannot be used when you specify images with imageIds
.
glppRepositoryName :: Lens' GetLifecyclePolicyPreview Text Source #
The name of the repository.
Destructuring the Response
getLifecyclePolicyPreviewResponse Source #
Creates a value of GetLifecyclePolicyPreviewResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
glpprsSummary
- The list of images that is returned as a result of the action.glpprsStatus
- The status of the lifecycle policy preview request.glpprsRegistryId
- The registry ID associated with the request.glpprsLifecyclePolicyText
- The JSON lifecycle policy text.glpprsNextToken
- ThenextToken
value to include in a futureGetLifecyclePolicyPreview
request. When the results of aGetLifecyclePolicyPreview
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.glpprsRepositoryName
- The repository name associated with the request.glpprsPreviewResults
- The results of the lifecycle policy preview request.glpprsResponseStatus
- -- | The response status code.
data GetLifecyclePolicyPreviewResponse Source #
See: getLifecyclePolicyPreviewResponse
smart constructor.
Response Lenses
glpprsSummary :: Lens' GetLifecyclePolicyPreviewResponse (Maybe LifecyclePolicyPreviewSummary) Source #
The list of images that is returned as a result of the action.
glpprsStatus :: Lens' GetLifecyclePolicyPreviewResponse (Maybe LifecyclePolicyPreviewStatus) Source #
The status of the lifecycle policy preview request.
glpprsRegistryId :: Lens' GetLifecyclePolicyPreviewResponse (Maybe Text) Source #
The registry ID associated with the request.
glpprsLifecyclePolicyText :: Lens' GetLifecyclePolicyPreviewResponse (Maybe Text) Source #
The JSON lifecycle policy text.
glpprsNextToken :: Lens' GetLifecyclePolicyPreviewResponse (Maybe Text) Source #
The nextToken
value to include in a future GetLifecyclePolicyPreview
request. When the results of a GetLifecyclePolicyPreview
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.
glpprsRepositoryName :: Lens' GetLifecyclePolicyPreviewResponse (Maybe Text) Source #
The repository name associated with the request.
glpprsPreviewResults :: Lens' GetLifecyclePolicyPreviewResponse [LifecyclePolicyPreviewResult] Source #
The results of the lifecycle policy preview request.
glpprsResponseStatus :: Lens' GetLifecyclePolicyPreviewResponse Int Source #
- - | The response status code.