Struct aws_sdk_health::client::fluent_builders::EnableHealthServiceAccessForOrganization [−][src]
pub struct EnableHealthServiceAccessForOrganization<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to EnableHealthServiceAccessForOrganization
.
Enables AWS Health to work with AWS Organizations. You can use the organizational view feature to aggregate events from all AWS accounts in your organization in a centralized location.
This operation also creates a service-linked role for the management account in the organization.
To call this operation, you must meet the following requirements:
-
You must have a Business or Enterprise Support plan from AWS Support to use the AWS Health API. If you call the AWS Health API from an AWS account that doesn't have a Business or Enterprise Support plan, you receive a
SubscriptionRequiredException
error. -
You must have permission to call this operation from the organization's management account. For example IAM policies, see AWS Health identity-based policy examples.
If you don't have the required support plan, you can instead use the AWS Health console to enable the organizational view feature. For more information, see Aggregating AWS Health events in the AWS Health User Guide.
Implementations
impl<C, M, R> EnableHealthServiceAccessForOrganization<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> EnableHealthServiceAccessForOrganization<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<EnableHealthServiceAccessForOrganizationOutput, SdkError<EnableHealthServiceAccessForOrganizationError>> where
R::Policy: SmithyRetryPolicy<EnableHealthServiceAccessForOrganizationInputOperationOutputAlias, EnableHealthServiceAccessForOrganizationOutput, EnableHealthServiceAccessForOrganizationError, EnableHealthServiceAccessForOrganizationInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<EnableHealthServiceAccessForOrganizationOutput, SdkError<EnableHealthServiceAccessForOrganizationError>> where
R::Policy: SmithyRetryPolicy<EnableHealthServiceAccessForOrganizationInputOperationOutputAlias, EnableHealthServiceAccessForOrganizationOutput, EnableHealthServiceAccessForOrganizationError, EnableHealthServiceAccessForOrganizationInputOperationRetryAlias>,
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.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for EnableHealthServiceAccessForOrganization<C, M, R>
impl<C, M, R> Send for EnableHealthServiceAccessForOrganization<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for EnableHealthServiceAccessForOrganization<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for EnableHealthServiceAccessForOrganization<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for EnableHealthServiceAccessForOrganization<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more