Rotates the encryption keys for a cluster.
            
 Declaration Syntax
 Declaration Syntax| C# | 
RotateEncryptionKeyResponse RotateEncryptionKey( RotateEncryptionKeyRequest request )
 Parameters
 Parameters- request (RotateEncryptionKeyRequest)
- Container for the necessary parameters to execute the RotateEncryptionKey service method.
 Return Value
 Return ValueThe response from the RotateEncryptionKey service method, as returned by Redshift.
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| ClusterNotFoundException | The ClusterIdentifier parameter does not refer to an existing cluster. | 
| InvalidClusterStateException | The specified cluster is not in the  CopyC# available |