Values.RedshiftDataParametersSourceThese are custom parameters to be used when the target is a Amazon Redshift cluster to invoke the Amazon Redshift Data API ExecuteStatement based on EventBridge events.
type nonrec t = {secretManagerArn : RedshiftSecretManagerArn.t option;The name or ARN of the secret that enables access to the database. Required when authenticating using Amazon Web Services Secrets Manager.
*)database : Database.t;The name of the database. Required when authenticating using temporary credentials.
*)dbUser : DbUser.t option;The database user name. Required when authenticating using temporary credentials.
*)sql : Sql.t option;The SQL statement text to run.
*)statementName : StatementName.t option;The name of the SQL statement. You can name the SQL statement when you create it to identify the query.
*)withEvent : Boolean.t option;Indicates whether to send an event back to EventBridge after the SQL statement runs.
*)sqls : Sqls.t option;One or more SQL statements to run. The SQL statements are run as a single transaction. They run serially in the order of the array. Subsequent SQL statements don't start until the previous statement in the array completes. If any SQL statement fails, then because they are run as one transaction, all work is rolled back.
*)}val make :
?secretManagerArn:??? ->
?dbUser:??? ->
?sql:??? ->
?statementName:??? ->
?withEvent:??? ->
?sqls:??? ->
database:Database.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Boolean.t
| `List of [> `String of Sql.t ] list
| `String of RedshiftSecretManagerArn.t ])
list ]