libZSservicesZSamazonka-iotZSamazonka-iot
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq DeleteBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.DeleteBillingGroup

Read DeleteBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.DeleteBillingGroup

Show DeleteBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.DeleteBillingGroup

Generic DeleteBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.DeleteBillingGroup

Associated Types

type Rep DeleteBillingGroup :: Type -> Type #

NFData DeleteBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.DeleteBillingGroup

Methods

rnf :: DeleteBillingGroup -> () #

Hashable DeleteBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.DeleteBillingGroup

AWSRequest DeleteBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.DeleteBillingGroup

Associated Types

type AWSResponse DeleteBillingGroup #

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

type Rep DeleteBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.DeleteBillingGroup

type Rep DeleteBillingGroup = D1 ('MetaData "DeleteBillingGroup" "Amazonka.IoT.DeleteBillingGroup" "libZSservicesZSamazonka-iotZSamazonka-iot" '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)))
type AWSResponse DeleteBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.DeleteBillingGroup

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
Eq DeleteBillingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteBillingGroup

Read DeleteBillingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteBillingGroup

Show DeleteBillingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteBillingGroup

Generic DeleteBillingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteBillingGroup

Associated Types

type Rep DeleteBillingGroupResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-iotZSamazonka-iot" '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