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 |
Deletes a pricing plan. The pricing plan must not be associated with any billing groups to delete successfully.
Synopsis
- data DeletePricingPlan = DeletePricingPlan' {}
- newDeletePricingPlan :: Text -> DeletePricingPlan
- deletePricingPlan_arn :: Lens' DeletePricingPlan Text
- data DeletePricingPlanResponse = DeletePricingPlanResponse' {
- arn :: Maybe Text
- httpStatus :: Int
- newDeletePricingPlanResponse :: Int -> DeletePricingPlanResponse
- deletePricingPlanResponse_arn :: Lens' DeletePricingPlanResponse (Maybe Text)
- deletePricingPlanResponse_httpStatus :: Lens' DeletePricingPlanResponse Int
Creating a Request
data DeletePricingPlan Source #
See: newDeletePricingPlan
smart constructor.
Instances
Create a value of DeletePricingPlan
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:
DeletePricingPlan
, deletePricingPlan_arn
- The Amazon Resource Name (ARN) of the pricing plan that you're
deleting.
Request Lenses
deletePricingPlan_arn :: Lens' DeletePricingPlan Text Source #
The Amazon Resource Name (ARN) of the pricing plan that you're deleting.
Destructuring the Response
data DeletePricingPlanResponse Source #
See: newDeletePricingPlanResponse
smart constructor.
DeletePricingPlanResponse' | |
|
Instances
newDeletePricingPlanResponse Source #
Create a value of DeletePricingPlanResponse
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:
DeletePricingPlan
, deletePricingPlanResponse_arn
- The Amazon Resource Name (ARN) of the deleted pricing plan.
$sel:httpStatus:DeletePricingPlanResponse'
, deletePricingPlanResponse_httpStatus
- The response's http status code.
Response Lenses
deletePricingPlanResponse_arn :: Lens' DeletePricingPlanResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the deleted pricing plan.
deletePricingPlanResponse_httpStatus :: Lens' DeletePricingPlanResponse Int Source #
The response's http status code.