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 |
Synopsis
- data SpendLimit = SpendLimit' {}
- newSpendLimit :: SpendLimitName -> Integer -> Integer -> Bool -> SpendLimit
- spendLimit_name :: Lens' SpendLimit SpendLimitName
- spendLimit_enforcedLimit :: Lens' SpendLimit Integer
- spendLimit_maxLimit :: Lens' SpendLimit Integer
- spendLimit_overridden :: Lens' SpendLimit Bool
Documentation
data SpendLimit Source #
Describes the current Amazon Pinpoint monthly spend limits for sending voice and text messages. 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.
See: newSpendLimit
smart constructor.
SpendLimit' | |
|
Instances
:: SpendLimitName | |
-> Integer | |
-> Integer | |
-> Bool | |
-> SpendLimit |
Create a value of SpendLimit
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:name:SpendLimit'
, spendLimit_name
- The name for the SpendLimit.
$sel:enforcedLimit:SpendLimit'
, spendLimit_enforcedLimit
- The maximum amount of money, in US dollars, that you want to be able to
spend sending messages each month. This value has to be less than or
equal to the amount in MaxLimit
. To use this custom limit,
Overridden
must be set to true.
$sel:maxLimit:SpendLimit'
, spendLimit_maxLimit
- The maximum amount of money that you are able to spend to send messages
each month, in US dollars.
$sel:overridden:SpendLimit'
, spendLimit_overridden
- When set to True
, the value that has been specified in the
EnforcedLimit
is used to determine the maximum amount in US dollars
that can be spent to send messages each month, in US dollars.
spendLimit_name :: Lens' SpendLimit SpendLimitName Source #
The name for the SpendLimit.
spendLimit_enforcedLimit :: Lens' SpendLimit Integer Source #
The maximum amount of money, in US dollars, that you want to be able to
spend sending messages each month. This value has to be less than or
equal to the amount in MaxLimit
. To use this custom limit,
Overridden
must be set to true.
spendLimit_maxLimit :: Lens' SpendLimit Integer Source #
The maximum amount of money that you are able to spend to send messages each month, in US dollars.
spendLimit_overridden :: Lens' SpendLimit Bool Source #
When set to True
, the value that has been specified in the
EnforcedLimit
is used to determine the maximum amount in US dollars
that can be spent to send messages each month, in US dollars.