Class: Aws::Redshift::Types::BatchModifyClusterSnapshotsMessage

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#forceBoolean

A boolean value indicating whether to override an exception if the retention period has passed.

Returns:

  • (Boolean)


523
524
525
526
527
528
529
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 523

class BatchModifyClusterSnapshotsMessage < Struct.new(
  :snapshot_identifier_list,
  :manual_snapshot_retention_period,
  :force)
  SENSITIVE = []
  include Aws::Structure
end

#manual_snapshot_retention_periodInteger

The number of days that a manual snapshot is retained. If you specify the value -1, the manual snapshot is retained indefinitely.

The number must be either -1 or an integer between 1 and 3,653.

If you decrease the manual snapshot retention period from its current value, existing manual snapshots that fall outside of the new retention period will return an error. If you want to suppress the errors and delete the snapshots, use the force option.

Returns:

  • (Integer)


523
524
525
526
527
528
529
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 523

class BatchModifyClusterSnapshotsMessage < Struct.new(
  :snapshot_identifier_list,
  :manual_snapshot_retention_period,
  :force)
  SENSITIVE = []
  include Aws::Structure
end

#snapshot_identifier_listArray<String>

A list of snapshot identifiers you want to modify.

Returns:

  • (Array<String>)


523
524
525
526
527
528
529
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 523

class BatchModifyClusterSnapshotsMessage < Struct.new(
  :snapshot_identifier_list,
  :manual_snapshot_retention_period,
  :force)
  SENSITIVE = []
  include Aws::Structure
end