Skip to content

/AWS1/CL_RSH=>CREATECLUSTERSNAPSHOT()

About CreateClusterSnapshot

Creates a manual snapshot of the specified cluster. The cluster must be in the available state.

For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Cluster Management Guide.

Method Signature

IMPORTING

Required arguments:

IV_SNAPSHOTIDENTIFIER TYPE /AWS1/RSHSTRING /AWS1/RSHSTRING

A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the Amazon Web Services account.

Constraints:

  • Cannot be null, empty, or blank

  • Must contain from 1 to 255 alphanumeric characters or hyphens

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

Example: my-snapshot-id

IV_CLUSTERIDENTIFIER TYPE /AWS1/RSHSTRING /AWS1/RSHSTRING

The cluster identifier for which you want a snapshot.

Optional arguments:

IV_MANUALSNAPSHOTRETPERIOD TYPE /AWS1/RSHINTEGEROPTIONAL /AWS1/RSHINTEGEROPTIONAL

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

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

The default value is -1.

IT_TAGS TYPE /AWS1/CL_RSHTAG=>TT_TAGLIST TT_TAGLIST

A list of tag instances.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_RSHCRECLUSTSNAPRSLT /AWS1/CL_RSHCRECLUSTSNAPRSLT