amazonka-billingconductor-2.0: Amazon BillingConductor SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.BillingConductor.DeletePricingPlan

Description

Deletes a pricing plan. The pricing plan must not be associated with any billing groups to delete successfully.

Synopsis

Creating a Request

data DeletePricingPlan Source #

See: newDeletePricingPlan smart constructor.

Constructors

DeletePricingPlan' 

Fields

  • arn :: Text

    The Amazon Resource Name (ARN) of the pricing plan that you're deleting.

Instances

Instances details
ToJSON DeletePricingPlan Source # 
Instance details

Defined in Amazonka.BillingConductor.DeletePricingPlan

ToHeaders DeletePricingPlan Source # 
Instance details

Defined in Amazonka.BillingConductor.DeletePricingPlan

ToPath DeletePricingPlan Source # 
Instance details

Defined in Amazonka.BillingConductor.DeletePricingPlan

ToQuery DeletePricingPlan Source # 
Instance details

Defined in Amazonka.BillingConductor.DeletePricingPlan

AWSRequest DeletePricingPlan Source # 
Instance details

Defined in Amazonka.BillingConductor.DeletePricingPlan

Associated Types

type AWSResponse DeletePricingPlan #

Generic DeletePricingPlan Source # 
Instance details

Defined in Amazonka.BillingConductor.DeletePricingPlan

Associated Types

type Rep DeletePricingPlan :: Type -> Type #

Read DeletePricingPlan Source # 
Instance details

Defined in Amazonka.BillingConductor.DeletePricingPlan

Show DeletePricingPlan Source # 
Instance details

Defined in Amazonka.BillingConductor.DeletePricingPlan

NFData DeletePricingPlan Source # 
Instance details

Defined in Amazonka.BillingConductor.DeletePricingPlan

Methods

rnf :: DeletePricingPlan -> () #

Eq DeletePricingPlan Source # 
Instance details

Defined in Amazonka.BillingConductor.DeletePricingPlan

Hashable DeletePricingPlan Source # 
Instance details

Defined in Amazonka.BillingConductor.DeletePricingPlan

type AWSResponse DeletePricingPlan Source # 
Instance details

Defined in Amazonka.BillingConductor.DeletePricingPlan

type Rep DeletePricingPlan Source # 
Instance details

Defined in Amazonka.BillingConductor.DeletePricingPlan

type Rep DeletePricingPlan = D1 ('MetaData "DeletePricingPlan" "Amazonka.BillingConductor.DeletePricingPlan" "amazonka-billingconductor-2.0-1YoxVi69FkN1Nj28JbXXJ5" 'False) (C1 ('MetaCons "DeletePricingPlan'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeletePricingPlan Source #

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.

Constructors

DeletePricingPlanResponse' 

Fields

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the deleted pricing plan.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DeletePricingPlanResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.DeletePricingPlan

Associated Types

type Rep DeletePricingPlanResponse :: Type -> Type #

Read DeletePricingPlanResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.DeletePricingPlan

Show DeletePricingPlanResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.DeletePricingPlan

NFData DeletePricingPlanResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.DeletePricingPlan

Eq DeletePricingPlanResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.DeletePricingPlan

type Rep DeletePricingPlanResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.DeletePricingPlan

type Rep DeletePricingPlanResponse = D1 ('MetaData "DeletePricingPlanResponse" "Amazonka.BillingConductor.DeletePricingPlan" "amazonka-billingconductor-2.0-1YoxVi69FkN1Nj28JbXXJ5" 'False) (C1 ('MetaCons "DeletePricingPlanResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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.