Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Describes a search index.
- describeIndex :: Text -> DescribeIndex
- data DescribeIndex
- diIndexName :: Lens' DescribeIndex Text
- describeIndexResponse :: Int -> DescribeIndexResponse
- data DescribeIndexResponse
- dirsIndexStatus :: Lens' DescribeIndexResponse (Maybe IndexStatus)
- dirsSchema :: Lens' DescribeIndexResponse (Maybe Text)
- dirsIndexName :: Lens' DescribeIndexResponse (Maybe Text)
- dirsResponseStatus :: Lens' DescribeIndexResponse Int
Creating a Request
Creates a value of DescribeIndex
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
diIndexName
- The index name.
data DescribeIndex Source #
See: describeIndex
smart constructor.
Request Lenses
diIndexName :: Lens' DescribeIndex Text Source #
The index name.
Destructuring the Response
describeIndexResponse Source #
Creates a value of DescribeIndexResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dirsIndexStatus
- The index status.dirsSchema
- Contains a value that specifies the type of indexing performed. Valid values are: * REGISTRY – Your thing index will contain only registry data. * REGISTRY_AND_SHADOW - Your thing index will contain registry and shadow data.dirsIndexName
- The index name.dirsResponseStatus
- -- | The response status code.
data DescribeIndexResponse Source #
See: describeIndexResponse
smart constructor.
Response Lenses
dirsIndexStatus :: Lens' DescribeIndexResponse (Maybe IndexStatus) Source #
The index status.
dirsSchema :: Lens' DescribeIndexResponse (Maybe Text) Source #
Contains a value that specifies the type of indexing performed. Valid values are: * REGISTRY – Your thing index will contain only registry data. * REGISTRY_AND_SHADOW - Your thing index will contain registry and shadow data.
dirsIndexName :: Lens' DescribeIndexResponse (Maybe Text) Source #
The index name.
dirsResponseStatus :: Lens' DescribeIndexResponse Int Source #
- - | The response status code.