Class: Aws::QuickSight::Types::CastColumnTypeOperation

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

{
  column_name: "ColumnName", # required
  new_column_type: "STRING", # required, accepts STRING, INTEGER, DECIMAL, DATETIME
  format: "TypeCastFormat",
}

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

Instance Attribute Summary collapse

Instance Attribute Details

#column_nameString

Column name.

Returns:

  • (String)


312
313
314
315
316
317
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 312

class CastColumnTypeOperation < Struct.new(
  :column_name,
  :new_column_type,
  :format)
  include Aws::Structure
end

#formatString

When casting a column from string to datetime type, you can supply a string in a format supported by Amazon QuickSight to denote the source data format.

Returns:

  • (String)


312
313
314
315
316
317
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 312

class CastColumnTypeOperation < Struct.new(
  :column_name,
  :new_column_type,
  :format)
  include Aws::Structure
end

#new_column_typeString

New column data type.

Returns:

  • (String)


312
313
314
315
316
317
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 312

class CastColumnTypeOperation < Struct.new(
  :column_name,
  :new_column_type,
  :format)
  include Aws::Structure
end