Amazon Glue DataBrew · JSON Structure

Glue Databrew Datetime Options Structure

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

Type: object Properties: 3 Required: 1
Data AnalyticsData PreparationETLMachine Learning

DatetimeOptions is a JSON Structure definition published by Amazon Glue DataBrew, describing 3 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

Format TimezoneOffset LocaleCode

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-glue-databrew/refs/heads/main/json-structure/glue-databrew-datetime-options-structure.json",
  "name": "DatetimeOptions",
  "description": "Represents additional options for correct interpretation of datetime parameters used in the Amazon S3 path of a dataset.",
  "type": "object",
  "properties": {
    "Format": {
      "allOf": [
        {
          "$ref": "#/components/schemas/DatetimeFormat"
        },
        {
          "description": "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\"."
        }
      ]
    },
    "TimezoneOffset": {
      "allOf": [
        {
          "$ref": "#/components/schemas/TimezoneOffset"
        },
        {
          "description": "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."
        }
      ]
    },
    "LocaleCode": {
      "allOf": [
        {
          "$ref": "#/components/schemas/LocaleCode"
        },
        {
          "description": "Optional value for a non-US locale code, needed for correct interpretation of some date formats."
        }
      ]
    }
  },
  "required": [
    "Format"
  ]
}