Class: Aws::Redshift::Types::ModifyClusterSnapshotMessage
- Inherits:
-
Struct
- Object
- Struct
- Aws::Redshift::Types::ModifyClusterSnapshotMessage
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-redshift/types.rb
Overview
When making an API call, you may pass ModifyClusterSnapshotMessage data as a hash:
{
snapshot_identifier: "String", # required
manual_snapshot_retention_period: 1,
force: false,
}
Instance Attribute Summary collapse
-
#force ⇒ Boolean
A Boolean option to override an exception if the retention period has already passed.
-
#manual_snapshot_retention_period ⇒ Integer
The number of days that a manual snapshot is retained.
-
#snapshot_identifier ⇒ String
The identifier of the snapshot whose setting you want to modify.
Instance Attribute Details
#force ⇒ Boolean
A Boolean option to override an exception if the retention period has already passed.
5834 5835 5836 5837 5838 5839 |
# File 'lib/aws-sdk-redshift/types.rb', line 5834 class ModifyClusterSnapshotMessage < Struct.new( :snapshot_identifier, :manual_snapshot_retention_period, :force) include Aws::Structure end |
#manual_snapshot_retention_period ⇒ Integer
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.
5834 5835 5836 5837 5838 5839 |
# File 'lib/aws-sdk-redshift/types.rb', line 5834 class ModifyClusterSnapshotMessage < Struct.new( :snapshot_identifier, :manual_snapshot_retention_period, :force) include Aws::Structure end |
#snapshot_identifier ⇒ String
The identifier of the snapshot whose setting you want to modify.
5834 5835 5836 5837 5838 5839 |
# File 'lib/aws-sdk-redshift/types.rb', line 5834 class ModifyClusterSnapshotMessage < Struct.new( :snapshot_identifier, :manual_snapshot_retention_period, :force) include Aws::Structure end |