libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DynamoDB.Types.TimeToLiveSpecification

Description

 
Synopsis

Documentation

data TimeToLiveSpecification Source #

Represents the settings used to enable or disable Time to Live (TTL) for the specified table.

See: newTimeToLiveSpecification smart constructor.

Constructors

TimeToLiveSpecification' 

Fields

  • enabled :: Bool

    Indicates whether TTL is to be enabled (true) or disabled (false) on the table.

  • attributeName :: Text

    The name of the TTL attribute used to store the expiration time for items in the table.

Instances

Instances details
Eq TimeToLiveSpecification Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.TimeToLiveSpecification

Read TimeToLiveSpecification Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.TimeToLiveSpecification

Show TimeToLiveSpecification Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.TimeToLiveSpecification

Generic TimeToLiveSpecification Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.TimeToLiveSpecification

Associated Types

type Rep TimeToLiveSpecification :: Type -> Type #

NFData TimeToLiveSpecification Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.TimeToLiveSpecification

Methods

rnf :: TimeToLiveSpecification -> () #

Hashable TimeToLiveSpecification Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.TimeToLiveSpecification

ToJSON TimeToLiveSpecification Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.TimeToLiveSpecification

FromJSON TimeToLiveSpecification Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.TimeToLiveSpecification

type Rep TimeToLiveSpecification Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.TimeToLiveSpecification

type Rep TimeToLiveSpecification = D1 ('MetaData "TimeToLiveSpecification" "Amazonka.DynamoDB.Types.TimeToLiveSpecification" "libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb" 'False) (C1 ('MetaCons "TimeToLiveSpecification'" 'PrefixI 'True) (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "attributeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newTimeToLiveSpecification Source #

Create a value of TimeToLiveSpecification 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:enabled:TimeToLiveSpecification', timeToLiveSpecification_enabled - Indicates whether TTL is to be enabled (true) or disabled (false) on the table.

$sel:attributeName:TimeToLiveSpecification', timeToLiveSpecification_attributeName - The name of the TTL attribute used to store the expiration time for items in the table.

timeToLiveSpecification_enabled :: Lens' TimeToLiveSpecification Bool Source #

Indicates whether TTL is to be enabled (true) or disabled (false) on the table.

timeToLiveSpecification_attributeName :: Lens' TimeToLiveSpecification Text Source #

The name of the TTL attribute used to store the expiration time for items in the table.