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

Contents

Description

Retrieves information about a core definition version.

Synopsis

Creating a Request

getCoreDefinition Source #

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

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

data GetCoreDefinition Source #

See: getCoreDefinition smart constructor.

Instances

Eq GetCoreDefinition Source # 
Data GetCoreDefinition Source # 

Methods

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

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

toConstr :: GetCoreDefinition -> Constr #

dataTypeOf :: GetCoreDefinition -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetCoreDefinition Source # 
Show GetCoreDefinition Source # 
Generic GetCoreDefinition Source # 
Hashable GetCoreDefinition Source # 
NFData GetCoreDefinition Source # 

Methods

rnf :: GetCoreDefinition -> () #

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

Request Lenses

gcdCoreDefinitionId :: Lens' GetCoreDefinition Text Source #

The ID of the core definition.

Destructuring the Response

getCoreDefinitionResponse Source #

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

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

data GetCoreDefinitionResponse Source #

See: getCoreDefinitionResponse smart constructor.

Instances

Eq GetCoreDefinitionResponse Source # 
Data GetCoreDefinitionResponse Source # 

Methods

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

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

toConstr :: GetCoreDefinitionResponse -> Constr #

dataTypeOf :: GetCoreDefinitionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetCoreDefinitionResponse Source # 
Show GetCoreDefinitionResponse Source # 
Generic GetCoreDefinitionResponse Source # 
NFData GetCoreDefinitionResponse Source # 
type Rep GetCoreDefinitionResponse Source # 
type Rep GetCoreDefinitionResponse = D1 * (MetaData "GetCoreDefinitionResponse" "Network.AWS.Greengrass.GetCoreDefinition" "amazonka-greengrass-1.6.0-UQvTNoJiEcHgaWALQEura" False) (C1 * (MetaCons "GetCoreDefinitionResponse'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_gcdrsLatestVersionARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gcdrsARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gcdrsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gcdrsCreationTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_gcdrsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gcdrsLatestVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gcdrsLastUpdatedTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gcdrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))))

Response Lenses

gcdrsLatestVersionARN :: Lens' GetCoreDefinitionResponse (Maybe Text) Source #

The ARN of the latest version of the definition.

gcdrsARN :: Lens' GetCoreDefinitionResponse (Maybe Text) Source #

The ARN of the definition.

gcdrsName :: Lens' GetCoreDefinitionResponse (Maybe Text) Source #

The name of the definition.

gcdrsCreationTimestamp :: Lens' GetCoreDefinitionResponse (Maybe Text) Source #

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

gcdrsId :: Lens' GetCoreDefinitionResponse (Maybe Text) Source #

The ID of the definition.

gcdrsLatestVersion :: Lens' GetCoreDefinitionResponse (Maybe Text) Source #

The latest version of the definition.

gcdrsLastUpdatedTimestamp :: Lens' GetCoreDefinitionResponse (Maybe Text) Source #

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