Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Disables AWS Health from working with AWS Organizations. To call this operation, you must sign in as an AWS Identity and Access Management (IAM) user, assume an IAM role, or sign in as the root user (not recommended) in the organization's management account. For more information, see Aggregating AWS Health events in the AWS 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 AWS Command Line Interface (AWS CLI) to remove the service-linked role. For more information, see Deleting a Service-Linked Role in the IAM User Guide.
You can also disable the organizational feature by using the Organizations DisableAWSServiceAccess API operation. After you call this operation, AWS Health stops aggregating events for all other AWS accounts in your organization. If you call the AWS Health API operations for organizational view, AWS Health returns an error. AWS Health continues to aggregate health events for your AWS account.
Synopsis
- data DisableHealthServiceAccessForOrganization = DisableHealthServiceAccessForOrganization' {
- newDisableHealthServiceAccessForOrganization :: DisableHealthServiceAccessForOrganization
- data DisableHealthServiceAccessForOrganizationResponse = DisableHealthServiceAccessForOrganizationResponse' {
- newDisableHealthServiceAccessForOrganizationResponse :: DisableHealthServiceAccessForOrganizationResponse
Creating a Request
data DisableHealthServiceAccessForOrganization Source #
See: newDisableHealthServiceAccessForOrganization
smart constructor.
Instances
newDisableHealthServiceAccessForOrganization :: DisableHealthServiceAccessForOrganization Source #
Create a value of DisableHealthServiceAccessForOrganization
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data DisableHealthServiceAccessForOrganizationResponse Source #
See: newDisableHealthServiceAccessForOrganizationResponse
smart constructor.
Instances
Eq DisableHealthServiceAccessForOrganizationResponse Source # | |
Read DisableHealthServiceAccessForOrganizationResponse Source # | |
Show DisableHealthServiceAccessForOrganizationResponse Source # | |
Generic DisableHealthServiceAccessForOrganizationResponse Source # | |
NFData DisableHealthServiceAccessForOrganizationResponse Source # | |
type Rep DisableHealthServiceAccessForOrganizationResponse Source # | |
Defined in Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization type Rep DisableHealthServiceAccessForOrganizationResponse = D1 ('MetaData "DisableHealthServiceAccessForOrganizationResponse" "Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization" "libZSservicesZSamazonka-healthZSamazonka-health" 'False) (C1 ('MetaCons "DisableHealthServiceAccessForOrganizationResponse'" 'PrefixI 'False) (U1 :: Type -> Type)) |
newDisableHealthServiceAccessForOrganizationResponse :: DisableHealthServiceAccessForOrganizationResponse Source #
Create a value of DisableHealthServiceAccessForOrganizationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.