Module Smaws_Client_CostOptimizationHub.UpdateEnrollmentStatus

Updates the enrollment (opt in and opt out) status of an account to the Cost Optimization Hub service.

If the account is a management account of an organization, this action can also be used to enroll member accounts of the organization.

You must have the appropriate permissions to opt in to Cost Optimization Hub and to view its recommendations. When you opt in, Cost Optimization Hub automatically creates a service-linked role in your account to access its data.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InternalServerException of Types.internal_server_exception | `ThrottlingException of Types.throttling_exception | `ValidationException of Types.validation_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.update_enrollment_status_request -> (Types.update_enrollment_status_response, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InternalServerException of Types.internal_server_exception | `ThrottlingException of Types.throttling_exception | `ValidationException of Types.validation_exception ]) Stdlib.result