amazonka-iot-2.0: Amazon IoT 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.IoT.DeleteBillingGroup

Description

Deletes the billing group.

Requires permission to access the DeleteBillingGroup action.

Synopsis

Creating a Request

data DeleteBillingGroup Source #

See: newDeleteBillingGroup smart constructor.

Constructors

DeleteBillingGroup' 

Fields

  • expectedVersion :: Maybe Integer

    The expected version of the billing group. If the version of the billing group does not match the expected version specified in the request, the DeleteBillingGroup request is rejected with a VersionConflictException.

  • billingGroupName :: Text

    The name of the billing group.

Instances

Instances details
ToHeaders DeleteBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.DeleteBillingGroup

ToPath DeleteBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.DeleteBillingGroup

ToQuery DeleteBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.DeleteBillingGroup

AWSRequest DeleteBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.DeleteBillingGroup

Associated Types

type AWSResponse DeleteBillingGroup #

Generic DeleteBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.DeleteBillingGroup

Associated Types

type Rep DeleteBillingGroup :: Type -> Type #

Read DeleteBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.DeleteBillingGroup

Show DeleteBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.DeleteBillingGroup

NFData DeleteBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.DeleteBillingGroup

Methods

rnf :: DeleteBillingGroup -> () #

Eq DeleteBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.DeleteBillingGroup

Hashable DeleteBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.DeleteBillingGroup

type AWSResponse DeleteBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.DeleteBillingGroup

type Rep DeleteBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.DeleteBillingGroup

type Rep DeleteBillingGroup = D1 ('MetaData "DeleteBillingGroup" "Amazonka.IoT.DeleteBillingGroup" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "DeleteBillingGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "expectedVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "billingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteBillingGroup Source #

Create a value of DeleteBillingGroup 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:expectedVersion:DeleteBillingGroup', deleteBillingGroup_expectedVersion - The expected version of the billing group. If the version of the billing group does not match the expected version specified in the request, the DeleteBillingGroup request is rejected with a VersionConflictException.

$sel:billingGroupName:DeleteBillingGroup', deleteBillingGroup_billingGroupName - The name of the billing group.

Request Lenses

deleteBillingGroup_expectedVersion :: Lens' DeleteBillingGroup (Maybe Integer) Source #

The expected version of the billing group. If the version of the billing group does not match the expected version specified in the request, the DeleteBillingGroup request is rejected with a VersionConflictException.

Destructuring the Response

data DeleteBillingGroupResponse Source #

See: newDeleteBillingGroupResponse smart constructor.

Constructors

DeleteBillingGroupResponse' 

Fields

Instances

Instances details
Generic DeleteBillingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteBillingGroup

Associated Types

type Rep DeleteBillingGroupResponse :: Type -> Type #

Read DeleteBillingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteBillingGroup

Show DeleteBillingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteBillingGroup

NFData DeleteBillingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteBillingGroup

Eq DeleteBillingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteBillingGroup

type Rep DeleteBillingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteBillingGroup

type Rep DeleteBillingGroupResponse = D1 ('MetaData "DeleteBillingGroupResponse" "Amazonka.IoT.DeleteBillingGroup" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "DeleteBillingGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteBillingGroupResponse Source #

Create a value of DeleteBillingGroupResponse 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:httpStatus:DeleteBillingGroupResponse', deleteBillingGroupResponse_httpStatus - The response's http status code.

Response Lenses