Struct aws_sdk_organizations::operation::enable_all_features::builders::EnableAllFeaturesFluentBuilder
source · pub struct EnableAllFeaturesFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to EnableAllFeatures
.
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.
Implementations§
source§impl EnableAllFeaturesFluentBuilder
impl EnableAllFeaturesFluentBuilder
sourcepub fn as_input(&self) -> &EnableAllFeaturesInputBuilder
pub fn as_input(&self) -> &EnableAllFeaturesInputBuilder
Access the EnableAllFeatures as a reference.
sourcepub async fn send(
self
) -> Result<EnableAllFeaturesOutput, SdkError<EnableAllFeaturesError, HttpResponse>>
pub async fn send( self ) -> Result<EnableAllFeaturesOutput, SdkError<EnableAllFeaturesError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<EnableAllFeaturesOutput, EnableAllFeaturesError, Self>
pub fn customize( self ) -> CustomizableOperation<EnableAllFeaturesOutput, EnableAllFeaturesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
Trait Implementations§
source§impl Clone for EnableAllFeaturesFluentBuilder
impl Clone for EnableAllFeaturesFluentBuilder
source§fn clone(&self) -> EnableAllFeaturesFluentBuilder
fn clone(&self) -> EnableAllFeaturesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for EnableAllFeaturesFluentBuilder
impl !RefUnwindSafe for EnableAllFeaturesFluentBuilder
impl Send for EnableAllFeaturesFluentBuilder
impl Sync for EnableAllFeaturesFluentBuilder
impl Unpin for EnableAllFeaturesFluentBuilder
impl !UnwindSafe for EnableAllFeaturesFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more