Module Values.DeleteReplicationGroupResultSource

Deletes an existing replication group. By default, this operation deletes the entire replication group, including the primary/primaries and all of the read replicas. If the replication group has only one primary, you can optionally delete only the read replicas, while retaining the primary by setting RetainPrimaryCluster=true. When you receive a successful response from this operation, Amazon ElastiCache immediately begins deleting the selected resources; you cannot cancel or revert this operation. CreateSnapshot permission is required to create a final snapshot. Without this permission, the API call will fail with an Access Denied exception. This operation is valid for Redis OSS only.

Sourcetype deleteReplicationGroupResult = {
  1. replicationGroup : ReplicationGroup.t option;
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. deleteReplicationGroupResult : deleteReplicationGroupResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `InvalidParameterCombinationException of InvalidParameterCombinationException.t
  2. | `InvalidParameterValueException of InvalidParameterValueException.t
  3. | `InvalidReplicationGroupStateFault of InvalidReplicationGroupStateFault.t
  4. | `ReplicationGroupNotFoundFault of ReplicationGroupNotFoundFault.t
  5. | `SnapshotAlreadyExistsFault of SnapshotAlreadyExistsFault.t
  6. | `SnapshotFeatureNotSupportedFault of SnapshotFeatureNotSupportedFault.t
  7. | `SnapshotQuotaExceededFault of SnapshotQuotaExceededFault.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?replicationGroup:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidParameterCombinationException of InvalidParameterCombinationException.t | `InvalidParameterValueException of InvalidParameterValueException.t | `InvalidReplicationGroupStateFault of unit | `ReplicationGroupNotFoundFault of unit | `SnapshotAlreadyExistsFault of unit | `SnapshotFeatureNotSupportedFault of unit | `SnapshotQuotaExceededFault of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidParameterCombinationException of InvalidParameterCombinationException.t | `InvalidParameterValueException of InvalidParameterValueException.t | `InvalidReplicationGroupStateFault of unit | `ReplicationGroupNotFoundFault of unit | `SnapshotAlreadyExistsFault of unit | `SnapshotFeatureNotSupportedFault of unit | `SnapshotQuotaExceededFault 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 BooleanOptional.t | `Enum of string | `Integer of IntegerOptional.t | `List of [> `String of String_.t | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of String_.t | `Structure of (string * [> `Integer of Integer.t | `String of String_.t ]) list ]) list ] list | `String of String_.t | `Structure of (string * [> `Integer of Integer.t | `String of String_.t | `Structure of (string * [> `String of String_.t ]) list ]) list ]) list ] list | `String of String_.t | `Structure of (string * [> `Boolean of BooleanOptional.t | `Enum of string | `Integer of Integer.t | `List of [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `Structure of (string * [> `String of String_.t ]) list ]) list ]) list ] list | `String of String_.t | `Structure of (string * [> `List of [> `String of UserGroupId.t ] list | `Structure of (string * [> `Double of Double.t ]) list ]) list ]) list | `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