amazonka-databrew-2.0: Amazon Glue DataBrew SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DataBrew.Types.DatetimeOptions

Description

 
Synopsis

Documentation

data DatetimeOptions Source #

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

See: newDatetimeOptions smart constructor.

Constructors

DatetimeOptions' 

Fields

  • localeCode :: Maybe Text

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

  • timezoneOffset :: Maybe Text

    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.

  • format :: Text

    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".

Instances

Instances details
FromJSON DatetimeOptions Source # 
Instance details

Defined in Amazonka.DataBrew.Types.DatetimeOptions

ToJSON DatetimeOptions Source # 
Instance details

Defined in Amazonka.DataBrew.Types.DatetimeOptions

Generic DatetimeOptions Source # 
Instance details

Defined in Amazonka.DataBrew.Types.DatetimeOptions

Associated Types

type Rep DatetimeOptions :: Type -> Type #

Read DatetimeOptions Source # 
Instance details

Defined in Amazonka.DataBrew.Types.DatetimeOptions

Show DatetimeOptions Source # 
Instance details

Defined in Amazonka.DataBrew.Types.DatetimeOptions

NFData DatetimeOptions Source # 
Instance details

Defined in Amazonka.DataBrew.Types.DatetimeOptions

Methods

rnf :: DatetimeOptions -> () #

Eq DatetimeOptions Source # 
Instance details

Defined in Amazonka.DataBrew.Types.DatetimeOptions

Hashable DatetimeOptions Source # 
Instance details

Defined in Amazonka.DataBrew.Types.DatetimeOptions

type Rep DatetimeOptions Source # 
Instance details

Defined in Amazonka.DataBrew.Types.DatetimeOptions

type Rep DatetimeOptions = D1 ('MetaData "DatetimeOptions" "Amazonka.DataBrew.Types.DatetimeOptions" "amazonka-databrew-2.0-GJMXoRzRb387Yq6XNY29RM" 'False) (C1 ('MetaCons "DatetimeOptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "localeCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "timezoneOffset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newDatetimeOptions Source #

Create a value of DatetimeOptions with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:localeCode:DatetimeOptions', datetimeOptions_localeCode - Optional value for a non-US locale code, needed for correct interpretation of some date formats.

$sel:timezoneOffset:DatetimeOptions', datetimeOptions_timezoneOffset - 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.

$sel:format:DatetimeOptions', datetimeOptions_format - 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".

datetimeOptions_localeCode :: Lens' DatetimeOptions (Maybe Text) Source #

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

datetimeOptions_timezoneOffset :: Lens' DatetimeOptions (Maybe Text) Source #

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.

datetimeOptions_format :: Lens' DatetimeOptions Text Source #

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".