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

Class: Aws::Redshift::Types::ModifyClusterMaintenanceMessage

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

{
  cluster_identifier: "String", # required
  defer_maintenance: false,
  defer_maintenance_identifier: "String",
  defer_maintenance_start_time: Time.now,
  defer_maintenance_end_time: Time.now,
  defer_maintenance_duration: 1,
}

Instance Attribute Summary collapse

Instance Attribute Details

#cluster_identifierString

A unique identifier for the cluster.

Returns:

  • (String)


5714
5715
5716
5717
5718
5719
5720
5721
5722
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 5714

class ModifyClusterMaintenanceMessage < Struct.new(
  :cluster_identifier,
  :defer_maintenance,
  :defer_maintenance_identifier,
  :defer_maintenance_start_time,
  :defer_maintenance_end_time,
  :defer_maintenance_duration)
  include Aws::Structure
end

#defer_maintenanceBoolean

A boolean indicating whether to enable the deferred maintenance window.

Returns:

  • (Boolean)


5714
5715
5716
5717
5718
5719
5720
5721
5722
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 5714

class ModifyClusterMaintenanceMessage < Struct.new(
  :cluster_identifier,
  :defer_maintenance,
  :defer_maintenance_identifier,
  :defer_maintenance_start_time,
  :defer_maintenance_end_time,
  :defer_maintenance_duration)
  include Aws::Structure
end

#defer_maintenance_durationInteger

An integer indicating the duration of the maintenance window in days. If you specify a duration, you can't specify an end time. The duration must be 45 days or less.

Returns:

  • (Integer)


5714
5715
5716
5717
5718
5719
5720
5721
5722
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 5714

class ModifyClusterMaintenanceMessage < Struct.new(
  :cluster_identifier,
  :defer_maintenance,
  :defer_maintenance_identifier,
  :defer_maintenance_start_time,
  :defer_maintenance_end_time,
  :defer_maintenance_duration)
  include Aws::Structure
end

#defer_maintenance_end_timeTime

A timestamp indicating end time for the deferred maintenance window. If you specify an end time, you can't specify a duration.

Returns:

  • (Time)


5714
5715
5716
5717
5718
5719
5720
5721
5722
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 5714

class ModifyClusterMaintenanceMessage < Struct.new(
  :cluster_identifier,
  :defer_maintenance,
  :defer_maintenance_identifier,
  :defer_maintenance_start_time,
  :defer_maintenance_end_time,
  :defer_maintenance_duration)
  include Aws::Structure
end

#defer_maintenance_identifierString

A unique identifier for the deferred maintenance window.

Returns:

  • (String)


5714
5715
5716
5717
5718
5719
5720
5721
5722
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 5714

class ModifyClusterMaintenanceMessage < Struct.new(
  :cluster_identifier,
  :defer_maintenance,
  :defer_maintenance_identifier,
  :defer_maintenance_start_time,
  :defer_maintenance_end_time,
  :defer_maintenance_duration)
  include Aws::Structure
end

#defer_maintenance_start_timeTime

A timestamp indicating the start time for the deferred maintenance window.

Returns:

  • (Time)


5714
5715
5716
5717
5718
5719
5720
5721
5722
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 5714

class ModifyClusterMaintenanceMessage < Struct.new(
  :cluster_identifier,
  :defer_maintenance,
  :defer_maintenance_identifier,
  :defer_maintenance_start_time,
  :defer_maintenance_end_time,
  :defer_maintenance_duration)
  include Aws::Structure
end