Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data TimeToLiveSpecification = TimeToLiveSpecification' {
- enabled :: Bool
- attributeName :: Text
- newTimeToLiveSpecification :: Bool -> Text -> TimeToLiveSpecification
- timeToLiveSpecification_enabled :: Lens' TimeToLiveSpecification Bool
- timeToLiveSpecification_attributeName :: Lens' TimeToLiveSpecification Text
Documentation
data TimeToLiveSpecification Source #
Represents the settings used to enable or disable Time to Live (TTL) for the specified table.
See: newTimeToLiveSpecification
smart constructor.
TimeToLiveSpecification' | |
|
Instances
newTimeToLiveSpecification Source #
:: Bool | |
-> Text | |
-> TimeToLiveSpecification |
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.