Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns a paginated list of all the ProvisionedProduct objects that are currently available (not terminated).
- scanProvisionedProducts :: ScanProvisionedProducts
- data ScanProvisionedProducts
- sppAcceptLanguage :: Lens' ScanProvisionedProducts (Maybe Text)
- sppAccessLevelFilter :: Lens' ScanProvisionedProducts (Maybe AccessLevelFilter)
- sppPageToken :: Lens' ScanProvisionedProducts (Maybe Text)
- sppPageSize :: Lens' ScanProvisionedProducts (Maybe Natural)
- scanProvisionedProductsResponse :: Int -> ScanProvisionedProductsResponse
- data ScanProvisionedProductsResponse
- spprsNextPageToken :: Lens' ScanProvisionedProductsResponse (Maybe Text)
- spprsProvisionedProducts :: Lens' ScanProvisionedProductsResponse [ProvisionedProductDetail]
- spprsResponseStatus :: Lens' ScanProvisionedProductsResponse Int
Creating a Request
scanProvisionedProducts :: ScanProvisionedProducts Source #
Creates a value of ScanProvisionedProducts
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sppAcceptLanguage
- The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.sppAccessLevelFilter
- The access level for obtaining results. If left unspecified,User
level access is used.sppPageToken
- The page token of the first page retrieved. If null, this retrieves the first page of sizePageSize
.sppPageSize
- The maximum number of items to return in the results. If more results exist than fit in the specifiedPageSize
, the value ofNextPageToken
in the response is non-null.
data ScanProvisionedProducts Source #
See: scanProvisionedProducts
smart constructor.
Request Lenses
sppAcceptLanguage :: Lens' ScanProvisionedProducts (Maybe Text) Source #
The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.
sppAccessLevelFilter :: Lens' ScanProvisionedProducts (Maybe AccessLevelFilter) Source #
The access level for obtaining results. If left unspecified, User
level access is used.
sppPageToken :: Lens' ScanProvisionedProducts (Maybe Text) Source #
The page token of the first page retrieved. If null, this retrieves the first page of size PageSize
.
sppPageSize :: Lens' ScanProvisionedProducts (Maybe Natural) Source #
The maximum number of items to return in the results. If more results exist than fit in the specified PageSize
, the value of NextPageToken
in the response is non-null.
Destructuring the Response
scanProvisionedProductsResponse Source #
Creates a value of ScanProvisionedProductsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
spprsNextPageToken
- The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.spprsProvisionedProducts
- A list of ProvisionedProduct detail objects.spprsResponseStatus
- -- | The response status code.
data ScanProvisionedProductsResponse Source #
See: scanProvisionedProductsResponse
smart constructor.
Response Lenses
spprsNextPageToken :: Lens' ScanProvisionedProductsResponse (Maybe Text) Source #
The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
spprsProvisionedProducts :: Lens' ScanProvisionedProductsResponse [ProvisionedProductDetail] Source #
A list of ProvisionedProduct detail objects.
spprsResponseStatus :: Lens' ScanProvisionedProductsResponse Int Source #
- - | The response status code.