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 |
Describes the current Amazon Pinpoint SMS Voice V2 resource quotas for your account. The description for a quota includes the quota name, current usage toward that quota, and the quota's maximum value.
When you establish an Amazon Web Services account, the account has initial quotas on the maximum number of configuration sets, opt-out lists, phone numbers, and pools that you can create in a given Region. For more information see Amazon Pinpoint quotas in the Amazon Pinpoint Developer Guide.
This operation returns paginated results.
Synopsis
- data DescribeAccountLimits = DescribeAccountLimits' {}
- newDescribeAccountLimits :: DescribeAccountLimits
- describeAccountLimits_maxResults :: Lens' DescribeAccountLimits (Maybe Natural)
- describeAccountLimits_nextToken :: Lens' DescribeAccountLimits (Maybe Text)
- data DescribeAccountLimitsResponse = DescribeAccountLimitsResponse' {
- accountLimits :: Maybe [AccountLimit]
- nextToken :: Maybe Text
- httpStatus :: Int
- newDescribeAccountLimitsResponse :: Int -> DescribeAccountLimitsResponse
- describeAccountLimitsResponse_accountLimits :: Lens' DescribeAccountLimitsResponse (Maybe [AccountLimit])
- describeAccountLimitsResponse_nextToken :: Lens' DescribeAccountLimitsResponse (Maybe Text)
- describeAccountLimitsResponse_httpStatus :: Lens' DescribeAccountLimitsResponse Int
Creating a Request
data DescribeAccountLimits Source #
See: newDescribeAccountLimits
smart constructor.
Instances
newDescribeAccountLimits :: DescribeAccountLimits Source #
Create a value of DescribeAccountLimits
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:maxResults:DescribeAccountLimits'
, describeAccountLimits_maxResults
- The maximum number of results to return per each request.
DescribeAccountLimits
, describeAccountLimits_nextToken
- The token to be used for the next set of paginated results. You don't
need to supply a value for this field in the initial request.
Request Lenses
describeAccountLimits_maxResults :: Lens' DescribeAccountLimits (Maybe Natural) Source #
The maximum number of results to return per each request.
describeAccountLimits_nextToken :: Lens' DescribeAccountLimits (Maybe Text) Source #
The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.
Destructuring the Response
data DescribeAccountLimitsResponse Source #
See: newDescribeAccountLimitsResponse
smart constructor.
DescribeAccountLimitsResponse' | |
|
Instances
newDescribeAccountLimitsResponse Source #
Create a value of DescribeAccountLimitsResponse
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:accountLimits:DescribeAccountLimitsResponse'
, describeAccountLimitsResponse_accountLimits
- An array of AccountLimit objects that show the current spend limits.
DescribeAccountLimits
, describeAccountLimitsResponse_nextToken
- The token to be used for the next set of paginated results. If this
field is empty then there are no more results.
$sel:httpStatus:DescribeAccountLimitsResponse'
, describeAccountLimitsResponse_httpStatus
- The response's http status code.
Response Lenses
describeAccountLimitsResponse_accountLimits :: Lens' DescribeAccountLimitsResponse (Maybe [AccountLimit]) Source #
An array of AccountLimit objects that show the current spend limits.
describeAccountLimitsResponse_nextToken :: Lens' DescribeAccountLimitsResponse (Maybe Text) Source #
The token to be used for the next set of paginated results. If this field is empty then there are no more results.
describeAccountLimitsResponse_httpStatus :: Lens' DescribeAccountLimitsResponse Int Source #
The response's http status code.