@aws-sdk/client-socialmessaging 3.1045.0 → 3.1046.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +58 -59
- package/dist-cjs/models/SocialMessagingServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +12 -14
- package/dist-cjs/runtimeConfig.js +18 -22
- package/dist-cjs/runtimeConfig.shared.js +9 -10
- package/dist-cjs/schemas/schemas_0.js +12 -10
- package/dist-es/SocialMessaging.js +1 -1
- package/dist-es/SocialMessagingClient.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/AssociateWhatsAppBusinessAccountCommand.js +2 -2
- package/dist-es/commands/CreateWhatsAppMessageTemplateCommand.js +2 -2
- package/dist-es/commands/CreateWhatsAppMessageTemplateFromLibraryCommand.js +2 -2
- package/dist-es/commands/CreateWhatsAppMessageTemplateMediaCommand.js +2 -2
- package/dist-es/commands/DeleteWhatsAppMessageMediaCommand.js +2 -2
- package/dist-es/commands/DeleteWhatsAppMessageTemplateCommand.js +2 -2
- package/dist-es/commands/DisassociateWhatsAppBusinessAccountCommand.js +2 -2
- package/dist-es/commands/GetLinkedWhatsAppBusinessAccountCommand.js +2 -2
- package/dist-es/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.js +2 -2
- package/dist-es/commands/GetWhatsAppMessageMediaCommand.js +2 -2
- package/dist-es/commands/GetWhatsAppMessageTemplateCommand.js +2 -2
- package/dist-es/commands/ListLinkedWhatsAppBusinessAccountsCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/ListWhatsAppMessageTemplatesCommand.js +2 -2
- package/dist-es/commands/ListWhatsAppTemplateLibraryCommand.js +2 -2
- package/dist-es/commands/PostWhatsAppMessageMediaCommand.js +2 -2
- package/dist-es/commands/PutWhatsAppBusinessAccountEventDestinationsCommand.js +2 -2
- package/dist-es/commands/SendWhatsAppMessageCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateWhatsAppMessageTemplateCommand.js +2 -2
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/SocialMessagingServiceException.js +1 -1
- package/dist-es/runtimeConfig.browser.js +4 -6
- package/dist-es/runtimeConfig.js +4 -8
- package/dist-es/runtimeConfig.shared.js +3 -4
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-es/schemas/schemas_0.js +12 -10
- package/dist-types/SocialMessagingClient.d.ts +5 -5
- package/dist-types/commands/AssociateWhatsAppBusinessAccountCommand.d.ts +7 -4
- package/dist-types/commands/CreateWhatsAppMessageTemplateCommand.d.ts +6 -4
- package/dist-types/commands/CreateWhatsAppMessageTemplateFromLibraryCommand.d.ts +6 -4
- package/dist-types/commands/CreateWhatsAppMessageTemplateMediaCommand.d.ts +6 -4
- package/dist-types/commands/DeleteWhatsAppMessageMediaCommand.d.ts +6 -4
- package/dist-types/commands/DeleteWhatsAppMessageTemplateCommand.d.ts +6 -4
- package/dist-types/commands/DisassociateWhatsAppBusinessAccountCommand.d.ts +6 -4
- package/dist-types/commands/GetLinkedWhatsAppBusinessAccountCommand.d.ts +7 -4
- package/dist-types/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.d.ts +6 -4
- package/dist-types/commands/GetWhatsAppMessageMediaCommand.d.ts +6 -4
- package/dist-types/commands/GetWhatsAppMessageTemplateCommand.d.ts +9 -5
- package/dist-types/commands/ListLinkedWhatsAppBusinessAccountsCommand.d.ts +7 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/commands/ListWhatsAppMessageTemplatesCommand.d.ts +6 -4
- package/dist-types/commands/ListWhatsAppTemplateLibraryCommand.d.ts +6 -4
- package/dist-types/commands/PostWhatsAppMessageMediaCommand.d.ts +6 -4
- package/dist-types/commands/PutWhatsAppBusinessAccountEventDestinationsCommand.d.ts +6 -4
- package/dist-types/commands/SendWhatsAppMessageCommand.d.ts +6 -4
- package/dist-types/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UpdateWhatsAppMessageTemplateCommand.d.ts +9 -5
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/SocialMessagingServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +37 -2
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/SocialMessagingClient.d.ts +8 -14
- package/dist-types/ts3.4/commands/AssociateWhatsAppBusinessAccountCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateWhatsAppMessageTemplateCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateWhatsAppMessageTemplateFromLibraryCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateWhatsAppMessageTemplateMediaCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteWhatsAppMessageMediaCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteWhatsAppMessageTemplateCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DisassociateWhatsAppBusinessAccountCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetLinkedWhatsAppBusinessAccountCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetWhatsAppMessageMediaCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetWhatsAppMessageTemplateCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListLinkedWhatsAppBusinessAccountsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListWhatsAppMessageTemplatesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListWhatsAppTemplateLibraryCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PostWhatsAppMessageMediaCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutWhatsAppBusinessAccountEventDestinationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SendWhatsAppMessageCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateWhatsAppMessageTemplateCommand.d.ts +6 -4
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/SocialMessagingServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +9 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +13 -34
|
@@ -156,6 +156,7 @@ const _mI = "mediaId";
|
|
|
156
156
|
const _mIe = "messageId";
|
|
157
157
|
const _mLT = "metaLibraryTemplate";
|
|
158
158
|
const _mLTe = "metaLibraryTemplates";
|
|
159
|
+
const _mMOS = "marketingMessagesOnboardingStatus";
|
|
159
160
|
const _mO = "metadataOnly";
|
|
160
161
|
const _mPNI = "metaPhoneNumberId";
|
|
161
162
|
const _mR = "maxResults";
|
|
@@ -196,6 +197,7 @@ const _tI = "templateIndustry";
|
|
|
196
197
|
const _tIe = "templateId";
|
|
197
198
|
const _tK = "tagKeys";
|
|
198
199
|
const _tL = "templateLanguage";
|
|
200
|
+
const _tLC = "templateLanguageCode";
|
|
199
201
|
const _tN = "templateName";
|
|
200
202
|
const _tQS = "templateQualityScore";
|
|
201
203
|
const _tS = "templateStatus";
|
|
@@ -288,8 +290,8 @@ exports.AssociateWhatsAppBusinessAccountInput$ = [3, n0, _AWABAI,
|
|
|
288
290
|
];
|
|
289
291
|
exports.AssociateWhatsAppBusinessAccountOutput$ = [3, n0, _AWABAO,
|
|
290
292
|
0,
|
|
291
|
-
[_sCR, _sCt],
|
|
292
|
-
[[() => exports.WhatsAppSignupCallbackResult$, 0], 1]
|
|
293
|
+
[_sCR, _sCt, _lWABAI],
|
|
294
|
+
[[() => exports.WhatsAppSignupCallbackResult$, 0], 1, 0]
|
|
293
295
|
];
|
|
294
296
|
exports.CreateWhatsAppMessageTemplateFromLibraryInput$ = [3, n0, _CWAMTFLI,
|
|
295
297
|
0,
|
|
@@ -383,8 +385,8 @@ exports.GetWhatsAppMessageMediaOutput$ = [3, n0, _GWAMMO,
|
|
|
383
385
|
];
|
|
384
386
|
exports.GetWhatsAppMessageTemplateInput$ = [3, n0, _GWAMTI,
|
|
385
387
|
0,
|
|
386
|
-
[_mTI,
|
|
387
|
-
[[0, { [_hQ]: _mTI }], [0, { [_hQ]:
|
|
388
|
+
[_i, _mTI, _tN, _tLC],
|
|
389
|
+
[[0, { [_hQ]: _i }], [0, { [_hQ]: _mTI }], [0, { [_hQ]: _tN }], [0, { [_hQ]: _tLC }]], 1
|
|
388
390
|
];
|
|
389
391
|
exports.GetWhatsAppMessageTemplateOutput$ = [3, n0, _GWAMTO,
|
|
390
392
|
0,
|
|
@@ -408,8 +410,8 @@ exports.LibraryTemplateButtonList$ = [3, n0, _LTBL,
|
|
|
408
410
|
];
|
|
409
411
|
exports.LinkedWhatsAppBusinessAccount$ = [3, n0, _LWABA,
|
|
410
412
|
0,
|
|
411
|
-
[_ar, _i, _wI, _rS, _lD, _wN, _eD, _pNh],
|
|
412
|
-
[0, 0, 0, 0, 4, 0, () => WhatsAppBusinessAccountEventDestinations, () => WhatsAppPhoneNumberSummaryList], 8
|
|
413
|
+
[_ar, _i, _wI, _rS, _lD, _wN, _eD, _pNh, _mMOS],
|
|
414
|
+
[0, 0, 0, 0, 4, 0, () => WhatsAppBusinessAccountEventDestinations, () => WhatsAppPhoneNumberSummaryList, 0], 8
|
|
413
415
|
];
|
|
414
416
|
exports.LinkedWhatsAppBusinessAccountIdMetaData$ = [3, n0, _LWABAIMD,
|
|
415
417
|
0,
|
|
@@ -418,8 +420,8 @@ exports.LinkedWhatsAppBusinessAccountIdMetaData$ = [3, n0, _LWABAIMD,
|
|
|
418
420
|
];
|
|
419
421
|
exports.LinkedWhatsAppBusinessAccountSummary$ = [3, n0, _LWABAS,
|
|
420
422
|
0,
|
|
421
|
-
[_ar, _i, _wI, _rS, _lD, _wN, _eD],
|
|
422
|
-
[0, 0, 0, 0, 4, 0, () => WhatsAppBusinessAccountEventDestinations], 7
|
|
423
|
+
[_ar, _i, _wI, _rS, _lD, _wN, _eD, _mMOS],
|
|
424
|
+
[0, 0, 0, 0, 4, 0, () => WhatsAppBusinessAccountEventDestinations, 0], 7
|
|
423
425
|
];
|
|
424
426
|
exports.ListLinkedWhatsAppBusinessAccountsInput$ = [3, n0, _LLWABAI,
|
|
425
427
|
0,
|
|
@@ -543,8 +545,8 @@ exports.UntagResourceOutput$ = [3, n0, _URO,
|
|
|
543
545
|
];
|
|
544
546
|
exports.UpdateWhatsAppMessageTemplateInput$ = [3, n0, _UWAMTI,
|
|
545
547
|
0,
|
|
546
|
-
[_i, _mTI, _pF, _tC, _tCe, _cULTOO],
|
|
547
|
-
[0, 0, 0, 0, 21, 2],
|
|
548
|
+
[_i, _mTI, _tN, _tLC, _pF, _tC, _tCe, _cULTOO],
|
|
549
|
+
[0, 0, 0, 0, 0, 0, 21, 2], 1
|
|
548
550
|
];
|
|
549
551
|
exports.UpdateWhatsAppMessageTemplateOutput$ = [3, n0, _UWAMTO,
|
|
550
552
|
0,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createAggregatedClient } from "@smithy/
|
|
1
|
+
import { createAggregatedClient } from "@smithy/core/client";
|
|
2
2
|
import { AssociateWhatsAppBusinessAccountCommand, } from "./commands/AssociateWhatsAppBusinessAccountCommand";
|
|
3
3
|
import { CreateWhatsAppMessageTemplateCommand, } from "./commands/CreateWhatsAppMessageTemplateCommand";
|
|
4
4
|
import { CreateWhatsAppMessageTemplateFromLibraryCommand, } from "./commands/CreateWhatsAppMessageTemplateFromLibraryCommand";
|
|
@@ -2,13 +2,13 @@ import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middlewa
|
|
|
2
2
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
3
3
|
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
|
-
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
5
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
6
|
+
import { Client as __Client, } from "@smithy/core/client";
|
|
7
|
+
import { resolveRegionConfig } from "@smithy/core/config";
|
|
8
|
+
import { resolveEndpointConfig } from "@smithy/core/endpoints";
|
|
9
|
+
import { getContentLengthPlugin } from "@smithy/core/protocols";
|
|
10
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/core/retry";
|
|
7
11
|
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
8
|
-
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
9
|
-
import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
|
|
10
|
-
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
11
|
-
import { Client as __Client, } from "@smithy/smithy-client";
|
|
12
12
|
import { defaultSocialMessagingHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
13
13
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
14
14
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
|
-
import { getSmithyContext, normalizeProvider } from "@smithy/
|
|
2
|
+
import { getSmithyContext, normalizeProvider } from "@smithy/core/client";
|
|
3
3
|
export const defaultSocialMessagingHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
4
|
return {
|
|
5
5
|
operation: getSmithyContext(context).operation,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { AssociateWhatsAppBusinessAccount$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { CreateWhatsAppMessageTemplate$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { CreateWhatsAppMessageTemplateFromLibrary$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { CreateWhatsAppMessageTemplateMedia$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteWhatsAppMessageMedia$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteWhatsAppMessageTemplate$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DisassociateWhatsAppBusinessAccount$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { GetLinkedWhatsAppBusinessAccount$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { GetLinkedWhatsAppBusinessAccountPhoneNumber$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { GetWhatsAppMessageMedia$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { GetWhatsAppMessageTemplate$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { ListLinkedWhatsAppBusinessAccounts$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { ListWhatsAppMessageTemplates$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { ListWhatsAppTemplateLibrary$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { PostWhatsAppMessageMedia$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { PutWhatsAppBusinessAccountEventDestinations$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { SendWhatsAppMessage$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { UpdateWhatsAppMessageTemplate$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
package/dist-es/endpoint/bdd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BinaryDecisionDiagram } from "@smithy/
|
|
1
|
+
import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
|
|
2
2
|
const k = "ref";
|
|
3
3
|
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
4
4
|
const _data = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
-
import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/
|
|
2
|
+
import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/core/endpoints";
|
|
3
3
|
import { bdd } from "./bdd";
|
|
4
4
|
const cache = new EndpointCache({
|
|
5
5
|
size: 50,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ServiceException as __ServiceException, } from "@smithy/
|
|
1
|
+
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class SocialMessagingServiceException extends __ServiceException {
|
|
4
4
|
constructor(options) {
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
3
|
import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser";
|
|
4
|
-
import {
|
|
4
|
+
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
6
|
+
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/core/retry";
|
|
7
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
5
8
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
|
-
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
7
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
8
|
-
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
9
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
10
|
-
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
11
9
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
12
10
|
export const getRuntimeConfig = (config) => {
|
|
13
11
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -3,15 +3,11 @@ import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/cor
|
|
|
3
3
|
import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
|
|
4
4
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
5
5
|
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/
|
|
9
|
-
import {
|
|
6
|
+
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
7
|
+
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
8
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
9
|
+
import { calculateBodyLength, Hash } from "@smithy/core/serde";
|
|
10
10
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
11
|
-
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
12
|
-
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
13
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
14
|
-
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
15
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
16
12
|
export const getRuntimeConfig = (config) => {
|
|
17
13
|
emitWarningIfUnsupportedVersion(process.version);
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
3
|
-
import { NoOpLogger } from "@smithy/
|
|
4
|
-
import { parseUrl } from "@smithy/
|
|
5
|
-
import { fromBase64, toBase64 } from "@smithy/
|
|
6
|
-
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
3
|
+
import { NoOpLogger } from "@smithy/core/client";
|
|
4
|
+
import { parseUrl } from "@smithy/core/protocols";
|
|
5
|
+
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
7
6
|
import { defaultSocialMessagingHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
7
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
8
|
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/core/client";
|
|
3
|
+
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/core/protocols";
|
|
4
4
|
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
6
6
|
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
@@ -152,6 +152,7 @@ const _mI = "mediaId";
|
|
|
152
152
|
const _mIe = "messageId";
|
|
153
153
|
const _mLT = "metaLibraryTemplate";
|
|
154
154
|
const _mLTe = "metaLibraryTemplates";
|
|
155
|
+
const _mMOS = "marketingMessagesOnboardingStatus";
|
|
155
156
|
const _mO = "metadataOnly";
|
|
156
157
|
const _mPNI = "metaPhoneNumberId";
|
|
157
158
|
const _mR = "maxResults";
|
|
@@ -192,6 +193,7 @@ const _tI = "templateIndustry";
|
|
|
192
193
|
const _tIe = "templateId";
|
|
193
194
|
const _tK = "tagKeys";
|
|
194
195
|
const _tL = "templateLanguage";
|
|
196
|
+
const _tLC = "templateLanguageCode";
|
|
195
197
|
const _tN = "templateName";
|
|
196
198
|
const _tQS = "templateQualityScore";
|
|
197
199
|
const _tS = "templateStatus";
|
|
@@ -284,8 +286,8 @@ export var AssociateWhatsAppBusinessAccountInput$ = [3, n0, _AWABAI,
|
|
|
284
286
|
];
|
|
285
287
|
export var AssociateWhatsAppBusinessAccountOutput$ = [3, n0, _AWABAO,
|
|
286
288
|
0,
|
|
287
|
-
[_sCR, _sCt],
|
|
288
|
-
[[() => WhatsAppSignupCallbackResult$, 0], 1]
|
|
289
|
+
[_sCR, _sCt, _lWABAI],
|
|
290
|
+
[[() => WhatsAppSignupCallbackResult$, 0], 1, 0]
|
|
289
291
|
];
|
|
290
292
|
export var CreateWhatsAppMessageTemplateFromLibraryInput$ = [3, n0, _CWAMTFLI,
|
|
291
293
|
0,
|
|
@@ -379,8 +381,8 @@ export var GetWhatsAppMessageMediaOutput$ = [3, n0, _GWAMMO,
|
|
|
379
381
|
];
|
|
380
382
|
export var GetWhatsAppMessageTemplateInput$ = [3, n0, _GWAMTI,
|
|
381
383
|
0,
|
|
382
|
-
[_mTI,
|
|
383
|
-
[[0, { [_hQ]: _mTI }], [0, { [_hQ]:
|
|
384
|
+
[_i, _mTI, _tN, _tLC],
|
|
385
|
+
[[0, { [_hQ]: _i }], [0, { [_hQ]: _mTI }], [0, { [_hQ]: _tN }], [0, { [_hQ]: _tLC }]], 1
|
|
384
386
|
];
|
|
385
387
|
export var GetWhatsAppMessageTemplateOutput$ = [3, n0, _GWAMTO,
|
|
386
388
|
0,
|
|
@@ -404,8 +406,8 @@ export var LibraryTemplateButtonList$ = [3, n0, _LTBL,
|
|
|
404
406
|
];
|
|
405
407
|
export var LinkedWhatsAppBusinessAccount$ = [3, n0, _LWABA,
|
|
406
408
|
0,
|
|
407
|
-
[_ar, _i, _wI, _rS, _lD, _wN, _eD, _pNh],
|
|
408
|
-
[0, 0, 0, 0, 4, 0, () => WhatsAppBusinessAccountEventDestinations, () => WhatsAppPhoneNumberSummaryList], 8
|
|
409
|
+
[_ar, _i, _wI, _rS, _lD, _wN, _eD, _pNh, _mMOS],
|
|
410
|
+
[0, 0, 0, 0, 4, 0, () => WhatsAppBusinessAccountEventDestinations, () => WhatsAppPhoneNumberSummaryList, 0], 8
|
|
409
411
|
];
|
|
410
412
|
export var LinkedWhatsAppBusinessAccountIdMetaData$ = [3, n0, _LWABAIMD,
|
|
411
413
|
0,
|
|
@@ -414,8 +416,8 @@ export var LinkedWhatsAppBusinessAccountIdMetaData$ = [3, n0, _LWABAIMD,
|
|
|
414
416
|
];
|
|
415
417
|
export var LinkedWhatsAppBusinessAccountSummary$ = [3, n0, _LWABAS,
|
|
416
418
|
0,
|
|
417
|
-
[_ar, _i, _wI, _rS, _lD, _wN, _eD],
|
|
418
|
-
[0, 0, 0, 0, 4, 0, () => WhatsAppBusinessAccountEventDestinations], 7
|
|
419
|
+
[_ar, _i, _wI, _rS, _lD, _wN, _eD, _mMOS],
|
|
420
|
+
[0, 0, 0, 0, 4, 0, () => WhatsAppBusinessAccountEventDestinations, 0], 7
|
|
419
421
|
];
|
|
420
422
|
export var ListLinkedWhatsAppBusinessAccountsInput$ = [3, n0, _LLWABAI,
|
|
421
423
|
0,
|
|
@@ -539,8 +541,8 @@ export var UntagResourceOutput$ = [3, n0, _URO,
|
|
|
539
541
|
];
|
|
540
542
|
export var UpdateWhatsAppMessageTemplateInput$ = [3, n0, _UWAMTI,
|
|
541
543
|
0,
|
|
542
|
-
[_i, _mTI, _pF, _tC, _tCe, _cULTOO],
|
|
543
|
-
[0, 0, 0, 0, 21, 2],
|
|
544
|
+
[_i, _mTI, _tN, _tLC, _pF, _tC, _tCe, _cULTOO],
|
|
545
|
+
[0, 0, 0, 0, 0, 0, 21, 2], 1
|
|
544
546
|
];
|
|
545
547
|
export var UpdateWhatsAppMessageTemplateOutput$ = [3, n0, _UWAMTO,
|
|
546
548
|
0,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
2
|
import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
-
import { type
|
|
4
|
-
import { type
|
|
5
|
-
import { type
|
|
6
|
-
import type
|
|
7
|
-
import { type
|
|
3
|
+
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
|
|
4
|
+
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
|
|
5
|
+
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
6
|
+
import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
7
|
+
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
|
|
8
8
|
import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import type { AssociateWhatsAppBusinessAccountCommandInput, AssociateWhatsAppBusinessAccountCommandOutput } from "./commands/AssociateWhatsAppBusinessAccountCommand";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { AssociateWhatsAppBusinessAccountInput, AssociateWhatsAppBusinessAccountOutput } from "../models/models_0";
|
|
4
4
|
import type { ServiceInputTypes, ServiceOutputTypes, SocialMessagingClientResolvedConfig } from "../SocialMessagingClient";
|
|
@@ -22,9 +22,11 @@ export interface AssociateWhatsAppBusinessAccountCommandInput extends AssociateW
|
|
|
22
22
|
export interface AssociateWhatsAppBusinessAccountCommandOutput extends AssociateWhatsAppBusinessAccountOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const AssociateWhatsAppBusinessAccountCommand_base: {
|
|
25
|
-
new (input: AssociateWhatsAppBusinessAccountCommandInput): import("@smithy/
|
|
26
|
-
new (...[input]: [] | [AssociateWhatsAppBusinessAccountCommandInput]): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: AssociateWhatsAppBusinessAccountCommandInput): import("@smithy/core/client").CommandImpl<AssociateWhatsAppBusinessAccountCommandInput, AssociateWhatsAppBusinessAccountCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [AssociateWhatsAppBusinessAccountCommandInput]): import("@smithy/core/client").CommandImpl<AssociateWhatsAppBusinessAccountCommandInput, AssociateWhatsAppBusinessAccountCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>This is only used through the Amazon Web Services console during sign-up to associate your WhatsApp Business Account to your Amazon Web Services account.</p>
|
|
@@ -100,6 +102,7 @@ declare const AssociateWhatsAppBusinessAccountCommand_base: {
|
|
|
100
102
|
* // },
|
|
101
103
|
* // },
|
|
102
104
|
* // statusCode: Number("int"),
|
|
105
|
+
* // linkedWhatsAppBusinessAccountId: "STRING_VALUE",
|
|
103
106
|
* // };
|
|
104
107
|
*
|
|
105
108
|
* ```
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { CreateWhatsAppMessageTemplateInput, CreateWhatsAppMessageTemplateOutput } from "../models/models_0";
|
|
4
4
|
import type { ServiceInputTypes, ServiceOutputTypes, SocialMessagingClientResolvedConfig } from "../SocialMessagingClient";
|
|
@@ -22,9 +22,11 @@ export interface CreateWhatsAppMessageTemplateCommandInput extends CreateWhatsAp
|
|
|
22
22
|
export interface CreateWhatsAppMessageTemplateCommandOutput extends CreateWhatsAppMessageTemplateOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const CreateWhatsAppMessageTemplateCommand_base: {
|
|
25
|
-
new (input: CreateWhatsAppMessageTemplateCommandInput): import("@smithy/
|
|
26
|
-
new (input: CreateWhatsAppMessageTemplateCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: CreateWhatsAppMessageTemplateCommandInput): import("@smithy/core/client").CommandImpl<CreateWhatsAppMessageTemplateCommandInput, CreateWhatsAppMessageTemplateCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateWhatsAppMessageTemplateCommandInput): import("@smithy/core/client").CommandImpl<CreateWhatsAppMessageTemplateCommandInput, CreateWhatsAppMessageTemplateCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Creates a new WhatsApp message template from a custom definition.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { CreateWhatsAppMessageTemplateFromLibraryInput, CreateWhatsAppMessageTemplateFromLibraryOutput } from "../models/models_0";
|
|
4
4
|
import type { ServiceInputTypes, ServiceOutputTypes, SocialMessagingClientResolvedConfig } from "../SocialMessagingClient";
|
|
@@ -22,9 +22,11 @@ export interface CreateWhatsAppMessageTemplateFromLibraryCommandInput extends Cr
|
|
|
22
22
|
export interface CreateWhatsAppMessageTemplateFromLibraryCommandOutput extends CreateWhatsAppMessageTemplateFromLibraryOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const CreateWhatsAppMessageTemplateFromLibraryCommand_base: {
|
|
25
|
-
new (input: CreateWhatsAppMessageTemplateFromLibraryCommandInput): import("@smithy/
|
|
26
|
-
new (input: CreateWhatsAppMessageTemplateFromLibraryCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: CreateWhatsAppMessageTemplateFromLibraryCommandInput): import("@smithy/core/client").CommandImpl<CreateWhatsAppMessageTemplateFromLibraryCommandInput, CreateWhatsAppMessageTemplateFromLibraryCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateWhatsAppMessageTemplateFromLibraryCommandInput): import("@smithy/core/client").CommandImpl<CreateWhatsAppMessageTemplateFromLibraryCommandInput, CreateWhatsAppMessageTemplateFromLibraryCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Creates a new WhatsApp message template using a template from Meta's template library.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { CreateWhatsAppMessageTemplateMediaInput, CreateWhatsAppMessageTemplateMediaOutput } from "../models/models_0";
|
|
4
4
|
import type { ServiceInputTypes, ServiceOutputTypes, SocialMessagingClientResolvedConfig } from "../SocialMessagingClient";
|
|
@@ -22,9 +22,11 @@ export interface CreateWhatsAppMessageTemplateMediaCommandInput extends CreateWh
|
|
|
22
22
|
export interface CreateWhatsAppMessageTemplateMediaCommandOutput extends CreateWhatsAppMessageTemplateMediaOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const CreateWhatsAppMessageTemplateMediaCommand_base: {
|
|
25
|
-
new (input: CreateWhatsAppMessageTemplateMediaCommandInput): import("@smithy/
|
|
26
|
-
new (input: CreateWhatsAppMessageTemplateMediaCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: CreateWhatsAppMessageTemplateMediaCommandInput): import("@smithy/core/client").CommandImpl<CreateWhatsAppMessageTemplateMediaCommandInput, CreateWhatsAppMessageTemplateMediaCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateWhatsAppMessageTemplateMediaCommandInput): import("@smithy/core/client").CommandImpl<CreateWhatsAppMessageTemplateMediaCommandInput, CreateWhatsAppMessageTemplateMediaCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Uploads media for use in a WhatsApp message template.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { DeleteWhatsAppMessageMediaInput, DeleteWhatsAppMessageMediaOutput } from "../models/models_0";
|
|
4
4
|
import type { ServiceInputTypes, ServiceOutputTypes, SocialMessagingClientResolvedConfig } from "../SocialMessagingClient";
|
|
@@ -22,9 +22,11 @@ export interface DeleteWhatsAppMessageMediaCommandInput extends DeleteWhatsAppMe
|
|
|
22
22
|
export interface DeleteWhatsAppMessageMediaCommandOutput extends DeleteWhatsAppMessageMediaOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const DeleteWhatsAppMessageMediaCommand_base: {
|
|
25
|
-
new (input: DeleteWhatsAppMessageMediaCommandInput): import("@smithy/
|
|
26
|
-
new (input: DeleteWhatsAppMessageMediaCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: DeleteWhatsAppMessageMediaCommandInput): import("@smithy/core/client").CommandImpl<DeleteWhatsAppMessageMediaCommandInput, DeleteWhatsAppMessageMediaCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteWhatsAppMessageMediaCommandInput): import("@smithy/core/client").CommandImpl<DeleteWhatsAppMessageMediaCommandInput, DeleteWhatsAppMessageMediaCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Delete a media object from the WhatsApp service. If the object is still in an Amazon S3 bucket you should delete it from there too.</p>
|