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

Description

Describes a search index.

Requires permission to access the DescribeIndex action.

Synopsis

Creating a Request

data DescribeIndex Source #

See: newDescribeIndex smart constructor.

Constructors

DescribeIndex' 

Fields

Instances

Instances details
ToHeaders DescribeIndex Source # 
Instance details

Defined in Amazonka.IoT.DescribeIndex

ToPath DescribeIndex Source # 
Instance details

Defined in Amazonka.IoT.DescribeIndex

ToQuery DescribeIndex Source # 
Instance details

Defined in Amazonka.IoT.DescribeIndex

AWSRequest DescribeIndex Source # 
Instance details

Defined in Amazonka.IoT.DescribeIndex

Associated Types

type AWSResponse DescribeIndex #

Generic DescribeIndex Source # 
Instance details

Defined in Amazonka.IoT.DescribeIndex

Associated Types

type Rep DescribeIndex :: Type -> Type #

Read DescribeIndex Source # 
Instance details

Defined in Amazonka.IoT.DescribeIndex

Show DescribeIndex Source # 
Instance details

Defined in Amazonka.IoT.DescribeIndex

NFData DescribeIndex Source # 
Instance details

Defined in Amazonka.IoT.DescribeIndex

Methods

rnf :: DescribeIndex -> () #

Eq DescribeIndex Source # 
Instance details

Defined in Amazonka.IoT.DescribeIndex

Hashable DescribeIndex Source # 
Instance details

Defined in Amazonka.IoT.DescribeIndex

type AWSResponse DescribeIndex Source # 
Instance details

Defined in Amazonka.IoT.DescribeIndex

type Rep DescribeIndex Source # 
Instance details

Defined in Amazonka.IoT.DescribeIndex

type Rep DescribeIndex = D1 ('MetaData "DescribeIndex" "Amazonka.IoT.DescribeIndex" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "DescribeIndex'" 'PrefixI 'True) (S1 ('MetaSel ('Just "indexName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDescribeIndex Source #

Create a value of DescribeIndex 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:

DescribeIndex, describeIndex_indexName - The index name.

Request Lenses

Destructuring the Response

data DescribeIndexResponse Source #

See: newDescribeIndexResponse smart constructor.

Constructors

DescribeIndexResponse' 

Fields

  • indexName :: Maybe Text

    The index name.

  • indexStatus :: Maybe IndexStatus

    The index status.

  • schema :: Maybe Text

    Contains a value that specifies the type of indexing performed. Valid values are:

    • REGISTRY – Your thing index contains only registry data.
    • REGISTRY_AND_SHADOW - Your thing index contains registry data and shadow data.
    • REGISTRY_AND_CONNECTIVITY_STATUS - Your thing index contains registry data and thing connectivity status data.
    • REGISTRY_AND_SHADOW_AND_CONNECTIVITY_STATUS - Your thing index contains registry data, shadow data, and thing connectivity status data.
    • MULTI_INDEXING_MODE - Your thing index contains multiple data sources. For more information, see GetIndexingConfiguration.
  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DescribeIndexResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeIndex

Associated Types

type Rep DescribeIndexResponse :: Type -> Type #

Read DescribeIndexResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeIndex

Show DescribeIndexResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeIndex

NFData DescribeIndexResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeIndex

Methods

rnf :: DescribeIndexResponse -> () #

Eq DescribeIndexResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeIndex

type Rep DescribeIndexResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeIndex

type Rep DescribeIndexResponse = D1 ('MetaData "DescribeIndexResponse" "Amazonka.IoT.DescribeIndex" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "DescribeIndexResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "indexName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "indexStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IndexStatus))) :*: (S1 ('MetaSel ('Just "schema") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeIndexResponse Source #

Create a value of DescribeIndexResponse 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:

DescribeIndex, describeIndexResponse_indexName - The index name.

$sel:indexStatus:DescribeIndexResponse', describeIndexResponse_indexStatus - The index status.

$sel:schema:DescribeIndexResponse', describeIndexResponse_schema - Contains a value that specifies the type of indexing performed. Valid values are:

  • REGISTRY – Your thing index contains only registry data.
  • REGISTRY_AND_SHADOW - Your thing index contains registry data and shadow data.
  • REGISTRY_AND_CONNECTIVITY_STATUS - Your thing index contains registry data and thing connectivity status data.
  • REGISTRY_AND_SHADOW_AND_CONNECTIVITY_STATUS - Your thing index contains registry data, shadow data, and thing connectivity status data.
  • MULTI_INDEXING_MODE - Your thing index contains multiple data sources. For more information, see GetIndexingConfiguration.

$sel:httpStatus:DescribeIndexResponse', describeIndexResponse_httpStatus - The response's http status code.

Response Lenses

describeIndexResponse_schema :: Lens' DescribeIndexResponse (Maybe Text) Source #

Contains a value that specifies the type of indexing performed. Valid values are:

  • REGISTRY – Your thing index contains only registry data.
  • REGISTRY_AND_SHADOW - Your thing index contains registry data and shadow data.
  • REGISTRY_AND_CONNECTIVITY_STATUS - Your thing index contains registry data and thing connectivity status data.
  • REGISTRY_AND_SHADOW_AND_CONNECTIVITY_STATUS - Your thing index contains registry data, shadow data, and thing connectivity status data.
  • MULTI_INDEXING_MODE - Your thing index contains multiple data sources. For more information, see GetIndexingConfiguration.