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.CreateBillingGroup

Description

Creates a billing group.

Requires permission to access the CreateBillingGroup action.

Synopsis

Creating a Request

data CreateBillingGroup Source #

See: newCreateBillingGroup smart constructor.

Constructors

CreateBillingGroup' 

Fields

Instances

Instances details
Eq CreateBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateBillingGroup

Read CreateBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateBillingGroup

Show CreateBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateBillingGroup

Generic CreateBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateBillingGroup

Associated Types

type Rep CreateBillingGroup :: Type -> Type #

NFData CreateBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateBillingGroup

Methods

rnf :: CreateBillingGroup -> () #

Hashable CreateBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateBillingGroup

ToJSON CreateBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateBillingGroup

AWSRequest CreateBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateBillingGroup

Associated Types

type AWSResponse CreateBillingGroup #

ToHeaders CreateBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateBillingGroup

ToPath CreateBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateBillingGroup

ToQuery CreateBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateBillingGroup

type Rep CreateBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateBillingGroup

type Rep CreateBillingGroup = D1 ('MetaData "CreateBillingGroup" "Amazonka.IoT.CreateBillingGroup" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "CreateBillingGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "billingGroupProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BillingGroupProperties)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "billingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateBillingGroup

newCreateBillingGroup Source #

Create a value of CreateBillingGroup 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:billingGroupProperties:CreateBillingGroup', createBillingGroup_billingGroupProperties - The properties of the billing group.

$sel:tags:CreateBillingGroup', createBillingGroup_tags - Metadata which can be used to manage the billing group.

$sel:billingGroupName:CreateBillingGroup', createBillingGroup_billingGroupName - The name you wish to give to the billing group.

Request Lenses

createBillingGroup_tags :: Lens' CreateBillingGroup (Maybe [Tag]) Source #

Metadata which can be used to manage the billing group.

createBillingGroup_billingGroupName :: Lens' CreateBillingGroup Text Source #

The name you wish to give to the billing group.

Destructuring the Response

data CreateBillingGroupResponse Source #

See: newCreateBillingGroupResponse smart constructor.

Constructors

CreateBillingGroupResponse' 

Fields

Instances

Instances details
Eq CreateBillingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.CreateBillingGroup

Read CreateBillingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.CreateBillingGroup

Show CreateBillingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.CreateBillingGroup

Generic CreateBillingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.CreateBillingGroup

Associated Types

type Rep CreateBillingGroupResponse :: Type -> Type #

NFData CreateBillingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.CreateBillingGroup

type Rep CreateBillingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.CreateBillingGroup

type Rep CreateBillingGroupResponse = D1 ('MetaData "CreateBillingGroupResponse" "Amazonka.IoT.CreateBillingGroup" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "CreateBillingGroupResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "billingGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "billingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "billingGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateBillingGroupResponse Source #

Create a value of CreateBillingGroupResponse 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:billingGroupArn:CreateBillingGroupResponse', createBillingGroupResponse_billingGroupArn - The ARN of the billing group.

$sel:billingGroupName:CreateBillingGroup', createBillingGroupResponse_billingGroupName - The name you gave to the billing group.

$sel:billingGroupId:CreateBillingGroupResponse', createBillingGroupResponse_billingGroupId - The ID of the billing group.

$sel:httpStatus:CreateBillingGroupResponse', createBillingGroupResponse_httpStatus - The response's http status code.

Response Lenses