Class: Aws::Redshift::Types::ModifyUsageLimitMessage

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

Overview

Note:

When making an API call, you may pass ModifyUsageLimitMessage data as a hash:

{
  usage_limit_id: "String", # required
  amount: 1,
  breach_action: "log", # accepts log, emit-metric, disable
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#amountInteger

The new limit amount. For more information about this parameter, see UsageLimit.

Returns:

  • (Integer)


8821
8822
8823
8824
8825
8826
8827
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 8821

class ModifyUsageLimitMessage < Struct.new(
  :usage_limit_id,
  :amount,
  :breach_action)
  SENSITIVE = []
  include Aws::Structure
end

#breach_actionString

The new action that Amazon Redshift takes when the limit is reached. For more information about this parameter, see UsageLimit.

Returns:

  • (String)


8821
8822
8823
8824
8825
8826
8827
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 8821

class ModifyUsageLimitMessage < Struct.new(
  :usage_limit_id,
  :amount,
  :breach_action)
  SENSITIVE = []
  include Aws::Structure
end

#usage_limit_idString

The identifier of the usage limit to modify.

Returns:

  • (String)


8821
8822
8823
8824
8825
8826
8827
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 8821

class ModifyUsageLimitMessage < Struct.new(
  :usage_limit_id,
  :amount,
  :breach_action)
  SENSITIVE = []
  include Aws::Structure
end