Class: Aws::QuickSight::Types::TransformOperation

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 TransformOperation data as a hash:

{
  project_operation: {
    projected_columns: ["String"], # required
  },
  filter_operation: {
    condition_expression: "Expression", # required
  },
  create_columns_operation: {
    columns: [ # required
      {
        column_name: "ColumnName", # required
        column_id: "ColumnId", # required
        expression: "Expression", # required
      },
    ],
  },
  rename_column_operation: {
    column_name: "ColumnName", # required
    new_column_name: "ColumnName", # required
  },
  cast_column_type_operation: {
    column_name: "ColumnName", # required
    new_column_type: "STRING", # required, accepts STRING, INTEGER, DECIMAL, DATETIME
    format: "TypeCastFormat",
  },
  tag_column_operation: {
    column_name: "ColumnName", # required
    tags: [ # required
      {
        column_geographic_role: "COUNTRY", # accepts COUNTRY, STATE, COUNTY, CITY, POSTCODE, LONGITUDE, LATITUDE
      },
    ],
  },
}

A data transformation on a logical table. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cast_column_type_operationTypes::CastColumnTypeOperation

A transform operation that casts a column to a different type.



10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 10358

class TransformOperation < Struct.new(
  :project_operation,
  :filter_operation,
  :create_columns_operation,
  :rename_column_operation,
  :cast_column_type_operation,
  :tag_column_operation)
  SENSITIVE = []
  include Aws::Structure
end

#create_columns_operationTypes::CreateColumnsOperation

An operation that creates calculated columns. Columns created in one such operation form a lexical closure.



10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 10358

class TransformOperation < Struct.new(
  :project_operation,
  :filter_operation,
  :create_columns_operation,
  :rename_column_operation,
  :cast_column_type_operation,
  :tag_column_operation)
  SENSITIVE = []
  include Aws::Structure
end

#filter_operationTypes::FilterOperation

An operation that filters rows based on some condition.



10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 10358

class TransformOperation < Struct.new(
  :project_operation,
  :filter_operation,
  :create_columns_operation,
  :rename_column_operation,
  :cast_column_type_operation,
  :tag_column_operation)
  SENSITIVE = []
  include Aws::Structure
end

#project_operationTypes::ProjectOperation

An operation that projects columns. Operations that come after a projection can only refer to projected columns.



10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 10358

class TransformOperation < Struct.new(
  :project_operation,
  :filter_operation,
  :create_columns_operation,
  :rename_column_operation,
  :cast_column_type_operation,
  :tag_column_operation)
  SENSITIVE = []
  include Aws::Structure
end

#rename_column_operationTypes::RenameColumnOperation

An operation that renames a column.



10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 10358

class TransformOperation < Struct.new(
  :project_operation,
  :filter_operation,
  :create_columns_operation,
  :rename_column_operation,
  :cast_column_type_operation,
  :tag_column_operation)
  SENSITIVE = []
  include Aws::Structure
end

#tag_column_operationTypes::TagColumnOperation

An operation that tags a column with additional information.



10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 10358

class TransformOperation < Struct.new(
  :project_operation,
  :filter_operation,
  :create_columns_operation,
  :rename_column_operation,
  :cast_column_type_operation,
  :tag_column_operation)
  SENSITIVE = []
  include Aws::Structure
end