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

Description

Lists the billing groups you have created.

Requires permission to access the ListBillingGroups action.

This operation returns paginated results.

Synopsis

Creating a Request

data ListBillingGroups Source #

See: newListBillingGroups smart constructor.

Constructors

ListBillingGroups' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of results to return per request.

  • namePrefixFilter :: Maybe Text

    Limit the results to billing groups whose names have the given prefix.

  • nextToken :: Maybe Text

    To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.

Instances

Instances details
ToHeaders ListBillingGroups Source # 
Instance details

Defined in Amazonka.IoT.ListBillingGroups

ToPath ListBillingGroups Source # 
Instance details

Defined in Amazonka.IoT.ListBillingGroups

ToQuery ListBillingGroups Source # 
Instance details

Defined in Amazonka.IoT.ListBillingGroups

AWSPager ListBillingGroups Source # 
Instance details

Defined in Amazonka.IoT.ListBillingGroups

AWSRequest ListBillingGroups Source # 
Instance details

Defined in Amazonka.IoT.ListBillingGroups

Associated Types

type AWSResponse ListBillingGroups #

Generic ListBillingGroups Source # 
Instance details

Defined in Amazonka.IoT.ListBillingGroups

Associated Types

type Rep ListBillingGroups :: Type -> Type #

Read ListBillingGroups Source # 
Instance details

Defined in Amazonka.IoT.ListBillingGroups

Show ListBillingGroups Source # 
Instance details

Defined in Amazonka.IoT.ListBillingGroups

NFData ListBillingGroups Source # 
Instance details

Defined in Amazonka.IoT.ListBillingGroups

Methods

rnf :: ListBillingGroups -> () #

Eq ListBillingGroups Source # 
Instance details

Defined in Amazonka.IoT.ListBillingGroups

Hashable ListBillingGroups Source # 
Instance details

Defined in Amazonka.IoT.ListBillingGroups

type AWSResponse ListBillingGroups Source # 
Instance details

Defined in Amazonka.IoT.ListBillingGroups

type Rep ListBillingGroups Source # 
Instance details

Defined in Amazonka.IoT.ListBillingGroups

type Rep ListBillingGroups = D1 ('MetaData "ListBillingGroups" "Amazonka.IoT.ListBillingGroups" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "ListBillingGroups'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "namePrefixFilter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newListBillingGroups :: ListBillingGroups Source #

Create a value of ListBillingGroups 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:maxResults:ListBillingGroups', listBillingGroups_maxResults - The maximum number of results to return per request.

$sel:namePrefixFilter:ListBillingGroups', listBillingGroups_namePrefixFilter - Limit the results to billing groups whose names have the given prefix.

ListBillingGroups, listBillingGroups_nextToken - To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.

Request Lenses

listBillingGroups_maxResults :: Lens' ListBillingGroups (Maybe Natural) Source #

The maximum number of results to return per request.

listBillingGroups_namePrefixFilter :: Lens' ListBillingGroups (Maybe Text) Source #

Limit the results to billing groups whose names have the given prefix.

listBillingGroups_nextToken :: Lens' ListBillingGroups (Maybe Text) Source #

To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.

Destructuring the Response

data ListBillingGroupsResponse Source #

See: newListBillingGroupsResponse smart constructor.

Constructors

ListBillingGroupsResponse' 

Fields

Instances

Instances details
Generic ListBillingGroupsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListBillingGroups

Associated Types

type Rep ListBillingGroupsResponse :: Type -> Type #

Read ListBillingGroupsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListBillingGroups

Show ListBillingGroupsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListBillingGroups

NFData ListBillingGroupsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListBillingGroups

Eq ListBillingGroupsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListBillingGroups

type Rep ListBillingGroupsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListBillingGroups

type Rep ListBillingGroupsResponse = D1 ('MetaData "ListBillingGroupsResponse" "Amazonka.IoT.ListBillingGroups" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "ListBillingGroupsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "billingGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [GroupNameAndArn])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListBillingGroupsResponse Source #

Create a value of ListBillingGroupsResponse 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:billingGroups:ListBillingGroupsResponse', listBillingGroupsResponse_billingGroups - The list of billing groups.

ListBillingGroups, listBillingGroupsResponse_nextToken - The token to use to get the next set of results, or null if there are no additional results.

$sel:httpStatus:ListBillingGroupsResponse', listBillingGroupsResponse_httpStatus - The response's http status code.

Response Lenses

listBillingGroupsResponse_nextToken :: Lens' ListBillingGroupsResponse (Maybe Text) Source #

The token to use to get the next set of results, or null if there are no additional results.