Module Values.CreateSnapshotResultSource

Creates a copy of an entire cluster or replication group at a specific moment in time. This operation is valid for Valkey or Redis OSS only.

Sourcetype createSnapshotResult = {
  1. snapshot : Snapshot.t option;
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. createSnapshotResult : createSnapshotResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `CacheClusterNotFoundFault of CacheClusterNotFoundFault.t
  2. | `InvalidCacheClusterStateFault of InvalidCacheClusterStateFault.t
  3. | `InvalidParameterCombinationException of InvalidParameterCombinationException.t
  4. | `InvalidParameterValueException of InvalidParameterValueException.t
  5. | `InvalidReplicationGroupStateFault of InvalidReplicationGroupStateFault.t
  6. | `ReplicationGroupNotFoundFault of ReplicationGroupNotFoundFault.t
  7. | `SnapshotAlreadyExistsFault of SnapshotAlreadyExistsFault.t
  8. | `SnapshotFeatureNotSupportedFault of SnapshotFeatureNotSupportedFault.t
  9. | `SnapshotQuotaExceededFault of SnapshotQuotaExceededFault.t
  10. | `TagQuotaPerResourceExceeded of TagQuotaPerResourceExceeded.t
  11. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?snapshot:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `CacheClusterNotFoundFault of unit | `InvalidCacheClusterStateFault of unit | `InvalidParameterCombinationException of InvalidParameterCombinationException.t | `InvalidParameterValueException of InvalidParameterValueException.t | `InvalidReplicationGroupStateFault of unit | `ReplicationGroupNotFoundFault of unit | `SnapshotAlreadyExistsFault of unit | `SnapshotFeatureNotSupportedFault of unit | `SnapshotQuotaExceededFault of unit | `TagQuotaPerResourceExceeded of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `CacheClusterNotFoundFault of unit | `InvalidCacheClusterStateFault of unit | `InvalidParameterCombinationException of InvalidParameterCombinationException.t | `InvalidParameterValueException of InvalidParameterValueException.t | `InvalidReplicationGroupStateFault of unit | `ReplicationGroupNotFoundFault of unit | `SnapshotAlreadyExistsFault of unit | `SnapshotFeatureNotSupportedFault of unit | `SnapshotQuotaExceededFault of unit | `TagQuotaPerResourceExceeded of unit | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Integer of IntegerOptional.t | `List of [> `Structure of (string * [> `String of String_.t | `Structure of (string * [> `Integer of IntegerOptional.t | `List of [> `String of String_.t ] list | `String of AllowedNodeGroupId.t ]) list | `Timestamp of TStamp.t ]) list ] list | `String of String_.t | `Timestamp of TStamp.t ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t