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

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

  • maxResults :: Maybe Natural

    The maximum number of results to return per request.

Instances

Instances details
Eq ListBillingGroups Source # 
Instance details

Defined in Amazonka.IoT.ListBillingGroups

Read ListBillingGroups Source # 
Instance details

Defined in Amazonka.IoT.ListBillingGroups

Show ListBillingGroups Source # 
Instance details

Defined in Amazonka.IoT.ListBillingGroups

Generic ListBillingGroups Source # 
Instance details

Defined in Amazonka.IoT.ListBillingGroups

Associated Types

type Rep ListBillingGroups :: Type -> Type #

NFData ListBillingGroups Source # 
Instance details

Defined in Amazonka.IoT.ListBillingGroups

Methods

rnf :: ListBillingGroups -> () #

Hashable 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 #

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

type Rep ListBillingGroups Source # 
Instance details

Defined in Amazonka.IoT.ListBillingGroups

type Rep ListBillingGroups = D1 ('MetaData "ListBillingGroups" "Amazonka.IoT.ListBillingGroups" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "ListBillingGroups'" 'PrefixI 'True) (S1 ('MetaSel ('Just "namePrefixFilter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListBillingGroups Source # 
Instance details

Defined in Amazonka.IoT.ListBillingGroups

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:namePrefixFilter:ListBillingGroups', listBillingGroups_namePrefixFilter - Limit the results to billing groups whose names have the given prefix.

$sel:nextToken: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.

$sel:maxResults:ListBillingGroups', listBillingGroups_maxResults - The maximum number of results to return per request.

Request Lenses

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.

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

The maximum number of results to return per request.

Destructuring the Response

data ListBillingGroupsResponse Source #

See: newListBillingGroupsResponse smart constructor.

Constructors

ListBillingGroupsResponse' 

Fields

Instances

Instances details
Eq ListBillingGroupsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListBillingGroups

Read ListBillingGroupsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListBillingGroups

Show ListBillingGroupsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListBillingGroups

Generic ListBillingGroupsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListBillingGroups

Associated Types

type Rep ListBillingGroupsResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "ListBillingGroupsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "billingGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [GroupNameAndArn])) :*: 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:nextToken:ListBillingGroups', listBillingGroupsResponse_nextToken - The token to use to get the next set of results, or null if there are no additional results.

$sel:billingGroups:ListBillingGroupsResponse', listBillingGroupsResponse_billingGroups - The list of billing groups.

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