amazonka-iot-1.6.1: 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 # 
Instance details

Defined in Network.AWS.IoT.DescribeIndex

Data DescribeIndex Source # 
Instance details

Defined in Network.AWS.IoT.DescribeIndex

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 # 
Instance details

Defined in Network.AWS.IoT.DescribeIndex

Show DescribeIndex Source # 
Instance details

Defined in Network.AWS.IoT.DescribeIndex

Generic DescribeIndex Source # 
Instance details

Defined in Network.AWS.IoT.DescribeIndex

Associated Types

type Rep DescribeIndex :: Type -> Type #

Hashable DescribeIndex Source # 
Instance details

Defined in Network.AWS.IoT.DescribeIndex

AWSRequest DescribeIndex Source # 
Instance details

Defined in Network.AWS.IoT.DescribeIndex

Associated Types

type Rs DescribeIndex :: Type #

ToHeaders DescribeIndex Source # 
Instance details

Defined in Network.AWS.IoT.DescribeIndex

ToPath DescribeIndex Source # 
Instance details

Defined in Network.AWS.IoT.DescribeIndex

ToQuery DescribeIndex Source # 
Instance details

Defined in Network.AWS.IoT.DescribeIndex

NFData DescribeIndex Source # 
Instance details

Defined in Network.AWS.IoT.DescribeIndex

Methods

rnf :: DescribeIndex -> () #

type Rep DescribeIndex Source # 
Instance details

Defined in Network.AWS.IoT.DescribeIndex

type Rep DescribeIndex = D1 (MetaData "DescribeIndex" "Network.AWS.IoT.DescribeIndex" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" True) (C1 (MetaCons "DescribeIndex'" PrefixI True) (S1 (MetaSel (Just "_diIndexName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DescribeIndex Source # 
Instance details

Defined in Network.AWS.IoT.DescribeIndex

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 # 
Instance details

Defined in Network.AWS.IoT.DescribeIndex

Data DescribeIndexResponse Source # 
Instance details

Defined in Network.AWS.IoT.DescribeIndex

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 # 
Instance details

Defined in Network.AWS.IoT.DescribeIndex

Show DescribeIndexResponse Source # 
Instance details

Defined in Network.AWS.IoT.DescribeIndex

Generic DescribeIndexResponse Source # 
Instance details

Defined in Network.AWS.IoT.DescribeIndex

Associated Types

type Rep DescribeIndexResponse :: Type -> Type #

NFData DescribeIndexResponse Source # 
Instance details

Defined in Network.AWS.IoT.DescribeIndex

Methods

rnf :: DescribeIndexResponse -> () #

type Rep DescribeIndexResponse Source # 
Instance details

Defined in Network.AWS.IoT.DescribeIndex

type Rep DescribeIndexResponse = D1 (MetaData "DescribeIndexResponse" "Network.AWS.IoT.DescribeIndex" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" False) (C1 (MetaCons "DescribeIndexResponse'" PrefixI True) ((S1 (MetaSel (Just "_dirsIndexStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe IndexStatus)) :*: S1 (MetaSel (Just "_dirsSchema") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_dirsIndexName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.