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

Class: Aws::QuickSight::Types::PhysicalTable

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

Overview

Note:

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

{
  relational_table: {
    data_source_arn: "Arn", # required
    schema: "RelationalTableSchema",
    name: "RelationalTableName", # required
    input_columns: [ # required
      {
        name: "ColumnName", # required
        type: "STRING", # required, accepts STRING, INTEGER, DECIMAL, DATETIME, BIT, BOOLEAN, JSON
      },
    ],
  },
  custom_sql: {
    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
      },
    ],
  },
  s3_source: {
    data_source_arn: "Arn", # required
    upload_settings: {
      format: "CSV", # accepts CSV, TSV, CLF, ELF, XLSX, JSON
      start_from_row: 1,
      contains_header: false,
      text_qualifier: "DOUBLE_QUOTE", # accepts DOUBLE_QUOTE, SINGLE_QUOTE
      delimiter: "Delimiter",
    },
    input_columns: [ # required
      {
        name: "ColumnName", # required
        type: "STRING", # required, accepts STRING, INTEGER, DECIMAL, DATETIME, BIT, BOOLEAN, JSON
      },
    ],
  },
}

A view of a data source that contains information about the shape of the data in the underlying source. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.

Instance Attribute Summary collapse

Instance Attribute Details

#custom_sqlTypes::CustomSql

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

Returns:

  • (Types::CustomSql)

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

#relational_tableTypes::RelationalTable

A physical table type for relational data sources.

Returns:

#s3_sourceTypes::S3Source

A physical table type for as S3 data source.

Returns: