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

Description

 
Synopsis

Documentation

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.