Module Smaws_Client_CognitoIdentityProvider.CreateUserPoolReplica

Creates a replica of an existing user pool in a specified Amazon Web Services Region. The replica enables multi-region replication for high availability and disaster recovery. To create a replica, you must have permissions to create user pools in the target Region.

Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.

Learn more

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `FeatureUnavailableInTierException of Types.feature_unavailable_in_tier_exception | `InternalErrorException of Types.internal_error_exception | `InvalidParameterException of Types.invalid_parameter_exception | `LimitExceededException of Types.limit_exceeded_exception | `NotAuthorizedException of Types.not_authorized_exception | `OperationNotEnabledException of Types.operation_not_enabled_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `TooManyRequestsException of Types.too_many_requests_exception | `UserPoolTaggingException of Types.user_pool_tagging_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.create_user_pool_replica_request -> (Types.create_user_pool_replica_response, [> Smaws_Lib.Protocols.AwsJson.error | `FeatureUnavailableInTierException of Types.feature_unavailable_in_tier_exception | `InternalErrorException of Types.internal_error_exception | `InvalidParameterException of Types.invalid_parameter_exception | `LimitExceededException of Types.limit_exceeded_exception | `NotAuthorizedException of Types.not_authorized_exception | `OperationNotEnabledException of Types.operation_not_enabled_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `TooManyRequestsException of Types.too_many_requests_exception | `UserPoolTaggingException of Types.user_pool_tagging_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.create_user_pool_replica_request -> (Types.create_user_pool_replica_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `FeatureUnavailableInTierException of Types.feature_unavailable_in_tier_exception | `InternalErrorException of Types.internal_error_exception | `InvalidParameterException of Types.invalid_parameter_exception | `LimitExceededException of Types.limit_exceeded_exception | `NotAuthorizedException of Types.not_authorized_exception | `OperationNotEnabledException of Types.operation_not_enabled_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `TooManyRequestsException of Types.too_many_requests_exception | `UserPoolTaggingException of Types.user_pool_tagging_exception ] * Smaws_Lib.Response.metadata) Stdlib.result