| 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 |
Amazonka.DynamoDB.DescribeTimeToLive
Description
Gives a description of the Time to Live (TTL) status on the specified table.
Synopsis
- data DescribeTimeToLive = DescribeTimeToLive' {}
- newDescribeTimeToLive :: Text -> DescribeTimeToLive
- describeTimeToLive_tableName :: Lens' DescribeTimeToLive Text
- data DescribeTimeToLiveResponse = DescribeTimeToLiveResponse' {}
- newDescribeTimeToLiveResponse :: Int -> DescribeTimeToLiveResponse
- describeTimeToLiveResponse_timeToLiveDescription :: Lens' DescribeTimeToLiveResponse (Maybe TimeToLiveDescription)
- describeTimeToLiveResponse_httpStatus :: Lens' DescribeTimeToLiveResponse Int
Creating a Request
data DescribeTimeToLive Source #
See: newDescribeTimeToLive smart constructor.
Constructors
| DescribeTimeToLive' | |
Instances
newDescribeTimeToLive Source #
Arguments
| :: Text | |
| -> DescribeTimeToLive |
Create a value of DescribeTimeToLive 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:
DescribeTimeToLive, describeTimeToLive_tableName - The name of the table to be described.
Request Lenses
describeTimeToLive_tableName :: Lens' DescribeTimeToLive Text Source #
The name of the table to be described.
Destructuring the Response
data DescribeTimeToLiveResponse Source #
See: newDescribeTimeToLiveResponse smart constructor.
Constructors
| DescribeTimeToLiveResponse' | |
Fields
| |
Instances
newDescribeTimeToLiveResponse Source #
Create a value of DescribeTimeToLiveResponse 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:
DescribeTimeToLiveResponse, describeTimeToLiveResponse_timeToLiveDescription -
$sel:httpStatus:DescribeTimeToLiveResponse', describeTimeToLiveResponse_httpStatus - The response's http status code.
Response Lenses
describeTimeToLiveResponse_timeToLiveDescription :: Lens' DescribeTimeToLiveResponse (Maybe TimeToLiveDescription) Source #
describeTimeToLiveResponse_httpStatus :: Lens' DescribeTimeToLiveResponse Int Source #
The response's http status code.