AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::GlueDataBrew::Types::PathOptions

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

{
  last_modified_date_condition: {
    expression: "Expression", # required
    values_map: { # required
      "ValueReference" => "ConditionValue",
    },
  },
  files_limit: {
    max_files: 1, # required
    ordered_by: "LAST_MODIFIED_DATE", # accepts LAST_MODIFIED_DATE
    order: "DESCENDING", # accepts DESCENDING, ASCENDING
  },
  parameters: {
    "PathParameterName" => {
      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 set of options that define how DataBrew selects files for a given Amazon S3 path in a dataset.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#files_limitTypes::FilesLimit

If provided, this structure imposes a limit on a number of files that should be selected.

Returns:



3699
3700
3701
3702
3703
3704
3705
# File 'gems/aws-sdk-gluedatabrew/lib/aws-sdk-gluedatabrew/types.rb', line 3699

class PathOptions < Struct.new(
  :last_modified_date_condition,
  :files_limit,
  :parameters)
  SENSITIVE = []
  include Aws::Structure
end

#last_modified_date_conditionTypes::FilterExpression

If provided, this structure defines a date range for matching Amazon S3 objects based on their LastModifiedDate attribute in Amazon S3.



3699
3700
3701
3702
3703
3704
3705
# File 'gems/aws-sdk-gluedatabrew/lib/aws-sdk-gluedatabrew/types.rb', line 3699

class PathOptions < Struct.new(
  :last_modified_date_condition,
  :files_limit,
  :parameters)
  SENSITIVE = []
  include Aws::Structure
end

#parametersHash<String,Types::DatasetParameter>

A structure that maps names of parameters used in the Amazon S3 path of a dataset to their definitions.

Returns:



3699
3700
3701
3702
3703
3704
3705
# File 'gems/aws-sdk-gluedatabrew/lib/aws-sdk-gluedatabrew/types.rb', line 3699

class PathOptions < Struct.new(
  :last_modified_date_condition,
  :files_limit,
  :parameters)
  SENSITIVE = []
  include Aws::Structure
end