/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace PinpointSMSVoiceV2 { /** *

Welcome to the Amazon Pinpoint SMS and Voice, version 2 API Reference. * This guide provides information about Amazon Pinpoint SMS and Voice, version 2 * API resources, including supported HTTP methods, parameters, and schemas.

*

Amazon Pinpoint is an Amazon Web Services service that you can use to engage * with your recipients across multiple messaging channels. The Amazon Pinpoint SMS * and Voice, version 2 API provides programmatic access to options that are unique * to the SMS and voice channels and supplements the resources provided by the * Amazon Pinpoint API.

If you're new to Amazon Pinpoint, it's also helpful * to review the * Amazon Pinpoint Developer Guide. The Amazon Pinpoint Developer Guide * provides tutorials, code samples, and procedures that demonstrate how to use * Amazon Pinpoint features programmatically and how to integrate Amazon Pinpoint * functionality into mobile apps and other types of applications. The guide also * provides key information, such as Amazon Pinpoint integration with other Amazon * Web Services services, and the quotas that apply to use of the service.

*/ class AWS_PINPOINTSMSVOICEV2_API PinpointSMSVoiceV2Client : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods { public: typedef Aws::Client::AWSJsonClient BASECLASS; static const char* SERVICE_NAME; static const char* ALLOCATION_TAG; typedef PinpointSMSVoiceV2ClientConfiguration ClientConfigurationType; typedef PinpointSMSVoiceV2EndpointProvider EndpointProviderType; /** * Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config * is not specified, it will be initialized to default values. */ PinpointSMSVoiceV2Client(const Aws::PinpointSMSVoiceV2::PinpointSMSVoiceV2ClientConfiguration& clientConfiguration = Aws::PinpointSMSVoiceV2::PinpointSMSVoiceV2ClientConfiguration(), std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG)); /** * Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config * is not specified, it will be initialized to default values. */ PinpointSMSVoiceV2Client(const Aws::Auth::AWSCredentials& credentials, std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG), const Aws::PinpointSMSVoiceV2::PinpointSMSVoiceV2ClientConfiguration& clientConfiguration = Aws::PinpointSMSVoiceV2::PinpointSMSVoiceV2ClientConfiguration()); /** * Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied, * the default http client factory will be used */ PinpointSMSVoiceV2Client(const std::shared_ptr& credentialsProvider, std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG), const Aws::PinpointSMSVoiceV2::PinpointSMSVoiceV2ClientConfiguration& clientConfiguration = Aws::PinpointSMSVoiceV2::PinpointSMSVoiceV2ClientConfiguration()); /* Legacy constructors due deprecation */ /** * Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config * is not specified, it will be initialized to default values. */ PinpointSMSVoiceV2Client(const Aws::Client::ClientConfiguration& clientConfiguration); /** * Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config * is not specified, it will be initialized to default values. */ PinpointSMSVoiceV2Client(const Aws::Auth::AWSCredentials& credentials, const Aws::Client::ClientConfiguration& clientConfiguration); /** * Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied, * the default http client factory will be used */ PinpointSMSVoiceV2Client(const std::shared_ptr& credentialsProvider, const Aws::Client::ClientConfiguration& clientConfiguration); /* End of legacy constructors due deprecation */ virtual ~PinpointSMSVoiceV2Client(); /** *

Associates the specified origination identity with a pool.

If the * origination identity is a phone number and is already associated with another * pool, an Error is returned. A sender ID can be associated with multiple * pools.

If the origination identity configuration doesn't match the pool's * configuration, an Error is returned.

See Also:

AWS * API Reference

*/ virtual Model::AssociateOriginationIdentityOutcome AssociateOriginationIdentity(const Model::AssociateOriginationIdentityRequest& request) const; /** * A Callable wrapper for AssociateOriginationIdentity that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::AssociateOriginationIdentityOutcomeCallable AssociateOriginationIdentityCallable(const AssociateOriginationIdentityRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::AssociateOriginationIdentity, request); } /** * An Async wrapper for AssociateOriginationIdentity that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void AssociateOriginationIdentityAsync(const AssociateOriginationIdentityRequestT& request, const AssociateOriginationIdentityResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::AssociateOriginationIdentity, request, handler, context); } /** *

Creates a new configuration set. After you create the configuration set, you * can add one or more event destinations to it.

A configuration set is a * set of rules that you apply to the SMS and voice messages that you send.

*

When you send a message, you can optionally specify a single configuration * set.

See Also:

AWS * API Reference

*/ virtual Model::CreateConfigurationSetOutcome CreateConfigurationSet(const Model::CreateConfigurationSetRequest& request) const; /** * A Callable wrapper for CreateConfigurationSet that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::CreateConfigurationSetOutcomeCallable CreateConfigurationSetCallable(const CreateConfigurationSetRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::CreateConfigurationSet, request); } /** * An Async wrapper for CreateConfigurationSet that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void CreateConfigurationSetAsync(const CreateConfigurationSetRequestT& request, const CreateConfigurationSetResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::CreateConfigurationSet, request, handler, context); } /** *

Creates a new event destination in a configuration set.

An event * destination is a location where you send message events. The event options are * Amazon CloudWatch, Amazon Kinesis Data Firehose, or Amazon SNS. For example, * when a message is delivered successfully, you can send information about that * event to an event destination, or send notifications to endpoints that are * subscribed to an Amazon SNS topic.

Each configuration set can contain * between 0 and 5 event destinations. Each event destination can contain a * reference to a single destination, such as a CloudWatch or Kinesis Data Firehose * destination.

See Also:

AWS * API Reference

*/ virtual Model::CreateEventDestinationOutcome CreateEventDestination(const Model::CreateEventDestinationRequest& request) const; /** * A Callable wrapper for CreateEventDestination that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::CreateEventDestinationOutcomeCallable CreateEventDestinationCallable(const CreateEventDestinationRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::CreateEventDestination, request); } /** * An Async wrapper for CreateEventDestination that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void CreateEventDestinationAsync(const CreateEventDestinationRequestT& request, const CreateEventDestinationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::CreateEventDestination, request, handler, context); } /** *

Creates a new opt-out list.

If the opt-out list name already exists, * an Error is returned.

An opt-out list is a list of phone numbers that are * opted out, meaning you can't send SMS or voice messages to them. If end user * replies with the keyword "STOP," an entry for the phone number is added to the * opt-out list. In addition to STOP, your recipients can use any supported opt-out * keyword, such as CANCEL or OPTOUT. For a list of supported opt-out keywords, see * * SMS opt out in the Amazon Pinpoint User Guide.

See * Also:

AWS * API Reference

*/ virtual Model::CreateOptOutListOutcome CreateOptOutList(const Model::CreateOptOutListRequest& request) const; /** * A Callable wrapper for CreateOptOutList that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::CreateOptOutListOutcomeCallable CreateOptOutListCallable(const CreateOptOutListRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::CreateOptOutList, request); } /** * An Async wrapper for CreateOptOutList that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void CreateOptOutListAsync(const CreateOptOutListRequestT& request, const CreateOptOutListResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::CreateOptOutList, request, handler, context); } /** *

Creates a new pool and associates the specified origination identity to the * pool. A pool can include one or more phone numbers and SenderIds that are * associated with your Amazon Web Services account.

The new pool inherits * its configuration from the specified origination identity. This includes * keywords, message type, opt-out list, two-way configuration, and self-managed * opt-out configuration. Deletion protection isn't inherited from the origination * identity and defaults to false.

If the origination identity is a phone * number and is already associated with another pool, an Error is returned. A * sender ID can be associated with multiple pools.

See Also:

AWS * API Reference

*/ virtual Model::CreatePoolOutcome CreatePool(const Model::CreatePoolRequest& request) const; /** * A Callable wrapper for CreatePool that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::CreatePoolOutcomeCallable CreatePoolCallable(const CreatePoolRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::CreatePool, request); } /** * An Async wrapper for CreatePool that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void CreatePoolAsync(const CreatePoolRequestT& request, const CreatePoolResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::CreatePool, request, handler, context); } /** *

Deletes an existing configuration set.

A configuration set is a set of * rules that you apply to voice and SMS messages that you send. In a configuration * set, you can specify a destination for specific types of events related to voice * and SMS messages.

See Also:

AWS * API Reference

*/ virtual Model::DeleteConfigurationSetOutcome DeleteConfigurationSet(const Model::DeleteConfigurationSetRequest& request) const; /** * A Callable wrapper for DeleteConfigurationSet that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DeleteConfigurationSetOutcomeCallable DeleteConfigurationSetCallable(const DeleteConfigurationSetRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::DeleteConfigurationSet, request); } /** * An Async wrapper for DeleteConfigurationSet that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DeleteConfigurationSetAsync(const DeleteConfigurationSetRequestT& request, const DeleteConfigurationSetResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::DeleteConfigurationSet, request, handler, context); } /** *

Deletes an existing default message type on a configuration set.

A * message type is a type of messages that you plan to send. If you send * account-related messages or time-sensitive messages such as one-time passcodes, * choose Transactional. If you plan to send messages that contain marketing * material or other promotional content, choose Promotional. This setting * applies to your entire Amazon Web Services account.

See Also:

* AWS * API Reference

*/ virtual Model::DeleteDefaultMessageTypeOutcome DeleteDefaultMessageType(const Model::DeleteDefaultMessageTypeRequest& request) const; /** * A Callable wrapper for DeleteDefaultMessageType that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DeleteDefaultMessageTypeOutcomeCallable DeleteDefaultMessageTypeCallable(const DeleteDefaultMessageTypeRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::DeleteDefaultMessageType, request); } /** * An Async wrapper for DeleteDefaultMessageType that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DeleteDefaultMessageTypeAsync(const DeleteDefaultMessageTypeRequestT& request, const DeleteDefaultMessageTypeResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::DeleteDefaultMessageType, request, handler, context); } /** *

Deletes an existing default sender ID on a configuration set.

A * default sender ID is the identity that appears on recipients' devices when they * receive SMS messages. Support for sender ID capabilities varies by country or * region.

See Also:

AWS * API Reference

*/ virtual Model::DeleteDefaultSenderIdOutcome DeleteDefaultSenderId(const Model::DeleteDefaultSenderIdRequest& request) const; /** * A Callable wrapper for DeleteDefaultSenderId that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DeleteDefaultSenderIdOutcomeCallable DeleteDefaultSenderIdCallable(const DeleteDefaultSenderIdRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::DeleteDefaultSenderId, request); } /** * An Async wrapper for DeleteDefaultSenderId that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DeleteDefaultSenderIdAsync(const DeleteDefaultSenderIdRequestT& request, const DeleteDefaultSenderIdResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::DeleteDefaultSenderId, request, handler, context); } /** *

Deletes an existing event destination.

An event destination is a * location where you send response information about the messages that you send. * For example, when a message is delivered successfully, you can send information * about that event to an Amazon CloudWatch destination, or send notifications to * endpoints that are subscribed to an Amazon SNS topic.

See Also:

* AWS * API Reference

*/ virtual Model::DeleteEventDestinationOutcome DeleteEventDestination(const Model::DeleteEventDestinationRequest& request) const; /** * A Callable wrapper for DeleteEventDestination that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DeleteEventDestinationOutcomeCallable DeleteEventDestinationCallable(const DeleteEventDestinationRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::DeleteEventDestination, request); } /** * An Async wrapper for DeleteEventDestination that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DeleteEventDestinationAsync(const DeleteEventDestinationRequestT& request, const DeleteEventDestinationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::DeleteEventDestination, request, handler, context); } /** *

Deletes an existing keyword from an origination phone number or pool.

*

A keyword is a word that you can search for on a particular phone number or * pool. It is also a specific word or phrase that an end user can send to your * number to elicit a response, such as an informational message or a special * offer. When your number receives a message that begins with a keyword, Amazon * Pinpoint responds with a customizable message.

Keywords "HELP" and "STOP" * can't be deleted or modified.

See Also:

AWS * API Reference

*/ virtual Model::DeleteKeywordOutcome DeleteKeyword(const Model::DeleteKeywordRequest& request) const; /** * A Callable wrapper for DeleteKeyword that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DeleteKeywordOutcomeCallable DeleteKeywordCallable(const DeleteKeywordRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::DeleteKeyword, request); } /** * An Async wrapper for DeleteKeyword that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DeleteKeywordAsync(const DeleteKeywordRequestT& request, const DeleteKeywordResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::DeleteKeyword, request, handler, context); } /** *

Deletes an existing opt-out list. All opted out phone numbers in the opt-out * list are deleted.

If the specified opt-out list name doesn't exist or is * in-use by an origination phone number or pool, an Error is * returned.

See Also:

AWS * API Reference

*/ virtual Model::DeleteOptOutListOutcome DeleteOptOutList(const Model::DeleteOptOutListRequest& request) const; /** * A Callable wrapper for DeleteOptOutList that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DeleteOptOutListOutcomeCallable DeleteOptOutListCallable(const DeleteOptOutListRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::DeleteOptOutList, request); } /** * An Async wrapper for DeleteOptOutList that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DeleteOptOutListAsync(const DeleteOptOutListRequestT& request, const DeleteOptOutListResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::DeleteOptOutList, request, handler, context); } /** *

Deletes an existing opted out destination phone number from the specified * opt-out list.

Each destination phone number can only be deleted once * every 30 days.

If the specified destination phone number doesn't exist or * if the opt-out list doesn't exist, an Error is returned.

See * Also:

AWS * API Reference

*/ virtual Model::DeleteOptedOutNumberOutcome DeleteOptedOutNumber(const Model::DeleteOptedOutNumberRequest& request) const; /** * A Callable wrapper for DeleteOptedOutNumber that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DeleteOptedOutNumberOutcomeCallable DeleteOptedOutNumberCallable(const DeleteOptedOutNumberRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::DeleteOptedOutNumber, request); } /** * An Async wrapper for DeleteOptedOutNumber that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DeleteOptedOutNumberAsync(const DeleteOptedOutNumberRequestT& request, const DeleteOptedOutNumberResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::DeleteOptedOutNumber, request, handler, context); } /** *

Deletes an existing pool. Deleting a pool disassociates all origination * identities from that pool.

If the pool status isn't active or if deletion * protection is enabled, an Error is returned.

A pool is a collection of * phone numbers and SenderIds. A pool can include one or more phone numbers and * SenderIds that are associated with your Amazon Web Services * account.

See Also:

AWS * API Reference

*/ virtual Model::DeletePoolOutcome DeletePool(const Model::DeletePoolRequest& request) const; /** * A Callable wrapper for DeletePool that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DeletePoolOutcomeCallable DeletePoolCallable(const DeletePoolRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::DeletePool, request); } /** * An Async wrapper for DeletePool that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DeletePoolAsync(const DeletePoolRequestT& request, const DeletePoolResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::DeletePool, request, handler, context); } /** *

Deletes an account-level monthly spending limit override for sending text * messages. Deleting a spend limit override will set the * EnforcedLimit to equal the MaxLimit, which is * controlled by Amazon Web Services. For more information on spend limits (quotas) * see Amazon * Pinpoint quotas in the Amazon Pinpoint Developer * Guide.

See Also:

AWS * API Reference

*/ virtual Model::DeleteTextMessageSpendLimitOverrideOutcome DeleteTextMessageSpendLimitOverride(const Model::DeleteTextMessageSpendLimitOverrideRequest& request) const; /** * A Callable wrapper for DeleteTextMessageSpendLimitOverride that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DeleteTextMessageSpendLimitOverrideOutcomeCallable DeleteTextMessageSpendLimitOverrideCallable(const DeleteTextMessageSpendLimitOverrideRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::DeleteTextMessageSpendLimitOverride, request); } /** * An Async wrapper for DeleteTextMessageSpendLimitOverride that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DeleteTextMessageSpendLimitOverrideAsync(const DeleteTextMessageSpendLimitOverrideRequestT& request, const DeleteTextMessageSpendLimitOverrideResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::DeleteTextMessageSpendLimitOverride, request, handler, context); } /** *

Deletes an account level monthly spend limit override for sending voice * messages. Deleting a spend limit override sets the EnforcedLimit * equal to the MaxLimit, which is controlled by Amazon Web Services. * For more information on spending limits (quotas) see Amazon * Pinpoint quotas in the Amazon Pinpoint Developer Guide.

See * Also:

AWS * API Reference

*/ virtual Model::DeleteVoiceMessageSpendLimitOverrideOutcome DeleteVoiceMessageSpendLimitOverride(const Model::DeleteVoiceMessageSpendLimitOverrideRequest& request) const; /** * A Callable wrapper for DeleteVoiceMessageSpendLimitOverride that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DeleteVoiceMessageSpendLimitOverrideOutcomeCallable DeleteVoiceMessageSpendLimitOverrideCallable(const DeleteVoiceMessageSpendLimitOverrideRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::DeleteVoiceMessageSpendLimitOverride, request); } /** * An Async wrapper for DeleteVoiceMessageSpendLimitOverride that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DeleteVoiceMessageSpendLimitOverrideAsync(const DeleteVoiceMessageSpendLimitOverrideRequestT& request, const DeleteVoiceMessageSpendLimitOverrideResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::DeleteVoiceMessageSpendLimitOverride, request, handler, context); } /** *

Describes attributes of your Amazon Web Services account. The supported * account attributes include account tier, which indicates whether your account is * in the sandbox or production environment. When you're ready to move your account * out of the sandbox, create an Amazon Web Services Support case for a service * limit increase request.

New Amazon Pinpoint accounts are placed into an * SMS or voice sandbox. The sandbox protects both Amazon Web Services end * recipients and SMS or voice recipients from fraud and abuse.

See * Also:

AWS * API Reference

*/ virtual Model::DescribeAccountAttributesOutcome DescribeAccountAttributes(const Model::DescribeAccountAttributesRequest& request) const; /** * A Callable wrapper for DescribeAccountAttributes that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DescribeAccountAttributesOutcomeCallable DescribeAccountAttributesCallable(const DescribeAccountAttributesRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::DescribeAccountAttributes, request); } /** * An Async wrapper for DescribeAccountAttributes that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DescribeAccountAttributesAsync(const DescribeAccountAttributesRequestT& request, const DescribeAccountAttributesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::DescribeAccountAttributes, request, handler, context); } /** *

Describes the current Amazon Pinpoint SMS Voice V2 resource quotas for your * account. The description for a quota includes the quota name, current usage * toward that quota, and the quota's maximum value.

When you establish an * Amazon Web Services account, the account has initial quotas on the maximum * number of configuration sets, opt-out lists, phone numbers, and pools that you * can create in a given Region. For more information see * Amazon Pinpoint quotas in the Amazon Pinpoint Developer * Guide.

See Also:

AWS * API Reference

*/ virtual Model::DescribeAccountLimitsOutcome DescribeAccountLimits(const Model::DescribeAccountLimitsRequest& request) const; /** * A Callable wrapper for DescribeAccountLimits that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DescribeAccountLimitsOutcomeCallable DescribeAccountLimitsCallable(const DescribeAccountLimitsRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::DescribeAccountLimits, request); } /** * An Async wrapper for DescribeAccountLimits that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DescribeAccountLimitsAsync(const DescribeAccountLimitsRequestT& request, const DescribeAccountLimitsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::DescribeAccountLimits, request, handler, context); } /** *

Describes the specified configuration sets or all in your account.

If * you specify configuration set names, the output includes information for only * the specified configuration sets. If you specify filters, the output includes * information for only those configuration sets that meet the filter criteria. If * you don't specify configuration set names or filters, the output includes * information for all configuration sets.

If you specify a configuration * set name that isn't valid, an error is returned.

See Also:

AWS * API Reference

*/ virtual Model::DescribeConfigurationSetsOutcome DescribeConfigurationSets(const Model::DescribeConfigurationSetsRequest& request) const; /** * A Callable wrapper for DescribeConfigurationSets that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DescribeConfigurationSetsOutcomeCallable DescribeConfigurationSetsCallable(const DescribeConfigurationSetsRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::DescribeConfigurationSets, request); } /** * An Async wrapper for DescribeConfigurationSets that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DescribeConfigurationSetsAsync(const DescribeConfigurationSetsRequestT& request, const DescribeConfigurationSetsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::DescribeConfigurationSets, request, handler, context); } /** *

Describes the specified keywords or all keywords on your origination phone * number or pool.

A keyword is a word that you can search for on a * particular phone number or pool. It is also a specific word or phrase that an * end user can send to your number to elicit a response, such as an informational * message or a special offer. When your number receives a message that begins with * a keyword, Amazon Pinpoint responds with a customizable message.

If you * specify a keyword that isn't valid, an Error is returned.

See * Also:

AWS * API Reference

*/ virtual Model::DescribeKeywordsOutcome DescribeKeywords(const Model::DescribeKeywordsRequest& request) const; /** * A Callable wrapper for DescribeKeywords that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DescribeKeywordsOutcomeCallable DescribeKeywordsCallable(const DescribeKeywordsRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::DescribeKeywords, request); } /** * An Async wrapper for DescribeKeywords that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DescribeKeywordsAsync(const DescribeKeywordsRequestT& request, const DescribeKeywordsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::DescribeKeywords, request, handler, context); } /** *

Describes the specified opt-out list or all opt-out lists in your * account.

If you specify opt-out list names, the output includes * information for only the specified opt-out lists. Opt-out lists include only * those that meet the filter criteria. If you don't specify opt-out list names or * filters, the output includes information for all opt-out lists.

If you * specify an opt-out list name that isn't valid, an Error is * returned.

See Also:

AWS * API Reference

*/ virtual Model::DescribeOptOutListsOutcome DescribeOptOutLists(const Model::DescribeOptOutListsRequest& request) const; /** * A Callable wrapper for DescribeOptOutLists that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DescribeOptOutListsOutcomeCallable DescribeOptOutListsCallable(const DescribeOptOutListsRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::DescribeOptOutLists, request); } /** * An Async wrapper for DescribeOptOutLists that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DescribeOptOutListsAsync(const DescribeOptOutListsRequestT& request, const DescribeOptOutListsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::DescribeOptOutLists, request, handler, context); } /** *

Describes the specified opted out destination numbers or all opted out * destination numbers in an opt-out list.

If you specify opted out numbers, * the output includes information for only the specified opted out numbers. If you * specify filters, the output includes information for only those opted out * numbers that meet the filter criteria. If you don't specify opted out numbers or * filters, the output includes information for all opted out destination numbers * in your opt-out list.

If you specify an opted out number that isn't * valid, an Error is returned.

See Also:

AWS * API Reference

*/ virtual Model::DescribeOptedOutNumbersOutcome DescribeOptedOutNumbers(const Model::DescribeOptedOutNumbersRequest& request) const; /** * A Callable wrapper for DescribeOptedOutNumbers that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DescribeOptedOutNumbersOutcomeCallable DescribeOptedOutNumbersCallable(const DescribeOptedOutNumbersRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::DescribeOptedOutNumbers, request); } /** * An Async wrapper for DescribeOptedOutNumbers that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DescribeOptedOutNumbersAsync(const DescribeOptedOutNumbersRequestT& request, const DescribeOptedOutNumbersResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::DescribeOptedOutNumbers, request, handler, context); } /** *

Describes the specified origination phone number, or all the phone numbers in * your account.

If you specify phone number IDs, the output includes * information for only the specified phone numbers. If you specify filters, the * output includes information for only those phone numbers that meet the filter * criteria. If you don't specify phone number IDs or filters, the output includes * information for all phone numbers.

If you specify a phone number ID that * isn't valid, an Error is returned.

See Also:

AWS * API Reference

*/ virtual Model::DescribePhoneNumbersOutcome DescribePhoneNumbers(const Model::DescribePhoneNumbersRequest& request) const; /** * A Callable wrapper for DescribePhoneNumbers that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DescribePhoneNumbersOutcomeCallable DescribePhoneNumbersCallable(const DescribePhoneNumbersRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::DescribePhoneNumbers, request); } /** * An Async wrapper for DescribePhoneNumbers that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DescribePhoneNumbersAsync(const DescribePhoneNumbersRequestT& request, const DescribePhoneNumbersResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::DescribePhoneNumbers, request, handler, context); } /** *

Retrieves the specified pools or all pools associated with your Amazon Web * Services account.

If you specify pool IDs, the output includes * information for only the specified pools. If you specify filters, the output * includes information for only those pools that meet the filter criteria. If you * don't specify pool IDs or filters, the output includes information for all * pools.

If you specify a pool ID that isn't valid, an Error is * returned.

A pool is a collection of phone numbers and SenderIds. A pool * can include one or more phone numbers and SenderIds that are associated with * your Amazon Web Services account.

See Also:

AWS * API Reference

*/ virtual Model::DescribePoolsOutcome DescribePools(const Model::DescribePoolsRequest& request) const; /** * A Callable wrapper for DescribePools that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DescribePoolsOutcomeCallable DescribePoolsCallable(const DescribePoolsRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::DescribePools, request); } /** * An Async wrapper for DescribePools that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DescribePoolsAsync(const DescribePoolsRequestT& request, const DescribePoolsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::DescribePools, request, handler, context); } /** *

Describes the specified SenderIds or all SenderIds associated with your * Amazon Web Services account.

If you specify SenderIds, the output * includes information for only the specified SenderIds. If you specify filters, * the output includes information for only those SenderIds that meet the filter * criteria. If you don't specify SenderIds or filters, the output includes * information for all SenderIds.

f you specify a sender ID that isn't * valid, an Error is returned.

See Also:

AWS * API Reference

*/ virtual Model::DescribeSenderIdsOutcome DescribeSenderIds(const Model::DescribeSenderIdsRequest& request) const; /** * A Callable wrapper for DescribeSenderIds that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DescribeSenderIdsOutcomeCallable DescribeSenderIdsCallable(const DescribeSenderIdsRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::DescribeSenderIds, request); } /** * An Async wrapper for DescribeSenderIds that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DescribeSenderIdsAsync(const DescribeSenderIdsRequestT& request, const DescribeSenderIdsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::DescribeSenderIds, request, handler, context); } /** *

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.

See Also:

AWS * API Reference

*/ virtual Model::DescribeSpendLimitsOutcome DescribeSpendLimits(const Model::DescribeSpendLimitsRequest& request) const; /** * A Callable wrapper for DescribeSpendLimits that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DescribeSpendLimitsOutcomeCallable DescribeSpendLimitsCallable(const DescribeSpendLimitsRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::DescribeSpendLimits, request); } /** * An Async wrapper for DescribeSpendLimits that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DescribeSpendLimitsAsync(const DescribeSpendLimitsRequestT& request, const DescribeSpendLimitsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::DescribeSpendLimits, request, handler, context); } /** *

Removes the specified origination identity from an existing pool.

If * the origination identity isn't associated with the specified pool, an Error is * returned.

See Also:

AWS * API Reference

*/ virtual Model::DisassociateOriginationIdentityOutcome DisassociateOriginationIdentity(const Model::DisassociateOriginationIdentityRequest& request) const; /** * A Callable wrapper for DisassociateOriginationIdentity that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DisassociateOriginationIdentityOutcomeCallable DisassociateOriginationIdentityCallable(const DisassociateOriginationIdentityRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::DisassociateOriginationIdentity, request); } /** * An Async wrapper for DisassociateOriginationIdentity that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DisassociateOriginationIdentityAsync(const DisassociateOriginationIdentityRequestT& request, const DisassociateOriginationIdentityResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::DisassociateOriginationIdentity, request, handler, context); } /** *

Lists all associated origination identities in your pool.

If you * specify filters, the output includes information for only those origination * identities that meet the filter criteria.

See Also:

AWS * API Reference

*/ virtual Model::ListPoolOriginationIdentitiesOutcome ListPoolOriginationIdentities(const Model::ListPoolOriginationIdentitiesRequest& request) const; /** * A Callable wrapper for ListPoolOriginationIdentities that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListPoolOriginationIdentitiesOutcomeCallable ListPoolOriginationIdentitiesCallable(const ListPoolOriginationIdentitiesRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::ListPoolOriginationIdentities, request); } /** * An Async wrapper for ListPoolOriginationIdentities that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListPoolOriginationIdentitiesAsync(const ListPoolOriginationIdentitiesRequestT& request, const ListPoolOriginationIdentitiesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::ListPoolOriginationIdentities, request, handler, context); } /** *

List all tags associated with a resource.

See Also:

AWS * API Reference

*/ virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest& request) const; /** * A Callable wrapper for ListTagsForResource that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::ListTagsForResource, request); } /** * An Async wrapper for ListTagsForResource that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListTagsForResourceAsync(const ListTagsForResourceRequestT& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::ListTagsForResource, request, handler, context); } /** *

Creates or updates a keyword configuration on an origination phone number or * pool.

A keyword is a word that you can search for on a particular phone * number or pool. It is also a specific word or phrase that an end user can send * to your number to elicit a response, such as an informational message or a * special offer. When your number receives a message that begins with a keyword, * Amazon Pinpoint responds with a customizable message.

If you specify a * keyword that isn't valid, an Error is returned.

See Also:

AWS * API Reference

*/ virtual Model::PutKeywordOutcome PutKeyword(const Model::PutKeywordRequest& request) const; /** * A Callable wrapper for PutKeyword that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::PutKeywordOutcomeCallable PutKeywordCallable(const PutKeywordRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::PutKeyword, request); } /** * An Async wrapper for PutKeyword that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void PutKeywordAsync(const PutKeywordRequestT& request, const PutKeywordResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::PutKeyword, request, handler, context); } /** *

Creates an opted out destination phone number in the opt-out list.

If * the destination phone number isn't valid or if the specified opt-out list * doesn't exist, an Error is returned.

See Also:

AWS * API Reference

*/ virtual Model::PutOptedOutNumberOutcome PutOptedOutNumber(const Model::PutOptedOutNumberRequest& request) const; /** * A Callable wrapper for PutOptedOutNumber that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::PutOptedOutNumberOutcomeCallable PutOptedOutNumberCallable(const PutOptedOutNumberRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::PutOptedOutNumber, request); } /** * An Async wrapper for PutOptedOutNumber that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void PutOptedOutNumberAsync(const PutOptedOutNumberRequestT& request, const PutOptedOutNumberResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::PutOptedOutNumber, request, handler, context); } /** *

Releases an existing origination phone number in your account. Once released, * a phone number is no longer available for sending messages.

If the * origination phone number has deletion protection enabled or is associated with a * pool, an Error is returned.

See Also:

AWS * API Reference

*/ virtual Model::ReleasePhoneNumberOutcome ReleasePhoneNumber(const Model::ReleasePhoneNumberRequest& request) const; /** * A Callable wrapper for ReleasePhoneNumber that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ReleasePhoneNumberOutcomeCallable ReleasePhoneNumberCallable(const ReleasePhoneNumberRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::ReleasePhoneNumber, request); } /** * An Async wrapper for ReleasePhoneNumber that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ReleasePhoneNumberAsync(const ReleasePhoneNumberRequestT& request, const ReleasePhoneNumberResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::ReleasePhoneNumber, request, handler, context); } /** *

Request an origination phone number for use in your account. For more * information on phone number request see * Requesting a number in the Amazon Pinpoint User Guide.

See * Also:

AWS * API Reference

*/ virtual Model::RequestPhoneNumberOutcome RequestPhoneNumber(const Model::RequestPhoneNumberRequest& request) const; /** * A Callable wrapper for RequestPhoneNumber that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::RequestPhoneNumberOutcomeCallable RequestPhoneNumberCallable(const RequestPhoneNumberRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::RequestPhoneNumber, request); } /** * An Async wrapper for RequestPhoneNumber that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void RequestPhoneNumberAsync(const RequestPhoneNumberRequestT& request, const RequestPhoneNumberResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::RequestPhoneNumber, request, handler, context); } /** *

Creates a new text message and sends it to a recipient's phone number.

*

SMS throughput limits are measured in Message Parts per Second (MPS). Your * MPS limit depends on the destination country of your messages, as well as the * type of phone number (origination number) that you use to send the message. For * more information, see Message * Parts per Second (MPS) limits in the Amazon Pinpoint User * Guide.

See Also:

AWS * API Reference

*/ virtual Model::SendTextMessageOutcome SendTextMessage(const Model::SendTextMessageRequest& request) const; /** * A Callable wrapper for SendTextMessage that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::SendTextMessageOutcomeCallable SendTextMessageCallable(const SendTextMessageRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::SendTextMessage, request); } /** * An Async wrapper for SendTextMessage that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void SendTextMessageAsync(const SendTextMessageRequestT& request, const SendTextMessageResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::SendTextMessage, request, handler, context); } /** *

Allows you to send a request that sends a text message through Amazon * Pinpoint. This operation uses Amazon * Polly to convert a text script into a voice message.

See * Also:

AWS * API Reference

*/ virtual Model::SendVoiceMessageOutcome SendVoiceMessage(const Model::SendVoiceMessageRequest& request) const; /** * A Callable wrapper for SendVoiceMessage that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::SendVoiceMessageOutcomeCallable SendVoiceMessageCallable(const SendVoiceMessageRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::SendVoiceMessage, request); } /** * An Async wrapper for SendVoiceMessage that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void SendVoiceMessageAsync(const SendVoiceMessageRequestT& request, const SendVoiceMessageResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::SendVoiceMessage, request, handler, context); } /** *

Sets the default message type on a configuration set.

Choose the * category of SMS messages that you plan to send from this account. If you send * account-related messages or time-sensitive messages such as one-time passcodes, * choose Transactional. If you plan to send messages that contain marketing * material or other promotional content, choose Promotional. This setting * applies to your entire Amazon Web Services account.

See Also:

* AWS * API Reference

*/ virtual Model::SetDefaultMessageTypeOutcome SetDefaultMessageType(const Model::SetDefaultMessageTypeRequest& request) const; /** * A Callable wrapper for SetDefaultMessageType that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::SetDefaultMessageTypeOutcomeCallable SetDefaultMessageTypeCallable(const SetDefaultMessageTypeRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::SetDefaultMessageType, request); } /** * An Async wrapper for SetDefaultMessageType that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void SetDefaultMessageTypeAsync(const SetDefaultMessageTypeRequestT& request, const SetDefaultMessageTypeResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::SetDefaultMessageType, request, handler, context); } /** *

Sets default sender ID on a configuration set.

When sending a text * message to a destination country that supports sender IDs, the default sender ID * on the configuration set specified will be used if no dedicated origination * phone numbers or registered sender IDs are available in your * account.

See Also:

AWS * API Reference

*/ virtual Model::SetDefaultSenderIdOutcome SetDefaultSenderId(const Model::SetDefaultSenderIdRequest& request) const; /** * A Callable wrapper for SetDefaultSenderId that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::SetDefaultSenderIdOutcomeCallable SetDefaultSenderIdCallable(const SetDefaultSenderIdRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::SetDefaultSenderId, request); } /** * An Async wrapper for SetDefaultSenderId that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void SetDefaultSenderIdAsync(const SetDefaultSenderIdRequestT& request, const SetDefaultSenderIdResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::SetDefaultSenderId, request, handler, context); } /** *

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.

See * Also:

AWS * API Reference

*/ virtual Model::SetTextMessageSpendLimitOverrideOutcome SetTextMessageSpendLimitOverride(const Model::SetTextMessageSpendLimitOverrideRequest& request) const; /** * A Callable wrapper for SetTextMessageSpendLimitOverride that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::SetTextMessageSpendLimitOverrideOutcomeCallable SetTextMessageSpendLimitOverrideCallable(const SetTextMessageSpendLimitOverrideRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::SetTextMessageSpendLimitOverride, request); } /** * An Async wrapper for SetTextMessageSpendLimitOverride that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void SetTextMessageSpendLimitOverrideAsync(const SetTextMessageSpendLimitOverrideRequestT& request, const SetTextMessageSpendLimitOverrideResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::SetTextMessageSpendLimitOverride, request, handler, context); } /** *

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

See * Also:

AWS * API Reference

*/ virtual Model::SetVoiceMessageSpendLimitOverrideOutcome SetVoiceMessageSpendLimitOverride(const Model::SetVoiceMessageSpendLimitOverrideRequest& request) const; /** * A Callable wrapper for SetVoiceMessageSpendLimitOverride that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::SetVoiceMessageSpendLimitOverrideOutcomeCallable SetVoiceMessageSpendLimitOverrideCallable(const SetVoiceMessageSpendLimitOverrideRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::SetVoiceMessageSpendLimitOverride, request); } /** * An Async wrapper for SetVoiceMessageSpendLimitOverride that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void SetVoiceMessageSpendLimitOverrideAsync(const SetVoiceMessageSpendLimitOverrideRequestT& request, const SetVoiceMessageSpendLimitOverrideResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::SetVoiceMessageSpendLimitOverride, request, handler, context); } /** *

Adds or overwrites only the specified tags for the specified Amazon Pinpoint * SMS Voice, version 2 resource. When you specify an existing tag key, the value * is overwritten with the new value. Each resource can have a maximum of 50 tags. * Each tag consists of a key and an optional value. Tag keys must be unique per * resource. For more information about tags, see * Tagging Amazon Pinpoint resources in the Amazon Pinpoint Developer * Guide.

See Also:

AWS * API Reference

*/ virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest& request) const; /** * A Callable wrapper for TagResource that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::TagResource, request); } /** * An Async wrapper for TagResource that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void TagResourceAsync(const TagResourceRequestT& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::TagResource, request, handler, context); } /** *

Removes the association of the specified tags from an Amazon Pinpoint SMS * Voice V2 resource. For more information on tags see * Tagging Amazon Pinpoint resources in the Amazon Pinpoint Developer * Guide.

See Also:

AWS * API Reference

*/ virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest& request) const; /** * A Callable wrapper for UntagResource that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::UntagResource, request); } /** * An Async wrapper for UntagResource that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void UntagResourceAsync(const UntagResourceRequestT& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::UntagResource, request, handler, context); } /** *

Updates an existing event destination in a configuration set. You can update * the IAM role ARN for CloudWatch Logs and Kinesis Data Firehose. You can also * enable or disable the event destination.

You may want to update an event * destination to change its matching event types or updating the destination * resource ARN. You can't change an event destination's type between CloudWatch * Logs, Kinesis Data Firehose, and Amazon SNS.

See Also:

AWS * API Reference

*/ virtual Model::UpdateEventDestinationOutcome UpdateEventDestination(const Model::UpdateEventDestinationRequest& request) const; /** * A Callable wrapper for UpdateEventDestination that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::UpdateEventDestinationOutcomeCallable UpdateEventDestinationCallable(const UpdateEventDestinationRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::UpdateEventDestination, request); } /** * An Async wrapper for UpdateEventDestination that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void UpdateEventDestinationAsync(const UpdateEventDestinationRequestT& request, const UpdateEventDestinationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::UpdateEventDestination, request, handler, context); } /** *

Updates the configuration of an existing origination phone number. You can * update the opt-out list, enable or disable two-way messaging, change the * TwoWayChannelArn, enable or disable self-managed opt-outs, and enable or disable * deletion protection.

If the origination phone number is associated with a * pool, an Error is returned.

See Also:

AWS * API Reference

*/ virtual Model::UpdatePhoneNumberOutcome UpdatePhoneNumber(const Model::UpdatePhoneNumberRequest& request) const; /** * A Callable wrapper for UpdatePhoneNumber that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::UpdatePhoneNumberOutcomeCallable UpdatePhoneNumberCallable(const UpdatePhoneNumberRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::UpdatePhoneNumber, request); } /** * An Async wrapper for UpdatePhoneNumber that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void UpdatePhoneNumberAsync(const UpdatePhoneNumberRequestT& request, const UpdatePhoneNumberResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::UpdatePhoneNumber, request, handler, context); } /** *

Updates the configuration of an existing pool. You can update the opt-out * list, enable or disable two-way messaging, change the * TwoWayChannelArn, enable or disable self-managed opt-outs, enable * or disable deletion protection, and enable or disable shared * routes.

See Also:

AWS * API Reference

*/ virtual Model::UpdatePoolOutcome UpdatePool(const Model::UpdatePoolRequest& request) const; /** * A Callable wrapper for UpdatePool that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::UpdatePoolOutcomeCallable UpdatePoolCallable(const UpdatePoolRequestT& request) const { return SubmitCallable(&PinpointSMSVoiceV2Client::UpdatePool, request); } /** * An Async wrapper for UpdatePool that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void UpdatePoolAsync(const UpdatePoolRequestT& request, const UpdatePoolResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&PinpointSMSVoiceV2Client::UpdatePool, request, handler, context); } void OverrideEndpoint(const Aws::String& endpoint); std::shared_ptr& accessEndpointProvider(); private: friend class Aws::Client::ClientWithAsyncTemplateMethods; void init(const PinpointSMSVoiceV2ClientConfiguration& clientConfiguration); PinpointSMSVoiceV2ClientConfiguration m_clientConfiguration; std::shared_ptr m_executor; std::shared_ptr m_endpointProvider; }; } // namespace PinpointSMSVoiceV2 } // namespace Aws