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 plans for the specified provisioned product or all plans to which the user has access.
This operation returns paginated results.
Synopsis
- data ListProvisionedProductPlans = ListProvisionedProductPlans' {}
- newListProvisionedProductPlans :: ListProvisionedProductPlans
- listProvisionedProductPlans_provisionProductId :: Lens' ListProvisionedProductPlans (Maybe Text)
- listProvisionedProductPlans_acceptLanguage :: Lens' ListProvisionedProductPlans (Maybe Text)
- listProvisionedProductPlans_accessLevelFilter :: Lens' ListProvisionedProductPlans (Maybe AccessLevelFilter)
- listProvisionedProductPlans_pageToken :: Lens' ListProvisionedProductPlans (Maybe Text)
- listProvisionedProductPlans_pageSize :: Lens' ListProvisionedProductPlans (Maybe Natural)
- data ListProvisionedProductPlansResponse = ListProvisionedProductPlansResponse' {}
- newListProvisionedProductPlansResponse :: Int -> ListProvisionedProductPlansResponse
- listProvisionedProductPlansResponse_nextPageToken :: Lens' ListProvisionedProductPlansResponse (Maybe Text)
- listProvisionedProductPlansResponse_provisionedProductPlans :: Lens' ListProvisionedProductPlansResponse (Maybe [ProvisionedProductPlanSummary])
- listProvisionedProductPlansResponse_httpStatus :: Lens' ListProvisionedProductPlansResponse Int
Creating a Request
data ListProvisionedProductPlans Source #
See: newListProvisionedProductPlans
smart constructor.
ListProvisionedProductPlans' | |
|
Instances
newListProvisionedProductPlans :: ListProvisionedProductPlans Source #
Create a value of ListProvisionedProductPlans
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:provisionProductId:ListProvisionedProductPlans'
, listProvisionedProductPlans_provisionProductId
- The product identifier.
$sel:acceptLanguage:ListProvisionedProductPlans'
, listProvisionedProductPlans_acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinese
$sel:accessLevelFilter:ListProvisionedProductPlans'
, listProvisionedProductPlans_accessLevelFilter
- The access level to use to obtain results. The default is User
.
$sel:pageToken:ListProvisionedProductPlans'
, listProvisionedProductPlans_pageToken
- The page token for the next set of results. To retrieve the first set of
results, use null.
$sel:pageSize:ListProvisionedProductPlans'
, listProvisionedProductPlans_pageSize
- The maximum number of items to return with this call.
Request Lenses
listProvisionedProductPlans_provisionProductId :: Lens' ListProvisionedProductPlans (Maybe Text) Source #
The product identifier.
listProvisionedProductPlans_acceptLanguage :: Lens' ListProvisionedProductPlans (Maybe Text) Source #
The language code.
en
- English (default)jp
- Japanesezh
- Chinese
listProvisionedProductPlans_accessLevelFilter :: Lens' ListProvisionedProductPlans (Maybe AccessLevelFilter) Source #
The access level to use to obtain results. The default is User
.
listProvisionedProductPlans_pageToken :: Lens' ListProvisionedProductPlans (Maybe Text) Source #
The page token for the next set of results. To retrieve the first set of results, use null.
listProvisionedProductPlans_pageSize :: Lens' ListProvisionedProductPlans (Maybe Natural) Source #
The maximum number of items to return with this call.
Destructuring the Response
data ListProvisionedProductPlansResponse Source #
See: newListProvisionedProductPlansResponse
smart constructor.
ListProvisionedProductPlansResponse' | |
|
Instances
newListProvisionedProductPlansResponse Source #
Create a value of ListProvisionedProductPlansResponse
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:ListProvisionedProductPlansResponse'
, listProvisionedProductPlansResponse_nextPageToken
- The page token to use to retrieve the next set of results. If there are
no additional results, this value is null.
$sel:provisionedProductPlans:ListProvisionedProductPlansResponse'
, listProvisionedProductPlansResponse_provisionedProductPlans
- Information about the plans.
$sel:httpStatus:ListProvisionedProductPlansResponse'
, listProvisionedProductPlansResponse_httpStatus
- The response's http status code.
Response Lenses
listProvisionedProductPlansResponse_nextPageToken :: Lens' ListProvisionedProductPlansResponse (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.
listProvisionedProductPlansResponse_provisionedProductPlans :: Lens' ListProvisionedProductPlansResponse (Maybe [ProvisionedProductPlanSummary]) Source #
Information about the plans.
listProvisionedProductPlansResponse_httpStatus :: Lens' ListProvisionedProductPlansResponse Int Source #
The response's http status code.