Class: Aws::Redshift::Types::ModifyScheduledActionMessage

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 ModifyScheduledActionMessage data as a hash:

{
  scheduled_action_name: "String", # required
  target_action: {
    resize_cluster: {
      cluster_identifier: "String", # required
      cluster_type: "String",
      node_type: "String",
      number_of_nodes: 1,
      classic: false,
    },
    pause_cluster: {
      cluster_identifier: "String", # required
    },
    resume_cluster: {
      cluster_identifier: "String", # required
    },
  },
  schedule: "String",
  iam_role: "String",
  scheduled_action_description: "String",
  start_time: Time.now,
  end_time: Time.now,
  enable: false,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#enableBoolean

A modified enable flag of the scheduled action. If true, the scheduled action is active. If false, the scheduled action is disabled.

Returns:

  • (Boolean)


7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 7219

class ModifyScheduledActionMessage < Struct.new(
  :scheduled_action_name,
  :target_action,
  :schedule,
  :iam_role,
  :scheduled_action_description,
  :start_time,
  :end_time,
  :enable)
  SENSITIVE = []
  include Aws::Structure
end

#end_timeTime

A modified end time of the scheduled action. For more information about this parameter, see ScheduledAction.

Returns:

  • (Time)


7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 7219

class ModifyScheduledActionMessage < Struct.new(
  :scheduled_action_name,
  :target_action,
  :schedule,
  :iam_role,
  :scheduled_action_description,
  :start_time,
  :end_time,
  :enable)
  SENSITIVE = []
  include Aws::Structure
end

#iam_roleString

A different IAM role to assume to run the target action. For more information about this parameter, see ScheduledAction.

Returns:

  • (String)


7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 7219

class ModifyScheduledActionMessage < Struct.new(
  :scheduled_action_name,
  :target_action,
  :schedule,
  :iam_role,
  :scheduled_action_description,
  :start_time,
  :end_time,
  :enable)
  SENSITIVE = []
  include Aws::Structure
end

#scheduleString

A modified schedule in either at( ) or cron( ) format. For more information about this parameter, see ScheduledAction.

Returns:

  • (String)


7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 7219

class ModifyScheduledActionMessage < Struct.new(
  :scheduled_action_name,
  :target_action,
  :schedule,
  :iam_role,
  :scheduled_action_description,
  :start_time,
  :end_time,
  :enable)
  SENSITIVE = []
  include Aws::Structure
end

#scheduled_action_descriptionString

A modified description of the scheduled action.

Returns:

  • (String)


7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 7219

class ModifyScheduledActionMessage < Struct.new(
  :scheduled_action_name,
  :target_action,
  :schedule,
  :iam_role,
  :scheduled_action_description,
  :start_time,
  :end_time,
  :enable)
  SENSITIVE = []
  include Aws::Structure
end

#scheduled_action_nameString

The name of the scheduled action to modify.

Returns:

  • (String)


7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 7219

class ModifyScheduledActionMessage < Struct.new(
  :scheduled_action_name,
  :target_action,
  :schedule,
  :iam_role,
  :scheduled_action_description,
  :start_time,
  :end_time,
  :enable)
  SENSITIVE = []
  include Aws::Structure
end

#start_timeTime

A modified start time of the scheduled action. For more information about this parameter, see ScheduledAction.

Returns:

  • (Time)


7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 7219

class ModifyScheduledActionMessage < Struct.new(
  :scheduled_action_name,
  :target_action,
  :schedule,
  :iam_role,
  :scheduled_action_description,
  :start_time,
  :end_time,
  :enable)
  SENSITIVE = []
  include Aws::Structure
end

#target_actionTypes::ScheduledActionType

A modified JSON format of the scheduled action. For more information about this parameter, see ScheduledAction.



7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 7219

class ModifyScheduledActionMessage < Struct.new(
  :scheduled_action_name,
  :target_action,
  :schedule,
  :iam_role,
  :scheduled_action_description,
  :start_time,
  :end_time,
  :enable)
  SENSITIVE = []
  include Aws::Structure
end