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

Description

Lists the search indices.

Requires permission to access the ListIndices action.

This operation returns paginated results.

Synopsis

Creating a Request

data ListIndices Source #

See: newListIndices smart constructor.

Constructors

ListIndices' 

Fields

Instances

Instances details
ToHeaders ListIndices Source # 
Instance details

Defined in Amazonka.IoT.ListIndices

Methods

toHeaders :: ListIndices -> [Header] #

ToPath ListIndices Source # 
Instance details

Defined in Amazonka.IoT.ListIndices

ToQuery ListIndices Source # 
Instance details

Defined in Amazonka.IoT.ListIndices

AWSPager ListIndices Source # 
Instance details

Defined in Amazonka.IoT.ListIndices

AWSRequest ListIndices Source # 
Instance details

Defined in Amazonka.IoT.ListIndices

Associated Types

type AWSResponse ListIndices #

Generic ListIndices Source # 
Instance details

Defined in Amazonka.IoT.ListIndices

Associated Types

type Rep ListIndices :: Type -> Type #

Read ListIndices Source # 
Instance details

Defined in Amazonka.IoT.ListIndices

Show ListIndices Source # 
Instance details

Defined in Amazonka.IoT.ListIndices

NFData ListIndices Source # 
Instance details

Defined in Amazonka.IoT.ListIndices

Methods

rnf :: ListIndices -> () #

Eq ListIndices Source # 
Instance details

Defined in Amazonka.IoT.ListIndices

Hashable ListIndices Source # 
Instance details

Defined in Amazonka.IoT.ListIndices

type AWSResponse ListIndices Source # 
Instance details

Defined in Amazonka.IoT.ListIndices

type Rep ListIndices Source # 
Instance details

Defined in Amazonka.IoT.ListIndices

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

newListIndices :: ListIndices Source #

Create a value of ListIndices 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:ListIndices', listIndices_maxResults - The maximum number of results to return at one time.

ListIndices, listIndices_nextToken - The token used to get the next set of results, or null if there are no additional results.

Request Lenses

listIndices_maxResults :: Lens' ListIndices (Maybe Natural) Source #

The maximum number of results to return at one time.

listIndices_nextToken :: Lens' ListIndices (Maybe Text) Source #

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

Destructuring the Response

data ListIndicesResponse Source #

See: newListIndicesResponse smart constructor.

Constructors

ListIndicesResponse' 

Fields

Instances

Instances details
Generic ListIndicesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListIndices

Associated Types

type Rep ListIndicesResponse :: Type -> Type #

Read ListIndicesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListIndices

Show ListIndicesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListIndices

NFData ListIndicesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListIndices

Methods

rnf :: ListIndicesResponse -> () #

Eq ListIndicesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListIndices

type Rep ListIndicesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListIndices

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

newListIndicesResponse Source #

Create a value of ListIndicesResponse 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:indexNames:ListIndicesResponse', listIndicesResponse_indexNames - The index names.

ListIndices, listIndicesResponse_nextToken - The token used to get the next set of results, or null if there are no additional results.

$sel:httpStatus:ListIndicesResponse', listIndicesResponse_httpStatus - The response's http status code.

Response Lenses

listIndicesResponse_nextToken :: Lens' ListIndicesResponse (Maybe Text) Source #

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