amazonka-greengrass-1.5.0: Amazon Greengrass SDK.

Copyright(c) 2013-2017 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.GetGroupVersion

Contents

Description

Retrieves information about a group version.

Synopsis

Creating a Request

getGroupVersion Source #

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

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

data GetGroupVersion Source #

See: getGroupVersion smart constructor.

Instances

Eq GetGroupVersion Source # 
Data GetGroupVersion Source # 

Methods

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

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

toConstr :: GetGroupVersion -> Constr #

dataTypeOf :: GetGroupVersion -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetGroupVersion Source # 
Show GetGroupVersion Source # 
Generic GetGroupVersion Source # 
Hashable GetGroupVersion Source # 
NFData GetGroupVersion Source # 

Methods

rnf :: GetGroupVersion -> () #

AWSRequest GetGroupVersion Source # 
ToQuery GetGroupVersion Source # 
ToPath GetGroupVersion Source # 
ToHeaders GetGroupVersion Source # 
type Rep GetGroupVersion Source # 
type Rep GetGroupVersion = D1 (MetaData "GetGroupVersion" "Network.AWS.Greengrass.GetGroupVersion" "amazonka-greengrass-1.5.0-71LOjgHB2qBUcTjNYOmi4" False) (C1 (MetaCons "GetGroupVersion'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ggvGroupVersionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ggvGroupId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs GetGroupVersion Source # 

Request Lenses

ggvGroupId :: Lens' GetGroupVersion Text Source #

The unique Id of the AWS Greengrass Group

Destructuring the Response

getGroupVersionResponse Source #

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

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

data GetGroupVersionResponse Source #

See: getGroupVersionResponse smart constructor.

Instances

Eq GetGroupVersionResponse Source # 
Data GetGroupVersionResponse Source # 

Methods

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

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

toConstr :: GetGroupVersionResponse -> Constr #

dataTypeOf :: GetGroupVersionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetGroupVersionResponse Source # 
Show GetGroupVersionResponse Source # 
Generic GetGroupVersionResponse Source # 
NFData GetGroupVersionResponse Source # 

Methods

rnf :: GetGroupVersionResponse -> () #

type Rep GetGroupVersionResponse Source # 
type Rep GetGroupVersionResponse = D1 (MetaData "GetGroupVersionResponse" "Network.AWS.Greengrass.GetGroupVersion" "amazonka-greengrass-1.5.0-71LOjgHB2qBUcTjNYOmi4" False) (C1 (MetaCons "GetGroupVersionResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ggvrsDefinition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GroupVersion))) ((:*:) (S1 (MetaSel (Just Symbol "_ggvrsARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ggvrsCreationTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_ggvrsVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ggvrsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ggvrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))))

Response Lenses

ggvrsARN :: Lens' GetGroupVersionResponse (Maybe Text) Source #

Arn of the group version.

ggvrsCreationTimestamp :: Lens' GetGroupVersionResponse (Maybe Text) Source #

Timestamp when the group version was created.

ggvrsVersion :: Lens' GetGroupVersionResponse (Maybe Text) Source #

Unique Id for a version of the Group.

ggvrsId :: Lens' GetGroupVersionResponse (Maybe Text) Source #

Id of the group version.