amazonka-greengrass-1.6.0: Amazon Greengrass 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.Greengrass.GetDeviceDefinition

Contents

Description

Retrieves information about a device definition.

Synopsis

Creating a Request

getDeviceDefinition Source #

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

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

data GetDeviceDefinition Source #

See: getDeviceDefinition smart constructor.

Instances

Eq GetDeviceDefinition Source # 
Data GetDeviceDefinition Source # 

Methods

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

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

toConstr :: GetDeviceDefinition -> Constr #

dataTypeOf :: GetDeviceDefinition -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetDeviceDefinition Source # 
Show GetDeviceDefinition Source # 
Generic GetDeviceDefinition Source # 
Hashable GetDeviceDefinition Source # 
NFData GetDeviceDefinition Source # 

Methods

rnf :: GetDeviceDefinition -> () #

AWSRequest GetDeviceDefinition Source # 
ToHeaders GetDeviceDefinition Source # 
ToPath GetDeviceDefinition Source # 
ToQuery GetDeviceDefinition Source # 
type Rep GetDeviceDefinition Source # 
type Rep GetDeviceDefinition = D1 * (MetaData "GetDeviceDefinition" "Network.AWS.Greengrass.GetDeviceDefinition" "amazonka-greengrass-1.6.0-UQvTNoJiEcHgaWALQEura" True) (C1 * (MetaCons "GetDeviceDefinition'" PrefixI True) (S1 * (MetaSel (Just Symbol "_gddDeviceDefinitionId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs GetDeviceDefinition Source # 

Request Lenses

gddDeviceDefinitionId :: Lens' GetDeviceDefinition Text Source #

The ID of the device definition.

Destructuring the Response

getDeviceDefinitionResponse Source #

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

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

data GetDeviceDefinitionResponse Source #

See: getDeviceDefinitionResponse smart constructor.

Instances

Eq GetDeviceDefinitionResponse Source # 
Data GetDeviceDefinitionResponse Source # 

Methods

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

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

toConstr :: GetDeviceDefinitionResponse -> Constr #

dataTypeOf :: GetDeviceDefinitionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetDeviceDefinitionResponse Source # 
Show GetDeviceDefinitionResponse Source # 
Generic GetDeviceDefinitionResponse Source # 
NFData GetDeviceDefinitionResponse Source # 
type Rep GetDeviceDefinitionResponse Source # 
type Rep GetDeviceDefinitionResponse = D1 * (MetaData "GetDeviceDefinitionResponse" "Network.AWS.Greengrass.GetDeviceDefinition" "amazonka-greengrass-1.6.0-UQvTNoJiEcHgaWALQEura" False) (C1 * (MetaCons "GetDeviceDefinitionResponse'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_gddrsLatestVersionARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gddrsARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gddrsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gddrsCreationTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_gddrsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gddrsLatestVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gddrsLastUpdatedTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gddrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))))

Response Lenses

gddrsLatestVersionARN :: Lens' GetDeviceDefinitionResponse (Maybe Text) Source #

The ARN of the latest version of the definition.

gddrsName :: Lens' GetDeviceDefinitionResponse (Maybe Text) Source #

The name of the definition.

gddrsCreationTimestamp :: Lens' GetDeviceDefinitionResponse (Maybe Text) Source #

The time, in milliseconds since the epoch, when the definition was created.

gddrsLatestVersion :: Lens' GetDeviceDefinitionResponse (Maybe Text) Source #

The latest version of the definition.

gddrsLastUpdatedTimestamp :: Lens' GetDeviceDefinitionResponse (Maybe Text) Source #

The time, in milliseconds since the epoch, when the definition was last updated.