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 |
List the Packages that are associated with an Image Build Version, as determined by Amazon Web Services Systems Manager Inventory at build time.
Synopsis
- data ListImagePackages = ListImagePackages' {}
- newListImagePackages :: Text -> ListImagePackages
- listImagePackages_nextToken :: Lens' ListImagePackages (Maybe Text)
- listImagePackages_maxResults :: Lens' ListImagePackages (Maybe Natural)
- listImagePackages_imageBuildVersionArn :: Lens' ListImagePackages Text
- data ListImagePackagesResponse = ListImagePackagesResponse' {
- requestId :: Maybe Text
- imagePackageList :: Maybe [ImagePackage]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListImagePackagesResponse :: Int -> ListImagePackagesResponse
- listImagePackagesResponse_requestId :: Lens' ListImagePackagesResponse (Maybe Text)
- listImagePackagesResponse_imagePackageList :: Lens' ListImagePackagesResponse (Maybe [ImagePackage])
- listImagePackagesResponse_nextToken :: Lens' ListImagePackagesResponse (Maybe Text)
- listImagePackagesResponse_httpStatus :: Lens' ListImagePackagesResponse Int
Creating a Request
data ListImagePackages Source #
See: newListImagePackages
smart constructor.
ListImagePackages' | |
|
Instances
Create a value of ListImagePackages
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:ListImagePackages'
, listImagePackages_nextToken
- A token to specify where to start paginating. This is the NextToken from
a previously truncated response.
$sel:maxResults:ListImagePackages'
, listImagePackages_maxResults
- The maxiumum number of results to return from the ListImagePackages
request.
$sel:imageBuildVersionArn:ListImagePackages'
, listImagePackages_imageBuildVersionArn
- Filter results for the ListImagePackages request by the Image Build
Version ARN
Request Lenses
listImagePackages_nextToken :: Lens' ListImagePackages (Maybe Text) Source #
A token to specify where to start paginating. This is the NextToken from a previously truncated response.
listImagePackages_maxResults :: Lens' ListImagePackages (Maybe Natural) Source #
The maxiumum number of results to return from the ListImagePackages request.
listImagePackages_imageBuildVersionArn :: Lens' ListImagePackages Text Source #
Filter results for the ListImagePackages request by the Image Build Version ARN
Destructuring the Response
data ListImagePackagesResponse Source #
See: newListImagePackagesResponse
smart constructor.
ListImagePackagesResponse' | |
|
Instances
newListImagePackagesResponse Source #
Create a value of ListImagePackagesResponse
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:ListImagePackagesResponse'
, listImagePackagesResponse_requestId
- The request ID that uniquely identifies this request.
$sel:imagePackageList:ListImagePackagesResponse'
, listImagePackagesResponse_imagePackageList
- The list of Image Packages returned in the response.
$sel:nextToken:ListImagePackages'
, listImagePackagesResponse_nextToken
- A token to specify where to start paginating. This is the NextToken from
a previously truncated response.
$sel:httpStatus:ListImagePackagesResponse'
, listImagePackagesResponse_httpStatus
- The response's http status code.
Response Lenses
listImagePackagesResponse_requestId :: Lens' ListImagePackagesResponse (Maybe Text) Source #
The request ID that uniquely identifies this request.
listImagePackagesResponse_imagePackageList :: Lens' ListImagePackagesResponse (Maybe [ImagePackage]) Source #
The list of Image Packages returned in the response.
listImagePackagesResponse_nextToken :: Lens' ListImagePackagesResponse (Maybe Text) Source #
A token to specify where to start paginating. This is the NextToken from a previously truncated response.
listImagePackagesResponse_httpStatus :: Lens' ListImagePackagesResponse Int Source #
The response's http status code.