@aws-sdk/client-socialmessaging 3.893.0 → 3.894.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.
Files changed (39) hide show
  1. package/dist-cjs/index.js +1682 -10
  2. package/package.json +6 -6
  3. package/dist-cjs/SocialMessaging.js +0 -53
  4. package/dist-cjs/SocialMessagingClient.js +0 -52
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
  6. package/dist-cjs/commands/AssociateWhatsAppBusinessAccountCommand.js +0 -27
  7. package/dist-cjs/commands/CreateWhatsAppMessageTemplateCommand.js +0 -26
  8. package/dist-cjs/commands/CreateWhatsAppMessageTemplateFromLibraryCommand.js +0 -26
  9. package/dist-cjs/commands/CreateWhatsAppMessageTemplateMediaCommand.js +0 -27
  10. package/dist-cjs/commands/DeleteWhatsAppMessageMediaCommand.js +0 -26
  11. package/dist-cjs/commands/DeleteWhatsAppMessageTemplateCommand.js +0 -26
  12. package/dist-cjs/commands/DisassociateWhatsAppBusinessAccountCommand.js +0 -26
  13. package/dist-cjs/commands/GetLinkedWhatsAppBusinessAccountCommand.js +0 -26
  14. package/dist-cjs/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.js +0 -26
  15. package/dist-cjs/commands/GetWhatsAppMessageMediaCommand.js +0 -27
  16. package/dist-cjs/commands/GetWhatsAppMessageTemplateCommand.js +0 -26
  17. package/dist-cjs/commands/ListLinkedWhatsAppBusinessAccountsCommand.js +0 -26
  18. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -26
  19. package/dist-cjs/commands/ListWhatsAppMessageTemplatesCommand.js +0 -26
  20. package/dist-cjs/commands/ListWhatsAppTemplateLibraryCommand.js +0 -26
  21. package/dist-cjs/commands/PostWhatsAppMessageMediaCommand.js +0 -27
  22. package/dist-cjs/commands/PutWhatsAppBusinessAccountEventDestinationsCommand.js +0 -26
  23. package/dist-cjs/commands/SendWhatsAppMessageCommand.js +0 -27
  24. package/dist-cjs/commands/TagResourceCommand.js +0 -26
  25. package/dist-cjs/commands/UntagResourceCommand.js +0 -26
  26. package/dist-cjs/commands/UpdateWhatsAppMessageTemplateCommand.js +0 -26
  27. package/dist-cjs/commands/index.js +0 -24
  28. package/dist-cjs/endpoint/EndpointParameters.js +0 -17
  29. package/dist-cjs/extensionConfiguration.js +0 -2
  30. package/dist-cjs/models/SocialMessagingServiceException.js +0 -12
  31. package/dist-cjs/models/index.js +0 -4
  32. package/dist-cjs/models/models_0.js +0 -191
  33. package/dist-cjs/pagination/Interfaces.js +0 -2
  34. package/dist-cjs/pagination/ListLinkedWhatsAppBusinessAccountsPaginator.js +0 -7
  35. package/dist-cjs/pagination/ListWhatsAppMessageTemplatesPaginator.js +0 -7
  36. package/dist-cjs/pagination/ListWhatsAppTemplateLibraryPaginator.js +0 -7
  37. package/dist-cjs/pagination/index.js +0 -7
  38. package/dist-cjs/protocols/Aws_restJson1.js +0 -834
  39. package/dist-cjs/runtimeExtensions.js +0 -13
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-socialmessaging",
3
3
  "description": "AWS SDK for JavaScript Socialmessaging Client for Node.js, Browser and React Native",
4
- "version": "3.893.0",
4
+ "version": "3.894.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
- "build:cjs": "tsc -p tsconfig.cjs.json",
7
+ "build:cjs": "node ../../scripts/compilation/inline client-socialmessaging",
8
8
  "build:es": "tsc -p tsconfig.es.json",
9
9
  "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
10
10
  "build:types": "tsc -p tsconfig.types.json",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.893.0",
24
- "@aws-sdk/credential-provider-node": "3.893.0",
23
+ "@aws-sdk/core": "3.894.0",
24
+ "@aws-sdk/credential-provider-node": "3.894.0",
25
25
  "@aws-sdk/middleware-host-header": "3.893.0",
26
26
  "@aws-sdk/middleware-logger": "3.893.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.893.0",
