amazonka-greengrass-1.6.1: 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 # 
Instance details

Defined in Network.AWS.Greengrass.GetAssociatedRole

Data GetAssociatedRole Source # 
Instance details

Defined in Network.AWS.Greengrass.GetAssociatedRole

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 # 
Instance details

Defined in Network.AWS.Greengrass.GetAssociatedRole

Show GetAssociatedRole Source # 
Instance details

Defined in Network.AWS.Greengrass.GetAssociatedRole

Generic GetAssociatedRole Source # 
Instance details

Defined in Network.AWS.Greengrass.GetAssociatedRole

Associated Types

type Rep GetAssociatedRole :: Type -> Type #

Hashable GetAssociatedRole Source # 
Instance details

Defined in Network.AWS.Greengrass.GetAssociatedRole

AWSRequest GetAssociatedRole Source # 
Instance details

Defined in Network.AWS.Greengrass.GetAssociatedRole

Associated Types

type Rs GetAssociatedRole :: Type #

ToHeaders GetAssociatedRole Source # 
Instance details

Defined in Network.AWS.Greengrass.GetAssociatedRole

ToPath GetAssociatedRole Source # 
Instance details

Defined in Network.AWS.Greengrass.GetAssociatedRole

ToQuery GetAssociatedRole Source # 
Instance details

Defined in Network.AWS.Greengrass.GetAssociatedRole

NFData GetAssociatedRole Source # 
Instance details

Defined in Network.AWS.Greengrass.GetAssociatedRole

Methods

rnf :: GetAssociatedRole -> () #

type Rep GetAssociatedRole Source # 
Instance details

Defined in Network.AWS.Greengrass.GetAssociatedRole

type Rep GetAssociatedRole = D1 (MetaData "GetAssociatedRole" "Network.AWS.Greengrass.GetAssociatedRole" "amazonka-greengrass-1.6.1-8Yb8rCOrAv2821KEQdBGt6" True) (C1 (MetaCons "GetAssociatedRole'" PrefixI True) (S1 (MetaSel (Just "_garGroupId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetAssociatedRole Source # 
Instance details

Defined in Network.AWS.Greengrass.GetAssociatedRole

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 # 
Instance details

Defined in Network.AWS.Greengrass.GetAssociatedRole

Data GetAssociatedRoleResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.GetAssociatedRole

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 # 
Instance details

Defined in Network.AWS.Greengrass.GetAssociatedRole

Show GetAssociatedRoleResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.GetAssociatedRole

Generic GetAssociatedRoleResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.GetAssociatedRole

Associated Types

type Rep GetAssociatedRoleResponse :: Type -> Type #

NFData GetAssociatedRoleResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.GetAssociatedRole

type Rep GetAssociatedRoleResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.GetAssociatedRole

type Rep GetAssociatedRoleResponse = D1 (MetaData "GetAssociatedRoleResponse" "Network.AWS.Greengrass.GetAssociatedRole" "amazonka-greengrass-1.6.1-8Yb8rCOrAv2821KEQdBGt6" False) (C1 (MetaCons "GetAssociatedRoleResponse'" PrefixI True) (S1 (MetaSel (Just "_garrsAssociatedAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_garrsRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.