Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SetTextMessageSpendLimitOverrideCommand

Sets an account level monthly spend limit override for sending text messages. The requested spend limit must be less than or equal to the MaxLimit, which is set by Amazon Web Services.

example

Use a bare-bones client and the command you need to make an API call.

import { PinpointSMSVoiceV2Client, SetTextMessageSpendLimitOverrideCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
// const { PinpointSMSVoiceV2Client, SetTextMessageSpendLimitOverrideCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
const client = new PinpointSMSVoiceV2Client(config);
const command = new SetTextMessageSpendLimitOverrideCommand(input);
const response = await client.send(command);
see

SetTextMessageSpendLimitOverrideCommandInput for command's input shape.

see

SetTextMessageSpendLimitOverrideCommandOutput for command's response shape.

see

config for PinpointSMSVoiceV2Client's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: SetTextMessageSpendLimitOverrideCommandInput

Readonly middlewareStack