@aws-sdk/client-socialmessaging 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
@@ -34,10 +34,8 @@ in each Region, see <a href="https://aws.amazon.com/about-aws/global-infrastruct
34
34
  </p>
35
35
 
36
36
  ## Installing
37
-
38
37
  To install this package, simply type add or install @aws-sdk/client-socialmessaging
39
38
  using your favorite package manager:
40
-
41
39
  - `npm install @aws-sdk/client-socialmessaging`
42
40
  - `yarn add @aws-sdk/client-socialmessaging`
43
41
  - `pnpm add @aws-sdk/client-socialmessaging`
@@ -73,9 +71,7 @@ To send a request, you:
73
71
  // a client can be shared by different commands.
74
72
  const client = new SocialMessagingClient({ region: "REGION" });
75
73
 
76
- const params = {
77
- /** input parameters */
78
- };
74
+ const params = { /** input parameters */ };
79
75
  const command = new ListTagsForResourceCommand(params);
80
76
  ```
81
77
 
@@ -234,7 +230,6 @@ AssociateWhatsAppBusinessAccount
234
230
  </summary>
235
231
 
236
232
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/socialmessaging/command/AssociateWhatsAppBusinessAccountCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/AssociateWhatsAppBusinessAccountCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/AssociateWhatsAppBusinessAccountCommandOutput/)
237
-
238
233
  </details>
239
234
  <details>
240
235
  <summary>
@@ -242,7 +237,6 @@ CreateWhatsAppMessageTemplate
242
237
  </summary>
243
238
 
244
239
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/socialmessaging/command/CreateWhatsAppMessageTemplateCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/CreateWhatsAppMessageTemplateCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/CreateWhatsAppMessageTemplateCommandOutput/)
245
-
246
240
  </details>
247
241
  <details>
248
242
  <summary>
@@ -250,7 +244,6 @@ CreateWhatsAppMessageTemplateFromLibrary
250
244
  </summary>
251
245
 
252
246
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/socialmessaging/command/CreateWhatsAppMessageTemplateFromLibraryCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/CreateWhatsAppMessageTemplateFromLibraryCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/CreateWhatsAppMessageTemplateFromLibraryCommandOutput/)
253
-
254
247
  </details>
255
248
  <details>
256
249
  <summary>
@@ -258,7 +251,6 @@ CreateWhatsAppMessageTemplateMedia
258
251
  </summary>
259
252
 
260
253
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/socialmessaging/command/CreateWhatsAppMessageTemplateMediaCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/CreateWhatsAppMessageTemplateMediaCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/CreateWhatsAppMessageTemplateMediaCommandOutput/)
261
-
262
254
  </details>
263
255
  <details>
264
256
  <summary>
@@ -266,7 +258,6 @@ DeleteWhatsAppMessageMedia
266
258
  </summary>
267
259
 
268
260
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/socialmessaging/command/DeleteWhatsAppMessageMediaCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/DeleteWhatsAppMessageMediaCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/DeleteWhatsAppMessageMediaCommandOutput/)
269
-
270
261
  </details>
271
262
  <details>
272
263
  <summary>
@@ -274,7 +265,6 @@ DeleteWhatsAppMessageTemplate
274
265
  </summary>
275
266
 
276
267
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/socialmessaging/command/DeleteWhatsAppMessageTemplateCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/DeleteWhatsAppMessageTemplateCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/DeleteWhatsAppMessageTemplateCommandOutput/)
277
-
278
268
  </details>
279
269
  <details>
280
270
  <summary>
@@ -282,7 +272,6 @@ DisassociateWhatsAppBusinessAccount
282
272
  </summary>
283
273
 
284
274
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/socialmessaging/command/DisassociateWhatsAppBusinessAccountCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/DisassociateWhatsAppBusinessAccountCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/DisassociateWhatsAppBusinessAccountCommandOutput/)
285
-
286
275
  </details>
287
276
  <details>
288
277
  <summary>
@@ -290,7 +279,6 @@ GetLinkedWhatsAppBusinessAccount
290
279
  </summary>
291
280
 
292
281
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/socialmessaging/command/GetLinkedWhatsAppBusinessAccountCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/GetLinkedWhatsAppBusinessAccountCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/GetLinkedWhatsAppBusinessAccountCommandOutput/)
293
-
294
282
  </details>
295
283
  <details>
296
284
  <summary>
@@ -298,7 +286,6 @@ GetLinkedWhatsAppBusinessAccountPhoneNumber
298
286
  </summary>
299
287
 
300
288
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/socialmessaging/command/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput/)
301
-
302
289
  </details>
303
290
  <details>
304
291
  <summary>
@@ -306,7 +293,6 @@ GetWhatsAppMessageMedia
306
293
  </summary>
307
294
 
308
295
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/socialmessaging/command/GetWhatsAppMessageMediaCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/GetWhatsAppMessageMediaCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/GetWhatsAppMessageMediaCommandOutput/)
309
-
310
296
  </details>
311
297
  <details>
312
298
  <summary>
@@ -314,7 +300,6 @@ GetWhatsAppMessageTemplate
314
300
  </summary>
315
301
 
316
302
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/socialmessaging/command/GetWhatsAppMessageTemplateCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/GetWhatsAppMessageTemplateCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/GetWhatsAppMessageTemplateCommandOutput/)
317
-
318
303
  </details>
319
304
  <details>
320
305
  <summary>
@@ -322,7 +307,6 @@ ListLinkedWhatsAppBusinessAccounts
322
307
  </summary>
323
308
 
324
309
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/socialmessaging/command/ListLinkedWhatsAppBusinessAccountsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/ListLinkedWhatsAppBusinessAccountsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/ListLinkedWhatsAppBusinessAccountsCommandOutput/)
325
-
326
310
  </details>
327
311
  <details>
328
312
  <summary>
@@ -330,7 +314,6 @@ ListTagsForResource
330
314
  </summary>
331
315
 
332
316
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/socialmessaging/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/ListTagsForResourceCommandOutput/)
333
-
334
317
  </details>
335
318
  <details>
336
319
  <summary>
@@ -338,7 +321,6 @@ ListWhatsAppMessageTemplates
338
321
  </summary>
339
322
 
340
323
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/socialmessaging/command/ListWhatsAppMessageTemplatesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/ListWhatsAppMessageTemplatesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/ListWhatsAppMessageTemplatesCommandOutput/)
341
-
342
324
  </details>
343
325
  <details>
344
326
  <summary>
@@ -346,7 +328,6 @@ ListWhatsAppTemplateLibrary
346
328
  </summary>
347
329
 
348
330
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/socialmessaging/command/ListWhatsAppTemplateLibraryCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/ListWhatsAppTemplateLibraryCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/ListWhatsAppTemplateLibraryCommandOutput/)
349
-
350
331
  </details>
351
332
  <details>
352
333
  <summary>
@@ -354,7 +335,6 @@ PostWhatsAppMessageMedia
354
335
  </summary>
355
336
 
356
337
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/socialmessaging/command/PostWhatsAppMessageMediaCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/PostWhatsAppMessageMediaCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/PostWhatsAppMessageMediaCommandOutput/)
357
-
358
338
  </details>
359
339
  <details>
360
340
  <summary>
@@ -362,7 +342,6 @@ PutWhatsAppBusinessAccountEventDestinations
362
342
  </summary>
363
343
 
364
344
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/socialmessaging/command/PutWhatsAppBusinessAccountEventDestinationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/PutWhatsAppBusinessAccountEventDestinationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/PutWhatsAppBusinessAccountEventDestinationsCommandOutput/)
365
-
366
345
  </details>
367
346
  <details>
368
347
  <summary>
@@ -370,7 +349,6 @@ SendWhatsAppMessage
370
349
  </summary>
371
350
 
372
351
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/socialmessaging/command/SendWhatsAppMessageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/SendWhatsAppMessageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/SendWhatsAppMessageCommandOutput/)
373
-
374
352
  </details>
375
353
  <details>
376
354
  <summary>
@@ -378,7 +356,6 @@ TagResource
378
356
  </summary>
379
357
 
380
358
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/socialmessaging/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/TagResourceCommandOutput/)
381
-
382
359
  </details>
383
360
  <details>
384
361
  <summary>
@@ -386,7 +363,6 @@ UntagResource
386
363
  </summary>
387
364
 
388
365
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/socialmessaging/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/UntagResourceCommandOutput/)
389
-
390
366
  </details>
391
367
  <details>
392
368
  <summary>
@@ -394,5 +370,4 @@ UpdateWhatsAppMessageTemplate
394
370
  </summary>
395
371
 
396
372
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/socialmessaging/command/UpdateWhatsAppMessageTemplateCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/UpdateWhatsAppMessageTemplateCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/UpdateWhatsAppMessageTemplateCommandOutput/)
397
-
398
373
  </details>
@@ -6,10 +6,9 @@ const util_middleware_1 = require("@smithy/util-middleware");
6
6
  const defaultSocialMessagingHttpAuthSchemeParametersProvider = 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.defaultSocialMessagingHttpAuthSchemeParametersProvider = defaultSocialMessagingHttpAuthSchemeParametersProvider;