@aws-sdk/client-pinpoint-sms-voice-v2 3.1127.0 → 3.1128.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +74 -11
  3. package/dist-es/PinpointSMSVoiceV2.js +4 -0
  4. package/dist-es/commands/ListAvailablePhoneNumbersCommand.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/enums.js +9 -0
  7. package/dist-es/pagination/ListAvailablePhoneNumbersPaginator.js +4 -0
  8. package/dist-es/pagination/index.js +1 -0
  9. package/dist-es/schemas/schemas_0.js +52 -10
  10. package/dist-types/PinpointSMSVoiceV2.d.ts +14 -0
  11. package/dist-types/PinpointSMSVoiceV2Client.d.ts +3 -2
  12. package/dist-types/commands/DescribePhoneNumbersCommand.d.ts +8 -0
  13. package/dist-types/commands/DescribeRcsAgentsCommand.d.ts +8 -0
  14. package/dist-types/commands/DescribeSenderIdsCommand.d.ts +8 -0
  15. package/dist-types/commands/ListAvailablePhoneNumbersCommand.d.ts +147 -0
  16. package/dist-types/commands/RequestPhoneNumberCommand.d.ts +10 -0
  17. package/dist-types/commands/UpdateProtectConfigurationCommand.d.ts +1 -1
  18. package/dist-types/commands/UpdateProtectConfigurationCountryRuleSetCommand.d.ts +1 -1
  19. package/dist-types/commands/index.d.ts +1 -0
  20. package/dist-types/models/enums.d.ts +25 -0
  21. package/dist-types/models/models_0.d.ts +109 -91
  22. package/dist-types/models/models_1.d.ts +92 -1
  23. package/dist-types/pagination/ListAvailablePhoneNumbersPaginator.d.ts +7 -0
  24. package/dist-types/pagination/index.d.ts +1 -0
  25. package/dist-types/schemas/schemas_0.d.ts +5 -0
  26. package/dist-types/ts3.4/PinpointSMSVoiceV2.d.ts +24 -0
  27. package/dist-types/ts3.4/PinpointSMSVoiceV2Client.d.ts +6 -0
  28. package/dist-types/ts3.4/commands/ListAvailablePhoneNumbersCommand.d.ts +42 -0
  29. package/dist-types/ts3.4/commands/UpdateProtectConfigurationCommand.d.ts +1 -1
  30. package/dist-types/ts3.4/commands/UpdateProtectConfigurationCountryRuleSetCommand.d.ts +1 -1
  31. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  32. package/dist-types/ts3.4/models/enums.d.ts +11 -0
  33. package/dist-types/ts3.4/models/models_0.d.ts +27 -22
  34. package/dist-types/ts3.4/models/models_1.d.ts +24 -1
  35. package/dist-types/ts3.4/pagination/ListAvailablePhoneNumbersPaginator.d.ts +11 -0
  36. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  37. package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -0
  38. package/package.json +1 -1
