@aws-sdk/client-pinpoint-sms-voice-v2 3.1127.0 → 3.1129.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.
- package/README.md +7 -0
- package/dist-cjs/index.js +74 -11
- package/dist-es/PinpointSMSVoiceV2.js +4 -0
- package/dist-es/commands/ListAvailablePhoneNumbersCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +9 -0
- package/dist-es/pagination/ListAvailablePhoneNumbersPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +52 -10
- package/dist-types/PinpointSMSVoiceV2.d.ts +14 -0
- package/dist-types/PinpointSMSVoiceV2Client.d.ts +3 -2
- package/dist-types/commands/DescribePhoneNumbersCommand.d.ts +8 -0
- package/dist-types/commands/DescribeRcsAgentsCommand.d.ts +8 -0
- package/dist-types/commands/DescribeSenderIdsCommand.d.ts +8 -0
- package/dist-types/commands/ListAvailablePhoneNumbersCommand.d.ts +147 -0
- package/dist-types/commands/RequestPhoneNumberCommand.d.ts +10 -0
- package/dist-types/commands/UpdateProtectConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateProtectConfigurationCountryRuleSetCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +25 -0
- package/dist-types/models/models_0.d.ts +109 -91
- package/dist-types/models/models_1.d.ts +92 -1
- package/dist-types/pagination/ListAvailablePhoneNumbersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +5 -0
- package/dist-types/ts3.4/PinpointSMSVoiceV2.d.ts +24 -0
- package/dist-types/ts3.4/PinpointSMSVoiceV2Client.d.ts +6 -0
- package/dist-types/ts3.4/commands/ListAvailablePhoneNumbersCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateProtectConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateProtectConfigurationCountryRuleSetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +11 -0
- package/dist-types/ts3.4/models/models_0.d.ts +27 -22
- package/dist-types/ts3.4/models/models_1.d.ts +24 -1
- package/dist-types/ts3.4/pagination/ListAvailablePhoneNumbersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -0
- package/package.json +3 -3
|
@@ -1,4 +1,95 @@
|
|
|
1
|
-
import type { MessageType, RcsAgentStatus, VerificationStatus } from "./enums";
|
|
1
|
+
import type { MessageType, NumberCapability, RcsAgentStatus, VerificationStatus } from "./enums";
|
|
2
|
+
import type { ProtectConfigurationCountryRuleSetInformation } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface UpdateProtectConfigurationRequest {
|
|
7
|
+
/**
|
|
8
|
+
* <p>The unique identifier for the protect configuration.</p>
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
ProtectConfigurationId: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* <p>When set to true deletion protection is enabled. By default this is set to false. </p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
DeletionProtectionEnabled?: boolean | undefined;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateProtectConfigurationResult {
|
|
22
|
+
/**
|
|
23
|
+
* <p>The Amazon Resource Name (ARN) of the protect configuration.</p>
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
ProtectConfigurationArn: string | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* <p>The unique identifier for the protect configuration.</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
ProtectConfigurationId: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* <p>The time when the protect configuration was created, in <a href="https://www.epochconverter.com/">UNIX epoch time</a> format.</p>
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
CreatedTimestamp: Date | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* <p>This is true if the protect configuration is set as your account default protect configuration.</p>
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
AccountDefault: boolean | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* <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>
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
DeletionProtectionEnabled: boolean | undefined;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
export interface UpdateProtectConfigurationCountryRuleSetRequest {
|
|
52
|
+
/**
|
|
53
|
+
* <p>The unique identifier for the protect configuration.</p>
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
ProtectConfigurationId: string | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* <p>The number capability to apply the CountryRuleSetUpdates updates to.</p>
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
NumberCapability: NumberCapability | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* <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>
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
CountryRuleSetUpdates: Record<string, ProtectConfigurationCountryRuleSetInformation> | undefined;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
export interface UpdateProtectConfigurationCountryRuleSetResult {
|
|
72
|
+
/**
|
|
73
|
+
* <p>The Amazon Resource Name (ARN) of the protect configuration.</p>
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
ProtectConfigurationArn: string | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* <p>The unique identifier for the protect configuration.</p>
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
ProtectConfigurationId: string | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* <p>The number capability that was updated</p>
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
NumberCapability: NumberCapability | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* <p>An array of ProtectConfigurationCountryRuleSetInformation containing the rules for the NumberCapability.</p>
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
CountryRuleSet: Record<string, ProtectConfigurationCountryRuleSetInformation> | undefined;
|
|
92
|
+
}
|
|
2
93
|
/**
|
|
3
94
|
* @public
|
|
4
95
|
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListAvailablePhoneNumbersCommandInput, ListAvailablePhoneNumbersCommandOutput } from "../commands/ListAvailablePhoneNumbersCommand";
|
|
3
|
+
import type { PinpointSMSVoiceV2PaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListAvailablePhoneNumbers: (config: PinpointSMSVoiceV2PaginationConfiguration, input: ListAvailablePhoneNumbersCommandInput, ...rest: any[]) => Paginator<ListAvailablePhoneNumbersCommandOutput>;
|
|
@@ -22,6 +22,7 @@ export * from "./DescribeRegistrationVersionsPaginator";
|
|
|
22
22
|
export * from "./DescribeSenderIdsPaginator";
|
|
23
23
|
export * from "./DescribeSpendLimitsPaginator";
|
|
24
24
|
export * from "./DescribeVerifiedDestinationNumbersPaginator";
|
|
25
|
+
export * from "./ListAvailablePhoneNumbersPaginator";
|
|
25
26
|
export * from "./ListNotifyCountriesPaginator";
|
|
26
27
|
export * from "./ListPoolOriginationIdentitiesPaginator";
|
|
27
28
|
export * from "./ListProtectConfigurationRuleSetNumberOverridesPaginator";
|
|
@@ -162,6 +162,8 @@ export declare var GetResourcePolicyResult$: StaticStructureSchema;
|
|
|
162
162
|
export declare var KeywordFilter$: StaticStructureSchema;
|
|
163
163
|
export declare var KeywordInformation$: StaticStructureSchema;
|
|
164
164
|
export declare var KinesisFirehoseDestination$: StaticStructureSchema;
|
|
165
|
+
export declare var ListAvailablePhoneNumbersRequest$: StaticStructureSchema;
|
|
166
|
+
export declare var ListAvailablePhoneNumbersResult$: StaticStructureSchema;
|
|
165
167
|
export declare var ListNotifyCountriesRequest$: StaticStructureSchema;
|
|
166
168
|
export declare var ListNotifyCountriesResult$: StaticStructureSchema;
|
|
167
169
|
export declare var ListPoolOriginationIdentitiesRequest$: StaticStructureSchema;
|
|
@@ -172,11 +174,13 @@ export declare var ListRegistrationAssociationsRequest$: StaticStructureSchema;
|
|
|
172
174
|
export declare var ListRegistrationAssociationsResult$: StaticStructureSchema;
|
|
173
175
|
export declare var ListTagsForResourceRequest$: StaticStructureSchema;
|
|
174
176
|
export declare var ListTagsForResourceResult$: StaticStructureSchema;
|
|
177
|
+
export declare var MessagingLimits$: StaticStructureSchema;
|
|
175
178
|
export declare var NotifyConfigurationFilter$: StaticStructureSchema;
|
|
176
179
|
export declare var NotifyConfigurationInformation$: StaticStructureSchema;
|
|
177
180
|
export declare var NotifyCountryInformation$: StaticStructureSchema;
|
|
178
181
|
export declare var NotifyTemplateFilter$: StaticStructureSchema;
|
|
179
182
|
export declare var NotifyTemplateInformation$: StaticStructureSchema;
|
|
183
|
+
export declare var NumberPreferenceItem$: StaticStructureSchema;
|
|
180
184
|
export declare var OptedOutFilter$: StaticStructureSchema;
|
|
181
185
|
export declare var OptedOutNumberInformation$: StaticStructureSchema;
|
|
182
186
|
export declare var OptOutListInformation$: StaticStructureSchema;
|
|
@@ -386,6 +390,7 @@ export declare var DisassociateProtectConfiguration$: StaticOperationSchema;
|
|
|
386
390
|
export declare var DiscardRegistrationVersion$: StaticOperationSchema;
|
|
387
391
|
export declare var GetProtectConfigurationCountryRuleSet$: StaticOperationSchema;
|
|
388
392
|
export declare var GetResourcePolicy$: StaticOperationSchema;
|
|
393
|
+
export declare var ListAvailablePhoneNumbers$: StaticOperationSchema;
|
|
389
394
|
export declare var ListNotifyCountries$: StaticOperationSchema;
|
|
390
395
|
export declare var ListPoolOriginationIdentities$: StaticOperationSchema;
|
|
391
396
|
export declare var ListProtectConfigurationRuleSetNumberOverrides$: StaticOperationSchema;
|
|
@@ -261,6 +261,10 @@ import {
|
|
|
261
261
|
GetResourcePolicyCommandInput,
|
|
262
262
|
GetResourcePolicyCommandOutput,
|
|
263
263
|
} from "./commands/GetResourcePolicyCommand";
|
|
264
|
+
import {
|
|
265
|
+
ListAvailablePhoneNumbersCommandInput,
|
|
266
|
+
ListAvailablePhoneNumbersCommandOutput,
|
|
267
|
+
} from "./commands/ListAvailablePhoneNumbersCommand";
|
|
264
268
|
import {
|
|
265
269
|
ListNotifyCountriesCommandInput,
|
|
266
270
|
ListNotifyCountriesCommandOutput,
|
|
@@ -1309,6 +1313,19 @@ export interface PinpointSMSVoiceV2 {
|
|
|
1309
1313
|
options: __HttpHandlerOptions,
|
|
1310
1314
|
cb: (err: any, data?: GetResourcePolicyCommandOutput) => void,
|
|
1311
1315
|
): void;
|
|
1316
|
+
listAvailablePhoneNumbers(
|
|
1317
|
+
args: ListAvailablePhoneNumbersCommandInput,
|
|
1318
|
+
options?: __HttpHandlerOptions,
|
|
1319
|
+
): Promise<ListAvailablePhoneNumbersCommandOutput>;
|
|
1320
|
+
listAvailablePhoneNumbers(
|
|
1321
|
+
args: ListAvailablePhoneNumbersCommandInput,
|
|
1322
|
+
cb: (err: any, data?: ListAvailablePhoneNumbersCommandOutput) => void,
|
|
1323
|
+
): void;
|
|
1324
|
+
listAvailablePhoneNumbers(
|
|
1325
|
+
args: ListAvailablePhoneNumbersCommandInput,
|
|
1326
|
+
options: __HttpHandlerOptions,
|
|
1327
|
+
cb: (err: any, data?: ListAvailablePhoneNumbersCommandOutput) => void,
|
|
1328
|
+
): void;
|
|
1312
1329
|
listNotifyCountries(): Promise<ListNotifyCountriesCommandOutput>;
|
|
1313
1330
|
listNotifyCountries(
|
|
1314
1331
|
args: ListNotifyCountriesCommandInput,
|
|
@@ -2030,6 +2047,13 @@ export interface PinpointSMSVoiceV2 {
|
|
|
2030
2047
|
Exclude<keyof PaginationConfiguration, "client">
|
|
2031
2048
|
>,
|
|
2032
2049
|
): Paginator<DescribeVerifiedDestinationNumbersCommandOutput>;
|
|
2050
|
+
paginateListAvailablePhoneNumbers(
|
|
2051
|
+
args: ListAvailablePhoneNumbersCommandInput,
|
|
2052
|
+
paginationConfig?: Pick<
|
|
2053
|
+
PaginationConfiguration,
|
|
2054
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
2055
|
+
>,
|
|
2056
|
+
): Paginator<ListAvailablePhoneNumbersCommandOutput>;
|
|
2033
2057
|
paginateListNotifyCountries(
|
|
2034
2058
|
args?: ListNotifyCountriesCommandInput,
|
|
2035
2059
|
paginationConfig?: Pick<
|
|
@@ -291,6 +291,10 @@ import {
|
|
|
291
291
|
GetResourcePolicyCommandInput,
|
|
292
292
|
GetResourcePolicyCommandOutput,
|
|
293
293
|
} from "./commands/GetResourcePolicyCommand";
|
|
294
|
+
import {
|
|
295
|
+
ListAvailablePhoneNumbersCommandInput,
|
|
296
|
+
ListAvailablePhoneNumbersCommandOutput,
|
|
297
|
+
} from "./commands/ListAvailablePhoneNumbersCommand";
|
|
294
298
|
import {
|
|
295
299
|
ListNotifyCountriesCommandInput,
|
|
296
300
|
ListNotifyCountriesCommandOutput,
|
|
@@ -528,6 +532,7 @@ export type ServiceInputTypes =
|
|
|
528
532
|
| DiscardRegistrationVersionCommandInput
|
|
529
533
|
| GetProtectConfigurationCountryRuleSetCommandInput
|
|
530
534
|
| GetResourcePolicyCommandInput
|
|
535
|
+
| ListAvailablePhoneNumbersCommandInput
|
|
531
536
|
| ListNotifyCountriesCommandInput
|
|
532
537
|
| ListPoolOriginationIdentitiesCommandInput
|
|
533
538
|
| ListProtectConfigurationRuleSetNumberOverridesCommandInput
|
|
@@ -638,6 +643,7 @@ export type ServiceOutputTypes =
|
|
|
638
643
|
| DiscardRegistrationVersionCommandOutput
|
|
639
644
|
| GetProtectConfigurationCountryRuleSetCommandOutput
|
|
640
645
|
| GetResourcePolicyCommandOutput
|
|
646
|
+
| ListAvailablePhoneNumbersCommandOutput
|
|
641
647
|
| ListNotifyCountriesCommandOutput
|
|
642
648
|
| ListPoolOriginationIdentitiesCommandOutput
|
|
643
649
|
| ListProtectConfigurationRuleSetNumberOverridesCommandOutput
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListAvailablePhoneNumbersRequest,
|
|
4
|
+
ListAvailablePhoneNumbersResult,
|
|
5
|
+
} from "../models/models_0";
|
|
6
|
+
export { __MetadataBearer };
|
|
7
|
+
export interface ListAvailablePhoneNumbersCommandInput extends ListAvailablePhoneNumbersRequest {}
|
|
8
|
+
export interface ListAvailablePhoneNumbersCommandOutput
|
|
9
|
+
extends ListAvailablePhoneNumbersResult, __MetadataBearer {}
|
|
10
|
+
declare const ListAvailablePhoneNumbersCommand_base: {
|
|
11
|
+
new (
|
|
12
|
+
input: ListAvailablePhoneNumbersCommandInput,
|
|
13
|
+
): import("@smithy/core/client").CommandImpl<
|
|
14
|
+
ListAvailablePhoneNumbersCommandInput,
|
|
15
|
+
ListAvailablePhoneNumbersCommandOutput,
|
|
16
|
+
import("..").PinpointSMSVoiceV2ClientResolvedConfig,
|
|
17
|
+
import("..").ServiceInputTypes,
|
|
18
|
+
import("..").ServiceOutputTypes
|
|
19
|
+
>;
|
|
20
|
+
new (
|
|
21
|
+
input: ListAvailablePhoneNumbersCommandInput,
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
ListAvailablePhoneNumbersCommandInput,
|
|
24
|
+
ListAvailablePhoneNumbersCommandOutput,
|
|
25
|
+
import("..").PinpointSMSVoiceV2ClientResolvedConfig,
|
|
26
|
+
import("..").ServiceInputTypes,
|
|
27
|
+
import("..").ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
|
+
};
|
|
31
|
+
export declare class ListAvailablePhoneNumbersCommand extends ListAvailablePhoneNumbersCommand_base {
|
|
32
|
+
protected static __types: {
|
|
33
|
+
api: {
|
|
34
|
+
input: ListAvailablePhoneNumbersRequest;
|
|
35
|
+
output: ListAvailablePhoneNumbersResult;
|
|
36
|
+
};
|
|
37
|
+
sdk: {
|
|
38
|
+
input: ListAvailablePhoneNumbersCommandInput;
|
|
39
|
+
output: ListAvailablePhoneNumbersCommandOutput;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -2,7 +2,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import {
|
|
3
3
|
UpdateProtectConfigurationRequest,
|
|
4
4
|
UpdateProtectConfigurationResult,
|
|
5
|
-
} from "../models/
|
|
5
|
+
} from "../models/models_1";
|
|
6
6
|
export { __MetadataBearer };
|
|
7
7
|
export interface UpdateProtectConfigurationCommandInput extends UpdateProtectConfigurationRequest {}
|
|
8
8
|
export interface UpdateProtectConfigurationCommandOutput
|
|
@@ -2,7 +2,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import {
|
|
3
3
|
UpdateProtectConfigurationCountryRuleSetRequest,
|
|
4
4
|
UpdateProtectConfigurationCountryRuleSetResult,
|
|
5
|
-
} from "../models/
|
|
5
|
+
} from "../models/models_1";
|
|
6
6
|
export { __MetadataBearer };
|
|
7
7
|
export interface UpdateProtectConfigurationCountryRuleSetCommandInput extends UpdateProtectConfigurationCountryRuleSetRequest {}
|
|
8
8
|
export interface UpdateProtectConfigurationCountryRuleSetCommandOutput
|
|
@@ -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";
|
|
@@ -648,6 +648,17 @@ export declare const LanguageCode: {
|
|
|
648
648
|
readonly ZH_TW: "ZH_TW";
|
|
649
649
|
};
|
|
650
650
|
export type LanguageCode = (typeof LanguageCode)[keyof typeof LanguageCode];
|
|
651
|
+
export declare const PreferenceType: {
|
|
652
|
+
readonly CONTAINS: "Contains";
|
|
653
|
+
readonly ENDS_WITH: "EndsWith";
|
|
654
|
+
readonly EXACT_MATCH: "ExactMatch";
|
|
655
|
+
readonly STARTS_WITH: "StartsWith";
|
|
656
|
+
};
|
|
657
|
+
export type PreferenceType = (typeof PreferenceType)[keyof typeof PreferenceType];
|
|
658
|
+
export declare const SearchableNumberType: {
|
|
659
|
+
readonly TEN_DLC: "TEN_DLC";
|
|
660
|
+
};
|
|
661
|
+
export type SearchableNumberType = (typeof SearchableNumberType)[keyof typeof SearchableNumberType];
|
|
651
662
|
export declare const PoolOriginationIdentitiesFilterName: {
|
|
652
663
|
readonly ISO_COUNTRY_CODE: "iso-country-code";
|
|
653
664
|
readonly NUMBER_CAPABILITY: "number-capability";
|
|
@@ -33,6 +33,7 @@ import {
|
|
|
33
33
|
PoolFilterName,
|
|
34
34
|
PoolOriginationIdentitiesFilterName,
|
|
35
35
|
PoolStatus,
|
|
36
|
+
PreferenceType,
|
|
36
37
|
ProtectConfigurationFilterName,
|
|
37
38
|
ProtectConfigurationRuleOverrideAction,
|
|
38
39
|
ProtectConfigurationRuleSetNumberOverrideFilterName,
|
|
@@ -50,6 +51,7 @@ import {
|
|
|
50
51
|
RegistrationVersionFilterName,
|
|
51
52
|
RegistrationVersionStatus,
|
|
52
53
|
RequestableNumberType,
|
|
54
|
+
SearchableNumberType,
|
|
53
55
|
SenderIdFilterName,
|
|
54
56
|
SpendLimitName,
|
|
55
57
|
TemplateVariableSource,
|
|
@@ -771,6 +773,10 @@ export interface DescribePhoneNumbersRequest {
|
|
|
771
773
|
MaxResults?: number | undefined;
|
|
772
774
|
Owner?: Owner | undefined;
|
|
773
775
|
}
|
|
776
|
+
export interface MessagingLimits {
|
|
777
|
+
RateLimits?: Record<string, number> | undefined;
|
|
778
|
+
DailyMessageCaps?: Record<string, number> | undefined;
|
|
779
|
+
}
|
|
774
780
|
export interface PhoneNumberInformation {
|
|
775
781
|
PhoneNumberArn: string | undefined;
|
|
776
782
|
PhoneNumberId?: string | undefined;
|
|
@@ -790,6 +796,7 @@ export interface PhoneNumberInformation {
|
|
|
790
796
|
DeletionProtectionEnabled: boolean | undefined;
|
|
791
797
|
PoolId?: string | undefined;
|
|
792
798
|
RegistrationId?: string | undefined;
|
|
799
|
+
MessagingLimits?: MessagingLimits | undefined;
|
|
793
800
|
CreatedTimestamp: Date | undefined;
|
|
794
801
|
}
|
|
795
802
|
export interface DescribePhoneNumbersResult {
|
|
@@ -892,6 +899,7 @@ export interface RcsAgentInformation {
|
|
|
892
899
|
TwoWayMediaS3Role?: string | undefined;
|
|
893
900
|
TwoWayRcsEventsEnabled?: string[] | undefined;
|
|
894
901
|
TestingAgent?: TestingAgentInformation | undefined;
|
|
902
|
+
MessagingLimits?: MessagingLimits | undefined;
|
|
895
903
|
}
|
|
896
904
|
export interface DescribeRcsAgentsResult {
|
|
897
905
|
RcsAgents?: RcsAgentInformation[] | undefined;
|
|
@@ -1123,6 +1131,7 @@ export interface SenderIdInformation {
|
|
|
1123
1131
|
DeletionProtectionEnabled: boolean | undefined;
|
|
1124
1132
|
Registered: boolean | undefined;
|
|
1125
1133
|
RegistrationId?: string | undefined;
|
|
1134
|
+
MessagingLimits?: MessagingLimits | undefined;
|
|
1126
1135
|
}
|
|
1127
1136
|
export interface DescribeSenderIdsResult {
|
|
1128
1137
|
SenderIds?: SenderIdInformation[] | undefined;
|
|
@@ -1219,6 +1228,23 @@ export interface GetResourcePolicyResult {
|
|
|
1219
1228
|
Policy?: string | undefined;
|
|
1220
1229
|
CreatedTimestamp?: Date | undefined;
|
|
1221
1230
|
}
|
|
1231
|
+
export interface NumberPreferenceItem {
|
|
1232
|
+
PreferenceType: PreferenceType[] | undefined;
|
|
1233
|
+
Filter: string[] | undefined;
|
|
1234
|
+
}
|
|
1235
|
+
export interface ListAvailablePhoneNumbersRequest {
|
|
1236
|
+
IsoCountryCode: string | undefined;
|
|
1237
|
+
NumberCapabilities: NumberCapability[] | undefined;
|
|
1238
|
+
NumberType: SearchableNumberType | undefined;
|
|
1239
|
+
RegistrationId?: string | undefined;
|
|
1240
|
+
NumberPreference?: NumberPreferenceItem[] | undefined;
|
|
1241
|
+
NextToken?: string | undefined;
|
|
1242
|
+
MaxResults?: number | undefined;
|
|
1243
|
+
}
|
|
1244
|
+
export interface ListAvailablePhoneNumbersResult {
|
|
1245
|
+
AvailablePhoneNumbers: string[] | undefined;
|
|
1246
|
+
NextToken?: string | undefined;
|
|
1247
|
+
}
|
|
1222
1248
|
export interface ListNotifyCountriesRequest {
|
|
1223
1249
|
Channels?: NumberCapability[] | undefined;
|
|
1224
1250
|
UseCases?: NotifyConfigurationUseCase[] | undefined;
|
|
@@ -1430,6 +1456,7 @@ export interface RequestPhoneNumberRequest {
|
|
|
1430
1456
|
OptOutListName?: string | undefined;
|
|
1431
1457
|
PoolId?: string | undefined;
|
|
1432
1458
|
RegistrationId?: string | undefined;
|
|
1459
|
+
NumberPreference?: NumberPreferenceItem[] | undefined;
|
|
1433
1460
|
InternationalSendingEnabled?: boolean | undefined;
|
|
1434
1461
|
DeletionProtectionEnabled?: boolean | undefined;
|
|
1435
1462
|
Tags?: Tag[] | undefined;
|
|
@@ -1985,25 +2012,3 @@ export interface UpdatePoolResult {
|
|
|
1985
2012
|
DeletionProtectionEnabled?: boolean | undefined;
|
|
1986
2013
|
CreatedTimestamp?: Date | undefined;
|
|
1987
2014
|
}
|
|
1988
|
-
export interface UpdateProtectConfigurationRequest {
|
|
1989
|
-
ProtectConfigurationId: string | undefined;
|
|
1990
|
-
DeletionProtectionEnabled?: boolean | undefined;
|
|
1991
|
-
}
|
|
1992
|
-
export interface UpdateProtectConfigurationResult {
|
|
1993
|
-
ProtectConfigurationArn: string | undefined;
|
|
1994
|
-
ProtectConfigurationId: string | undefined;
|
|
1995
|
-
CreatedTimestamp: Date | undefined;
|
|
1996
|
-
AccountDefault: boolean | undefined;
|
|
1997
|
-
DeletionProtectionEnabled: boolean | undefined;
|
|
1998
|
-
}
|
|
1999
|
-
export interface UpdateProtectConfigurationCountryRuleSetRequest {
|
|
2000
|
-
ProtectConfigurationId: string | undefined;
|
|
2001
|
-
NumberCapability: NumberCapability | undefined;
|
|
2002
|
-
CountryRuleSetUpdates: Record<string, ProtectConfigurationCountryRuleSetInformation> | undefined;
|
|
2003
|
-
}
|
|
2004
|
-
export interface UpdateProtectConfigurationCountryRuleSetResult {
|
|
2005
|
-
ProtectConfigurationArn: string | undefined;
|
|
2006
|
-
ProtectConfigurationId: string | undefined;
|
|
2007
|
-
NumberCapability: NumberCapability | undefined;
|
|
2008
|
-
CountryRuleSet: Record<string, ProtectConfigurationCountryRuleSetInformation> | undefined;
|
|
2009
|
-
}
|
|
@@ -1,4 +1,27 @@
|
|
|
1
|
-
import { MessageType, RcsAgentStatus, VerificationStatus } from "./enums";
|
|
1
|
+
import { MessageType, NumberCapability, RcsAgentStatus, VerificationStatus } from "./enums";
|
|
2
|
+
import { ProtectConfigurationCountryRuleSetInformation } from "./models_0";
|
|
3
|
+
export interface UpdateProtectConfigurationRequest {
|
|
4
|
+
ProtectConfigurationId: string | undefined;
|
|
5
|
+
DeletionProtectionEnabled?: boolean | undefined;
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateProtectConfigurationResult {
|
|
8
|
+
ProtectConfigurationArn: string | undefined;
|
|
9
|
+
ProtectConfigurationId: string | undefined;
|
|
10
|
+
CreatedTimestamp: Date | undefined;
|
|
11
|
+
AccountDefault: boolean | undefined;
|
|
12
|
+
DeletionProtectionEnabled: boolean | undefined;
|
|
13
|
+
}
|
|
14
|
+
export interface UpdateProtectConfigurationCountryRuleSetRequest {
|
|
15
|
+
ProtectConfigurationId: string | undefined;
|
|
16
|
+
NumberCapability: NumberCapability | undefined;
|
|
17
|
+
CountryRuleSetUpdates: Record<string, ProtectConfigurationCountryRuleSetInformation> | undefined;
|
|
18
|
+
}
|
|
19
|
+
export interface UpdateProtectConfigurationCountryRuleSetResult {
|
|
20
|
+
ProtectConfigurationArn: string | undefined;
|
|
21
|
+
ProtectConfigurationId: string | undefined;
|
|
22
|
+
NumberCapability: NumberCapability | undefined;
|
|
23
|
+
CountryRuleSet: Record<string, ProtectConfigurationCountryRuleSetInformation> | undefined;
|
|
24
|
+
}
|
|
2
25
|
export interface UpdateRcsAgentRequest {
|
|
3
26
|
RcsAgentId: string | undefined;
|
|
4
27
|
DeletionProtectionEnabled?: boolean | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListAvailablePhoneNumbersCommandInput,
|
|
4
|
+
ListAvailablePhoneNumbersCommandOutput,
|
|
5
|
+
} from "../commands/ListAvailablePhoneNumbersCommand";
|
|
6
|
+
import { PinpointSMSVoiceV2PaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListAvailablePhoneNumbers: (
|
|
8
|
+
config: PinpointSMSVoiceV2PaginationConfiguration,
|
|
9
|
+
input: ListAvailablePhoneNumbersCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListAvailablePhoneNumbersCommandOutput>;
|
|
@@ -22,6 +22,7 @@ export * from "./DescribeRegistrationVersionsPaginator";
|
|
|
22
22
|
export * from "./DescribeSenderIdsPaginator";
|
|
23
23
|
export * from "./DescribeSpendLimitsPaginator";
|
|
24
24
|
export * from "./DescribeVerifiedDestinationNumbersPaginator";
|
|
25
|
+
export * from "./ListAvailablePhoneNumbersPaginator";
|
|
25
26
|
export * from "./ListNotifyCountriesPaginator";
|
|
26
27
|
export * from "./ListPoolOriginationIdentitiesPaginator";
|
|
27
28
|
export * from "./ListProtectConfigurationRuleSetNumberOverridesPaginator";
|
|
@@ -162,6 +162,8 @@ export declare var GetResourcePolicyResult$: StaticStructureSchema;
|
|
|
162
162
|
export declare var KeywordFilter$: StaticStructureSchema;
|
|
163
163
|
export declare var KeywordInformation$: StaticStructureSchema;
|
|
164
164
|
export declare var KinesisFirehoseDestination$: StaticStructureSchema;
|
|
165
|
+
export declare var ListAvailablePhoneNumbersRequest$: StaticStructureSchema;
|
|
166
|
+
export declare var ListAvailablePhoneNumbersResult$: StaticStructureSchema;
|
|
165
167
|
export declare var ListNotifyCountriesRequest$: StaticStructureSchema;
|
|
166
168
|
export declare var ListNotifyCountriesResult$: StaticStructureSchema;
|
|
167
169
|
export declare var ListPoolOriginationIdentitiesRequest$: StaticStructureSchema;
|
|
@@ -172,11 +174,13 @@ export declare var ListRegistrationAssociationsRequest$: StaticStructureSchema;
|
|
|
172
174
|
export declare var ListRegistrationAssociationsResult$: StaticStructureSchema;
|
|
173
175
|
export declare var ListTagsForResourceRequest$: StaticStructureSchema;
|
|
174
176
|
export declare var ListTagsForResourceResult$: StaticStructureSchema;
|
|
177
|
+
export declare var MessagingLimits$: StaticStructureSchema;
|
|
175
178
|
export declare var NotifyConfigurationFilter$: StaticStructureSchema;
|
|
176
179
|
export declare var NotifyConfigurationInformation$: StaticStructureSchema;
|
|
177
180
|
export declare var NotifyCountryInformation$: StaticStructureSchema;
|
|
178
181
|
export declare var NotifyTemplateFilter$: StaticStructureSchema;
|
|
179
182
|
export declare var NotifyTemplateInformation$: StaticStructureSchema;
|
|
183
|
+
export declare var NumberPreferenceItem$: StaticStructureSchema;
|
|
180
184
|
export declare var OptedOutFilter$: StaticStructureSchema;
|
|
181
185
|
export declare var OptedOutNumberInformation$: StaticStructureSchema;
|
|
182
186
|
export declare var OptOutListInformation$: StaticStructureSchema;
|
|
@@ -386,6 +390,7 @@ export declare var DisassociateProtectConfiguration$: StaticOperationSchema;
|
|
|
386
390
|
export declare var DiscardRegistrationVersion$: StaticOperationSchema;
|
|
387
391
|
export declare var GetProtectConfigurationCountryRuleSet$: StaticOperationSchema;
|
|
388
392
|
export declare var GetResourcePolicy$: StaticOperationSchema;
|
|
393
|
+
export declare var ListAvailablePhoneNumbers$: StaticOperationSchema;
|
|
389
394
|
export declare var ListNotifyCountries$: StaticOperationSchema;
|
|
390
395
|
export declare var ListPoolOriginationIdentities$: StaticOperationSchema;
|
|
391
396
|
export declare var ListProtectConfigurationRuleSetNumberOverrides$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-pinpoint-sms-voice-v2",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1129.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Pinpoint Sms Voice V2 Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-pinpoint-sms-voice-v2",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.978.0",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.83",
|
|
51
51
|
"@aws-sdk/types": "^3.974.5",
|
|
52
52
|
"@smithy/core": "^3.33.3",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.7.2",
|