@aws-sdk/client-socialmessaging 3.1076.0 → 3.1078.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +42 -315
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/AssociateWhatsAppBusinessAccountCommand.js +2 -14
- package/dist-es/commands/CreateWhatsAppFlowCommand.js +2 -14
- package/dist-es/commands/CreateWhatsAppMessageTemplateCommand.js +2 -14
- package/dist-es/commands/CreateWhatsAppMessageTemplateFromLibraryCommand.js +2 -14
- package/dist-es/commands/CreateWhatsAppMessageTemplateMediaCommand.js +2 -14
- package/dist-es/commands/DeleteWhatsAppFlowCommand.js +2 -14
- package/dist-es/commands/DeleteWhatsAppMessageMediaCommand.js +2 -14
- package/dist-es/commands/DeleteWhatsAppMessageTemplateCommand.js +2 -14
- package/dist-es/commands/DeprecateWhatsAppFlowCommand.js +2 -14
- package/dist-es/commands/DisassociateWhatsAppBusinessAccountCommand.js +2 -14
- package/dist-es/commands/GetLinkedWhatsAppBusinessAccountCommand.js +2 -14
- package/dist-es/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.js +2 -14
- package/dist-es/commands/GetWhatsAppFlowCommand.js +2 -14
- package/dist-es/commands/GetWhatsAppFlowPreviewCommand.js +2 -14
- package/dist-es/commands/GetWhatsAppMessageMediaCommand.js +2 -14
- package/dist-es/commands/GetWhatsAppMessageTemplateCommand.js +2 -14
- package/dist-es/commands/ListLinkedWhatsAppBusinessAccountsCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/ListWhatsAppFlowAssetsCommand.js +2 -14
- package/dist-es/commands/ListWhatsAppFlowsCommand.js +2 -14
- package/dist-es/commands/ListWhatsAppMessageTemplatesCommand.js +2 -14
- package/dist-es/commands/ListWhatsAppTemplateLibraryCommand.js +2 -14
- package/dist-es/commands/PostWhatsAppMessageMediaCommand.js +2 -14
- package/dist-es/commands/PublishWhatsAppFlowCommand.js +2 -14
- package/dist-es/commands/PutWhatsAppBusinessAccountEventDestinationsCommand.js +2 -14
- package/dist-es/commands/SendWhatsAppMessageCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/commands/UpdateWhatsAppFlowAssetsCommand.js +2 -14
- package/dist-es/commands/UpdateWhatsAppFlowCommand.js +2 -14
- package/dist-es/commands/UpdateWhatsAppMessageTemplateCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/AssociateWhatsAppBusinessAccountCommand.d.ts +3 -8
- package/dist-types/commands/CreateWhatsAppFlowCommand.d.ts +3 -8
- package/dist-types/commands/CreateWhatsAppMessageTemplateCommand.d.ts +3 -8
- package/dist-types/commands/CreateWhatsAppMessageTemplateFromLibraryCommand.d.ts +3 -8
- package/dist-types/commands/CreateWhatsAppMessageTemplateMediaCommand.d.ts +3 -8
- package/dist-types/commands/DeleteWhatsAppFlowCommand.d.ts +3 -8
- package/dist-types/commands/DeleteWhatsAppMessageMediaCommand.d.ts +3 -8
- package/dist-types/commands/DeleteWhatsAppMessageTemplateCommand.d.ts +3 -8
- package/dist-types/commands/DeprecateWhatsAppFlowCommand.d.ts +3 -8
- package/dist-types/commands/DisassociateWhatsAppBusinessAccountCommand.d.ts +3 -8
- package/dist-types/commands/GetLinkedWhatsAppBusinessAccountCommand.d.ts +3 -8
- package/dist-types/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.d.ts +3 -8
- package/dist-types/commands/GetWhatsAppFlowCommand.d.ts +3 -8
- package/dist-types/commands/GetWhatsAppFlowPreviewCommand.d.ts +3 -8
- package/dist-types/commands/GetWhatsAppMessageMediaCommand.d.ts +3 -8
- package/dist-types/commands/GetWhatsAppMessageTemplateCommand.d.ts +3 -8
- package/dist-types/commands/ListLinkedWhatsAppBusinessAccountsCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/ListWhatsAppFlowAssetsCommand.d.ts +3 -8
- package/dist-types/commands/ListWhatsAppFlowsCommand.d.ts +3 -8
- package/dist-types/commands/ListWhatsAppMessageTemplatesCommand.d.ts +3 -8
- package/dist-types/commands/ListWhatsAppTemplateLibraryCommand.d.ts +3 -8
- package/dist-types/commands/PostWhatsAppMessageMediaCommand.d.ts +3 -8
- package/dist-types/commands/PublishWhatsAppFlowCommand.d.ts +3 -8
- package/dist-types/commands/PutWhatsAppBusinessAccountEventDestinationsCommand.d.ts +3 -8
- package/dist-types/commands/SendWhatsAppMessageCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateWhatsAppFlowAssetsCommand.d.ts +3 -8
- package/dist-types/commands/UpdateWhatsAppFlowCommand.d.ts +3 -8
- package/dist-types/commands/UpdateWhatsAppMessageTemplateCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/AssociateWhatsAppBusinessAccountCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateWhatsAppFlowCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateWhatsAppMessageTemplateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateWhatsAppMessageTemplateFromLibraryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateWhatsAppMessageTemplateMediaCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteWhatsAppFlowCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteWhatsAppMessageMediaCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteWhatsAppMessageTemplateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeprecateWhatsAppFlowCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DisassociateWhatsAppBusinessAccountCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetLinkedWhatsAppBusinessAccountCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetWhatsAppFlowCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetWhatsAppFlowPreviewCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetWhatsAppMessageMediaCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetWhatsAppMessageTemplateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListLinkedWhatsAppBusinessAccountsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListWhatsAppFlowAssetsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListWhatsAppFlowsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListWhatsAppMessageTemplatesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListWhatsAppTemplateLibraryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PostWhatsAppMessageMediaCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PublishWhatsAppFlowCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutWhatsAppBusinessAccountEventDestinationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SendWhatsAppMessageCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateWhatsAppFlowAssetsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateWhatsAppFlowCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateWhatsAppMessageTemplateCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
3
|
-
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client,
|
|
4
|
-
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
|
|
4
|
+
const { Command: $Command } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = $Command;
|
|
5
6
|
exports.__Client = Client;
|
|
6
7
|
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
8
|
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
|
|
|
10
11
|
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
12
|
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
13
|
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
-
const { toUtf8, fromUtf8, toBase64, fromBase64,
|
|
14
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
15
|
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
16
|
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
17
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
16
18
|
|
|
17
19
|
const defaultSocialMessagingHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
20
|
return {
|
|
@@ -67,7 +69,7 @@ const commonParams = {
|
|
|
67
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
68
70
|
};
|
|
69
71
|
|
|
70
|
-
var version = "3.
|
|
72
|
+
var version = "3.1077.0";
|
|
71
73
|
var packageInfo = {
|
|
72
74
|
version: version};
|
|
73
75
|
|
|
@@ -1204,6 +1206,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
1204
1206
|
serviceTarget: "SocialMessaging",
|
|
1205
1207
|
},
|
|
1206
1208
|
serviceId: config?.serviceId ?? "SocialMessaging",
|
|
1209
|
+
sha256: config?.sha256 ?? Sha256,
|
|
1207
1210
|
urlParser: config?.urlParser ?? parseUrl,
|
|
1208
1211
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
1209
1212
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -1237,7 +1240,6 @@ const getRuntimeConfig = (config) => {
|
|
|
1237
1240
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
1238
1241
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
1239
1242
|
}, config),
|
|
1240
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
1241
1243
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
1242
1244
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1243
1245
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1325,376 +1327,101 @@ class SocialMessagingClient extends Client {
|
|
|
1325
1327
|
}
|
|
1326
1328
|
}
|
|
1327
1329
|
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
})
|
|
1334
|
-
.s("SocialMessaging", "AssociateWhatsAppBusinessAccount", {})
|
|
1335
|
-
.n("SocialMessagingClient", "AssociateWhatsAppBusinessAccountCommand")
|
|
1336
|
-
.sc(AssociateWhatsAppBusinessAccount$)
|
|
1337
|
-
.build() {
|
|
1330
|
+
const command = makeBuilder(commonParams, "SocialMessaging", "SocialMessagingClient", getEndpointPlugin);
|
|
1331
|
+
const _ep0 = {};
|
|
1332
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
1333
|
+
|
|
1334
|
+
class AssociateWhatsAppBusinessAccountCommand extends command(_ep0, _mw0, "AssociateWhatsAppBusinessAccount", AssociateWhatsAppBusinessAccount$) {
|
|
1338
1335
|
}
|
|
1339
1336
|
|
|
1340
|
-
class CreateWhatsAppFlowCommand extends
|
|
1341
|
-
.classBuilder()
|
|
1342
|
-
.ep(commonParams)
|
|
1343
|
-
.m(function (Command, cs, config, o) {
|
|
1344
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1345
|
-
})
|
|
1346
|
-
.s("SocialMessaging", "CreateWhatsAppFlow", {})
|
|
1347
|
-
.n("SocialMessagingClient", "CreateWhatsAppFlowCommand")
|
|
1348
|
-
.sc(CreateWhatsAppFlow$)
|
|
1349
|
-
.build() {
|
|
1337
|
+
class CreateWhatsAppFlowCommand extends command(_ep0, _mw0, "CreateWhatsAppFlow", CreateWhatsAppFlow$) {
|
|
1350
1338
|
}
|
|
1351
1339
|
|
|
1352
|
-
class CreateWhatsAppMessageTemplateCommand extends
|
|
1353
|
-
.classBuilder()
|
|
1354
|
-
.ep(commonParams)
|
|
1355
|
-
.m(function (Command, cs, config, o) {
|
|
1356
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1357
|
-
})
|
|
1358
|
-
.s("SocialMessaging", "CreateWhatsAppMessageTemplate", {})
|
|
1359
|
-
.n("SocialMessagingClient", "CreateWhatsAppMessageTemplateCommand")
|
|
1360
|
-
.sc(CreateWhatsAppMessageTemplate$)
|
|
1361
|
-
.build() {
|
|
1340
|
+
class CreateWhatsAppMessageTemplateCommand extends command(_ep0, _mw0, "CreateWhatsAppMessageTemplate", CreateWhatsAppMessageTemplate$) {
|
|
1362
1341
|
}
|
|
1363
1342
|
|
|
1364
|
-
class CreateWhatsAppMessageTemplateFromLibraryCommand extends
|
|
1365
|
-
.classBuilder()
|
|
1366
|
-
.ep(commonParams)
|
|
1367
|
-
.m(function (Command, cs, config, o) {
|
|
1368
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1369
|
-
})
|
|
1370
|
-
.s("SocialMessaging", "CreateWhatsAppMessageTemplateFromLibrary", {})
|
|
1371
|
-
.n("SocialMessagingClient", "CreateWhatsAppMessageTemplateFromLibraryCommand")
|
|
1372
|
-
.sc(CreateWhatsAppMessageTemplateFromLibrary$)
|
|
1373
|
-
.build() {
|
|
1343
|
+
class CreateWhatsAppMessageTemplateFromLibraryCommand extends command(_ep0, _mw0, "CreateWhatsAppMessageTemplateFromLibrary", CreateWhatsAppMessageTemplateFromLibrary$) {
|
|
1374
1344
|
}
|
|
1375
1345
|
|
|
1376
|
-
class CreateWhatsAppMessageTemplateMediaCommand extends
|
|
1377
|
-
.classBuilder()
|
|
1378
|
-
.ep(commonParams)
|
|
1379
|
-
.m(function (Command, cs, config, o) {
|
|
1380
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1381
|
-
})
|
|
1382
|
-
.s("SocialMessaging", "CreateWhatsAppMessageTemplateMedia", {})
|
|
1383
|
-
.n("SocialMessagingClient", "CreateWhatsAppMessageTemplateMediaCommand")
|
|
1384
|
-
.sc(CreateWhatsAppMessageTemplateMedia$)
|
|
1385
|
-
.build() {
|
|
1346
|
+
class CreateWhatsAppMessageTemplateMediaCommand extends command(_ep0, _mw0, "CreateWhatsAppMessageTemplateMedia", CreateWhatsAppMessageTemplateMedia$) {
|
|
1386
1347
|
}
|
|
1387
1348
|
|
|
1388
|
-
class DeleteWhatsAppFlowCommand extends
|
|
1389
|
-
.classBuilder()
|
|
1390
|
-
.ep(commonParams)
|
|
1391
|
-
.m(function (Command, cs, config, o) {
|
|
1392
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1393
|
-
})
|
|
1394
|
-
.s("SocialMessaging", "DeleteWhatsAppFlow", {})
|
|
1395
|
-
.n("SocialMessagingClient", "DeleteWhatsAppFlowCommand")
|
|
1396
|
-
.sc(DeleteWhatsAppFlow$)
|
|
1397
|
-
.build() {
|
|
1349
|
+
class DeleteWhatsAppFlowCommand extends command(_ep0, _mw0, "DeleteWhatsAppFlow", DeleteWhatsAppFlow$) {
|
|
1398
1350
|
}
|
|
1399
1351
|
|
|
1400
|
-
class DeleteWhatsAppMessageMediaCommand extends
|
|
1401
|
-
.classBuilder()
|
|
1402
|
-
.ep(commonParams)
|
|
1403
|
-
.m(function (Command, cs, config, o) {
|
|
1404
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1405
|
-
})
|
|
1406
|
-
.s("SocialMessaging", "DeleteWhatsAppMessageMedia", {})
|
|
1407
|
-
.n("SocialMessagingClient", "DeleteWhatsAppMessageMediaCommand")
|
|
1408
|
-
.sc(DeleteWhatsAppMessageMedia$)
|
|
1409
|
-
.build() {
|
|
1352
|
+
class DeleteWhatsAppMessageMediaCommand extends command(_ep0, _mw0, "DeleteWhatsAppMessageMedia", DeleteWhatsAppMessageMedia$) {
|
|
1410
1353
|
}
|
|
1411
1354
|
|
|
1412
|
-
class DeleteWhatsAppMessageTemplateCommand extends
|
|
1413
|
-
.classBuilder()
|
|
1414
|
-
.ep(commonParams)
|
|
1415
|
-
.m(function (Command, cs, config, o) {
|
|
1416
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1417
|
-
})
|
|
1418
|
-
.s("SocialMessaging", "DeleteWhatsAppMessageTemplate", {})
|
|
1419
|
-
.n("SocialMessagingClient", "DeleteWhatsAppMessageTemplateCommand")
|
|
1420
|
-
.sc(DeleteWhatsAppMessageTemplate$)
|
|
1421
|
-
.build() {
|
|
1355
|
+
class DeleteWhatsAppMessageTemplateCommand extends command(_ep0, _mw0, "DeleteWhatsAppMessageTemplate", DeleteWhatsAppMessageTemplate$) {
|
|
1422
1356
|
}
|
|
1423
1357
|
|
|
1424
|
-
class DeprecateWhatsAppFlowCommand extends
|
|
1425
|
-
.classBuilder()
|
|
1426
|
-
.ep(commonParams)
|
|
1427
|
-
.m(function (Command, cs, config, o) {
|
|
1428
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1429
|
-
})
|
|
1430
|
-
.s("SocialMessaging", "DeprecateWhatsAppFlow", {})
|
|
1431
|
-
.n("SocialMessagingClient", "DeprecateWhatsAppFlowCommand")
|
|
1432
|
-
.sc(DeprecateWhatsAppFlow$)
|
|
1433
|
-
.build() {
|
|
1358
|
+
class DeprecateWhatsAppFlowCommand extends command(_ep0, _mw0, "DeprecateWhatsAppFlow", DeprecateWhatsAppFlow$) {
|
|
1434
1359
|
}
|
|
1435
1360
|
|
|
1436
|
-
class DisassociateWhatsAppBusinessAccountCommand extends
|
|
1437
|
-
.classBuilder()
|
|
1438
|
-
.ep(commonParams)
|
|
1439
|
-
.m(function (Command, cs, config, o) {
|
|
1440
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1441
|
-
})
|
|
1442
|
-
.s("SocialMessaging", "DisassociateWhatsAppBusinessAccount", {})
|
|
1443
|
-
.n("SocialMessagingClient", "DisassociateWhatsAppBusinessAccountCommand")
|
|
1444
|
-
.sc(DisassociateWhatsAppBusinessAccount$)
|
|
1445
|
-
.build() {
|
|
1361
|
+
class DisassociateWhatsAppBusinessAccountCommand extends command(_ep0, _mw0, "DisassociateWhatsAppBusinessAccount", DisassociateWhatsAppBusinessAccount$) {
|
|
1446
1362
|
}
|
|
1447
1363
|
|
|
1448
|
-
class GetLinkedWhatsAppBusinessAccountCommand extends
|
|
1449
|
-
.classBuilder()
|
|
1450
|
-
.ep(commonParams)
|
|
1451
|
-
.m(function (Command, cs, config, o) {
|
|
1452
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1453
|
-
})
|
|
1454
|
-
.s("SocialMessaging", "GetLinkedWhatsAppBusinessAccount", {})
|
|
1455
|
-
.n("SocialMessagingClient", "GetLinkedWhatsAppBusinessAccountCommand")
|
|
1456
|
-
.sc(GetLinkedWhatsAppBusinessAccount$)
|
|
1457
|
-
.build() {
|
|
1364
|
+
class GetLinkedWhatsAppBusinessAccountCommand extends command(_ep0, _mw0, "GetLinkedWhatsAppBusinessAccount", GetLinkedWhatsAppBusinessAccount$) {
|
|
1458
1365
|
}
|
|
1459
1366
|
|
|
1460
|
-
class GetLinkedWhatsAppBusinessAccountPhoneNumberCommand extends
|
|
1461
|
-
.classBuilder()
|
|
1462
|
-
.ep(commonParams)
|
|
1463
|
-
.m(function (Command, cs, config, o) {
|
|
1464
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1465
|
-
})
|
|
1466
|
-
.s("SocialMessaging", "GetLinkedWhatsAppBusinessAccountPhoneNumber", {})
|
|
1467
|
-
.n("SocialMessagingClient", "GetLinkedWhatsAppBusinessAccountPhoneNumberCommand")
|
|
1468
|
-
.sc(GetLinkedWhatsAppBusinessAccountPhoneNumber$)
|
|
1469
|
-
.build() {
|
|
1367
|
+
class GetLinkedWhatsAppBusinessAccountPhoneNumberCommand extends command(_ep0, _mw0, "GetLinkedWhatsAppBusinessAccountPhoneNumber", GetLinkedWhatsAppBusinessAccountPhoneNumber$) {
|
|
1470
1368
|
}
|
|
1471
1369
|
|
|
1472
|
-
class GetWhatsAppFlowCommand extends
|
|
1473
|
-
.classBuilder()
|
|
1474
|
-
.ep(commonParams)
|
|
1475
|
-
.m(function (Command, cs, config, o) {
|
|
1476
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1477
|
-
})
|
|
1478
|
-
.s("SocialMessaging", "GetWhatsAppFlow", {})
|
|
1479
|
-
.n("SocialMessagingClient", "GetWhatsAppFlowCommand")
|
|
1480
|
-
.sc(GetWhatsAppFlow$)
|
|
1481
|
-
.build() {
|
|
1370
|
+
class GetWhatsAppFlowCommand extends command(_ep0, _mw0, "GetWhatsAppFlow", GetWhatsAppFlow$) {
|
|
1482
1371
|
}
|
|
1483
1372
|
|
|
1484
|
-
class GetWhatsAppFlowPreviewCommand extends
|
|
1485
|
-
.classBuilder()
|
|
1486
|
-
.ep(commonParams)
|
|
1487
|
-
.m(function (Command, cs, config, o) {
|
|
1488
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1489
|
-
})
|
|
1490
|
-
.s("SocialMessaging", "GetWhatsAppFlowPreview", {})
|
|
1491
|
-
.n("SocialMessagingClient", "GetWhatsAppFlowPreviewCommand")
|
|
1492
|
-
.sc(GetWhatsAppFlowPreview$)
|
|
1493
|
-
.build() {
|
|
1373
|
+
class GetWhatsAppFlowPreviewCommand extends command(_ep0, _mw0, "GetWhatsAppFlowPreview", GetWhatsAppFlowPreview$) {
|
|
1494
1374
|
}
|
|
1495
1375
|
|
|
1496
|
-
class GetWhatsAppMessageMediaCommand extends
|
|
1497
|
-
.classBuilder()
|
|
1498
|
-
.ep(commonParams)
|
|
1499
|
-
.m(function (Command, cs, config, o) {
|
|
1500
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1501
|
-
})
|
|
1502
|
-
.s("SocialMessaging", "GetWhatsAppMessageMedia", {})
|
|
1503
|
-
.n("SocialMessagingClient", "GetWhatsAppMessageMediaCommand")
|
|
1504
|
-
.sc(GetWhatsAppMessageMedia$)
|
|
1505
|
-
.build() {
|
|
1376
|
+
class GetWhatsAppMessageMediaCommand extends command(_ep0, _mw0, "GetWhatsAppMessageMedia", GetWhatsAppMessageMedia$) {
|
|
1506
1377
|
}
|
|
1507
1378
|
|
|
1508
|
-
class GetWhatsAppMessageTemplateCommand extends
|
|
1509
|
-
.classBuilder()
|
|
1510
|
-
.ep(commonParams)
|
|
1511
|
-
.m(function (Command, cs, config, o) {
|
|
1512
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1513
|
-
})
|
|
1514
|
-
.s("SocialMessaging", "GetWhatsAppMessageTemplate", {})
|
|
1515
|
-
.n("SocialMessagingClient", "GetWhatsAppMessageTemplateCommand")
|
|
1516
|
-
.sc(GetWhatsAppMessageTemplate$)
|
|
1517
|
-
.build() {
|
|
1379
|
+
class GetWhatsAppMessageTemplateCommand extends command(_ep0, _mw0, "GetWhatsAppMessageTemplate", GetWhatsAppMessageTemplate$) {
|
|
1518
1380
|
}
|
|
1519
1381
|
|
|
1520
|
-
class ListLinkedWhatsAppBusinessAccountsCommand extends
|
|
1521
|
-
.classBuilder()
|
|
1522
|
-
.ep(commonParams)
|
|
1523
|
-
.m(function (Command, cs, config, o) {
|
|
1524
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1525
|
-
})
|
|
1526
|
-
.s("SocialMessaging", "ListLinkedWhatsAppBusinessAccounts", {})
|
|
1527
|
-
.n("SocialMessagingClient", "ListLinkedWhatsAppBusinessAccountsCommand")
|
|
1528
|
-
.sc(ListLinkedWhatsAppBusinessAccounts$)
|
|
1529
|
-
.build() {
|
|
1382
|
+
class ListLinkedWhatsAppBusinessAccountsCommand extends command(_ep0, _mw0, "ListLinkedWhatsAppBusinessAccounts", ListLinkedWhatsAppBusinessAccounts$) {
|
|
1530
1383
|
}
|
|
1531
1384
|
|
|
1532
|
-
class ListTagsForResourceCommand extends
|
|
1533
|
-
.classBuilder()
|
|
1534
|
-
.ep(commonParams)
|
|
1535
|
-
.m(function (Command, cs, config, o) {
|
|
1536
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1537
|
-
})
|
|
1538
|
-
.s("SocialMessaging", "ListTagsForResource", {})
|
|
1539
|
-
.n("SocialMessagingClient", "ListTagsForResourceCommand")
|
|
1540
|
-
.sc(ListTagsForResource$)
|
|
1541
|
-
.build() {
|
|
1385
|
+
class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
1542
1386
|
}
|
|
1543
1387
|
|
|
1544
|
-
class ListWhatsAppFlowAssetsCommand extends
|
|
1545
|
-
.classBuilder()
|
|
1546
|
-
.ep(commonParams)
|
|
1547
|
-
.m(function (Command, cs, config, o) {
|
|
1548
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1549
|
-
})
|
|
1550
|
-
.s("SocialMessaging", "ListWhatsAppFlowAssets", {})
|
|
1551
|
-
.n("SocialMessagingClient", "ListWhatsAppFlowAssetsCommand")
|
|
1552
|
-
.sc(ListWhatsAppFlowAssets$)
|
|
1553
|
-
.build() {
|
|
1388
|
+
class ListWhatsAppFlowAssetsCommand extends command(_ep0, _mw0, "ListWhatsAppFlowAssets", ListWhatsAppFlowAssets$) {
|
|
1554
1389
|
}
|
|
1555
1390
|
|
|
1556
|
-
class ListWhatsAppFlowsCommand extends
|
|
1557
|
-
.classBuilder()
|
|
1558
|
-
.ep(commonParams)
|
|
1559
|
-
.m(function (Command, cs, config, o) {
|
|
1560
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1561
|
-
})
|
|
1562
|
-
.s("SocialMessaging", "ListWhatsAppFlows", {})
|
|
1563
|
-
.n("SocialMessagingClient", "ListWhatsAppFlowsCommand")
|
|
1564
|
-
.sc(ListWhatsAppFlows$)
|
|
1565
|
-
.build() {
|
|
1391
|
+
class ListWhatsAppFlowsCommand extends command(_ep0, _mw0, "ListWhatsAppFlows", ListWhatsAppFlows$) {
|
|
1566
1392
|
}
|
|
1567
1393
|
|
|
1568
|
-
class ListWhatsAppMessageTemplatesCommand extends
|
|
1569
|
-
.classBuilder()
|
|
1570
|
-
.ep(commonParams)
|
|
1571
|
-
.m(function (Command, cs, config, o) {
|
|
1572
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1573
|
-
})
|
|
1574
|
-
.s("SocialMessaging", "ListWhatsAppMessageTemplates", {})
|
|
1575
|
-
.n("SocialMessagingClient", "ListWhatsAppMessageTemplatesCommand")
|
|
1576
|
-
.sc(ListWhatsAppMessageTemplates$)
|
|
1577
|
-
.build() {
|
|
1394
|
+
class ListWhatsAppMessageTemplatesCommand extends command(_ep0, _mw0, "ListWhatsAppMessageTemplates", ListWhatsAppMessageTemplates$) {
|
|
1578
1395
|
}
|
|
1579
1396
|
|
|
1580
|
-
class ListWhatsAppTemplateLibraryCommand extends
|
|
1581
|
-
.classBuilder()
|
|
1582
|
-
.ep(commonParams)
|
|
1583
|
-
.m(function (Command, cs, config, o) {
|
|
1584
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1585
|
-
})
|
|
1586
|
-
.s("SocialMessaging", "ListWhatsAppTemplateLibrary", {})
|
|
1587
|
-
.n("SocialMessagingClient", "ListWhatsAppTemplateLibraryCommand")
|
|
1588
|
-
.sc(ListWhatsAppTemplateLibrary$)
|
|
1589
|
-
.build() {
|
|
1397
|
+
class ListWhatsAppTemplateLibraryCommand extends command(_ep0, _mw0, "ListWhatsAppTemplateLibrary", ListWhatsAppTemplateLibrary$) {
|
|
1590
1398
|
}
|
|
1591
1399
|
|
|
1592
|
-
class PostWhatsAppMessageMediaCommand extends
|
|
1593
|
-
.classBuilder()
|
|
1594
|
-
.ep(commonParams)
|
|
1595
|
-
.m(function (Command, cs, config, o) {
|
|
1596
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1597
|
-
})
|
|
1598
|
-
.s("SocialMessaging", "PostWhatsAppMessageMedia", {})
|
|
1599
|
-
.n("SocialMessagingClient", "PostWhatsAppMessageMediaCommand")
|
|
1600
|
-
.sc(PostWhatsAppMessageMedia$)
|
|
1601
|
-
.build() {
|
|
1400
|
+
class PostWhatsAppMessageMediaCommand extends command(_ep0, _mw0, "PostWhatsAppMessageMedia", PostWhatsAppMessageMedia$) {
|
|
1602
1401
|
}
|
|
1603
1402
|
|
|
1604
|
-
class PublishWhatsAppFlowCommand extends
|
|
1605
|
-
.classBuilder()
|
|
1606
|
-
.ep(commonParams)
|
|
1607
|
-
.m(function (Command, cs, config, o) {
|
|
1608
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1609
|
-
})
|
|
1610
|
-
.s("SocialMessaging", "PublishWhatsAppFlow", {})
|
|
1611
|
-
.n("SocialMessagingClient", "PublishWhatsAppFlowCommand")
|
|
1612
|
-
.sc(PublishWhatsAppFlow$)
|
|
1613
|
-
.build() {
|
|
1403
|
+
class PublishWhatsAppFlowCommand extends command(_ep0, _mw0, "PublishWhatsAppFlow", PublishWhatsAppFlow$) {
|
|
1614
1404
|
}
|
|
1615
1405
|
|
|
1616
|
-
class PutWhatsAppBusinessAccountEventDestinationsCommand extends
|
|
1617
|
-
.classBuilder()
|
|
1618
|
-
.ep(commonParams)
|
|
1619
|
-
.m(function (Command, cs, config, o) {
|
|
1620
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1621
|
-
})
|
|
1622
|
-
.s("SocialMessaging", "PutWhatsAppBusinessAccountEventDestinations", {})
|
|
1623
|
-
.n("SocialMessagingClient", "PutWhatsAppBusinessAccountEventDestinationsCommand")
|
|
1624
|
-
.sc(PutWhatsAppBusinessAccountEventDestinations$)
|
|
1625
|
-
.build() {
|
|
1406
|
+
class PutWhatsAppBusinessAccountEventDestinationsCommand extends command(_ep0, _mw0, "PutWhatsAppBusinessAccountEventDestinations", PutWhatsAppBusinessAccountEventDestinations$) {
|
|
1626
1407
|
}
|
|
1627
1408
|
|
|
1628
|
-
class SendWhatsAppMessageCommand extends
|
|
1629
|
-
.classBuilder()
|
|
1630
|
-
.ep(commonParams)
|
|
1631
|
-
.m(function (Command, cs, config, o) {
|
|
1632
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1633
|
-
})
|
|
1634
|
-
.s("SocialMessaging", "SendWhatsAppMessage", {})
|
|
1635
|
-
.n("SocialMessagingClient", "SendWhatsAppMessageCommand")
|
|
1636
|
-
.sc(SendWhatsAppMessage$)
|
|
1637
|
-
.build() {
|
|
1409
|
+
class SendWhatsAppMessageCommand extends command(_ep0, _mw0, "SendWhatsAppMessage", SendWhatsAppMessage$) {
|
|
1638
1410
|
}
|
|
1639
1411
|
|
|
1640
|
-
class TagResourceCommand extends
|
|
1641
|
-
.classBuilder()
|
|
1642
|
-
.ep(commonParams)
|
|
1643
|
-
.m(function (Command, cs, config, o) {
|
|
1644
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1645
|
-
})
|
|
1646
|
-
.s("SocialMessaging", "TagResource", {})
|
|
1647
|
-
.n("SocialMessagingClient", "TagResourceCommand")
|
|
1648
|
-
.sc(TagResource$)
|
|
1649
|
-
.build() {
|
|
1412
|
+
class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
1650
1413
|
}
|
|
1651
1414
|
|
|
1652
|
-
class UntagResourceCommand extends
|
|
1653
|
-
.classBuilder()
|
|
1654
|
-
.ep(commonParams)
|
|
1655
|
-
.m(function (Command, cs, config, o) {
|
|
1656
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1657
|
-
})
|
|
1658
|
-
.s("SocialMessaging", "UntagResource", {})
|
|
1659
|
-
.n("SocialMessagingClient", "UntagResourceCommand")
|
|
1660
|
-
.sc(UntagResource$)
|
|
1661
|
-
.build() {
|
|
1415
|
+
class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
1662
1416
|
}
|
|
1663
1417
|
|
|
1664
|
-
class UpdateWhatsAppFlowAssetsCommand extends
|
|
1665
|
-
.classBuilder()
|
|
1666
|
-
.ep(commonParams)
|
|
1667
|
-
.m(function (Command, cs, config, o) {
|
|
1668
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1669
|
-
})
|
|
1670
|
-
.s("SocialMessaging", "UpdateWhatsAppFlowAssets", {})
|
|
1671
|
-
.n("SocialMessagingClient", "UpdateWhatsAppFlowAssetsCommand")
|
|
1672
|
-
.sc(UpdateWhatsAppFlowAssets$)
|
|
1673
|
-
.build() {
|
|
1418
|
+
class UpdateWhatsAppFlowAssetsCommand extends command(_ep0, _mw0, "UpdateWhatsAppFlowAssets", UpdateWhatsAppFlowAssets$) {
|
|
1674
1419
|
}
|
|
1675
1420
|
|
|
1676
|
-
class UpdateWhatsAppFlowCommand extends
|
|
1677
|
-
.classBuilder()
|
|
1678
|
-
.ep(commonParams)
|
|
1679
|
-
.m(function (Command, cs, config, o) {
|
|
1680
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1681
|
-
})
|
|
1682
|
-
.s("SocialMessaging", "UpdateWhatsAppFlow", {})
|
|
1683
|
-
.n("SocialMessagingClient", "UpdateWhatsAppFlowCommand")
|
|
1684
|
-
.sc(UpdateWhatsAppFlow$)
|
|
1685
|
-
.build() {
|
|
1421
|
+
class UpdateWhatsAppFlowCommand extends command(_ep0, _mw0, "UpdateWhatsAppFlow", UpdateWhatsAppFlow$) {
|
|
1686
1422
|
}
|
|
1687
1423
|
|
|
1688
|
-
class UpdateWhatsAppMessageTemplateCommand extends
|
|
1689
|
-
.classBuilder()
|
|
1690
|
-
.ep(commonParams)
|
|
1691
|
-
.m(function (Command, cs, config, o) {
|
|
1692
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1693
|
-
})
|
|
1694
|
-
.s("SocialMessaging", "UpdateWhatsAppMessageTemplate", {})
|
|
1695
|
-
.n("SocialMessagingClient", "UpdateWhatsAppMessageTemplateCommand")
|
|
1696
|
-
.sc(UpdateWhatsAppMessageTemplate$)
|
|
1697
|
-
.build() {
|
|
1424
|
+
class UpdateWhatsAppMessageTemplateCommand extends command(_ep0, _mw0, "UpdateWhatsAppMessageTemplate", UpdateWhatsAppMessageTemplate$) {
|
|
1698
1425
|
}
|
|
1699
1426
|
|
|
1700
1427
|
const paginateListLinkedWhatsAppBusinessAccounts = createPaginator(SocialMessagingClient, ListLinkedWhatsAppBusinessAccountsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
4
|
+
export const command = makeBuilder(commonParams, "SocialMessaging", "SocialMessagingClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {};
|
|
6
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { AssociateWhatsAppBusinessAccount$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class AssociateWhatsAppBusinessAccountCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SocialMessaging", "AssociateWhatsAppBusinessAccount", {})
|
|
13
|
-
.n("SocialMessagingClient", "AssociateWhatsAppBusinessAccountCommand")
|
|
14
|
-
.sc(AssociateWhatsAppBusinessAccount$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class AssociateWhatsAppBusinessAccountCommand extends command(_ep0, _mw0, "AssociateWhatsAppBusinessAccount", AssociateWhatsAppBusinessAccount$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateWhatsAppFlow$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateWhatsAppFlowCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SocialMessaging", "CreateWhatsAppFlow", {})
|
|
13
|
-
.n("SocialMessagingClient", "CreateWhatsAppFlowCommand")
|
|
14
|
-
.sc(CreateWhatsAppFlow$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateWhatsAppFlowCommand extends command(_ep0, _mw0, "CreateWhatsAppFlow", CreateWhatsAppFlow$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateWhatsAppMessageTemplate$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateWhatsAppMessageTemplateCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SocialMessaging", "CreateWhatsAppMessageTemplate", {})
|
|
13
|
-
.n("SocialMessagingClient", "CreateWhatsAppMessageTemplateCommand")
|
|
14
|
-
.sc(CreateWhatsAppMessageTemplate$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateWhatsAppMessageTemplateCommand extends command(_ep0, _mw0, "CreateWhatsAppMessageTemplate", CreateWhatsAppMessageTemplate$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateWhatsAppMessageTemplateFromLibrary$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateWhatsAppMessageTemplateFromLibraryCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SocialMessaging", "CreateWhatsAppMessageTemplateFromLibrary", {})
|
|
13
|
-
.n("SocialMessagingClient", "CreateWhatsAppMessageTemplateFromLibraryCommand")
|
|
14
|
-
.sc(CreateWhatsAppMessageTemplateFromLibrary$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateWhatsAppMessageTemplateFromLibraryCommand extends command(_ep0, _mw0, "CreateWhatsAppMessageTemplateFromLibrary", CreateWhatsAppMessageTemplateFromLibrary$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateWhatsAppMessageTemplateMedia$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateWhatsAppMessageTemplateMediaCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SocialMessaging", "CreateWhatsAppMessageTemplateMedia", {})
|
|
13
|
-
.n("SocialMessagingClient", "CreateWhatsAppMessageTemplateMediaCommand")
|
|
14
|
-
.sc(CreateWhatsAppMessageTemplateMedia$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateWhatsAppMessageTemplateMediaCommand extends command(_ep0, _mw0, "CreateWhatsAppMessageTemplateMedia", CreateWhatsAppMessageTemplateMedia$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeleteWhatsAppFlow$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteWhatsAppFlowCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SocialMessaging", "DeleteWhatsAppFlow", {})
|
|
13
|
-
.n("SocialMessagingClient", "DeleteWhatsAppFlowCommand")
|
|
14
|
-
.sc(DeleteWhatsAppFlow$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteWhatsAppFlowCommand extends command(_ep0, _mw0, "DeleteWhatsAppFlow", DeleteWhatsAppFlow$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeleteWhatsAppMessageMedia$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteWhatsAppMessageMediaCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SocialMessaging", "DeleteWhatsAppMessageMedia", {})
|
|
13
|
-
.n("SocialMessagingClient", "DeleteWhatsAppMessageMediaCommand")
|
|
14
|
-
.sc(DeleteWhatsAppMessageMedia$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteWhatsAppMessageMediaCommand extends command(_ep0, _mw0, "DeleteWhatsAppMessageMedia", DeleteWhatsAppMessageMedia$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeleteWhatsAppMessageTemplate$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteWhatsAppMessageTemplateCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SocialMessaging", "DeleteWhatsAppMessageTemplate", {})
|
|
13
|
-
.n("SocialMessagingClient", "DeleteWhatsAppMessageTemplateCommand")
|
|
14
|
-
.sc(DeleteWhatsAppMessageTemplate$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteWhatsAppMessageTemplateCommand extends command(_ep0, _mw0, "DeleteWhatsAppMessageTemplate", DeleteWhatsAppMessageTemplate$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeprecateWhatsAppFlow$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeprecateWhatsAppFlowCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SocialMessaging", "DeprecateWhatsAppFlow", {})
|
|
13
|
-
.n("SocialMessagingClient", "DeprecateWhatsAppFlowCommand")
|
|
14
|
-
.sc(DeprecateWhatsAppFlow$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeprecateWhatsAppFlowCommand extends command(_ep0, _mw0, "DeprecateWhatsAppFlow", DeprecateWhatsAppFlow$) {
|
|
16
4
|
}
|