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 monthly spend limits for sending voice and text messages.
When you establish an Amazon Web Services account, the account has initial monthly spend limit in a given Region. For more information on increasing your monthly spend limit, see Requesting increases to your monthly SMS spending quota for Amazon Pinpoint in the Amazon Pinpoint User Guide.
This operation returns paginated results.
Synopsis
- data DescribeSpendLimits = DescribeSpendLimits' {}
- newDescribeSpendLimits :: DescribeSpendLimits
- describeSpendLimits_maxResults :: Lens' DescribeSpendLimits (Maybe Natural)
- describeSpendLimits_nextToken :: Lens' DescribeSpendLimits (Maybe Text)
- data DescribeSpendLimitsResponse = DescribeSpendLimitsResponse' {
- nextToken :: Maybe Text
- spendLimits :: Maybe [SpendLimit]
- httpStatus :: Int
- newDescribeSpendLimitsResponse :: Int -> DescribeSpendLimitsResponse
- describeSpendLimitsResponse_nextToken :: Lens' DescribeSpendLimitsResponse (Maybe Text)
- describeSpendLimitsResponse_spendLimits :: Lens' DescribeSpendLimitsResponse (Maybe [SpendLimit])
- describeSpendLimitsResponse_httpStatus :: Lens' DescribeSpendLimitsResponse Int
Creating a Request
data DescribeSpendLimits Source #
See: newDescribeSpendLimits
smart constructor.
Instances
newDescribeSpendLimits :: DescribeSpendLimits Source #
Create a value of DescribeSpendLimits
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:DescribeSpendLimits'
, describeSpendLimits_maxResults
- The maximum number of results to return per each request.
DescribeSpendLimits
, describeSpendLimits_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
describeSpendLimits_maxResults :: Lens' DescribeSpendLimits (Maybe Natural) Source #
The maximum number of results to return per each request.
describeSpendLimits_nextToken :: Lens' DescribeSpendLimits (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 DescribeSpendLimitsResponse Source #
See: newDescribeSpendLimitsResponse
smart constructor.
DescribeSpendLimitsResponse' | |
|
Instances
newDescribeSpendLimitsResponse Source #
Create a value of DescribeSpendLimitsResponse
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:
DescribeSpendLimits
, describeSpendLimitsResponse_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:spendLimits:DescribeSpendLimitsResponse'
, describeSpendLimitsResponse_spendLimits
- An array of SpendLimit objects that contain the details for the
requested spend limits.
$sel:httpStatus:DescribeSpendLimitsResponse'
, describeSpendLimitsResponse_httpStatus
- The response's http status code.
Response Lenses
describeSpendLimitsResponse_nextToken :: Lens' DescribeSpendLimitsResponse (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.
describeSpendLimitsResponse_spendLimits :: Lens' DescribeSpendLimitsResponse (Maybe [SpendLimit]) Source #
An array of SpendLimit objects that contain the details for the requested spend limits.
describeSpendLimitsResponse_httpStatus :: Lens' DescribeSpendLimitsResponse Int Source #
The response's http status code.