

# EnableHealthServiceAccessForOrganization
<a name="API_EnableHealthServiceAccessForOrganization"></a>

Enables Amazon Health to work with Amazon 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. 

**Note**  
To call this operation, you must meet the following requirements:  
You must have a Amazon Business Support\$1, Amazon Enterprise Support, or Amazon Unified Operations plan from [Amazon Web Services Support](http://www.amazonaws.cn/premiumsupport/) to use the Amazon Health API. If you call the Amazon Health API from an Amazon Web Services account that doesn't have a Amazon Business Support\$1, Amazon Enterprise Support, or Amazon Unified Operations 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 [Amazon Health identity-based policy examples](https://docs.amazonaws.cn/health/latest/ug/security_iam_id-based-policy-examples.html).

If you don't have the required support plan, you can instead use the Amazon Health console to enable the organizational view feature. For more information, see [Aggregating Amazon Health events](https://docs.amazonaws.cn/health/latest/ug/aggregate-events.html) in the * Amazon Health User Guide*.

## Response Elements
<a name="API_EnableHealthServiceAccessForOrganization_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

## Errors
<a name="API_EnableHealthServiceAccessForOrganization_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** ConcurrentModificationException **   
 [EnableHealthServiceAccessForOrganization](https://docs.amazonaws.cn/health/latest/APIReference/API_EnableHealthServiceAccessForOrganization.html) is already in progress. Wait for the action to complete before trying again. To get the current status, use the [DescribeHealthServiceStatusForOrganization](https://docs.amazonaws.cn/health/latest/APIReference/API_DescribeHealthServiceStatusForOrganization.html) operation.  
HTTP Status Code: 400

## See Also
<a name="API_EnableHealthServiceAccessForOrganization_SeeAlso"></a>

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon Command Line Interface V2](https://docs.amazonaws.cn/goto/cli2/health-2016-08-04/EnableHealthServiceAccessForOrganization) 
+  [Amazon SDK for .NET V4](https://docs.amazonaws.cn/goto/DotNetSDKV4/health-2016-08-04/EnableHealthServiceAccessForOrganization) 
+  [Amazon SDK for C\$1\$1](https://docs.amazonaws.cn/goto/SdkForCpp/health-2016-08-04/EnableHealthServiceAccessForOrganization) 
+  [Amazon SDK for Go v2](https://docs.amazonaws.cn/goto/SdkForGoV2/health-2016-08-04/EnableHealthServiceAccessForOrganization) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/health-2016-08-04/EnableHealthServiceAccessForOrganization) 
+  [Amazon SDK for JavaScript V3](https://docs.amazonaws.cn/goto/SdkForJavaScriptV3/health-2016-08-04/EnableHealthServiceAccessForOrganization) 
+  [Amazon SDK for Kotlin](https://docs.amazonaws.cn/goto/SdkForKotlin/health-2016-08-04/EnableHealthServiceAccessForOrganization) 
+  [Amazon SDK for PHP V3](https://docs.amazonaws.cn/goto/SdkForPHPV3/health-2016-08-04/EnableHealthServiceAccessForOrganization) 
+  [Amazon SDK for Python](https://docs.amazonaws.cn/goto/boto3/health-2016-08-04/EnableHealthServiceAccessForOrganization) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/health-2016-08-04/EnableHealthServiceAccessForOrganization) 