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

Defined in Network.AWS.Greengrass.GetDeviceDefinition

Data GetDeviceDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetDeviceDefinition

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

Defined in Network.AWS.Greengrass.GetDeviceDefinition

Show GetDeviceDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetDeviceDefinition

Generic GetDeviceDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetDeviceDefinition

Associated Types

type Rep GetDeviceDefinition :: Type -> Type #

Hashable GetDeviceDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetDeviceDefinition

AWSRequest GetDeviceDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetDeviceDefinition

Associated Types

type Rs GetDeviceDefinition :: Type #

ToHeaders GetDeviceDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetDeviceDefinition

ToPath GetDeviceDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetDeviceDefinition

ToQuery GetDeviceDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetDeviceDefinition

NFData GetDeviceDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetDeviceDefinition

Methods

rnf :: GetDeviceDefinition -> () #

type Rep GetDeviceDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetDeviceDefinition

type Rep GetDeviceDefinition = D1 (MetaData "GetDeviceDefinition" "Network.AWS.Greengrass.GetDeviceDefinition" "amazonka-greengrass-1.6.1-8Yb8rCOrAv2821KEQdBGt6" True) (C1 (MetaCons "GetDeviceDefinition'" PrefixI True) (S1 (MetaSel (Just "_gddDeviceDefinitionId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetDeviceDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetDeviceDefinition

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

Defined in Network.AWS.Greengrass.GetDeviceDefinition

Data GetDeviceDefinitionResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.GetDeviceDefinition

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

Defined in Network.AWS.Greengrass.GetDeviceDefinition

Show GetDeviceDefinitionResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.GetDeviceDefinition

Generic GetDeviceDefinitionResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.GetDeviceDefinition

Associated Types

type Rep GetDeviceDefinitionResponse :: Type -> Type #

NFData GetDeviceDefinitionResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.GetDeviceDefinition

type Rep GetDeviceDefinitionResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.GetDeviceDefinition

type Rep GetDeviceDefinitionResponse = D1 (MetaData "GetDeviceDefinitionResponse" "Network.AWS.Greengrass.GetDeviceDefinition" "amazonka-greengrass-1.6.1-8Yb8rCOrAv2821KEQdBGt6" False) (C1 (MetaCons "GetDeviceDefinitionResponse'" PrefixI True) (((S1 (MetaSel (Just "_gddrsLatestVersionARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gddrsARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_gddrsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gddrsCreationTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_gddrsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gddrsLatestVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_gddrsLastUpdatedTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.