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

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2022-02-10 of the Amazon Keyspaces SDK configuration.

Errors

_AccessDeniedException :: AsError a => Fold a ServiceError Source #

You do not have sufficient access to perform this action.

_ConflictException :: AsError a => Fold a ServiceError Source #

Amazon Keyspaces could not complete the requested action. This error may occur if you try to perform an action and the same or a different action is already in progress, or if you try to create a resource that already exists.

_InternalServerException :: AsError a => Fold a ServiceError Source #

Amazon Keyspaces was unable to fully process this request because of an internal server error.

_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #

The operation tried to access a keyspace or table that doesn't exist. The resource might not be specified correctly, or its status might not be ACTIVE.

_ServiceQuotaExceededException :: AsError a => Fold a ServiceError Source #

The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.

_ValidationException :: AsError a => Fold a ServiceError Source #

The operation failed due to an invalid or malformed request.

EncryptionType

newtype EncryptionType Source #

Constructors

EncryptionType' 

Instances

Instances details
FromJSON EncryptionType Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.EncryptionType

FromJSONKey EncryptionType Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.EncryptionType

ToJSON EncryptionType Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.EncryptionType

ToJSONKey EncryptionType Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.EncryptionType

ToByteString EncryptionType Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.EncryptionType

ToHeader EncryptionType Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.EncryptionType

ToLog EncryptionType Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.EncryptionType

ToQuery EncryptionType Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.EncryptionType

FromText EncryptionType Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.EncryptionType

ToText EncryptionType Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.EncryptionType

FromXML EncryptionType Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.EncryptionType

ToXML EncryptionType Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.EncryptionType

Methods

toXML :: EncryptionType -> XML #

Generic EncryptionType Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.EncryptionType

Associated Types

type Rep EncryptionType :: Type -> Type #

Read EncryptionType Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.EncryptionType

Show EncryptionType Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.EncryptionType

NFData EncryptionType Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.EncryptionType

Methods

rnf :: EncryptionType -> () #

Eq EncryptionType Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.EncryptionType

Ord EncryptionType Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.EncryptionType

Hashable EncryptionType Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.EncryptionType

type Rep EncryptionType Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.EncryptionType

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

PointInTimeRecoveryStatus

newtype PointInTimeRecoveryStatus Source #

Instances

Instances details
FromJSON PointInTimeRecoveryStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecoveryStatus

FromJSONKey PointInTimeRecoveryStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecoveryStatus

ToJSON PointInTimeRecoveryStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecoveryStatus

ToJSONKey PointInTimeRecoveryStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecoveryStatus

ToByteString PointInTimeRecoveryStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecoveryStatus

ToHeader PointInTimeRecoveryStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecoveryStatus

ToLog PointInTimeRecoveryStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecoveryStatus

ToQuery PointInTimeRecoveryStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecoveryStatus

FromText PointInTimeRecoveryStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecoveryStatus

ToText PointInTimeRecoveryStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecoveryStatus

FromXML PointInTimeRecoveryStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecoveryStatus

ToXML PointInTimeRecoveryStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecoveryStatus

Generic PointInTimeRecoveryStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecoveryStatus

Associated Types

type Rep PointInTimeRecoveryStatus :: Type -> Type #

Read PointInTimeRecoveryStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecoveryStatus

Show PointInTimeRecoveryStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecoveryStatus

NFData PointInTimeRecoveryStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecoveryStatus

Eq PointInTimeRecoveryStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecoveryStatus

Ord PointInTimeRecoveryStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecoveryStatus

Hashable PointInTimeRecoveryStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecoveryStatus

type Rep PointInTimeRecoveryStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecoveryStatus

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

SortOrder

newtype SortOrder Source #

Constructors

SortOrder' 

Fields

Bundled Patterns

pattern SortOrder_ASC :: SortOrder 
pattern SortOrder_DESC :: SortOrder 

Instances

Instances details
FromJSON SortOrder Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SortOrder

FromJSONKey SortOrder Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SortOrder

ToJSON SortOrder Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SortOrder

ToJSONKey SortOrder Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SortOrder

ToByteString SortOrder Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SortOrder

Methods

toBS :: SortOrder -> ByteString #

ToHeader SortOrder Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SortOrder

ToLog SortOrder Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SortOrder

ToQuery SortOrder Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SortOrder

FromText SortOrder Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SortOrder

ToText SortOrder Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SortOrder

Methods

toText :: SortOrder -> Text #

FromXML SortOrder Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SortOrder

ToXML SortOrder Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SortOrder

Methods

toXML :: SortOrder -> XML #

Generic SortOrder Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SortOrder

Associated Types

type Rep SortOrder :: Type -> Type #

Read SortOrder Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SortOrder

Show SortOrder Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SortOrder

NFData SortOrder Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SortOrder

Methods

rnf :: SortOrder -> () #

