Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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' {
- indexStatus :: Maybe IndexStatus
- schema :: Maybe Text
- indexName :: Maybe Text
- httpStatus :: Int
- newDescribeIndexResponse :: Int -> DescribeIndexResponse
- describeIndexResponse_indexStatus :: Lens' DescribeIndexResponse (Maybe IndexStatus)
- describeIndexResponse_schema :: Lens' DescribeIndexResponse (Maybe Text)
- describeIndexResponse_indexName :: Lens' DescribeIndexResponse (Maybe Text)
- describeIndexResponse_httpStatus :: Lens' DescribeIndexResponse Int
Creating a Request
data DescribeIndex Source #
See: newDescribeIndex
smart constructor.
Instances
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
describeIndex_indexName :: Lens' DescribeIndex Text Source #
The index name.
Destructuring the Response
data DescribeIndexResponse Source #
See: newDescribeIndexResponse
smart constructor.
DescribeIndexResponse' | |
|
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:
$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_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.
describeIndexResponse_indexName :: Lens' DescribeIndexResponse (Maybe Text) Source #
The index name.
describeIndexResponse_httpStatus :: Lens' DescribeIndexResponse Int Source #
The response's http status code.