Module Values_1.RedshiftDatasetDefinitionSource

Configuration for Redshift Dataset Definition input.

Sourcetype nonrec t = {
  1. clusterId : RedshiftClusterId.t;
  2. database : RedshiftDatabase.t;
  3. dbUser : RedshiftUserName.t;
  4. queryString : RedshiftQueryString.t;
  5. clusterRoleArn : Values_0.RoleArn.t;
    (*

    The IAM role attached to your Redshift cluster that Amazon SageMaker uses to generate datasets.

    *)
  6. outputS3Uri : Values_0.S3Uri.t;
    (*

    The location in Amazon S3 where the Redshift query results are stored.

    *)
  7. kmsKeyId : Values_0.KmsKeyId.t option;
    (*

    The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data from a Redshift execution.

    *)
  8. outputFormat : RedshiftResultFormat.t;
  9. outputCompression : RedshiftResultCompressionType.t option;
}
Sourceval context_ : string
Sourceval make : ?kmsKeyId:??? -> ?outputCompression:??? -> clusterId:RedshiftClusterId.t -> database:RedshiftDatabase.t -> dbUser:RedshiftUserName.t -> queryString:RedshiftQueryString.t -> clusterRoleArn:Values_0.RoleArn.t -> outputS3Uri:Values_0.S3Uri.t -> outputFormat:RedshiftResultFormat.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of RedshiftClusterId.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