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

Contents

Description

Retrieves the role associated with a particular group.

Synopsis

Creating a Request

getAssociatedRole Source #

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

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

data GetAssociatedRole Source #

See: getAssociatedRole smart constructor.

Instances

Eq GetAssociatedRole Source # 
Data GetAssociatedRole Source # 

Methods

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

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

toConstr :: GetAssociatedRole -> Constr #

dataTypeOf :: GetAssociatedRole -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetAssociatedRole Source # 
Show GetAssociatedRole Source # 
Generic GetAssociatedRole Source # 
Hashable GetAssociatedRole Source # 
NFData GetAssociatedRole Source # 

Methods

rnf :: GetAssociatedRole -> () #

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

Request Lenses

garGroupId :: Lens' GetAssociatedRole Text Source #

The ID of the AWS Greengrass group.

Destructuring the Response

getAssociatedRoleResponse Source #

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

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

data GetAssociatedRoleResponse Source #

See: getAssociatedRoleResponse smart constructor.

Instances

Eq GetAssociatedRoleResponse Source # 
Data GetAssociatedRoleResponse Source # 

Methods

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

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

toConstr :: GetAssociatedRoleResponse -> Constr #

dataTypeOf :: GetAssociatedRoleResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetAssociatedRoleResponse Source # 
Show GetAssociatedRoleResponse Source # 
Generic GetAssociatedRoleResponse Source # 
NFData GetAssociatedRoleResponse Source # 
type Rep GetAssociatedRoleResponse Source # 
type Rep GetAssociatedRoleResponse = D1 * (MetaData "GetAssociatedRoleResponse" "Network.AWS.Greengrass.GetAssociatedRole" "amazonka-greengrass-1.6.0-UQvTNoJiEcHgaWALQEura" False) (C1 * (MetaCons "GetAssociatedRoleResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_garrsAssociatedAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_garrsRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_garrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

garrsAssociatedAt :: Lens' GetAssociatedRoleResponse (Maybe Text) Source #

The time when the role was associated with the group.

garrsRoleARN :: Lens' GetAssociatedRoleResponse (Maybe Text) Source #

The ARN of the role that is associated with the group.