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 |
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.
Instances
newDescribeTimeToLive Source #
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:
$sel:tableName: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.
DescribeTimeToLiveResponse' | |
|
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:
$sel:timeToLiveDescription: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.