Class: Aws::GlueDataBrew::Types::DatetimeOptions

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

{
  format: "DatetimeFormat", # required
  timezone_offset: "TimezoneOffset",
  locale_code: "LocaleCode",
}

Represents additional options for correct interpretation of datetime parameters used in the Amazon S3 path of a dataset.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#formatString

Required option, that defines the datetime format used for a date parameter in the Amazon S3 path. Should use only supported datetime specifiers and separation characters, all literal a-z or A-Z characters should be escaped with single quotes. E.g. "MM.dd.yyyy-'at'-HH:mm".

Returns:

  • (String)


1499
1500
1501
1502
1503
1504
1505
# File 'gems/aws-sdk-gluedatabrew/lib/aws-sdk-gluedatabrew/types.rb', line 1499

class DatetimeOptions < Struct.new(
  :format,
  :timezone_offset,
  :locale_code)
  SENSITIVE = []
  include Aws::Structure
end

#locale_codeString

Optional value for a non-US locale code, needed for correct interpretation of some date formats.

Returns:

  • (String)


1499
1500
1501
1502
1503
1504
1505
# File 'gems/aws-sdk-gluedatabrew/lib/aws-sdk-gluedatabrew/types.rb', line 1499

class DatetimeOptions < Struct.new(
  :format,
  :timezone_offset,
  :locale_code)
  SENSITIVE = []
  include Aws::Structure
end

#timezone_offsetString

Optional value for a timezone offset of the datetime parameter value in the Amazon S3 path. Shouldn't be used if Format for this parameter includes timezone fields. If no offset specified, UTC is assumed.

Returns:

  • (String)


1499
1500
1501
1502
1503
1504
1505
# File 'gems/aws-sdk-gluedatabrew/lib/aws-sdk-gluedatabrew/types.rb', line 1499

class DatetimeOptions < Struct.new(
  :format,
  :timezone_offset,
  :locale_code)
  SENSITIVE = []
  include Aws::Structure
end