Class: Aws::GlueDataBrew::Types::DatasetParameter

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

Overview

Note:

When making an API call, you may pass DatasetParameter data as a hash:

{
  name: "PathParameterName", # required
  type: "Datetime", # required, accepts Datetime, Number, String
  datetime_options: {
    format: "DatetimeFormat", # required
    timezone_offset: "TimezoneOffset",
    locale_code: "LocaleCode",
  },
  create_column: false,
  filter: {
    expression: "Expression", # required
    values_map: { # required
      "ValueReference" => "ConditionValue",
    },
  },
}

Represents a dataset paramater that defines type and conditions for a parameter in the Amazon S3 path of the dataset.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#create_columnBoolean

Optional boolean value that defines whether the captured value of this parameter should be used to create a new column in a dataset.

Returns:

  • (Boolean)


1454
1455
1456
1457
1458
1459
1460
1461
1462
# File 'gems/aws-sdk-gluedatabrew/lib/aws-sdk-gluedatabrew/types.rb', line 1454

class DatasetParameter < Struct.new(
  :name,
  :type,
  :datetime_options,
  :create_column,
  :filter)
  SENSITIVE = []
  include Aws::Structure
end

#datetime_optionsTypes::DatetimeOptions

Additional parameter options such as a format and a timezone. Required for datetime parameters.



1454
1455
1456
1457
1458
1459
1460
1461
1462
# File 'gems/aws-sdk-gluedatabrew/lib/aws-sdk-gluedatabrew/types.rb', line 1454

class DatasetParameter < Struct.new(
  :name,
  :type,
  :datetime_options,
  :create_column,
  :filter)
  SENSITIVE = []
  include Aws::Structure
end

#filterTypes::FilterExpression

The optional filter expression structure to apply additional matching criteria to the parameter.



1454
1455
1456
1457
1458
1459
1460
1461
1462
# File 'gems/aws-sdk-gluedatabrew/lib/aws-sdk-gluedatabrew/types.rb', line 1454

class DatasetParameter < Struct.new(
  :name,
  :type,
  :datetime_options,
  :create_column,
  :filter)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the parameter that is used in the dataset's Amazon S3 path.

Returns:

  • (String)


1454
1455
1456
1457
1458
1459
1460
1461
1462
# File 'gems/aws-sdk-gluedatabrew/lib/aws-sdk-gluedatabrew/types.rb', line 1454

class DatasetParameter < Struct.new(
  :name,
  :type,
  :datetime_options,
  :create_column,
  :filter)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of the dataset parameter, can be one of a 'String', 'Number' or 'Datetime'.

Returns:

  • (String)


1454
1455
1456
1457
1458
1459
1460
1461
1462
# File 'gems/aws-sdk-gluedatabrew/lib/aws-sdk-gluedatabrew/types.rb', line 1454

class DatasetParameter < Struct.new(
  :name,
  :type,
  :datetime_options,
  :create_column,
  :filter)
  SENSITIVE = []
  include Aws::Structure
end