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 a list of image build versions.
Synopsis
- data ListImageBuildVersions = ListImageBuildVersions' {}
- newListImageBuildVersions :: Text -> ListImageBuildVersions
- listImageBuildVersions_filters :: Lens' ListImageBuildVersions (Maybe (NonEmpty Filter))
- listImageBuildVersions_nextToken :: Lens' ListImageBuildVersions (Maybe Text)
- listImageBuildVersions_maxResults :: Lens' ListImageBuildVersions (Maybe Natural)
- listImageBuildVersions_imageVersionArn :: Lens' ListImageBuildVersions Text
- data ListImageBuildVersionsResponse = ListImageBuildVersionsResponse' {
- requestId :: Maybe Text
- nextToken :: Maybe Text
- imageSummaryList :: Maybe [ImageSummary]
- httpStatus :: Int
- newListImageBuildVersionsResponse :: Int -> ListImageBuildVersionsResponse
- listImageBuildVersionsResponse_requestId :: Lens' ListImageBuildVersionsResponse (Maybe Text)
- listImageBuildVersionsResponse_nextToken :: Lens' ListImageBuildVersionsResponse (Maybe Text)
- listImageBuildVersionsResponse_imageSummaryList :: Lens' ListImageBuildVersionsResponse (Maybe [ImageSummary])
- listImageBuildVersionsResponse_httpStatus :: Lens' ListImageBuildVersionsResponse Int
Creating a Request
data ListImageBuildVersions Source #
See: newListImageBuildVersions
smart constructor.
ListImageBuildVersions' | |
|
Instances
newListImageBuildVersions Source #
Create a value of ListImageBuildVersions
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:filters:ListImageBuildVersions'
, listImageBuildVersions_filters
- Use the following filters to streamline results:
name
osVersion
platform
type
version
$sel:nextToken:ListImageBuildVersions'
, listImageBuildVersions_nextToken
- A token to specify where to start paginating. This is the NextToken from
a previously truncated response.
$sel:maxResults:ListImageBuildVersions'
, listImageBuildVersions_maxResults
- The maximum items to return in a request.
$sel:imageVersionArn:ListImageBuildVersions'
, listImageBuildVersions_imageVersionArn
- The Amazon Resource Name (ARN) of the image whose build versions you
want to retrieve.
Request Lenses
listImageBuildVersions_filters :: Lens' ListImageBuildVersions (Maybe (NonEmpty Filter)) Source #
Use the following filters to streamline results:
name
osVersion
platform
type
version
listImageBuildVersions_nextToken :: Lens' ListImageBuildVersions (Maybe Text) Source #
A token to specify where to start paginating. This is the NextToken from a previously truncated response.
listImageBuildVersions_maxResults :: Lens' ListImageBuildVersions (Maybe Natural) Source #
The maximum items to return in a request.
listImageBuildVersions_imageVersionArn :: Lens' ListImageBuildVersions Text Source #
The Amazon Resource Name (ARN) of the image whose build versions you want to retrieve.
Destructuring the Response
data ListImageBuildVersionsResponse Source #
See: newListImageBuildVersionsResponse
smart constructor.
ListImageBuildVersionsResponse' | |
|
Instances
newListImageBuildVersionsResponse Source #
Create a value of ListImageBuildVersionsResponse
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:requestId:ListImageBuildVersionsResponse'
, listImageBuildVersionsResponse_requestId
- The request ID that uniquely identifies this request.
$sel:nextToken:ListImageBuildVersions'
, listImageBuildVersionsResponse_nextToken
- The next token used for paginated responses. When this is not empty,
there are additional elements that the service has not included in this
request. Use this token with the next request to retrieve additional
objects.
$sel:imageSummaryList:ListImageBuildVersionsResponse'
, listImageBuildVersionsResponse_imageSummaryList
- The list of image build versions.
$sel:httpStatus:ListImageBuildVersionsResponse'
, listImageBuildVersionsResponse_httpStatus
- The response's http status code.
Response Lenses
listImageBuildVersionsResponse_requestId :: Lens' ListImageBuildVersionsResponse (Maybe Text) Source #
The request ID that uniquely identifies this request.
listImageBuildVersionsResponse_nextToken :: Lens' ListImageBuildVersionsResponse (Maybe Text) Source #
The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects.
listImageBuildVersionsResponse_imageSummaryList :: Lens' ListImageBuildVersionsResponse (Maybe [ImageSummary]) Source #
The list of image build versions.
listImageBuildVersionsResponse_httpStatus :: Lens' ListImageBuildVersionsResponse Int Source #
The response's http status code.