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.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
Eq DescribeIndex Source # 
Instance details

Defined in Amazonka.IoT.DescribeIndex

Read DescribeIndex Source # 
Instance details

Defined in Amazonka.IoT.DescribeIndex

Show DescribeIndex Source # 
Instance details

Defined in Amazonka.IoT.DescribeIndex

Generic DescribeIndex Source # 
Instance details

Defined in Amazonka.IoT.DescribeIndex

Associated Types

type Rep DescribeIndex :: Type -> Type #

NFData DescribeIndex Source # 
Instance details

Defined in Amazonka.IoT.DescribeIndex

Methods

rnf :: DescribeIndex -> () #

Hashable DescribeIndex Source # 
Instance details

Defined in Amazonka.IoT.DescribeIndex

AWSRequest DescribeIndex Source # 
Instance details

Defined in Amazonka.IoT.DescribeIndex

Associated Types

type AWSResponse DescribeIndex #

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

type Rep DescribeIndex Source # 
Instance details

Defined in Amazonka.IoT.DescribeIndex

type Rep DescribeIndex = D1 ('MetaData "DescribeIndex" "Amazonka.IoT.DescribeIndex" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "DescribeIndex'" 'PrefixI 'True) (S1 ('MetaSel ('Just "indexName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeIndex Source # 
Instance details

Defined in Amazonka.IoT.DescribeIndex

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:

$sel:indexName:DescribeIndex', describeIndex_indexName - The index name.

Request Lenses

Destructuring the Response

data DescribeIndexResponse Source #

See: newDescribeIndexResponse smart constructor.

Constructors

DescribeIndexResponse' 

Fields

  • 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.
  • indexName :: Maybe Text

    The index name.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DescribeIndexResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeIndex

Read DescribeIndexResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeIndex

Show DescribeIndexResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeIndex

Generic DescribeIndexResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeIndex

Associated Types

type Rep DescribeIndexResponse :: Type -> Type #

NFData DescribeIndexResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeIndex

Methods

rnf :: DescribeIndexResponse -> () #

type Rep DescribeIndexResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeIndex

type Rep DescribeIndexResponse = D1 ('MetaData "DescribeIndexResponse" "Amazonka.IoT.DescribeIndex" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "DescribeIndexResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "indexStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IndexStatus)) :*: S1 ('MetaSel ('Just "schema") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "indexName") '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:

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

$sel:indexName:DescribeIndex', describeIndexResponse_indexName - The index name.

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