amazonka-m2-2.0: Amazon MainframeModernization 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.M2.Types.PrimaryKey

Description

 
Synopsis

Documentation

data PrimaryKey Source #

The primary key for a KSDS data set.

See: newPrimaryKey smart constructor.

Constructors

PrimaryKey' 

Fields

  • name :: Maybe Text

    A name for the Primary Key.

  • length :: Int

    A strictly positive integer value representing the length of the primary key.

  • offset :: Int

    A positive integer value representing the offset to mark the start of the primary key in the record byte array.

Instances

Instances details
FromJSON PrimaryKey Source # 
Instance details

Defined in Amazonka.M2.Types.PrimaryKey

ToJSON PrimaryKey Source # 
Instance details

Defined in Amazonka.M2.Types.PrimaryKey

Generic PrimaryKey Source # 
Instance details

Defined in Amazonka.M2.Types.PrimaryKey

Associated Types

type Rep PrimaryKey :: Type -> Type #

Read PrimaryKey Source # 
Instance details

Defined in Amazonka.M2.Types.PrimaryKey

Show PrimaryKey Source # 
Instance details

Defined in Amazonka.M2.Types.PrimaryKey

NFData PrimaryKey Source # 
Instance details

Defined in Amazonka.M2.Types.PrimaryKey

Methods

rnf :: PrimaryKey -> () #

Eq PrimaryKey Source # 
Instance details

Defined in Amazonka.M2.Types.PrimaryKey

Hashable PrimaryKey Source # 
Instance details

Defined in Amazonka.M2.Types.PrimaryKey

type Rep PrimaryKey Source # 
Instance details

Defined in Amazonka.M2.Types.PrimaryKey

type Rep PrimaryKey = D1 ('MetaData "PrimaryKey" "Amazonka.M2.Types.PrimaryKey" "amazonka-m2-2.0-1kXEGTJs74f5RPbatSDeMH" 'False) (C1 ('MetaCons "PrimaryKey'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "length") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "offset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newPrimaryKey Source #

Create a value of PrimaryKey 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:name:PrimaryKey', primaryKey_name - A name for the Primary Key.

$sel:length:PrimaryKey', primaryKey_length - A strictly positive integer value representing the length of the primary key.

$sel:offset:PrimaryKey', primaryKey_offset - A positive integer value representing the offset to mark the start of the primary key in the record byte array.

primaryKey_name :: Lens' PrimaryKey (Maybe Text) Source #

A name for the Primary Key.

primaryKey_length :: Lens' PrimaryKey Int Source #

A strictly positive integer value representing the length of the primary key.

primaryKey_offset :: Lens' PrimaryKey Int Source #

A positive integer value representing the offset to mark the start of the primary key in the record byte array.