AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Enables Health to work with Organizations. You can use the organizational view feature to aggregate events from all Amazon Web Services 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, Enterprise On-Ramp, or Enterprise Support plan from Amazon
Web Services Support to use the Health API. If you call the Health API from an
Amazon Web Services account that doesn't have a Business, Enterprise On-Ramp, 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 Health identity-based policy examples.
If you don't have the required support plan, you can instead use the Health console to enable the organizational view feature. For more information, see Aggregating Health events in the Health User Guide.
For .NET Core this operation is only available in asynchronous form. Please refer to EnableHealthServiceAccessForOrganizationAsync.
Namespace: Amazon.AWSHealth
Assembly: AWSSDK.AWSHealth.dll
Version: 3.x.y.z
public virtual EnableHealthServiceAccessForOrganizationResponse EnableHealthServiceAccessForOrganization( EnableHealthServiceAccessForOrganizationRequest request )
Container for the necessary parameters to execute the EnableHealthServiceAccessForOrganization service method.
Exception | Condition |
---|---|
ConcurrentModificationException | EnableHealthServiceAccessForOrganization is already in progress. Wait for the action to complete before trying again. To get the current status, use the DescribeHealthServiceStatusForOrganization operation. |
.NET Framework:
Supported in: 4.5 and newer, 3.5