amazonka-iot-1.5.0: Amazon IoT SDK.

Copyright(c) 2013-2017 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.DescribeThingType

Contents

Description

Gets information about the specified thing type.

Synopsis

Creating a Request

describeThingType Source #

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

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

data DescribeThingType Source #

The input for the DescribeThingType operation.

See: describeThingType smart constructor.

Instances

Eq DescribeThingType Source # 
Data DescribeThingType Source # 

Methods

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

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

toConstr :: DescribeThingType -> Constr #

dataTypeOf :: DescribeThingType -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeThingType Source # 
Show DescribeThingType Source # 
Generic DescribeThingType Source # 
Hashable DescribeThingType Source # 
NFData DescribeThingType Source # 

Methods

rnf :: DescribeThingType -> () #

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

Request Lenses

dThingTypeName :: Lens' DescribeThingType Text Source #

The name of the thing type.

Destructuring the Response

describeThingTypeResponse Source #

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

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

  • drsThingTypeProperties - The ThingTypeProperties contains information about the thing type including description, and a list of searchable thing attribute names.
  • drsThingTypeName - The name of the thing type.
  • drsThingTypeMetadata - The ThingTypeMetadata contains additional information about the thing type including: creation date and time, a value indicating whether the thing type is deprecated, and a date and time when it was deprecated.
  • drsResponseStatus - -- | The response status code.

data DescribeThingTypeResponse Source #

The output for the DescribeThingType operation.

See: describeThingTypeResponse smart constructor.

Instances

Eq DescribeThingTypeResponse Source # 
Data DescribeThingTypeResponse Source # 

Methods

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

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

toConstr :: DescribeThingTypeResponse -> Constr #

dataTypeOf :: DescribeThingTypeResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeThingTypeResponse Source # 
Show DescribeThingTypeResponse Source # 
Generic DescribeThingTypeResponse Source # 
NFData DescribeThingTypeResponse Source # 
type Rep DescribeThingTypeResponse Source # 
type Rep DescribeThingTypeResponse = D1 (MetaData "DescribeThingTypeResponse" "Network.AWS.IoT.DescribeThingType" "amazonka-iot-1.5.0-JgZt78ORX3d9eQviclu51b" False) (C1 (MetaCons "DescribeThingTypeResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_drsThingTypeProperties") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ThingTypeProperties))) (S1 (MetaSel (Just Symbol "_drsThingTypeName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_drsThingTypeMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ThingTypeMetadata))) (S1 (MetaSel (Just Symbol "_drsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

drsThingTypeProperties :: Lens' DescribeThingTypeResponse (Maybe ThingTypeProperties) Source #

The ThingTypeProperties contains information about the thing type including description, and a list of searchable thing attribute names.

drsThingTypeMetadata :: Lens' DescribeThingTypeResponse (Maybe ThingTypeMetadata) Source #

The ThingTypeMetadata contains additional information about the thing type including: creation date and time, a value indicating whether the thing type is deprecated, and a date and time when it was deprecated.