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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-redshiftdataapiservice/types.rb

Overview

The SQL statement to run.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#created_atTime

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

Returns:

  • (Time)


1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
# File 'lib/aws-sdk-redshiftdataapiservice/types.rb', line 1464

class StatementData < Struct.new(
  :created_at,
  :id,
  :is_batch_statement,
  :query_parameters,
  :query_string,
  :query_strings,
  :result_format,
  :secret_arn,
  :session_id,
  :statement_name,
  :status,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#idString

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

Returns:

  • (String)


1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
# File 'lib/aws-sdk-redshiftdataapiservice/types.rb', line 1464

class StatementData < Struct.new(
  :created_at,
  :id,
  :is_batch_statement,
  :query_parameters,
  :query_string,
  :query_strings,
  :result_format,
  :secret_arn,
  :session_id,
  :statement_name,
  :status,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#is_batch_statementBoolean

A value that indicates whether the statement is a batch query request.

Returns:

  • (Boolean)


1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
# File 'lib/aws-sdk-redshiftdataapiservice/types.rb', line 1464

class StatementData < Struct.new(
  :created_at,
  :id,
  :is_batch_statement,
  :query_parameters,
  :query_string,
  :query_strings,
  :result_format,
  :secret_arn,
  :session_id,
  :statement_name,
  :status,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#query_parametersArray<Types::SqlParameter>

The parameters used in a SQL statement.

Returns:



1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
# File 'lib/aws-sdk-redshiftdataapiservice/types.rb', line 1464

class StatementData < Struct.new(
  :created_at,
  :id,
  :is_batch_statement,
  :query_parameters,
  :query_string,
  :query_strings,
  :result_format,
  :secret_arn,
  :session_id,
  :statement_name,
  :status,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#query_stringString

The SQL statement.

Returns:

  • (String)


1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
# File 'lib/aws-sdk-redshiftdataapiservice/types.rb', line 1464

class StatementData < Struct.new(
  :created_at,
  :id,
  :is_batch_statement,
  :query_parameters,
  :query_string,
  :query_strings,
  :result_format,
  :secret_arn,
  :session_id,
  :statement_name,
  :status,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#query_stringsArray<String>

One or more SQL statements. Each query string in the array corresponds to one of the queries in a batch query request.

Returns:

  • (Array<String>)


1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
# File 'lib/aws-sdk-redshiftdataapiservice/types.rb', line 1464

class StatementData < Struct.new(
  :created_at,
  :id,
  :is_batch_statement,
  :query_parameters,
  :query_string,
  :query_strings,
  :result_format,
  :secret_arn,
  :session_id,
  :statement_name,
  :status,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#result_formatString

The data format of the result of the SQL statement.

Returns:

  • (String)


1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
# File 'lib/aws-sdk-redshiftdataapiservice/types.rb', line 1464

class StatementData < Struct.new(
  :created_at,
  :id,
  :is_batch_statement,
  :query_parameters,
  :query_string,
  :query_strings,
  :result_format,
  :secret_arn,
  :session_id,
  :statement_name,
  :status,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#secret_arnString

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

Returns:

  • (String)


1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
# File 'lib/aws-sdk-redshiftdataapiservice/types.rb', line 1464

class StatementData < Struct.new(
  :created_at,
  :id,
  :is_batch_statement,
  :query_parameters,
  :query_string,
  :query_strings,
  :result_format,
  :secret_arn,
  :session_id,
  :statement_name,
  :status,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#session_idString

The session identifier of the query.

Returns:

  • (String)


1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
# File 'lib/aws-sdk-redshiftdataapiservice/types.rb', line 1464

class StatementData < Struct.new(
  :created_at,
  :id,
  :is_batch_statement,
  :query_parameters,
  :query_string,
  :query_strings,
  :result_format,
  :secret_arn,
  :session_id,
  :statement_name,
  :status,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#statement_nameString

The name of the SQL statement.

Returns:

  • (String)


1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
# File 'lib/aws-sdk-redshiftdataapiservice/types.rb', line 1464

class StatementData < Struct.new(
  :created_at,
  :id,
  :is_batch_statement,
  :query_parameters,
  :query_string,
  :query_strings,
  :result_format,
  :secret_arn,
  :session_id,
  :statement_name,
  :status,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

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

Returns:

  • (String)


1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
# File 'lib/aws-sdk-redshiftdataapiservice/types.rb', line 1464

class StatementData < Struct.new(
  :created_at,
  :id,
  :is_batch_statement,
  :query_parameters,
  :query_string,
  :query_strings,
  :result_format,
  :secret_arn,
  :session_id,
  :statement_name,
  :status,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#updated_atTime

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

Returns:

  • (Time)


1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
# File 'lib/aws-sdk-redshiftdataapiservice/types.rb', line 1464

class StatementData < Struct.new(
  :created_at,
  :id,
  :is_batch_statement,
  :query_parameters,
  :query_string,
  :query_strings,
  :result_format,
  :secret_arn,
  :session_id,
  :statement_name,
  :status,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end