@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 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: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||
10
- (() => {
11
- throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
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, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
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, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
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, 0, [_T], [0]];
282
- var CloudWatchLogsDestination$ = [3, n0, _CWLD, 0, [_IRA, _LGA], [0, 0]];
283
- var CreateConfigurationSetEventDestinationRequest$ = [
284
- 3,
285
- n0,
286
- _CCSEDR,
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, 0, [], []];
292
- var CreateConfigurationSetRequest$ = [3, n0, _CCSR, 0, [_CSN], [0]];
293
- var CreateConfigurationSetResponse$ = [3, n0, _CCSRr, 0, [], []];
294
- var DeleteConfigurationSetEventDestinationRequest$ = [
295
- 3,
296
- n0,
297
- _DCSEDR,
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
- [0, 1],
302
- [0, 1],
303
- ],
304
- ];
305
- var DeleteConfigurationSetEventDestinationResponse$ = [3, n0, _DCSEDRe, 0, [], []];
306
- var DeleteConfigurationSetRequest$ = [3, n0, _DCSR, 0, [_CSN], [[0, 1]]];
307
- var DeleteConfigurationSetResponse$ = [3, n0, _DCSRe, 0, [], []];
308
- var EventDestination$ = [
309
- 3,
310
- n0,
311
- _ED,
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, 0, [_CSN], [[0, 1]]];
325
- var GetConfigurationSetEventDestinationsResponse$ = [
326
- 3,
327
- n0,
328
- _GCSEDRe,
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, 0, [_DSA, _IRA], [0, 0]];
336
- var LimitExceededException$ = [-3, n0, _LEE, { [_e]: _c, [_hE]: 412 }, [_M], [0]];
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
- [0, { [_hQ]: _NT }],
346
- [0, { [_hQ]: _PS }],
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, 0, [_LC, _T, _VI], [0, 0, 0]];
353
- var SendVoiceMessageRequest$ = [
354
- 3,
355
- n0,
356
- _SVMR,
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, 0, [], []];
375
- var VoiceMessageContent$ = [
376
- 3,
377
- n0,
378
- _VMC,
428
+ var UpdateConfigurationSetEventDestinationResponse$ = [3, n0, _UCSEDRp,
379
429
  0,
380
- [_CIM, _PTM, _SSMLM],
381
- [() => CallInstructionsMessageType$, () => PlainTextMessageType$, () => SSMLMessageType$],
430
+ [],
431
+ []
382
432
  ];
383
- var PinpointSMSVoiceServiceException$ = [
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, 0, () => EventDestination$];
393
- var CreateConfigurationSet$ = [
394
- 9,
395
- n0,
396
- _CCS,
397
- { [_h]: ["POST", "/v1/sms-voice/configuration-sets", 200] },
398
- () => CreateConfigurationSetRequest$,
399
- () => CreateConfigurationSetResponse$,
400
- ];
401
- var CreateConfigurationSetEventDestination$ = [
402
- 9,
403
- n0,
404
- _CCSED,
405
- { [_h]: ["POST", "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations", 200] },
406
- () => CreateConfigurationSetEventDestinationRequest$,
407
- () => CreateConfigurationSetEventDestinationResponse$,
408
- ];
409
- var DeleteConfigurationSet$ = [
410
- 9,
411
- n0,
412
- _DCS,
413
- { [_h]: ["DELETE", "/v1/sms-voice/configuration-sets/{ConfigurationSetName}", 200] },
414
- () => DeleteConfigurationSetRequest$,
415
- () => DeleteConfigurationSetResponse$,
416
- ];
417
- var DeleteConfigurationSetEventDestination$ = [
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: (await normalizeProvider(config.region)()) ||
7
- (() => {
8
- throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
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),
@@ -1,7 +1,7 @@
1
1
  import packageInfo from "../package.json";
2
- import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
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 { NODE_APP_ID_CONFIG_OPTIONS, createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-node";
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, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
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, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
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, 0, [_T], [0]];
81
- export var CloudWatchLogsDestination$ = [3, n0, _CWLD, 0, [_IRA, _LGA], [0, 0]];
82
- export var CreateConfigurationSetEventDestinationRequest$ = [
83
- 3,
84
- n0,
85
- _CCSEDR,
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, 0, [], []];
91
- export var CreateConfigurationSetRequest$ = [3, n0, _CCSR, 0, [_CSN], [0]];
92
- export var CreateConfigurationSetResponse$ = [3, n0, _CCSRr, 0, [], []];
93
- export var DeleteConfigurationSetEventDestinationRequest$ = [
94
- 3,
95
- n0,
96
- _DCSEDR,
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
- [0, 1],
101
- [0, 1],
102
- ],
103
- ];
104
- export var DeleteConfigurationSetEventDestinationResponse$ = [3, n0, _DCSEDRe, 0, [], []];
105
- export var DeleteConfigurationSetRequest$ = [3, n0, _DCSR, 0, [_CSN], [[0, 1]]];
106
- export var DeleteConfigurationSetResponse$ = [3, n0, _DCSRe, 0, [], []];
107
- export var EventDestination$ = [
108
- 3,
109
- n0,
110
- _ED,
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, 0, [_CSN], [[0, 1]]];
124
- export var GetConfigurationSetEventDestinationsResponse$ = [
125
- 3,
126
- n0,
127
- _GCSEDRe,
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, 0, [_DSA, _IRA], [0, 0]];
135
- export var LimitExceededException$ = [-3, n0, _LEE, { [_e]: _c, [_hE]: 412 }, [_M], [0]];
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
- [0, { [_hQ]: _NT }],
145
- [0, { [_hQ]: _PS }],
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, 0, [_LC, _T, _VI], [0, 0, 0]];
152
- export var SendVoiceMessageRequest$ = [
153
- 3,
154
- n0,
155
- _SVMR,
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, 0, [], []];
174
- export var VoiceMessageContent$ = [
175
- 3,
176
- n0,
177
- _VMC,
227
+ export var UpdateConfigurationSetEventDestinationResponse$ = [3, n0, _UCSEDRp,
178
228
  0,
179
- [_CIM, _PTM, _SSMLM],
180
- [() => CallInstructionsMessageType$, () => PlainTextMessageType$, () => SSMLMessageType$],
229
+ [],
230
+ []
181
231
  ];
182
- export var PinpointSMSVoiceServiceException$ = [
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, 0, () => EventDestination$];
240
+ var EventDestinations = [1, n0, _EDv,
241
+ 0, () => EventDestination$
242
+ ];
193
243
  var EventTypes = 64 | 0;
194
- export var CreateConfigurationSet$ = [
195
- 9,
196
- n0,
197
- _CCS,
198
- { [_h]: ["POST", "/v1/sms-voice/configuration-sets", 200] },
199
- () => CreateConfigurationSetRequest$,
200
- () => CreateConfigurationSetResponse$,
201
- ];
202
- export var CreateConfigurationSetEventDestination$ = [
203
- 9,
204
- n0,
205
- _CCSED,
206
- { [_h]: ["POST", "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations", 200] },
207
- () => CreateConfigurationSetEventDestinationRequest$,
208
- () => CreateConfigurationSetEventDestinationResponse$,
209
- ];
210
- export var DeleteConfigurationSet$ = [
211
- 9,
212
- n0,
213
- _DCS,
214
- { [_h]: ["DELETE", "/v1/sms-voice/configuration-sets/{ConfigurationSetName}", 200] },
215
- () => DeleteConfigurationSetRequest$,
216
- () => DeleteConfigurationSetResponse$,
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.957.0",
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.957.0",
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",