| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ServiceCatalog.ListProvisionedProductPlans
Description
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_acceptLanguage :: Lens' ListProvisionedProductPlans (Maybe Text)
- listProvisionedProductPlans_accessLevelFilter :: Lens' ListProvisionedProductPlans (Maybe AccessLevelFilter)
- listProvisionedProductPlans_pageSize :: Lens' ListProvisionedProductPlans (Maybe Natural)
- listProvisionedProductPlans_pageToken :: Lens' ListProvisionedProductPlans (Maybe Text)
- listProvisionedProductPlans_provisionProductId :: Lens' ListProvisionedProductPlans (Maybe Text)
- 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.
Constructors
| ListProvisionedProductPlans' | |
Fields
| |
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: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:pageSize:ListProvisionedProductPlans', listProvisionedProductPlans_pageSize - The maximum number of items to return with this call.
$sel:pageToken:ListProvisionedProductPlans', listProvisionedProductPlans_pageToken - The page token for the next set of results. To retrieve the first set of
results, use null.
ListProvisionedProductPlans, listProvisionedProductPlans_provisionProductId - The product identifier.
Request Lenses
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_pageSize :: Lens' ListProvisionedProductPlans (Maybe Natural) Source #
The maximum number of items to return with this call.
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_provisionProductId :: Lens' ListProvisionedProductPlans (Maybe Text) Source #
The product identifier.
Destructuring the Response
data ListProvisionedProductPlansResponse Source #
See: newListProvisionedProductPlansResponse smart constructor.
Constructors
| ListProvisionedProductPlansResponse' | |
Fields
| |
Instances
newListProvisionedProductPlansResponse Source #
Arguments
| :: Int | |
| -> ListProvisionedProductPlansResponse |
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.