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

Class: Aws::Redshift::Types::ModifyClusterSnapshotMessage

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ModifyClusterSnapshotMessage as input to an Aws::Client method, you can use a vanilla Hash:

{
  snapshot_identifier: "String", # required
  manual_snapshot_retention_period: 1,
  force: false,
}

Instance Attribute Summary collapse

Instance Attribute Details

#forceBoolean

A Boolean option to override an exception if the retention period has already passed.

Returns:

  • (Boolean)

    A Boolean option to override an exception if the retention period has already passed.

#manual_snapshot_retention_periodInteger

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

If the manual snapshot falls outside of the new retention period, you can specify the force option to immediately delete the snapshot.

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

Returns:

  • (Integer)

    The number of days that a manual snapshot is retained.

#snapshot_identifierString

The identifier of the snapshot whose setting you want to modify.

Returns:

  • (String)

    The identifier of the snapshot whose setting you want to modify.