diff --git a/clients/client-pinpoint-sms-voice-v2/README.md b/clients/client-pinpoint-sms-voice-v2/README.md index 8e5ac0a5d3c0..b83935265039 100644 --- a/clients/client-pinpoint-sms-voice-v2/README.md +++ b/clients/client-pinpoint-sms-voice-v2/README.md @@ -12,12 +12,11 @@ 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 +and voice channels. Amazon Pinpoint SMS and Voice, version 2 resources such as phone numbers, sender IDs, and opt-out lists can be used by the Amazon Pinpoint API.
+If you're new to Amazon Pinpoint SMS, it's also helpful to review the
+Amazon Pinpoint SMS User 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
+demonstrate how to use Amazon Pinpoint SMS 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
@@ -244,6 +243,14 @@ AssociateOriginationIdentity
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice-v2/command/AssociateOriginationIdentityCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/AssociateOriginationIdentityCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/AssociateOriginationIdentityCommandOutput/)
+
+ 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
+ * and voice channels. Amazon Pinpoint SMS and Voice, version 2 resources such as phone numbers, sender IDs, and opt-out lists can be used by the Amazon Pinpoint API. If you're new to Amazon Pinpoint SMS, it's also helpful to review the
+ * Amazon Pinpoint SMS User 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
+ * demonstrate how to use Amazon Pinpoint SMS 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
diff --git a/clients/client-pinpoint-sms-voice-v2/src/PinpointSMSVoiceV2Client.ts b/clients/client-pinpoint-sms-voice-v2/src/PinpointSMSVoiceV2Client.ts
index 65f9a7055945..f52b78a98f33 100644
--- a/clients/client-pinpoint-sms-voice-v2/src/PinpointSMSVoiceV2Client.ts
+++ b/clients/client-pinpoint-sms-voice-v2/src/PinpointSMSVoiceV2Client.ts
@@ -57,6 +57,10 @@ import {
AssociateOriginationIdentityCommandInput,
AssociateOriginationIdentityCommandOutput,
} from "./commands/AssociateOriginationIdentityCommand";
+import {
+ AssociateProtectConfigurationCommandInput,
+ AssociateProtectConfigurationCommandOutput,
+} from "./commands/AssociateProtectConfigurationCommand";
import {
CreateConfigurationSetCommandInput,
CreateConfigurationSetCommandOutput,
@@ -67,6 +71,10 @@ import {
} from "./commands/CreateEventDestinationCommand";
import { CreateOptOutListCommandInput, CreateOptOutListCommandOutput } from "./commands/CreateOptOutListCommand";
import { CreatePoolCommandInput, CreatePoolCommandOutput } from "./commands/CreatePoolCommand";
+import {
+ CreateProtectConfigurationCommandInput,
+ CreateProtectConfigurationCommandOutput,
+} from "./commands/CreateProtectConfigurationCommand";
import {
CreateRegistrationAssociationCommandInput,
CreateRegistrationAssociationCommandOutput,
@@ -84,6 +92,10 @@ import {
CreateVerifiedDestinationNumberCommandInput,
CreateVerifiedDestinationNumberCommandOutput,
} from "./commands/CreateVerifiedDestinationNumberCommand";
+import {
+ DeleteAccountDefaultProtectConfigurationCommandInput,
+ DeleteAccountDefaultProtectConfigurationCommandOutput,
+} from "./commands/DeleteAccountDefaultProtectConfigurationCommand";
import {
DeleteConfigurationSetCommandInput,
DeleteConfigurationSetCommandOutput,
@@ -101,12 +113,20 @@ import {
DeleteEventDestinationCommandOutput,
} from "./commands/DeleteEventDestinationCommand";
import { DeleteKeywordCommandInput, DeleteKeywordCommandOutput } from "./commands/DeleteKeywordCommand";
+import {
+ DeleteMediaMessageSpendLimitOverrideCommandInput,
+ DeleteMediaMessageSpendLimitOverrideCommandOutput,
+} from "./commands/DeleteMediaMessageSpendLimitOverrideCommand";
import {
DeleteOptedOutNumberCommandInput,
DeleteOptedOutNumberCommandOutput,
} from "./commands/DeleteOptedOutNumberCommand";
import { DeleteOptOutListCommandInput, DeleteOptOutListCommandOutput } from "./commands/DeleteOptOutListCommand";
import { DeletePoolCommandInput, DeletePoolCommandOutput } from "./commands/DeletePoolCommand";
+import {
+ DeleteProtectConfigurationCommandInput,
+ DeleteProtectConfigurationCommandOutput,
+} from "./commands/DeleteProtectConfigurationCommand";
import {
DeleteRegistrationAttachmentCommandInput,
DeleteRegistrationAttachmentCommandOutput,
@@ -154,6 +174,10 @@ import {
DescribePhoneNumbersCommandOutput,
} from "./commands/DescribePhoneNumbersCommand";
import { DescribePoolsCommandInput, DescribePoolsCommandOutput } from "./commands/DescribePoolsCommand";
+import {
+ DescribeProtectConfigurationsCommandInput,
+ DescribeProtectConfigurationsCommandOutput,
+} from "./commands/DescribeProtectConfigurationsCommand";
import {
DescribeRegistrationAttachmentsCommandInput,
DescribeRegistrationAttachmentsCommandOutput,
@@ -195,10 +219,18 @@ import {
DisassociateOriginationIdentityCommandInput,
DisassociateOriginationIdentityCommandOutput,
} from "./commands/DisassociateOriginationIdentityCommand";
+import {
+ DisassociateProtectConfigurationCommandInput,
+ DisassociateProtectConfigurationCommandOutput,
+} from "./commands/DisassociateProtectConfigurationCommand";
import {
DiscardRegistrationVersionCommandInput,
DiscardRegistrationVersionCommandOutput,
} from "./commands/DiscardRegistrationVersionCommand";
+import {
+ GetProtectConfigurationCountryRuleSetCommandInput,
+ GetProtectConfigurationCountryRuleSetCommandOutput,
+} from "./commands/GetProtectConfigurationCountryRuleSetCommand";
import {
ListPoolOriginationIdentitiesCommandInput,
ListPoolOriginationIdentitiesCommandOutput,
@@ -225,13 +257,22 @@ import {
SendDestinationNumberVerificationCodeCommandInput,
SendDestinationNumberVerificationCodeCommandOutput,
} from "./commands/SendDestinationNumberVerificationCodeCommand";
+import { SendMediaMessageCommandInput, SendMediaMessageCommandOutput } from "./commands/SendMediaMessageCommand";
import { SendTextMessageCommandInput, SendTextMessageCommandOutput } from "./commands/SendTextMessageCommand";
import { SendVoiceMessageCommandInput, SendVoiceMessageCommandOutput } from "./commands/SendVoiceMessageCommand";
+import {
+ SetAccountDefaultProtectConfigurationCommandInput,
+ SetAccountDefaultProtectConfigurationCommandOutput,
+} from "./commands/SetAccountDefaultProtectConfigurationCommand";
import {
SetDefaultMessageTypeCommandInput,
SetDefaultMessageTypeCommandOutput,
} from "./commands/SetDefaultMessageTypeCommand";
import { SetDefaultSenderIdCommandInput, SetDefaultSenderIdCommandOutput } from "./commands/SetDefaultSenderIdCommand";
+import {
+ SetMediaMessageSpendLimitOverrideCommandInput,
+ SetMediaMessageSpendLimitOverrideCommandOutput,
+} from "./commands/SetMediaMessageSpendLimitOverrideCommand";
import {
SetTextMessageSpendLimitOverrideCommandInput,
SetTextMessageSpendLimitOverrideCommandOutput,
@@ -252,6 +293,14 @@ import {
} from "./commands/UpdateEventDestinationCommand";
import { UpdatePhoneNumberCommandInput, UpdatePhoneNumberCommandOutput } from "./commands/UpdatePhoneNumberCommand";
import { UpdatePoolCommandInput, UpdatePoolCommandOutput } from "./commands/UpdatePoolCommand";
+import {
+ UpdateProtectConfigurationCommandInput,
+ UpdateProtectConfigurationCommandOutput,
+} from "./commands/UpdateProtectConfigurationCommand";
+import {
+ UpdateProtectConfigurationCountryRuleSetCommandInput,
+ UpdateProtectConfigurationCountryRuleSetCommandOutput,
+} from "./commands/UpdateProtectConfigurationCountryRuleSetCommand";
import { UpdateSenderIdCommandInput, UpdateSenderIdCommandOutput } from "./commands/UpdateSenderIdCommand";
import {
VerifyDestinationNumberCommandInput,
@@ -273,23 +322,28 @@ export { __Client };
*/
export type ServiceInputTypes =
| AssociateOriginationIdentityCommandInput
+ | AssociateProtectConfigurationCommandInput
| CreateConfigurationSetCommandInput
| CreateEventDestinationCommandInput
| CreateOptOutListCommandInput
| CreatePoolCommandInput
+ | CreateProtectConfigurationCommandInput
| CreateRegistrationAssociationCommandInput
| CreateRegistrationAttachmentCommandInput
| CreateRegistrationCommandInput
| CreateRegistrationVersionCommandInput
| CreateVerifiedDestinationNumberCommandInput
+ | DeleteAccountDefaultProtectConfigurationCommandInput
| DeleteConfigurationSetCommandInput
| DeleteDefaultMessageTypeCommandInput
| DeleteDefaultSenderIdCommandInput
| DeleteEventDestinationCommandInput
| DeleteKeywordCommandInput
+ | DeleteMediaMessageSpendLimitOverrideCommandInput
| DeleteOptOutListCommandInput
| DeleteOptedOutNumberCommandInput
| DeletePoolCommandInput
+ | DeleteProtectConfigurationCommandInput
| DeleteRegistrationAttachmentCommandInput
| DeleteRegistrationCommandInput
| DeleteRegistrationFieldValueCommandInput
@@ -304,6 +358,7 @@ export type ServiceInputTypes =
| DescribeOptedOutNumbersCommandInput
| DescribePhoneNumbersCommandInput
| DescribePoolsCommandInput
+ | DescribeProtectConfigurationsCommandInput
| DescribeRegistrationAttachmentsCommandInput
| DescribeRegistrationFieldDefinitionsCommandInput
| DescribeRegistrationFieldValuesCommandInput
@@ -315,7 +370,9 @@ export type ServiceInputTypes =
| DescribeSpendLimitsCommandInput
| DescribeVerifiedDestinationNumbersCommandInput
| DisassociateOriginationIdentityCommandInput
+ | DisassociateProtectConfigurationCommandInput
| DiscardRegistrationVersionCommandInput
+ | GetProtectConfigurationCountryRuleSetCommandInput
| ListPoolOriginationIdentitiesCommandInput
| ListRegistrationAssociationsCommandInput
| ListTagsForResourceCommandInput
@@ -327,10 +384,13 @@ export type ServiceInputTypes =
| RequestPhoneNumberCommandInput
| RequestSenderIdCommandInput
| SendDestinationNumberVerificationCodeCommandInput
+ | SendMediaMessageCommandInput
| SendTextMessageCommandInput
| SendVoiceMessageCommandInput
+ | SetAccountDefaultProtectConfigurationCommandInput
| SetDefaultMessageTypeCommandInput
| SetDefaultSenderIdCommandInput
+ | SetMediaMessageSpendLimitOverrideCommandInput
| SetTextMessageSpendLimitOverrideCommandInput
| SetVoiceMessageSpendLimitOverrideCommandInput
| SubmitRegistrationVersionCommandInput
@@ -339,6 +399,8 @@ export type ServiceInputTypes =
| UpdateEventDestinationCommandInput
| UpdatePhoneNumberCommandInput
| UpdatePoolCommandInput
+ | UpdateProtectConfigurationCommandInput
+ | UpdateProtectConfigurationCountryRuleSetCommandInput
| UpdateSenderIdCommandInput
| VerifyDestinationNumberCommandInput;
@@ -347,23 +409,28 @@ export type ServiceInputTypes =
*/
export type ServiceOutputTypes =
| AssociateOriginationIdentityCommandOutput
+ | AssociateProtectConfigurationCommandOutput
| CreateConfigurationSetCommandOutput
| CreateEventDestinationCommandOutput
| CreateOptOutListCommandOutput
| CreatePoolCommandOutput
+ | CreateProtectConfigurationCommandOutput
| CreateRegistrationAssociationCommandOutput
| CreateRegistrationAttachmentCommandOutput
| CreateRegistrationCommandOutput
| CreateRegistrationVersionCommandOutput
| CreateVerifiedDestinationNumberCommandOutput
+ | DeleteAccountDefaultProtectConfigurationCommandOutput
| DeleteConfigurationSetCommandOutput
| DeleteDefaultMessageTypeCommandOutput
| DeleteDefaultSenderIdCommandOutput
| DeleteEventDestinationCommandOutput
| DeleteKeywordCommandOutput
+ | DeleteMediaMessageSpendLimitOverrideCommandOutput
| DeleteOptOutListCommandOutput
| DeleteOptedOutNumberCommandOutput
| DeletePoolCommandOutput
+ | DeleteProtectConfigurationCommandOutput
| DeleteRegistrationAttachmentCommandOutput
| DeleteRegistrationCommandOutput
| DeleteRegistrationFieldValueCommandOutput
@@ -378,6 +445,7 @@ export type ServiceOutputTypes =
| DescribeOptedOutNumbersCommandOutput
| DescribePhoneNumbersCommandOutput
| DescribePoolsCommandOutput
+ | DescribeProtectConfigurationsCommandOutput
| DescribeRegistrationAttachmentsCommandOutput
| DescribeRegistrationFieldDefinitionsCommandOutput
| DescribeRegistrationFieldValuesCommandOutput
@@ -389,7 +457,9 @@ export type ServiceOutputTypes =
| DescribeSpendLimitsCommandOutput
| DescribeVerifiedDestinationNumbersCommandOutput
| DisassociateOriginationIdentityCommandOutput
+ | DisassociateProtectConfigurationCommandOutput
| DiscardRegistrationVersionCommandOutput
+ | GetProtectConfigurationCountryRuleSetCommandOutput
| ListPoolOriginationIdentitiesCommandOutput
| ListRegistrationAssociationsCommandOutput
| ListTagsForResourceCommandOutput
@@ -401,10 +471,13 @@ export type ServiceOutputTypes =
| RequestPhoneNumberCommandOutput
| RequestSenderIdCommandOutput
| SendDestinationNumberVerificationCodeCommandOutput
+ | SendMediaMessageCommandOutput
| SendTextMessageCommandOutput
| SendVoiceMessageCommandOutput
+ | SetAccountDefaultProtectConfigurationCommandOutput
| SetDefaultMessageTypeCommandOutput
| SetDefaultSenderIdCommandOutput
+ | SetMediaMessageSpendLimitOverrideCommandOutput
| SetTextMessageSpendLimitOverrideCommandOutput
| SetVoiceMessageSpendLimitOverrideCommandOutput
| SubmitRegistrationVersionCommandOutput
@@ -413,6 +486,8 @@ export type ServiceOutputTypes =
| UpdateEventDestinationCommandOutput
| UpdatePhoneNumberCommandOutput
| UpdatePoolCommandOutput
+ | UpdateProtectConfigurationCommandOutput
+ | UpdateProtectConfigurationCountryRuleSetCommandOutput
| UpdateSenderIdCommandOutput
| VerifyDestinationNumberCommandOutput;
@@ -594,12 +669,11 @@ export interface PinpointSMSVoiceV2ClientResolvedConfig extends PinpointSMSVoice
* 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
+ * and voice channels. Amazon Pinpoint SMS and Voice, version 2 resources such as phone numbers, sender IDs, and opt-out lists can be used by the Amazon Pinpoint API. If you're new to Amazon Pinpoint SMS, it's also helpful to review the
+ * Amazon Pinpoint SMS User 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
+ * demonstrate how to use Amazon Pinpoint SMS 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
diff --git a/clients/client-pinpoint-sms-voice-v2/src/commands/AssociateProtectConfigurationCommand.ts b/clients/client-pinpoint-sms-voice-v2/src/commands/AssociateProtectConfigurationCommand.ts
new file mode 100644
index 000000000000..b42c5a3a310d
--- /dev/null
+++ b/clients/client-pinpoint-sms-voice-v2/src/commands/AssociateProtectConfigurationCommand.ts
@@ -0,0 +1,121 @@
+// smithy-typescript generated code
+import { getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { Command as $Command } from "@smithy/smithy-client";
+import { MetadataBearer as __MetadataBearer } from "@smithy/types";
+
+import { commonParams } from "../endpoint/EndpointParameters";
+import { AssociateProtectConfigurationRequest, AssociateProtectConfigurationResult } from "../models/models_0";
+import {
+ PinpointSMSVoiceV2ClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes,
+} from "../PinpointSMSVoiceV2Client";
+import {
+ de_AssociateProtectConfigurationCommand,
+ se_AssociateProtectConfigurationCommand,
+} from "../protocols/Aws_json1_0";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link AssociateProtectConfigurationCommand}.
+ */
+export interface AssociateProtectConfigurationCommandInput extends AssociateProtectConfigurationRequest {}
+/**
+ * @public
+ *
+ * The output of {@link AssociateProtectConfigurationCommand}.
+ */
+export interface AssociateProtectConfigurationCommandOutput
+ extends AssociateProtectConfigurationResult,
+ __MetadataBearer {}
+
+/**
+ * Associate a protect configuration with a configuration set. This replaces the
+ * configuration sets current protect configuration. A configuration set can
+ * only be associated with one protect configuration at a time. A protect configuration can
+ * be associated with multiple configuration sets. The request was denied because you don't have sufficient permissions to access the
+ * resource. Your request has conflicting operations. This can occur if you're trying to perform
+ * more than one operation on the same resource at the same time or it could be that the
+ * requested action isn't valid for the current state or configuration of the
+ * resource. The API encountered an unexpected error and couldn't complete the request. You might
+ * be able to successfully issue the request again in the future. A requested resource couldn't be found. An error that occurred because too many requests were sent during a certain amount of
+ * time. A validation exception for a field. Base exception class for all service exceptions from PinpointSMSVoiceV2 service. Create a new protect configuration. By default all country rule sets for each capability are set to The request was denied because you don't have sufficient permissions to access the
+ * resource. The API encountered an unexpected error and couldn't complete the request. You might
+ * be able to successfully issue the request again in the future. The request would cause a service quota to be exceeded. An error that occurred because too many requests were sent during a certain amount of
+ * time. A validation exception for a field. Base exception class for all service exceptions from PinpointSMSVoiceV2 service. Removes the current account default protect configuration. The request was denied because you don't have sufficient permissions to access the
+ * resource. The API encountered an unexpected error and couldn't complete the request. You might
+ * be able to successfully issue the request again in the future. A requested resource couldn't be found. An error that occurred because too many requests were sent during a certain amount of
+ * time. A validation exception for a field. Base exception class for all service exceptions from PinpointSMSVoiceV2 service. Deletes an account-level monthly spending limit override for sending multimedia messages (MMS).
+ * Deleting a spend limit override will set the The request was denied because you don't have sufficient permissions to access the
+ * resource. The API encountered an unexpected error and couldn't complete the request. You might
+ * be able to successfully issue the request again in the future. An error that occurred because too many requests were sent during a certain amount of
+ * time. A validation exception for a field. Base exception class for all service exceptions from PinpointSMSVoiceV2 service. Permanently delete the protect configuration. The protect configuration must have deletion protection disabled and must not be associated as the account default protect configuration or associated with a configuration set. The request was denied because you don't have sufficient permissions to access the
+ * resource. Your request has conflicting operations. This can occur if you're trying to perform
+ * more than one operation on the same resource at the same time or it could be that the
+ * requested action isn't valid for the current state or configuration of the
+ * resource. The API encountered an unexpected error and couldn't complete the request. You might
+ * be able to successfully issue the request again in the future. A requested resource couldn't be found. An error that occurred because too many requests were sent during a certain amount of
+ * time. A validation exception for a field. Base exception class for all service exceptions from PinpointSMSVoiceV2 service. Retrieves the protect configurations that match any of filters. If a filter isn’t provided then all protect configurations are returned. The request was denied because you don't have sufficient permissions to access the
+ * resource. The API encountered an unexpected error and couldn't complete the request. You might
+ * be able to successfully issue the request again in the future. A requested resource couldn't be found. An error that occurred because too many requests were sent during a certain amount of
+ * time. A validation exception for a field. Base exception class for all service exceptions from PinpointSMSVoiceV2 service. Disassociate a protect configuration from a configuration set. The request was denied because you don't have sufficient permissions to access the
+ * resource. Your request has conflicting operations. This can occur if you're trying to perform
+ * more than one operation on the same resource at the same time or it could be that the
+ * requested action isn't valid for the current state or configuration of the
+ * resource. The API encountered an unexpected error and couldn't complete the request. You might
+ * be able to successfully issue the request again in the future. A requested resource couldn't be found. An error that occurred because too many requests were sent during a certain amount of
+ * time. A validation exception for a field. Base exception class for all service exceptions from PinpointSMSVoiceV2 service. Retrieve the CountryRuleSet for the specified NumberCapability from a protect configuration. The request was denied because you don't have sufficient permissions to access the
+ * resource. The API encountered an unexpected error and couldn't complete the request. You might
+ * be able to successfully issue the request again in the future. A requested resource couldn't be found. An error that occurred because too many requests were sent during a certain amount of
+ * time. A validation exception for a field. Base exception class for all service exceptions from PinpointSMSVoiceV2 service. Creates a new multimedia message (MMS) and sends it to a recipient's phone number. The request was denied because you don't have sufficient permissions to access the
+ * resource. Your request has conflicting operations. This can occur if you're trying to perform
+ * more than one operation on the same resource at the same time or it could be that the
+ * requested action isn't valid for the current state or configuration of the
+ * resource. The API encountered an unexpected error and couldn't complete the request. You might
+ * be able to successfully issue the request again in the future. A requested resource couldn't be found. The request would cause a service quota to be exceeded. An error that occurred because too many requests were sent during a certain amount of
+ * time. A validation exception for a field. Base exception class for all service exceptions from PinpointSMSVoiceV2 service. Set a protect configuration as your account default. You can only have one account
+ * default protect configuration at a time. The current account default protect configuration is replaced with the provided protect configuration. The request was denied because you don't have sufficient permissions to access the
+ * resource. The API encountered an unexpected error and couldn't complete the request. You might
+ * be able to successfully issue the request again in the future. A requested resource couldn't be found. An error that occurred because too many requests were sent during a certain amount of
+ * time. A validation exception for a field. Base exception class for all service exceptions from PinpointSMSVoiceV2 service. Sets an account level monthly spend limit override for sending MMS messages. The
+ * requested spend limit must be less than or equal to the The request was denied because you don't have sufficient permissions to access the
+ * resource. The API encountered an unexpected error and couldn't complete the request. You might
+ * be able to successfully issue the request again in the future. An error that occurred because too many requests were sent during a certain amount of
+ * time. A validation exception for a field. Base exception class for all service exceptions from PinpointSMSVoiceV2 service. Update the setting for an existing protect configuration. The request was denied because you don't have sufficient permissions to access the
+ * resource. The API encountered an unexpected error and couldn't complete the request. You might
+ * be able to successfully issue the request again in the future. A requested resource couldn't be found. An error that occurred because too many requests were sent during a certain amount of
+ * time. A validation exception for a field. Base exception class for all service exceptions from PinpointSMSVoiceV2 service. Update a country rule set to The request was denied because you don't have sufficient permissions to access the
+ * resource. The API encountered an unexpected error and couldn't complete the request. You might
+ * be able to successfully issue the request again in the future. A requested resource couldn't be found. An error that occurred because too many requests were sent during a certain amount of
+ * time. A validation exception for a field. Base exception class for all service exceptions from PinpointSMSVoiceV2 service. 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
+ * and voice channels. Amazon Pinpoint SMS and Voice, version 2 resources such as phone numbers, sender IDs, and opt-out lists can be used by the Amazon Pinpoint API. If you're new to Amazon Pinpoint SMS, it's also helpful to review the
+ * Amazon Pinpoint SMS User 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
+ * demonstrate how to use Amazon Pinpoint SMS 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
diff --git a/clients/client-pinpoint-sms-voice-v2/src/models/models_0.ts b/clients/client-pinpoint-sms-voice-v2/src/models/models_0.ts
index c525536a935f..4fbeae9a0610 100644
--- a/clients/client-pinpoint-sms-voice-v2/src/models/models_0.ts
+++ b/clients/client-pinpoint-sms-voice-v2/src/models/models_0.ts
@@ -53,6 +53,7 @@ export class AccessDeniedException extends __BaseException {
*/
export const AccountAttributeName = {
ACCOUNT_TIER: "ACCOUNT_TIER",
+ DEFAULT_PROTECT_CONFIGURATION_ID: "DEFAULT_PROTECT_CONFIGURATION_ID",
} as const;
/**
@@ -202,6 +203,7 @@ export interface AssociateOriginationIdentityResult {
export const ConflictExceptionReason = {
CREATE_REGISTRATION_VERSION_NOT_ALLOWED: "CREATE_REGISTRATION_VERSION_NOT_ALLOWED",
DELETION_PROTECTION_ENABLED: "DELETION_PROTECTION_ENABLED",
+ DESTINATION_COUNTRY_BLOCKED_BY_PROTECT_CONFIGURATION: "DESTINATION_COUNTRY_BLOCKED_BY_PROTECT_CONFIGURATION",
DESTINATION_PHONE_NUMBER_NOT_VERIFIED: "DESTINATION_PHONE_NUMBER_NOT_VERIFIED",
DESTINATION_PHONE_NUMBER_OPTED_OUT: "DESTINATION_PHONE_NUMBER_OPTED_OUT",
DISASSOCIATE_REGISTRATION_NOT_ALLOWED: "DISASSOCIATE_REGISTRATION_NOT_ALLOWED",
@@ -218,6 +220,10 @@ export const ConflictExceptionReason = {
PHONE_NUMBER_ASSOCIATED_TO_REGISTRATION: "PHONE_NUMBER_ASSOCIATED_TO_REGISTRATION",
PHONE_NUMBER_NOT_ASSOCIATED_TO_POOL: "PHONE_NUMBER_NOT_ASSOCIATED_TO_POOL",
PHONE_NUMBER_NOT_IN_REGISTRATION_REGION: "PHONE_NUMBER_NOT_IN_REGISTRATION_REGION",
+ PROTECT_CONFIGURATION_ASSOCIATED_WITH_CONFIGURATION_SET: "PROTECT_CONFIGURATION_ASSOCIATED_WITH_CONFIGURATION_SET",
+ PROTECT_CONFIGURATION_IS_ACCOUNT_DEFAULT: "PROTECT_CONFIGURATION_IS_ACCOUNT_DEFAULT",
+ PROTECT_CONFIGURATION_NOT_ASSOCIATED_WITH_CONFIGURATION_SET:
+ "PROTECT_CONFIGURATION_NOT_ASSOCIATED_WITH_CONFIGURATION_SET",
REGISTRATION_ALREADY_SUBMITTED: "REGISTRATION_ALREADY_SUBMITTED",
REGISTRATION_NOT_COMPLETE: "REGISTRATION_NOT_COMPLETE",
RESOURCE_ALREADY_EXISTS: "RESOURCE_ALREADY_EXISTS",
@@ -251,6 +257,7 @@ export const ResourceType = {
OPT_OUT_LIST: "opt-out-list",
PHONE_NUMBER: "phone-number",
POOL: "pool",
+ PROTECT_CONFIGURATION: "protect-configuration",
REGISTRATION: "registration",
REGISTRATION_ATTACHMENT: "registration-attachment",
SENDER_ID: "sender-id",
@@ -383,6 +390,7 @@ export const ServiceQuotaExceededExceptionReason = {
EVENT_DESTINATIONS_PER_CONFIGURATION_SET: "EVENT_DESTINATIONS_PER_CONFIGURATION_SET",
KEYWORDS_PER_PHONE_NUMBER: "KEYWORDS_PER_PHONE_NUMBER",
KEYWORDS_PER_POOL: "KEYWORDS_PER_POOL",
+ MONTHLY_SPEND_LIMIT_REACHED_FOR_MEDIA: "MONTHLY_SPEND_LIMIT_REACHED_FOR_MEDIA",
MONTHLY_SPEND_LIMIT_REACHED_FOR_TEXT: "MONTHLY_SPEND_LIMIT_REACHED_FOR_TEXT",
MONTHLY_SPEND_LIMIT_REACHED_FOR_VOICE: "MONTHLY_SPEND_LIMIT_REACHED_FOR_VOICE",
OPT_OUT_LISTS_PER_ACCOUNT: "OPT_OUT_LISTS_PER_ACCOUNT",
@@ -390,6 +398,7 @@ export const ServiceQuotaExceededExceptionReason = {
PHONE_NUMBERS_PER_ACCOUNT: "PHONE_NUMBERS_PER_ACCOUNT",
PHONE_NUMBERS_PER_REGISTRATION: "PHONE_NUMBERS_PER_REGISTRATION",
POOLS_PER_ACCOUNT: "POOLS_PER_ACCOUNT",
+ PROTECT_CONFIGURATIONS_PER_ACCOUNT: "PROTECT_CONFIGURATIONS_PER_ACCOUNT",
REGISTRATIONS_PER_ACCOUNT: "REGISTRATIONS_PER_ACCOUNT",
REGISTRATION_ATTACHMENTS_CREATED_PER_DAY: "REGISTRATION_ATTACHMENTS_CREATED_PER_DAY",
REGISTRATION_ATTACHMENTS_PER_ACCOUNT: "REGISTRATION_ATTACHMENTS_PER_ACCOUNT",
@@ -498,6 +507,7 @@ export const ValidationExceptionReason = {
INVALID_REGISTRATION_ASSOCIATION: "INVALID_REGISTRATION_ASSOCIATION",
INVALID_REQUEST: "INVALID_REQUEST",
MAXIMUM_SIZE_EXCEEDED: "MAXIMUM_SIZE_EXCEEDED",
+ MEDIA_TYPE_NOT_SUPPORTED: "MEDIA_TYPE_NOT_SUPPORTED",
MISSING_PARAMETER: "MISSING_PARAMETER",
OTHER: "OTHER",
PARAMETERS_CANNOT_BE_USED_TOGETHER: "PARAMETERS_CANNOT_BE_USED_TOGETHER",
@@ -564,6 +574,52 @@ export class ValidationException extends __BaseException {
}
}
+/**
+ * @public
+ */
+export interface AssociateProtectConfigurationRequest {
+ /**
+ * The unique identifier for the protect configuration. The name of the ConfigurationSet. The Amazon Resource Name (ARN) of the configuration set. The name of the ConfigurationSet. The Amazon Resource Name (ARN) of the protect configuration. The unique identifier for the protect configuration. The Amazon Resource Name (ARN) of an Amazon Identity and Access Management (IAM) role
+ * The Amazon Resource Name (ARN) of an Identity and Access Management role
* that is able to write event data to an Amazon CloudWatch destination. Contains the delivery stream Amazon Resource Name (ARN), and the ARN of the Identity and Access Management (IAM) role associated with an Kinesis Data Firehose event
+ * Contains the delivery stream Amazon Resource Name (ARN), and the ARN of the Identity and Access Management (IAM) role associated with a Kinesis Data Firehose event
* destination. Event destinations, such as Kinesis Data Firehose, are associated with configuration
* sets, which enable you to publish message sending events. The ARN of an Amazon Identity and Access Management (IAM) role that is able to write
- * event data to an Amazon Firehose destination. The ARN of an Identity and Access Management role that is able to write
+ * event data to an Amazon Kinesis Data Firehose destination. Contains information about an event destination. Event destinations are associated with configuration sets, which enable you to publish
- * message sending events to CloudWatch, Kinesis Data Firehose,or Amazon SNS.
+AssociateProtectConfiguration
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice-v2/command/AssociateProtectConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/AssociateProtectConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/AssociateProtectConfigurationCommandOutput/)
+
@@ -276,6 +283,14 @@ CreatePool
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice-v2/command/CreatePoolCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/CreatePoolCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/CreatePoolCommandOutput/)
+
+CreateProtectConfiguration
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice-v2/command/CreateProtectConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/CreateProtectConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/CreateProtectConfigurationCommandOutput/)
+
@@ -316,6 +331,14 @@ CreateVerifiedDestinationNumber
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice-v2/command/CreateVerifiedDestinationNumberCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/CreateVerifiedDestinationNumberCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/CreateVerifiedDestinationNumberCommandOutput/)
+
+DeleteAccountDefaultProtectConfiguration
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice-v2/command/DeleteAccountDefaultProtectConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/DeleteAccountDefaultProtectConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/DeleteAccountDefaultProtectConfigurationCommandOutput/)
+
@@ -356,6 +379,14 @@ DeleteKeyword
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice-v2/command/DeleteKeywordCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/DeleteKeywordCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/DeleteKeywordCommandOutput/)
+
+DeleteMediaMessageSpendLimitOverride
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice-v2/command/DeleteMediaMessageSpendLimitOverrideCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/DeleteMediaMessageSpendLimitOverrideCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/DeleteMediaMessageSpendLimitOverrideCommandOutput/)
+
@@ -380,6 +411,14 @@ DeletePool
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice-v2/command/DeletePoolCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/DeletePoolCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/DeletePoolCommandOutput/)
+
+DeleteProtectConfiguration
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice-v2/command/DeleteProtectConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/DeleteProtectConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/DeleteProtectConfigurationCommandOutput/)
+
@@ -492,6 +531,14 @@ DescribePools
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice-v2/command/DescribePoolsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/DescribePoolsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/DescribePoolsCommandOutput/)
+
+DescribeProtectConfigurations
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice-v2/command/DescribeProtectConfigurationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/DescribeProtectConfigurationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/DescribeProtectConfigurationsCommandOutput/)
+
@@ -580,6 +627,14 @@ DisassociateOriginationIdentity
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice-v2/command/DisassociateOriginationIdentityCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/DisassociateOriginationIdentityCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/DisassociateOriginationIdentityCommandOutput/)
+
+DisassociateProtectConfiguration
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice-v2/command/DisassociateProtectConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/DisassociateProtectConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/DisassociateProtectConfigurationCommandOutput/)
+
@@ -588,6 +643,14 @@ DiscardRegistrationVersion
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice-v2/command/DiscardRegistrationVersionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/DiscardRegistrationVersionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/DiscardRegistrationVersionCommandOutput/)
+
+GetProtectConfigurationCountryRuleSet
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice-v2/command/GetProtectConfigurationCountryRuleSetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/GetProtectConfigurationCountryRuleSetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/GetProtectConfigurationCountryRuleSetCommandOutput/)
+
@@ -676,6 +739,14 @@ SendDestinationNumberVerificationCode
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice-v2/command/SendDestinationNumberVerificationCodeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/SendDestinationNumberVerificationCodeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/SendDestinationNumberVerificationCodeCommandOutput/)
+
+SendMediaMessage
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice-v2/command/SendMediaMessageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/SendMediaMessageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/SendMediaMessageCommandOutput/)
+
@@ -692,6 +763,14 @@ SendVoiceMessage
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice-v2/command/SendVoiceMessageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/SendVoiceMessageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/SendVoiceMessageCommandOutput/)
+
+SetAccountDefaultProtectConfiguration
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice-v2/command/SetAccountDefaultProtectConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/SetAccountDefaultProtectConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/SetAccountDefaultProtectConfigurationCommandOutput/)
+
@@ -708,6 +787,14 @@ SetDefaultSenderId
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice-v2/command/SetDefaultSenderIdCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/SetDefaultSenderIdCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/SetDefaultSenderIdCommandOutput/)
+
+SetMediaMessageSpendLimitOverride
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice-v2/command/SetMediaMessageSpendLimitOverrideCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/SetMediaMessageSpendLimitOverrideCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/SetMediaMessageSpendLimitOverrideCommandOutput/)
+
@@ -772,6 +859,22 @@ UpdatePool
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice-v2/command/UpdatePoolCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/UpdatePoolCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/UpdatePoolCommandOutput/)
+
+UpdateProtectConfiguration
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice-v2/command/UpdateProtectConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/UpdateProtectConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/UpdateProtectConfigurationCommandOutput/)
+
+
+UpdateProtectConfigurationCountryRuleSet
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice-v2/command/UpdateProtectConfigurationCountryRuleSetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/UpdateProtectConfigurationCountryRuleSetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice-v2/Interface/UpdateProtectConfigurationCountryRuleSetCommandOutput/)
+
diff --git a/clients/client-pinpoint-sms-voice-v2/src/PinpointSMSVoiceV2.ts b/clients/client-pinpoint-sms-voice-v2/src/PinpointSMSVoiceV2.ts
index f954848e16f7..01f63019bf59 100644
--- a/clients/client-pinpoint-sms-voice-v2/src/PinpointSMSVoiceV2.ts
+++ b/clients/client-pinpoint-sms-voice-v2/src/PinpointSMSVoiceV2.ts
@@ -7,6 +7,11 @@ import {
AssociateOriginationIdentityCommandInput,
AssociateOriginationIdentityCommandOutput,
} from "./commands/AssociateOriginationIdentityCommand";
+import {
+ AssociateProtectConfigurationCommand,
+ AssociateProtectConfigurationCommandInput,
+ AssociateProtectConfigurationCommandOutput,
+} from "./commands/AssociateProtectConfigurationCommand";
import {
CreateConfigurationSetCommand,
CreateConfigurationSetCommandInput,
@@ -23,6 +28,11 @@ import {
CreateOptOutListCommandOutput,
} from "./commands/CreateOptOutListCommand";
import { CreatePoolCommand, CreatePoolCommandInput, CreatePoolCommandOutput } from "./commands/CreatePoolCommand";
+import {
+ CreateProtectConfigurationCommand,
+ CreateProtectConfigurationCommandInput,
+ CreateProtectConfigurationCommandOutput,
+} from "./commands/CreateProtectConfigurationCommand";
import {
CreateRegistrationAssociationCommand,
CreateRegistrationAssociationCommandInput,
@@ -48,6 +58,11 @@ import {
CreateVerifiedDestinationNumberCommandInput,
CreateVerifiedDestinationNumberCommandOutput,
} from "./commands/CreateVerifiedDestinationNumberCommand";
+import {
+ DeleteAccountDefaultProtectConfigurationCommand,
+ DeleteAccountDefaultProtectConfigurationCommandInput,
+ DeleteAccountDefaultProtectConfigurationCommandOutput,
+} from "./commands/DeleteAccountDefaultProtectConfigurationCommand";
import {
DeleteConfigurationSetCommand,
DeleteConfigurationSetCommandInput,
@@ -73,6 +88,11 @@ import {
DeleteKeywordCommandInput,
DeleteKeywordCommandOutput,
} from "./commands/DeleteKeywordCommand";
+import {
+ DeleteMediaMessageSpendLimitOverrideCommand,
+ DeleteMediaMessageSpendLimitOverrideCommandInput,
+ DeleteMediaMessageSpendLimitOverrideCommandOutput,
+} from "./commands/DeleteMediaMessageSpendLimitOverrideCommand";
import {
DeleteOptedOutNumberCommand,
DeleteOptedOutNumberCommandInput,
@@ -84,6 +104,11 @@ import {
DeleteOptOutListCommandOutput,
} from "./commands/DeleteOptOutListCommand";
import { DeletePoolCommand, DeletePoolCommandInput, DeletePoolCommandOutput } from "./commands/DeletePoolCommand";
+import {
+ DeleteProtectConfigurationCommand,
+ DeleteProtectConfigurationCommandInput,
+ DeleteProtectConfigurationCommandOutput,
+} from "./commands/DeleteProtectConfigurationCommand";
import {
DeleteRegistrationAttachmentCommand,
DeleteRegistrationAttachmentCommandInput,
@@ -154,6 +179,11 @@ import {
DescribePoolsCommandInput,
DescribePoolsCommandOutput,
} from "./commands/DescribePoolsCommand";
+import {
+ DescribeProtectConfigurationsCommand,
+ DescribeProtectConfigurationsCommandInput,
+ DescribeProtectConfigurationsCommandOutput,
+} from "./commands/DescribeProtectConfigurationsCommand";
import {
DescribeRegistrationAttachmentsCommand,
DescribeRegistrationAttachmentsCommandInput,
@@ -209,11 +239,21 @@ import {
DisassociateOriginationIdentityCommandInput,
DisassociateOriginationIdentityCommandOutput,
} from "./commands/DisassociateOriginationIdentityCommand";
+import {
+ DisassociateProtectConfigurationCommand,
+ DisassociateProtectConfigurationCommandInput,
+ DisassociateProtectConfigurationCommandOutput,
+} from "./commands/DisassociateProtectConfigurationCommand";
import {
DiscardRegistrationVersionCommand,
DiscardRegistrationVersionCommandInput,
DiscardRegistrationVersionCommandOutput,
} from "./commands/DiscardRegistrationVersionCommand";
+import {
+ GetProtectConfigurationCountryRuleSetCommand,
+ GetProtectConfigurationCountryRuleSetCommandInput,
+ GetProtectConfigurationCountryRuleSetCommandOutput,
+} from "./commands/GetProtectConfigurationCountryRuleSetCommand";
import {
ListPoolOriginationIdentitiesCommand,
ListPoolOriginationIdentitiesCommandInput,
@@ -265,6 +305,11 @@ import {
SendDestinationNumberVerificationCodeCommandInput,
SendDestinationNumberVerificationCodeCommandOutput,
} from "./commands/SendDestinationNumberVerificationCodeCommand";
+import {
+ SendMediaMessageCommand,
+ SendMediaMessageCommandInput,
+ SendMediaMessageCommandOutput,
+} from "./commands/SendMediaMessageCommand";
import {
SendTextMessageCommand,
SendTextMessageCommandInput,
@@ -275,6 +320,11 @@ import {
SendVoiceMessageCommandInput,
SendVoiceMessageCommandOutput,
} from "./commands/SendVoiceMessageCommand";
+import {
+ SetAccountDefaultProtectConfigurationCommand,
+ SetAccountDefaultProtectConfigurationCommandInput,
+ SetAccountDefaultProtectConfigurationCommandOutput,
+} from "./commands/SetAccountDefaultProtectConfigurationCommand";
import {
SetDefaultMessageTypeCommand,
SetDefaultMessageTypeCommandInput,
@@ -285,6 +335,11 @@ import {
SetDefaultSenderIdCommandInput,
SetDefaultSenderIdCommandOutput,
} from "./commands/SetDefaultSenderIdCommand";
+import {
+ SetMediaMessageSpendLimitOverrideCommand,
+ SetMediaMessageSpendLimitOverrideCommandInput,
+ SetMediaMessageSpendLimitOverrideCommandOutput,
+} from "./commands/SetMediaMessageSpendLimitOverrideCommand";
import {
SetTextMessageSpendLimitOverrideCommand,
SetTextMessageSpendLimitOverrideCommandInput,
@@ -317,6 +372,16 @@ import {
UpdatePhoneNumberCommandOutput,
} from "./commands/UpdatePhoneNumberCommand";
import { UpdatePoolCommand, UpdatePoolCommandInput, UpdatePoolCommandOutput } from "./commands/UpdatePoolCommand";
+import {
+ UpdateProtectConfigurationCommand,
+ UpdateProtectConfigurationCommandInput,
+ UpdateProtectConfigurationCommandOutput,
+} from "./commands/UpdateProtectConfigurationCommand";
+import {
+ UpdateProtectConfigurationCountryRuleSetCommand,
+ UpdateProtectConfigurationCountryRuleSetCommandInput,
+ UpdateProtectConfigurationCountryRuleSetCommandOutput,
+} from "./commands/UpdateProtectConfigurationCountryRuleSetCommand";
import {
UpdateSenderIdCommand,
UpdateSenderIdCommandInput,
@@ -331,23 +396,28 @@ import { PinpointSMSVoiceV2Client, PinpointSMSVoiceV2ClientConfig } from "./Pinp
const commands = {
AssociateOriginationIdentityCommand,
+ AssociateProtectConfigurationCommand,
CreateConfigurationSetCommand,
CreateEventDestinationCommand,
CreateOptOutListCommand,
CreatePoolCommand,
+ CreateProtectConfigurationCommand,
CreateRegistrationCommand,
CreateRegistrationAssociationCommand,
CreateRegistrationAttachmentCommand,
CreateRegistrationVersionCommand,
CreateVerifiedDestinationNumberCommand,
+ DeleteAccountDefaultProtectConfigurationCommand,
DeleteConfigurationSetCommand,
DeleteDefaultMessageTypeCommand,
DeleteDefaultSenderIdCommand,
DeleteEventDestinationCommand,
DeleteKeywordCommand,
+ DeleteMediaMessageSpendLimitOverrideCommand,
DeleteOptedOutNumberCommand,
DeleteOptOutListCommand,
DeletePoolCommand,
+ DeleteProtectConfigurationCommand,
DeleteRegistrationCommand,
DeleteRegistrationAttachmentCommand,
DeleteRegistrationFieldValueCommand,
@@ -362,6 +432,7 @@ const commands = {
DescribeOptOutListsCommand,
DescribePhoneNumbersCommand,
DescribePoolsCommand,
+ DescribeProtectConfigurationsCommand,
DescribeRegistrationAttachmentsCommand,
DescribeRegistrationFieldDefinitionsCommand,
DescribeRegistrationFieldValuesCommand,
@@ -373,7 +444,9 @@ const commands = {
DescribeSpendLimitsCommand,
DescribeVerifiedDestinationNumbersCommand,
DisassociateOriginationIdentityCommand,
+ DisassociateProtectConfigurationCommand,
DiscardRegistrationVersionCommand,
+ GetProtectConfigurationCountryRuleSetCommand,
ListPoolOriginationIdentitiesCommand,
ListRegistrationAssociationsCommand,
ListTagsForResourceCommand,
@@ -385,10 +458,13 @@ const commands = {
RequestPhoneNumberCommand,
RequestSenderIdCommand,
SendDestinationNumberVerificationCodeCommand,
+ SendMediaMessageCommand,
SendTextMessageCommand,
SendVoiceMessageCommand,
+ SetAccountDefaultProtectConfigurationCommand,
SetDefaultMessageTypeCommand,
SetDefaultSenderIdCommand,
+ SetMediaMessageSpendLimitOverrideCommand,
SetTextMessageSpendLimitOverrideCommand,
SetVoiceMessageSpendLimitOverrideCommand,
SubmitRegistrationVersionCommand,
@@ -397,6 +473,8 @@ const commands = {
UpdateEventDestinationCommand,
UpdatePhoneNumberCommand,
UpdatePoolCommand,
+ UpdateProtectConfigurationCommand,
+ UpdateProtectConfigurationCountryRuleSetCommand,
UpdateSenderIdCommand,
VerifyDestinationNumberCommand,
};
@@ -419,6 +497,23 @@ export interface PinpointSMSVoiceV2 {
cb: (err: any, data?: AssociateOriginationIdentityCommandOutput) => void
): void;
+ /**
+ * @see {@link AssociateProtectConfigurationCommand}
+ */
+ associateProtectConfiguration(
+ args: AssociateProtectConfigurationCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise
ALLOW
. Update the country rule sets using UpdateProtectConfigurationCountryRuleSet
. A protect configurations name is stored as a Tag with the key set to Name
and value as the name of the protect configuration.EnforcedLimit
to equal the
+ * MaxLimit
, which is controlled by Amazon Web Services. For more
+ * information on spend limits (quotas) see Quotas for Server Migration Service
+ * in the Server Migration Service User Guide.MaxLimit
, which is
+ * set by Amazon Web Services. ALLOW
or BLOCK
messages to be sent to the specified destination counties. You can update one or multiple countries at a time. The updates are only applied to the specified NumberCapability type.
An object that contains information about an event destination for logging to Amazon - * Kinesis Data Firehose.
+ *An object that contains information about an event destination for logging to Amazon Kinesis Data Firehose.
* @public */ KinesisFirehoseDestination?: KinesisFirehoseDestination; @@ -829,6 +902,12 @@ export interface ConfigurationSetInformation { * @public */ CreatedTimestamp: Date | undefined; + + /** + *The unique identifier for the protect configuration.
+ * @public + */ + ProtectConfigurationId?: string; } /** @@ -932,15 +1011,13 @@ export interface CreateEventDestinationRequest { MatchingEventTypes: EventType[] | undefined; /** - *An object that contains information about an event destination for logging to Amazon - * CloudWatch logs.
+ *An object that contains information about an event destination for logging to Amazon CloudWatch Logs.
* @public */ CloudWatchLogsDestination?: CloudWatchLogsDestination; /** - *An object that contains information about an event destination for logging to Amazon - * Kinesis Data Firehose.
+ *An object that contains information about an event destination for logging to Amazon Kinesis Data Firehose.
* @public */ KinesisFirehoseDestination?: KinesisFirehoseDestination; @@ -1203,6 +1280,74 @@ export interface CreatePoolResult { CreatedTimestamp?: Date; } +/** + * @public + */ +export interface CreateProtectConfigurationRequest { + /** + *Unique, case-sensitive identifier that you provide to ensure the idempotency of the + * request. If you don't specify a client token, a randomly generated token is used for the + * request to ensure idempotency.
+ * @public + */ + ClientToken?: string; + + /** + *When set to true deletion protection is enabled. By default this is set to false. + *
+ * @public + */ + DeletionProtectionEnabled?: boolean; + + /** + *An array of key and value pair tags that are associated with the resource.
+ * @public + */ + Tags?: Tag[]; +} + +/** + * @public + */ +export interface CreateProtectConfigurationResult { + /** + *The Amazon Resource Name (ARN) of the protect configuration.
+ * @public + */ + ProtectConfigurationArn: string | undefined; + + /** + *The unique identifier for the protect configuration.
+ * @public + */ + ProtectConfigurationId: string | undefined; + + /** + *The time when the protect configuration was created, in UNIX epoch time format.
+ * @public + */ + CreatedTimestamp: Date | undefined; + + /** + *This is true if the protect configuration is set as your account default protect configuration.
+ * @public + */ + AccountDefault: boolean | undefined; + + /** + *When set to true deletion protection is enabled. By default this is set to false. + *
+ * @public + */ + DeletionProtectionEnabled: boolean | undefined; + + /** + *An array of key and value pair tags that are associated with the resource.
+ * @public + */ + Tags?: Tag[]; +} + /** * @public */ @@ -1736,6 +1881,28 @@ export interface CreateVerifiedDestinationNumberResult { CreatedTimestamp: Date | undefined; } +/** + * @public + */ +export interface DeleteAccountDefaultProtectConfigurationRequest {} + +/** + * @public + */ +export interface DeleteAccountDefaultProtectConfigurationResult { + /** + *The Amazon Resource Name (ARN) of the account default protect configuration.
+ * @public + */ + DefaultProtectConfigurationArn: string | undefined; + + /** + *The unique identifier of the account default protect configuration.
+ * @public + */ + DefaultProtectConfigurationId: string | undefined; +} + /** * @public */ @@ -1976,6 +2143,22 @@ export interface DeleteKeywordResult { KeywordAction?: KeywordAction; } +/** + * @public + */ +export interface DeleteMediaMessageSpendLimitOverrideRequest {} + +/** + * @public + */ +export interface DeleteMediaMessageSpendLimitOverrideResult { + /** + *The current monthly limit, in US dollars.
+ * @public + */ + MonthlyLimit?: number; +} + /** * @public */ @@ -2163,6 +2346,53 @@ export interface DeletePoolResult { CreatedTimestamp?: Date; } +/** + * @public + */ +export interface DeleteProtectConfigurationRequest { + /** + *The unique identifier for the protect configuration.
+ * @public + */ + ProtectConfigurationId: string | undefined; +} + +/** + * @public + */ +export interface DeleteProtectConfigurationResult { + /** + *The Amazon Resource Name (ARN) of the protect configuration.
+ * @public + */ + ProtectConfigurationArn: string | undefined; + + /** + *The unique identifier for the protect configuration.
+ * @public + */ + ProtectConfigurationId: string | undefined; + + /** + *The time when the protect configuration was created, in UNIX epoch time format.
+ * @public + */ + CreatedTimestamp: Date | undefined; + + /** + *This is true if the protect configuration is set as your account default protect configuration.
+ * @public + */ + AccountDefault: boolean | undefined; + + /** + *The status of deletion protection for the protect configuration. When set to true deletion protection is enabled. By default this is set to false. + *
+ * @public + */ + DeletionProtectionEnabled: boolean | undefined; +} + /** * @public */ @@ -2980,6 +3210,7 @@ export interface DescribePhoneNumbersRequest { * @enum */ export const NumberCapability = { + MMS: "MMS", SMS: "SMS", VOICE: "VOICE", } as const; @@ -3344,6 +3575,124 @@ export interface DescribePoolsResult { NextToken?: string; } +/** + * @public + * @enum + */ +export const ProtectConfigurationFilterName = { + ACCOUNT_DEFAULT: "account-default", + DELETION_PROTECTION_ENABLED: "deletion-protection-enabled", +} as const; + +/** + * @public + */ +export type ProtectConfigurationFilterName = + (typeof ProtectConfigurationFilterName)[keyof typeof ProtectConfigurationFilterName]; + +/** + *The filter definition for filtering protect configurations that meet a specified criteria.
+ * @public + */ +export interface ProtectConfigurationFilter { + /** + *The name of the attribute to filter on.
+ * @public + */ + Name: ProtectConfigurationFilterName | undefined; + + /** + *An array of values to filter for.
+ * @public + */ + Values: string[] | undefined; +} + +/** + * @public + */ +export interface DescribeProtectConfigurationsRequest { + /** + *An array of protect configuration identifiers to search for.
+ * @public + */ + ProtectConfigurationIds?: string[]; + + /** + *An array of ProtectConfigurationFilter objects to filter the results.
+ * @public + */ + Filters?: ProtectConfigurationFilter[]; + + /** + *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.
+ * @public + */ + NextToken?: string; + + /** + *The maximum number of results to return per each request.
+ * @public + */ + MaxResults?: number; +} + +/** + *Provides information on the specified protect configuration.
+ * @public + */ +export interface ProtectConfigurationInformation { + /** + *The Amazon Resource Name (ARN) of the protect configuration.
+ * @public + */ + ProtectConfigurationArn: string | undefined; + + /** + *The unique identifier for the protect configuration.
+ * @public + */ + ProtectConfigurationId: string | undefined; + + /** + *The time when the protect configuration was created, in UNIX epoch time format.
+ * @public + */ + CreatedTimestamp: Date | undefined; + + /** + *This is true if the protect configuration is set as your account default protect configuration.
+ * @public + */ + AccountDefault: boolean | undefined; + + /** + *The status of deletion protection for the protect configuration. When set to true deletion protection is enabled. By default this is set to false. + *
+ * @public + */ + DeletionProtectionEnabled: boolean | undefined; +} + +/** + * @public + */ +export interface DescribeProtectConfigurationsResult { + /** + *An array of ProtectConfigurationInformation objects that contain the details for the request.
+ * @public + */ + ProtectConfigurations?: ProtectConfigurationInformation[]; + + /** + *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.
+ * @public + */ + NextToken?: string; +} + /** * @public * @enum @@ -4760,6 +5109,7 @@ export interface DescribeSpendLimitsRequest { * @enum */ export const SpendLimitName = { + MEDIA_MESSAGE_MONTHLY_SPEND_LIMIT: "MEDIA_MESSAGE_MONTHLY_SPEND_LIMIT", TEXT_MESSAGE_MONTHLY_SPEND_LIMIT: "TEXT_MESSAGE_MONTHLY_SPEND_LIMIT", VOICE_MESSAGE_MONTHLY_SPEND_LIMIT: "VOICE_MESSAGE_MONTHLY_SPEND_LIMIT", } as const; @@ -5049,15 +5399,61 @@ export interface DisassociateOriginationIdentityResult { /** * @public */ -export interface DiscardRegistrationVersionRequest { +export interface DisassociateProtectConfigurationRequest { /** - *The unique identifier for the registration.
+ *The unique identifier for the protect configuration.
* @public */ - RegistrationId: string | undefined; -} + ProtectConfigurationId: string | undefined; -/** + /** + *The name of the ConfigurationSet.
+ * @public + */ + ConfigurationSetName: string | undefined; +} + +/** + * @public + */ +export interface DisassociateProtectConfigurationResult { + /** + *The Amazon Resource Name (ARN) of the configuration set.
+ * @public + */ + ConfigurationSetArn: string | undefined; + + /** + *The name of the ConfigurationSet.
+ * @public + */ + ConfigurationSetName: string | undefined; + + /** + *The Amazon Resource Name (ARN) of the protect configuration.
+ * @public + */ + ProtectConfigurationArn: string | undefined; + + /** + *The unique identifier for the protect configuration.
+ * @public + */ + ProtectConfigurationId: string | undefined; +} + +/** + * @public + */ +export interface DiscardRegistrationVersionRequest { + /** + *The unique identifier for the registration.
+ * @public + */ + RegistrationId: string | undefined; +} + +/** * @public */ export interface DiscardRegistrationVersionResult { @@ -5126,6 +5522,79 @@ export interface DiscardRegistrationVersionResult { RegistrationVersionStatusHistory: RegistrationVersionStatusHistory | undefined; } +/** + * @public + */ +export interface GetProtectConfigurationCountryRuleSetRequest { + /** + *The unique identifier for the protect configuration.
+ * @public + */ + ProtectConfigurationId: string | undefined; + + /** + *The capability type to return the CountryRuleSet for. Valid values are SMS
, VOICE
, or MMS
.
The types of statuses that can be used.
+ * @public + */ +export interface ProtectConfigurationCountryRuleSetInformation { + /** + *The types of protection that can be used.
+ * @public + */ + ProtectStatus: ProtectStatus | undefined; +} + +/** + * @public + */ +export interface GetProtectConfigurationCountryRuleSetResult { + /** + *The Amazon Resource Name (ARN) of the protect configuration.
+ * @public + */ + ProtectConfigurationArn: string | undefined; + + /** + *The unique identifier for the protect configuration.
+ * @public + */ + ProtectConfigurationId: string | undefined; + + /** + *The capability type associated with the returned ProtectConfigurationCountryRuleSetInformation objects.
+ * @public + */ + NumberCapability: NumberCapability | undefined; + + /** + *A map of ProtectConfigurationCountryRuleSetInformation objects that contain the + * details for the requested NumberCapability. The Key is the two-letter ISO country code. For a list of supported ISO country codes, see Supported countries and regions (SMS channel) in the Amazon Pinpoint SMS user guide.
+ * @public + */ + CountryRuleSet: RecordThe destination phone number in E.164 format.
+ * @public + */ + DestinationPhoneNumber: string | undefined; + + /** + *The origination identity of the message. This can be either the PhoneNumber, + * PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.
+ * @public + */ + OriginationIdentity: string | undefined; + + /** + *The text body of the message.
+ * @public + */ + MessageBody?: string; + + /** + *An array of URLs to each media file to send.
+ *The media files have to be stored in a publicly available S3 bucket. Supported media file formats + * are listed in MMS file types, size and character limits. For more information on creating an S3 bucket and managing + * objects, see Creating a bucket and Uploading objects in the S3 user guide.
+ * @public + */ + MediaUrls?: string[]; + + /** + *The name of the configuration set to use. This can be either the ConfigurationSetName + * or ConfigurationSetArn.
+ * @public + */ + ConfigurationSetName?: string; + + /** + *The maximum amount that you want to spend, in US dollars, per each MMS message.
+ * @public + */ + MaxPrice?: string; + + /** + *How long the text message is valid for. By default this is 72 hours.
+ * @public + */ + TimeToLive?: number; + + /** + *You can specify custom data in this field. If you do, that data is logged to the event + * destination.
+ * @public + */ + Context?: RecordWhen set to true, the message is checked and validated, but isn't sent to the end + * recipient.
+ * @public + */ + DryRun?: boolean; + + /** + *The unique identifier of the protect configuration to use.
+ * @public + */ + ProtectConfigurationId?: string; +} + +/** + * @public + */ +export interface SendMediaMessageResult { + /** + *The unique identifier for the message.
+ * @public + */ + MessageId?: string; +} + /** * @public */ @@ -6323,6 +6875,12 @@ export interface SendTextMessageRequest { * @public */ DryRun?: boolean; + + /** + *The unique identifier for the protect configuration.
+ * @public + */ + ProtectConfigurationId?: string; } /** @@ -6500,6 +7058,12 @@ export interface SendVoiceMessageRequest { * @public */ DryRun?: boolean; + + /** + *The unique identifier for the protect configuration.
+ * @public + */ + ProtectConfigurationId?: string; } /** @@ -6513,6 +7077,34 @@ export interface SendVoiceMessageResult { MessageId?: string; } +/** + * @public + */ +export interface SetAccountDefaultProtectConfigurationRequest { + /** + *The unique identifier for the protect configuration.
+ * @public + */ + ProtectConfigurationId: string | undefined; +} + +/** + * @public + */ +export interface SetAccountDefaultProtectConfigurationResult { + /** + *The Amazon Resource Name (ARN) of the account default protect configuration.
+ * @public + */ + DefaultProtectConfigurationArn: string | undefined; + + /** + *The unique identifier of the account default protect configuration.
+ * @public + */ + DefaultProtectConfigurationId: string | undefined; +} + /** * @public */ @@ -6601,6 +7193,28 @@ export interface SetDefaultSenderIdResult { SenderId?: string; } +/** + * @public + */ +export interface SetMediaMessageSpendLimitOverrideRequest { + /** + *The new monthly limit to enforce on text messages.
+ * @public + */ + MonthlyLimit: number | undefined; +} + +/** + * @public + */ +export interface SetMediaMessageSpendLimitOverrideResult { + /** + *The current monthly limit to enforce on sending text messages.
+ * @public + */ + MonthlyLimit?: number; +} + /** * @public */ @@ -7154,6 +7768,113 @@ export interface UpdatePoolResult { CreatedTimestamp?: Date; } +/** + * @public + */ +export interface UpdateProtectConfigurationRequest { + /** + *The unique identifier for the protect configuration.
+ * @public + */ + ProtectConfigurationId: string | undefined; + + /** + *When set to true deletion protection is enabled. By default this is set to false. + *
+ * @public + */ + DeletionProtectionEnabled?: boolean; +} + +/** + * @public + */ +export interface UpdateProtectConfigurationResult { + /** + *The Amazon Resource Name (ARN) of the protect configuration.
+ * @public + */ + ProtectConfigurationArn: string | undefined; + + /** + *The unique identifier for the protect configuration.
+ * @public + */ + ProtectConfigurationId: string | undefined; + + /** + *The time when the protect configuration was created, in UNIX epoch time format.
+ * @public + */ + CreatedTimestamp: Date | undefined; + + /** + *This is true if the protect configuration is set as your account default protect configuration.
+ * @public + */ + AccountDefault: boolean | undefined; + + /** + *The status of deletion protection for the protect configuration. When set to true deletion protection is enabled. By default this is set to false. + *
+ * @public + */ + DeletionProtectionEnabled: boolean | undefined; +} + +/** + * @public + */ +export interface UpdateProtectConfigurationCountryRuleSetRequest { + /** + *The unique identifier for the protect configuration.
+ * @public + */ + ProtectConfigurationId: string | undefined; + + /** + *The number capability to apply the CountryRuleSetUpdates updates to.
+ * @public + */ + NumberCapability: NumberCapability | undefined; + + /** + *A map of ProtectConfigurationCountryRuleSetInformation objects that contain the + * details for the requested NumberCapability. The Key is the two-letter ISO country code. For a list of supported ISO country codes, see Supported countries and regions (SMS channel) in the Amazon Pinpoint SMS user guide.
+ * @public + */ + CountryRuleSetUpdates: RecordThe Amazon Resource Name (ARN) of the protect configuration.
+ * @public + */ + ProtectConfigurationArn: string | undefined; + + /** + *The unique identifier for the protect configuration.
+ * @public + */ + ProtectConfigurationId: string | undefined; + + /** + *The number capability that was updated
+ * @public + */ + NumberCapability: NumberCapability | undefined; + + /** + *An array of ProtectConfigurationCountryRuleSetInformation containing the rules for the NumberCapability.
+ * @public + */ + CountryRuleSet: RecordAssociate a protect configuration with a configuration set. This replaces the\n configuration sets current protect configuration. A configuration set can\n only be associated with one protect configuration at a time. A protect configuration can\n be associated with multiple configuration sets.
" + } + }, + "com.amazonaws.pinpointsmsvoicev2#AssociateProtectConfigurationRequest": { + "type": "structure", + "members": { + "ProtectConfigurationId": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationIdOrArn", + "traits": { + "smithy.api#documentation": "The unique identifier for the protect configuration.
", + "smithy.api#required": {} + } + }, + "ConfigurationSetName": { + "target": "com.amazonaws.pinpointsmsvoicev2#ConfigurationSetNameOrArn", + "traits": { + "smithy.api#documentation": "The name of the ConfigurationSet.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.pinpointsmsvoicev2#AssociateProtectConfigurationResult": { + "type": "structure", + "members": { + "ConfigurationSetArn": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the configuration set.
", + "smithy.api#required": {} + } + }, + "ConfigurationSetName": { + "target": "com.amazonaws.pinpointsmsvoicev2#ConfigurationSetName", + "traits": { + "smithy.api#documentation": "The name of the ConfigurationSet.
", + "smithy.api#required": {} + } + }, + "ProtectConfigurationArn": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the protect configuration.
", + "smithy.api#required": {} + } + }, + "ProtectConfigurationId": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationId", + "traits": { + "smithy.api#documentation": "The unique identifier for the protect configuration.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.pinpointsmsvoicev2#AttachmentBody": { "type": "blob", "traits": { @@ -337,7 +431,7 @@ "IamRoleArn": { "target": "com.amazonaws.pinpointsmsvoicev2#IamRoleArn", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of an Amazon Identity and Access Management (IAM) role\n that is able to write event data to an Amazon CloudWatch destination.
", + "smithy.api#documentation": "The Amazon Resource Name (ARN) of an Identity and Access Management role\n that is able to write event data to an Amazon CloudWatch destination.
", "smithy.api#required": {} } }, @@ -405,6 +499,10 @@ { "value": "default-sender-id", "name": "DEFAULT_SENDER_ID" + }, + { + "value": "protect-configuration-id", + "name": "PROTECT_CONFIGURATION_ID" } ] } @@ -451,6 +549,12 @@ "smithy.api#documentation": "The time when the ConfigurationSet was created, in UNIX epoch time format.
", "smithy.api#required": {} } + }, + "ProtectConfigurationId": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationIdOrArn", + "traits": { + "smithy.api#documentation": "The unique identifier for the protect configuration.
" + } } }, "traits": { @@ -651,6 +755,22 @@ { "value": "VERIFICATION_ALREADY_COMPLETE", "name": "VERIFICATION_ALREADY_COMPLETE" + }, + { + "value": "PROTECT_CONFIGURATION_IS_ACCOUNT_DEFAULT", + "name": "PROTECT_CONFIGURATION_IS_ACCOUNT_DEFAULT" + }, + { + "value": "PROTECT_CONFIGURATION_ASSOCIATED_WITH_CONFIGURATION_SET", + "name": "PROTECT_CONFIGURATION_ASSOCIATED_WITH_CONFIGURATION_SET" + }, + { + "value": "PROTECT_CONFIGURATION_NOT_ASSOCIATED_WITH_CONFIGURATION_SET", + "name": "PROTECT_CONFIGURATION_NOT_ASSOCIATED_WITH_CONFIGURATION_SET" + }, + { + "value": "DESTINATION_COUNTRY_BLOCKED_BY_PROTECT_CONFIGURATION", + "name": "DESTINATION_COUNTRY_BLOCKED_BY_PROTECT_CONFIGURATION" } ] } @@ -843,13 +963,13 @@ "CloudWatchLogsDestination": { "target": "com.amazonaws.pinpointsmsvoicev2#CloudWatchLogsDestination", "traits": { - "smithy.api#documentation": "An object that contains information about an event destination for logging to Amazon\n CloudWatch logs.
" + "smithy.api#documentation": "An object that contains information about an event destination for logging to Amazon CloudWatch Logs.
" } }, "KinesisFirehoseDestination": { "target": "com.amazonaws.pinpointsmsvoicev2#KinesisFirehoseDestination", "traits": { - "smithy.api#documentation": "An object that contains information about an event destination for logging to Amazon\n Kinesis Data Firehose.
" + "smithy.api#documentation": "An object that contains information about an event destination for logging to Amazon Kinesis Data Firehose.
" } }, "SnsDestination": { @@ -1161,6 +1281,113 @@ "smithy.api#output": {} } }, + "com.amazonaws.pinpointsmsvoicev2#CreateProtectConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.pinpointsmsvoicev2#CreateProtectConfigurationRequest" + }, + "output": { + "target": "com.amazonaws.pinpointsmsvoicev2#CreateProtectConfigurationResult" + }, + "errors": [ + { + "target": "com.amazonaws.pinpointsmsvoicev2#AccessDeniedException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#InternalServerException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ThrottlingException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Create a new protect configuration. By default all country rule sets for each capability are set to ALLOW
. Update the country rule sets using UpdateProtectConfigurationCountryRuleSet
. A protect configurations name is stored as a Tag with the key set to Name
and value as the name of the protect configuration.
Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. If you don't specify a client token, a randomly generated token is used for the\n request to ensure idempotency.
", + "smithy.api#idempotencyToken": {} + } + }, + "DeletionProtectionEnabled": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "When set to true deletion protection is enabled. By default this is set to false.\n
" + } + }, + "Tags": { + "target": "com.amazonaws.pinpointsmsvoicev2#TagList", + "traits": { + "smithy.api#documentation": "An array of key and value pair tags that are associated with the resource.
" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.pinpointsmsvoicev2#CreateProtectConfigurationResult": { + "type": "structure", + "members": { + "ProtectConfigurationArn": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the protect configuration.
", + "smithy.api#required": {} + } + }, + "ProtectConfigurationId": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationId", + "traits": { + "smithy.api#documentation": "The unique identifier for the protect configuration.
", + "smithy.api#required": {} + } + }, + "CreatedTimestamp": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "The time when the protect configuration was created, in UNIX epoch time format.
", + "smithy.api#required": {} + } + }, + "AccountDefault": { + "target": "smithy.api#PrimitiveBoolean", + "traits": { + "smithy.api#default": false, + "smithy.api#documentation": "This is true if the protect configuration is set as your account default protect configuration.
", + "smithy.api#required": {} + } + }, + "DeletionProtectionEnabled": { + "target": "smithy.api#PrimitiveBoolean", + "traits": { + "smithy.api#default": false, + "smithy.api#documentation": "When set to true deletion protection is enabled. By default this is set to false.\n
", + "smithy.api#required": {} + } + }, + "Tags": { + "target": "com.amazonaws.pinpointsmsvoicev2#TagList", + "traits": { + "smithy.api#documentation": "An array of key and value pair tags that are associated with the resource.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.pinpointsmsvoicev2#CreateRegistration": { "type": "operation", "input": { @@ -1711,6 +1938,64 @@ "smithy.api#output": {} } }, + "com.amazonaws.pinpointsmsvoicev2#DeleteAccountDefaultProtectConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.pinpointsmsvoicev2#DeleteAccountDefaultProtectConfigurationRequest" + }, + "output": { + "target": "com.amazonaws.pinpointsmsvoicev2#DeleteAccountDefaultProtectConfigurationResult" + }, + "errors": [ + { + "target": "com.amazonaws.pinpointsmsvoicev2#AccessDeniedException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#InternalServerException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ThrottlingException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Removes the current account default protect configuration.
" + } + }, + "com.amazonaws.pinpointsmsvoicev2#DeleteAccountDefaultProtectConfigurationRequest": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.pinpointsmsvoicev2#DeleteAccountDefaultProtectConfigurationResult": { + "type": "structure", + "members": { + "DefaultProtectConfigurationArn": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the account default protect configuration.
", + "smithy.api#required": {} + } + }, + "DefaultProtectConfigurationId": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationId", + "traits": { + "smithy.api#documentation": "The unique identifier of the account default protect configuration.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.pinpointsmsvoicev2#DeleteConfigurationSet": { "type": "operation", "input": { @@ -2108,27 +2393,21 @@ "smithy.api#output": {} } }, - "com.amazonaws.pinpointsmsvoicev2#DeleteOptOutList": { + "com.amazonaws.pinpointsmsvoicev2#DeleteMediaMessageSpendLimitOverride": { "type": "operation", "input": { - "target": "com.amazonaws.pinpointsmsvoicev2#DeleteOptOutListRequest" + "target": "com.amazonaws.pinpointsmsvoicev2#DeleteMediaMessageSpendLimitOverrideRequest" }, "output": { - "target": "com.amazonaws.pinpointsmsvoicev2#DeleteOptOutListResult" + "target": "com.amazonaws.pinpointsmsvoicev2#DeleteMediaMessageSpendLimitOverrideResult" }, "errors": [ { "target": "com.amazonaws.pinpointsmsvoicev2#AccessDeniedException" }, - { - "target": "com.amazonaws.pinpointsmsvoicev2#ConflictException" - }, { "target": "com.amazonaws.pinpointsmsvoicev2#InternalServerException" }, - { - "target": "com.amazonaws.pinpointsmsvoicev2#ResourceNotFoundException" - }, { "target": "com.amazonaws.pinpointsmsvoicev2#ThrottlingException" }, @@ -2137,36 +2416,89 @@ } ], "traits": { - "smithy.api#documentation": "Deletes an existing opt-out list. All opted out phone numbers in the opt-out list are\n deleted.
\nIf the specified opt-out list name doesn't exist or is in-use by an origination phone\n number or pool, an error is returned.
" + "smithy.api#documentation": "Deletes an account-level monthly spending limit override for sending multimedia messages (MMS).\n Deleting a spend limit override will set the EnforcedLimit
to equal the\n MaxLimit
, which is controlled by Amazon Web Services. For more\n information on spend limits (quotas) see Quotas for Server Migration Service\n in the Server Migration Service User Guide.
The OptOutListName or OptOutListArn of the OptOutList to delete. You can use DescribeOptOutLists to find the values for OptOutListName and\n OptOutListArn.
", - "smithy.api#required": {} - } - } - }, + "members": {}, "traits": { "smithy.api#input": {} } }, - "com.amazonaws.pinpointsmsvoicev2#DeleteOptOutListResult": { + "com.amazonaws.pinpointsmsvoicev2#DeleteMediaMessageSpendLimitOverrideResult": { "type": "structure", "members": { - "OptOutListArn": { - "target": "smithy.api#String", + "MonthlyLimit": { + "target": "com.amazonaws.pinpointsmsvoicev2#MonthlyLimit", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the OptOutList that was removed.
" + "smithy.api#documentation": "The current monthly limit, in US dollars.
" } - }, - "OptOutListName": { - "target": "com.amazonaws.pinpointsmsvoicev2#OptOutListName", - "traits": { + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.pinpointsmsvoicev2#DeleteOptOutList": { + "type": "operation", + "input": { + "target": "com.amazonaws.pinpointsmsvoicev2#DeleteOptOutListRequest" + }, + "output": { + "target": "com.amazonaws.pinpointsmsvoicev2#DeleteOptOutListResult" + }, + "errors": [ + { + "target": "com.amazonaws.pinpointsmsvoicev2#AccessDeniedException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ConflictException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#InternalServerException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ThrottlingException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Deletes an existing opt-out list. All opted out phone numbers in the opt-out list are\n deleted.
\nIf the specified opt-out list name doesn't exist or is in-use by an origination phone\n number or pool, an error is returned.
" + } + }, + "com.amazonaws.pinpointsmsvoicev2#DeleteOptOutListRequest": { + "type": "structure", + "members": { + "OptOutListName": { + "target": "com.amazonaws.pinpointsmsvoicev2#OptOutListNameOrArn", + "traits": { + "smithy.api#documentation": "The OptOutListName or OptOutListArn of the OptOutList to delete. You can use DescribeOptOutLists to find the values for OptOutListName and\n OptOutListArn.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.pinpointsmsvoicev2#DeleteOptOutListResult": { + "type": "structure", + "members": { + "OptOutListArn": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the OptOutList that was removed.
" + } + }, + "OptOutListName": { + "target": "com.amazonaws.pinpointsmsvoicev2#OptOutListName", + "traits": { "smithy.api#documentation": "The name of the OptOutList that was removed.
" } }, @@ -2398,6 +2730,98 @@ "smithy.api#output": {} } }, + "com.amazonaws.pinpointsmsvoicev2#DeleteProtectConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.pinpointsmsvoicev2#DeleteProtectConfigurationRequest" + }, + "output": { + "target": "com.amazonaws.pinpointsmsvoicev2#DeleteProtectConfigurationResult" + }, + "errors": [ + { + "target": "com.amazonaws.pinpointsmsvoicev2#AccessDeniedException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ConflictException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#InternalServerException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ThrottlingException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Permanently delete the protect configuration. The protect configuration must have deletion protection disabled and must not be associated as the account default protect configuration or associated with a configuration set.
" + } + }, + "com.amazonaws.pinpointsmsvoicev2#DeleteProtectConfigurationRequest": { + "type": "structure", + "members": { + "ProtectConfigurationId": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationIdOrArn", + "traits": { + "smithy.api#documentation": "The unique identifier for the protect configuration.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.pinpointsmsvoicev2#DeleteProtectConfigurationResult": { + "type": "structure", + "members": { + "ProtectConfigurationArn": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the protect configuration.
", + "smithy.api#required": {} + } + }, + "ProtectConfigurationId": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationId", + "traits": { + "smithy.api#documentation": "The unique identifier for the protect configuration.
", + "smithy.api#required": {} + } + }, + "CreatedTimestamp": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "The time when the protect configuration was created, in UNIX epoch time format.
", + "smithy.api#required": {} + } + }, + "AccountDefault": { + "target": "smithy.api#PrimitiveBoolean", + "traits": { + "smithy.api#default": false, + "smithy.api#documentation": "This is true if the protect configuration is set as your account default protect configuration.
", + "smithy.api#required": {} + } + }, + "DeletionProtectionEnabled": { + "target": "smithy.api#PrimitiveBoolean", + "traits": { + "smithy.api#default": false, + "smithy.api#documentation": "The status of deletion protection for the protect configuration. When set to true deletion protection is enabled. By default this is set to false.\n
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.pinpointsmsvoicev2#DeleteRegistration": { "type": "operation", "input": { @@ -3571,6 +3995,90 @@ "smithy.api#output": {} } }, + "com.amazonaws.pinpointsmsvoicev2#DescribeProtectConfigurations": { + "type": "operation", + "input": { + "target": "com.amazonaws.pinpointsmsvoicev2#DescribeProtectConfigurationsRequest" + }, + "output": { + "target": "com.amazonaws.pinpointsmsvoicev2#DescribeProtectConfigurationsResult" + }, + "errors": [ + { + "target": "com.amazonaws.pinpointsmsvoicev2#AccessDeniedException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#InternalServerException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ThrottlingException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Retrieves the protect configurations that match any of filters. If a filter isn’t provided then all protect configurations are returned.
", + "smithy.api#paginated": { + "items": "ProtectConfigurations" + } + } + }, + "com.amazonaws.pinpointsmsvoicev2#DescribeProtectConfigurationsRequest": { + "type": "structure", + "members": { + "ProtectConfigurationIds": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationIdList", + "traits": { + "smithy.api#documentation": "An array of protect configuration identifiers to search for.
" + } + }, + "Filters": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationFilterList", + "traits": { + "smithy.api#documentation": "An array of ProtectConfigurationFilter objects to filter the results.
" + } + }, + "NextToken": { + "target": "com.amazonaws.pinpointsmsvoicev2#NextToken", + "traits": { + "smithy.api#documentation": "The token to be used for the next set of paginated results. You don't need to supply a\n value for this field in the initial request.
" + } + }, + "MaxResults": { + "target": "com.amazonaws.pinpointsmsvoicev2#MaxResults", + "traits": { + "smithy.api#documentation": "The maximum number of results to return per each request.
" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.pinpointsmsvoicev2#DescribeProtectConfigurationsResult": { + "type": "structure", + "members": { + "ProtectConfigurations": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationInformationList", + "traits": { + "smithy.api#documentation": "An array of ProtectConfigurationInformation objects that contain the details for the request.
" + } + }, + "NextToken": { + "target": "com.amazonaws.pinpointsmsvoicev2#NextToken", + "traits": { + "smithy.api#documentation": "The token to be used for the next set of paginated results. You don't need to supply a\n value for this field in the initial request.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.pinpointsmsvoicev2#DescribeRegistrationAttachments": { "type": "operation", "input": { @@ -4634,13 +5142,13 @@ "smithy.api#output": {} } }, - "com.amazonaws.pinpointsmsvoicev2#DiscardRegistrationVersion": { + "com.amazonaws.pinpointsmsvoicev2#DisassociateProtectConfiguration": { "type": "operation", "input": { - "target": "com.amazonaws.pinpointsmsvoicev2#DiscardRegistrationVersionRequest" + "target": "com.amazonaws.pinpointsmsvoicev2#DisassociateProtectConfigurationRequest" }, "output": { - "target": "com.amazonaws.pinpointsmsvoicev2#DiscardRegistrationVersionResult" + "target": "com.amazonaws.pinpointsmsvoicev2#DisassociateProtectConfigurationResult" }, "errors": [ { @@ -4663,16 +5171,23 @@ } ], "traits": { - "smithy.api#documentation": "Discard the current version of the registration.
" + "smithy.api#documentation": "Disassociate a protect configuration from a configuration set.
" } }, - "com.amazonaws.pinpointsmsvoicev2#DiscardRegistrationVersionRequest": { + "com.amazonaws.pinpointsmsvoicev2#DisassociateProtectConfigurationRequest": { "type": "structure", "members": { - "RegistrationId": { - "target": "com.amazonaws.pinpointsmsvoicev2#RegistrationIdOrArn", + "ProtectConfigurationId": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationIdOrArn", "traits": { - "smithy.api#documentation": "The unique identifier for the registration.
", + "smithy.api#documentation": "The unique identifier for the protect configuration.
", + "smithy.api#required": {} + } + }, + "ConfigurationSetName": { + "target": "com.amazonaws.pinpointsmsvoicev2#ConfigurationSetNameOrArn", + "traits": { + "smithy.api#documentation": "The name of the ConfigurationSet.
", "smithy.api#required": {} } } @@ -4681,41 +5196,34 @@ "smithy.api#input": {} } }, - "com.amazonaws.pinpointsmsvoicev2#DiscardRegistrationVersionResult": { + "com.amazonaws.pinpointsmsvoicev2#DisassociateProtectConfigurationResult": { "type": "structure", "members": { - "RegistrationArn": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) for the registration.
", - "smithy.api#required": {} - } - }, - "RegistrationId": { + "ConfigurationSetArn": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The unique identifier for the registration.
", + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the configuration set.
", "smithy.api#required": {} } }, - "VersionNumber": { - "target": "com.amazonaws.pinpointsmsvoicev2#RegistrationVersionNumber", + "ConfigurationSetName": { + "target": "com.amazonaws.pinpointsmsvoicev2#ConfigurationSetName", "traits": { - "smithy.api#documentation": "The version number of the registration.
", + "smithy.api#documentation": "The name of the ConfigurationSet.
", "smithy.api#required": {} } }, - "RegistrationVersionStatus": { - "target": "com.amazonaws.pinpointsmsvoicev2#RegistrationVersionStatus", + "ProtectConfigurationArn": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationArn", "traits": { - "smithy.api#documentation": "The status of the registration version.
\n\n DRAFT
: The initial status of a registration version after it’s created.
\n SUBMITTED
: Your registration has been submitted.
\n REVIEWING
: Your registration has been accepted and is being reviewed.
\n APPROVED
: Your registration has been approved.
\n DISCARDED
: You've abandon this version of their registration to start over with a new version.
\n DENIED
: You must fix your registration and resubmit it.
\n REVOKED
: Your previously approved registration has been revoked.
\n ARCHIVED
: Your previously approved registration version moves into this status when a more recently submitted version is approved.
The Amazon Resource Name (ARN) of the protect configuration.
", "smithy.api#required": {} } }, - "RegistrationVersionStatusHistory": { - "target": "com.amazonaws.pinpointsmsvoicev2#RegistrationVersionStatusHistory", + "ProtectConfigurationId": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationId", "traits": { - "smithy.api#documentation": "The RegistrationVersionStatusHistory object contains the time stamps for when the reservations status changes.
", + "smithy.api#documentation": "The unique identifier for the protect configuration.
", "smithy.api#required": {} } } @@ -4724,19 +5232,109 @@ "smithy.api#output": {} } }, - "com.amazonaws.pinpointsmsvoicev2#EventDestination": { - "type": "structure", - "members": { - "EventDestinationName": { - "target": "com.amazonaws.pinpointsmsvoicev2#EventDestinationName", - "traits": { - "smithy.api#documentation": "The name of the EventDestination.
", - "smithy.api#required": {} - } - }, - "Enabled": { - "target": "smithy.api#Boolean", - "traits": { + "com.amazonaws.pinpointsmsvoicev2#DiscardRegistrationVersion": { + "type": "operation", + "input": { + "target": "com.amazonaws.pinpointsmsvoicev2#DiscardRegistrationVersionRequest" + }, + "output": { + "target": "com.amazonaws.pinpointsmsvoicev2#DiscardRegistrationVersionResult" + }, + "errors": [ + { + "target": "com.amazonaws.pinpointsmsvoicev2#AccessDeniedException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ConflictException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#InternalServerException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ThrottlingException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Discard the current version of the registration.
" + } + }, + "com.amazonaws.pinpointsmsvoicev2#DiscardRegistrationVersionRequest": { + "type": "structure", + "members": { + "RegistrationId": { + "target": "com.amazonaws.pinpointsmsvoicev2#RegistrationIdOrArn", + "traits": { + "smithy.api#documentation": "The unique identifier for the registration.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.pinpointsmsvoicev2#DiscardRegistrationVersionResult": { + "type": "structure", + "members": { + "RegistrationArn": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) for the registration.
", + "smithy.api#required": {} + } + }, + "RegistrationId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The unique identifier for the registration.
", + "smithy.api#required": {} + } + }, + "VersionNumber": { + "target": "com.amazonaws.pinpointsmsvoicev2#RegistrationVersionNumber", + "traits": { + "smithy.api#documentation": "The version number of the registration.
", + "smithy.api#required": {} + } + }, + "RegistrationVersionStatus": { + "target": "com.amazonaws.pinpointsmsvoicev2#RegistrationVersionStatus", + "traits": { + "smithy.api#documentation": "The status of the registration version.
\n\n DRAFT
: The initial status of a registration version after it’s created.
\n SUBMITTED
: Your registration has been submitted.
\n REVIEWING
: Your registration has been accepted and is being reviewed.
\n APPROVED
: Your registration has been approved.
\n DISCARDED
: You've abandon this version of their registration to start over with a new version.
\n DENIED
: You must fix your registration and resubmit it.
\n REVOKED
: Your previously approved registration has been revoked.
\n ARCHIVED
: Your previously approved registration version moves into this status when a more recently submitted version is approved.
The RegistrationVersionStatusHistory object contains the time stamps for when the reservations status changes.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.pinpointsmsvoicev2#EventDestination": { + "type": "structure", + "members": { + "EventDestinationName": { + "target": "com.amazonaws.pinpointsmsvoicev2#EventDestinationName", + "traits": { + "smithy.api#documentation": "The name of the EventDestination.
", + "smithy.api#required": {} + } + }, + "Enabled": { + "target": "smithy.api#Boolean", + "traits": { "smithy.api#documentation": "When set to true events will be logged.
", "smithy.api#required": {} } @@ -4757,7 +5355,7 @@ "KinesisFirehoseDestination": { "target": "com.amazonaws.pinpointsmsvoicev2#KinesisFirehoseDestination", "traits": { - "smithy.api#documentation": "An object that contains information about an event destination for logging to Amazon\n Kinesis Data Firehose.
" + "smithy.api#documentation": "An object that contains information about an event destination for logging to Amazon Kinesis Data Firehose.
" } }, "SnsDestination": { @@ -4768,7 +5366,7 @@ } }, "traits": { - "smithy.api#documentation": "Contains information about an event destination.
\nEvent destinations are associated with configuration sets, which enable you to publish\n message sending events to CloudWatch, Kinesis Data Firehose,or Amazon SNS.
" + "smithy.api#documentation": "Contains information about an event destination.
\nEvent destinations are associated with configuration sets, which enable you to publish\n message sending events to CloudWatch, Kinesis Data Firehose, or Amazon SNS.
" } }, "com.amazonaws.pinpointsmsvoicev2#EventDestinationList": { @@ -4890,6 +5488,74 @@ { "value": "VOICE_TTL_EXPIRED", "name": "VOICE_TTL_EXPIRED" + }, + { + "value": "MEDIA_ALL", + "name": "MEDIA_ALL" + }, + { + "value": "MEDIA_PENDING", + "name": "MEDIA_PENDING" + }, + { + "value": "MEDIA_QUEUED", + "name": "MEDIA_QUEUED" + }, + { + "value": "MEDIA_SUCCESSFUL", + "name": "MEDIA_SUCCESSFUL" + }, + { + "value": "MEDIA_DELIVERED", + "name": "MEDIA_DELIVERED" + }, + { + "value": "MEDIA_INVALID", + "name": "MEDIA_INVALID" + }, + { + "value": "MEDIA_INVALID_MESSAGE", + "name": "MEDIA_INVALID_MESSAGE" + }, + { + "value": "MEDIA_UNREACHABLE", + "name": "MEDIA_UNREACHABLE" + }, + { + "value": "MEDIA_CARRIER_UNREACHABLE", + "name": "MEDIA_CARRIER_UNREACHABLE" + }, + { + "value": "MEDIA_BLOCKED", + "name": "MEDIA_BLOCKED" + }, + { + "value": "MEDIA_CARRIER_BLOCKED", + "name": "MEDIA_CARRIER_BLOCKED" + }, + { + "value": "MEDIA_SPAM", + "name": "MEDIA_SPAM" + }, + { + "value": "MEDIA_UNKNOWN", + "name": "MEDIA_UNKNOWN" + }, + { + "value": "MEDIA_TTL_EXPIRED", + "name": "MEDIA_TTL_EXPIRED" + }, + { + "value": "MEDIA_FILE_INACCESSIBLE", + "name": "MEDIA_FILE_INACCESSIBLE" + }, + { + "value": "MEDIA_FILE_TYPE_UNSUPPORTED", + "name": "MEDIA_FILE_TYPE_UNSUPPORTED" + }, + { + "value": "MEDIA_FILE_SIZE_EXCEEDED", + "name": "MEDIA_FILE_SIZE_EXCEEDED" } ] } @@ -4902,7 +5568,7 @@ "traits": { "smithy.api#length": { "min": 1, - "max": 25 + "max": 43 } } }, @@ -4970,9 +5636,9 @@ "traits": { "smithy.api#length": { "min": 1, - "max": 100 + "max": 128 }, - "smithy.api#pattern": "^[\\.:A-Za-z0-9_-]+$" + "smithy.api#pattern": "^[/\\.:A-Za-z0-9_-]+$" } }, "com.amazonaws.pinpointsmsvoicev2#FilterValueList": { @@ -4987,6 +5653,93 @@ } } }, + "com.amazonaws.pinpointsmsvoicev2#GetProtectConfigurationCountryRuleSet": { + "type": "operation", + "input": { + "target": "com.amazonaws.pinpointsmsvoicev2#GetProtectConfigurationCountryRuleSetRequest" + }, + "output": { + "target": "com.amazonaws.pinpointsmsvoicev2#GetProtectConfigurationCountryRuleSetResult" + }, + "errors": [ + { + "target": "com.amazonaws.pinpointsmsvoicev2#AccessDeniedException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#InternalServerException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ThrottlingException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Retrieve the CountryRuleSet for the specified NumberCapability from a protect configuration.
" + } + }, + "com.amazonaws.pinpointsmsvoicev2#GetProtectConfigurationCountryRuleSetRequest": { + "type": "structure", + "members": { + "ProtectConfigurationId": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationIdOrArn", + "traits": { + "smithy.api#documentation": "The unique identifier for the protect configuration.
", + "smithy.api#required": {} + } + }, + "NumberCapability": { + "target": "com.amazonaws.pinpointsmsvoicev2#NumberCapability", + "traits": { + "smithy.api#documentation": "The capability type to return the CountryRuleSet for. Valid values are SMS
, VOICE
, or MMS
.
The Amazon Resource Name (ARN) of the protect configuration.
", + "smithy.api#required": {} + } + }, + "ProtectConfigurationId": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationId", + "traits": { + "smithy.api#documentation": "The unique identifier for the protect configuration.
", + "smithy.api#required": {} + } + }, + "NumberCapability": { + "target": "com.amazonaws.pinpointsmsvoicev2#NumberCapability", + "traits": { + "smithy.api#documentation": "The capability type associated with the returned ProtectConfigurationCountryRuleSetInformation objects.
", + "smithy.api#required": {} + } + }, + "CountryRuleSet": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationCountryRuleSet", + "traits": { + "smithy.api#documentation": "A map of ProtectConfigurationCountryRuleSetInformation objects that contain the\n details for the requested NumberCapability. The Key is the two-letter ISO country code. For a list of supported ISO country codes, see Supported countries and regions (SMS channel) in the Amazon Pinpoint SMS user guide.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.pinpointsmsvoicev2#IamRoleArn": { "type": "string", "traits": { @@ -5161,7 +5914,7 @@ "IamRoleArn": { "target": "com.amazonaws.pinpointsmsvoicev2#IamRoleArn", "traits": { - "smithy.api#documentation": "The ARN of an Amazon Identity and Access Management (IAM) role that is able to write\n event data to an Amazon Firehose destination.
", + "smithy.api#documentation": "The ARN of an Identity and Access Management role that is able to write\n event data to an Amazon Kinesis Data Firehose destination.
", "smithy.api#required": {} } }, @@ -5174,7 +5927,7 @@ } }, "traits": { - "smithy.api#documentation": "Contains the delivery stream Amazon Resource Name (ARN), and the ARN of the Identity and Access Management (IAM) role associated with an Kinesis Data Firehose event\n destination.
\nEvent destinations, such as Kinesis Data Firehose, are associated with configuration\n sets, which enable you to publish message sending events.
" + "smithy.api#documentation": "Contains the delivery stream Amazon Resource Name (ARN), and the ARN of the Identity and Access Management (IAM) role associated with a Kinesis Data Firehose event\n destination.
\nEvent destinations, such as Kinesis Data Firehose, are associated with configuration\n sets, which enable you to publish message sending events.
" } }, "com.amazonaws.pinpointsmsvoicev2#LanguageCode": { @@ -5533,6 +6286,38 @@ } } }, + "com.amazonaws.pinpointsmsvoicev2#MediaMessageOriginationIdentity": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + }, + "smithy.api#pattern": "^[A-Za-z0-9_:/\\+-]+$" + } + }, + "com.amazonaws.pinpointsmsvoicev2#MediaUrlList": { + "type": "list", + "member": { + "target": "com.amazonaws.pinpointsmsvoicev2#MediaUrlValue" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1 + } + } + }, + "com.amazonaws.pinpointsmsvoicev2#MediaUrlValue": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 2048 + }, + "smithy.api#pattern": "^s3://([a-z0-9\\.-]{3,63})/(.+)$" + } + }, "com.amazonaws.pinpointsmsvoicev2#MessageType": { "type": "string", "traits": { @@ -5601,6 +6386,10 @@ { "value": "VOICE", "name": "VOICE" + }, + { + "value": "MMS", + "name": "MMS" } ] } @@ -5613,7 +6402,7 @@ "traits": { "smithy.api#length": { "min": 1, - "max": 2 + "max": 3 } } }, @@ -6152,6 +6941,9 @@ { "target": "com.amazonaws.pinpointsmsvoicev2#AssociateOriginationIdentity" }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#AssociateProtectConfiguration" + }, { "target": "com.amazonaws.pinpointsmsvoicev2#CreateConfigurationSet" }, @@ -6164,6 +6956,9 @@ { "target": "com.amazonaws.pinpointsmsvoicev2#CreatePool" }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#CreateProtectConfiguration" + }, { "target": "com.amazonaws.pinpointsmsvoicev2#CreateRegistration" }, @@ -6179,6 +6974,9 @@ { "target": "com.amazonaws.pinpointsmsvoicev2#CreateVerifiedDestinationNumber" }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#DeleteAccountDefaultProtectConfiguration" + }, { "target": "com.amazonaws.pinpointsmsvoicev2#DeleteConfigurationSet" }, @@ -6194,6 +6992,9 @@ { "target": "com.amazonaws.pinpointsmsvoicev2#DeleteKeyword" }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#DeleteMediaMessageSpendLimitOverride" + }, { "target": "com.amazonaws.pinpointsmsvoicev2#DeleteOptedOutNumber" }, @@ -6203,6 +7004,9 @@ { "target": "com.amazonaws.pinpointsmsvoicev2#DeletePool" }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#DeleteProtectConfiguration" + }, { "target": "com.amazonaws.pinpointsmsvoicev2#DeleteRegistration" }, @@ -6245,6 +7049,9 @@ { "target": "com.amazonaws.pinpointsmsvoicev2#DescribePools" }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#DescribeProtectConfigurations" + }, { "target": "com.amazonaws.pinpointsmsvoicev2#DescribeRegistrationAttachments" }, @@ -6278,9 +7085,15 @@ { "target": "com.amazonaws.pinpointsmsvoicev2#DisassociateOriginationIdentity" }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#DisassociateProtectConfiguration" + }, { "target": "com.amazonaws.pinpointsmsvoicev2#DiscardRegistrationVersion" }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#GetProtectConfigurationCountryRuleSet" + }, { "target": "com.amazonaws.pinpointsmsvoicev2#ListPoolOriginationIdentities" }, @@ -6314,18 +7127,27 @@ { "target": "com.amazonaws.pinpointsmsvoicev2#SendDestinationNumberVerificationCode" }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#SendMediaMessage" + }, { "target": "com.amazonaws.pinpointsmsvoicev2#SendTextMessage" }, { "target": "com.amazonaws.pinpointsmsvoicev2#SendVoiceMessage" }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#SetAccountDefaultProtectConfiguration" + }, { "target": "com.amazonaws.pinpointsmsvoicev2#SetDefaultMessageType" }, { "target": "com.amazonaws.pinpointsmsvoicev2#SetDefaultSenderId" }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#SetMediaMessageSpendLimitOverride" + }, { "target": "com.amazonaws.pinpointsmsvoicev2#SetTextMessageSpendLimitOverride" }, @@ -6350,6 +7172,12 @@ { "target": "com.amazonaws.pinpointsmsvoicev2#UpdatePool" }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#UpdateProtectConfiguration" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#UpdateProtectConfigurationCountryRuleSet" + }, { "target": "com.amazonaws.pinpointsmsvoicev2#UpdateSenderId" }, @@ -6367,7 +7195,7 @@ "name": "sms-voice" }, "aws.protocols#awsJson1_0": {}, - "smithy.api#documentation": "Welcome to the Amazon Pinpoint SMS and Voice, version 2 API Reference.\n This guide provides information about Amazon Pinpoint SMS and Voice, version 2 API\n resources, including supported HTTP methods, parameters, and schemas.
\nAmazon Pinpoint is an Amazon Web Services service that you can use to engage with\n your recipients across multiple messaging channels. The Amazon Pinpoint SMS and\n Voice, version 2 API provides programmatic access to options that are unique to the SMS\n and voice channels and supplements the resources provided by the Amazon Pinpoint\n API.
\nIf you're new to Amazon Pinpoint, it's also helpful to review the \n Amazon Pinpoint Developer Guide. The Amazon Pinpoint\n Developer Guide provides tutorials, code samples, and procedures that\n demonstrate how to use Amazon Pinpoint features programmatically and how to integrate\n Amazon Pinpoint functionality into mobile apps and other types of applications.\n The guide also provides key information, such as Amazon Pinpoint integration with\n other Amazon Web Services services, and the quotas that apply to use of the\n service.
\n\n Regional availability\n
\nThe Amazon Pinpoint SMS and Voice, version 2 API Reference is\n available in several Amazon Web Services Regions and it provides an endpoint for each of\n these Regions. For a list of all the Regions and endpoints where the API is currently\n available, see Amazon Web Services Service Endpoints and Amazon Pinpoint\n endpoints and quotas in the Amazon Web Services General Reference. To\n learn more about Amazon Web Services Regions, see Managing\n Amazon Web Services Regions in the Amazon Web Services General\n Reference.
\nIn each Region, Amazon Web Services maintains multiple Availability Zones. These\n Availability Zones are physically isolated from each other, but are united by private,\n low-latency, high-throughput, and highly redundant network connections. These\n Availability Zones enable us to provide very high levels of availability and redundancy,\n while also minimizing latency. To learn more about the number of Availability Zones that\n are available in each Region, see Amazon Web Services\n Global Infrastructure.\n
", + "smithy.api#documentation": "Welcome to the Amazon Pinpoint SMS and Voice, version 2 API Reference.\n This guide provides information about Amazon Pinpoint SMS and Voice, version 2 API\n resources, including supported HTTP methods, parameters, and schemas.
\nAmazon Pinpoint is an Amazon Web Services service that you can use to engage with\n your recipients across multiple messaging channels. The Amazon Pinpoint SMS and\n Voice, version 2 API provides programmatic access to options that are unique to the SMS\n and voice channels. Amazon Pinpoint SMS and Voice, version 2 resources such as phone numbers, sender IDs, and opt-out lists can be used by the Amazon Pinpoint API.
\nIf you're new to Amazon Pinpoint SMS, it's also helpful to review the \n Amazon Pinpoint SMS User Guide. The Amazon Pinpoint\n Developer Guide provides tutorials, code samples, and procedures that\n demonstrate how to use Amazon Pinpoint SMS features programmatically and how to integrate\n Amazon Pinpoint functionality into mobile apps and other types of applications.\n The guide also provides key information, such as Amazon Pinpoint integration with\n other Amazon Web Services services, and the quotas that apply to use of the\n service.
\n\n Regional availability\n
\nThe Amazon Pinpoint SMS and Voice, version 2 API Reference is\n available in several Amazon Web Services Regions and it provides an endpoint for each of\n these Regions. For a list of all the Regions and endpoints where the API is currently\n available, see Amazon Web Services Service Endpoints and Amazon Pinpoint\n endpoints and quotas in the Amazon Web Services General Reference. To\n learn more about Amazon Web Services Regions, see Managing\n Amazon Web Services Regions in the Amazon Web Services General\n Reference.
\nIn each Region, Amazon Web Services maintains multiple Availability Zones. These\n Availability Zones are physically isolated from each other, but are united by private,\n low-latency, high-throughput, and highly redundant network connections. These\n Availability Zones enable us to provide very high levels of availability and redundancy,\n while also minimizing latency. To learn more about the number of Availability Zones that\n are available in each Region, see Amazon Web Services\n Global Infrastructure.\n
", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -7394,6 +8222,197 @@ ] } }, + "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + }, + "smithy.api#pattern": "^arn:\\S+$" + } + }, + "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationCountryRuleSet": { + "type": "map", + "key": { + "target": "com.amazonaws.pinpointsmsvoicev2#IsoCountryCode" + }, + "value": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationCountryRuleSetInformation" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 300 + } + } + }, + "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationCountryRuleSetInformation": { + "type": "structure", + "members": { + "ProtectStatus": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectStatus", + "traits": { + "smithy.api#documentation": "The types of protection that can be used.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The types of statuses that can be used.
" + } + }, + "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationFilter": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationFilterName", + "traits": { + "smithy.api#documentation": "The name of the attribute to filter on.
", + "smithy.api#required": {} + } + }, + "Values": { + "target": "com.amazonaws.pinpointsmsvoicev2#FilterValueList", + "traits": { + "smithy.api#documentation": "An array of values to filter for.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The filter definition for filtering protect configurations that meet a specified criteria.
" + } + }, + "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationFilter" + }, + "traits": { + "smithy.api#length": { + "max": 20 + } + } + }, + "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationFilterName": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "account-default", + "name": "ACCOUNT_DEFAULT" + }, + { + "value": "deletion-protection-enabled", + "name": "DELETION_PROTECTION_ENABLED" + } + ] + } + }, + "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "^[A-Za-z0-9_-]+$" + } + }, + "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationIdList": { + "type": "list", + "member": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationIdOrArn" + }, + "traits": { + "smithy.api#length": { + "max": 5 + } + } + }, + "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationIdOrArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + }, + "smithy.api#pattern": "^[A-Za-z0-9_:/-]+$" + } + }, + "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationInformation": { + "type": "structure", + "members": { + "ProtectConfigurationArn": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the protect configuration.
", + "smithy.api#required": {} + } + }, + "ProtectConfigurationId": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationId", + "traits": { + "smithy.api#documentation": "The unique identifier for the protect configuration.
", + "smithy.api#required": {} + } + }, + "CreatedTimestamp": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "The time when the protect configuration was created, in UNIX epoch time format.
", + "smithy.api#required": {} + } + }, + "AccountDefault": { + "target": "smithy.api#PrimitiveBoolean", + "traits": { + "smithy.api#default": false, + "smithy.api#documentation": "This is true if the protect configuration is set as your account default protect configuration.
", + "smithy.api#required": {} + } + }, + "DeletionProtectionEnabled": { + "target": "smithy.api#PrimitiveBoolean", + "traits": { + "smithy.api#default": false, + "smithy.api#documentation": "The status of deletion protection for the protect configuration. When set to true deletion protection is enabled. By default this is set to false.\n
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Provides information on the specified protect configuration.
" + } + }, + "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationInformationList": { + "type": "list", + "member": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationInformation" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.pinpointsmsvoicev2#ProtectStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "ALLOW", + "name": "ALLOW" + }, + { + "value": "BLOCK", + "name": "BLOCK" + } + ] + } + }, "com.amazonaws.pinpointsmsvoicev2#PutKeyword": { "type": "operation", "input": { @@ -9516,6 +10535,10 @@ { "value": "verified-destination-number", "name": "VERIFIED_DESTINATION_NUMBER" + }, + { + "value": "protect-configuration", + "name": "PROTECT_CONFIGURATION" } ] } @@ -9725,6 +10748,126 @@ "smithy.api#output": {} } }, + "com.amazonaws.pinpointsmsvoicev2#SendMediaMessage": { + "type": "operation", + "input": { + "target": "com.amazonaws.pinpointsmsvoicev2#SendMediaMessageRequest" + }, + "output": { + "target": "com.amazonaws.pinpointsmsvoicev2#SendMediaMessageResult" + }, + "errors": [ + { + "target": "com.amazonaws.pinpointsmsvoicev2#AccessDeniedException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ConflictException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#InternalServerException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ThrottlingException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Creates a new multimedia message (MMS) and sends it to a recipient's phone number.
" + } + }, + "com.amazonaws.pinpointsmsvoicev2#SendMediaMessageRequest": { + "type": "structure", + "members": { + "DestinationPhoneNumber": { + "target": "com.amazonaws.pinpointsmsvoicev2#PhoneNumber", + "traits": { + "smithy.api#documentation": "The destination phone number in E.164 format.
", + "smithy.api#required": {} + } + }, + "OriginationIdentity": { + "target": "com.amazonaws.pinpointsmsvoicev2#MediaMessageOriginationIdentity", + "traits": { + "smithy.api#documentation": "The origination identity of the message. This can be either the PhoneNumber,\n PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.
", + "smithy.api#required": {} + } + }, + "MessageBody": { + "target": "com.amazonaws.pinpointsmsvoicev2#TextMessageBody", + "traits": { + "smithy.api#documentation": "The text body of the message.
" + } + }, + "MediaUrls": { + "target": "com.amazonaws.pinpointsmsvoicev2#MediaUrlList", + "traits": { + "smithy.api#documentation": "An array of URLs to each media file to send.
\nThe media files have to be stored in a publicly available S3 bucket. Supported media file formats\n are listed in MMS file types, size and character limits. For more information on creating an S3 bucket and managing\n objects, see Creating a bucket and Uploading objects in the S3 user guide.
" + } + }, + "ConfigurationSetName": { + "target": "com.amazonaws.pinpointsmsvoicev2#ConfigurationSetNameOrArn", + "traits": { + "smithy.api#documentation": "The name of the configuration set to use. This can be either the ConfigurationSetName\n or ConfigurationSetArn.
" + } + }, + "MaxPrice": { + "target": "com.amazonaws.pinpointsmsvoicev2#MaxPrice", + "traits": { + "smithy.api#documentation": "The maximum amount that you want to spend, in US dollars, per each MMS message.
" + } + }, + "TimeToLive": { + "target": "com.amazonaws.pinpointsmsvoicev2#TimeToLive", + "traits": { + "smithy.api#documentation": "How long the text message is valid for. By default this is 72 hours.
" + } + }, + "Context": { + "target": "com.amazonaws.pinpointsmsvoicev2#ContextMap", + "traits": { + "smithy.api#documentation": "You can specify custom data in this field. If you do, that data is logged to the event\n destination.
" + } + }, + "DryRun": { + "target": "smithy.api#PrimitiveBoolean", + "traits": { + "smithy.api#default": false, + "smithy.api#documentation": "When set to true, the message is checked and validated, but isn't sent to the end\n recipient.
" + } + }, + "ProtectConfigurationId": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationIdOrArn", + "traits": { + "smithy.api#documentation": "The unique identifier of the protect configuration to use.
" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.pinpointsmsvoicev2#SendMediaMessageResult": { + "type": "structure", + "members": { + "MessageId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The unique identifier for the message.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.pinpointsmsvoicev2#SendTextMessage": { "type": "operation", "input": { @@ -9830,6 +10973,12 @@ "smithy.api#default": false, "smithy.api#documentation": "When set to true, the message is checked and validated, but isn't sent to the end\n recipient.
" } + }, + "ProtectConfigurationId": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationIdOrArn", + "traits": { + "smithy.api#documentation": "The unique identifier for the protect configuration.
" + } } }, "traits": { @@ -9950,6 +11099,12 @@ "smithy.api#default": false, "smithy.api#documentation": "When set to true, the message is checked and validated, but isn't sent to the end\n recipient.
" } + }, + "ProtectConfigurationId": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationIdOrArn", + "traits": { + "smithy.api#documentation": "The unique identifier for the protect configuration.
" + } } }, "traits": { @@ -10200,6 +11355,10 @@ "value": "KEYWORDS_PER_POOL", "name": "KEYWORDS_PER_POOL" }, + { + "value": "MONTHLY_SPEND_LIMIT_REACHED_FOR_MEDIA", + "name": "MONTHLY_SPEND_LIMIT_REACHED_FOR_MEDIA" + }, { "value": "MONTHLY_SPEND_LIMIT_REACHED_FOR_TEXT", "name": "MONTHLY_SPEND_LIMIT_REACHED_FOR_TEXT" @@ -10259,10 +11418,80 @@ { "value": "VERIFICATION_ATTEMPTS_PER_DAY", "name": "VERIFICATION_ATTEMPTS_PER_DAY" + }, + { + "value": "PROTECT_CONFIGURATIONS_PER_ACCOUNT", + "name": "PROTECT_CONFIGURATIONS_PER_ACCOUNT" } ] } }, + "com.amazonaws.pinpointsmsvoicev2#SetAccountDefaultProtectConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.pinpointsmsvoicev2#SetAccountDefaultProtectConfigurationRequest" + }, + "output": { + "target": "com.amazonaws.pinpointsmsvoicev2#SetAccountDefaultProtectConfigurationResult" + }, + "errors": [ + { + "target": "com.amazonaws.pinpointsmsvoicev2#AccessDeniedException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#InternalServerException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ThrottlingException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Set a protect configuration as your account default. You can only have one account\n default protect configuration at a time. The current account default protect configuration is replaced with the provided protect configuration.
" + } + }, + "com.amazonaws.pinpointsmsvoicev2#SetAccountDefaultProtectConfigurationRequest": { + "type": "structure", + "members": { + "ProtectConfigurationId": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationIdOrArn", + "traits": { + "smithy.api#documentation": "The unique identifier for the protect configuration.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.pinpointsmsvoicev2#SetAccountDefaultProtectConfigurationResult": { + "type": "structure", + "members": { + "DefaultProtectConfigurationArn": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the account default protect configuration.
", + "smithy.api#required": {} + } + }, + "DefaultProtectConfigurationId": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationId", + "traits": { + "smithy.api#documentation": "The unique identifier of the account default protect configuration.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.pinpointsmsvoicev2#SetDefaultMessageType": { "type": "operation", "input": { @@ -10417,6 +11646,61 @@ "smithy.api#output": {} } }, + "com.amazonaws.pinpointsmsvoicev2#SetMediaMessageSpendLimitOverride": { + "type": "operation", + "input": { + "target": "com.amazonaws.pinpointsmsvoicev2#SetMediaMessageSpendLimitOverrideRequest" + }, + "output": { + "target": "com.amazonaws.pinpointsmsvoicev2#SetMediaMessageSpendLimitOverrideResult" + }, + "errors": [ + { + "target": "com.amazonaws.pinpointsmsvoicev2#AccessDeniedException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#InternalServerException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ThrottlingException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Sets an account level monthly spend limit override for sending MMS messages. The\n requested spend limit must be less than or equal to the MaxLimit
, which is\n set by Amazon Web Services.
The new monthly limit to enforce on text messages.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.pinpointsmsvoicev2#SetMediaMessageSpendLimitOverrideResult": { + "type": "structure", + "members": { + "MonthlyLimit": { + "target": "com.amazonaws.pinpointsmsvoicev2#MonthlyLimit", + "traits": { + "smithy.api#documentation": "The current monthly limit to enforce on sending text messages.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.pinpointsmsvoicev2#SetTextMessageSpendLimitOverride": { "type": "operation", "input": { @@ -10608,6 +11892,10 @@ { "value": "VOICE_MESSAGE_MONTHLY_SPEND_LIMIT", "name": "VOICE_MESSAGE_MONTHLY_SPEND_LIMIT" + }, + { + "value": "MEDIA_MESSAGE_MONTHLY_SPEND_LIMIT", + "name": "MEDIA_MESSAGE_MONTHLY_SPEND_LIMIT" } ] } @@ -11512,6 +12800,195 @@ "smithy.api#output": {} } }, + "com.amazonaws.pinpointsmsvoicev2#UpdateProtectConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.pinpointsmsvoicev2#UpdateProtectConfigurationRequest" + }, + "output": { + "target": "com.amazonaws.pinpointsmsvoicev2#UpdateProtectConfigurationResult" + }, + "errors": [ + { + "target": "com.amazonaws.pinpointsmsvoicev2#AccessDeniedException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#InternalServerException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ThrottlingException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Update the setting for an existing protect configuration.
" + } + }, + "com.amazonaws.pinpointsmsvoicev2#UpdateProtectConfigurationCountryRuleSet": { + "type": "operation", + "input": { + "target": "com.amazonaws.pinpointsmsvoicev2#UpdateProtectConfigurationCountryRuleSetRequest" + }, + "output": { + "target": "com.amazonaws.pinpointsmsvoicev2#UpdateProtectConfigurationCountryRuleSetResult" + }, + "errors": [ + { + "target": "com.amazonaws.pinpointsmsvoicev2#AccessDeniedException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#InternalServerException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ThrottlingException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Update a country rule set to ALLOW
or BLOCK
messages to be sent to the specified destination counties. You can update one or multiple countries at a time. The updates are only applied to the specified NumberCapability type.
The unique identifier for the protect configuration.
", + "smithy.api#required": {} + } + }, + "NumberCapability": { + "target": "com.amazonaws.pinpointsmsvoicev2#NumberCapability", + "traits": { + "smithy.api#documentation": "The number capability to apply the CountryRuleSetUpdates updates to.
", + "smithy.api#required": {} + } + }, + "CountryRuleSetUpdates": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationCountryRuleSet", + "traits": { + "smithy.api#documentation": "A map of ProtectConfigurationCountryRuleSetInformation objects that contain the\n details for the requested NumberCapability. The Key is the two-letter ISO country code. For a list of supported ISO country codes, see Supported countries and regions (SMS channel) in the Amazon Pinpoint SMS user guide.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.pinpointsmsvoicev2#UpdateProtectConfigurationCountryRuleSetResult": { + "type": "structure", + "members": { + "ProtectConfigurationArn": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the protect configuration.
", + "smithy.api#required": {} + } + }, + "ProtectConfigurationId": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationId", + "traits": { + "smithy.api#documentation": "The unique identifier for the protect configuration.
", + "smithy.api#required": {} + } + }, + "NumberCapability": { + "target": "com.amazonaws.pinpointsmsvoicev2#NumberCapability", + "traits": { + "smithy.api#documentation": "The number capability that was updated
", + "smithy.api#required": {} + } + }, + "CountryRuleSet": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationCountryRuleSet", + "traits": { + "smithy.api#documentation": "An array of ProtectConfigurationCountryRuleSetInformation containing the rules for the NumberCapability.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.pinpointsmsvoicev2#UpdateProtectConfigurationRequest": { + "type": "structure", + "members": { + "ProtectConfigurationId": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationIdOrArn", + "traits": { + "smithy.api#documentation": "The unique identifier for the protect configuration.
", + "smithy.api#required": {} + } + }, + "DeletionProtectionEnabled": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "When set to true deletion protection is enabled. By default this is set to false.\n
" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.pinpointsmsvoicev2#UpdateProtectConfigurationResult": { + "type": "structure", + "members": { + "ProtectConfigurationArn": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the protect configuration.
", + "smithy.api#required": {} + } + }, + "ProtectConfigurationId": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationId", + "traits": { + "smithy.api#documentation": "The unique identifier for the protect configuration.
", + "smithy.api#required": {} + } + }, + "CreatedTimestamp": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "The time when the protect configuration was created, in UNIX epoch time format.
", + "smithy.api#required": {} + } + }, + "AccountDefault": { + "target": "smithy.api#PrimitiveBoolean", + "traits": { + "smithy.api#default": false, + "smithy.api#documentation": "This is true if the protect configuration is set as your account default protect configuration.
", + "smithy.api#required": {} + } + }, + "DeletionProtectionEnabled": { + "target": "smithy.api#PrimitiveBoolean", + "traits": { + "smithy.api#default": false, + "smithy.api#documentation": "The status of deletion protection for the protect configuration. When set to true deletion protection is enabled. By default this is set to false.\n
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.pinpointsmsvoicev2#UpdateSenderId": { "type": "operation", "input": { @@ -11746,6 +13223,10 @@ "value": "MAXIMUM_SIZE_EXCEEDED", "name": "MAXIMUM_SIZE_EXCEEDED" }, + { + "value": "MEDIA_TYPE_NOT_SUPPORTED", + "name": "MEDIA_TYPE_NOT_SUPPORTED" + }, { "value": "MISSING_PARAMETER", "name": "MISSING_PARAMETER"