Smaws_Client_Redshift.EnableSnapshotCopyEnables the automatic copy of snapshots from one region to another region for a specified cluster.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `ClusterNotFoundFault of Types.cluster_not_found_fault
| `CopyToRegionDisabledFault of Types.copy_to_region_disabled_fault
| `DependentServiceRequestThrottlingFault of
Types.dependent_service_request_throttling_fault
| `IncompatibleOrderableOptions of Types.incompatible_orderable_options
| `InvalidClusterStateFault of Types.invalid_cluster_state_fault
| `InvalidRetentionPeriodFault of Types.invalid_retention_period_fault
| `LimitExceededFault of Types.limit_exceeded_fault
| `SnapshotCopyAlreadyEnabledFault of
Types.snapshot_copy_already_enabled_fault
| `SnapshotCopyGrantNotFoundFault of
Types.snapshot_copy_grant_not_found_fault
| `UnauthorizedOperation of Types.unauthorized_operation
| `UnknownSnapshotCopyRegionFault of Types.unknown_snapshot_copy_region_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.enable_snapshot_copy_message ->
(Types.enable_snapshot_copy_result,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ClusterNotFoundFault of Types.cluster_not_found_fault
| `CopyToRegionDisabledFault of Types.copy_to_region_disabled_fault
| `DependentServiceRequestThrottlingFault of
Types.dependent_service_request_throttling_fault
| `IncompatibleOrderableOptions of Types.incompatible_orderable_options
| `InvalidClusterStateFault of Types.invalid_cluster_state_fault
| `InvalidRetentionPeriodFault of Types.invalid_retention_period_fault
| `LimitExceededFault of Types.limit_exceeded_fault
| `SnapshotCopyAlreadyEnabledFault of
Types.snapshot_copy_already_enabled_fault
| `SnapshotCopyGrantNotFoundFault of
Types.snapshot_copy_grant_not_found_fault
| `UnauthorizedOperation of Types.unauthorized_operation
| `UnknownSnapshotCopyRegionFault of
Types.unknown_snapshot_copy_region_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.enable_snapshot_copy_message ->
(Types.enable_snapshot_copy_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ClusterNotFoundFault of Types.cluster_not_found_fault
| `CopyToRegionDisabledFault of Types.copy_to_region_disabled_fault
| `DependentServiceRequestThrottlingFault of
Types.dependent_service_request_throttling_fault
| `IncompatibleOrderableOptions of Types.incompatible_orderable_options
| `InvalidClusterStateFault of Types.invalid_cluster_state_fault
| `InvalidRetentionPeriodFault of Types.invalid_retention_period_fault
| `LimitExceededFault of Types.limit_exceeded_fault
| `SnapshotCopyAlreadyEnabledFault of
Types.snapshot_copy_already_enabled_fault
| `SnapshotCopyGrantNotFoundFault of
Types.snapshot_copy_grant_not_found_fault
| `UnauthorizedOperation of Types.unauthorized_operation
| `UnknownSnapshotCopyRegionFault of
Types.unknown_snapshot_copy_region_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result