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

Contents

Description

Retrieves information about a device definition version.

Synopsis

Creating a Request

getDeviceDefinitionVersion Source #

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

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

data GetDeviceDefinitionVersion Source #

See: getDeviceDefinitionVersion smart constructor.

Instances

Eq GetDeviceDefinitionVersion Source # 
Data GetDeviceDefinitionVersion Source # 

Methods

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

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

toConstr :: GetDeviceDefinitionVersion -> Constr #

dataTypeOf :: GetDeviceDefinitionVersion -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetDeviceDefinitionVersion Source # 
Show GetDeviceDefinitionVersion Source # 
Generic GetDeviceDefinitionVersion Source # 
Hashable GetDeviceDefinitionVersion Source # 
NFData GetDeviceDefinitionVersion Source # 
AWSRequest GetDeviceDefinitionVersion Source # 
ToHeaders GetDeviceDefinitionVersion Source # 
ToPath GetDeviceDefinitionVersion Source # 
ToQuery GetDeviceDefinitionVersion Source # 
type Rep GetDeviceDefinitionVersion Source # 
type Rep GetDeviceDefinitionVersion = D1 * (MetaData "GetDeviceDefinitionVersion" "Network.AWS.Greengrass.GetDeviceDefinitionVersion" "amazonka-greengrass-1.6.0-UQvTNoJiEcHgaWALQEura" False) (C1 * (MetaCons "GetDeviceDefinitionVersion'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gddvDeviceDefinitionVersionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_gddvDeviceDefinitionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs GetDeviceDefinitionVersion Source # 

Request Lenses

gddvDeviceDefinitionVersionId :: Lens' GetDeviceDefinitionVersion Text Source #

The ID of the device definition version.

Destructuring the Response

getDeviceDefinitionVersionResponse Source #

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

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

data GetDeviceDefinitionVersionResponse Source #

See: getDeviceDefinitionVersionResponse smart constructor.

Instances

Eq GetDeviceDefinitionVersionResponse Source # 
Data GetDeviceDefinitionVersionResponse Source # 

Methods

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

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

toConstr :: GetDeviceDefinitionVersionResponse -> Constr #

dataTypeOf :: GetDeviceDefinitionVersionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetDeviceDefinitionVersionResponse Source # 
Show GetDeviceDefinitionVersionResponse Source # 
Generic GetDeviceDefinitionVersionResponse Source # 
NFData GetDeviceDefinitionVersionResponse Source # 
type Rep GetDeviceDefinitionVersionResponse Source # 
type Rep GetDeviceDefinitionVersionResponse = D1 * (MetaData "GetDeviceDefinitionVersionResponse" "Network.AWS.Greengrass.GetDeviceDefinitionVersion" "amazonka-greengrass-1.6.0-UQvTNoJiEcHgaWALQEura" False) (C1 * (MetaCons "GetDeviceDefinitionVersionResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_gddvrsDefinition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe DeviceDefinitionVersion))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gddvrsARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gddvrsCreationTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gddvrsVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gddvrsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gddvrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))))

Response Lenses

gddvrsARN :: Lens' GetDeviceDefinitionVersionResponse (Maybe Text) Source #

The ARN of the device definition version.

gddvrsCreationTimestamp :: Lens' GetDeviceDefinitionVersionResponse (Maybe Text) Source #

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

gddvrsVersion :: Lens' GetDeviceDefinitionVersionResponse (Maybe Text) Source #

The version of the device definition version.

gddvrsId :: Lens' GetDeviceDefinitionVersionResponse (Maybe Text) Source #

The ID of the device definition version.