Module Values.RestoreTableRequestSource

Restores the table to the specified point in time within the earliest_restorable_timestamp and the current time. For more information about restore points, see Time window for PITR continuous backups in the Amazon Keyspaces Developer Guide. Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account. When you restore using point in time recovery, Amazon Keyspaces restores your source table's schema and data to the state based on the selected timestamp (day:hour:minute:second) to a new table. The Time to Live (TTL) settings are also restored to the state based on the selected timestamp. In addition to the table's schema, data, and TTL settings, RestoreTable restores the capacity mode, auto scaling settings, encryption settings, and point-in-time recovery settings from the source table. Unlike the table's schema data and TTL settings, which are restored based on the selected timestamp, these settings are always restored based on the table's settings as of the current time or when the table was deleted. You can also overwrite these settings during restore: Read/write capacity mode Provisioned throughput capacity units Auto scaling settings Point-in-time (PITR) settings Tags For more information, see PITR restore settings in the Amazon Keyspaces Developer Guide. Note that the following settings are not restored, and you must configure them manually for the new table: Identity and Access Management (IAM) policies Amazon CloudWatch metrics and alarms

Sourcetype nonrec t = {
  1. sourceKeyspaceName : KeyspaceName.t;
    (*

    The keyspace name of the source table.

    *)
  2. sourceTableName : TableName.t;
    (*

    The name of the source table.

    *)
  3. targetKeyspaceName : KeyspaceName.t;
    (*

    The name of the target keyspace.

    *)
  4. targetTableName : TableName.t;
    (*

    The name of the target table.

    *)
  5. restoreTimestamp : Timestamp.t option;
    (*

    The restore timestamp in ISO 8601 format.

    *)
  6. capacitySpecificationOverride : CapacitySpecification.t option;
    (*

    Specifies the read/write throughput capacity mode for the target table. The options are: throughputMode:PAY_PER_REQUEST throughputMode:PROVISIONED - Provisioned capacity mode requires readCapacityUnits and writeCapacityUnits as input. The default is throughput_mode:PAY_PER_REQUEST. For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.

    *)
  7. encryptionSpecificationOverride : EncryptionSpecification.t option;
    (*

    Specifies the encryption settings for the target table. You can choose one of the following KMS key (KMS key): type:AWS_OWNED_KMS_KEY - This key is owned by Amazon Keyspaces. type:CUSTOMER_MANAGED_KMS_KEY - This key is stored in your account and is created, owned, and managed by you. This option requires the kms_key_identifier of the KMS key in Amazon Resource Name (ARN) format as input. The default is type:AWS_OWNED_KMS_KEY. For more information, see Encryption at rest in the Amazon Keyspaces Developer Guide.

    *)
  8. pointInTimeRecoveryOverride : PointInTimeRecovery.t option;
    (*

    Specifies the pointInTimeRecovery settings for the target table. The options are: status=ENABLED status=DISABLED If it's not specified, the default is status=DISABLED. For more information, see Point-in-time recovery in the Amazon Keyspaces Developer Guide.

    *)
  9. tagsOverride : TagList.t option;
    (*

    A list of key-value pair tags to be attached to the restored table. For more information, see Adding tags and labels to Amazon Keyspaces resources in the Amazon Keyspaces Developer Guide.

    *)
  10. autoScalingSpecification : AutoScalingSpecification.t option;
    (*

    The optional auto scaling settings for the restored table in provisioned capacity mode. Specifies if the service can manage throughput capacity of a provisioned table automatically on your behalf. Amazon Keyspaces auto scaling helps you provision throughput capacity for variable workloads efficiently by increasing and decreasing your table's read and write capacity automatically in response to application traffic. For more information, see Managing throughput capacity automatically with Amazon Keyspaces auto scaling in the Amazon Keyspaces Developer Guide.

    *)
  11. replicaSpecifications : ReplicaSpecificationList.t option;
    (*

    The optional Region specific settings of a multi-Regional table.

    *)
}
Sourceval context_ : string
Sourceval make : ?restoreTimestamp:??? -> ?capacitySpecificationOverride:??? -> ?encryptionSpecificationOverride:??? -> ?pointInTimeRecoveryOverride:??? -> ?tagsOverride:??? -> ?autoScalingSpecification:??? -> ?replicaSpecifications:??? -> sourceKeyspaceName:KeyspaceName.t -> sourceTableName:TableName.t -> targetKeyspaceName:KeyspaceName.t -> targetTableName:TableName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Long of CapacityUnits.t | `String of TagKey.t | `Structure of (string * [> `Boolean of BooleanObject.t | `Long of CapacityUnits.t | `Structure of (string * [> `Structure of (string * [> `Boolean of BooleanObject.t | `Double of DoubleObject.t | `Integer of IntegerObject.t ]) list ]) list ]) list ]) list ] list | `String of KeyspaceName.t | `Structure of (string * [> `Enum of string | `Long of CapacityUnits.t | `String of KmsKeyARN.t | `Structure of (string * [> `Boolean of BooleanObject.t | `Long of CapacityUnits.t | `Structure of (string * [> `Structure of (string * [> `Boolean of BooleanObject.t | `Double of DoubleObject.t | `Integer of IntegerObject.t ]) list ]) list ]) list ]) list | `Timestamp of Timestamp.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