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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb

Overview

Note:

When making an API call, you may pass CustomSql data as a 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#columnsArray<Types::InputColumn>

The column schema from the SQL query result set.

Returns:



1906
1907
1908
1909
1910
1911
1912
1913
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 1906

class CustomSql < Struct.new(
  :data_source_arn,
  :name,
  :sql_query,
  :columns)
  SENSITIVE = []
  include Aws::Structure
end

#data_source_arnString

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

Returns:

  • (String)


1906
1907
1908
1909
1910
1911
1912
1913
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 1906

class CustomSql < Struct.new(
  :data_source_arn,
  :name,
  :sql_query,
  :columns)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

A display name for the SQL query result.

Returns:

  • (String)


1906
1907
1908
1909
1910
1911
1912
1913
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 1906

class CustomSql < Struct.new(
  :data_source_arn,
  :name,
  :sql_query,
  :columns)
  SENSITIVE = []
  include Aws::Structure
end

#sql_queryString

The SQL query.

Returns:

  • (String)


1906
1907
1908
1909
1910
1911
1912
1913
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 1906

class CustomSql < Struct.new(
  :data_source_arn,
  :name,
  :sql_query,
  :columns)
  SENSITIVE = []
  include Aws::Structure
end