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:



2865
2866
2867
2868
2869
2870
2871
2872
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 2865

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)


2865
2866
2867
2868
2869
2870
2871
2872
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 2865

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)


2865
2866
2867
2868
2869
2870
2871
2872
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 2865

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

#sql_queryString

The SQL query.

Returns:

  • (String)


2865
2866
2867
2868
2869
2870
2871
2872
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 2865

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