Struct aws_sdk_health::operation::disable_health_service_access_for_organization::builders::DisableHealthServiceAccessForOrganizationFluentBuilder
source · pub struct DisableHealthServiceAccessForOrganizationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DisableHealthServiceAccessForOrganization
.
Disables Health from working with Organizations. To call this operation, you must sign in to the organization's management account. For more information, see Aggregating Health events in the Health User Guide.
This operation doesn't remove the service-linked role from the management account in your organization. You must use the IAM console, API, or Command Line Interface (CLI) to remove the service-linked role. For more information, see Deleting a Service-Linked Role in the IAM User Guide.
You can also disable the organizational feature by using the Organizations DisableAWSServiceAccess API operation. After you call this operation, Health stops aggregating events for all other Amazon Web Services accounts in your organization. If you call the Health API operations for organizational view, Health returns an error. Health continues to aggregate health events for your Amazon Web Services account.
Implementations§
source§impl DisableHealthServiceAccessForOrganizationFluentBuilder
impl DisableHealthServiceAccessForOrganizationFluentBuilder
sourcepub fn as_input(&self) -> &DisableHealthServiceAccessForOrganizationInputBuilder
pub fn as_input(&self) -> &DisableHealthServiceAccessForOrganizationInputBuilder
Access the DisableHealthServiceAccessForOrganization as a reference.
sourcepub async fn send(
self
) -> Result<DisableHealthServiceAccessForOrganizationOutput, SdkError<DisableHealthServiceAccessForOrganizationError, HttpResponse>>
pub async fn send( self ) -> Result<DisableHealthServiceAccessForOrganizationOutput, SdkError<DisableHealthServiceAccessForOrganizationError, 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<DisableHealthServiceAccessForOrganizationOutput, DisableHealthServiceAccessForOrganizationError, Self>
pub fn customize( self ) -> CustomizableOperation<DisableHealthServiceAccessForOrganizationOutput, DisableHealthServiceAccessForOrganizationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
Trait Implementations§
source§impl Clone for DisableHealthServiceAccessForOrganizationFluentBuilder
impl Clone for DisableHealthServiceAccessForOrganizationFluentBuilder
source§fn clone(&self) -> DisableHealthServiceAccessForOrganizationFluentBuilder
fn clone(&self) -> DisableHealthServiceAccessForOrganizationFluentBuilder
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 DisableHealthServiceAccessForOrganizationFluentBuilder
impl !RefUnwindSafe for DisableHealthServiceAccessForOrganizationFluentBuilder
impl Send for DisableHealthServiceAccessForOrganizationFluentBuilder
impl Sync for DisableHealthServiceAccessForOrganizationFluentBuilder
impl Unpin for DisableHealthServiceAccessForOrganizationFluentBuilder
impl !UnwindSafe for DisableHealthServiceAccessForOrganizationFluentBuilder
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