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 |
Gets the pricing plan.
Synopsis
- data GetPricingPlan = GetPricingPlan' {
- newGetPricingPlan :: GetPricingPlan
- data GetPricingPlanResponse = GetPricingPlanResponse' {}
- newGetPricingPlanResponse :: Int -> PricingPlan -> GetPricingPlanResponse
- getPricingPlanResponse_pendingPricingPlan :: Lens' GetPricingPlanResponse (Maybe PricingPlan)
- getPricingPlanResponse_httpStatus :: Lens' GetPricingPlanResponse Int
- getPricingPlanResponse_currentPricingPlan :: Lens' GetPricingPlanResponse PricingPlan
Creating a Request
data GetPricingPlan Source #
See: newGetPricingPlan
smart constructor.
Instances
newGetPricingPlan :: GetPricingPlan Source #
Create a value of GetPricingPlan
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetPricingPlanResponse Source #
See: newGetPricingPlanResponse
smart constructor.
GetPricingPlanResponse' | |
|
Instances
newGetPricingPlanResponse Source #
:: Int | |
-> PricingPlan | |
-> GetPricingPlanResponse |
Create a value of GetPricingPlanResponse
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:pendingPricingPlan:GetPricingPlanResponse'
, getPricingPlanResponse_pendingPricingPlan
- The pending pricing plan.
$sel:httpStatus:GetPricingPlanResponse'
, getPricingPlanResponse_httpStatus
- The response's http status code.
$sel:currentPricingPlan:GetPricingPlanResponse'
, getPricingPlanResponse_currentPricingPlan
- The chosen pricing plan for the current billing cycle.
Response Lenses
getPricingPlanResponse_pendingPricingPlan :: Lens' GetPricingPlanResponse (Maybe PricingPlan) Source #
The pending pricing plan.
getPricingPlanResponse_httpStatus :: Lens' GetPricingPlanResponse Int Source #
The response's http status code.
getPricingPlanResponse_currentPricingPlan :: Lens' GetPricingPlanResponse PricingPlan Source #
The chosen pricing plan for the current billing cycle.