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

Description

List the set of dimensions that are defined for your Amazon Web Services accounts.

Requires permission to access the ListDimensions action.

This operation returns paginated results.

Synopsis

Creating a Request

data ListDimensions Source #

See: newListDimensions smart constructor.

Constructors

ListDimensions' 

Fields

Instances

Instances details
Eq ListDimensions Source # 
Instance details

Defined in Amazonka.IoT.ListDimensions

Read ListDimensions Source # 
Instance details

Defined in Amazonka.IoT.ListDimensions

Show ListDimensions Source # 
Instance details

Defined in Amazonka.IoT.ListDimensions

Generic ListDimensions Source # 
Instance details

Defined in Amazonka.IoT.ListDimensions

Associated Types

type Rep ListDimensions :: Type -> Type #

NFData ListDimensions Source # 
Instance details

Defined in Amazonka.IoT.ListDimensions

Methods

rnf :: ListDimensions -> () #

Hashable ListDimensions Source # 
Instance details

Defined in Amazonka.IoT.ListDimensions

AWSPager ListDimensions Source # 
Instance details

Defined in Amazonka.IoT.ListDimensions

AWSRequest ListDimensions Source # 
Instance details

Defined in Amazonka.IoT.ListDimensions

Associated Types

type AWSResponse ListDimensions #

ToHeaders ListDimensions Source # 
Instance details

Defined in Amazonka.IoT.ListDimensions

ToPath ListDimensions Source # 
Instance details

Defined in Amazonka.IoT.ListDimensions

ToQuery ListDimensions Source # 
Instance details

Defined in Amazonka.IoT.ListDimensions

type Rep ListDimensions Source # 
Instance details

Defined in Amazonka.IoT.ListDimensions

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

Defined in Amazonka.IoT.ListDimensions

newListDimensions :: ListDimensions Source #

Create a value of ListDimensions 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:ListDimensions', listDimensions_nextToken - The token for the next set of results.

$sel:maxResults:ListDimensions', listDimensions_maxResults - The maximum number of results to retrieve at one time.

Request Lenses

listDimensions_nextToken :: Lens' ListDimensions (Maybe Text) Source #

The token for the next set of results.

listDimensions_maxResults :: Lens' ListDimensions (Maybe Natural) Source #

The maximum number of results to retrieve at one time.

Destructuring the Response

data ListDimensionsResponse Source #

See: newListDimensionsResponse smart constructor.

Constructors

ListDimensionsResponse' 

Fields

  • nextToken :: Maybe Text

    A token that can be used to retrieve the next set of results, or null if there are no additional results.

  • dimensionNames :: Maybe [Text]

    A list of the names of the defined dimensions. Use DescribeDimension to get details for a dimension.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListDimensionsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListDimensions

Read ListDimensionsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListDimensions

Show ListDimensionsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListDimensions

Generic ListDimensionsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListDimensions

Associated Types

type Rep ListDimensionsResponse :: Type -> Type #

NFData ListDimensionsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListDimensions

Methods

rnf :: ListDimensionsResponse -> () #

type Rep ListDimensionsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListDimensions

type Rep ListDimensionsResponse = D1 ('MetaData "ListDimensionsResponse" "Amazonka.IoT.ListDimensions" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "ListDimensionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "dimensionNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListDimensionsResponse Source #

Create a value of ListDimensionsResponse 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:ListDimensions', listDimensionsResponse_nextToken - A token that can be used to retrieve the next set of results, or null if there are no additional results.

$sel:dimensionNames:ListDimensionsResponse', listDimensionsResponse_dimensionNames - A list of the names of the defined dimensions. Use DescribeDimension to get details for a dimension.

$sel:httpStatus:ListDimensionsResponse', listDimensionsResponse_httpStatus - The response's http status code.

Response Lenses

listDimensionsResponse_nextToken :: Lens' ListDimensionsResponse (Maybe Text) Source #

A token that can be used to retrieve the next set of results, or null if there are no additional results.

listDimensionsResponse_dimensionNames :: Lens' ListDimensionsResponse (Maybe [Text]) Source #

A list of the names of the defined dimensions. Use DescribeDimension to get details for a dimension.