Eq SortOrder Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SortOrder

Ord SortOrder Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SortOrder

Hashable SortOrder Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SortOrder

type Rep SortOrder Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SortOrder

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

TableStatus

newtype TableStatus Source #

Constructors

TableStatus' 

Instances

Instances details
FromJSON TableStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TableStatus

FromJSONKey TableStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TableStatus

ToJSON TableStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TableStatus

ToJSONKey TableStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TableStatus

ToByteString TableStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TableStatus

ToHeader TableStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TableStatus

ToLog TableStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TableStatus

ToQuery TableStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TableStatus

FromText TableStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TableStatus

ToText TableStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TableStatus

Methods

toText :: TableStatus -> Text #

FromXML TableStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TableStatus

ToXML TableStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TableStatus

Methods

toXML :: TableStatus -> XML #

Generic TableStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TableStatus

Associated Types

type Rep TableStatus :: Type -> Type #

Read TableStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TableStatus

Show TableStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TableStatus

NFData TableStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TableStatus

Methods

rnf :: TableStatus -> () #

Eq TableStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TableStatus

Ord TableStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TableStatus

Hashable TableStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TableStatus

type Rep TableStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TableStatus

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

ThroughputMode

newtype ThroughputMode Source #

Constructors

ThroughputMode' 

Instances

Instances details
FromJSON ThroughputMode Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ThroughputMode

FromJSONKey ThroughputMode Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ThroughputMode

ToJSON ThroughputMode Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ThroughputMode

ToJSONKey ThroughputMode Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ThroughputMode

ToByteString ThroughputMode Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ThroughputMode

ToHeader ThroughputMode Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ThroughputMode

ToLog ThroughputMode Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ThroughputMode

ToQuery ThroughputMode Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ThroughputMode

FromText ThroughputMode Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ThroughputMode

ToText ThroughputMode Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ThroughputMode

FromXML ThroughputMode Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ThroughputMode

ToXML ThroughputMode Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ThroughputMode

Methods

toXML :: ThroughputMode -> XML #

Generic ThroughputMode Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ThroughputMode

Associated Types

type Rep ThroughputMode :: Type -> Type #

Read ThroughputMode Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ThroughputMode

Show ThroughputMode Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ThroughputMode

NFData ThroughputMode Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ThroughputMode

Methods

rnf :: ThroughputMode -> () #

Eq ThroughputMode Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ThroughputMode

Ord ThroughputMode Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ThroughputMode

Hashable ThroughputMode Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ThroughputMode

type Rep ThroughputMode Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ThroughputMode

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

TimeToLiveStatus

newtype TimeToLiveStatus Source #

Bundled Patterns

pattern TimeToLiveStatus_ENABLED :: TimeToLiveStatus 

Instances

Instances details
FromJSON TimeToLiveStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TimeToLiveStatus

FromJSONKey TimeToLiveStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TimeToLiveStatus

ToJSON TimeToLiveStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TimeToLiveStatus

ToJSONKey TimeToLiveStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TimeToLiveStatus

ToByteString TimeToLiveStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TimeToLiveStatus

ToHeader TimeToLiveStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TimeToLiveStatus

ToLog TimeToLiveStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TimeToLiveStatus

ToQuery TimeToLiveStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TimeToLiveStatus

FromText TimeToLiveStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TimeToLiveStatus

ToText TimeToLiveStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TimeToLiveStatus

FromXML TimeToLiveStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TimeToLiveStatus

ToXML TimeToLiveStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TimeToLiveStatus

Generic TimeToLiveStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TimeToLiveStatus

Associated Types

type Rep TimeToLiveStatus :: Type -> Type #

Read TimeToLiveStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TimeToLiveStatus

Show TimeToLiveStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TimeToLiveStatus

NFData TimeToLiveStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TimeToLiveStatus

Methods

rnf :: TimeToLiveStatus -> () #

Eq TimeToLiveStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TimeToLiveStatus

Ord TimeToLiveStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TimeToLiveStatus

Hashable TimeToLiveStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TimeToLiveStatus

type Rep TimeToLiveStatus Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TimeToLiveStatus

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

CapacitySpecification

data CapacitySpecification Source #

Amazon Keyspaces has two read/write capacity modes for processing reads and writes on your tables:

• On-demand (default)

• Provisioned

The read/write capacity mode that you choose controls how you are charged for read and write throughput and how table throughput capacity is managed.

For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.

See: newCapacitySpecification smart constructor.

Constructors

CapacitySpecification' 

Fields

  • readCapacityUnits :: Maybe Natural

    The throughput capacity specified for read operations defined in read capacity units (RCUs).

  • writeCapacityUnits :: Maybe Natural

    The throughput capacity specified for write operations defined in write capacity units (WCUs).

  • throughputMode :: ThroughputMode

    The read/write throughput capacity mode for a table. The options are:

    throughputMode:PAY_PER_REQUEST and

    throughputMode:PROVISIONED - Provisioned capacity mode requires readCapacityUnits and writeCapacityUnits as input.

    The default is throughput_mode:PAY_PER_REQUEST.

    For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.

