| 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.BillingConductor.DeletePricingRule
Description
Deletes the pricing rule that's identified by the input Amazon Resource Name (ARN).
Synopsis
- data DeletePricingRule = DeletePricingRule' {}
- newDeletePricingRule :: Text -> DeletePricingRule
- deletePricingRule_arn :: Lens' DeletePricingRule Text
- data DeletePricingRuleResponse = DeletePricingRuleResponse' {
- arn :: Maybe Text
- httpStatus :: Int
- newDeletePricingRuleResponse :: Int -> DeletePricingRuleResponse
- deletePricingRuleResponse_arn :: Lens' DeletePricingRuleResponse (Maybe Text)
- deletePricingRuleResponse_httpStatus :: Lens' DeletePricingRuleResponse Int
Creating a Request
data DeletePricingRule Source #
See: newDeletePricingRule smart constructor.
Constructors
| DeletePricingRule' | |
Instances
Arguments
| :: Text | |
| -> DeletePricingRule |
Create a value of DeletePricingRule 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:
DeletePricingRule, deletePricingRule_arn - The Amazon Resource Name (ARN) of the pricing rule that you are
deleting.
Request Lenses
deletePricingRule_arn :: Lens' DeletePricingRule Text Source #
The Amazon Resource Name (ARN) of the pricing rule that you are deleting.
Destructuring the Response
data DeletePricingRuleResponse Source #
See: newDeletePricingRuleResponse smart constructor.
Constructors
| DeletePricingRuleResponse' | |
Fields
| |
Instances
newDeletePricingRuleResponse Source #
Create a value of DeletePricingRuleResponse 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:
DeletePricingRule, deletePricingRuleResponse_arn - The Amazon Resource Name (ARN) of the deleted pricing rule.
$sel:httpStatus:DeletePricingRuleResponse', deletePricingRuleResponse_httpStatus - The response's http status code.
Response Lenses
deletePricingRuleResponse_arn :: Lens' DeletePricingRuleResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the deleted pricing rule.
deletePricingRuleResponse_httpStatus :: Lens' DeletePricingRuleResponse Int Source #
The response's http status code.