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_atTime

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

Returns:

  • (Time)

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

#idString

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_stringString

The SQL statement.

Returns:

  • (String)

    The SQL statement.

#secret_arnString

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_nameString

The name of the SQL statement.

Returns:

  • (String)

    The name of the SQL statement.

#statusString

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_atTime

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.