amazonka-organizations-2.0: Amazon Organizations SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Organizations.EnableAllFeatures

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 Organizations supports. For more information, see Enabling All Features in Your Organization in the Organizations User Guide.

This operation is required only for organizations that were created explicitly with only the consolidated billing features enabled. 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 management 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 management 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 management account.

Synopsis

Creating a Request

data EnableAllFeatures Source #

See: newEnableAllFeatures smart constructor.

Constructors

EnableAllFeatures' 

Instances

Instances details
ToJSON EnableAllFeatures Source # 
Instance details

Defined in Amazonka.Organizations.EnableAllFeatures

ToHeaders EnableAllFeatures Source # 
Instance details

Defined in Amazonka.Organizations.EnableAllFeatures

ToPath EnableAllFeatures Source # 
Instance details

Defined in Amazonka.Organizations.EnableAllFeatures

ToQuery EnableAllFeatures Source # 
Instance details

Defined in Amazonka.Organizations.EnableAllFeatures

AWSRequest EnableAllFeatures Source # 
Instance details

Defined in Amazonka.Organizations.EnableAllFeatures

Associated Types

type AWSResponse EnableAllFeatures #

Generic EnableAllFeatures Source # 
Instance details

Defined in Amazonka.Organizations.EnableAllFeatures

Associated Types

type Rep EnableAllFeatures :: Type -> Type #

Read EnableAllFeatures Source # 
Instance details

Defined in Amazonka.Organizations.EnableAllFeatures

Show EnableAllFeatures Source # 
Instance details

Defined in Amazonka.Organizations.EnableAllFeatures

NFData EnableAllFeatures Source # 
Instance details

Defined in Amazonka.Organizations.EnableAllFeatures

Methods

rnf :: EnableAllFeatures -> () #

Eq EnableAllFeatures Source # 
Instance details

Defined in Amazonka.Organizations.EnableAllFeatures

Hashable EnableAllFeatures Source # 
Instance details

Defined in Amazonka.Organizations.EnableAllFeatures

type AWSResponse EnableAllFeatures Source # 
Instance details

Defined in Amazonka.Organizations.EnableAllFeatures

type Rep EnableAllFeatures Source # 
Instance details

Defined in Amazonka.Organizations.EnableAllFeatures

type Rep EnableAllFeatures = D1 ('MetaData "EnableAllFeatures" "Amazonka.Organizations.EnableAllFeatures" "amazonka-organizations-2.0-JONpdX4PtttLcKxQshpOlA" 'False) (C1 ('MetaCons "EnableAllFeatures'" 'PrefixI 'False) (U1 :: Type -> Type))

newEnableAllFeatures :: EnableAllFeatures Source #

Create a value of EnableAllFeatures with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

Destructuring the Response

data EnableAllFeaturesResponse Source #

See: newEnableAllFeaturesResponse smart constructor.

Constructors

EnableAllFeaturesResponse' 

Fields

  • handshake :: Maybe Handshake

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic EnableAllFeaturesResponse Source # 
Instance details

Defined in Amazonka.Organizations.EnableAllFeatures

Associated Types

type Rep EnableAllFeaturesResponse :: Type -> Type #

Show EnableAllFeaturesResponse Source # 
Instance details

Defined in Amazonka.Organizations.EnableAllFeatures

NFData EnableAllFeaturesResponse Source # 
Instance details

Defined in Amazonka.Organizations.EnableAllFeatures

Eq EnableAllFeaturesResponse Source # 
Instance details

Defined in Amazonka.Organizations.EnableAllFeatures

type Rep EnableAllFeaturesResponse Source # 
Instance details

Defined in Amazonka.Organizations.EnableAllFeatures

type Rep EnableAllFeaturesResponse = D1 ('MetaData "EnableAllFeaturesResponse" "Amazonka.Organizations.EnableAllFeatures" "amazonka-organizations-2.0-JONpdX4PtttLcKxQshpOlA" 'False) (C1 ('MetaCons "EnableAllFeaturesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "handshake") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Handshake)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newEnableAllFeaturesResponse Source #

Create a value of EnableAllFeaturesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:handshake:EnableAllFeaturesResponse', enableAllFeaturesResponse_handshake - A structure that contains details about the handshake created to support this request to enable all features in the organization.

$sel:httpStatus:EnableAllFeaturesResponse', enableAllFeaturesResponse_httpStatus - The response's http status code.

Response Lenses

enableAllFeaturesResponse_handshake :: 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.