amazonka-fms-1.6.0: 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.AssociateAdminAccount

Contents

Description

Sets the AWS Firewall Manager administrator account. AWS Firewall Manager must be associated with a master account in AWS Organizations or associated with a member account that has the appropriate permissions. If the account ID that you submit is not an AWS Organizations master account, AWS Firewall Manager will set the appropriate permissions for the given member account.

The account that you associate with AWS Firewall Manager is called the AWS Firewall manager administrator account.

Synopsis

Creating a Request

associateAdminAccount Source #

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

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

  • aaaAdminAccount - The AWS account ID to associate with AWS Firewall Manager as the AWS Firewall Manager administrator account. This can be an AWS Organizations master account or a member account. For more information about AWS Organizations and master accounts, see Managing the AWS Accounts in Your Organization .

data AssociateAdminAccount Source #

See: associateAdminAccount smart constructor.

Instances

Eq AssociateAdminAccount Source # 
Data AssociateAdminAccount Source # 

Methods

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

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

toConstr :: AssociateAdminAccount -> Constr #

dataTypeOf :: AssociateAdminAccount -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AssociateAdminAccount Source # 
Show AssociateAdminAccount Source # 
Generic AssociateAdminAccount Source # 
Hashable AssociateAdminAccount Source # 
ToJSON AssociateAdminAccount Source # 
NFData AssociateAdminAccount Source # 

Methods

rnf :: AssociateAdminAccount -> () #

AWSRequest AssociateAdminAccount Source # 
ToHeaders AssociateAdminAccount Source # 
ToPath AssociateAdminAccount Source # 
ToQuery AssociateAdminAccount Source # 
type Rep AssociateAdminAccount Source # 
type Rep AssociateAdminAccount = D1 * (MetaData "AssociateAdminAccount" "Network.AWS.FMS.AssociateAdminAccount" "amazonka-fms-1.6.0-LeoW8RIt9JY546wb6d63QL" True) (C1 * (MetaCons "AssociateAdminAccount'" PrefixI True) (S1 * (MetaSel (Just Symbol "_aaaAdminAccount") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs AssociateAdminAccount Source # 

Request Lenses

aaaAdminAccount :: Lens' AssociateAdminAccount Text Source #

The AWS account ID to associate with AWS Firewall Manager as the AWS Firewall Manager administrator account. This can be an AWS Organizations master account or a member account. For more information about AWS Organizations and master accounts, see Managing the AWS Accounts in Your Organization .

Destructuring the Response

associateAdminAccountResponse :: AssociateAdminAccountResponse Source #

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

data AssociateAdminAccountResponse Source #

See: associateAdminAccountResponse smart constructor.

Instances

Eq AssociateAdminAccountResponse Source # 
Data AssociateAdminAccountResponse Source # 

Methods

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

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

toConstr :: AssociateAdminAccountResponse -> Constr #

dataTypeOf :: AssociateAdminAccountResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AssociateAdminAccountResponse Source # 
Show AssociateAdminAccountResponse Source # 
Generic AssociateAdminAccountResponse Source # 
NFData AssociateAdminAccountResponse Source # 
type Rep AssociateAdminAccountResponse Source # 
type Rep AssociateAdminAccountResponse = D1 * (MetaData "AssociateAdminAccountResponse" "Network.AWS.FMS.AssociateAdminAccount" "amazonka-fms-1.6.0-LeoW8RIt9JY546wb6d63QL" False) (C1 * (MetaCons "AssociateAdminAccountResponse'" PrefixI False) (U1 *))