Smaws_Client_DatabaseMigrationService.CreateReplicationInstanceCreates the replication instance using the specified parameters.
DMS requires that your account have certain roles with appropriate permissions before you can create a replication instance. For information on the required roles, see Creating the IAM Roles to Use With the CLI and DMS API. For information on the required permissions, see IAM Permissions Needed to Use DMS.
If you don't specify a version when creating a replication instance, DMS will create the instance using the default engine version. For information about the default engine version, see Release Notes.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedFault of Types.access_denied_fault
| `InsufficientResourceCapacityFault of
Types.insufficient_resource_capacity_fault
| `InvalidResourceStateFault of Types.invalid_resource_state_fault
| `InvalidSubnet of Types.invalid_subnet
| `KMSKeyNotAccessibleFault of Types.kms_key_not_accessible_fault
| `ReplicationSubnetGroupDoesNotCoverEnoughAZs of
Types.replication_subnet_group_does_not_cover_enough_a_zs
| `ResourceAlreadyExistsFault of Types.resource_already_exists_fault
| `ResourceNotFoundFault of Types.resource_not_found_fault
| `ResourceQuotaExceededFault of Types.resource_quota_exceeded_fault
| `StorageQuotaExceededFault of Types.storage_quota_exceeded_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_replication_instance_message ->
(Types.create_replication_instance_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedFault of Types.access_denied_fault
| `InsufficientResourceCapacityFault of
Types.insufficient_resource_capacity_fault
| `InvalidResourceStateFault of Types.invalid_resource_state_fault
| `InvalidSubnet of Types.invalid_subnet
| `KMSKeyNotAccessibleFault of Types.kms_key_not_accessible_fault
| `ReplicationSubnetGroupDoesNotCoverEnoughAZs of
Types.replication_subnet_group_does_not_cover_enough_a_zs
| `ResourceAlreadyExistsFault of Types.resource_already_exists_fault
| `ResourceNotFoundFault of Types.resource_not_found_fault
| `ResourceQuotaExceededFault of Types.resource_quota_exceeded_fault
| `StorageQuotaExceededFault of Types.storage_quota_exceeded_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_replication_instance_message ->
(Types.create_replication_instance_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedFault of Types.access_denied_fault
| `InsufficientResourceCapacityFault of
Types.insufficient_resource_capacity_fault
| `InvalidResourceStateFault of Types.invalid_resource_state_fault
| `InvalidSubnet of Types.invalid_subnet
| `KMSKeyNotAccessibleFault of Types.kms_key_not_accessible_fault
| `ReplicationSubnetGroupDoesNotCoverEnoughAZs of
Types.replication_subnet_group_does_not_cover_enough_a_zs
| `ResourceAlreadyExistsFault of Types.resource_already_exists_fault
| `ResourceNotFoundFault of Types.resource_not_found_fault
| `ResourceQuotaExceededFault of Types.resource_quota_exceeded_fault
| `StorageQuotaExceededFault of Types.storage_quota_exceeded_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result