@aws-sdk/client-pinpoint-sms-voice-v2 3.1148.0 → 3.1150.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/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1147.0";
72
+ var version = "3.1149.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -132,6 +132,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
132
132
  customEndpointFunctions.aws = awsEndpointFunctions;
133
133
 
134
134
  class PinpointSMSVoiceV2ServiceException extends ServiceException {
135
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.pinpointsmsvoicev2#PinpointSMSVoiceV2ServiceException";
135
136
  constructor(options) {
136
137
  super(options);
137
138
  Object.setPrototypeOf(this, PinpointSMSVoiceV2ServiceException.prototype);
@@ -139,6 +140,7 @@ class PinpointSMSVoiceV2ServiceException extends ServiceException {
139
140
  }
140
141
 
141
142
  class AccessDeniedException extends PinpointSMSVoiceV2ServiceException {
143
+ static shapeId = "com.amazonaws.pinpointsmsvoicev2#AccessDeniedException";
142
144
  name = "AccessDeniedException";
143
145
  $fault = "client";
144
146
  Message;
@@ -155,6 +157,7 @@ class AccessDeniedException extends PinpointSMSVoiceV2ServiceException {
155
157
  }
156
158
  }
157
159
  class ConflictException extends PinpointSMSVoiceV2ServiceException {
160
+ static shapeId = "com.amazonaws.pinpointsmsvoicev2#ConflictException";
158
161
  name = "ConflictException";
159
162
  $fault = "client";
160
163
  Message;
@@ -175,6 +178,7 @@ class ConflictException extends PinpointSMSVoiceV2ServiceException {
175
178
  }
176
179
  }
177
180
  class InternalServerException extends PinpointSMSVoiceV2ServiceException {
181
+ static shapeId = "com.amazonaws.pinpointsmsvoicev2#InternalServerException";
178
182
  name = "InternalServerException";
179
183
  $fault = "server";
180
184
  $retryable = {};
@@ -192,6 +196,7 @@ class InternalServerException extends PinpointSMSVoiceV2ServiceException {
192
196
  }
193
197
  }
194
198
  class ResourceNotFoundException extends PinpointSMSVoiceV2ServiceException {
199
+ static shapeId = "com.amazonaws.pinpointsmsvoicev2#ResourceNotFoundException";
195
200
  name = "ResourceNotFoundException";
196
201
  $fault = "client";
197
202
  Message;
@@ -210,6 +215,7 @@ class ResourceNotFoundException extends PinpointSMSVoiceV2ServiceException {
210
215
  }
211
216
  }
212
217
  class ServiceQuotaExceededException extends PinpointSMSVoiceV2ServiceException {
218
+ static shapeId = "com.amazonaws.pinpointsmsvoicev2#ServiceQuotaExceededException";
213
219
  name = "ServiceQuotaExceededException";
214
220
  $fault = "client";
215
221
  Message;
@@ -226,6 +232,7 @@ class ServiceQuotaExceededException extends PinpointSMSVoiceV2ServiceException {
226
232
  }
227
233
  }
228
234
  class ThrottlingException extends PinpointSMSVoiceV2ServiceException {
235
+ static shapeId = "com.amazonaws.pinpointsmsvoicev2#ThrottlingException";
229
236
  name = "ThrottlingException";
230
237
  $fault = "client";
231
238
  $retryable = {
@@ -243,6 +250,7 @@ class ThrottlingException extends PinpointSMSVoiceV2ServiceException {
243
250
  }
244
251
  }
245
252
  class ValidationException extends PinpointSMSVoiceV2ServiceException {
253
+ static shapeId = "com.amazonaws.pinpointsmsvoicev2#ValidationException";
246
254
  name = "ValidationException";
247
255
  $fault = "client";
248
256
  Message;
@@ -756,6 +764,7 @@ const _PRPR = "PutResourcePolicyRequest";
756
764
  const _PRPRu = "PutResourcePolicyResult";
757
765
  const _PS = "ProtectStatus";
758
766
  const _PT = "PreferenceType";
767
+ const _PTr = "PricingTier";
759
768
  const _Po = "Policy";
760
769
  const _Poo = "Pools";
761
770
  const _R = "Reason";
@@ -1970,8 +1979,8 @@ var PhoneNumberFilter$ = [3, n0, _PNF,
1970
1979
  ];
1971
1980
  var PhoneNumberInformation$ = [3, n0, _PNIh,
1972
1981
  0,
1973
- [_PNA, _PN, _S, _ICC, _MT, _NCum, _NTu, _MLP, _TWE, _SMOOE, _OOLN, _DPE, _CTr, _PNIho, _TWCA, _TWCR, _ISEn, _PI, _RIeg, _MLe],
1974
- [0, 0, 0, 0, 0, 64 | 0, 0, 0, 2, 2, 0, 2, 4, 0, 0, 0, 2, 0, 0, () => MessagingLimits$], 13
1982
+ [_PNA, _PN, _S, _ICC, _MT, _NCum, _NTu, _MLP, _TWE, _SMOOE, _OOLN, _DPE, _CTr, _PNIho, _TWCA, _TWCR, _ISEn, _PI, _RIeg, _MLe, _PTr],
1983
+ [0, 0, 0, 0, 0, 64 | 0, 0, 0, 2, 2, 0, 2, 4, 0, 0, 0, 2, 0, 0, () => MessagingLimits$, 0], 13
1975
1984
  ];
1976
1985
  var PoolFilter$ = [3, n0, _PF,
1977
1986
  0,
@@ -2325,8 +2334,8 @@ var SenderIdFilter$ = [3, n0, _SIF,
2325
2334
  ];
2326
2335
  var SenderIdInformation$ = [3, n0, _SII,
2327
2336
  0,
2328
- [_SIA, _SI, _ICC, _MTe, _MLP, _DPE, _Reg, _RIeg, _MLe],
2329
- [0, 0, 0, 64 | 0, 0, 2, 2, 0, () => MessagingLimits$], 7
2337
+ [_SIA, _SI, _ICC, _MTe, _MLP, _DPE, _Reg, _RIeg, _MLe, _PTr],
2338
+ [0, 0, 0, 64 | 0, 0, 2, 2, 0, () => MessagingLimits$, 0], 7
2330
2339
  ];
2331
2340
  var SendMediaMessageRequest$ = [3, n0, _SMMR,
2332
2341
  0,
@@ -1,6 +1,7 @@
1
1
  import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class PinpointSMSVoiceV2ServiceException extends __ServiceException {
4
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.pinpointsmsvoicev2#PinpointSMSVoiceV2ServiceException";
4
5
  constructor(options) {
5
6
  super(options);
6
7
  Object.setPrototypeOf(this, PinpointSMSVoiceV2ServiceException.prototype);
@@ -1,5 +1,6 @@
1
1
  import { PinpointSMSVoiceV2ServiceException as __BaseException } from "./PinpointSMSVoiceV2ServiceException";
2
2
  export class AccessDeniedException extends __BaseException {
3
+ static shapeId = "com.amazonaws.pinpointsmsvoicev2#AccessDeniedException";
3
4
  name = "AccessDeniedException";
4
5
  $fault = "client";
5
6
  Message;
@@ -16,6 +17,7 @@ export class AccessDeniedException extends __BaseException {
16
17
  }
17
18
  }
18
19
  export class ConflictException extends __BaseException {
20
+ static shapeId = "com.amazonaws.pinpointsmsvoicev2#ConflictException";
19
21
  name = "ConflictException";
20
22
  $fault = "client";
21
23
  Message;
@@ -36,6 +38,7 @@ export class ConflictException extends __BaseException {
36
38
  }
37
39
  }
38
40
  export class InternalServerException extends __BaseException {
41
+ static shapeId = "com.amazonaws.pinpointsmsvoicev2#InternalServerException";
39
42
  name = "InternalServerException";
40
43
  $fault = "server";
41
44
  $retryable = {};
@@ -53,6 +56,7 @@ export class InternalServerException extends __BaseException {
53
56
  }
54
57
  }
55
58
  export class ResourceNotFoundException extends __BaseException {
59
+ static shapeId = "com.amazonaws.pinpointsmsvoicev2#ResourceNotFoundException";
56
60
  name = "ResourceNotFoundException";
57
61
  $fault = "client";
58
62
  Message;
@@ -71,6 +75,7 @@ export class ResourceNotFoundException extends __BaseException {
71
75
  }
72
76
  }
73
77
  export class ServiceQuotaExceededException extends __BaseException {
78
+ static shapeId = "com.amazonaws.pinpointsmsvoicev2#ServiceQuotaExceededException";
74
79
  name = "ServiceQuotaExceededException";
75
80
  $fault = "client";
76
81
  Message;
@@ -87,6 +92,7 @@ export class ServiceQuotaExceededException extends __BaseException {
87
92
  }
88
93
  }
89
94
  export class ThrottlingException extends __BaseException {
95
+ static shapeId = "com.amazonaws.pinpointsmsvoicev2#ThrottlingException";
90
96
  name = "ThrottlingException";
91
97
  $fault = "client";
92
98
  $retryable = {
@@ -104,6 +110,7 @@ export class ThrottlingException extends __BaseException {
104
110
  }
105
111
  }
106
112
  export class ValidationException extends __BaseException {
113
+ static shapeId = "com.amazonaws.pinpointsmsvoicev2#ValidationException";
107
114
  name = "ValidationException";
108
115
  $fault = "client";
109
116
  Message;
@@ -493,6 +493,7 @@ const _PRPR = "PutResourcePolicyRequest";
493
493
  const _PRPRu = "PutResourcePolicyResult";
494
494
  const _PS = "ProtectStatus";
495
495
  const _PT = "PreferenceType";
496
+ const _PTr = "PricingTier";
496
497
  const _Po = "Policy";
497
498
  const _Poo = "Pools";
498
499
  const _R = "Reason";
@@ -1710,8 +1711,8 @@ export var PhoneNumberFilter$ = [3, n0, _PNF,
1710
1711
  ];
1711
1712
  export var PhoneNumberInformation$ = [3, n0, _PNIh,
1712
1713
  0,
1713
- [_PNA, _PN, _S, _ICC, _MT, _NCum, _NTu, _MLP, _TWE, _SMOOE, _OOLN, _DPE, _CTr, _PNIho, _TWCA, _TWCR, _ISEn, _PI, _RIeg, _MLe],
1714
- [0, 0, 0, 0, 0, 64 | 0, 0, 0, 2, 2, 0, 2, 4, 0, 0, 0, 2, 0, 0, () => MessagingLimits$], 13
1714
+ [_PNA, _PN, _S, _ICC, _MT, _NCum, _NTu, _MLP, _TWE, _SMOOE, _OOLN, _DPE, _CTr, _PNIho, _TWCA, _TWCR, _ISEn, _PI, _RIeg, _MLe, _PTr],
1715
+ [0, 0, 0, 0, 0, 64 | 0, 0, 0, 2, 2, 0, 2, 4, 0, 0, 0, 2, 0, 0, () => MessagingLimits$, 0], 13
1715
1716
  ];
1716
1717
  export var PoolFilter$ = [3, n0, _PF,
1717
1718
  0,
@@ -2065,8 +2066,8 @@ export var SenderIdFilter$ = [3, n0, _SIF,
2065
2066
  ];
2066
2067
  export var SenderIdInformation$ = [3, n0, _SII,
2067
2068
  0,
2068
- [_SIA, _SI, _ICC, _MTe, _MLP, _DPE, _Reg, _RIeg, _MLe],
2069
- [0, 0, 0, 64 | 0, 0, 2, 2, 0, () => MessagingLimits$], 7
2069
+ [_SIA, _SI, _ICC, _MTe, _MLP, _DPE, _Reg, _RIeg, _MLe, _PTr],
2070
+ [0, 0, 0, 64 | 0, 0, 2, 2, 0, () => MessagingLimits$, 0], 7
2070
2071
  ];
2071
2072
  export var SendMediaMessageRequest$ = [3, n0, _SMMR,
2072
2073
  0,
@@ -82,6 +82,7 @@ declare const DescribePhoneNumbersCommand_base: {
82
82
  * // "<keys>": Number("long"),
83
83
  * // },
84
84
  * // },
85
+ * // PricingTier: "STRING_VALUE",
85
86
  * // CreatedTimestamp: new Date("TIMESTAMP"), // required
86
87
  * // },
87
88
  * // ],
@@ -75,6 +75,7 @@ declare const DescribeSenderIdsCommand_base: {
75
75
  * // "<keys>": Number("long"),
76
76
  * // },
77
77
  * // },
78
+ * // PricingTier: "STRING_VALUE",
78
79
  * // },
79
80
  * // ],
80
81
  * // NextToken: "STRING_VALUE",
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from PinpointSMSVoiceV2 service.
8
8
  */
9
9
  export declare class PinpointSMSVoiceV2ServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
10
11
  /**
11
12
  * @internal
12
13
  */
@@ -7,6 +7,7 @@ import { PinpointSMSVoiceV2ServiceException as __BaseException } from "./Pinpoin
7
7
  * @public
8
8
  */
9
9
  export declare class AccessDeniedException extends __BaseException {
10
+ static readonly shapeId: string;
10
11
  readonly name: "AccessDeniedException";
11
12
  readonly $fault: "client";
12
13
  Message?: string | undefined;
@@ -25,6 +26,7 @@ export declare class AccessDeniedException extends __BaseException {
25
26
  * @public
26
27
  */
27
28
  export declare class ConflictException extends __BaseException {
29
+ static readonly shapeId: string;
28
30
  readonly name: "ConflictException";
29
31
  readonly $fault: "client";
30
32
  Message?: string | undefined;
@@ -53,6 +55,7 @@ export declare class ConflictException extends __BaseException {
53
55
  * @public
54
56
  */
55
57
  export declare class InternalServerException extends __BaseException {
58
+ static readonly shapeId: string;
56
59
  readonly name: "InternalServerException";
57
60
  readonly $fault: "server";
58
61
  $retryable: {};
@@ -72,6 +75,7 @@ export declare class InternalServerException extends __BaseException {
72
75
  * @public
73
76
  */
74
77
  export declare class ResourceNotFoundException extends __BaseException {
78
+ static readonly shapeId: string;
75
79
  readonly name: "ResourceNotFoundException";
76
80
  readonly $fault: "client";
77
81
  Message?: string | undefined;
@@ -95,6 +99,7 @@ export declare class ResourceNotFoundException extends __BaseException {
95
99
  * @public
96
100
  */
97
101
  export declare class ServiceQuotaExceededException extends __BaseException {
102
+ static readonly shapeId: string;
98
103
  readonly name: "ServiceQuotaExceededException";
99
104
  readonly $fault: "client";
100
105
  Message?: string | undefined;
@@ -113,6 +118,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
113
118
  * @public
114
119
  */
115
120
  export declare class ThrottlingException extends __BaseException {
121
+ static readonly shapeId: string;
116
122
  readonly name: "ThrottlingException";
117
123
  readonly $fault: "client";
118
124
  $retryable: {
@@ -129,6 +135,7 @@ export declare class ThrottlingException extends __BaseException {
129
135
  * @public
130
136
  */
131
137
  export declare class ValidationException extends __BaseException {
138
+ static readonly shapeId: string;
132
139
  readonly name: "ValidationException";
133
140
  readonly $fault: "client";
134
141
  Message?: string | undefined;
@@ -3119,6 +3119,11 @@ export interface PhoneNumberInformation {
3119
3119
  * @public
3120
3120
  */
3121
3121
  MessagingLimits?: MessagingLimits | undefined;
3122
+ /**
3123
+ * <p>The pricing model.</p>
3124
+ * @public
3125
+ */
3126
+ PricingTier?: string | undefined;
3122
3127
  /**
3123
3128
  * <p>The time when the phone number was created, in <a href="https://www.epochconverter.com/">UNIX epoch time</a> format.</p>
3124
3129
  * @public
@@ -4558,6 +4563,11 @@ export interface SenderIdInformation {
4558
4563
  * @public
4559
4564
  */
4560
4565
  MessagingLimits?: MessagingLimits | undefined;
4566
+ /**
4567
+ * <p>The pricing model.</p>
4568
+ * @public
4569
+ */
4570
+ PricingTier?: string | undefined;
4561
4571
  }
4562
4572
  /**
4563
4573
  * @public
@@ -5,5 +5,6 @@ import {
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class PinpointSMSVoiceV2ServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
8
9
  constructor(options: __ServiceExceptionOptions);
9
10
  }
@@ -9,6 +9,7 @@ import {
9
9
  import { ValidationExceptionField } from "./models_0";
10
10
  import { PinpointSMSVoiceV2ServiceException as __BaseException } from "./PinpointSMSVoiceV2ServiceException";
11
11
  export declare class AccessDeniedException extends __BaseException {
12
+ static readonly shapeId: string;
12
13
  readonly name: "AccessDeniedException";
13
14
  readonly $fault: "client";
14
15
  Message?: string | undefined;
@@ -16,6 +17,7 @@ export declare class AccessDeniedException extends __BaseException {
16
17
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
17
18
  }
18
19
  export declare class ConflictException extends __BaseException {
20
+ static readonly shapeId: string;
19
21
  readonly name: "ConflictException";
20
22
  readonly $fault: "client";
21
23
  Message?: string | undefined;
@@ -25,6 +27,7 @@ export declare class ConflictException extends __BaseException {
25
27
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
26
28
  }
27
29
  export declare class InternalServerException extends __BaseException {
30
+ static readonly shapeId: string;
28
31
  readonly name: "InternalServerException";
29
32
  readonly $fault: "server";
30
33
  $retryable: {};
@@ -33,6 +36,7 @@ export declare class InternalServerException extends __BaseException {
33
36
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
34
37
  }
35
38
  export declare class ResourceNotFoundException extends __BaseException {
39
+ static readonly shapeId: string;
36
40
  readonly name: "ResourceNotFoundException";
37
41
  readonly $fault: "client";
38
42
  Message?: string | undefined;
@@ -41,6 +45,7 @@ export declare class ResourceNotFoundException extends __BaseException {
41
45
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
42
46
  }
43
47
  export declare class ServiceQuotaExceededException extends __BaseException {
48
+ static readonly shapeId: string;
44
49
  readonly name: "ServiceQuotaExceededException";
45
50
  readonly $fault: "client";
46
51
  Message?: string | undefined;
@@ -48,6 +53,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
48
53
  constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
49
54
  }
50
55
  export declare class ThrottlingException extends __BaseException {
56
+ static readonly shapeId: string;
51
57
  readonly name: "ThrottlingException";
52
58
  readonly $fault: "client";
53
59
  $retryable: {
@@ -57,6 +63,7 @@ export declare class ThrottlingException extends __BaseException {
57
63
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
58
64
  }
59
65
  export declare class ValidationException extends __BaseException {
66
+ static readonly shapeId: string;
60
67
  readonly name: "ValidationException";
61
68
  readonly $fault: "client";
62
69
  Message?: string | undefined;
@@ -799,6 +799,7 @@ export interface PhoneNumberInformation {
799
799
  PoolId?: string | undefined;
800
800
  RegistrationId?: string | undefined;
801
801
  MessagingLimits?: MessagingLimits | undefined;
802
+ PricingTier?: string | undefined;
802
803
  CreatedTimestamp: Date | undefined;
803
804
  }
804
805
  export interface DescribePhoneNumbersResult {
@@ -1134,6 +1135,7 @@ export interface SenderIdInformation {
1134
1135
  Registered: boolean | undefined;
1135
1136
  RegistrationId?: string | undefined;
1136
1137
  MessagingLimits?: MessagingLimits | undefined;
1138
+ PricingTier?: string | undefined;
1137
1139
  }
1138
1140
  export interface DescribeSenderIdsResult {
1139
1141
  SenderIds?: SenderIdInformation[] | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-pinpoint-sms-voice-v2",
3
- "version": "3.1148.0",
3
+ "version": "3.1150.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,10 +46,10 @@
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.978.1",
50
- "@aws-sdk/credential-provider-node": "^3.972.84",
49
+ "@aws-sdk/core": "^3.978.3",
50
+ "@aws-sdk/credential-provider-node": "^3.972.86",
51
51
  "@aws-sdk/types": "^3.974.6",
52
- "@smithy/core": "^3.35.0",
52
+ "@smithy/core": "^3.35.2",
53
53
  "@smithy/fetch-http-handler": "^5.8.0",
54
54
  "@smithy/node-http-handler": "^4.12.1",
55
55
  "@smithy/types": "^4.19.0",