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.DescribeSpendLimits

Description

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

Creating a Request

data DescribeSpendLimits Source #

See: newDescribeSpendLimits smart constructor.

Constructors

DescribeSpendLimits' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of results to return per each request.

  • nextToken :: Maybe Text

    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.

Instances

Instances details
ToJSON DescribeSpendLimits Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSpendLimits

ToHeaders DescribeSpendLimits Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSpendLimits

ToPath DescribeSpendLimits Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSpendLimits

ToQuery DescribeSpendLimits Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSpendLimits

AWSPager DescribeSpendLimits Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSpendLimits

AWSRequest DescribeSpendLimits Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSpendLimits

Associated Types

type AWSResponse DescribeSpendLimits #

Generic DescribeSpendLimits Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSpendLimits

Associated Types

type Rep DescribeSpendLimits :: Type -> Type #

Read DescribeSpendLimits Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSpendLimits

Show DescribeSpendLimits Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSpendLimits

NFData DescribeSpendLimits Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSpendLimits

Methods

rnf :: DescribeSpendLimits -> () #

Eq DescribeSpendLimits Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSpendLimits

Hashable DescribeSpendLimits Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSpendLimits

type AWSResponse DescribeSpendLimits Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSpendLimits

type Rep DescribeSpendLimits Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSpendLimits

type Rep DescribeSpendLimits = D1 ('MetaData "DescribeSpendLimits" "Amazonka.PinpointSmsVoiceV2.DescribeSpendLimits" "amazonka-pinpoint-sms-voice-v2-2.0-HnPsQLyg04lAXcjcfRtbC7" 'False) (C1 ('MetaCons "DescribeSpendLimits'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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.

Constructors

DescribeSpendLimitsResponse' 

Fields

  • nextToken :: Maybe Text

    The token to be used for the next set of paginated results. If this field is empty then there are no more results.

  • spendLimits :: Maybe [SpendLimit]

    An array of SpendLimit objects that contain the details for the requested spend limits.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DescribeSpendLimitsResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSpendLimits

Associated Types

type Rep DescribeSpendLimitsResponse :: Type -> Type #

Read DescribeSpendLimitsResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSpendLimits

Show DescribeSpendLimitsResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSpendLimits

NFData DescribeSpendLimitsResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSpendLimits

Eq DescribeSpendLimitsResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSpendLimits

type Rep DescribeSpendLimitsResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSpendLimits

type Rep DescribeSpendLimitsResponse = D1 ('MetaData "DescribeSpendLimitsResponse" "Amazonka.PinpointSmsVoiceV2.DescribeSpendLimits" "amazonka-pinpoint-sms-voice-v2-2.0-HnPsQLyg04lAXcjcfRtbC7" 'False) (C1 ('MetaCons "DescribeSpendLimitsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "spendLimits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SpendLimit])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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.