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.DescribeThing

Contents

Description

Gets information about the specified thing.

Synopsis

Creating a Request

describeThing Source #

Creates a value of DescribeThing with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DescribeThing Source #

The input for the DescribeThing operation.

See: describeThing smart constructor.

Instances
Eq DescribeThing Source # 
Instance details

Defined in Network.AWS.IoT.DescribeThing

Data DescribeThing Source # 
Instance details

Defined in Network.AWS.IoT.DescribeThing

Methods

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

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

toConstr :: DescribeThing -> Constr #

dataTypeOf :: DescribeThing -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeThing Source # 
Instance details

Defined in Network.AWS.IoT.DescribeThing

Show DescribeThing Source # 
Instance details

Defined in Network.AWS.IoT.DescribeThing

Generic DescribeThing Source # 
Instance details

Defined in Network.AWS.IoT.DescribeThing

Associated Types

type Rep DescribeThing :: Type -> Type #

Hashable DescribeThing Source # 
Instance details

Defined in Network.AWS.IoT.DescribeThing

AWSRequest DescribeThing Source # 
Instance details

Defined in Network.AWS.IoT.DescribeThing

Associated Types

type Rs DescribeThing :: Type #

ToHeaders DescribeThing Source # 
Instance details

Defined in Network.AWS.IoT.DescribeThing

ToPath DescribeThing Source # 
Instance details

Defined in Network.AWS.IoT.DescribeThing

ToQuery DescribeThing Source # 
Instance details

Defined in Network.AWS.IoT.DescribeThing

NFData DescribeThing Source # 
Instance details

Defined in Network.AWS.IoT.DescribeThing

Methods

rnf :: DescribeThing -> () #

type Rep DescribeThing Source # 
Instance details

Defined in Network.AWS.IoT.DescribeThing

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

Defined in Network.AWS.IoT.DescribeThing

Request Lenses

dThingName :: Lens' DescribeThing Text Source #

The name of the thing.

Destructuring the Response

describeThingResponse Source #

Creates a value of DescribeThingResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DescribeThingResponse Source #

The output from the DescribeThing operation.

See: describeThingResponse smart constructor.

Instances
Eq DescribeThingResponse Source # 
Instance details

Defined in Network.AWS.IoT.DescribeThing

Data DescribeThingResponse Source # 
Instance details

Defined in Network.AWS.IoT.DescribeThing

Methods

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

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

toConstr :: DescribeThingResponse -> Constr #

dataTypeOf :: DescribeThingResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeThingResponse Source # 
Instance details

Defined in Network.AWS.IoT.DescribeThing

Show DescribeThingResponse Source # 
Instance details

Defined in Network.AWS.IoT.DescribeThing

Generic DescribeThingResponse Source # 
Instance details

Defined in Network.AWS.IoT.DescribeThing

Associated Types

type Rep DescribeThingResponse :: Type -> Type #

NFData DescribeThingResponse Source # 
Instance details

Defined in Network.AWS.IoT.DescribeThing

Methods

rnf :: DescribeThingResponse -> () #

type Rep DescribeThingResponse Source # 
Instance details

Defined in Network.AWS.IoT.DescribeThing

type Rep DescribeThingResponse = D1 (MetaData "DescribeThingResponse" "Network.AWS.IoT.DescribeThing" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" False) (C1 (MetaCons "DescribeThingResponse'" PrefixI True) (((S1 (MetaSel (Just "_dtrsDefaultClientId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dtrsThingTypeName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_dtrsThingARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dtrsAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text))))) :*: ((S1 (MetaSel (Just "_dtrsVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 (MetaSel (Just "_dtrsThingName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_dtrsThingId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dtrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

dtrsThingARN :: Lens' DescribeThingResponse (Maybe Text) Source #

The ARN of the thing to describe.

dtrsVersion :: Lens' DescribeThingResponse (Maybe Integer) Source #

The current version of the thing record in the registry.

dtrsThingId :: Lens' DescribeThingResponse (Maybe Text) Source #

The ID of the thing to describe.

dtrsResponseStatus :: Lens' DescribeThingResponse Int Source #

  • - | The response status code.