| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoT.DescribeIndex
Description
Describes a search index.
Requires permission to access the DescribeIndex action.
Synopsis
- data DescribeIndex = DescribeIndex' {}
- newDescribeIndex :: Text -> DescribeIndex
- describeIndex_indexName :: Lens' DescribeIndex Text
- data DescribeIndexResponse = DescribeIndexResponse' {
- indexName :: Maybe Text
- indexStatus :: Maybe IndexStatus
- schema :: Maybe Text
- httpStatus :: Int
- newDescribeIndexResponse :: Int -> DescribeIndexResponse
- describeIndexResponse_indexName :: Lens' DescribeIndexResponse (Maybe Text)
- describeIndexResponse_indexStatus :: Lens' DescribeIndexResponse (Maybe IndexStatus)
- describeIndexResponse_schema :: Lens' DescribeIndexResponse (Maybe Text)
- describeIndexResponse_httpStatus :: Lens' DescribeIndexResponse Int
Creating a Request
data DescribeIndex Source #
See: newDescribeIndex smart constructor.
Constructors
| DescribeIndex' | |
Instances
Arguments
| :: Text | |
| -> DescribeIndex |
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
describeIndex_indexName :: Lens' DescribeIndex Text Source #
The index name.
Destructuring the Response
data DescribeIndexResponse Source #
See: newDescribeIndexResponse smart constructor.
Constructors
| DescribeIndexResponse' | |
Fields
| |
Instances
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_indexName :: Lens' DescribeIndexResponse (Maybe Text) Source #
The index name.
describeIndexResponse_indexStatus :: Lens' DescribeIndexResponse (Maybe IndexStatus) Source #
The index status.
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.
describeIndexResponse_httpStatus :: Lens' DescribeIndexResponse Int Source #
The response's http status code.