amazonka-organizations-1.6.0: Amazon Organizations 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.Organizations.EnableAWSServiceAccess

Contents

Description

Enables the integration of an AWS service (the service that is specified by ServicePrincipal ) with AWS Organizations. When you enable integration, you allow the specified service to create a service-linked role in all the accounts in your organization. This allows the service to perform operations on your behalf in your organization and its accounts.

Important: We recommend that you enable integration between AWS Organizations and the specified AWS service by using the console or commands that are provided by the specified service. Doing so ensures that the service is aware that it can create the resources that are required for the integration. How the service creates those resources in the organization's accounts depends on that service. For more information, see the documentation for the other AWS service.

For more information about enabling services to integrate with AWS Organizations, see Integrating AWS Organizations with Other AWS Services in the AWS Organizations User Guide .

This operation can be called only from the organization's master account and only if the organization has enabled all features .

Synopsis

Creating a Request

enableAWSServiceAccess Source #

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

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

  • easaServicePrincipal - The service principal name of the AWS service for which you want to enable integration with your organization. This is typically in the form of a URL, such as service-abbreviation .amazonaws.com .

data EnableAWSServiceAccess Source #

See: enableAWSServiceAccess smart constructor.

Instances

Eq EnableAWSServiceAccess Source # 
Data EnableAWSServiceAccess Source # 

Methods

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

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

toConstr :: EnableAWSServiceAccess -> Constr #

dataTypeOf :: EnableAWSServiceAccess -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: EnableAWSServiceAccess -> () #

AWSRequest EnableAWSServiceAccess Source # 
ToHeaders EnableAWSServiceAccess Source # 
ToPath EnableAWSServiceAccess Source # 
ToQuery EnableAWSServiceAccess Source # 
type Rep EnableAWSServiceAccess Source # 
type Rep EnableAWSServiceAccess = D1 * (MetaData "EnableAWSServiceAccess" "Network.AWS.Organizations.EnableAWSServiceAccess" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" True) (C1 * (MetaCons "EnableAWSServiceAccess'" PrefixI True) (S1 * (MetaSel (Just Symbol "_easaServicePrincipal") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs EnableAWSServiceAccess Source # 

Request Lenses

easaServicePrincipal :: Lens' EnableAWSServiceAccess Text Source #

The service principal name of the AWS service for which you want to enable integration with your organization. This is typically in the form of a URL, such as service-abbreviation .amazonaws.com .

Destructuring the Response

enableAWSServiceAccessResponse :: EnableAWSServiceAccessResponse Source #

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

data EnableAWSServiceAccessResponse Source #

See: enableAWSServiceAccessResponse smart constructor.

Instances

Eq EnableAWSServiceAccessResponse Source # 
Data EnableAWSServiceAccessResponse Source # 

Methods

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

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

toConstr :: EnableAWSServiceAccessResponse -> Constr #

dataTypeOf :: EnableAWSServiceAccessResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read EnableAWSServiceAccessResponse Source # 
Show EnableAWSServiceAccessResponse Source # 
Generic EnableAWSServiceAccessResponse Source # 
NFData EnableAWSServiceAccessResponse Source # 
type Rep EnableAWSServiceAccessResponse Source # 
type Rep EnableAWSServiceAccessResponse = D1 * (MetaData "EnableAWSServiceAccessResponse" "Network.AWS.Organizations.EnableAWSServiceAccess" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) (C1 * (MetaCons "EnableAWSServiceAccessResponse'" PrefixI False) (U1 *))