Smaws_Client_Redshift.ModifySnapshotCopyRetentionPeriodModifies the number of days to retain snapshots in the destination Amazon Web Services Region after they are copied from the source Amazon Web Services Region. By default, this operation only changes the retention period of copied automated snapshots. The retention periods for both new and existing copied automated snapshots are updated with the new retention period. You can set the manual option to change only the retention periods of copied manual snapshots. If you set this option, only newly copied manual snapshots have the new retention period.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `ClusterNotFoundFault of Types.cluster_not_found_fault
| `InvalidClusterStateFault of Types.invalid_cluster_state_fault
| `InvalidRetentionPeriodFault of Types.invalid_retention_period_fault
| `SnapshotCopyDisabledFault of Types.snapshot_copy_disabled_fault
| `UnauthorizedOperation of Types.unauthorized_operation ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.modify_snapshot_copy_retention_period_message ->
(Types.modify_snapshot_copy_retention_period_result,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ClusterNotFoundFault of Types.cluster_not_found_fault
| `InvalidClusterStateFault of Types.invalid_cluster_state_fault
| `InvalidRetentionPeriodFault of Types.invalid_retention_period_fault
| `SnapshotCopyDisabledFault of Types.snapshot_copy_disabled_fault
| `UnauthorizedOperation of Types.unauthorized_operation ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.modify_snapshot_copy_retention_period_message ->
(Types.modify_snapshot_copy_retention_period_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ClusterNotFoundFault of Types.cluster_not_found_fault
| `InvalidClusterStateFault of Types.invalid_cluster_state_fault
| `InvalidRetentionPeriodFault of Types.invalid_retention_period_fault
| `SnapshotCopyDisabledFault of Types.snapshot_copy_disabled_fault
| `UnauthorizedOperation of Types.unauthorized_operation ]
* Smaws_Lib.Response.metadata)
Stdlib.result