amazonka-keyspaces-2.0: Amazon Keyspaces 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.KeySpaces.Types.PartitionKey

Description

 
Synopsis

Documentation

data PartitionKey Source #

The partition key portion of the primary key is required and determines how Amazon Keyspaces stores the data. The partition key can be a single column, or it can be a compound value composed of two or more columns.

See: newPartitionKey smart constructor.

Constructors

PartitionKey' 

Fields

  • name :: Text

    The name(s) of the partition key column(s).

Instances

Instances details
FromJSON PartitionKey Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PartitionKey

ToJSON PartitionKey Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PartitionKey

Generic PartitionKey Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PartitionKey

Associated Types

type Rep PartitionKey :: Type -> Type #

Read PartitionKey Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PartitionKey

Show PartitionKey Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PartitionKey

NFData PartitionKey Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PartitionKey

Methods

rnf :: PartitionKey -> () #

Eq PartitionKey Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PartitionKey

Hashable PartitionKey Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PartitionKey

type Rep PartitionKey Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PartitionKey

type Rep PartitionKey = D1 ('MetaData "PartitionKey" "Amazonka.KeySpaces.Types.PartitionKey" "amazonka-keyspaces-2.0-IgmNF4xdaFLH03VHAkrBWw" 'False) (C1 ('MetaCons "PartitionKey'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newPartitionKey Source #

Create a value of PartitionKey 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:PartitionKey', partitionKey_name - The name(s) of the partition key column(s).

partitionKey_name :: Lens' PartitionKey Text Source #

The name(s) of the partition key column(s).