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 |
Lists the provisioned products that are available (not terminated).
To use additional filtering, see SearchProvisionedProducts.
This operation returns paginated results.
Synopsis
- data ScanProvisionedProducts = ScanProvisionedProducts' {}
- newScanProvisionedProducts :: ScanProvisionedProducts
- scanProvisionedProducts_acceptLanguage :: Lens' ScanProvisionedProducts (Maybe Text)
- scanProvisionedProducts_accessLevelFilter :: Lens' ScanProvisionedProducts (Maybe AccessLevelFilter)
- scanProvisionedProducts_pageToken :: Lens' ScanProvisionedProducts (Maybe Text)
- scanProvisionedProducts_pageSize :: Lens' ScanProvisionedProducts (Maybe Natural)
- data ScanProvisionedProductsResponse = ScanProvisionedProductsResponse' {}
- newScanProvisionedProductsResponse :: Int -> ScanProvisionedProductsResponse
- scanProvisionedProductsResponse_nextPageToken :: Lens' ScanProvisionedProductsResponse (Maybe Text)
- scanProvisionedProductsResponse_provisionedProducts :: Lens' ScanProvisionedProductsResponse (Maybe [ProvisionedProductDetail])
- scanProvisionedProductsResponse_httpStatus :: Lens' ScanProvisionedProductsResponse Int
Creating a Request
data ScanProvisionedProducts Source #
See: newScanProvisionedProducts
smart constructor.
ScanProvisionedProducts' | |
|
Instances
newScanProvisionedProducts :: ScanProvisionedProducts Source #
Create a value of ScanProvisionedProducts
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:acceptLanguage:ScanProvisionedProducts'
, scanProvisionedProducts_acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinese
$sel:accessLevelFilter:ScanProvisionedProducts'
, scanProvisionedProducts_accessLevelFilter
- The access level to use to obtain results. The default is User
.
$sel:pageToken:ScanProvisionedProducts'
, scanProvisionedProducts_pageToken
- The page token for the next set of results. To retrieve the first set of
results, use null.
$sel:pageSize:ScanProvisionedProducts'
, scanProvisionedProducts_pageSize
- The maximum number of items to return with this call.
Request Lenses
scanProvisionedProducts_acceptLanguage :: Lens' ScanProvisionedProducts (Maybe Text) Source #
The language code.
en
- English (default)jp
- Japanesezh
- Chinese
scanProvisionedProducts_accessLevelFilter :: Lens' ScanProvisionedProducts (Maybe AccessLevelFilter) Source #
The access level to use to obtain results. The default is User
.
scanProvisionedProducts_pageToken :: Lens' ScanProvisionedProducts (Maybe Text) Source #
The page token for the next set of results. To retrieve the first set of results, use null.
scanProvisionedProducts_pageSize :: Lens' ScanProvisionedProducts (Maybe Natural) Source #
The maximum number of items to return with this call.
Destructuring the Response
data ScanProvisionedProductsResponse Source #
See: newScanProvisionedProductsResponse
smart constructor.
ScanProvisionedProductsResponse' | |
|
Instances
newScanProvisionedProductsResponse Source #
Create a value of ScanProvisionedProductsResponse
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:nextPageToken:ScanProvisionedProductsResponse'
, scanProvisionedProductsResponse_nextPageToken
- The page token to use to retrieve the next set of results. If there are
no additional results, this value is null.
$sel:provisionedProducts:ScanProvisionedProductsResponse'
, scanProvisionedProductsResponse_provisionedProducts
- Information about the provisioned products.
$sel:httpStatus:ScanProvisionedProductsResponse'
, scanProvisionedProductsResponse_httpStatus
- The response's http status code.
Response Lenses
scanProvisionedProductsResponse_nextPageToken :: Lens' ScanProvisionedProductsResponse (Maybe Text) Source #
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
scanProvisionedProductsResponse_provisionedProducts :: Lens' ScanProvisionedProductsResponse (Maybe [ProvisionedProductDetail]) Source #
Information about the provisioned products.
scanProvisionedProductsResponse_httpStatus :: Lens' ScanProvisionedProductsResponse Int Source #
The response's http status code.