amazonka-fms-1.6.1: Amazon Firewall Management Service 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.FMS.GetAdminAccount

Contents

Description

Returns the AWS Organizations master account that is associated with AWS Firewall Manager as the AWS Firewall Manager administrator.

Synopsis

Creating a Request

getAdminAccount :: GetAdminAccount Source #

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

data GetAdminAccount Source #

See: getAdminAccount smart constructor.

Instances
Eq GetAdminAccount Source # 
Instance details

Defined in Network.AWS.FMS.GetAdminAccount

Data GetAdminAccount Source # 
Instance details

Defined in Network.AWS.FMS.GetAdminAccount

Methods

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

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

toConstr :: GetAdminAccount -> Constr #

dataTypeOf :: GetAdminAccount -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetAdminAccount Source # 
Instance details

Defined in Network.AWS.FMS.GetAdminAccount

Show GetAdminAccount Source # 
Instance details

Defined in Network.AWS.FMS.GetAdminAccount

Generic GetAdminAccount Source # 
Instance details

Defined in Network.AWS.FMS.GetAdminAccount

Associated Types

type Rep GetAdminAccount :: Type -> Type #

Hashable GetAdminAccount Source # 
Instance details

Defined in Network.AWS.FMS.GetAdminAccount

ToJSON GetAdminAccount Source # 
Instance details

Defined in Network.AWS.FMS.GetAdminAccount

AWSRequest GetAdminAccount Source # 
Instance details

Defined in Network.AWS.FMS.GetAdminAccount

Associated Types

type Rs GetAdminAccount :: Type #

ToHeaders GetAdminAccount Source # 
Instance details

Defined in Network.AWS.FMS.GetAdminAccount

ToPath GetAdminAccount Source # 
Instance details

Defined in Network.AWS.FMS.GetAdminAccount

ToQuery GetAdminAccount Source # 
Instance details

Defined in Network.AWS.FMS.GetAdminAccount

NFData GetAdminAccount Source # 
Instance details

Defined in Network.AWS.FMS.GetAdminAccount

Methods

rnf :: GetAdminAccount -> () #

type Rep GetAdminAccount Source # 
Instance details

Defined in Network.AWS.FMS.GetAdminAccount

type Rep GetAdminAccount = D1 (MetaData "GetAdminAccount" "Network.AWS.FMS.GetAdminAccount" "amazonka-fms-1.6.1-Jqf0mlmXXTcC8Iu5gYWu1a" False) (C1 (MetaCons "GetAdminAccount'" PrefixI False) (U1 :: Type -> Type))
type Rs GetAdminAccount Source # 
Instance details

Defined in Network.AWS.FMS.GetAdminAccount

Destructuring the Response

getAdminAccountResponse Source #

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

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

data GetAdminAccountResponse Source #

See: getAdminAccountResponse smart constructor.

Instances
Eq GetAdminAccountResponse Source # 
Instance details

Defined in Network.AWS.FMS.GetAdminAccount

Data GetAdminAccountResponse Source # 
Instance details

Defined in Network.AWS.FMS.GetAdminAccount

Methods

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

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

toConstr :: GetAdminAccountResponse -> Constr #

dataTypeOf :: GetAdminAccountResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetAdminAccountResponse Source # 
Instance details

Defined in Network.AWS.FMS.GetAdminAccount

Show GetAdminAccountResponse Source # 
Instance details

Defined in Network.AWS.FMS.GetAdminAccount

Generic GetAdminAccountResponse Source # 
Instance details

Defined in Network.AWS.FMS.GetAdminAccount

Associated Types

type Rep GetAdminAccountResponse :: Type -> Type #

NFData GetAdminAccountResponse Source # 
Instance details

Defined in Network.AWS.FMS.GetAdminAccount

Methods

rnf :: GetAdminAccountResponse -> () #

type Rep GetAdminAccountResponse Source # 
Instance details

Defined in Network.AWS.FMS.GetAdminAccount

type Rep GetAdminAccountResponse = D1 (MetaData "GetAdminAccountResponse" "Network.AWS.FMS.GetAdminAccount" "amazonka-fms-1.6.1-Jqf0mlmXXTcC8Iu5gYWu1a" False) (C1 (MetaCons "GetAdminAccountResponse'" PrefixI True) (S1 (MetaSel (Just "_gaarsAdminAccount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gaarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

gaarsAdminAccount :: Lens' GetAdminAccountResponse (Maybe Text) Source #

The AWS account that is set as the AWS Firewall Manager administrator.