Module Values.CreateDataMigrationMessageSource

Creates a data migration using the provided settings.

Sourcetype nonrec t = {
  1. dataMigrationName : String_.t option;
    (*

    A user-friendly name for the data migration. Data migration names have the following constraints: Must begin with a letter, and can only contain ASCII letters, digits, and hyphens. Can't end with a hyphen or contain two consecutive hyphens. Length must be from 1 to 255 characters.

    *)
  2. migrationProjectIdentifier : String_.t;
    (*

    An identifier for the migration project.

    *)
  3. dataMigrationType : MigrationTypeValue.t;
    (*

    Specifies if the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.

    *)
  4. serviceAccessRoleArn : String_.t;
    (*

    The Amazon Resource Name (ARN) for the service access role that you want to use to create the data migration.

    *)
  5. enableCloudwatchLogs : BooleanOptional.t option;
    (*

    Specifies whether to enable CloudWatch logs for the data migration.

    *)
  6. sourceDataSettings : SourceDataSettings.t option;
    (*

    Specifies information about the source data provider.

    *)
  7. targetDataSettings : TargetDataSettings.t option;
    (*

    Specifies information about the target data provider.

    *)
  8. numberOfJobs : IntegerOptional.t option;
    (*

    The number of parallel jobs that trigger parallel threads to unload the tables from the source, and then load them to the target.

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

    One or more tags to be assigned to the data migration.

    *)
  10. selectionRules : SecretString.t option;
    (*

    An optional JSON string specifying what tables, views, and schemas to include or exclude from the migration.

    *)
}
Sourceval context_ : string
Sourceval make : ?dataMigrationName:??? -> ?enableCloudwatchLogs:??? -> ?sourceDataSettings:??? -> ?targetDataSettings:??? -> ?numberOfJobs:??? -> ?tags:??? -> ?selectionRules:??? -> migrationProjectIdentifier:String_.t -> dataMigrationType:MigrationTypeValue.t -> serviceAccessRoleArn:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of BooleanOptional.t | `Enum of string | `Integer of IntegerOptional.t | `List of [> `Structure of (string * [> `Enum of string | `String of String_.t | `Timestamp of Iso8601DateTime.t ]) list ] list | `String of String_.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