amazonka-iot-1.6.0: Amazon IoT SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.IoT.DescribeIndex

Contents

Description

Describes a search index.

Synopsis

Creating a Request

describeIndex Source #

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:

data DescribeIndex Source #

See: describeIndex smart constructor.

Instances

Eq DescribeIndex Source # 
Data DescribeIndex Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeIndex -> c DescribeIndex #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeIndex #

toConstr :: DescribeIndex -> Constr #

dataTypeOf :: DescribeIndex -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeIndex) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeIndex) #

gmapT :: (forall b. Data b => b -> b) -> DescribeIndex -> DescribeIndex #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeIndex -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeIndex -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeIndex -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeIndex -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeIndex -> m DescribeIndex #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeIndex -> m DescribeIndex #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeIndex -> m DescribeIndex #

Read DescribeIndex Source # 
Show DescribeIndex Source # 
Generic DescribeIndex Source # 

Associated Types

type Rep DescribeIndex :: * -> * #

Hashable DescribeIndex Source # 
NFData DescribeIndex Source # 

Methods

rnf :: DescribeIndex -> () #

AWSRequest DescribeIndex Source # 
ToHeaders DescribeIndex Source # 
ToPath DescribeIndex Source # 
ToQuery DescribeIndex Source # 
type Rep DescribeIndex Source # 
type Rep DescribeIndex = D1 * (MetaData "DescribeIndex" "Network.AWS.IoT.DescribeIndex" "amazonka-iot-1.6.0-GZYdsKS1TEjHFZo6BqaYJk" True) (C1 * (MetaCons "DescribeIndex'" PrefixI True) (S1 * (MetaSel (Just Symbol "_diIndexName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs DescribeIndex Source # 

Request Lenses

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.

Instances

Eq DescribeIndexResponse Source # 
Data DescribeIndexResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeIndexResponse -> c DescribeIndexResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeIndexResponse #

toConstr :: DescribeIndexResponse -> Constr #

dataTypeOf :: DescribeIndexResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeIndexResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeIndexResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeIndexResponse -> DescribeIndexResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeIndexResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeIndexResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeIndexResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeIndexResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeIndexResponse -> m DescribeIndexResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeIndexResponse -> m DescribeIndexResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeIndexResponse -> m DescribeIndexResponse #

Read DescribeIndexResponse Source # 
Show DescribeIndexResponse Source # 
Generic DescribeIndexResponse Source # 
NFData DescribeIndexResponse Source # 

Methods

rnf :: DescribeIndexResponse -> () #

type Rep DescribeIndexResponse Source # 
type Rep DescribeIndexResponse = D1 * (MetaData "DescribeIndexResponse" "Network.AWS.IoT.DescribeIndex" "amazonka-iot-1.6.0-GZYdsKS1TEjHFZo6BqaYJk" False) (C1 * (MetaCons "DescribeIndexResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_dirsIndexStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe IndexStatus))) (S1 * (MetaSel (Just Symbol "_dirsSchema") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dirsIndexName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_dirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

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.

dirsResponseStatus :: Lens' DescribeIndexResponse Int Source #

  • - | The response status code.