Smaws_Client_ElastiCache.CreateGlobalReplicationGroupGlobal Datastore offers fully managed, fast, reliable and secure cross-region replication. Using Global Datastore with Valkey or Redis OSS, you can create cross-region read replica clusters for ElastiCache to enable low-latency reads and disaster recovery across regions. For more information, see Replication Across Regions Using Global Datastore.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `GlobalReplicationGroupAlreadyExistsFault of
Types.global_replication_group_already_exists_fault
| `InvalidParameterValueException of Types.invalid_parameter_value_exception
| `InvalidReplicationGroupStateFault of
Types.invalid_replication_group_state_fault
| `ReplicationGroupNotFoundFault of Types.replication_group_not_found_fault
| `ServiceLinkedRoleNotFoundFault of
Types.service_linked_role_not_found_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_global_replication_group_message ->
(Types.create_global_replication_group_result,
[> Smaws_Lib.Protocols.AwsQuery.error
| `GlobalReplicationGroupAlreadyExistsFault of
Types.global_replication_group_already_exists_fault
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception
| `InvalidReplicationGroupStateFault of
Types.invalid_replication_group_state_fault
| `ReplicationGroupNotFoundFault of Types.replication_group_not_found_fault
| `ServiceLinkedRoleNotFoundFault of
Types.service_linked_role_not_found_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_global_replication_group_message ->
(Types.create_global_replication_group_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `GlobalReplicationGroupAlreadyExistsFault of
Types.global_replication_group_already_exists_fault
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception
| `InvalidReplicationGroupStateFault of
Types.invalid_replication_group_state_fault
| `ReplicationGroupNotFoundFault of Types.replication_group_not_found_fault
| `ServiceLinkedRoleNotFoundFault of
Types.service_linked_role_not_found_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result