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

Description

Lists the existing thing types.

Requires permission to access the ListThingTypes action.

This operation returns paginated results.

Synopsis

Creating a Request

data ListThingTypes Source #

The input for the ListThingTypes operation.

See: newListThingTypes smart constructor.

Constructors

ListThingTypes' 

Fields

Instances

Instances details
Eq ListThingTypes Source # 
Instance details

Defined in Amazonka.IoT.ListThingTypes

Read ListThingTypes Source # 
Instance details

Defined in Amazonka.IoT.ListThingTypes

Show ListThingTypes Source # 
Instance details

Defined in Amazonka.IoT.ListThingTypes

Generic ListThingTypes Source # 
Instance details

Defined in Amazonka.IoT.ListThingTypes

Associated Types

type Rep ListThingTypes :: Type -> Type #

NFData ListThingTypes Source # 
Instance details

Defined in Amazonka.IoT.ListThingTypes

Methods

rnf :: ListThingTypes -> () #

Hashable ListThingTypes Source # 
Instance details

Defined in Amazonka.IoT.ListThingTypes

AWSPager ListThingTypes Source # 
Instance details

Defined in Amazonka.IoT.ListThingTypes

AWSRequest ListThingTypes Source # 
Instance details

Defined in Amazonka.IoT.ListThingTypes

Associated Types

type AWSResponse ListThingTypes #

ToHeaders ListThingTypes Source # 
Instance details

Defined in Amazonka.IoT.ListThingTypes

ToPath ListThingTypes Source # 
Instance details

Defined in Amazonka.IoT.ListThingTypes

ToQuery ListThingTypes Source # 
Instance details

Defined in Amazonka.IoT.ListThingTypes

type Rep ListThingTypes Source # 
Instance details

Defined in Amazonka.IoT.ListThingTypes

type Rep ListThingTypes = D1 ('MetaData "ListThingTypes" "Amazonka.IoT.ListThingTypes" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "ListThingTypes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "thingTypeName") '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 ListThingTypes Source # 
Instance details

Defined in Amazonka.IoT.ListThingTypes

newListThingTypes :: ListThingTypes Source #

Create a value of ListThingTypes 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:thingTypeName:ListThingTypes', listThingTypes_thingTypeName - The name of the thing type.

$sel:nextToken:ListThingTypes', listThingTypes_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:ListThingTypes', listThingTypes_maxResults - The maximum number of results to return in this operation.

Request Lenses

listThingTypes_nextToken :: Lens' ListThingTypes (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.

listThingTypes_maxResults :: Lens' ListThingTypes (Maybe Natural) Source #

The maximum number of results to return in this operation.

Destructuring the Response

data ListThingTypesResponse Source #

The output for the ListThingTypes operation.

See: newListThingTypesResponse smart constructor.

Constructors

ListThingTypesResponse' 

Fields

Instances

Instances details
Eq ListThingTypesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListThingTypes

Read ListThingTypesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListThingTypes

Show ListThingTypesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListThingTypes

Generic ListThingTypesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListThingTypes

Associated Types

type Rep ListThingTypesResponse :: Type -> Type #

NFData ListThingTypesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListThingTypes

Methods

rnf :: ListThingTypesResponse -> () #

type Rep ListThingTypesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListThingTypes

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

newListThingTypesResponse Source #

Create a value of ListThingTypesResponse 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:thingTypes:ListThingTypesResponse', listThingTypesResponse_thingTypes - The thing types.

$sel:nextToken:ListThingTypes', listThingTypesResponse_nextToken - The token for the next set of results. Will not be returned if operation has returned all results.

$sel:httpStatus:ListThingTypesResponse', listThingTypesResponse_httpStatus - The response's http status code.

Response Lenses

listThingTypesResponse_nextToken :: Lens' ListThingTypesResponse (Maybe Text) Source #

The token for the next set of results. Will not be returned if operation has returned all results.