Class: Aws::ComputeOptimizerAutomation::Types::UpdateEnrollmentConfigurationRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_token ⇒ String

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.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


3007
3008
3009
3010
3011
3012
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 3007

class UpdateEnrollmentConfigurationRequest < Struct.new(
  :status,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#status ⇒ String

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.

Returns:

  • (String)


3007
3008
3009
3010
3011
3012
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 3007

class UpdateEnrollmentConfigurationRequest < Struct.new(
  :status,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end