Instances

Instances details
ToJSON CapacitySpecification Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.CapacitySpecification

Generic CapacitySpecification Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.CapacitySpecification

Associated Types

type Rep CapacitySpecification :: Type -> Type #

Read CapacitySpecification Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.CapacitySpecification

Show CapacitySpecification Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.CapacitySpecification

NFData CapacitySpecification Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.CapacitySpecification

Methods

rnf :: CapacitySpecification -> () #

Eq CapacitySpecification Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.CapacitySpecification

Hashable CapacitySpecification Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.CapacitySpecification

type Rep CapacitySpecification Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.CapacitySpecification

type Rep CapacitySpecification = D1 ('MetaData "CapacitySpecification" "Amazonka.KeySpaces.Types.CapacitySpecification" "amazonka-keyspaces-2.0-IgmNF4xdaFLH03VHAkrBWw" 'False) (C1 ('MetaCons "CapacitySpecification'" 'PrefixI 'True) (S1 ('MetaSel ('Just "readCapacityUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "writeCapacityUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "throughputMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ThroughputMode))))

newCapacitySpecification Source #

Create a value of CapacitySpecification 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:readCapacityUnits:CapacitySpecification', capacitySpecification_readCapacityUnits - The throughput capacity specified for read operations defined in read capacity units (RCUs).

$sel:writeCapacityUnits:CapacitySpecification', capacitySpecification_writeCapacityUnits - The throughput capacity specified for write operations defined in write capacity units (WCUs).

$sel:throughputMode:CapacitySpecification', capacitySpecification_throughputMode - The read/write throughput capacity mode for a table. The options are:

throughputMode:PAY_PER_REQUEST and

throughputMode:PROVISIONED - Provisioned capacity mode requires readCapacityUnits and writeCapacityUnits as input.

The default is throughput_mode:PAY_PER_REQUEST.

For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.

capacitySpecification_readCapacityUnits :: Lens' CapacitySpecification (Maybe Natural) Source #

The throughput capacity specified for read operations defined in read capacity units (RCUs).

capacitySpecification_writeCapacityUnits :: Lens' CapacitySpecification (Maybe Natural) Source #

The throughput capacity specified for write operations defined in write capacity units (WCUs).

capacitySpecification_throughputMode :: Lens' CapacitySpecification ThroughputMode Source #

The read/write throughput capacity mode for a table. The options are:

throughputMode:PAY_PER_REQUEST and

throughputMode:PROVISIONED - Provisioned capacity mode requires readCapacityUnits and writeCapacityUnits as input.

The default is throughput_mode:PAY_PER_REQUEST.

For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.

CapacitySpecificationSummary

data CapacitySpecificationSummary Source #

The read/write throughput capacity mode for a table. The options are:

throughputMode:PAY_PER_REQUEST and

throughputMode:PROVISIONED.

For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.

See: newCapacitySpecificationSummary smart constructor.

Constructors

CapacitySpecificationSummary' 

Fields

  • lastUpdateToPayPerRequestTimestamp :: Maybe POSIX

    The timestamp of the last operation that changed the provisioned throughput capacity of a table.

  • readCapacityUnits :: Maybe Natural

    The throughput capacity specified for read operations defined in read capacity units (RCUs).

  • writeCapacityUnits :: Maybe Natural

    The throughput capacity specified for write operations defined in write capacity units (WCUs).

  • throughputMode :: ThroughputMode

    The read/write throughput capacity mode for a table. The options are:

    throughputMode:PAY_PER_REQUEST and

    throughputMode:PROVISIONED - Provisioned capacity mode requires readCapacityUnits and writeCapacityUnits as input.

    The default is throughput_mode:PAY_PER_REQUEST.

    For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.

Instances

Instances details
FromJSON CapacitySpecificationSummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.CapacitySpecificationSummary

Generic CapacitySpecificationSummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.CapacitySpecificationSummary

Associated Types

type Rep CapacitySpecificationSummary :: Type -> Type #

Read CapacitySpecificationSummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.CapacitySpecificationSummary

Show CapacitySpecificationSummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.CapacitySpecificationSummary

NFData CapacitySpecificationSummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.CapacitySpecificationSummary

Eq CapacitySpecificationSummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.CapacitySpecificationSummary

Hashable CapacitySpecificationSummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.CapacitySpecificationSummary

type Rep CapacitySpecificationSummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.CapacitySpecificationSummary

