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

Contents

Description

Retrieves information about a logger definition.

Synopsis

Creating a Request

getLoggerDefinition Source #

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

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

data GetLoggerDefinition Source #

See: getLoggerDefinition smart constructor.

Instances

Eq GetLoggerDefinition Source # 
Data GetLoggerDefinition Source # 

Methods

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

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

toConstr :: GetLoggerDefinition -> Constr #

dataTypeOf :: GetLoggerDefinition -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetLoggerDefinition Source # 
Show GetLoggerDefinition Source # 
Generic GetLoggerDefinition Source # 
Hashable GetLoggerDefinition Source # 
NFData GetLoggerDefinition Source # 

Methods

rnf :: GetLoggerDefinition -> () #

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

Request Lenses

gldLoggerDefinitionId :: Lens' GetLoggerDefinition Text Source #

The ID of the logger definition.

Destructuring the Response

getLoggerDefinitionResponse Source #

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

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

data GetLoggerDefinitionResponse Source #

See: getLoggerDefinitionResponse smart constructor.

Instances

Eq GetLoggerDefinitionResponse Source # 
Data GetLoggerDefinitionResponse Source # 

Methods

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

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

toConstr :: GetLoggerDefinitionResponse -> Constr #

dataTypeOf :: GetLoggerDefinitionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetLoggerDefinitionResponse Source # 
Show GetLoggerDefinitionResponse Source # 
Generic GetLoggerDefinitionResponse Source # 
NFData GetLoggerDefinitionResponse Source # 
type Rep GetLoggerDefinitionResponse Source # 
type Rep GetLoggerDefinitionResponse = D1 * (MetaData "GetLoggerDefinitionResponse" "Network.AWS.Greengrass.GetLoggerDefinition" "amazonka-greengrass-1.6.0-UQvTNoJiEcHgaWALQEura" False) (C1 * (MetaCons "GetLoggerDefinitionResponse'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_gldrsLatestVersionARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gldrsARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gldrsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gldrsCreationTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_gldrsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gldrsLatestVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gldrsLastUpdatedTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gldrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))))

Response Lenses

gldrsLatestVersionARN :: Lens' GetLoggerDefinitionResponse (Maybe Text) Source #

The ARN of the latest version of the definition.

gldrsName :: Lens' GetLoggerDefinitionResponse (Maybe Text) Source #

The name of the definition.

gldrsCreationTimestamp :: Lens' GetLoggerDefinitionResponse (Maybe Text) Source #

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

gldrsLatestVersion :: Lens' GetLoggerDefinitionResponse (Maybe Text) Source #

The latest version of the definition.

gldrsLastUpdatedTimestamp :: Lens' GetLoggerDefinitionResponse (Maybe Text) Source #

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