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

Contents

Description

Retrieves information about a group.

Synopsis

Creating a Request

getGroup Source #

Arguments

:: Text

ggGroupId

-> GetGroup 

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

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

  • ggGroupId - The ID of the AWS Greengrass group.

data GetGroup Source #

See: getGroup smart constructor.

Instances

Eq GetGroup Source # 
Data GetGroup Source # 

Methods

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

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

toConstr :: GetGroup -> Constr #

dataTypeOf :: GetGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetGroup Source # 
Show GetGroup Source # 
Generic GetGroup Source # 

Associated Types

type Rep GetGroup :: * -> * #

Methods

from :: GetGroup -> Rep GetGroup x #

to :: Rep GetGroup x -> GetGroup #

Hashable GetGroup Source # 

Methods

hashWithSalt :: Int -> GetGroup -> Int #

hash :: GetGroup -> Int #

NFData GetGroup Source # 

Methods

rnf :: GetGroup -> () #

AWSRequest GetGroup Source # 
ToHeaders GetGroup Source # 

Methods

toHeaders :: GetGroup -> [Header] #

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

Request Lenses

ggGroupId :: Lens' GetGroup Text Source #

The ID of the AWS Greengrass group.

Destructuring the Response

getGroupResponse Source #

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

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

data GetGroupResponse Source #

See: getGroupResponse smart constructor.

Instances

Eq GetGroupResponse Source # 
Data GetGroupResponse Source # 

Methods

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

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

toConstr :: GetGroupResponse -> Constr #

dataTypeOf :: GetGroupResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetGroupResponse Source # 
Show GetGroupResponse Source # 
Generic GetGroupResponse Source # 
NFData GetGroupResponse Source # 

Methods

rnf :: GetGroupResponse -> () #

type Rep GetGroupResponse Source # 
type Rep GetGroupResponse = D1 * (MetaData "GetGroupResponse" "Network.AWS.Greengrass.GetGroup" "amazonka-greengrass-1.6.0-UQvTNoJiEcHgaWALQEura" False) (C1 * (MetaCons "GetGroupResponse'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_ggrsLatestVersionARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ggrsARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ggrsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ggrsCreationTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_ggrsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ggrsLatestVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ggrsLastUpdatedTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ggrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))))

Response Lenses

ggrsLatestVersionARN :: Lens' GetGroupResponse (Maybe Text) Source #

The ARN of the latest version of the definition.

ggrsARN :: Lens' GetGroupResponse (Maybe Text) Source #

The ARN of the definition.

ggrsName :: Lens' GetGroupResponse (Maybe Text) Source #

The name of the definition.

ggrsCreationTimestamp :: Lens' GetGroupResponse (Maybe Text) Source #

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

ggrsId :: Lens' GetGroupResponse (Maybe Text) Source #

The ID of the definition.

ggrsLatestVersion :: Lens' GetGroupResponse (Maybe Text) Source #

The latest version of the definition.

ggrsLastUpdatedTimestamp :: Lens' GetGroupResponse (Maybe Text) Source #

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

ggrsResponseStatus :: Lens' GetGroupResponse Int Source #

  • - | The response status code.