@aws-sdk/client-pinpoint-sms-voice 3.957.0 → 3.958.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 +1 -13
- package/dist-cjs/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-cjs/index.js +156 -158
- package/dist-cjs/runtimeConfig.browser.js +1 -2
- package/dist-cjs/runtimeConfig.js +2 -4
- package/dist-es/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +4 -6
- package/dist-es/schemas/schemas_0.js +156 -158
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -9,10 +9,8 @@ AWS SDK for JavaScript PinpointSMSVoice Client for Node.js, Browser and React Na
|
|
|
9
9
|
Pinpoint SMS and Voice Messaging public facing APIs
|
|
10
10
|
|
|
11
11
|
## Installing
|
|
12
|
-
|
|
13
12
|
To install this package, simply type add or install @aws-sdk/client-pinpoint-sms-voice
|
|
14
13
|
using your favorite package manager:
|
|
15
|
-
|
|
16
14
|
- `npm install @aws-sdk/client-pinpoint-sms-voice`
|
|
17
15
|
- `yarn add @aws-sdk/client-pinpoint-sms-voice`
|
|
18
16
|
- `pnpm add @aws-sdk/client-pinpoint-sms-voice`
|
|
@@ -48,9 +46,7 @@ To send a request, you:
|
|
|
48
46
|
// a client can be shared by different commands.
|
|
49
47
|
const client = new PinpointSMSVoiceClient({ region: "REGION" });
|
|
50
48
|
|
|
51
|
-
const params = {
|
|
52
|
-
/** input parameters */
|
|
53
|
-
};
|
|
49
|
+
const params = { /** input parameters */ };
|
|
54
50
|
const command = new ListConfigurationSetsCommand(params);
|
|
55
51
|
```
|
|
56
52
|
|
|
@@ -209,7 +205,6 @@ CreateConfigurationSet
|
|
|
209
205
|
</summary>
|
|
210
206
|
|
|
211
207
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice/command/CreateConfigurationSetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice/Interface/CreateConfigurationSetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice/Interface/CreateConfigurationSetCommandOutput/)
|
|
212
|
-
|
|
213
208
|
</details>
|
|
214
209
|
<details>
|
|
215
210
|
<summary>
|
|
@@ -217,7 +212,6 @@ CreateConfigurationSetEventDestination
|
|
|
217
212
|
</summary>
|
|
218
213
|
|
|
219
214
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice/command/CreateConfigurationSetEventDestinationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice/Interface/CreateConfigurationSetEventDestinationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice/Interface/CreateConfigurationSetEventDestinationCommandOutput/)
|
|
220
|
-
|
|
221
215
|
</details>
|
|
222
216
|
<details>
|
|
223
217
|
<summary>
|
|
@@ -225,7 +219,6 @@ DeleteConfigurationSet
|
|
|
225
219
|
</summary>
|
|
226
220
|
|
|
227
221
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice/command/DeleteConfigurationSetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice/Interface/DeleteConfigurationSetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice/Interface/DeleteConfigurationSetCommandOutput/)
|
|
228
|
-
|
|
229
222
|
</details>
|
|
230
223
|
<details>
|
|
231
224
|
<summary>
|
|
@@ -233,7 +226,6 @@ DeleteConfigurationSetEventDestination
|
|
|
233
226
|
</summary>
|
|
234
227
|
|
|
235
228
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice/command/DeleteConfigurationSetEventDestinationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice/Interface/DeleteConfigurationSetEventDestinationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice/Interface/DeleteConfigurationSetEventDestinationCommandOutput/)
|
|
236
|
-
|
|
237
229
|
</details>
|
|
238
230
|
<details>
|
|
239
231
|
<summary>
|
|
@@ -241,7 +233,6 @@ GetConfigurationSetEventDestinations
|
|
|
241
233
|
</summary>
|
|
242
234
|
|
|
243
235
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice/command/GetConfigurationSetEventDestinationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice/Interface/GetConfigurationSetEventDestinationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice/Interface/GetConfigurationSetEventDestinationsCommandOutput/)
|
|
244
|
-
|
|
245
236
|
</details>
|
|
246
237
|
<details>
|
|
247
238
|
<summary>
|
|
@@ -249,7 +240,6 @@ ListConfigurationSets
|
|
|
249
240
|
</summary>
|
|
250
241
|
|
|
251
242
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice/command/ListConfigurationSetsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice/Interface/ListConfigurationSetsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice/Interface/ListConfigurationSetsCommandOutput/)
|
|
252
|
-
|
|
253
243
|
</details>
|
|
254
244
|
<details>
|
|
255
245
|
<summary>
|
|
@@ -257,7 +247,6 @@ SendVoiceMessage
|
|
|
257
247
|
</summary>
|
|
258
248
|
|
|
259
249
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice/command/SendVoiceMessageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice/Interface/SendVoiceMessageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice/Interface/SendVoiceMessageCommandOutput/)
|
|
260
|
-
|
|
261
250
|
</details>
|
|
262
251
|
<details>
|
|
263
252
|
<summary>
|
|
@@ -265,5 +254,4 @@ UpdateConfigurationSetEventDestination
|
|
|
265
254
|
</summary>
|
|
266
255
|
|
|
267
256
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pinpoint-sms-voice/command/UpdateConfigurationSetEventDestinationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice/Interface/UpdateConfigurationSetEventDestinationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pinpoint-sms-voice/Interface/UpdateConfigurationSetEventDestinationCommandOutput/)
|
|
268
|
-
|
|
269
257
|
</details>
|
|
@@ -6,10 +6,9 @@ const util_middleware_1 = require("@smithy/util-middleware");
|
|
|
6
6
|
const defaultPinpointSMSVoiceHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
8
8
|
operation: (0, util_middleware_1.getSmithyContext)(context).operation,
|
|
9
|
-
region:
|
|
10
|
-
(
|
|
11
|
-
|
|
12
|
-
})(),
|
|
9
|
+
region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {
|
|
10
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
|
+
})(),
|
|
13
12
|
};
|
|
14
13
|
};
|
|
15
14
|
exports.defaultPinpointSMSVoiceHttpAuthSchemeParametersProvider = defaultPinpointSMSVoiceHttpAuthSchemeParametersProvider;
|
package/dist-cjs/index.js
CHANGED
|
@@ -274,197 +274,195 @@ const _hQ = "httpQuery";
|
|
|
274
274
|
const _s = "server";
|
|
275
275
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.pinpointsmsvoice";
|
|
276
276
|
const n0 = "com.amazonaws.pinpointsmsvoice";
|
|
277
|
-
var AlreadyExistsException$ = [-3, n0, _AEE,
|
|
277
|
+
var AlreadyExistsException$ = [-3, n0, _AEE,
|
|
278
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
279
|
+
[_M],
|
|
280
|
+
[0]
|
|
281
|
+
];
|
|
278
282
|
schema.TypeRegistry.for(n0).registerError(AlreadyExistsException$, AlreadyExistsException);
|
|
279
|
-
var BadRequestException$ = [-3, n0, _BRE,
|
|
283
|
+
var BadRequestException$ = [-3, n0, _BRE,
|
|
284
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
285
|
+
[_M],
|
|
286
|
+
[0]
|
|
287
|
+
];
|
|
280
288
|
schema.TypeRegistry.for(n0).registerError(BadRequestException$, BadRequestException);
|
|
281
|
-
var CallInstructionsMessageType$ = [3, n0, _CIMT,
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
289
|
+
var CallInstructionsMessageType$ = [3, n0, _CIMT,
|
|
290
|
+
0,
|
|
291
|
+
[_T],
|
|
292
|
+
[0]
|
|
293
|
+
];
|
|
294
|
+
var CloudWatchLogsDestination$ = [3, n0, _CWLD,
|
|
295
|
+
0,
|
|
296
|
+
[_IRA, _LGA],
|
|
297
|
+
[0, 0]
|
|
298
|
+
];
|
|
299
|
+
var CreateConfigurationSetEventDestinationRequest$ = [3, n0, _CCSEDR,
|
|
287
300
|
0,
|
|
288
301
|
[_CSN, _ED, _EDN],
|
|
289
|
-
[[0, 1], () => EventDestinationDefinition$, 0]
|
|
290
|
-
];
|
|
291
|
-
var CreateConfigurationSetEventDestinationResponse$ = [3, n0, _CCSEDRr,
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
302
|
+
[[0, 1], () => EventDestinationDefinition$, 0]
|
|
303
|
+
];
|
|
304
|
+
var CreateConfigurationSetEventDestinationResponse$ = [3, n0, _CCSEDRr,
|
|
305
|
+
0,
|
|
306
|
+
[],
|
|
307
|
+
[]
|
|
308
|
+
];
|
|
309
|
+
var CreateConfigurationSetRequest$ = [3, n0, _CCSR,
|
|
310
|
+
0,
|
|
311
|
+
[_CSN],
|
|
312
|
+
[0]
|
|
313
|
+
];
|
|
314
|
+
var CreateConfigurationSetResponse$ = [3, n0, _CCSRr,
|
|
315
|
+
0,
|
|
316
|
+
[],
|
|
317
|
+
[]
|
|
318
|
+
];
|
|
319
|
+
var DeleteConfigurationSetEventDestinationRequest$ = [3, n0, _DCSEDR,
|
|
298
320
|
0,
|
|
299
321
|
[_CSN, _EDN],
|
|
300
|
-
[
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
]
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
var
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
322
|
+
[[0, 1], [0, 1]]
|
|
323
|
+
];
|
|
324
|
+
var DeleteConfigurationSetEventDestinationResponse$ = [3, n0, _DCSEDRe,
|
|
325
|
+
0,
|
|
326
|
+
[],
|
|
327
|
+
[]
|
|
328
|
+
];
|
|
329
|
+
var DeleteConfigurationSetRequest$ = [3, n0, _DCSR,
|
|
330
|
+
0,
|
|
331
|
+
[_CSN],
|
|
332
|
+
[[0, 1]]
|
|
333
|
+
];
|
|
334
|
+
var DeleteConfigurationSetResponse$ = [3, n0, _DCSRe,
|
|
335
|
+
0,
|
|
336
|
+
[],
|
|
337
|
+
[]
|
|
338
|
+
];
|
|
339
|
+
var EventDestination$ = [3, n0, _ED,
|
|
312
340
|
0,
|
|
313
341
|
[_CWLD, _E, _KFD, _MET, _N, _SD],
|
|
314
|
-
[() => CloudWatchLogsDestination$, 2, () => KinesisFirehoseDestination$, 64 | 0, 0, () => SnsDestination$]
|
|
342
|
+
[() => CloudWatchLogsDestination$, 2, () => KinesisFirehoseDestination$, 64 | 0, 0, () => SnsDestination$]
|
|
315
343
|
];
|
|
316
|
-
var EventDestinationDefinition$ = [
|
|
317
|
-
3,
|
|
318
|
-
n0,
|
|
319
|
-
_EDD,
|
|
344
|
+
var EventDestinationDefinition$ = [3, n0, _EDD,
|
|
320
345
|
0,
|
|
321
346
|
[_CWLD, _E, _KFD, _MET, _SD],
|
|
322
|
-
[() => CloudWatchLogsDestination$, 2, () => KinesisFirehoseDestination$, 64 | 0, () => SnsDestination$]
|
|
347
|
+
[() => CloudWatchLogsDestination$, 2, () => KinesisFirehoseDestination$, 64 | 0, () => SnsDestination$]
|
|
323
348
|
];
|
|
324
|
-
var GetConfigurationSetEventDestinationsRequest$ = [3, n0, _GCSEDR,
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
349
|
+
var GetConfigurationSetEventDestinationsRequest$ = [3, n0, _GCSEDR,
|
|
350
|
+
0,
|
|
351
|
+
[_CSN],
|
|
352
|
+
[[0, 1]]
|
|
353
|
+
];
|
|
354
|
+
var GetConfigurationSetEventDestinationsResponse$ = [3, n0, _GCSEDRe,
|
|
329
355
|
0,
|
|
330
356
|
[_EDv],
|
|
331
|
-
[() => EventDestinations]
|
|
357
|
+
[() => EventDestinations]
|
|
358
|
+
];
|
|
359
|
+
var InternalServiceErrorException$ = [-3, n0, _ISEE,
|
|
360
|
+
{ [_e]: _s, [_hE]: 500 },
|
|
361
|
+
[_M],
|
|
362
|
+
[0]
|
|
332
363
|
];
|
|
333
|
-
var InternalServiceErrorException$ = [-3, n0, _ISEE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
|
|
334
364
|
schema.TypeRegistry.for(n0).registerError(InternalServiceErrorException$, InternalServiceErrorException);
|
|
335
|
-
var KinesisFirehoseDestination$ = [3, n0, _KFD,
|
|
336
|
-
|
|
365
|
+
var KinesisFirehoseDestination$ = [3, n0, _KFD,
|
|
366
|
+
0,
|
|
367
|
+
[_DSA, _IRA],
|
|
368
|
+
[0, 0]
|
|
369
|
+
];
|
|
370
|
+
var LimitExceededException$ = [-3, n0, _LEE,
|
|
371
|
+
{ [_e]: _c, [_hE]: 412 },
|
|
372
|
+
[_M],
|
|
373
|
+
[0]
|
|
374
|
+
];
|
|
337
375
|
schema.TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
|
|
338
|
-
var ListConfigurationSetsRequest$ = [
|
|
339
|
-
3,
|
|
340
|
-
n0,
|
|
341
|
-
_LCSR,
|
|
376
|
+
var ListConfigurationSetsRequest$ = [3, n0, _LCSR,
|
|
342
377
|
0,
|
|
343
378
|
[_NT, _PS],
|
|
344
|
-
[
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
379
|
+
[[0, { [_hQ]: _NT }], [0, { [_hQ]: _PS }]]
|
|
380
|
+
];
|
|
381
|
+
var ListConfigurationSetsResponse$ = [3, n0, _LCSRi,
|
|
382
|
+
0,
|
|
383
|
+
[_CS, _NT],
|
|
384
|
+
[64 | 0, 0]
|
|
385
|
+
];
|
|
386
|
+
var NotFoundException$ = [-3, n0, _NFE,
|
|
387
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
388
|
+
[_M],
|
|
389
|
+
[0]
|
|
348
390
|
];
|
|
349
|
-
var ListConfigurationSetsResponse$ = [3, n0, _LCSRi, 0, [_CS, _NT], [64 | 0, 0]];
|
|
350
|
-
var NotFoundException$ = [-3, n0, _NFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
|
|
351
391
|
schema.TypeRegistry.for(n0).registerError(NotFoundException$, NotFoundException);
|
|
352
|
-
var PlainTextMessageType$ = [3, n0, _PTMT,
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
392
|
+
var PlainTextMessageType$ = [3, n0, _PTMT,
|
|
393
|
+
0,
|
|
394
|
+
[_LC, _T, _VI],
|
|
395
|
+
[0, 0, 0]
|
|
396
|
+
];
|
|
397
|
+
var SendVoiceMessageRequest$ = [3, n0, _SVMR,
|
|
357
398
|
0,
|
|
358
399
|
[_CI, _CSN, _C, _DPN, _OPN],
|
|
359
|
-
[0, 0, () => VoiceMessageContent$, 0, 0]
|
|
400
|
+
[0, 0, () => VoiceMessageContent$, 0, 0]
|
|
401
|
+
];
|
|
402
|
+
var SendVoiceMessageResponse$ = [3, n0, _SVMRe,
|
|
403
|
+
0,
|
|
404
|
+
[_MI],
|
|
405
|
+
[0]
|
|
406
|
+
];
|
|
407
|
+
var SnsDestination$ = [3, n0, _SD,
|
|
408
|
+
0,
|
|
409
|
+
[_TA],
|
|
410
|
+
[0]
|
|
411
|
+
];
|
|
412
|
+
var SSMLMessageType$ = [3, n0, _SSMLMT,
|
|
413
|
+
0,
|
|
414
|
+
[_LC, _T, _VI],
|
|
415
|
+
[0, 0, 0]
|
|
416
|
+
];
|
|
417
|
+
var TooManyRequestsException$ = [-3, n0, _TMRE,
|
|
418
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
419
|
+
[_M],
|
|
420
|
+
[0]
|
|
360
421
|
];
|
|
361
|
-
var SendVoiceMessageResponse$ = [3, n0, _SVMRe, 0, [_MI], [0]];
|
|
362
|
-
var SnsDestination$ = [3, n0, _SD, 0, [_TA], [0]];
|
|
363
|
-
var SSMLMessageType$ = [3, n0, _SSMLMT, 0, [_LC, _T, _VI], [0, 0, 0]];
|
|
364
|
-
var TooManyRequestsException$ = [-3, n0, _TMRE, { [_e]: _c, [_hE]: 429 }, [_M], [0]];
|
|
365
422
|
schema.TypeRegistry.for(n0).registerError(TooManyRequestsException$, TooManyRequestsException);
|
|
366
|
-
var UpdateConfigurationSetEventDestinationRequest$ = [
|
|
367
|
-
3,
|
|
368
|
-
n0,
|
|
369
|
-
_UCSEDR,
|
|
423
|
+
var UpdateConfigurationSetEventDestinationRequest$ = [3, n0, _UCSEDR,
|
|
370
424
|
0,
|
|
371
425
|
[_CSN, _ED, _EDN],
|
|
372
|
-
[[0, 1], () => EventDestinationDefinition$, [0, 1]]
|
|
426
|
+
[[0, 1], () => EventDestinationDefinition$, [0, 1]]
|
|
373
427
|
];
|
|
374
|
-
var UpdateConfigurationSetEventDestinationResponse$ = [3, n0, _UCSEDRp,
|
|
375
|
-
var VoiceMessageContent$ = [
|
|
376
|
-
3,
|
|
377
|
-
n0,
|
|
378
|
-
_VMC,
|
|
428
|
+
var UpdateConfigurationSetEventDestinationResponse$ = [3, n0, _UCSEDRp,
|
|
379
429
|
0,
|
|
380
|
-
[
|
|
381
|
-
[
|
|
430
|
+
[],
|
|
431
|
+
[]
|
|
382
432
|
];
|
|
383
|
-
var
|
|
384
|
-
-3,
|
|
385
|
-
_sm,
|
|
386
|
-
"PinpointSMSVoiceServiceException",
|
|
433
|
+
var VoiceMessageContent$ = [3, n0, _VMC,
|
|
387
434
|
0,
|
|
388
|
-
[],
|
|
389
|
-
[]
|
|
435
|
+
[_CIM, _PTM, _SSMLM],
|
|
436
|
+
[() => CallInstructionsMessageType$, () => PlainTextMessageType$, () => SSMLMessageType$]
|
|
390
437
|
];
|
|
438
|
+
var PinpointSMSVoiceServiceException$ = [-3, _sm, "PinpointSMSVoiceServiceException", 0, [], []];
|
|
391
439
|
schema.TypeRegistry.for(_sm).registerError(PinpointSMSVoiceServiceException$, PinpointSMSVoiceServiceException);
|
|
392
|
-
var EventDestinations = [1, n0, _EDv,
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
() =>
|
|
400
|
-
];
|
|
401
|
-
var
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
{ [_h]: ["
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
]
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
() =>
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
9,
|
|
419
|
-
n0,
|
|
420
|
-
_DCSED,
|
|
421
|
-
{
|
|
422
|
-
[_h]: [
|
|
423
|
-
"DELETE",
|
|
424
|
-
"/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}",
|
|
425
|
-
200,
|
|
426
|
-
],
|
|
427
|
-
},
|
|
428
|
-
() => DeleteConfigurationSetEventDestinationRequest$,
|
|
429
|
-
() => DeleteConfigurationSetEventDestinationResponse$,
|
|
430
|
-
];
|
|
431
|
-
var GetConfigurationSetEventDestinations$ = [
|
|
432
|
-
9,
|
|
433
|
-
n0,
|
|
434
|
-
_GCSED,
|
|
435
|
-
{ [_h]: ["GET", "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations", 200] },
|
|
436
|
-
() => GetConfigurationSetEventDestinationsRequest$,
|
|
437
|
-
() => GetConfigurationSetEventDestinationsResponse$,
|
|
438
|
-
];
|
|
439
|
-
var ListConfigurationSets$ = [
|
|
440
|
-
9,
|
|
441
|
-
n0,
|
|
442
|
-
_LCS,
|
|
443
|
-
{ [_h]: ["GET", "/v1/sms-voice/configuration-sets", 200] },
|
|
444
|
-
() => ListConfigurationSetsRequest$,
|
|
445
|
-
() => ListConfigurationSetsResponse$,
|
|
446
|
-
];
|
|
447
|
-
var SendVoiceMessage$ = [
|
|
448
|
-
9,
|
|
449
|
-
n0,
|
|
450
|
-
_SVM,
|
|
451
|
-
{ [_h]: ["POST", "/v1/sms-voice/voice/message", 200] },
|
|
452
|
-
() => SendVoiceMessageRequest$,
|
|
453
|
-
() => SendVoiceMessageResponse$,
|
|
454
|
-
];
|
|
455
|
-
var UpdateConfigurationSetEventDestination$ = [
|
|
456
|
-
9,
|
|
457
|
-
n0,
|
|
458
|
-
_UCSED,
|
|
459
|
-
{
|
|
460
|
-
[_h]: [
|
|
461
|
-
"PUT",
|
|
462
|
-
"/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}",
|
|
463
|
-
200,
|
|
464
|
-
],
|
|
465
|
-
},
|
|
466
|
-
() => UpdateConfigurationSetEventDestinationRequest$,
|
|
467
|
-
() => UpdateConfigurationSetEventDestinationResponse$,
|
|
440
|
+
var EventDestinations = [1, n0, _EDv,
|
|
441
|
+
0, () => EventDestination$
|
|
442
|
+
];
|
|
443
|
+
var CreateConfigurationSet$ = [9, n0, _CCS,
|
|
444
|
+
{ [_h]: ["POST", "/v1/sms-voice/configuration-sets", 200] }, () => CreateConfigurationSetRequest$, () => CreateConfigurationSetResponse$
|
|
445
|
+
];
|
|
446
|
+
var CreateConfigurationSetEventDestination$ = [9, n0, _CCSED,
|
|
447
|
+
{ [_h]: ["POST", "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations", 200] }, () => CreateConfigurationSetEventDestinationRequest$, () => CreateConfigurationSetEventDestinationResponse$
|
|
448
|
+
];
|
|
449
|
+
var DeleteConfigurationSet$ = [9, n0, _DCS,
|
|
450
|
+
{ [_h]: ["DELETE", "/v1/sms-voice/configuration-sets/{ConfigurationSetName}", 200] }, () => DeleteConfigurationSetRequest$, () => DeleteConfigurationSetResponse$
|
|
451
|
+
];
|
|
452
|
+
var DeleteConfigurationSetEventDestination$ = [9, n0, _DCSED,
|
|
453
|
+
{ [_h]: ["DELETE", "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}", 200] }, () => DeleteConfigurationSetEventDestinationRequest$, () => DeleteConfigurationSetEventDestinationResponse$
|
|
454
|
+
];
|
|
455
|
+
var GetConfigurationSetEventDestinations$ = [9, n0, _GCSED,
|
|
456
|
+
{ [_h]: ["GET", "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations", 200] }, () => GetConfigurationSetEventDestinationsRequest$, () => GetConfigurationSetEventDestinationsResponse$
|
|
457
|
+
];
|
|
458
|
+
var ListConfigurationSets$ = [9, n0, _LCS,
|
|
459
|
+
{ [_h]: ["GET", "/v1/sms-voice/configuration-sets", 200] }, () => ListConfigurationSetsRequest$, () => ListConfigurationSetsResponse$
|
|
460
|
+
];
|
|
461
|
+
var SendVoiceMessage$ = [9, n0, _SVM,
|
|
462
|
+
{ [_h]: ["POST", "/v1/sms-voice/voice/message", 200] }, () => SendVoiceMessageRequest$, () => SendVoiceMessageResponse$
|
|
463
|
+
];
|
|
464
|
+
var UpdateConfigurationSetEventDestination$ = [9, n0, _UCSED,
|
|
465
|
+
{ [_h]: ["PUT", "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}", 200] }, () => UpdateConfigurationSetEventDestinationRequest$, () => UpdateConfigurationSetEventDestinationResponse$
|
|
468
466
|
];
|
|
469
467
|
|
|
470
468
|
class CreateConfigurationSetCommand extends smithyClient.Command
|
|
@@ -24,8 +24,7 @@ const getRuntimeConfig = (config) => {
|
|
|
24
24
|
defaultsMode,
|
|
25
25
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
|
26
26
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
28
|
-
(0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
27
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
29
28
|
maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
30
29
|
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
31
30
|
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
@@ -34,11 +34,9 @@ const getRuntimeConfig = (config) => {
|
|
|
34
34
|
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
35
35
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
36
36
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
37
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
38
|
-
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
37
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
39
38
|
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
40
|
-
region: config?.region ??
|
|
41
|
-
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
39
|
+
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
42
40
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
43
41
|
retryMode: config?.retryMode ??
|
|
44
42
|
(0, node_config_provider_1.loadConfig)({
|
|
@@ -3,10 +3,9 @@ import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
|
|
|
3
3
|
export const defaultPinpointSMSVoiceHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
4
|
return {
|
|
5
5
|
operation: getSmithyContext(context).operation,
|
|
6
|
-
region:
|
|
7
|
-
(
|
|
8
|
-
|
|
9
|
-
})(),
|
|
6
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
7
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
8
|
+
})(),
|
|
10
9
|
};
|
|
11
10
|
};
|
|
12
11
|
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
@@ -20,8 +20,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
20
20
|
defaultsMode,
|
|
21
21
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
22
22
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
23
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
24
|
-
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
23
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
25
24
|
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
26
25
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
27
26
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import {
|
|
2
|
+
import { emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core";
|
|
3
3
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
4
|
-
import {
|
|
4
|
+
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
5
5
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
6
6
|
import { Hash } from "@smithy/hash-node";
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
@@ -30,11 +30,9 @@ export const getRuntimeConfig = (config) => {
|
|
|
30
30
|
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
31
31
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
32
32
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
33
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
34
|
-
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
33
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
35
34
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
36
|
-
region: config?.region ??
|
|
37
|
-
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
35
|
+
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
38
36
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
39
37
|
retryMode: config?.retryMode ??
|
|
40
38
|
loadNodeConfig({
|
|
@@ -73,197 +73,195 @@ const n0 = "com.amazonaws.pinpointsmsvoice";
|
|
|
73
73
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
74
74
|
import { AlreadyExistsException, BadRequestException, InternalServiceErrorException, LimitExceededException, NotFoundException, TooManyRequestsException, } from "../models/errors";
|
|
75
75
|
import { PinpointSMSVoiceServiceException } from "../models/PinpointSMSVoiceServiceException";
|
|
76
|
-
export var AlreadyExistsException$ = [-3, n0, _AEE,
|
|
76
|
+
export var AlreadyExistsException$ = [-3, n0, _AEE,
|
|
77
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
78
|
+
[_M],
|
|
79
|
+
[0]
|
|
80
|
+
];
|
|
77
81
|
TypeRegistry.for(n0).registerError(AlreadyExistsException$, AlreadyExistsException);
|
|
78
|
-
export var BadRequestException$ = [-3, n0, _BRE,
|
|
82
|
+
export var BadRequestException$ = [-3, n0, _BRE,
|
|
83
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
84
|
+
[_M],
|
|
85
|
+
[0]
|
|
86
|
+
];
|
|
79
87
|
TypeRegistry.for(n0).registerError(BadRequestException$, BadRequestException);
|
|
80
|
-
export var CallInstructionsMessageType$ = [3, n0, _CIMT,
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
88
|
+
export var CallInstructionsMessageType$ = [3, n0, _CIMT,
|
|
89
|
+
0,
|
|
90
|
+
[_T],
|
|
91
|
+
[0]
|
|
92
|
+
];
|
|
93
|
+
export var CloudWatchLogsDestination$ = [3, n0, _CWLD,
|
|
94
|
+
0,
|
|
95
|
+
[_IRA, _LGA],
|
|
96
|
+
[0, 0]
|
|
97
|
+
];
|
|
98
|
+
export var CreateConfigurationSetEventDestinationRequest$ = [3, n0, _CCSEDR,
|
|
86
99
|
0,
|
|
87
100
|
[_CSN, _ED, _EDN],
|
|
88
|
-
[[0, 1], () => EventDestinationDefinition$, 0]
|
|
89
|
-
];
|
|
90
|
-
export var CreateConfigurationSetEventDestinationResponse$ = [3, n0, _CCSEDRr,
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
101
|
+
[[0, 1], () => EventDestinationDefinition$, 0]
|
|
102
|
+
];
|
|
103
|
+
export var CreateConfigurationSetEventDestinationResponse$ = [3, n0, _CCSEDRr,
|
|
104
|
+
0,
|
|
105
|
+
[],
|
|
106
|
+
[]
|
|
107
|
+
];
|
|
108
|
+
export var CreateConfigurationSetRequest$ = [3, n0, _CCSR,
|
|
109
|
+
0,
|
|
110
|
+
[_CSN],
|
|
111
|
+
[0]
|
|
112
|
+
];
|
|
113
|
+
export var CreateConfigurationSetResponse$ = [3, n0, _CCSRr,
|
|
114
|
+
0,
|
|
115
|
+
[],
|
|
116
|
+
[]
|
|
117
|
+
];
|
|
118
|
+
export var DeleteConfigurationSetEventDestinationRequest$ = [3, n0, _DCSEDR,
|
|
97
119
|
0,
|
|
98
120
|
[_CSN, _EDN],
|
|
99
|
-
[
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
]
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
export var
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
121
|
+
[[0, 1], [0, 1]]
|
|
122
|
+
];
|
|
123
|
+
export var DeleteConfigurationSetEventDestinationResponse$ = [3, n0, _DCSEDRe,
|
|
124
|
+
0,
|
|
125
|
+
[],
|
|
126
|
+
[]
|
|
127
|
+
];
|
|
128
|
+
export var DeleteConfigurationSetRequest$ = [3, n0, _DCSR,
|
|
129
|
+
0,
|
|
130
|
+
[_CSN],
|
|
131
|
+
[[0, 1]]
|
|
132
|
+
];
|
|
133
|
+
export var DeleteConfigurationSetResponse$ = [3, n0, _DCSRe,
|
|
134
|
+
0,
|
|
135
|
+
[],
|
|
136
|
+
[]
|
|
137
|
+
];
|
|
138
|
+
export var EventDestination$ = [3, n0, _ED,
|
|
111
139
|
0,
|
|
112
140
|
[_CWLD, _E, _KFD, _MET, _N, _SD],
|
|
113
|
-
[() => CloudWatchLogsDestination$, 2, () => KinesisFirehoseDestination$, 64 | 0, 0, () => SnsDestination$]
|
|
141
|
+
[() => CloudWatchLogsDestination$, 2, () => KinesisFirehoseDestination$, 64 | 0, 0, () => SnsDestination$]
|
|
114
142
|
];
|
|
115
|
-
export var EventDestinationDefinition$ = [
|
|
116
|
-
3,
|
|
117
|
-
n0,
|
|
118
|
-
_EDD,
|
|
143
|
+
export var EventDestinationDefinition$ = [3, n0, _EDD,
|
|
119
144
|
0,
|
|
120
145
|
[_CWLD, _E, _KFD, _MET, _SD],
|
|
121
|
-
[() => CloudWatchLogsDestination$, 2, () => KinesisFirehoseDestination$, 64 | 0, () => SnsDestination$]
|
|
146
|
+
[() => CloudWatchLogsDestination$, 2, () => KinesisFirehoseDestination$, 64 | 0, () => SnsDestination$]
|
|
122
147
|
];
|
|
123
|
-
export var GetConfigurationSetEventDestinationsRequest$ = [3, n0, _GCSEDR,
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
148
|
+
export var GetConfigurationSetEventDestinationsRequest$ = [3, n0, _GCSEDR,
|
|
149
|
+
0,
|
|
150
|
+
[_CSN],
|
|
151
|
+
[[0, 1]]
|
|
152
|
+
];
|
|
153
|
+
export var GetConfigurationSetEventDestinationsResponse$ = [3, n0, _GCSEDRe,
|
|
128
154
|
0,
|
|
129
155
|
[_EDv],
|
|
130
|
-
[() => EventDestinations]
|
|
156
|
+
[() => EventDestinations]
|
|
157
|
+
];
|
|
158
|
+
export var InternalServiceErrorException$ = [-3, n0, _ISEE,
|
|
159
|
+
{ [_e]: _s, [_hE]: 500 },
|
|
160
|
+
[_M],
|
|
161
|
+
[0]
|
|
131
162
|
];
|
|
132
|
-
export var InternalServiceErrorException$ = [-3, n0, _ISEE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
|
|
133
163
|
TypeRegistry.for(n0).registerError(InternalServiceErrorException$, InternalServiceErrorException);
|
|
134
|
-
export var KinesisFirehoseDestination$ = [3, n0, _KFD,
|
|
135
|
-
|
|
164
|
+
export var KinesisFirehoseDestination$ = [3, n0, _KFD,
|
|
165
|
+
0,
|
|
166
|
+
[_DSA, _IRA],
|
|
167
|
+
[0, 0]
|
|
168
|
+
];
|
|
169
|
+
export var LimitExceededException$ = [-3, n0, _LEE,
|
|
170
|
+
{ [_e]: _c, [_hE]: 412 },
|
|
171
|
+
[_M],
|
|
172
|
+
[0]
|
|
173
|
+
];
|
|
136
174
|
TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
|
|
137
|
-
export var ListConfigurationSetsRequest$ = [
|
|
138
|
-
3,
|
|
139
|
-
n0,
|
|
140
|
-
_LCSR,
|
|
175
|
+
export var ListConfigurationSetsRequest$ = [3, n0, _LCSR,
|
|
141
176
|
0,
|
|
142
177
|
[_NT, _PS],
|
|
143
|
-
[
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
178
|
+
[[0, { [_hQ]: _NT }], [0, { [_hQ]: _PS }]]
|
|
179
|
+
];
|
|
180
|
+
export var ListConfigurationSetsResponse$ = [3, n0, _LCSRi,
|
|
181
|
+
0,
|
|
182
|
+
[_CS, _NT],
|
|
183
|
+
[64 | 0, 0]
|
|
184
|
+
];
|
|
185
|
+
export var NotFoundException$ = [-3, n0, _NFE,
|
|
186
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
187
|
+
[_M],
|
|
188
|
+
[0]
|
|
147
189
|
];
|
|
148
|
-
export var ListConfigurationSetsResponse$ = [3, n0, _LCSRi, 0, [_CS, _NT], [64 | 0, 0]];
|
|
149
|
-
export var NotFoundException$ = [-3, n0, _NFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
|
|
150
190
|
TypeRegistry.for(n0).registerError(NotFoundException$, NotFoundException);
|
|
151
|
-
export var PlainTextMessageType$ = [3, n0, _PTMT,
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
191
|
+
export var PlainTextMessageType$ = [3, n0, _PTMT,
|
|
192
|
+
0,
|
|
193
|
+
[_LC, _T, _VI],
|
|
194
|
+
[0, 0, 0]
|
|
195
|
+
];
|
|
196
|
+
export var SendVoiceMessageRequest$ = [3, n0, _SVMR,
|
|
156
197
|
0,
|
|
157
198
|
[_CI, _CSN, _C, _DPN, _OPN],
|
|
158
|
-
[0, 0, () => VoiceMessageContent$, 0, 0]
|
|
199
|
+
[0, 0, () => VoiceMessageContent$, 0, 0]
|
|
200
|
+
];
|
|
201
|
+
export var SendVoiceMessageResponse$ = [3, n0, _SVMRe,
|
|
202
|
+
0,
|
|
203
|
+
[_MI],
|
|
204
|
+
[0]
|
|
205
|
+
];
|
|
206
|
+
export var SnsDestination$ = [3, n0, _SD,
|
|
207
|
+
0,
|
|
208
|
+
[_TA],
|
|
209
|
+
[0]
|
|
210
|
+
];
|
|
211
|
+
export var SSMLMessageType$ = [3, n0, _SSMLMT,
|
|
212
|
+
0,
|
|
213
|
+
[_LC, _T, _VI],
|
|
214
|
+
[0, 0, 0]
|
|
215
|
+
];
|
|
216
|
+
export var TooManyRequestsException$ = [-3, n0, _TMRE,
|
|
217
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
218
|
+
[_M],
|
|
219
|
+
[0]
|
|
159
220
|
];
|
|
160
|
-
export var SendVoiceMessageResponse$ = [3, n0, _SVMRe, 0, [_MI], [0]];
|
|
161
|
-
export var SnsDestination$ = [3, n0, _SD, 0, [_TA], [0]];
|
|
162
|
-
export var SSMLMessageType$ = [3, n0, _SSMLMT, 0, [_LC, _T, _VI], [0, 0, 0]];
|
|
163
|
-
export var TooManyRequestsException$ = [-3, n0, _TMRE, { [_e]: _c, [_hE]: 429 }, [_M], [0]];
|
|
164
221
|
TypeRegistry.for(n0).registerError(TooManyRequestsException$, TooManyRequestsException);
|
|
165
|
-
export var UpdateConfigurationSetEventDestinationRequest$ = [
|
|
166
|
-
3,
|
|
167
|
-
n0,
|
|
168
|
-
_UCSEDR,
|
|
222
|
+
export var UpdateConfigurationSetEventDestinationRequest$ = [3, n0, _UCSEDR,
|
|
169
223
|
0,
|
|
170
224
|
[_CSN, _ED, _EDN],
|
|
171
|
-
[[0, 1], () => EventDestinationDefinition$, [0, 1]]
|
|
225
|
+
[[0, 1], () => EventDestinationDefinition$, [0, 1]]
|
|
172
226
|
];
|
|
173
|
-
export var UpdateConfigurationSetEventDestinationResponse$ = [3, n0, _UCSEDRp,
|
|
174
|
-
export var VoiceMessageContent$ = [
|
|
175
|
-
3,
|
|
176
|
-
n0,
|
|
177
|
-
_VMC,
|
|
227
|
+
export var UpdateConfigurationSetEventDestinationResponse$ = [3, n0, _UCSEDRp,
|
|
178
228
|
0,
|
|
179
|
-
[
|
|
180
|
-
[
|
|
229
|
+
[],
|
|
230
|
+
[]
|
|
181
231
|
];
|
|
182
|
-
export var
|
|
183
|
-
-3,
|
|
184
|
-
_sm,
|
|
185
|
-
"PinpointSMSVoiceServiceException",
|
|
232
|
+
export var VoiceMessageContent$ = [3, n0, _VMC,
|
|
186
233
|
0,
|
|
187
|
-
[],
|
|
188
|
-
[]
|
|
234
|
+
[_CIM, _PTM, _SSMLM],
|
|
235
|
+
[() => CallInstructionsMessageType$, () => PlainTextMessageType$, () => SSMLMessageType$]
|
|
189
236
|
];
|
|
237
|
+
export var PinpointSMSVoiceServiceException$ = [-3, _sm, "PinpointSMSVoiceServiceException", 0, [], []];
|
|
190
238
|
TypeRegistry.for(_sm).registerError(PinpointSMSVoiceServiceException$, PinpointSMSVoiceServiceException);
|
|
191
239
|
var ConfigurationSets = 64 | 0;
|
|
192
|
-
var EventDestinations = [1, n0, _EDv,
|
|
240
|
+
var EventDestinations = [1, n0, _EDv,
|
|
241
|
+
0, () => EventDestination$
|
|
242
|
+
];
|
|
193
243
|
var EventTypes = 64 | 0;
|
|
194
|
-
export var CreateConfigurationSet$ = [
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
{ [_h]: ["POST", "/v1/sms-voice/configuration-sets", 200] },
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
]
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
() =>
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
() =>
|
|
217
|
-
];
|
|
218
|
-
export var DeleteConfigurationSetEventDestination$ = [
|
|
219
|
-
9,
|
|
220
|
-
n0,
|
|
221
|
-
_DCSED,
|
|
222
|
-
{
|
|
223
|
-
[_h]: [
|
|
224
|
-
"DELETE",
|
|
225
|
-
"/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}",
|
|
226
|
-
200,
|
|
227
|
-
],
|
|
228
|
-
},
|
|
229
|
-
() => DeleteConfigurationSetEventDestinationRequest$,
|
|
230
|
-
() => DeleteConfigurationSetEventDestinationResponse$,
|
|
231
|
-
];
|
|
232
|
-
export var GetConfigurationSetEventDestinations$ = [
|
|
233
|
-
9,
|
|
234
|
-
n0,
|
|
235
|
-
_GCSED,
|
|
236
|
-
{ [_h]: ["GET", "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations", 200] },
|
|
237
|
-
() => GetConfigurationSetEventDestinationsRequest$,
|
|
238
|
-
() => GetConfigurationSetEventDestinationsResponse$,
|
|
239
|
-
];
|
|
240
|
-
export var ListConfigurationSets$ = [
|
|
241
|
-
9,
|
|
242
|
-
n0,
|
|
243
|
-
_LCS,
|
|
244
|
-
{ [_h]: ["GET", "/v1/sms-voice/configuration-sets", 200] },
|
|
245
|
-
() => ListConfigurationSetsRequest$,
|
|
246
|
-
() => ListConfigurationSetsResponse$,
|
|
247
|
-
];
|
|
248
|
-
export var SendVoiceMessage$ = [
|
|
249
|
-
9,
|
|
250
|
-
n0,
|
|
251
|
-
_SVM,
|
|
252
|
-
{ [_h]: ["POST", "/v1/sms-voice/voice/message", 200] },
|
|
253
|
-
() => SendVoiceMessageRequest$,
|
|
254
|
-
() => SendVoiceMessageResponse$,
|
|
255
|
-
];
|
|
256
|
-
export var UpdateConfigurationSetEventDestination$ = [
|
|
257
|
-
9,
|
|
258
|
-
n0,
|
|
259
|
-
_UCSED,
|
|
260
|
-
{
|
|
261
|
-
[_h]: [
|
|
262
|
-
"PUT",
|
|
263
|
-
"/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}",
|
|
264
|
-
200,
|
|
265
|
-
],
|
|
266
|
-
},
|
|
267
|
-
() => UpdateConfigurationSetEventDestinationRequest$,
|
|
268
|
-
() => UpdateConfigurationSetEventDestinationResponse$,
|
|
244
|
+
export var CreateConfigurationSet$ = [9, n0, _CCS,
|
|
245
|
+
{ [_h]: ["POST", "/v1/sms-voice/configuration-sets", 200] }, () => CreateConfigurationSetRequest$, () => CreateConfigurationSetResponse$
|
|
246
|
+
];
|
|
247
|
+
export var CreateConfigurationSetEventDestination$ = [9, n0, _CCSED,
|
|
248
|
+
{ [_h]: ["POST", "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations", 200] }, () => CreateConfigurationSetEventDestinationRequest$, () => CreateConfigurationSetEventDestinationResponse$
|
|
249
|
+
];
|
|
250
|
+
export var DeleteConfigurationSet$ = [9, n0, _DCS,
|
|
251
|
+
{ [_h]: ["DELETE", "/v1/sms-voice/configuration-sets/{ConfigurationSetName}", 200] }, () => DeleteConfigurationSetRequest$, () => DeleteConfigurationSetResponse$
|
|
252
|
+
];
|
|
253
|
+
export var DeleteConfigurationSetEventDestination$ = [9, n0, _DCSED,
|
|
254
|
+
{ [_h]: ["DELETE", "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}", 200] }, () => DeleteConfigurationSetEventDestinationRequest$, () => DeleteConfigurationSetEventDestinationResponse$
|
|
255
|
+
];
|
|
256
|
+
export var GetConfigurationSetEventDestinations$ = [9, n0, _GCSED,
|
|
257
|
+
{ [_h]: ["GET", "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations", 200] }, () => GetConfigurationSetEventDestinationsRequest$, () => GetConfigurationSetEventDestinationsResponse$
|
|
258
|
+
];
|
|
259
|
+
export var ListConfigurationSets$ = [9, n0, _LCS,
|
|
260
|
+
{ [_h]: ["GET", "/v1/sms-voice/configuration-sets", 200] }, () => ListConfigurationSetsRequest$, () => ListConfigurationSetsResponse$
|
|
261
|
+
];
|
|
262
|
+
export var SendVoiceMessage$ = [9, n0, _SVM,
|
|
263
|
+
{ [_h]: ["POST", "/v1/sms-voice/voice/message", 200] }, () => SendVoiceMessageRequest$, () => SendVoiceMessageResponse$
|
|
264
|
+
];
|
|
265
|
+
export var UpdateConfigurationSetEventDestination$ = [9, n0, _UCSED,
|
|
266
|
+
{ [_h]: ["PUT", "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}", 200] }, () => UpdateConfigurationSetEventDestinationRequest$, () => UpdateConfigurationSetEventDestinationResponse$
|
|
269
267
|
];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-pinpoint-sms-voice",
|
|
3
3
|
"description": "AWS SDK for JavaScript Pinpoint Sms Voice Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.958.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-pinpoint-sms-voice",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
24
|
"@aws-sdk/core": "3.957.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.958.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.957.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.957.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.957.0",
|