@@ -72,6 +72,7 @@ import type { DisassociateProtectConfigurationCommandInput, DisassociateProtectC
72
72
  import type { DiscardRegistrationVersionCommandInput, DiscardRegistrationVersionCommandOutput } from "./commands/DiscardRegistrationVersionCommand";
73
73
  import type { GetProtectConfigurationCountryRuleSetCommandInput, GetProtectConfigurationCountryRuleSetCommandOutput } from "./commands/GetProtectConfigurationCountryRuleSetCommand";
74
74
  import type { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
75
+ import type { ListAvailablePhoneNumbersCommandInput, ListAvailablePhoneNumbersCommandOutput } from "./commands/ListAvailablePhoneNumbersCommand";
75
76
  import type { ListNotifyCountriesCommandInput, ListNotifyCountriesCommandOutput } from "./commands/ListNotifyCountriesCommand";
76
77
  import type { ListPoolOriginationIdentitiesCommandInput, ListPoolOriginationIdentitiesCommandOutput } from "./commands/ListPoolOriginationIdentitiesCommand";
77
78
  import type { ListProtectConfigurationRuleSetNumberOverridesCommandInput, ListProtectConfigurationRuleSetNumberOverridesCommandOutput } from "./commands/ListProtectConfigurationRuleSetNumberOverridesCommand";
@@ -121,11 +122,11 @@ export { __Client };
121
122
  /**
122
123
  * @public
123
124
  */
124
- export type ServiceInputTypes = AssociateOriginationIdentityCommandInput | AssociateProtectConfigurationCommandInput | CarrierLookupCommandInput | CreateConfigurationSetCommandInput | CreateEventDestinationCommandInput | CreateNotifyConfigurationCommandInput | CreateOptOutListCommandInput | CreatePoolCommandInput | CreateProtectConfigurationCommandInput | CreateRcsAgentCommandInput | CreateRegistrationAssociationCommandInput | CreateRegistrationAttachmentCommandInput | CreateRegistrationCommandInput | CreateRegistrationVersionCommandInput | CreateVerifiedDestinationNumberCommandInput | DeleteAccountDefaultProtectConfigurationCommandInput | DeleteConfigurationSetCommandInput | DeleteDefaultMessageTypeCommandInput | DeleteDefaultSenderIdCommandInput | DeleteEventDestinationCommandInput | DeleteKeywordCommandInput | DeleteMediaMessageSpendLimitOverrideCommandInput | DeleteNotifyConfigurationCommandInput | DeleteNotifyMessageSpendLimitOverrideCommandInput | DeleteOptOutListCommandInput | DeleteOptedOutNumberCommandInput | DeletePoolCommandInput | DeleteProtectConfigurationCommandInput | DeleteProtectConfigurationRuleSetNumberOverrideCommandInput | DeleteRcsAgentCommandInput | DeleteRcsMessageSpendLimitOverrideCommandInput | DeleteRegistrationAttachmentCommandInput | DeleteRegistrationCommandInput | DeleteRegistrationFieldValueCommandInput | DeleteResourcePolicyCommandInput | DeleteTextMessageSpendLimitOverrideCommandInput | DeleteVerifiedDestinationNumberCommandInput | DeleteVoiceMessageSpendLimitOverrideCommandInput | DescribeAccountAttributesCommandInput | DescribeAccountLimitsCommandInput | DescribeConfigurationSetsCommandInput | DescribeKeywordsCommandInput | DescribeNotifyConfigurationsCommandInput | DescribeNotifyTemplatesCommandInput | DescribeOptOutListsCommandInput | DescribeOptedOutNumbersCommandInput | DescribePhoneNumbersCommandInput | DescribePoolsCommandInput | DescribeProtectConfigurationsCommandInput | DescribeRcsAgentCountryLaunchStatusCommandInput | DescribeRcsAgentsCommandInput | DescribeRegistrationAttachmentsCommandInput | DescribeRegistrationFieldDefinitionsCommandInput | DescribeRegistrationFieldValuesCommandInput | DescribeRegistrationSectionDefinitionsCommandInput | DescribeRegistrationTypeDefinitionsCommandInput | DescribeRegistrationVersionsCommandInput | DescribeRegistrationsCommandInput | DescribeSenderIdsCommandInput | DescribeSpendLimitsCommandInput | DescribeVerifiedDestinationNumbersCommandInput | DisassociateOriginationIdentityCommandInput | DisassociateProtectConfigurationCommandInput | DiscardRegistrationVersionCommandInput | GetProtectConfigurationCountryRuleSetCommandInput | GetResourcePolicyCommandInput | ListNotifyCountriesCommandInput | ListPoolOriginationIdentitiesCommandInput | ListProtectConfigurationRuleSetNumberOverridesCommandInput | ListRegistrationAssociationsCommandInput | ListTagsForResourceCommandInput | PutKeywordCommandInput | PutMessageFeedbackCommandInput | PutOptedOutNumberCommandInput | PutProtectConfigurationRuleSetNumberOverrideCommandInput | PutRegistrationFieldValueCommandInput | PutResourcePolicyCommandInput | ReleasePhoneNumberCommandInput | ReleaseSenderIdCommandInput | RequestPhoneNumberCommandInput | RequestSenderIdCommandInput | SendDestinationNumberVerificationCodeCommandInput | SendMediaMessageCommandInput | SendNotifyTextMessageCommandInput | SendNotifyVoiceMessageCommandInput | SendRcsMessageCommandInput | SendTextMessageCommandInput | SendVoiceMessageCommandInput | SetAccountDefaultProtectConfigurationCommandInput | SetDefaultMessageFeedbackEnabledCommandInput | SetDefaultMessageTypeCommandInput | SetDefaultSenderIdCommandInput | SetMediaMessageSpendLimitOverrideCommandInput | SetNotifyMessageSpendLimitOverrideCommandInput | SetRcsMessageSpendLimitOverrideCommandInput | SetTextMessageSpendLimitOverrideCommandInput | SetVoiceMessageSpendLimitOverrideCommandInput | SubmitRegistrationVersionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateEventDestinationCommandInput | UpdateNotifyConfigurationCommandInput | UpdatePhoneNumberCommandInput | UpdatePoolCommandInput | UpdateProtectConfigurationCommandInput | UpdateProtectConfigurationCountryRuleSetCommandInput | UpdateRcsAgentCommandInput | UpdateSenderIdCommandInput | VerifyDestinationNumberCommandInput;
125
+ export type ServiceInputTypes = AssociateOriginationIdentityCommandInput | AssociateProtectConfigurationCommandInput | CarrierLookupCommandInput | CreateConfigurationSetCommandInput | CreateEventDestinationCommandInput | CreateNotifyConfigurationCommandInput | CreateOptOutListCommandInput | CreatePoolCommandInput | CreateProtectConfigurationCommandInput | CreateRcsAgentCommandInput | CreateRegistrationAssociationCommandInput | CreateRegistrationAttachmentCommandInput | CreateRegistrationCommandInput | CreateRegistrationVersionCommandInput | CreateVerifiedDestinationNumberCommandInput | DeleteAccountDefaultProtectConfigurationCommandInput | DeleteConfigurationSetCommandInput | DeleteDefaultMessageTypeCommandInput | DeleteDefaultSenderIdCommandInput | DeleteEventDestinationCommandInput | DeleteKeywordCommandInput | DeleteMediaMessageSpendLimitOverrideCommandInput | DeleteNotifyConfigurationCommandInput | DeleteNotifyMessageSpendLimitOverrideCommandInput | DeleteOptOutListCommandInput | DeleteOptedOutNumberCommandInput | DeletePoolCommandInput | DeleteProtectConfigurationCommandInput | DeleteProtectConfigurationRuleSetNumberOverrideCommandInput | DeleteRcsAgentCommandInput | DeleteRcsMessageSpendLimitOverrideCommandInput | DeleteRegistrationAttachmentCommandInput | DeleteRegistrationCommandInput | DeleteRegistrationFieldValueCommandInput | DeleteResourcePolicyCommandInput | DeleteTextMessageSpendLimitOverrideCommandInput | DeleteVerifiedDestinationNumberCommandInput | DeleteVoiceMessageSpendLimitOverrideCommandInput | DescribeAccountAttributesCommandInput | DescribeAccountLimitsCommandInput | DescribeConfigurationSetsCommandInput | DescribeKeywordsCommandInput | DescribeNotifyConfigurationsCommandInput | DescribeNotifyTemplatesCommandInput | DescribeOptOutListsCommandInput | DescribeOptedOutNumbersCommandInput | DescribePhoneNumbersCommandInput | DescribePoolsCommandInput | DescribeProtectConfigurationsCommandInput | DescribeRcsAgentCountryLaunchStatusCommandInput | DescribeRcsAgentsCommandInput | DescribeRegistrationAttachmentsCommandInput | DescribeRegistrationFieldDefinitionsCommandInput | DescribeRegistrationFieldValuesCommandInput | DescribeRegistrationSectionDefinitionsCommandInput | DescribeRegistrationTypeDefinitionsCommandInput | DescribeRegistrationVersionsCommandInput | DescribeRegistrationsCommandInput | DescribeSenderIdsCommandInput | DescribeSpendLimitsCommandInput | DescribeVerifiedDestinationNumbersCommandInput | DisassociateOriginationIdentityCommandInput | DisassociateProtectConfigurationCommandInput | DiscardRegistrationVersionCommandInput | GetProtectConfigurationCountryRuleSetCommandInput | GetResourcePolicyCommandInput | ListAvailablePhoneNumbersCommandInput | ListNotifyCountriesCommandInput | ListPoolOriginationIdentitiesCommandInput | ListProtectConfigurationRuleSetNumberOverridesCommandInput | ListRegistrationAssociationsCommandInput | ListTagsForResourceCommandInput | PutKeywordCommandInput | PutMessageFeedbackCommandInput | PutOptedOutNumberCommandInput | PutProtectConfigurationRuleSetNumberOverrideCommandInput | PutRegistrationFieldValueCommandInput | PutResourcePolicyCommandInput | ReleasePhoneNumberCommandInput | ReleaseSenderIdCommandInput | RequestPhoneNumberCommandInput | RequestSenderIdCommandInput | SendDestinationNumberVerificationCodeCommandInput | SendMediaMessageCommandInput | SendNotifyTextMessageCommandInput | SendNotifyVoiceMessageCommandInput | SendRcsMessageCommandInput | SendTextMessageCommandInput | SendVoiceMessageCommandInput | SetAccountDefaultProtectConfigurationCommandInput | SetDefaultMessageFeedbackEnabledCommandInput | SetDefaultMessageTypeCommandInput | SetDefaultSenderIdCommandInput | SetMediaMessageSpendLimitOverrideCommandInput | SetNotifyMessageSpendLimitOverrideCommandInput | SetRcsMessageSpendLimitOverrideCommandInput | SetTextMessageSpendLimitOverrideCommandInput | SetVoiceMessageSpendLimitOverrideCommandInput | SubmitRegistrationVersionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateEventDestinationCommandInput | UpdateNotifyConfigurationCommandInput | UpdatePhoneNumberCommandInput | UpdatePoolCommandInput | UpdateProtectConfigurationCommandInput | UpdateProtectConfigurationCountryRuleSetCommandInput | UpdateRcsAgentCommandInput | UpdateSenderIdCommandInput | VerifyDestinationNumberCommandInput;
125
126
  /**
126
127
  * @public
127
128
  */
128
- export type ServiceOutputTypes = AssociateOriginationIdentityCommandOutput | AssociateProtectConfigurationCommandOutput | CarrierLookupCommandOutput | CreateConfigurationSetCommandOutput | CreateEventDestinationCommandOutput | CreateNotifyConfigurationCommandOutput | CreateOptOutListCommandOutput | CreatePoolCommandOutput | CreateProtectConfigurationCommandOutput | CreateRcsAgentCommandOutput | CreateRegistrationAssociationCommandOutput | CreateRegistrationAttachmentCommandOutput | CreateRegistrationCommandOutput | CreateRegistrationVersionCommandOutput | CreateVerifiedDestinationNumberCommandOutput | DeleteAccountDefaultProtectConfigurationCommandOutput | DeleteConfigurationSetCommandOutput | DeleteDefaultMessageTypeCommandOutput | DeleteDefaultSenderIdCommandOutput | DeleteEventDestinationCommandOutput | DeleteKeywordCommandOutput | DeleteMediaMessageSpendLimitOverrideCommandOutput | DeleteNotifyConfigurationCommandOutput | DeleteNotifyMessageSpendLimitOverrideCommandOutput | DeleteOptOutListCommandOutput | DeleteOptedOutNumberCommandOutput | DeletePoolCommandOutput | DeleteProtectConfigurationCommandOutput | DeleteProtectConfigurationRuleSetNumberOverrideCommandOutput | DeleteRcsAgentCommandOutput | DeleteRcsMessageSpendLimitOverrideCommandOutput | DeleteRegistrationAttachmentCommandOutput | DeleteRegistrationCommandOutput | DeleteRegistrationFieldValueCommandOutput | DeleteResourcePolicyCommandOutput | DeleteTextMessageSpendLimitOverrideCommandOutput | DeleteVerifiedDestinationNumberCommandOutput | DeleteVoiceMessageSpendLimitOverrideCommandOutput | DescribeAccountAttributesCommandOutput | DescribeAccountLimitsCommandOutput | DescribeConfigurationSetsCommandOutput | DescribeKeywordsCommandOutput | DescribeNotifyConfigurationsCommandOutput | DescribeNotifyTemplatesCommandOutput | DescribeOptOutListsCommandOutput | DescribeOptedOutNumbersCommandOutput | DescribePhoneNumbersCommandOutput | DescribePoolsCommandOutput | DescribeProtectConfigurationsCommandOutput | DescribeRcsAgentCountryLaunchStatusCommandOutput | DescribeRcsAgentsCommandOutput | DescribeRegistrationAttachmentsCommandOutput | DescribeRegistrationFieldDefinitionsCommandOutput | DescribeRegistrationFieldValuesCommandOutput | DescribeRegistrationSectionDefinitionsCommandOutput | DescribeRegistrationTypeDefinitionsCommandOutput | DescribeRegistrationVersionsCommandOutput | DescribeRegistrationsCommandOutput | DescribeSenderIdsCommandOutput | DescribeSpendLimitsCommandOutput | DescribeVerifiedDestinationNumbersCommandOutput | DisassociateOriginationIdentityCommandOutput | DisassociateProtectConfigurationCommandOutput | DiscardRegistrationVersionCommandOutput | GetProtectConfigurationCountryRuleSetCommandOutput | GetResourcePolicyCommandOutput | ListNotifyCountriesCommandOutput | ListPoolOriginationIdentitiesCommandOutput | ListProtectConfigurationRuleSetNumberOverridesCommandOutput | ListRegistrationAssociationsCommandOutput | ListTagsForResourceCommandOutput | PutKeywordCommandOutput | PutMessageFeedbackCommandOutput | PutOptedOutNumberCommandOutput | PutProtectConfigurationRuleSetNumberOverrideCommandOutput | PutRegistrationFieldValueCommandOutput | PutResourcePolicyCommandOutput | ReleasePhoneNumberCommandOutput | ReleaseSenderIdCommandOutput | RequestPhoneNumberCommandOutput | RequestSenderIdCommandOutput | SendDestinationNumberVerificationCodeCommandOutput | SendMediaMessageCommandOutput | SendNotifyTextMessageCommandOutput | SendNotifyVoiceMessageCommandOutput | SendRcsMessageCommandOutput | SendTextMessageCommandOutput | SendVoiceMessageCommandOutput | SetAccountDefaultProtectConfigurationCommandOutput | SetDefaultMessageFeedbackEnabledCommandOutput | SetDefaultMessageTypeCommandOutput | SetDefaultSenderIdCommandOutput | SetMediaMessageSpendLimitOverrideCommandOutput | SetNotifyMessageSpendLimitOverrideCommandOutput | SetRcsMessageSpendLimitOverrideCommandOutput | SetTextMessageSpendLimitOverrideCommandOutput | SetVoiceMessageSpendLimitOverrideCommandOutput | SubmitRegistrationVersionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateEventDestinationCommandOutput | UpdateNotifyConfigurationCommandOutput | UpdatePhoneNumberCommandOutput | UpdatePoolCommandOutput | UpdateProtectConfigurationCommandOutput | UpdateProtectConfigurationCountryRuleSetCommandOutput | UpdateRcsAgentCommandOutput | UpdateSenderIdCommandOutput | VerifyDestinationNumberCommandOutput;
129
+ export type ServiceOutputTypes = AssociateOriginationIdentityCommandOutput | AssociateProtectConfigurationCommandOutput | CarrierLookupCommandOutput | CreateConfigurationSetCommandOutput | CreateEventDestinationCommandOutput | CreateNotifyConfigurationCommandOutput | CreateOptOutListCommandOutput | CreatePoolCommandOutput | CreateProtectConfigurationCommandOutput | CreateRcsAgentCommandOutput | CreateRegistrationAssociationCommandOutput | CreateRegistrationAttachmentCommandOutput | CreateRegistrationCommandOutput | CreateRegistrationVersionCommandOutput | CreateVerifiedDestinationNumberCommandOutput | DeleteAccountDefaultProtectConfigurationCommandOutput | DeleteConfigurationSetCommandOutput | DeleteDefaultMessageTypeCommandOutput | DeleteDefaultSenderIdCommandOutput | DeleteEventDestinationCommandOutput | DeleteKeywordCommandOutput | DeleteMediaMessageSpendLimitOverrideCommandOutput | DeleteNotifyConfigurationCommandOutput | DeleteNotifyMessageSpendLimitOverrideCommandOutput | DeleteOptOutListCommandOutput | DeleteOptedOutNumberCommandOutput | DeletePoolCommandOutput | DeleteProtectConfigurationCommandOutput | DeleteProtectConfigurationRuleSetNumberOverrideCommandOutput | DeleteRcsAgentCommandOutput | DeleteRcsMessageSpendLimitOverrideCommandOutput | DeleteRegistrationAttachmentCommandOutput | DeleteRegistrationCommandOutput | DeleteRegistrationFieldValueCommandOutput | DeleteResourcePolicyCommandOutput | DeleteTextMessageSpendLimitOverrideCommandOutput | DeleteVerifiedDestinationNumberCommandOutput | DeleteVoiceMessageSpendLimitOverrideCommandOutput | DescribeAccountAttributesCommandOutput | DescribeAccountLimitsCommandOutput | DescribeConfigurationSetsCommandOutput | DescribeKeywordsCommandOutput | DescribeNotifyConfigurationsCommandOutput | DescribeNotifyTemplatesCommandOutput | DescribeOptOutListsCommandOutput | DescribeOptedOutNumbersCommandOutput | DescribePhoneNumbersCommandOutput | DescribePoolsCommandOutput | DescribeProtectConfigurationsCommandOutput | DescribeRcsAgentCountryLaunchStatusCommandOutput | DescribeRcsAgentsCommandOutput | DescribeRegistrationAttachmentsCommandOutput | DescribeRegistrationFieldDefinitionsCommandOutput | DescribeRegistrationFieldValuesCommandOutput | DescribeRegistrationSectionDefinitionsCommandOutput | DescribeRegistrationTypeDefinitionsCommandOutput | DescribeRegistrationVersionsCommandOutput | DescribeRegistrationsCommandOutput | DescribeSenderIdsCommandOutput | DescribeSpendLimitsCommandOutput | DescribeVerifiedDestinationNumbersCommandOutput | DisassociateOriginationIdentityCommandOutput | DisassociateProtectConfigurationCommandOutput | DiscardRegistrationVersionCommandOutput | GetProtectConfigurationCountryRuleSetCommandOutput | GetResourcePolicyCommandOutput | ListAvailablePhoneNumbersCommandOutput | ListNotifyCountriesCommandOutput | ListPoolOriginationIdentitiesCommandOutput | ListProtectConfigurationRuleSetNumberOverridesCommandOutput | ListRegistrationAssociationsCommandOutput | ListTagsForResourceCommandOutput | PutKeywordCommandOutput | PutMessageFeedbackCommandOutput | PutOptedOutNumberCommandOutput | PutProtectConfigurationRuleSetNumberOverrideCommandOutput | PutRegistrationFieldValueCommandOutput | PutResourcePolicyCommandOutput | ReleasePhoneNumberCommandOutput | ReleaseSenderIdCommandOutput | RequestPhoneNumberCommandOutput | RequestSenderIdCommandOutput | SendDestinationNumberVerificationCodeCommandOutput | SendMediaMessageCommandOutput | SendNotifyTextMessageCommandOutput | SendNotifyVoiceMessageCommandOutput | SendRcsMessageCommandOutput | SendTextMessageCommandOutput | SendVoiceMessageCommandOutput | SetAccountDefaultProtectConfigurationCommandOutput | SetDefaultMessageFeedbackEnabledCommandOutput | SetDefaultMessageTypeCommandOutput | SetDefaultSenderIdCommandOutput | SetMediaMessageSpendLimitOverrideCommandOutput | SetNotifyMessageSpendLimitOverrideCommandOutput | SetRcsMessageSpendLimitOverrideCommandOutput | SetTextMessageSpendLimitOverrideCommandOutput | SetVoiceMessageSpendLimitOverrideCommandOutput | SubmitRegistrationVersionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateEventDestinationCommandOutput | UpdateNotifyConfigurationCommandOutput | UpdatePhoneNumberCommandOutput | UpdatePoolCommandOutput | UpdateProtectConfigurationCommandOutput | UpdateProtectConfigurationCountryRuleSetCommandOutput | UpdateRcsAgentCommandOutput | UpdateSenderIdCommandOutput | VerifyDestinationNumberCommandOutput;
129
130
  /**
130
131
  * @public
131
132
  */
@@ -74,6 +74,14 @@ declare const DescribePhoneNumbersCommand_base: {
74
74
  * // DeletionProtectionEnabled: true || false, // required
75
75
  * // PoolId: "STRING_VALUE",
76
76
  * // RegistrationId: "STRING_VALUE",
77
+ * // MessagingLimits: { // MessagingLimits
78
+ * // RateLimits: { // LongMap
79
+ * // "<keys>": Number("long"),
80
+ * // },
81
+ * // DailyMessageCaps: {
82
+ * // "<keys>": Number("long"),
83
+ * // },
84
+ * // },
77
85
  * // CreatedTimestamp: new Date("TIMESTAMP"), // required
78
86
  * // },
79
87
  * // ],
@@ -76,6 +76,14 @@ declare const DescribeRcsAgentsCommand_base: {
76
76
  * // TestingAgentId: "STRING_VALUE",
77
77
  * // RegistrationId: "STRING_VALUE", // required
78
78
  * // },
79
+ * // MessagingLimits: { // MessagingLimits
80
+ * // RateLimits: { // LongMap
81
+ * // "<keys>": Number("long"),
82
+ * // },
83
+ * // DailyMessageCaps: {
84
+ * // "<keys>": Number("long"),
85
+ * // },
86
+ * // },
79
87
  * // },
80
88
  * // ],
81
89
  * // NextToken: "STRING_VALUE",
@@ -67,6 +67,14 @@ declare const DescribeSenderIdsCommand_base: {
67
67
  * // DeletionProtectionEnabled: true || false, // required
68
68
  * // Registered: true || false, // required
69
69
  * // RegistrationId: "STRING_VALUE",
70
+ * // MessagingLimits: { // MessagingLimits
71
+ * // RateLimits: { // LongMap
72
+ * // "<keys>": Number("long"),
73
+ * // },
74
+ * // DailyMessageCaps: {
75
+ * // "<keys>": Number("long"),
76
+ * // },
77
+ * // },
70
78
  * // },
71
79
  * // ],
72
80
  * // NextToken: "STRING_VALUE",
@@ -0,0 +1,147 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListAvailablePhoneNumbersRequest, ListAvailablePhoneNumbersResult } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListAvailablePhoneNumbersCommand}.
11
+ */
12
+ export interface ListAvailablePhoneNumbersCommandInput extends ListAvailablePhoneNumbersRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListAvailablePhoneNumbersCommand}.
18
+ */
19
+ export interface ListAvailablePhoneNumbersCommandOutput extends ListAvailablePhoneNumbersResult, __MetadataBearer {
20
+ }
21
+ declare const ListAvailablePhoneNumbersCommand_base: {
22
+ new (input: ListAvailablePhoneNumbersCommandInput): import("@smithy/core/client").CommandImpl<ListAvailablePhoneNumbersCommandInput, ListAvailablePhoneNumbersCommandOutput, import("..").PinpointSMSVoiceV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListAvailablePhoneNumbersCommandInput): import("@smithy/core/client").CommandImpl<ListAvailablePhoneNumbersCommandInput, ListAvailablePhoneNumbersCommandOutput, import("..").PinpointSMSVoiceV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Search available phone numbers from aggregator inventory, optionally filtered by pattern.
28
+ * If NumberPreference is omitted, returns unfiltered available numbers.
29
+ * Returns empty list (not an exception) when no numbers match.
30
+ * ResourceNotFoundException is thrown only for invalid RegistrationId (campaign not found).
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { PinpointSMSVoiceV2Client, ListAvailablePhoneNumbersCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
35
+ * // const { PinpointSMSVoiceV2Client, ListAvailablePhoneNumbersCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
36
+ * // import type { PinpointSMSVoiceV2ClientConfig } from "@aws-sdk/client-pinpoint-sms-voice-v2";
37
+ * const config = {}; // type is PinpointSMSVoiceV2ClientConfig
38
+ * const client = new PinpointSMSVoiceV2Client(config);
39
+ * const input = { // ListAvailablePhoneNumbersRequest
40
+ * IsoCountryCode: "STRING_VALUE", // required
41
+ * NumberCapabilities: [ // NumberCapabilityList // required
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * NumberType: "STRING_VALUE", // required
45
+ * RegistrationId: "STRING_VALUE",
46
+ * NumberPreference: [ // NumberPreferenceList
47
+ * { // NumberPreferenceItem
48
+ * PreferenceType: [ // PreferenceTypeList // required
49
+ * "STRING_VALUE",
50
+ * ],
51
+ * Filter: [ // NumberFilterList // required
52
+ * "STRING_VALUE",
53
+ * ],
54
+ * },
55
+ * ],
56
+ * NextToken: "STRING_VALUE",
57
+ * MaxResults: Number("int"),
58
+ * };
59
+ * const command = new ListAvailablePhoneNumbersCommand(input);
60
+ * const response = await client.send(command);
61
+ * // { // ListAvailablePhoneNumbersResult
62
+ * // AvailablePhoneNumbers: [ // AvailablePhoneNumberList // required
63
+ * // "STRING_VALUE",
64
+ * // ],
65
+ * // NextToken: "STRING_VALUE",
66
+ * // };
67
+ *
68
+ * ```
69
+ *
70
+ * @param ListAvailablePhoneNumbersCommandInput - {@link ListAvailablePhoneNumbersCommandInput}
71
+ * @returns {@link ListAvailablePhoneNumbersCommandOutput}
72
+ * @see {@link ListAvailablePhoneNumbersCommandInput} for command's `input` shape.
73
+ * @see {@link ListAvailablePhoneNumbersCommandOutput} for command's `response` shape.
74
+ * @see {@link PinpointSMSVoiceV2ClientResolvedConfig | config} for PinpointSMSVoiceV2Client's `config` shape.
75
+ *
76
+ * @throws {@link AccessDeniedException} (client fault)
77
+ * <p>The request was denied because you don't have sufficient permissions to access the resource.</p>
78
+ *
79
+ * @throws {@link ConflictException} (client fault)
80
+ * <p>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.</p>
81
+ *
82
+ * @throws {@link InternalServerException} (server fault)
83
+ * <p>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.</p>
84
+ *
85
+ * @throws {@link ResourceNotFoundException} (client fault)
86
+ * <p>A requested resource couldn't be found.</p>
87
+ *
88
+ * @throws {@link ThrottlingException} (client fault)
89
+ * <p>An error that occurred because too many requests were sent during a certain amount of time.</p>
90
+ *
91
+ * @throws {@link ValidationException} (client fault)
92
+ * <p>A validation exception for a field.</p>
93
+ *
94
+ * @throws {@link PinpointSMSVoiceV2ServiceException}
95
+ * <p>Base exception class for all service exceptions from PinpointSMSVoiceV2 service.</p>
96
+ *
97
+ *
98
+ * @example ListAvailablePhoneNumbers
99
+ * ```javascript
100
+ * // Search for available TEN_DLC phone numbers in the US that start with a specific area code.
101
+ * const input = {
102
+ * IsoCountryCode: "US",
103
+ * MaxResults: 10,
104
+ * NumberCapabilities: [
105
+ * "SMS"
106
+ * ],
107
+ * NumberPreference: [
108
+ * {
109
+ * Filter: [
110
+ * "+1206"
111
+ * ],
112
+ * PreferenceType: [
113
+ * "StartsWith"
114
+ * ]
115
+ * }
116
+ * ],
117
+ * NumberType: "TEN_DLC",
118
+ * RegistrationId: "reg-1234567890abcdef0"
119
+ * };
120
+ * const command = new ListAvailablePhoneNumbersCommand(input);
121
+ * const response = await client.send(command);
122
+ * /* response is
123
+ * {
124
+ * AvailablePhoneNumbers: [
125
+ * "+12065550100",
126
+ * "+12065550142",
127
+ * "+12065550187"
128
+ * ]
129
+ * }
130
+ * *\/
131
+ * ```
132
+ *
133
+ * @public
134
+ */
135
+ export declare class ListAvailablePhoneNumbersCommand extends ListAvailablePhoneNumbersCommand_base {
136
+ /** @internal type navigation helper, not in runtime. */
137
+ protected static __types: {
138
+ api: {
139
+ input: ListAvailablePhoneNumbersRequest;
140
+ output: ListAvailablePhoneNumbersResult;
141
+ };
142
+ sdk: {
143
+ input: ListAvailablePhoneNumbersCommandInput;
144
+ output: ListAvailablePhoneNumbersCommandOutput;
145
+ };
146
+ };
147
+ }
@@ -43,6 +43,16 @@ declare const RequestPhoneNumberCommand_base: {
43
43
  * OptOutListName: "STRING_VALUE",
44
44
  * PoolId: "STRING_VALUE",
45
45
  * RegistrationId: "STRING_VALUE",
46
+ * NumberPreference: [ // NumberPreferenceList
47
+ * { // NumberPreferenceItem
48
+ * PreferenceType: [ // PreferenceTypeList // required
49
+ * "STRING_VALUE",
50
+ * ],
51
+ * Filter: [ // NumberFilterList // required
52
+ * "STRING_VALUE",
53
+ * ],
54
+ * },
55
+ * ],
46
56
  * InternationalSendingEnabled: true || false,
47
57
  * DeletionProtectionEnabled: true || false,
48
58
  * Tags: [ // TagList
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { UpdateProtectConfigurationRequest, UpdateProtectConfigurationResult } from "../models/models_0";
2
+ import type { UpdateProtectConfigurationRequest, UpdateProtectConfigurationResult } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { UpdateProtectConfigurationCountryRuleSetRequest, UpdateProtectConfigurationCountryRuleSetResult } from "../models/models_0";
2
+ import type { UpdateProtectConfigurationCountryRuleSetRequest, UpdateProtectConfigurationCountryRuleSetResult } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -64,6 +64,7 @@ export * from "./DisassociateProtectConfigurationCommand";
64
64
  export * from "./DiscardRegistrationVersionCommand";
65
65
  export * from "./GetProtectConfigurationCountryRuleSetCommand";
66
66
  export * from "./GetResourcePolicyCommand";
67
+ export * from "./ListAvailablePhoneNumbersCommand";
67
68
  export * from "./ListNotifyCountriesCommand";
68
69
  export * from "./ListPoolOriginationIdentitiesCommand";
69
70
  export * from "./ListProtectConfigurationRuleSetNumberOverridesCommand";
@@ -1036,6 +1036,31 @@ export declare const LanguageCode: {
1036
1036
  * @public
1037
1037
  */
1038
1038
  export type LanguageCode = (typeof LanguageCode)[keyof typeof LanguageCode];
1039
+ /**
1040
+ * @public
1041
+ * @enum
1042
+ */
1043
+ export declare const PreferenceType: {
1044
+ readonly CONTAINS: "Contains";
1045
+ readonly ENDS_WITH: "EndsWith";
1046
+ readonly EXACT_MATCH: "ExactMatch";
1047
+ readonly STARTS_WITH: "StartsWith";
1048
+ };
1049
+ /**
1050
+ * @public
1051
+ */
1052
+ export type PreferenceType = (typeof PreferenceType)[keyof typeof PreferenceType];
1053
+ /**
1054
+ * @public
1055
+ * @enum
1056
+ */
1057
+ export declare const SearchableNumberType: {
1058
+ readonly TEN_DLC: "TEN_DLC";
1059
+ };
1060
+ /**
1061
+ * @public
1062
+ */
1063
+ export type SearchableNumberType = (typeof SearchableNumberType)[keyof typeof SearchableNumberType];
1039
1064
  /**
1040
1065
  * @public
1041
1066
  * @enum
@@ -1,4 +1,4 @@
1
- import type { AccountAttributeName, AccountLimitName, AttachmentStatus, AttachmentUploadErrorReason, CarrierStatus, ConfigurationSetFilterName, CountryLaunchStatus, CountryLaunchStatusFilterName, DestinationCountryParameterKey, EventType, FieldRequirement, FieldType, KeywordAction, KeywordFilterName, LanguageCode, MessageFeedbackStatus, MessageType, NotifyConfigurationFilterName, NotifyConfigurationStatus, NotifyConfigurationTier, NotifyConfigurationUseCase, NotifyTemplateFilterName, NotifyTemplateStatus, NotifyTemplateType, NumberCapability, NumberStatus, NumberType, OptedOutFilterName, Owner, PhoneNumberFilterName, PhoneNumberType, PoolFilterName, PoolOriginationIdentitiesFilterName, PoolStatus, ProtectConfigurationFilterName, ProtectConfigurationRuleOverrideAction, ProtectConfigurationRuleSetNumberOverrideFilterName, ProtectStatus, RcsAgentFilterName, RcsAgentStatus, RcsFallbackChannel, RegistrationAssociationBehavior, RegistrationAssociationFilterName, RegistrationAttachmentFilterName, RegistrationDisassociationBehavior, RegistrationFilterName, RegistrationStatus, RegistrationTypeFilterName, RegistrationVersionFilterName, RegistrationVersionStatus, RequestableNumberType, SenderIdFilterName, SpendLimitName, TemplateVariableSource, TemplateVariableType, TestingAgentStatus, TierUpgradeStatus, VerificationChannel, VerificationStatus, VerifiedDestinationNumberFilterName, VoiceId, VoiceMessageBodyTextType } from "./enums";
1
+ import type { AccountAttributeName, AccountLimitName, AttachmentStatus, AttachmentUploadErrorReason, CarrierStatus, ConfigurationSetFilterName, CountryLaunchStatus, CountryLaunchStatusFilterName, DestinationCountryParameterKey, EventType, FieldRequirement, FieldType, KeywordAction, KeywordFilterName, LanguageCode, MessageFeedbackStatus, MessageType, NotifyConfigurationFilterName, NotifyConfigurationStatus, NotifyConfigurationTier, NotifyConfigurationUseCase, NotifyTemplateFilterName, NotifyTemplateStatus, NotifyTemplateType, NumberCapability, NumberStatus, NumberType, OptedOutFilterName, Owner, PhoneNumberFilterName, PhoneNumberType, PoolFilterName, PoolOriginationIdentitiesFilterName, PoolStatus, PreferenceType, ProtectConfigurationFilterName, ProtectConfigurationRuleOverrideAction, ProtectConfigurationRuleSetNumberOverrideFilterName, ProtectStatus, RcsAgentFilterName, RcsAgentStatus, RcsFallbackChannel, RegistrationAssociationBehavior, RegistrationAssociationFilterName, RegistrationAttachmentFilterName, RegistrationDisassociationBehavior, RegistrationFilterName, RegistrationStatus, RegistrationTypeFilterName, RegistrationVersionFilterName, RegistrationVersionStatus, RequestableNumberType, SearchableNumberType, SenderIdFilterName, SpendLimitName, TemplateVariableSource, TemplateVariableType, TestingAgentStatus, TierUpgradeStatus, VerificationChannel, VerificationStatus, VerifiedDestinationNumberFilterName, VoiceId, VoiceMessageBodyTextType } from "./enums";
2
2
  /**
3
3
  * <p>Displays the attributes associated with a single Amazon Web Services account.</p>
4
4
  * @public
@@ -2993,6 +2993,22 @@ export interface DescribePhoneNumbersRequest {
2993
2993
  */
2994
2994
  Owner?: Owner | undefined;
2995
2995
  }
2996
+ /**
2997
+ * <p>The messaging limits that apply to an origination identity, such as a phone number, sender ID, or RCS agent. Includes the per-capability send rates and, for supported origination identities, advisory per-provider daily message caps.</p>
2998
+ * @public
2999
+ */
3000
+ export interface MessagingLimits {
3001
+ /**
3002
+ * <p>The maximum send rate for each supported capability, in messages per second. The map is keyed by capability, such as <code>SMS</code>, <code>MMS</code>, <code>VOICE</code>, or <code>RCS</code>.</p>
3003
+ * @public
3004
+ */
3005
+ RateLimits?: Record<string, number> | undefined;
3006
+ /**
3007
+ * <p>The advisory maximum number of messages that can be sent per day, keyed by provider (for example, <code>T-MOBILE</code>). Applies to 10DLC phone numbers and is omitted when no daily cap applies.</p>
3008
+ * @public
3009
+ */
3010
+ DailyMessageCaps?: Record<string, number> | undefined;
3011
+ }
2996
3012
  /**
2997
3013
  * <p>The information for a phone number, in E.164 format, in an Amazon Web Services account.</p>
2998
3014
  * @public
@@ -3088,6 +3104,11 @@ export interface PhoneNumberInformation {
3088
3104
  * @public
3089
3105
  */
3090
3106
  RegistrationId?: string | undefined;
3107
+ /**
3108
+ * <p>The messaging limits that apply to the phone number, including the per-capability send rates and any advisory per-provider daily message caps.</p>
3109
+ * @public
3110
+ */
3111
+ MessagingLimits?: MessagingLimits | undefined;
3091
3112
  /**
3092
3113
  * <p>The time when the phone number was created, in <a href="https://www.epochconverter.com/">UNIX epoch time</a> format.</p>
3093
3114
  * @public
@@ -3530,6 +3551,11 @@ export interface RcsAgentInformation {
3530
3551
  * @public
3531
3552
  */
3532
3553
  TestingAgent?: TestingAgentInformation | undefined;
3554
+ /**
3555
+ * <p>The messaging limits that apply to the RCS agent, including the per-capability send rates.</p>
3556
+ * @public
3557
+ */
3558
+ MessagingLimits?: MessagingLimits | undefined;
3533
3559
  }
3534
3560
  /**
3535
3561
  * @public
@@ -4517,6 +4543,11 @@ export interface SenderIdInformation {
4517
4543
  * @public
4518
4544
  */
4519
4545
  RegistrationId?: string | undefined;
4546
+ /**
4547
+ * <p>The messaging limits that apply to the sender ID, including the per-capability send rates.</p>
4548
+ * @public
4549
+ */
4550
+ MessagingLimits?: MessagingLimits | undefined;
4520
4551
  }
4521
4552
  /**
4522
4553
  * @public
@@ -4902,6 +4933,78 @@ export interface GetResourcePolicyResult {
4902
4933
  */
4903
4934
  CreatedTimestamp?: Date | undefined;
4904
4935
  }
4936
+ /**
4937
+ * A single number preference — specifies a pattern type and filter value.
4938
+ * @public
4939
+ */
4940
+ export interface NumberPreferenceItem {
4941
+ /**
4942
+ * <p>The type of match to apply to the filter values.</p> <ul> <li> <p> <code>StartsWith</code>: Returns numbers that begin with the filter value.</p> </li> <li> <p> <code>EndsWith</code>: Returns numbers that end with the filter value.</p> </li> <li> <p> <code>Contains</code>: Returns numbers that contain the filter value.</p> </li> <li> <p> <code>ExactMatch</code>: Returns the number that exactly matches the filter value.</p> </li> </ul>
4943
+ * @public
4944
+ */
4945
+ PreferenceType: PreferenceType[] | undefined;
4946
+ /**
4947
+ * <p>The digit pattern values to match against available phone numbers, using the specified preference type.</p>
4948
+ * @public
4949
+ */
4950
+ Filter: string[] | undefined;
4951
+ }
4952
+ /**
4953
+ * @public
4954
+ */
4955
+ export interface ListAvailablePhoneNumbersRequest {
4956
+ /**
4957
+ * <p>The two-character code, in ISO 3166-1 alpha-2 format, for the country or region in which to search for available phone numbers. This operation currently supports only <code>US</code>.</p>
4958
+ * @public
4959
+ */
4960
+ IsoCountryCode: string | undefined;
4961
+ /**
4962
+ * <p>The capabilities to filter by, such as SMS. Only phone numbers that support all of the specified capabilities are returned.</p>
4963
+ * @public
4964
+ */
4965
+ NumberCapabilities: NumberCapability[] | undefined;
4966
+ /**
4967
+ * <p>The type of phone number to search for.</p>
4968
+ * @public
4969
+ */
4970
+ NumberType: SearchableNumberType | undefined;
4971
+ /**
4972
+ * <p>The registration associated with the request. A registration is required for regulated number types. You can specify either:</p> <ul> <li> <p>The unique identifier of the registration.</p> </li> <li> <p>The Amazon Resource Name (ARN) of the registration.</p> </li> </ul>
4973
+ * @public
4974
+ */
4975
+ RegistrationId?: string | undefined;
4976
+ /**
4977
+ * Optional. If omitted, returns unfiltered available numbers.
4978
+ * Max 1 element for List API.
4979
+ * @public
4980
+ */
4981
+ NumberPreference?: NumberPreferenceItem[] | undefined;
4982
+ /**
4983
+ * <p>The token returned from a previous request to retrieve the next page of results.</p>
4984
+ * @public
4985
+ */
4986
+ NextToken?: string | undefined;
4987
+ /**
4988
+ * <p>The maximum number of results to return per page. If you don't specify a value, the default is 10.</p>
4989
+ * @public
4990
+ */
4991
+ MaxResults?: number | undefined;
4992
+ }
4993
+ /**
4994
+ * @public
4995
+ */
4996
+ export interface ListAvailablePhoneNumbersResult {
4997
+ /**
4998
+ * <p>An array of phone numbers, in E.164 format, that are available to request based on the specified filters.</p>
4999
+ * @public
5000
+ */
5001
+ AvailablePhoneNumbers: string[] | undefined;
5002
+ /**
5003
+ * <p>The token to include in the next request to retrieve the next page of results. This value is null when there are no more results.</p>
5004
+ * @public
5005
+ */
5006
+ NextToken?: string | undefined;
5007
+ }
4905
5008
  /**
4906
5009
  * @public
4907
5010
  */
@@ -5798,6 +5901,11 @@ export interface RequestPhoneNumberRequest {
5798
5901
  * @public
5799
5902
  */
5800
5903
  RegistrationId?: string | undefined;
5904
+ /**
5905
+ * <p>An optional selection preference used to request a specific phone number, such as a number that starts with, ends with, or contains a particular digit pattern. You can specify at most one preference. Number preferences apply only to <code>TEN_DLC</code> requests in the <code>US</code>.</p>
5906
+ * @public
5907
+ */
5908
+ NumberPreference?: NumberPreferenceItem[] | undefined;
5801
5909
  /**
5802
5910
  * <p>By default this is set to false. When set to true the international sending of phone number is Enabled. </p>
5803
5911
  * @public
@@ -7778,93 +7886,3 @@ export interface UpdatePoolResult {
7778
7886
  */
7779
7887
  CreatedTimestamp?: Date | undefined;
7780
7888
  }
7781
- /**
7782
- * @public
7783
- */
7784
- export interface UpdateProtectConfigurationRequest {
7785
- /**
7786
- * <p>The unique identifier for the protect configuration.</p>
7787
- * @public
7788
- */
7789
- ProtectConfigurationId: string | undefined;
7790
- /**
7791
- * <p>When set to true deletion protection is enabled. By default this is set to false. </p>
7792
- * @public
7793
- */
7794
- DeletionProtectionEnabled?: boolean | undefined;
7795
- }
7796
- /**
7797
- * @public
7798
- */
7799
- export interface UpdateProtectConfigurationResult {
7800
- /**
7801
- * <p>The Amazon Resource Name (ARN) of the protect configuration.</p>
7802
- * @public
7803
- */
7804
- ProtectConfigurationArn: string | undefined;
7805
- /**
7806
- * <p>The unique identifier for the protect configuration.</p>
7807
- * @public
7808
- */
7809
- ProtectConfigurationId: string | undefined;
7810
- /**
7811
- * <p>The time when the protect configuration was created, in <a href="https://www.epochconverter.com/">UNIX epoch time</a> format.</p>
7812
- * @public
7813
- */
7814
- CreatedTimestamp: Date | undefined;
7815
- /**
7816
- * <p>This is true if the protect configuration is set as your account default protect configuration.</p>
7817
- * @public
7818
- */
7819
- AccountDefault: boolean | undefined;
7820
- /**
7821
- * <p>The status of deletion protection for the protect configuration. When set to true deletion protection is enabled. By default this is set to false. </p>
7822
- * @public
7823
- */
7824
- DeletionProtectionEnabled: boolean | undefined;
7825
- }
7826
- /**
7827
- * @public
7828
- */
7829
- export interface UpdateProtectConfigurationCountryRuleSetRequest {
7830
- /**
7831
- * <p>The unique identifier for the protect configuration.</p>
7832
- * @public
7833
- */
7834
- ProtectConfigurationId: string | undefined;
7835
- /**
7836
- * <p>The number capability to apply the CountryRuleSetUpdates updates to.</p>
7837
- * @public
7838
- */
7839
- NumberCapability: NumberCapability | undefined;
7840
- /**
7841
- * <p>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 <a href="https://docs.aws.amazon.com/sms-voice/latest/userguide/phone-numbers-sms-by-country.html">Supported countries and regions (SMS channel)</a> in the End User Messaging SMS User Guide.</p> <p>For example, to set the United States as allowed and Canada as blocked, the <code>CountryRuleSetUpdates</code> would be formatted as: <code>"CountryRuleSetUpdates": \{ "US" : \{ "ProtectStatus": "ALLOW" \} "CA" : \{ "ProtectStatus": "BLOCK" \} \}</code> </p>
7842
- * @public
7843
- */
7844
- CountryRuleSetUpdates: Record<string, ProtectConfigurationCountryRuleSetInformation> | undefined;
7845
- }
7846
- /**
7847
- * @public
7848
- */
7849
- export interface UpdateProtectConfigurationCountryRuleSetResult {
7850
- /**
7851
- * <p>The Amazon Resource Name (ARN) of the protect configuration.</p>
7852
- * @public
7853
- */
7854
- ProtectConfigurationArn: string | undefined;
7855
- /**
7856
- * <p>The unique identifier for the protect configuration.</p>
7857
- * @public
7858
- */
7859
- ProtectConfigurationId: string | undefined;
7860
- /**
7861
- * <p>The number capability that was updated</p>
7862
- * @public
7863
- */
7864
- NumberCapability: NumberCapability | undefined;
7865
- /**
7866
- * <p>An array of ProtectConfigurationCountryRuleSetInformation containing the rules for the NumberCapability.</p>
7867
- * @public
7868
- */
7869
- CountryRuleSet: Record<string, ProtectConfigurationCountryRuleSetInformation> | undefined;
7870
- }