Module Values.UpdateGlobalTableOutputSource

Adds or removes replicas in the specified global table. The global table must already exist to be able to use this operation. Any replica to be added must be empty, have the same name as the global table, have the same key schema, have DynamoDB Streams enabled, and have the same provisioned and maximum write capacity units. This documentation is for version 2017.11.29 (Legacy) of global tables, which should be avoided for new global tables. Customers should use Global Tables version 2019.11.21 (Current) when possible, because it provides greater flexibility, higher efficiency, and consumes less write capacity than 2017.11.29 (Legacy). To determine which version you're using, see Determining the global table version you are using. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Upgrading global tables. If you are using global tables Version 2019.11.21 (Current) you can use UpdateTable instead. Although you can use UpdateGlobalTable to add replicas and remove replicas in a single request, for simplicity we recommend that you issue separate requests for adding or removing replicas. If global secondary indexes are specified, then the following conditions must also be met: The global secondary indexes must have the same name. The global secondary indexes must have the same hash key and sort key (if present). The global secondary indexes must have the same provisioned and maximum write capacity units.

Sourcetype nonrec t = {
  1. globalTableDescription : GlobalTableDescription.t option;
    (*

    Contains the details of the global table.

    *)
}
Sourcetype nonrec error = [
  1. | `GlobalTableNotFoundException of GlobalTableNotFoundException.t
  2. | `InternalServerError of InternalServerError.t
  3. | `ReplicaAlreadyExistsException of ReplicaAlreadyExistsException.t
  4. | `ReplicaNotFoundException of ReplicaNotFoundException.t
  5. | `TableNotFoundException of TableNotFoundException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?globalTableDescription:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `GlobalTableNotFoundException of GlobalTableNotFoundException.t | `InternalServerError of InternalServerError.t | `ReplicaAlreadyExistsException of ReplicaAlreadyExistsException.t | `ReplicaNotFoundException of ReplicaNotFoundException.t | `TableNotFoundException of TableNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `GlobalTableNotFoundException of GlobalTableNotFoundException.t | `InternalServerError of InternalServerError.t | `ReplicaAlreadyExistsException of ReplicaAlreadyExistsException.t | `ReplicaNotFoundException of ReplicaNotFoundException.t | `TableNotFoundException of TableNotFoundException.t | `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 * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of IndexName.t | `Structure of (string * [> `Enum of string | `Long of PositiveLongObject.t ]) list ]) list ] list | `String of RegionName.t | `Structure of (string * [> `Enum of string | `Long of PositiveLongObject.t | `Timestamp of Date.t ]) list | `Timestamp of Date.t ]) list ] list | `String of GlobalTableArnString.t | `Timestamp of Date.t ]) 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