libZSservicesZSamazonka-databrewZSamazonka-databrew
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

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

  • localeCode :: Maybe Text

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

  • 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
Eq DatetimeOptions Source # 
Instance details

Defined in Amazonka.DataBrew.Types.DatetimeOptions

Read DatetimeOptions Source # 
Instance details

Defined in Amazonka.DataBrew.Types.DatetimeOptions

Show 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 #

NFData DatetimeOptions Source # 
Instance details

Defined in Amazonka.DataBrew.Types.DatetimeOptions

Methods

rnf :: DatetimeOptions -> () #

Hashable DatetimeOptions Source # 
Instance details

Defined in Amazonka.DataBrew.Types.DatetimeOptions

ToJSON DatetimeOptions Source # 
Instance details

Defined in Amazonka.DataBrew.Types.DatetimeOptions

FromJSON 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" "libZSservicesZSamazonka-databrewZSamazonka-databrew" 'False) (C1 ('MetaCons "DatetimeOptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "timezoneOffset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "localeCode") '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: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:localeCode:DatetimeOptions', datetimeOptions_localeCode - Optional value for a non-US locale code, needed for correct interpretation of some date formats.

$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_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_localeCode :: Lens' DatetimeOptions (Maybe Text) Source #

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

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