amazonka-pinpoint-sms-voice-v2-2.0: Amazon Pinpoint SMS Voice V2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.PinpointSmsVoiceV2.Types.SpendLimit

Description

 
Synopsis

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.

Constructors

SpendLimit' 

Fields

  • name :: SpendLimitName

    The name for the SpendLimit.

  • enforcedLimit :: Integer

    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.

  • maxLimit :: Integer

    The maximum amount of money that you are able to spend to send messages each month, in US dollars.

  • overridden :: Bool

    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.

Instances

Instances details
FromJSON SpendLimit Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.SpendLimit

Generic SpendLimit Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.SpendLimit

Associated Types

type Rep SpendLimit :: Type -> Type #

Read SpendLimit Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.SpendLimit

Show SpendLimit Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.SpendLimit

NFData SpendLimit Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.SpendLimit

Methods

rnf :: SpendLimit -> () #

Eq SpendLimit Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.SpendLimit

Hashable SpendLimit Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.SpendLimit

type Rep SpendLimit Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.SpendLimit

type Rep SpendLimit = D1 ('MetaData "SpendLimit" "Amazonka.PinpointSmsVoiceV2.Types.SpendLimit" "amazonka-pinpoint-sms-voice-v2-2.0-HnPsQLyg04lAXcjcfRtbC7" 'False) (C1 ('MetaCons "SpendLimit'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SpendLimitName) :*: S1 ('MetaSel ('Just "enforcedLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer)) :*: (S1 ('MetaSel ('Just "maxLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer) :*: S1 ('MetaSel ('Just "overridden") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool))))

newSpendLimit Source #

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.