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

Class: Aws::QuickSight::Types::CustomSql

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

Overview

Note:

When passing CustomSql as input to an Aws::Client method, you can use a vanilla Hash:

{
  data_source_arn: "Arn", # required
  name: "CustomSqlName", # required
  sql_query: "SqlQuery", # required
  columns: [
    {
      name: "ColumnName", # required
      type: "STRING", # required, accepts STRING, INTEGER, DECIMAL, DATETIME, BIT, BOOLEAN, JSON
    },
  ],
}

A physical table type built from the results of the custom SQL query.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#columnsArray<Types::InputColumn>

The column schema from the SQL query result set.

Returns:

#data_source_arnString

The Amazon Resource Name (ARN) of the data source.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the data source.

#nameString

A display name for the SQL query result.

Returns:

  • (String)

    A display name for the SQL query result.

#sql_queryString

The SQL query.

Returns:

  • (String)

    The SQL query.