class Aws::RedshiftDataAPIService::Types::ExecuteStatementInput

@note When making an API call, you may pass ExecuteStatementInput

data as a hash:

    {
      cluster_identifier: "Location", # required
      database: "String", # required
      db_user: "String",
      parameters: [
        {
          name: "ParameterName", # required
          value: "ParameterValue", # required
        },
      ],
      secret_arn: "SecretArn",
      sql: "StatementString", # required
      statement_name: "StatementNameString",
      with_event: false,
    }

@!attribute [rw] cluster_identifier

The cluster identifier. This parameter is required when
authenticating using either Secrets Manager or temporary
credentials.
@return [String]

@!attribute [rw] database

The name of the database. This parameter is required when
authenticating using either Secrets Manager or temporary
credentials.
@return [String]

@!attribute [rw] db_user

The database user name. This parameter is required when
authenticating using temporary credentials.
@return [String]

@!attribute [rw] parameters

The parameters for the SQL statement.
@return [Array<Types::SqlParameter>]

@!attribute [rw] secret_arn

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

@!attribute [rw] sql

The SQL statement text to run.
@return [String]

@!attribute [rw] statement_name

The name of the SQL statement. You can name the SQL statement when
you create it to identify the query.
@return [String]

@!attribute [rw] with_event

A value that indicates whether to send an event to the Amazon
EventBridge event bus after the SQL statement runs.
@return [Boolean]

@see docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/ExecuteStatementInput AWS API Documentation

Constants

SENSITIVE