Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Lists the plans for the specified provisioned product or all plans to which the user has access.
Synopsis
- listProvisionedProductPlans :: ListProvisionedProductPlans
- data ListProvisionedProductPlans
- lpppProvisionProductId :: Lens' ListProvisionedProductPlans (Maybe Text)
- lpppAcceptLanguage :: Lens' ListProvisionedProductPlans (Maybe Text)
- lpppAccessLevelFilter :: Lens' ListProvisionedProductPlans (Maybe AccessLevelFilter)
- lpppPageToken :: Lens' ListProvisionedProductPlans (Maybe Text)
- lpppPageSize :: Lens' ListProvisionedProductPlans (Maybe Natural)
- listProvisionedProductPlansResponse :: Int -> ListProvisionedProductPlansResponse
- data ListProvisionedProductPlansResponse
- lppprsNextPageToken :: Lens' ListProvisionedProductPlansResponse (Maybe Text)
- lppprsProvisionedProductPlans :: Lens' ListProvisionedProductPlansResponse [ProvisionedProductPlanSummary]
- lppprsResponseStatus :: Lens' ListProvisionedProductPlansResponse Int
Creating a Request
listProvisionedProductPlans :: ListProvisionedProductPlans Source #
Creates a value of ListProvisionedProductPlans
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lpppProvisionProductId
- The product identifier.lpppAcceptLanguage
- The language code. *en
- English (default) *jp
- Japanese *zh
- ChineselpppAccessLevelFilter
- The access level to use to obtain results. The default isUser
.lpppPageToken
- The page token for the next set of results. To retrieve the first set of results, use null.lpppPageSize
- The maximum number of items to return with this call.
data ListProvisionedProductPlans Source #
See: listProvisionedProductPlans
smart constructor.
Instances
Request Lenses
lpppProvisionProductId :: Lens' ListProvisionedProductPlans (Maybe Text) Source #
The product identifier.
lpppAcceptLanguage :: Lens' ListProvisionedProductPlans (Maybe Text) Source #
The language code. * en
- English (default) * jp
- Japanese * zh
- Chinese
lpppAccessLevelFilter :: Lens' ListProvisionedProductPlans (Maybe AccessLevelFilter) Source #
The access level to use to obtain results. The default is User
.
lpppPageToken :: Lens' ListProvisionedProductPlans (Maybe Text) Source #
The page token for the next set of results. To retrieve the first set of results, use null.
lpppPageSize :: Lens' ListProvisionedProductPlans (Maybe Natural) Source #
The maximum number of items to return with this call.
Destructuring the Response
listProvisionedProductPlansResponse Source #
Creates a value of ListProvisionedProductPlansResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lppprsNextPageToken
- The page token to use to retrieve the next set of results. If there are no additional results, this value is null.lppprsProvisionedProductPlans
- Information about the plans.lppprsResponseStatus
- -- | The response status code.
data ListProvisionedProductPlansResponse Source #
See: listProvisionedProductPlansResponse
smart constructor.
Instances
Response Lenses
lppprsNextPageToken :: 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.
lppprsProvisionedProductPlans :: Lens' ListProvisionedProductPlansResponse [ProvisionedProductPlanSummary] Source #
Information about the plans.
lppprsResponseStatus :: Lens' ListProvisionedProductPlansResponse Int Source #
- - | The response status code.