amazonka-inspector-1.4.3: Amazon Inspector SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Inspector.DescribeCrossAccountAccessRole

Contents

Description

Describes the IAM role that enables Amazon Inspector to access your AWS account.

Synopsis

Creating a Request

describeCrossAccountAccessRole :: DescribeCrossAccountAccessRole Source #

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

data DescribeCrossAccountAccessRole Source #

See: describeCrossAccountAccessRole smart constructor.

Instances

Eq DescribeCrossAccountAccessRole Source # 
Data DescribeCrossAccountAccessRole Source # 

Methods

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

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

toConstr :: DescribeCrossAccountAccessRole -> Constr #

dataTypeOf :: DescribeCrossAccountAccessRole -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeCrossAccountAccessRole Source # 
Show DescribeCrossAccountAccessRole Source # 
Generic DescribeCrossAccountAccessRole Source # 
ToJSON DescribeCrossAccountAccessRole Source # 
Hashable DescribeCrossAccountAccessRole Source # 
NFData DescribeCrossAccountAccessRole Source # 
AWSRequest DescribeCrossAccountAccessRole Source # 
ToPath DescribeCrossAccountAccessRole Source # 
ToHeaders DescribeCrossAccountAccessRole Source # 
ToQuery DescribeCrossAccountAccessRole Source # 
type Rep DescribeCrossAccountAccessRole Source # 
type Rep DescribeCrossAccountAccessRole = D1 (MetaData "DescribeCrossAccountAccessRole" "Network.AWS.Inspector.DescribeCrossAccountAccessRole" "amazonka-inspector-1.4.3-AoGuICBaM0g4MKaNwH6mLK" False) (C1 (MetaCons "DescribeCrossAccountAccessRole'" PrefixI False) U1)
type Rs DescribeCrossAccountAccessRole Source # 

Destructuring the Response

data DescribeCrossAccountAccessRoleResponse Source #

Instances

Eq DescribeCrossAccountAccessRoleResponse Source # 
Data DescribeCrossAccountAccessRoleResponse Source # 

Methods

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

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

toConstr :: DescribeCrossAccountAccessRoleResponse -> Constr #

dataTypeOf :: DescribeCrossAccountAccessRoleResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeCrossAccountAccessRoleResponse Source # 
Show DescribeCrossAccountAccessRoleResponse Source # 
Generic DescribeCrossAccountAccessRoleResponse Source # 
NFData DescribeCrossAccountAccessRoleResponse Source # 
type Rep DescribeCrossAccountAccessRoleResponse Source # 
type Rep DescribeCrossAccountAccessRoleResponse = D1 (MetaData "DescribeCrossAccountAccessRoleResponse" "Network.AWS.Inspector.DescribeCrossAccountAccessRole" "amazonka-inspector-1.4.3-AoGuICBaM0g4MKaNwH6mLK" False) (C1 (MetaCons "DescribeCrossAccountAccessRoleResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dcaarrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_dcaarrsRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dcaarrsValid") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_dcaarrsRegisteredAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 POSIX)))))

Response Lenses

dcaarrsRoleARN :: Lens' DescribeCrossAccountAccessRoleResponse Text Source #

The ARN that specifies the IAM role that Amazon Inspector uses to access your AWS account.

dcaarrsValid :: Lens' DescribeCrossAccountAccessRoleResponse Bool Source #

A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon Inspector to access your AWS account.

dcaarrsRegisteredAt :: Lens' DescribeCrossAccountAccessRoleResponse UTCTime Source #

The date when the cross-account access role was registered.