Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data PartitionKey = PartitionKey' {}
- newPartitionKey :: Text -> PartitionKey
- partitionKey_name :: Lens' PartitionKey Text
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.
Instances
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).