Values.CreateGlobalSecondaryIndexActionSourceRepresents a new global secondary index to be added to an existing table.
type nonrec t = {indexName : IndexName.t;The name of the global secondary index to be created.
*)keySchema : KeySchema.t;The key schema for the global secondary index. Global secondary index supports up to 4 partition and up to 4 sort keys.
*)projection : Projection.t;Represents attributes that are copied (projected) from the table into an index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
*)provisionedThroughput : ProvisionedThroughput.t option;Represents the provisioned throughput settings for the specified global secondary index. For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
*)onDemandThroughput : OnDemandThroughput.t option;The maximum number of read and write units for the global secondary index being created. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both. You must use either OnDemand Throughput or ProvisionedThroughput based on your table's capacity mode.
*)warmThroughput : WarmThroughput.t option;Represents the warm throughput value (in read units per second and write units per second) when creating a secondary index.
*)}val make :
?provisionedThroughput:??? ->
?onDemandThroughput:??? ->
?warmThroughput:??? ->
indexName:IndexName.t ->
keySchema:KeySchema.t ->
projection:Projection.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Enum of string
| `String of KeySchemaAttributeName.t ])
list ]
list
| `String of IndexName.t
| `Structure of
(string
* [> `Enum of string
| `List of [> `String of NonKeyAttributeName.t ] list
| `Long of PositiveLongObject.t ])
list ])
list ]