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

Contents

Description

Retrieves the service role that is attached to your account.

Synopsis

Creating a Request

getServiceRoleForAccount :: GetServiceRoleForAccount Source #

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

data GetServiceRoleForAccount Source #

See: getServiceRoleForAccount smart constructor.

Instances
Eq GetServiceRoleForAccount Source # 
Instance details

Defined in Network.AWS.Greengrass.GetServiceRoleForAccount

Data GetServiceRoleForAccount Source # 
Instance details

Defined in Network.AWS.Greengrass.GetServiceRoleForAccount

Methods

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

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

toConstr :: GetServiceRoleForAccount -> Constr #

dataTypeOf :: GetServiceRoleForAccount -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetServiceRoleForAccount Source # 
Instance details

Defined in Network.AWS.Greengrass.GetServiceRoleForAccount

Show GetServiceRoleForAccount Source # 
Instance details

Defined in Network.AWS.Greengrass.GetServiceRoleForAccount

Generic GetServiceRoleForAccount Source # 
Instance details

Defined in Network.AWS.Greengrass.GetServiceRoleForAccount

Associated Types

type Rep GetServiceRoleForAccount :: Type -> Type #

Hashable GetServiceRoleForAccount Source # 
Instance details

Defined in Network.AWS.Greengrass.GetServiceRoleForAccount

AWSRequest GetServiceRoleForAccount Source # 
Instance details

Defined in Network.AWS.Greengrass.GetServiceRoleForAccount

Associated Types

type Rs GetServiceRoleForAccount :: Type #

ToHeaders GetServiceRoleForAccount Source # 
Instance details

Defined in Network.AWS.Greengrass.GetServiceRoleForAccount

ToPath GetServiceRoleForAccount Source # 
Instance details

Defined in Network.AWS.Greengrass.GetServiceRoleForAccount

ToQuery GetServiceRoleForAccount Source # 
Instance details

Defined in Network.AWS.Greengrass.GetServiceRoleForAccount

NFData GetServiceRoleForAccount Source # 
Instance details

Defined in Network.AWS.Greengrass.GetServiceRoleForAccount

type Rep GetServiceRoleForAccount Source # 
Instance details

Defined in Network.AWS.Greengrass.GetServiceRoleForAccount

type Rep GetServiceRoleForAccount = D1 (MetaData "GetServiceRoleForAccount" "Network.AWS.Greengrass.GetServiceRoleForAccount" "amazonka-greengrass-1.6.1-8Yb8rCOrAv2821KEQdBGt6" False) (C1 (MetaCons "GetServiceRoleForAccount'" PrefixI False) (U1 :: Type -> Type))
type Rs GetServiceRoleForAccount Source # 
Instance details

Defined in Network.AWS.Greengrass.GetServiceRoleForAccount

Destructuring the Response

getServiceRoleForAccountResponse Source #

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

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

data GetServiceRoleForAccountResponse Source #

See: getServiceRoleForAccountResponse smart constructor.

Instances
Eq GetServiceRoleForAccountResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.GetServiceRoleForAccount

Data GetServiceRoleForAccountResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.GetServiceRoleForAccount

Methods

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

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

toConstr :: GetServiceRoleForAccountResponse -> Constr #

dataTypeOf :: GetServiceRoleForAccountResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetServiceRoleForAccountResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.GetServiceRoleForAccount

Show GetServiceRoleForAccountResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.GetServiceRoleForAccount

Generic GetServiceRoleForAccountResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.GetServiceRoleForAccount

Associated Types

type Rep GetServiceRoleForAccountResponse :: Type -> Type #

NFData GetServiceRoleForAccountResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.GetServiceRoleForAccount

type Rep GetServiceRoleForAccountResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.GetServiceRoleForAccount

type Rep GetServiceRoleForAccountResponse = D1 (MetaData "GetServiceRoleForAccountResponse" "Network.AWS.Greengrass.GetServiceRoleForAccount" "amazonka-greengrass-1.6.1-8Yb8rCOrAv2821KEQdBGt6" False) (C1 (MetaCons "GetServiceRoleForAccountResponse'" PrefixI True) (S1 (MetaSel (Just "_gsrfarsAssociatedAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gsrfarsRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gsrfarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

gsrfarsAssociatedAt :: Lens' GetServiceRoleForAccountResponse (Maybe Text) Source #

The time when the service role was associated with the account.

gsrfarsRoleARN :: Lens' GetServiceRoleForAccountResponse (Maybe Text) Source #

The ARN of the role which is associated with the account.