| 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.BillingConductor.ListPricingPlans
Description
A paginated call to get pricing plans for the given billing period. If you don't provide a billing period, the current billing period is used.
This operation returns paginated results.
Synopsis
- data ListPricingPlans = ListPricingPlans' {}
- newListPricingPlans :: ListPricingPlans
- listPricingPlans_billingPeriod :: Lens' ListPricingPlans (Maybe Text)
- listPricingPlans_filters :: Lens' ListPricingPlans (Maybe ListPricingPlansFilter)
- listPricingPlans_maxResults :: Lens' ListPricingPlans (Maybe Natural)
- listPricingPlans_nextToken :: Lens' ListPricingPlans (Maybe Text)
- data ListPricingPlansResponse = ListPricingPlansResponse' {}
- newListPricingPlansResponse :: Int -> ListPricingPlansResponse
- listPricingPlansResponse_billingPeriod :: Lens' ListPricingPlansResponse (Maybe Text)
- listPricingPlansResponse_nextToken :: Lens' ListPricingPlansResponse (Maybe Text)
- listPricingPlansResponse_pricingPlans :: Lens' ListPricingPlansResponse (Maybe [PricingPlanListElement])
- listPricingPlansResponse_httpStatus :: Lens' ListPricingPlansResponse Int
Creating a Request
data ListPricingPlans Source #
See: newListPricingPlans smart constructor.
Constructors
| ListPricingPlans' | |
Fields
| |
Instances
newListPricingPlans :: ListPricingPlans Source #
Create a value of ListPricingPlans 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:
ListPricingPlans, listPricingPlans_billingPeriod - The preferred billing period to get pricing plan.
$sel:filters:ListPricingPlans', listPricingPlans_filters - A ListPricingPlansFilter that specifies the Amazon Resource Name
(ARNs) of pricing plans to retrieve pricing plans information.
$sel:maxResults:ListPricingPlans', listPricingPlans_maxResults - The maximum number of pricing plans to retrieve.
ListPricingPlans, listPricingPlans_nextToken - The pagination token that's used on subsequent call to get pricing
plans.
Request Lenses
listPricingPlans_billingPeriod :: Lens' ListPricingPlans (Maybe Text) Source #
The preferred billing period to get pricing plan.
listPricingPlans_filters :: Lens' ListPricingPlans (Maybe ListPricingPlansFilter) Source #
A ListPricingPlansFilter that specifies the Amazon Resource Name
(ARNs) of pricing plans to retrieve pricing plans information.
listPricingPlans_maxResults :: Lens' ListPricingPlans (Maybe Natural) Source #
The maximum number of pricing plans to retrieve.
listPricingPlans_nextToken :: Lens' ListPricingPlans (Maybe Text) Source #
The pagination token that's used on subsequent call to get pricing plans.
Destructuring the Response
data ListPricingPlansResponse Source #
See: newListPricingPlansResponse smart constructor.
Constructors
| ListPricingPlansResponse' | |
Fields
| |
Instances
newListPricingPlansResponse Source #
Create a value of ListPricingPlansResponse 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:
ListPricingPlans, listPricingPlansResponse_billingPeriod - The billing period for which the described pricing plans are applicable.
ListPricingPlans, listPricingPlansResponse_nextToken - The pagination token that's used on subsequent calls to get pricing
plans.
$sel:pricingPlans:ListPricingPlansResponse', listPricingPlansResponse_pricingPlans - A list of PricingPlanListElement retrieved.
$sel:httpStatus:ListPricingPlansResponse', listPricingPlansResponse_httpStatus - The response's http status code.
Response Lenses
listPricingPlansResponse_billingPeriod :: Lens' ListPricingPlansResponse (Maybe Text) Source #
The billing period for which the described pricing plans are applicable.
listPricingPlansResponse_nextToken :: Lens' ListPricingPlansResponse (Maybe Text) Source #
The pagination token that's used on subsequent calls to get pricing plans.
listPricingPlansResponse_pricingPlans :: Lens' ListPricingPlansResponse (Maybe [PricingPlanListElement]) Source #
A list of PricingPlanListElement retrieved.
listPricingPlansResponse_httpStatus :: Lens' ListPricingPlansResponse Int Source #
The response's http status code.