Builder

class Builder

Properties

Link copied to clipboard

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

Link copied to clipboard

The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials.

Link copied to clipboard

The name of the database. This parameter is required when authenticating using either Secrets Manager or temporary credentials.

Link copied to clipboard

The database user name. This parameter is required when connecting to a cluster as a database user and authenticating using temporary credentials.

Link copied to clipboard

The parameters for the SQL statement.

Link copied to clipboard

The data format of the result of the SQL statement. If no format is specified, the default is JSON.

Link copied to clipboard

The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using Secrets Manager.

Link copied to clipboard

The session identifier of the query.

Link copied to clipboard

The number of seconds to keep the session alive after the query finishes. The maximum time a session can keep alive is 24 hours. After 24 hours, the session is forced closed and the query is terminated.

Link copied to clipboard
var sql: String?

The SQL statement text to run.

Link copied to clipboard

The name of the SQL statement. You can name the SQL statement when you create it to identify the query.

Link copied to clipboard

A value that indicates whether to send an event to the Amazon EventBridge event bus after the SQL statement runs.

Link copied to clipboard

The serverless workgroup name or Amazon Resource Name (ARN). This parameter is required when connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.