You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::EMR::Types::AutoScalingPolicyStateChangeReason

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

Overview

The reason for an AutoScalingPolicyStatus change.

Instance Attribute Summary collapse

Instance Attribute Details

#codeString

The code indicating the reason for the change in status.USER_REQUEST indicates that the scaling policy status was changed by a user. PROVISION_FAILURE indicates that the status change was because the policy failed to provision. CLEANUP_FAILURE indicates an error.

Returns:

  • (String)


487
488
489
490
491
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 487

class AutoScalingPolicyStateChangeReason < Struct.new(
  :code,
  :message)
  include Aws::Structure
end

#messageString

A friendly, more verbose message that accompanies an automatic scaling policy state change.

Returns:

  • (String)


487
488
489
490
491
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 487

class AutoScalingPolicyStateChangeReason < Struct.new(
  :code,
  :message)
  include Aws::Structure
end