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 |
This updates an existing pricing plan.
Synopsis
- data UpdatePricingPlan = UpdatePricingPlan' {}
- newUpdatePricingPlan :: Text -> UpdatePricingPlan
- updatePricingPlan_description :: Lens' UpdatePricingPlan (Maybe Text)
- updatePricingPlan_name :: Lens' UpdatePricingPlan (Maybe Text)
- updatePricingPlan_arn :: Lens' UpdatePricingPlan Text
- data UpdatePricingPlanResponse = UpdatePricingPlanResponse' {}
- newUpdatePricingPlanResponse :: Int -> UpdatePricingPlanResponse
- updatePricingPlanResponse_arn :: Lens' UpdatePricingPlanResponse (Maybe Text)
- updatePricingPlanResponse_description :: Lens' UpdatePricingPlanResponse (Maybe Text)
- updatePricingPlanResponse_lastModifiedTime :: Lens' UpdatePricingPlanResponse (Maybe Integer)
- updatePricingPlanResponse_name :: Lens' UpdatePricingPlanResponse (Maybe Text)
- updatePricingPlanResponse_size :: Lens' UpdatePricingPlanResponse (Maybe Natural)
- updatePricingPlanResponse_httpStatus :: Lens' UpdatePricingPlanResponse Int
Creating a Request
data UpdatePricingPlan Source #
See: newUpdatePricingPlan
smart constructor.
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_description
- The description of the pricing plan.
UpdatePricingPlan
, updatePricingPlan_name
- The name of the pricing plan. The name must be unique to each pricing
plan.
UpdatePricingPlan
, updatePricingPlan_arn
- The Amazon Resource Name (ARN) of the pricing plan that you're
updating.
Request Lenses
updatePricingPlan_description :: Lens' UpdatePricingPlan (Maybe Text) Source #
The description of the pricing plan.
updatePricingPlan_name :: Lens' UpdatePricingPlan (Maybe Text) Source #
The name of the pricing plan. The name must be unique to each pricing plan.
updatePricingPlan_arn :: Lens' UpdatePricingPlan Text Source #
The Amazon Resource Name (ARN) of the pricing plan that you're updating.
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:
UpdatePricingPlan
, updatePricingPlanResponse_arn
- The Amazon Resource Name (ARN) of the updated pricing plan.
UpdatePricingPlan
, updatePricingPlanResponse_description
- The new description for the pricing rule.
UpdatePricingPlanResponse
, updatePricingPlanResponse_lastModifiedTime
- The most recent time when the pricing plan was modified.
UpdatePricingPlan
, updatePricingPlanResponse_name
- The name of the pricing plan. The name must be unique to each pricing
plan.
UpdatePricingPlanResponse
, updatePricingPlanResponse_size
- The pricing rules count that's currently associated with this pricing
plan list.
$sel:httpStatus:UpdatePricingPlanResponse'
, updatePricingPlanResponse_httpStatus
- The response's http status code.
Response Lenses
updatePricingPlanResponse_arn :: Lens' UpdatePricingPlanResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the updated pricing plan.
updatePricingPlanResponse_description :: Lens' UpdatePricingPlanResponse (Maybe Text) Source #
The new description for the pricing rule.
updatePricingPlanResponse_lastModifiedTime :: Lens' UpdatePricingPlanResponse (Maybe Integer) Source #
The most recent time when the pricing plan was modified.
updatePricingPlanResponse_name :: Lens' UpdatePricingPlanResponse (Maybe Text) Source #
The name of the pricing plan. The name must be unique to each pricing plan.
updatePricingPlanResponse_size :: Lens' UpdatePricingPlanResponse (Maybe Natural) Source #
The pricing rules count that's currently associated with this pricing plan list.
updatePricingPlanResponse_httpStatus :: Lens' UpdatePricingPlanResponse Int Source #
The response's http status code.