You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::RedshiftDataAPIService::Types::StatementData

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

The SQL statement to run.

Instance Attribute Summary collapse

Instance Attribute Details

#created_at ⇒ Time

The date and time (UTC) the statement was created.

Returns:

  • (Time) —

    The date and time (UTC) the statement was created.

#id ⇒ String

The SQL statement identifier. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API.

Returns:

  • (String) —

    The SQL statement identifier.

#query_string ⇒ String

The SQL statement.

Returns:

  • (String) —

    The SQL statement.

#secret_arn ⇒ String

The name or Amazon Resource Name (ARN) of the secret that enables access to the database.

Returns:

  • (String) —

    The name or Amazon Resource Name (ARN) of the secret that enables access to the database.

#statement_name ⇒ String

The name of the SQL statement.

Returns:

  • (String) —

    The name of the SQL statement.

#status ⇒ String

The status of the SQL statement. An example is the that the SQL statement finished.

Possible values:

  • ABORTED
  • ALL
  • FAILED
  • FINISHED
  • PICKED
  • STARTED
  • SUBMITTED

Returns:

  • (String) —

    The status of the SQL statement.

#updated_at ⇒ Time

The date and time (UTC) that the statement metadata was last updated.

Returns:

  • (Time) —

    The date and time (UTC) that the statement metadata was last updated.