Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data EnableAllFeatures = EnableAllFeatures' {
- newEnableAllFeatures :: EnableAllFeatures
- data EnableAllFeaturesResponse = EnableAllFeaturesResponse' {
- handshake :: Maybe Handshake
- httpStatus :: Int
- newEnableAllFeaturesResponse :: Int -> EnableAllFeaturesResponse
- enableAllFeaturesResponse_handshake :: Lens' EnableAllFeaturesResponse (Maybe Handshake)
- enableAllFeaturesResponse_httpStatus :: Lens' EnableAllFeaturesResponse Int
Creating a Request
data EnableAllFeatures Source #
See: newEnableAllFeatures
smart constructor.
Instances
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.
EnableAllFeaturesResponse' | |
|
Instances
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.
enableAllFeaturesResponse_httpStatus :: Lens' EnableAllFeaturesResponse Int Source #
The response's http status code.