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

Contents

Description

Enables all features in an organization. This enables the use of organization policies that can restrict the services and actions that can be called in each account. Until you enable all features, you have access only to consolidated billing, and you can't use any of the advanced account administration features that AWS Organizations supports. For more information, see Enabling All Features in Your Organization in the AWS Organizations User Guide .

Important: This operation is required only for organizations that were created explicitly with only the consolidated billing features enabled, or that were migrated from a Consolidated Billing account family to Organizations. Calling this operation sends a handshake to every invited account in the organization. The feature set change can be finalized and the additional features enabled only after all administrators in the invited accounts approve the change by accepting the handshake.

After you enable all features, you can separately enable or disable individual policy types in a root using EnablePolicyType and DisablePolicyType . To see the status of policy types in a root, use ListRoots .

After all invited member accounts accept the handshake, you finalize the feature set change by accepting the handshake that contains Action: ENABLE_ALL_FEATURES . This completes the change.

After you enable all features in your organization, the master account in the organization can apply policies on all member accounts. These policies can restrict what users and even administrators in those accounts can do. The master account can apply policies that prevent accounts from leaving the organization. Ensure that your account administrators are aware of this.

This operation can be called only from the organization's master account.

Synopsis

Creating a Request

enableAllFeatures :: EnableAllFeatures Source #

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

data EnableAllFeatures Source #

See: enableAllFeatures smart constructor.

Instances

Eq EnableAllFeatures Source # 
Data EnableAllFeatures Source # 

Methods

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

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

toConstr :: EnableAllFeatures -> Constr #

dataTypeOf :: EnableAllFeatures -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: EnableAllFeatures -> () #

AWSRequest EnableAllFeatures Source # 
ToHeaders EnableAllFeatures Source # 
ToPath EnableAllFeatures Source # 
ToQuery EnableAllFeatures Source # 
type Rep EnableAllFeatures Source # 
type Rep EnableAllFeatures = D1 * (MetaData "EnableAllFeatures" "Network.AWS.Organizations.EnableAllFeatures" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) (C1 * (MetaCons "EnableAllFeatures'" PrefixI False) (U1 *))
type Rs EnableAllFeatures Source # 

Destructuring the Response

enableAllFeaturesResponse Source #

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

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

  • eafrsHandshake - A structure that contains details about the handshake created to support this request to enable all features in the organization.
  • eafrsResponseStatus - -- | The response status code.

data EnableAllFeaturesResponse Source #

See: enableAllFeaturesResponse smart constructor.

Instances

Eq EnableAllFeaturesResponse Source # 
Data EnableAllFeaturesResponse Source # 

Methods

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

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

toConstr :: EnableAllFeaturesResponse -> Constr #

dataTypeOf :: EnableAllFeaturesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EnableAllFeaturesResponse Source # 
Generic EnableAllFeaturesResponse Source # 
NFData EnableAllFeaturesResponse Source # 
type Rep EnableAllFeaturesResponse Source # 
type Rep EnableAllFeaturesResponse = D1 * (MetaData "EnableAllFeaturesResponse" "Network.AWS.Organizations.EnableAllFeatures" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) (C1 * (MetaCons "EnableAllFeaturesResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_eafrsHandshake") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Handshake))) (S1 * (MetaSel (Just Symbol "_eafrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

eafrsHandshake :: Lens' EnableAllFeaturesResponse (Maybe Handshake) Source #

A structure that contains details about the handshake created to support this request to enable all features in the organization.