28
- "@aws-sdk/middleware-user-agent": "3.893.0",
28
+ "@aws-sdk/middleware-user-agent": "3.894.0",
29
29
  "@aws-sdk/region-config-resolver": "3.893.0",
30
30
  "@aws-sdk/types": "3.893.0",
31
31
  "@aws-sdk/util-endpoints": "3.893.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.893.0",
33
- "@aws-sdk/util-user-agent-node": "3.893.0",
33
+ "@aws-sdk/util-user-agent-node": "3.894.0",
34
34
  "@smithy/config-resolver": "^4.2.2",
35
35
  "@smithy/core": "^3.11.1",
36
36
  "@smithy/fetch-http-handler": "^5.2.1",
@@ -1,53 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SocialMessaging = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- const AssociateWhatsAppBusinessAccountCommand_1 = require("./commands/AssociateWhatsAppBusinessAccountCommand");
6
- const CreateWhatsAppMessageTemplateCommand_1 = require("./commands/CreateWhatsAppMessageTemplateCommand");
7
- const CreateWhatsAppMessageTemplateFromLibraryCommand_1 = require("./commands/CreateWhatsAppMessageTemplateFromLibraryCommand");
8
- const CreateWhatsAppMessageTemplateMediaCommand_1 = require("./commands/CreateWhatsAppMessageTemplateMediaCommand");
9
- const DeleteWhatsAppMessageMediaCommand_1 = require("./commands/DeleteWhatsAppMessageMediaCommand");
10
- const DeleteWhatsAppMessageTemplateCommand_1 = require("./commands/DeleteWhatsAppMessageTemplateCommand");
11
- const DisassociateWhatsAppBusinessAccountCommand_1 = require("./commands/DisassociateWhatsAppBusinessAccountCommand");
12
- const GetLinkedWhatsAppBusinessAccountCommand_1 = require("./commands/GetLinkedWhatsAppBusinessAccountCommand");
13
- const GetLinkedWhatsAppBusinessAccountPhoneNumberCommand_1 = require("./commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand");
14
- const GetWhatsAppMessageMediaCommand_1 = require("./commands/GetWhatsAppMessageMediaCommand");
15
- const GetWhatsAppMessageTemplateCommand_1 = require("./commands/GetWhatsAppMessageTemplateCommand");
16
- const ListLinkedWhatsAppBusinessAccountsCommand_1 = require("./commands/ListLinkedWhatsAppBusinessAccountsCommand");
17
- const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
18
- const ListWhatsAppMessageTemplatesCommand_1 = require("./commands/ListWhatsAppMessageTemplatesCommand");
19
- const ListWhatsAppTemplateLibraryCommand_1 = require("./commands/ListWhatsAppTemplateLibraryCommand");
20
- const PostWhatsAppMessageMediaCommand_1 = require("./commands/PostWhatsAppMessageMediaCommand");
21
- const PutWhatsAppBusinessAccountEventDestinationsCommand_1 = require("./commands/PutWhatsAppBusinessAccountEventDestinationsCommand");
22
- const SendWhatsAppMessageCommand_1 = require("./commands/SendWhatsAppMessageCommand");
23
- const TagResourceCommand_1 = require("./commands/TagResourceCommand");
24
- const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
25
- const UpdateWhatsAppMessageTemplateCommand_1 = require("./commands/UpdateWhatsAppMessageTemplateCommand");
26
- const SocialMessagingClient_1 = require("./SocialMessagingClient");
27
- const commands = {
28
- AssociateWhatsAppBusinessAccountCommand: AssociateWhatsAppBusinessAccountCommand_1.AssociateWhatsAppBusinessAccountCommand,
29
- CreateWhatsAppMessageTemplateCommand: CreateWhatsAppMessageTemplateCommand_1.CreateWhatsAppMessageTemplateCommand,
30
- CreateWhatsAppMessageTemplateFromLibraryCommand: CreateWhatsAppMessageTemplateFromLibraryCommand_1.CreateWhatsAppMessageTemplateFromLibraryCommand,
31
- CreateWhatsAppMessageTemplateMediaCommand: CreateWhatsAppMessageTemplateMediaCommand_1.CreateWhatsAppMessageTemplateMediaCommand,
32
- DeleteWhatsAppMessageMediaCommand: DeleteWhatsAppMessageMediaCommand_1.DeleteWhatsAppMessageMediaCommand,
33
- DeleteWhatsAppMessageTemplateCommand: DeleteWhatsAppMessageTemplateCommand_1.DeleteWhatsAppMessageTemplateCommand,
34
- DisassociateWhatsAppBusinessAccountCommand: DisassociateWhatsAppBusinessAccountCommand_1.DisassociateWhatsAppBusinessAccountCommand,
35
- GetLinkedWhatsAppBusinessAccountCommand: GetLinkedWhatsAppBusinessAccountCommand_1.GetLinkedWhatsAppBusinessAccountCommand,
36
- GetLinkedWhatsAppBusinessAccountPhoneNumberCommand: GetLinkedWhatsAppBusinessAccountPhoneNumberCommand_1.GetLinkedWhatsAppBusinessAccountPhoneNumberCommand,
37
- GetWhatsAppMessageMediaCommand: GetWhatsAppMessageMediaCommand_1.GetWhatsAppMessageMediaCommand,
38
- GetWhatsAppMessageTemplateCommand: GetWhatsAppMessageTemplateCommand_1.GetWhatsAppMessageTemplateCommand,
39
- ListLinkedWhatsAppBusinessAccountsCommand: ListLinkedWhatsAppBusinessAccountsCommand_1.ListLinkedWhatsAppBusinessAccountsCommand,
40
- ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
41
- ListWhatsAppMessageTemplatesCommand: ListWhatsAppMessageTemplatesCommand_1.ListWhatsAppMessageTemplatesCommand,
42
- ListWhatsAppTemplateLibraryCommand: ListWhatsAppTemplateLibraryCommand_1.ListWhatsAppTemplateLibraryCommand,
43
- PostWhatsAppMessageMediaCommand: PostWhatsAppMessageMediaCommand_1.PostWhatsAppMessageMediaCommand,
44
- PutWhatsAppBusinessAccountEventDestinationsCommand: PutWhatsAppBusinessAccountEventDestinationsCommand_1.PutWhatsAppBusinessAccountEventDestinationsCommand,
45
- SendWhatsAppMessageCommand: SendWhatsAppMessageCommand_1.SendWhatsAppMessageCommand,
46
- TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
47
- UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
48
- UpdateWhatsAppMessageTemplateCommand: UpdateWhatsAppMessageTemplateCommand_1.UpdateWhatsAppMessageTemplateCommand,
49
- };
50
- class SocialMessaging extends SocialMessagingClient_1.SocialMessagingClient {
51
- }
52
- exports.SocialMessaging = SocialMessaging;
53
- (0, smithy_client_1.createAggregatedClient)(commands, SocialMessaging);
@@ -1,52 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SocialMessagingClient = exports.__Client = void 0;
4
- const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
5
- const middleware_logger_1 = require("@aws-sdk/middleware-logger");
6
- const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
7
- const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
8
- const config_resolver_1 = require("@smithy/config-resolver");
9
- const core_1 = require("@smithy/core");
10
- const middleware_content_length_1 = require("@smithy/middleware-content-length");
11
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
12
- const middleware_retry_1 = require("@smithy/middleware-retry");
13
- const smithy_client_1 = require("@smithy/smithy-client");
14
- Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
15
- const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
16
- const EndpointParameters_1 = require("./endpoint/EndpointParameters");
17
- const runtimeConfig_1 = require("./runtimeConfig");
18
- const runtimeExtensions_1 = require("./runtimeExtensions");
19
- class SocialMessagingClient extends smithy_client_1.Client {
20
- config;
21
- constructor(...[configuration]) {
22
- const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
23
- super(_config_0);
24
- this.initConfig = _config_0;
25
- const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
26
- const _config_2 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_1);
27
- const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
28
- const _config_4 = (0, config_resolver_1.resolveRegionConfig)(_config_3);
29
- const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
30
- const _config_6 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_5);
31
- const _config_7 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_6);
32
- const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);
33
- this.config = _config_8;
34
- this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
35
- this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
36
- this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
37
- this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
38
- this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
39
- this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
40
- this.middlewareStack.use((0, core_1.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
41
- httpAuthSchemeParametersProvider: httpAuthSchemeProvider_1.defaultSocialMessagingHttpAuthSchemeParametersProvider,
42
- identityProviderConfigProvider: async (config) => new core_1.DefaultIdentityProviderConfig({
43
- "aws.auth#sigv4": config.credentials,
44
- }),
45
- }));
46
- this.middlewareStack.use((0, core_1.getHttpSigningPlugin)(this.config));
47
- }
48
- destroy() {
49
- super.destroy();
50
- }
51
- }
52
- exports.SocialMessagingClient = SocialMessagingClient;
@@ -1,43 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveHttpAuthRuntimeConfig = exports.getHttpAuthExtensionConfiguration = void 0;
4
- const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
5
- const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
6
- let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
7
- let _credentials = runtimeConfig.credentials;
8
- return {
9
- setHttpAuthScheme(httpAuthScheme) {
10
- const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
11
- if (index === -1) {
12
- _httpAuthSchemes.push(httpAuthScheme);
13
- }
14
- else {
15
- _httpAuthSchemes.splice(index, 1, httpAuthScheme);
16
- }
17
- },
18
- httpAuthSchemes() {
19
- return _httpAuthSchemes;
20
- },
21
- setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
22
- _httpAuthSchemeProvider = httpAuthSchemeProvider;
23
- },
24
- httpAuthSchemeProvider() {
25
- return _httpAuthSchemeProvider;
26
- },
27
- setCredentials(credentials) {
28
- _credentials = credentials;
29
- },
30
- credentials() {
31
- return _credentials;
32
- },
33
- };
34
- };
35
- exports.getHttpAuthExtensionConfiguration = getHttpAuthExtensionConfiguration;
36
- const resolveHttpAuthRuntimeConfig = (config) => {
37
- return {
38
- httpAuthSchemes: config.httpAuthSchemes(),
39
- httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
40
- credentials: config.credentials(),
41
- };
42
- };
43
- exports.resolveHttpAuthRuntimeConfig = resolveHttpAuthRuntimeConfig;
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AssociateWhatsAppBusinessAccountCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const models_0_1 = require("../models/models_0");
10
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class AssociateWhatsAppBusinessAccountCommand extends smithy_client_1.Command
12
- .classBuilder()
13
- .ep(EndpointParameters_1.commonParams)
14
- .m(function (Command, cs, config, o) {
15
- return [
16
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
17
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
18
- ];
19
- })
20
- .s("SocialMessaging", "AssociateWhatsAppBusinessAccount", {})
21
- .n("SocialMessagingClient", "AssociateWhatsAppBusinessAccountCommand")
22
- .f(models_0_1.AssociateWhatsAppBusinessAccountInputFilterSensitiveLog, models_0_1.AssociateWhatsAppBusinessAccountOutputFilterSensitiveLog)
23
- .ser(Aws_restJson1_1.se_AssociateWhatsAppBusinessAccountCommand)
24
- .de(Aws_restJson1_1.de_AssociateWhatsAppBusinessAccountCommand)
25
- .build() {
26
- }
27
- exports.AssociateWhatsAppBusinessAccountCommand = AssociateWhatsAppBusinessAccountCommand;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateWhatsAppMessageTemplateCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class CreateWhatsAppMessageTemplateCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("SocialMessaging", "CreateWhatsAppMessageTemplate", {})
20
- .n("SocialMessagingClient", "CreateWhatsAppMessageTemplateCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_restJson1_1.se_CreateWhatsAppMessageTemplateCommand)
23
- .de(Aws_restJson1_1.de_CreateWhatsAppMessageTemplateCommand)
24
- .build() {
25
- }
26
- exports.CreateWhatsAppMessageTemplateCommand = CreateWhatsAppMessageTemplateCommand;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateWhatsAppMessageTemplateFromLibraryCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class CreateWhatsAppMessageTemplateFromLibraryCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("SocialMessaging", "CreateWhatsAppMessageTemplateFromLibrary", {})
20
- .n("SocialMessagingClient", "CreateWhatsAppMessageTemplateFromLibraryCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_restJson1_1.se_CreateWhatsAppMessageTemplateFromLibraryCommand)
23
- .de(Aws_restJson1_1.de_CreateWhatsAppMessageTemplateFromLibraryCommand)
24
- .build() {
25
- }
26
- exports.CreateWhatsAppMessageTemplateFromLibraryCommand = CreateWhatsAppMessageTemplateFromLibraryCommand;
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateWhatsAppMessageTemplateMediaCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const models_0_1 = require("../models/models_0");
10
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class CreateWhatsAppMessageTemplateMediaCommand extends smithy_client_1.Command
12
- .classBuilder()
13
- .ep(EndpointParameters_1.commonParams)
14
- .m(function (Command, cs, config, o) {
15
- return [
16
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
17
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
18
- ];
19
- })
20
- .s("SocialMessaging", "CreateWhatsAppMessageTemplateMedia", {})
21
- .n("SocialMessagingClient", "CreateWhatsAppMessageTemplateMediaCommand")
22
- .f(models_0_1.CreateWhatsAppMessageTemplateMediaInputFilterSensitiveLog, void 0)
23
- .ser(Aws_restJson1_1.se_CreateWhatsAppMessageTemplateMediaCommand)
24
- .de(Aws_restJson1_1.de_CreateWhatsAppMessageTemplateMediaCommand)
25
- .build() {
26
- }
27
- exports.CreateWhatsAppMessageTemplateMediaCommand = CreateWhatsAppMessageTemplateMediaCommand;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteWhatsAppMessageMediaCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DeleteWhatsAppMessageMediaCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("SocialMessaging", "DeleteWhatsAppMessageMedia", {})
20
- .n("SocialMessagingClient", "DeleteWhatsAppMessageMediaCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_restJson1_1.se_DeleteWhatsAppMessageMediaCommand)
23
- .de(Aws_restJson1_1.de_DeleteWhatsAppMessageMediaCommand)
24
- .build() {
25
- }
26
- exports.DeleteWhatsAppMessageMediaCommand = DeleteWhatsAppMessageMediaCommand;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteWhatsAppMessageTemplateCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DeleteWhatsAppMessageTemplateCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("SocialMessaging", "DeleteWhatsAppMessageTemplate", {})
20
- .n("SocialMessagingClient", "DeleteWhatsAppMessageTemplateCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_restJson1_1.se_DeleteWhatsAppMessageTemplateCommand)
23
- .de(Aws_restJson1_1.de_DeleteWhatsAppMessageTemplateCommand)
24
- .build() {
25
- }
26
- exports.DeleteWhatsAppMessageTemplateCommand = DeleteWhatsAppMessageTemplateCommand;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DisassociateWhatsAppBusinessAccountCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DisassociateWhatsAppBusinessAccountCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("SocialMessaging", "DisassociateWhatsAppBusinessAccount", {})
20
- .n("SocialMessagingClient", "DisassociateWhatsAppBusinessAccountCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_restJson1_1.se_DisassociateWhatsAppBusinessAccountCommand)
23
- .de(Aws_restJson1_1.de_DisassociateWhatsAppBusinessAccountCommand)
24
- .build() {
25
- }
26
- exports.DisassociateWhatsAppBusinessAccountCommand = DisassociateWhatsAppBusinessAccountCommand;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetLinkedWhatsAppBusinessAccountCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetLinkedWhatsAppBusinessAccountCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("SocialMessaging", "GetLinkedWhatsAppBusinessAccount", {})
20
- .n("SocialMessagingClient", "GetLinkedWhatsAppBusinessAccountCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_restJson1_1.se_GetLinkedWhatsAppBusinessAccountCommand)
23
- .de(Aws_restJson1_1.de_GetLinkedWhatsAppBusinessAccountCommand)
24
- .build() {
25
- }
26
- exports.GetLinkedWhatsAppBusinessAccountCommand = GetLinkedWhatsAppBusinessAccountCommand;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetLinkedWhatsAppBusinessAccountPhoneNumberCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetLinkedWhatsAppBusinessAccountPhoneNumberCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("SocialMessaging", "GetLinkedWhatsAppBusinessAccountPhoneNumber", {})
20
- .n("SocialMessagingClient", "GetLinkedWhatsAppBusinessAccountPhoneNumberCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_restJson1_1.se_GetLinkedWhatsAppBusinessAccountPhoneNumberCommand)
23
- .de(Aws_restJson1_1.de_GetLinkedWhatsAppBusinessAccountPhoneNumberCommand)
24
- .build() {
25
- }
26
- exports.GetLinkedWhatsAppBusinessAccountPhoneNumberCommand = GetLinkedWhatsAppBusinessAccountPhoneNumberCommand;
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetWhatsAppMessageMediaCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const models_0_1 = require("../models/models_0");
10
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class GetWhatsAppMessageMediaCommand extends smithy_client_1.Command
12
- .classBuilder()
13
- .ep(EndpointParameters_1.commonParams)
14
- .m(function (Command, cs, config, o) {
15
- return [
16
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
17
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
18
- ];
19
- })
20
- .s("SocialMessaging", "GetWhatsAppMessageMedia", {})
21
- .n("SocialMessagingClient", "GetWhatsAppMessageMediaCommand")
22
- .f(models_0_1.GetWhatsAppMessageMediaInputFilterSensitiveLog, void 0)
23
- .ser(Aws_restJson1_1.se_GetWhatsAppMessageMediaCommand)
24
- .de(Aws_restJson1_1.de_GetWhatsAppMessageMediaCommand)
25
- .build() {
26
- }
27
- exports.GetWhatsAppMessageMediaCommand = GetWhatsAppMessageMediaCommand;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetWhatsAppMessageTemplateCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetWhatsAppMessageTemplateCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("SocialMessaging", "GetWhatsAppMessageTemplate", {})
20
- .n("SocialMessagingClient", "GetWhatsAppMessageTemplateCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_restJson1_1.se_GetWhatsAppMessageTemplateCommand)
23
- .de(Aws_restJson1_1.de_GetWhatsAppMessageTemplateCommand)
24
- .build() {
25
- }
26
- exports.GetWhatsAppMessageTemplateCommand = GetWhatsAppMessageTemplateCommand;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListLinkedWhatsAppBusinessAccountsCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ListLinkedWhatsAppBusinessAccountsCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("SocialMessaging", "ListLinkedWhatsAppBusinessAccounts", {})
20
- .n("SocialMessagingClient", "ListLinkedWhatsAppBusinessAccountsCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_restJson1_1.se_ListLinkedWhatsAppBusinessAccountsCommand)
23
- .de(Aws_restJson1_1.de_ListLinkedWhatsAppBusinessAccountsCommand)
24
- .build() {
25
- }
26
- exports.ListLinkedWhatsAppBusinessAccountsCommand = ListLinkedWhatsAppBusinessAccountsCommand;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListTagsForResourceCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ListTagsForResourceCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("SocialMessaging", "ListTagsForResource", {})
20
- .n("SocialMessagingClient", "ListTagsForResourceCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_restJson1_1.se_ListTagsForResourceCommand)
23
- .de(Aws_restJson1_1.de_ListTagsForResourceCommand)
24
- .build() {
25
- }
26
- exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListWhatsAppMessageTemplatesCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ListWhatsAppMessageTemplatesCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("SocialMessaging", "ListWhatsAppMessageTemplates", {})
20
- .n("SocialMessagingClient", "ListWhatsAppMessageTemplatesCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_restJson1_1.se_ListWhatsAppMessageTemplatesCommand)
23
- .de(Aws_restJson1_1.de_ListWhatsAppMessageTemplatesCommand)
24
- .build() {
25
- }
26
- exports.ListWhatsAppMessageTemplatesCommand = ListWhatsAppMessageTemplatesCommand;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListWhatsAppTemplateLibraryCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ListWhatsAppTemplateLibraryCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("SocialMessaging", "ListWhatsAppTemplateLibrary", {})
20
- .n("SocialMessagingClient", "ListWhatsAppTemplateLibraryCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_restJson1_1.se_ListWhatsAppTemplateLibraryCommand)
23
- .de(Aws_restJson1_1.de_ListWhatsAppTemplateLibraryCommand)
24
- .build() {
25
- }
26
- exports.ListWhatsAppTemplateLibraryCommand = ListWhatsAppTemplateLibraryCommand;
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PostWhatsAppMessageMediaCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const models_0_1 = require("../models/models_0");
10
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class PostWhatsAppMessageMediaCommand extends smithy_client_1.Command
12
- .classBuilder()
13
- .ep(EndpointParameters_1.commonParams)
14
- .m(function (Command, cs, config, o) {
15
- return [
16
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
17
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
18
- ];
19
- })
20
- .s("SocialMessaging", "PostWhatsAppMessageMedia", {})
21
- .n("SocialMessagingClient", "PostWhatsAppMessageMediaCommand")
22
- .f(models_0_1.PostWhatsAppMessageMediaInputFilterSensitiveLog, void 0)
23
- .ser(Aws_restJson1_1.se_PostWhatsAppMessageMediaCommand)
24
- .de(Aws_restJson1_1.de_PostWhatsAppMessageMediaCommand)
25
- .build() {
26
- }
27
- exports.PostWhatsAppMessageMediaCommand = PostWhatsAppMessageMediaCommand;