Health / Client / disable_health_service_access_for_organization

disable_health_service_access_for_organization#

Health.Client.disable_health_service_access_for_organization()#

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.

Note

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.

See also: AWS API Documentation

Request Syntax

response = client.disable_health_service_access_for_organization()
Returns:

None

Exceptions