libZSservicesZSamazonka-organizationsZSamazonka-organizations
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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 AWS Organizations supports. For more information, see Enabling All Features in Your Organization in the AWS 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
Eq EnableAllFeatures Source # 
Instance details

Defined in Amazonka.Organizations.EnableAllFeatures

Read EnableAllFeatures Source # 
Instance details

Defined in Amazonka.Organizations.EnableAllFeatures

Show EnableAllFeatures Source # 
Instance details

Defined in Amazonka.Organizations.EnableAllFeatures

Generic EnableAllFeatures Source # 
Instance details

Defined in Amazonka.Organizations.EnableAllFeatures

Associated Types

type Rep EnableAllFeatures :: Type -> Type #

NFData EnableAllFeatures Source # 
Instance details

Defined in Amazonka.Organizations.EnableAllFeatures

Methods

rnf :: EnableAllFeatures -> () #

Hashable EnableAllFeatures Source # 
Instance details

Defined in Amazonka.Organizations.EnableAllFeatures

ToJSON EnableAllFeatures Source # 
Instance details

Defined in Amazonka.Organizations.EnableAllFeatures

AWSRequest EnableAllFeatures Source # 
Instance details

Defined in Amazonka.Organizations.EnableAllFeatures

Associated Types

type AWSResponse 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

type Rep EnableAllFeatures Source # 
Instance details

Defined in Amazonka.Organizations.EnableAllFeatures

type Rep EnableAllFeatures = D1 ('MetaData "EnableAllFeatures" "Amazonka.Organizations.EnableAllFeatures" "libZSservicesZSamazonka-organizationsZSamazonka-organizations" 'False) (C1 ('MetaCons "EnableAllFeatures'" 'PrefixI 'False) (U1 :: Type -> Type))
type AWSResponse EnableAllFeatures Source # 
Instance details

Defined in Amazonka.Organizations.EnableAllFeatures

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
Eq EnableAllFeaturesResponse Source # 
Instance details

Defined in Amazonka.Organizations.EnableAllFeatures

Show EnableAllFeaturesResponse Source # 
Instance details

Defined in Amazonka.Organizations.EnableAllFeatures

Generic EnableAllFeaturesResponse Source # 
Instance details

Defined in Amazonka.Organizations.EnableAllFeatures

Associated Types

type Rep EnableAllFeaturesResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-organizationsZSamazonka-organizations" '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.