amazonka-glue-2.0: Amazon Glue 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.Glue.Types.DecimalNumber

Description

 
Synopsis

Documentation

data DecimalNumber Source #

Contains a numeric value in decimal format.

See: newDecimalNumber smart constructor.

Constructors

DecimalNumber' 

Fields

  • unscaledValue :: Base64

    The unscaled numeric value.

  • scale :: Int

    The scale that determines where the decimal point falls in the unscaled value.

Instances

Instances details
FromJSON DecimalNumber Source # 
Instance details

Defined in Amazonka.Glue.Types.DecimalNumber

ToJSON DecimalNumber Source # 
Instance details

Defined in Amazonka.Glue.Types.DecimalNumber

Generic DecimalNumber Source # 
Instance details

Defined in Amazonka.Glue.Types.DecimalNumber

Associated Types

type Rep DecimalNumber :: Type -> Type #

Read DecimalNumber Source # 
Instance details

Defined in Amazonka.Glue.Types.DecimalNumber

Show DecimalNumber Source # 
Instance details

Defined in Amazonka.Glue.Types.DecimalNumber

NFData DecimalNumber Source # 
Instance details

Defined in Amazonka.Glue.Types.DecimalNumber

Methods

rnf :: DecimalNumber -> () #

Eq DecimalNumber Source # 
Instance details

Defined in Amazonka.Glue.Types.DecimalNumber

Hashable DecimalNumber Source # 
Instance details

Defined in Amazonka.Glue.Types.DecimalNumber

type Rep DecimalNumber Source # 
Instance details

Defined in Amazonka.Glue.Types.DecimalNumber

type Rep DecimalNumber = D1 ('MetaData "DecimalNumber" "Amazonka.Glue.Types.DecimalNumber" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "DecimalNumber'" 'PrefixI 'True) (S1 ('MetaSel ('Just "unscaledValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Base64) :*: S1 ('MetaSel ('Just "scale") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDecimalNumber Source #

Create a value of DecimalNumber 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:unscaledValue:DecimalNumber', decimalNumber_unscaledValue - The unscaled numeric value.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

$sel:scale:DecimalNumber', decimalNumber_scale - The scale that determines where the decimal point falls in the unscaled value.

decimalNumber_unscaledValue :: Lens' DecimalNumber ByteString Source #

The unscaled numeric value.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

decimalNumber_scale :: Lens' DecimalNumber Int Source #

The scale that determines where the decimal point falls in the unscaled value.