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 |
Update the pricing plan.
Synopsis
- data UpdatePricingPlan = UpdatePricingPlan' {}
- newUpdatePricingPlan :: PricingMode -> UpdatePricingPlan
- updatePricingPlan_bundleNames :: Lens' UpdatePricingPlan (Maybe (NonEmpty Text))
- updatePricingPlan_pricingMode :: Lens' UpdatePricingPlan PricingMode
- data UpdatePricingPlanResponse = UpdatePricingPlanResponse' {}
- newUpdatePricingPlanResponse :: Int -> PricingPlan -> UpdatePricingPlanResponse
- updatePricingPlanResponse_pendingPricingPlan :: Lens' UpdatePricingPlanResponse (Maybe PricingPlan)
- updatePricingPlanResponse_httpStatus :: Lens' UpdatePricingPlanResponse Int
- updatePricingPlanResponse_currentPricingPlan :: Lens' UpdatePricingPlanResponse PricingPlan
Creating a Request
data UpdatePricingPlan Source #
See: newUpdatePricingPlan
smart constructor.
UpdatePricingPlan' | |
|
Instances
Create a value of UpdatePricingPlan
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:
UpdatePricingPlan
, updatePricingPlan_bundleNames
- The bundle names.
UpdatePricingPlan
, updatePricingPlan_pricingMode
- The pricing mode.
Request Lenses
updatePricingPlan_bundleNames :: Lens' UpdatePricingPlan (Maybe (NonEmpty Text)) Source #
The bundle names.
updatePricingPlan_pricingMode :: Lens' UpdatePricingPlan PricingMode Source #
The pricing mode.
Destructuring the Response
data UpdatePricingPlanResponse Source #
See: newUpdatePricingPlanResponse
smart constructor.
UpdatePricingPlanResponse' | |
|
Instances
newUpdatePricingPlanResponse Source #
Create a value of UpdatePricingPlanResponse
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:UpdatePricingPlanResponse'
, updatePricingPlanResponse_pendingPricingPlan
- Update the pending pricing plan.
$sel:httpStatus:UpdatePricingPlanResponse'
, updatePricingPlanResponse_httpStatus
- The response's http status code.
$sel:currentPricingPlan:UpdatePricingPlanResponse'
, updatePricingPlanResponse_currentPricingPlan
- Update the current pricing plan.
Response Lenses
updatePricingPlanResponse_pendingPricingPlan :: Lens' UpdatePricingPlanResponse (Maybe PricingPlan) Source #
Update the pending pricing plan.
updatePricingPlanResponse_httpStatus :: Lens' UpdatePricingPlanResponse Int Source #
The response's http status code.
updatePricingPlanResponse_currentPricingPlan :: Lens' UpdatePricingPlanResponse PricingPlan Source #
Update the current pricing plan.