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

Description

 
Synopsis

Documentation

data VsamAttributes Source #

The attributes of a VSAM type data set.

See: newVsamAttributes smart constructor.

Constructors

VsamAttributes' 

Fields

  • alternateKeys :: Maybe [AlternateKey]

    The alternate key definitions, if any. A legacy dataset might not have any alternate key defined, but if those alternate keys definitions exist, provide them as some applications will make use of them.

  • compressed :: Maybe Bool

    Indicates whether indexes for this dataset are stored as compressed values. If you have a large data set (typically > 100 Mb), consider setting this flag to True.

  • encoding :: Maybe Text

    The character set used by the data set. Can be ASCII, EBCDIC, or unknown.

  • primaryKey :: Maybe PrimaryKey

    The primary key of the data set.

  • format :: Text

    The record format of the data set.

Instances

Instances details
ToJSON VsamAttributes Source # 
Instance details

Defined in Amazonka.M2.Types.VsamAttributes

Generic VsamAttributes Source # 
Instance details

Defined in Amazonka.M2.Types.VsamAttributes

Associated Types

type Rep VsamAttributes :: Type -> Type #

Read VsamAttributes Source # 
Instance details

Defined in Amazonka.M2.Types.VsamAttributes

Show VsamAttributes Source # 
Instance details

Defined in Amazonka.M2.Types.VsamAttributes

NFData VsamAttributes Source # 
Instance details

Defined in Amazonka.M2.Types.VsamAttributes

Methods

rnf :: VsamAttributes -> () #

Eq VsamAttributes Source # 
Instance details

Defined in Amazonka.M2.Types.VsamAttributes

Hashable VsamAttributes Source # 
Instance details

Defined in Amazonka.M2.Types.VsamAttributes

type Rep VsamAttributes Source # 
Instance details

Defined in Amazonka.M2.Types.VsamAttributes

type Rep VsamAttributes = D1 ('MetaData "VsamAttributes" "Amazonka.M2.Types.VsamAttributes" "amazonka-m2-2.0-1kXEGTJs74f5RPbatSDeMH" 'False) (C1 ('MetaCons "VsamAttributes'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "alternateKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AlternateKey])) :*: S1 ('MetaSel ('Just "compressed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "encoding") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "primaryKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PrimaryKey)) :*: S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newVsamAttributes Source #

Create a value of VsamAttributes 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:alternateKeys:VsamAttributes', vsamAttributes_alternateKeys - The alternate key definitions, if any. A legacy dataset might not have any alternate key defined, but if those alternate keys definitions exist, provide them as some applications will make use of them.

$sel:compressed:VsamAttributes', vsamAttributes_compressed - Indicates whether indexes for this dataset are stored as compressed values. If you have a large data set (typically > 100 Mb), consider setting this flag to True.

$sel:encoding:VsamAttributes', vsamAttributes_encoding - The character set used by the data set. Can be ASCII, EBCDIC, or unknown.

$sel:primaryKey:VsamAttributes', vsamAttributes_primaryKey - The primary key of the data set.

$sel:format:VsamAttributes', vsamAttributes_format - The record format of the data set.

vsamAttributes_alternateKeys :: Lens' VsamAttributes (Maybe [AlternateKey]) Source #

The alternate key definitions, if any. A legacy dataset might not have any alternate key defined, but if those alternate keys definitions exist, provide them as some applications will make use of them.

vsamAttributes_compressed :: Lens' VsamAttributes (Maybe Bool) Source #

Indicates whether indexes for this dataset are stored as compressed values. If you have a large data set (typically > 100 Mb), consider setting this flag to True.

vsamAttributes_encoding :: Lens' VsamAttributes (Maybe Text) Source #

The character set used by the data set. Can be ASCII, EBCDIC, or unknown.

vsamAttributes_format :: Lens' VsamAttributes Text Source #

The record format of the data set.