UpdateEnrollmentConfigurationRequest
¶
Source code in docs_src/capo_compute_optimizer_automation/types/update_enrollment_configuration_request.py
client_token
instance-attribute
¶
client_token: NotRequired[ClientToken]
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Must be 1-64 characters long and contain only alphanumeric characters, underscores, and hyphens.
status
instance-attribute
¶
status: EnrollmentStatus
The desired enrollment status.
-
Active - Enables the Automation feature for your account.
-
Inactive - Disables the Automation feature for your account and stops all of your automation rules. If you opt in again later, all rules will be inactive, and you must enable the rules you want to run. You must wait at least 24 hours after opting out to opt in again.
The Pending and Failed options can't be used to update the enrollment status of an account. They are returned in the response of a request to update the enrollment status of an account.
If you are a member account, you can't disable Automation while an organization enrollment configuration applies. If no organization enrollment configuration applies, you also can't disable Automation while your organization rule mode is AnyAllowed. Ask your administrator to delete the organization enrollment configuration or disassociate your account, as applicable.