Module Values.DecreaseNodeGroupsInGlobalReplicationGroupMessageSource

Decreases the number of node groups in a Global datastore

Sourcetype nonrec t = {
  1. globalReplicationGroupId : String_.t;
    (*

    The name of the Global datastore

    *)
  2. nodeGroupCount : Integer.t;
    (*

    The number of node groups (shards) that results from the modification of the shard configuration

    *)
  3. globalNodeGroupsToRemove : GlobalNodeGroupIdList.t option;
    (*

    If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. GlobalNodeGroupsToRemove is a list of NodeGroupIds to remove from the cluster. ElastiCache will attempt to remove all node groups listed by GlobalNodeGroupsToRemove from the cluster.

    *)
  4. globalNodeGroupsToRetain : GlobalNodeGroupIdList.t option;
    (*

    If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. GlobalNodeGroupsToRetain is a list of NodeGroupIds to retain from the cluster. ElastiCache will attempt to retain all node groups listed by GlobalNodeGroupsToRetain from the cluster.

    *)
  5. applyImmediately : Boolean.t;
    (*

    Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value for this parameter is true.

    *)
}
Sourceval context_ : string
Sourceval make : ?globalNodeGroupsToRemove:??? -> ?globalNodeGroupsToRetain:??? -> globalReplicationGroupId:String_.t -> nodeGroupCount:Integer.t -> applyImmediately:Boolean.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Integer of Integer.t | `List of [> `String of String_.t ] list | `String of String_.t ]) 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