| 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.IotTwinMaker.UpdatePricingPlan
Description
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.
Constructors
| UpdatePricingPlan' | |
Fields
| |
Instances
Arguments
| :: PricingMode | |
| -> UpdatePricingPlan |
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.
Constructors
| UpdatePricingPlanResponse' | |
Fields
| |
Instances
newUpdatePricingPlanResponse Source #
Arguments
| :: Int | |
| -> PricingPlan | |
| -> UpdatePricingPlanResponse |
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.