type Rep CapacitySpecificationSummary = D1 ('MetaData "CapacitySpecificationSummary" "Amazonka.KeySpaces.Types.CapacitySpecificationSummary" "amazonka-keyspaces-2.0-IgmNF4xdaFLH03VHAkrBWw" 'False) (C1 ('MetaCons "CapacitySpecificationSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "lastUpdateToPayPerRequestTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "readCapacityUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "writeCapacityUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "throughputMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ThroughputMode))))

newCapacitySpecificationSummary Source #

Create a value of CapacitySpecificationSummary 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:lastUpdateToPayPerRequestTimestamp:CapacitySpecificationSummary', capacitySpecificationSummary_lastUpdateToPayPerRequestTimestamp - The timestamp of the last operation that changed the provisioned throughput capacity of a table.

$sel:readCapacityUnits:CapacitySpecificationSummary', capacitySpecificationSummary_readCapacityUnits - The throughput capacity specified for read operations defined in read capacity units (RCUs).

$sel:writeCapacityUnits:CapacitySpecificationSummary', capacitySpecificationSummary_writeCapacityUnits - The throughput capacity specified for write operations defined in write capacity units (WCUs).

$sel:throughputMode:CapacitySpecificationSummary', capacitySpecificationSummary_throughputMode - The read/write throughput capacity mode for a table. The options are:

throughputMode:PAY_PER_REQUEST and

throughputMode:PROVISIONED - Provisioned capacity mode requires readCapacityUnits and writeCapacityUnits as input.

The default is throughput_mode:PAY_PER_REQUEST.

For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.

capacitySpecificationSummary_lastUpdateToPayPerRequestTimestamp :: Lens' CapacitySpecificationSummary (Maybe UTCTime) Source #

The timestamp of the last operation that changed the provisioned throughput capacity of a table.

capacitySpecificationSummary_readCapacityUnits :: Lens' CapacitySpecificationSummary (Maybe Natural) Source #

The throughput capacity specified for read operations defined in read capacity units (RCUs).

capacitySpecificationSummary_writeCapacityUnits :: Lens' CapacitySpecificationSummary (Maybe Natural) Source #

The throughput capacity specified for write operations defined in write capacity units (WCUs).

capacitySpecificationSummary_throughputMode :: Lens' CapacitySpecificationSummary ThroughputMode Source #

The read/write throughput capacity mode for a table. The options are:

throughputMode:PAY_PER_REQUEST and

throughputMode:PROVISIONED - Provisioned capacity mode requires readCapacityUnits and writeCapacityUnits as input.

The default is throughput_mode:PAY_PER_REQUEST.

For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.

ClusteringKey

data ClusteringKey Source #

The optional clustering column portion of your primary key determines how the data is clustered and sorted within each partition.

See: newClusteringKey smart constructor.

Constructors

ClusteringKey' 

Fields

  • name :: Text

    The name(s) of the clustering column(s).

  • orderBy :: SortOrder

    Sets the ascendant (ASC) or descendant (DESC) order modifier.

Instances

Instances details
FromJSON ClusteringKey Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ClusteringKey

ToJSON ClusteringKey Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ClusteringKey

Generic ClusteringKey Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ClusteringKey

Associated Types

type Rep ClusteringKey :: Type -> Type #

Read ClusteringKey Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ClusteringKey

Show ClusteringKey Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ClusteringKey

NFData ClusteringKey Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ClusteringKey

Methods

rnf :: ClusteringKey -> () #

Eq ClusteringKey Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ClusteringKey

Hashable ClusteringKey Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ClusteringKey

type Rep ClusteringKey Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ClusteringKey

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

newClusteringKey Source #

Create a value of ClusteringKey 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:ClusteringKey', clusteringKey_name - The name(s) of the clustering column(s).

$sel:orderBy:ClusteringKey', clusteringKey_orderBy - Sets the ascendant (ASC) or descendant (DESC) order modifier.

clusteringKey_name :: Lens' ClusteringKey Text Source #

The name(s) of the clustering column(s).

clusteringKey_orderBy :: Lens' ClusteringKey SortOrder Source #

Sets the ascendant (ASC) or descendant (DESC) order modifier.

ColumnDefinition

data ColumnDefinition Source #

The names and data types of regular columns.

See: newColumnDefinition smart constructor.

Constructors

ColumnDefinition' 

Fields

  • name :: Text

    The name of the column.

  • type' :: Text

    The data type of the column. For a list of available data types, see Data types in the Amazon Keyspaces Developer Guide.

Instances

Instances details
FromJSON ColumnDefinition Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ColumnDefinition

ToJSON ColumnDefinition Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ColumnDefinition

Generic ColumnDefinition Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ColumnDefinition

Associated Types

type Rep ColumnDefinition :: Type -> Type #

Read ColumnDefinition Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ColumnDefinition

Show ColumnDefinition Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ColumnDefinition

NFData ColumnDefinition Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ColumnDefinition

Methods

rnf :: ColumnDefinition -> () #

Eq ColumnDefinition Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ColumnDefinition

Hashable ColumnDefinition Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ColumnDefinition

type Rep ColumnDefinition Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ColumnDefinition

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

newColumnDefinition Source #

Create a value of ColumnDefinition 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:ColumnDefinition', columnDefinition_name - The name of the column.

$sel:type':ColumnDefinition', columnDefinition_type - The data type of the column. For a list of available data types, see Data types in the Amazon Keyspaces Developer Guide.

columnDefinition_type :: Lens' ColumnDefinition Text Source #

The data type of the column. For a list of available data types, see Data types in the Amazon Keyspaces Developer Guide.

Comment

data Comment Source #

An optional comment that describes the table.

See: newComment smart constructor.

Constructors

Comment' 

Fields

Instances

Instances details
FromJSON Comment Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.Comment

ToJSON Comment Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.Comment

Generic Comment Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.Comment

Associated Types

type Rep Comment :: Type -> Type #

Methods

from :: Comment -> Rep Comment x #

to :: Rep Comment x -> Comment #

Read Comment Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.Comment

Show Comment Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.Comment

NFData Comment Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.Comment

Methods

rnf :: Comment -> () #

Eq Comment Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.Comment

Methods

(==) :: Comment -> Comment -> Bool #

(/=) :: Comment -> Comment -> Bool #

Hashable Comment Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.Comment

Methods

hashWithSalt :: Int -> Comment -> Int #

hash :: Comment -> Int #

type Rep Comment Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.Comment

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

newComment Source #

Create a value of Comment 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:message:Comment', comment_message - An optional description of the table.

comment_message :: Lens' Comment Text Source #

An optional description of the table.

EncryptionSpecification

data EncryptionSpecification Source #

Amazon Keyspaces encrypts and decrypts the table data at rest transparently and integrates with Key Management Service for storing and managing the encryption key. You can choose one of the following KMS keys (KMS keys):

• Amazon Web Services owned key - This is the default encryption type. The key is owned by Amazon Keyspaces (no additional charge).

• Customer managed key - This key is stored in your account and is created, owned, and managed by you. You have full control over the customer managed key (KMS charges apply).

For more information about encryption at rest in Amazon Keyspaces, see Encryption at rest in the Amazon Keyspaces Developer Guide.

For more information about KMS, see KMS management service concepts in the Key Management Service Developer Guide.

See: newEncryptionSpecification smart constructor.

Constructors

EncryptionSpecification' 

Fields

  • kmsKeyIdentifier :: Maybe Text

    The Amazon Resource Name (ARN) of the customer managed KMS key, for example kms_key_identifier:ARN.

  • type' :: EncryptionType

    The encryption option specified for the table. You can choose one of the following KMS keys (KMS keys):

    type:AWS_OWNED_KMS_KEY - This key is owned by Amazon Keyspaces.

    type:CUSTOMER_MANAGED_KMS_KEY - This key is stored in your account and is created, owned, and managed by you. This option requires the kms_key_identifier of the KMS key in Amazon Resource Name (ARN) format as input.

    The default is type:AWS_OWNED_KMS_KEY.

    For more information, see Encryption at rest in the Amazon Keyspaces Developer Guide.

Instances

Instances details
FromJSON EncryptionSpecification Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.EncryptionSpecification

ToJSON EncryptionSpecification Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.EncryptionSpecification

Generic EncryptionSpecification Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.EncryptionSpecification

Associated Types

type Rep EncryptionSpecification :: Type -> Type #

Read EncryptionSpecification Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.EncryptionSpecification

Show EncryptionSpecification Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.EncryptionSpecification

NFData EncryptionSpecification Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.EncryptionSpecification

Methods

rnf :: EncryptionSpecification -> () #

Eq EncryptionSpecification Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.EncryptionSpecification

Hashable EncryptionSpecification Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.EncryptionSpecification

type Rep EncryptionSpecification Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.EncryptionSpecification

type Rep EncryptionSpecification = D1 ('MetaData "EncryptionSpecification" "Amazonka.KeySpaces.Types.EncryptionSpecification" "amazonka-keyspaces-2.0-IgmNF4xdaFLH03VHAkrBWw" 'False) (C1 ('MetaCons "EncryptionSpecification'" 'PrefixI 'True) (S1 ('MetaSel ('Just "kmsKeyIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EncryptionType)))

newEncryptionSpecification Source #

Create a value of EncryptionSpecification 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:kmsKeyIdentifier:EncryptionSpecification', encryptionSpecification_kmsKeyIdentifier - The Amazon Resource Name (ARN) of the customer managed KMS key, for example kms_key_identifier:ARN.

$sel:type':EncryptionSpecification', encryptionSpecification_type - The encryption option specified for the table. You can choose one of the following KMS keys (KMS keys):

type:AWS_OWNED_KMS_KEY - This key is owned by Amazon Keyspaces.

type:CUSTOMER_MANAGED_KMS_KEY - This key is stored in your account and is created, owned, and managed by you. This option requires the kms_key_identifier of the KMS key in Amazon Resource Name (ARN) format as input.

The default is type:AWS_OWNED_KMS_KEY.

For more information, see Encryption at rest in the Amazon Keyspaces Developer Guide.

encryptionSpecification_kmsKeyIdentifier :: Lens' EncryptionSpecification (Maybe Text) Source #

The Amazon Resource Name (ARN) of the customer managed KMS key, for example kms_key_identifier:ARN.

encryptionSpecification_type :: Lens' EncryptionSpecification EncryptionType Source #

The encryption option specified for the table. You can choose one of the following KMS keys (KMS keys):

type:AWS_OWNED_KMS_KEY - This key is owned by Amazon Keyspaces.

type:CUSTOMER_MANAGED_KMS_KEY - This key is stored in your account and is created, owned, and managed by you. This option requires the kms_key_identifier of the KMS key in Amazon Resource Name (ARN) format as input.

The default is type:AWS_OWNED_KMS_KEY.

For more information, see Encryption at rest in the Amazon Keyspaces Developer Guide.

KeyspaceSummary

data KeyspaceSummary Source #

Represents the properties of a keyspace.

See: newKeyspaceSummary smart constructor.

Constructors

KeyspaceSummary' 

Fields

Instances

Instances details
FromJSON KeyspaceSummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.KeyspaceSummary

Generic KeyspaceSummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.KeyspaceSummary

Associated Types

type Rep KeyspaceSummary :: Type -> Type #

Read KeyspaceSummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.KeyspaceSummary

Show KeyspaceSummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.KeyspaceSummary

NFData KeyspaceSummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.KeyspaceSummary

Methods

rnf :: KeyspaceSummary -> () #

Eq KeyspaceSummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.KeyspaceSummary

Hashable KeyspaceSummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.KeyspaceSummary

type Rep KeyspaceSummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.KeyspaceSummary

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

newKeyspaceSummary Source #

Create a value of KeyspaceSummary 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:keyspaceName:KeyspaceSummary', keyspaceSummary_keyspaceName - The name of the keyspace.

$sel:resourceArn:KeyspaceSummary', keyspaceSummary_resourceArn - The unique identifier of the keyspace in the format of an Amazon Resource Name (ARN).

keyspaceSummary_resourceArn :: Lens' KeyspaceSummary Text Source #

The unique identifier of the keyspace in the format of an Amazon Resource Name (ARN).

PartitionKey

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

PointInTimeRecovery

data PointInTimeRecovery Source #

Point-in-time recovery (PITR) helps protect your Amazon Keyspaces tables from accidental write or delete operations by providing you continuous backups of your table data.

For more information, see Point-in-time recovery in the Amazon Keyspaces Developer Guide.

See: newPointInTimeRecovery smart constructor.

Constructors

PointInTimeRecovery' 

Fields

Instances

Instances details
ToJSON PointInTimeRecovery Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecovery

Generic PointInTimeRecovery Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecovery

Associated Types

type Rep PointInTimeRecovery :: Type -> Type #

Read PointInTimeRecovery Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecovery

Show PointInTimeRecovery Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecovery

NFData PointInTimeRecovery Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecovery

Methods

rnf :: PointInTimeRecovery -> () #

Eq PointInTimeRecovery Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecovery

Hashable PointInTimeRecovery Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecovery

type Rep PointInTimeRecovery Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecovery

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

newPointInTimeRecovery Source #

Create a value of PointInTimeRecovery 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:status:PointInTimeRecovery', pointInTimeRecovery_status - The options are:

ENABLED

DISABLED

PointInTimeRecoverySummary

data PointInTimeRecoverySummary Source #

The point-in-time recovery status of the specified table.

See: newPointInTimeRecoverySummary smart constructor.

Constructors

PointInTimeRecoverySummary' 

Fields

Instances

Instances details
FromJSON PointInTimeRecoverySummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecoverySummary

Generic PointInTimeRecoverySummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecoverySummary

Associated Types

type Rep PointInTimeRecoverySummary :: Type -> Type #

Read PointInTimeRecoverySummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecoverySummary

Show PointInTimeRecoverySummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecoverySummary

NFData PointInTimeRecoverySummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecoverySummary

Eq PointInTimeRecoverySummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecoverySummary

Hashable PointInTimeRecoverySummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecoverySummary

type Rep PointInTimeRecoverySummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.PointInTimeRecoverySummary

type Rep PointInTimeRecoverySummary = D1 ('MetaData "PointInTimeRecoverySummary" "Amazonka.KeySpaces.Types.PointInTimeRecoverySummary" "amazonka-keyspaces-2.0-IgmNF4xdaFLH03VHAkrBWw" 'False) (C1 ('MetaCons "PointInTimeRecoverySummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "earliestRestorableTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PointInTimeRecoveryStatus)))

newPointInTimeRecoverySummary Source #

Create a value of PointInTimeRecoverySummary 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:earliestRestorableTimestamp:PointInTimeRecoverySummary', pointInTimeRecoverySummary_earliestRestorableTimestamp - Specifies the earliest possible restore point of the table in ISO 8601 format.

$sel:status:PointInTimeRecoverySummary', pointInTimeRecoverySummary_status - Shows if point-in-time recovery is enabled or disabled for the specified table.

pointInTimeRecoverySummary_earliestRestorableTimestamp :: Lens' PointInTimeRecoverySummary (Maybe UTCTime) Source #

Specifies the earliest possible restore point of the table in ISO 8601 format.

pointInTimeRecoverySummary_status :: Lens' PointInTimeRecoverySummary PointInTimeRecoveryStatus Source #

Shows if point-in-time recovery is enabled or disabled for the specified table.

SchemaDefinition

data SchemaDefinition Source #

Describes the schema of the table.

See: newSchemaDefinition smart constructor.

Constructors

SchemaDefinition' 

Fields

Instances

Instances details
FromJSON SchemaDefinition Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SchemaDefinition

ToJSON SchemaDefinition Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SchemaDefinition

Generic SchemaDefinition Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SchemaDefinition

Associated Types

type Rep SchemaDefinition :: Type -> Type #

Read SchemaDefinition Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SchemaDefinition

Show SchemaDefinition Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SchemaDefinition

NFData SchemaDefinition Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SchemaDefinition

Methods

rnf :: SchemaDefinition -> () #

Eq SchemaDefinition Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SchemaDefinition

Hashable SchemaDefinition Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SchemaDefinition

type Rep SchemaDefinition Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SchemaDefinition

type Rep SchemaDefinition = D1 ('MetaData "SchemaDefinition" "Amazonka.KeySpaces.Types.SchemaDefinition" "amazonka-keyspaces-2.0-IgmNF4xdaFLH03VHAkrBWw" 'False) (C1 ('MetaCons "SchemaDefinition'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clusteringKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ClusteringKey])) :*: S1 ('MetaSel ('Just "staticColumns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [StaticColumn]))) :*: (S1 ('MetaSel ('Just "allColumns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty ColumnDefinition)) :*: S1 ('MetaSel ('Just "partitionKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty PartitionKey)))))

newSchemaDefinition Source #

Create a value of SchemaDefinition 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:clusteringKeys:SchemaDefinition', schemaDefinition_clusteringKeys - The columns that are part of the clustering key of the table.

$sel:staticColumns:SchemaDefinition', schemaDefinition_staticColumns - The columns that have been defined as STATIC. Static columns store values that are shared by all rows in the same partition.

$sel:allColumns:SchemaDefinition', schemaDefinition_allColumns - The regular columns of the table.

$sel:partitionKeys:SchemaDefinition', schemaDefinition_partitionKeys - The columns that are part of the partition key of the table .

schemaDefinition_clusteringKeys :: Lens' SchemaDefinition (Maybe [ClusteringKey]) Source #

The columns that are part of the clustering key of the table.

schemaDefinition_staticColumns :: Lens' SchemaDefinition (Maybe [StaticColumn]) Source #

The columns that have been defined as STATIC. Static columns store values that are shared by all rows in the same partition.

schemaDefinition_partitionKeys :: Lens' SchemaDefinition (NonEmpty PartitionKey) Source #

The columns that are part of the partition key of the table .

StaticColumn

data StaticColumn Source #

The static columns of the table. Static columns store values that are shared by all rows in the same partition.

See: newStaticColumn smart constructor.

Constructors

StaticColumn' 

Fields

  • name :: Text

    The name of the static column.

Instances

Instances details
FromJSON StaticColumn Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.StaticColumn

ToJSON StaticColumn Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.StaticColumn

Generic StaticColumn Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.StaticColumn

Associated Types

type Rep StaticColumn :: Type -> Type #

Read StaticColumn Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.StaticColumn

Show StaticColumn Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.StaticColumn

NFData StaticColumn Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.StaticColumn

Methods

rnf :: StaticColumn -> () #

Eq StaticColumn Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.StaticColumn

Hashable StaticColumn Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.StaticColumn

type Rep StaticColumn Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.StaticColumn

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

newStaticColumn Source #

Create a value of StaticColumn 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:StaticColumn', staticColumn_name - The name of the static column.

staticColumn_name :: Lens' StaticColumn Text Source #

The name of the static column.

TableSummary

data TableSummary Source #

Returns the name of the specified table, the keyspace it is stored in, and the unique identifier in the format of an Amazon Resource Name (ARN).

See: newTableSummary smart constructor.

Constructors

TableSummary' 

Fields

Instances

Instances details
FromJSON TableSummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TableSummary

Generic TableSummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TableSummary

Associated Types

type Rep TableSummary :: Type -> Type #

Read TableSummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TableSummary

Show TableSummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TableSummary

NFData TableSummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TableSummary

Methods

rnf :: TableSummary -> () #

Eq TableSummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TableSummary

Hashable TableSummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TableSummary

type Rep TableSummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TableSummary

type Rep TableSummary = D1 ('MetaData "TableSummary" "Amazonka.KeySpaces.Types.TableSummary" "amazonka-keyspaces-2.0-IgmNF4xdaFLH03VHAkrBWw" 'False) (C1 ('MetaCons "TableSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "keyspaceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "tableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newTableSummary Source #

Create a value of TableSummary 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:keyspaceName:TableSummary', tableSummary_keyspaceName - The name of the keyspace that the table is stored in.

$sel:tableName:TableSummary', tableSummary_tableName - The name of the table.

$sel:resourceArn:TableSummary', tableSummary_resourceArn - The unique identifier of the table in the format of an Amazon Resource Name (ARN).

tableSummary_keyspaceName :: Lens' TableSummary Text Source #

The name of the keyspace that the table is stored in.

tableSummary_resourceArn :: Lens' TableSummary Text Source #

The unique identifier of the table in the format of an Amazon Resource Name (ARN).

Tag

data Tag Source #

Describes a tag. A tag is a key-value pair. You can add up to 50 tags to a single Amazon Keyspaces resource.

Amazon Web Services-assigned tag names and values are automatically assigned the aws: prefix, which the user cannot assign. Amazon Web Services-assigned tag names do not count towards the tag limit of 50. User-assigned tag names have the prefix user: in the Cost Allocation Report. You cannot backdate the application of a tag.

For more information, see Adding tags and labels to Amazon Keyspaces resources in the Amazon Keyspaces Developer Guide.

See: newTag smart constructor.

Constructors

Tag' 

Fields

  • key :: Text

    The key of the tag. Tag keys are case sensitive. Each Amazon Keyspaces resource can only have up to one tag with the same key. If you try to add an existing tag (same key), the existing tag value will be updated to the new value.

  • value :: Text

    The value of the tag. Tag values are case-sensitive and can be null.

Instances

Instances details
FromJSON Tag Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.Tag

ToJSON Tag Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.Tag

Generic Tag Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.Tag

Associated Types

type Rep Tag :: Type -> Type #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

Read Tag Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.Tag

Show Tag Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.Tag

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

NFData Tag Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.Tag

Methods

rnf :: Tag -> () #

Eq Tag Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.Tag

Methods

(==) :: Tag -> Tag -> Bool #

(/=) :: Tag -> Tag -> Bool #

Hashable Tag Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.Tag

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

type Rep Tag Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.Tag

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

newTag Source #

Create a value of Tag 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:key:Tag', tag_key - The key of the tag. Tag keys are case sensitive. Each Amazon Keyspaces resource can only have up to one tag with the same key. If you try to add an existing tag (same key), the existing tag value will be updated to the new value.

$sel:value:Tag', tag_value - The value of the tag. Tag values are case-sensitive and can be null.

tag_key :: Lens' Tag Text Source #

The key of the tag. Tag keys are case sensitive. Each Amazon Keyspaces resource can only have up to one tag with the same key. If you try to add an existing tag (same key), the existing tag value will be updated to the new value.

tag_value :: Lens' Tag Text Source #

The value of the tag. Tag values are case-sensitive and can be null.

TimeToLive

data TimeToLive Source #

Enable custom Time to Live (TTL) settings for rows and columns without setting a TTL default for the specified table.

For more information, see Enabling TTL on tables in the Amazon Keyspaces Developer Guide.

See: newTimeToLive smart constructor.

Constructors

TimeToLive' 

Fields

Instances

Instances details
FromJSON TimeToLive Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TimeToLive

ToJSON TimeToLive Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TimeToLive

Generic TimeToLive Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TimeToLive

Associated Types

type Rep TimeToLive :: Type -> Type #

Read TimeToLive Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TimeToLive

Show TimeToLive Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TimeToLive

NFData TimeToLive Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TimeToLive

Methods

rnf :: TimeToLive -> () #

Eq TimeToLive Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TimeToLive

Hashable TimeToLive Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TimeToLive

type Rep TimeToLive Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.TimeToLive

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

newTimeToLive Source #

Create a value of TimeToLive 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:status:TimeToLive', timeToLive_status - Shows how to enable custom Time to Live (TTL) settings for the specified table.

timeToLive_status :: Lens' TimeToLive TimeToLiveStatus Source #

Shows how to enable custom Time to Live (TTL) settings for the specified table.