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 |
Describes the shard limits and usage for the account.
If you update your account limits, the old limits might be returned for a few minutes.
This operation has a limit of one transaction per second per account.
Synopsis
- data DescribeLimits = DescribeLimits' {
- newDescribeLimits :: DescribeLimits
- data DescribeLimitsResponse = DescribeLimitsResponse' {}
- newDescribeLimitsResponse :: Int -> Natural -> Natural -> DescribeLimitsResponse
- describeLimitsResponse_httpStatus :: Lens' DescribeLimitsResponse Int
- describeLimitsResponse_shardLimit :: Lens' DescribeLimitsResponse Natural
- describeLimitsResponse_openShardCount :: Lens' DescribeLimitsResponse Natural
Creating a Request
data DescribeLimits Source #
See: newDescribeLimits
smart constructor.
Instances
newDescribeLimits :: DescribeLimits Source #
Create a value of DescribeLimits
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data DescribeLimitsResponse Source #
See: newDescribeLimitsResponse
smart constructor.
DescribeLimitsResponse' | |
|
Instances
newDescribeLimitsResponse Source #
:: Int | |
-> Natural | |
-> Natural | |
-> DescribeLimitsResponse |
Create a value of DescribeLimitsResponse
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:httpStatus:DescribeLimitsResponse'
, describeLimitsResponse_httpStatus
- The response's http status code.
$sel:shardLimit:DescribeLimitsResponse'
, describeLimitsResponse_shardLimit
- The maximum number of shards.
$sel:openShardCount:DescribeLimitsResponse'
, describeLimitsResponse_openShardCount
- The number of open shards.
Response Lenses
describeLimitsResponse_httpStatus :: Lens' DescribeLimitsResponse Int Source #
The response's http status code.
describeLimitsResponse_shardLimit :: Lens' DescribeLimitsResponse Natural Source #
The maximum number of shards.
describeLimitsResponse_openShardCount :: Lens' DescribeLimitsResponse Natural Source #
The number of open shards.