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

Contents

Description

Retrieves information about a resource definition version, including which resources are included in the version.

Synopsis

Creating a Request

getResourceDefinitionVersion Source #

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

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

data GetResourceDefinitionVersion Source #

See: getResourceDefinitionVersion smart constructor.

Instances

Eq GetResourceDefinitionVersion Source # 
Data GetResourceDefinitionVersion Source # 

Methods

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

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

toConstr :: GetResourceDefinitionVersion -> Constr #

dataTypeOf :: GetResourceDefinitionVersion -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

grdvResourceDefinitionVersionId :: Lens' GetResourceDefinitionVersion Text Source #

The ID of the resource definition version.

Destructuring the Response

getResourceDefinitionVersionResponse Source #

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

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

data GetResourceDefinitionVersionResponse Source #

See: getResourceDefinitionVersionResponse smart constructor.

Instances

Eq GetResourceDefinitionVersionResponse Source # 
Data GetResourceDefinitionVersionResponse Source # 

Methods

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

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

toConstr :: GetResourceDefinitionVersionResponse -> Constr #

dataTypeOf :: GetResourceDefinitionVersionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetResourceDefinitionVersionResponse Source # 
Show GetResourceDefinitionVersionResponse Source # 
Generic GetResourceDefinitionVersionResponse Source # 
NFData GetResourceDefinitionVersionResponse Source # 
type Rep GetResourceDefinitionVersionResponse Source # 
type Rep GetResourceDefinitionVersionResponse = D1 * (MetaData "GetResourceDefinitionVersionResponse" "Network.AWS.Greengrass.GetResourceDefinitionVersion" "amazonka-greengrass-1.6.0-UQvTNoJiEcHgaWALQEura" False) (C1 * (MetaCons "GetResourceDefinitionVersionResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_grdvrsDefinition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ResourceDefinitionVersion))) ((:*:) * (S1 * (MetaSel (Just Symbol "_grdvrsARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_grdvrsCreationTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_grdvrsVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_grdvrsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_grdvrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))))

Response Lenses

grdvrsARN :: Lens' GetResourceDefinitionVersionResponse (Maybe Text) Source #

Arn of the resource definition version.

grdvrsCreationTimestamp :: Lens' GetResourceDefinitionVersionResponse (Maybe Text) Source #

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

grdvrsVersion :: Lens' GetResourceDefinitionVersionResponse (Maybe Text) Source #

The version of the resource definition version.

grdvrsId :: Lens' GetResourceDefinitionVersionResponse (Maybe Text) Source #

The ID of the resource definition version.