Smaws_Client_Health.EnableHealthServiceAccessForOrganizationEnables 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:
SubscriptionRequiredException error.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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ConcurrentModificationException of Types.concurrent_modification_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Smaws_Lib.Smithy_api.Types.unit_ ->
(Smaws_Lib.Smithy_api.Types.unit_,
[> Smaws_Lib.Protocols.AwsJson.error
| `ConcurrentModificationException of
Types.concurrent_modification_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Smaws_Lib.Smithy_api.Types.unit_ ->
(Smaws_Lib.Smithy_api.Types.unit_ Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `ConcurrentModificationException of
Types.concurrent_modification_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result