@aws-sdk/client-socialmessaging 3.928.0 → 3.930.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 (45) hide show
  1. package/dist-cjs/index.js +1106 -1014
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/SocialMessagingClient.js +2 -0
  4. package/dist-es/commands/AssociateWhatsAppBusinessAccountCommand.js +3 -10
  5. package/dist-es/commands/CreateWhatsAppMessageTemplateCommand.js +3 -9
  6. package/dist-es/commands/CreateWhatsAppMessageTemplateFromLibraryCommand.js +3 -9
  7. package/dist-es/commands/CreateWhatsAppMessageTemplateMediaCommand.js +3 -10
  8. package/dist-es/commands/DeleteWhatsAppMessageMediaCommand.js +3 -9
  9. package/dist-es/commands/DeleteWhatsAppMessageTemplateCommand.js +3 -9
  10. package/dist-es/commands/DisassociateWhatsAppBusinessAccountCommand.js +3 -9
  11. package/dist-es/commands/GetLinkedWhatsAppBusinessAccountCommand.js +3 -9
  12. package/dist-es/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.js +3 -9
  13. package/dist-es/commands/GetWhatsAppMessageMediaCommand.js +3 -10
  14. package/dist-es/commands/GetWhatsAppMessageTemplateCommand.js +3 -9
  15. package/dist-es/commands/ListLinkedWhatsAppBusinessAccountsCommand.js +3 -9
  16. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  17. package/dist-es/commands/ListWhatsAppMessageTemplatesCommand.js +3 -9
  18. package/dist-es/commands/ListWhatsAppTemplateLibraryCommand.js +3 -9
  19. package/dist-es/commands/PostWhatsAppMessageMediaCommand.js +3 -10
  20. package/dist-es/commands/PutWhatsAppBusinessAccountEventDestinationsCommand.js +3 -9
  21. package/dist-es/commands/SendWhatsAppMessageCommand.js +3 -10
  22. package/dist-es/commands/TagResourceCommand.js +3 -9
  23. package/dist-es/commands/UntagResourceCommand.js +3 -9
  24. package/dist-es/commands/UpdateWhatsAppMessageTemplateCommand.js +3 -9
  25. package/dist-es/models/models_0.js +0 -52
  26. package/dist-es/runtimeConfig.shared.js +2 -0
  27. package/dist-es/schemas/schemas_0.js +1053 -0
  28. package/dist-types/SocialMessagingClient.d.ts +10 -1
  29. package/dist-types/models/models_0.d.ts +0 -44
  30. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  31. package/dist-types/runtimeConfig.d.ts +1 -0
  32. package/dist-types/runtimeConfig.native.d.ts +1 -0
  33. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  34. package/dist-types/schemas/schemas_0.d.ts +116 -0
  35. package/dist-types/ts3.4/SocialMessagingClient.d.ts +4 -0
  36. package/dist-types/ts3.4/models/models_0.d.ts +0 -31
  37. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  38. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  39. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  40. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  41. package/dist-types/ts3.4/schemas/schemas_0.d.ts +123 -0
  42. package/package.json +33 -33
  43. package/dist-es/protocols/Aws_restJson1.js +0 -789
  44. package/dist-types/protocols/Aws_restJson1.d.ts +0 -191
  45. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -257
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.socialmessaging" }),
28
30
  serviceId: config?.serviceId ?? "SocialMessaging",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class SocialMessagingClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { AssociateWhatsAppBusinessAccountInputFilterSensitiveLog, AssociateWhatsAppBusinessAccountOutputFilterSensitiveLog, } from "../models/models_0";
6
- import { de_AssociateWhatsAppBusinessAccountCommand, se_AssociateWhatsAppBusinessAccountCommand, } from "../protocols/Aws_restJson1";
4
+ import { AssociateWhatsAppBusinessAccount } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class AssociateWhatsAppBusinessAccountCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("SocialMessaging", "AssociateWhatsAppBusinessAccount", {})
18
13
  .n("SocialMessagingClient", "AssociateWhatsAppBusinessAccountCommand")
19
- .f(AssociateWhatsAppBusinessAccountInputFilterSensitiveLog, AssociateWhatsAppBusinessAccountOutputFilterSensitiveLog)
20
- .ser(se_AssociateWhatsAppBusinessAccountCommand)
21
- .de(de_AssociateWhatsAppBusinessAccountCommand)
14
+ .sc(AssociateWhatsAppBusinessAccount)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateWhatsAppMessageTemplateCommand, se_CreateWhatsAppMessageTemplateCommand, } from "../protocols/Aws_restJson1";
4
+ import { CreateWhatsAppMessageTemplate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateWhatsAppMessageTemplateCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SocialMessaging", "CreateWhatsAppMessageTemplate", {})
17
13
  .n("SocialMessagingClient", "CreateWhatsAppMessageTemplateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateWhatsAppMessageTemplateCommand)
20
- .de(de_CreateWhatsAppMessageTemplateCommand)
14
+ .sc(CreateWhatsAppMessageTemplate)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateWhatsAppMessageTemplateFromLibraryCommand, se_CreateWhatsAppMessageTemplateFromLibraryCommand, } from "../protocols/Aws_restJson1";
4
+ import { CreateWhatsAppMessageTemplateFromLibrary } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateWhatsAppMessageTemplateFromLibraryCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SocialMessaging", "CreateWhatsAppMessageTemplateFromLibrary", {})
17
13
  .n("SocialMessagingClient", "CreateWhatsAppMessageTemplateFromLibraryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateWhatsAppMessageTemplateFromLibraryCommand)
20
- .de(de_CreateWhatsAppMessageTemplateFromLibraryCommand)
14
+ .sc(CreateWhatsAppMessageTemplateFromLibrary)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { CreateWhatsAppMessageTemplateMediaInputFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CreateWhatsAppMessageTemplateMediaCommand, se_CreateWhatsAppMessageTemplateMediaCommand, } from "../protocols/Aws_restJson1";
4
+ import { CreateWhatsAppMessageTemplateMedia } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateWhatsAppMessageTemplateMediaCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("SocialMessaging", "CreateWhatsAppMessageTemplateMedia", {})
18
13
  .n("SocialMessagingClient", "CreateWhatsAppMessageTemplateMediaCommand")
19
- .f(CreateWhatsAppMessageTemplateMediaInputFilterSensitiveLog, void 0)
20
- .ser(se_CreateWhatsAppMessageTemplateMediaCommand)
21
- .de(de_CreateWhatsAppMessageTemplateMediaCommand)
14
+ .sc(CreateWhatsAppMessageTemplateMedia)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteWhatsAppMessageMediaCommand, se_DeleteWhatsAppMessageMediaCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteWhatsAppMessageMedia } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteWhatsAppMessageMediaCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SocialMessaging", "DeleteWhatsAppMessageMedia", {})
17
13
  .n("SocialMessagingClient", "DeleteWhatsAppMessageMediaCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteWhatsAppMessageMediaCommand)
20
- .de(de_DeleteWhatsAppMessageMediaCommand)
14
+ .sc(DeleteWhatsAppMessageMedia)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteWhatsAppMessageTemplateCommand, se_DeleteWhatsAppMessageTemplateCommand, } from "../protocols/Aws_restJson1";
4
+ import { DeleteWhatsAppMessageTemplate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteWhatsAppMessageTemplateCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SocialMessaging", "DeleteWhatsAppMessageTemplate", {})
17
13
  .n("SocialMessagingClient", "DeleteWhatsAppMessageTemplateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteWhatsAppMessageTemplateCommand)
20
- .de(de_DeleteWhatsAppMessageTemplateCommand)
14
+ .sc(DeleteWhatsAppMessageTemplate)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DisassociateWhatsAppBusinessAccountCommand, se_DisassociateWhatsAppBusinessAccountCommand, } from "../protocols/Aws_restJson1";
4
+ import { DisassociateWhatsAppBusinessAccount } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DisassociateWhatsAppBusinessAccountCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SocialMessaging", "DisassociateWhatsAppBusinessAccount", {})
17
13
  .n("SocialMessagingClient", "DisassociateWhatsAppBusinessAccountCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DisassociateWhatsAppBusinessAccountCommand)
20
- .de(de_DisassociateWhatsAppBusinessAccountCommand)
14
+ .sc(DisassociateWhatsAppBusinessAccount)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetLinkedWhatsAppBusinessAccountCommand, se_GetLinkedWhatsAppBusinessAccountCommand, } from "../protocols/Aws_restJson1";
4
+ import { GetLinkedWhatsAppBusinessAccount } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetLinkedWhatsAppBusinessAccountCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SocialMessaging", "GetLinkedWhatsAppBusinessAccount", {})
17
13
  .n("SocialMessagingClient", "GetLinkedWhatsAppBusinessAccountCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetLinkedWhatsAppBusinessAccountCommand)
20
- .de(de_GetLinkedWhatsAppBusinessAccountCommand)
14
+ .sc(GetLinkedWhatsAppBusinessAccount)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetLinkedWhatsAppBusinessAccountPhoneNumberCommand, se_GetLinkedWhatsAppBusinessAccountPhoneNumberCommand, } from "../protocols/Aws_restJson1";
4
+ import { GetLinkedWhatsAppBusinessAccountPhoneNumber } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetLinkedWhatsAppBusinessAccountPhoneNumberCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SocialMessaging", "GetLinkedWhatsAppBusinessAccountPhoneNumber", {})
17
13
  .n("SocialMessagingClient", "GetLinkedWhatsAppBusinessAccountPhoneNumberCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetLinkedWhatsAppBusinessAccountPhoneNumberCommand)
20
- .de(de_GetLinkedWhatsAppBusinessAccountPhoneNumberCommand)
14
+ .sc(GetLinkedWhatsAppBusinessAccountPhoneNumber)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { GetWhatsAppMessageMediaInputFilterSensitiveLog, } from "../models/models_0";
6
- import { de_GetWhatsAppMessageMediaCommand, se_GetWhatsAppMessageMediaCommand } from "../protocols/Aws_restJson1";
4
+ import { GetWhatsAppMessageMedia } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetWhatsAppMessageMediaCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("SocialMessaging", "GetWhatsAppMessageMedia", {})
18
13
  .n("SocialMessagingClient", "GetWhatsAppMessageMediaCommand")
19
- .f(GetWhatsAppMessageMediaInputFilterSensitiveLog, void 0)
20
- .ser(se_GetWhatsAppMessageMediaCommand)
21
- .de(de_GetWhatsAppMessageMediaCommand)
14
+ .sc(GetWhatsAppMessageMedia)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetWhatsAppMessageTemplateCommand, se_GetWhatsAppMessageTemplateCommand } from "../protocols/Aws_restJson1";
4
+ import { GetWhatsAppMessageTemplate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetWhatsAppMessageTemplateCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SocialMessaging", "GetWhatsAppMessageTemplate", {})
17
13
  .n("SocialMessagingClient", "GetWhatsAppMessageTemplateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetWhatsAppMessageTemplateCommand)
20
- .de(de_GetWhatsAppMessageTemplateCommand)
14
+ .sc(GetWhatsAppMessageTemplate)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListLinkedWhatsAppBusinessAccountsCommand, se_ListLinkedWhatsAppBusinessAccountsCommand, } from "../protocols/Aws_restJson1";
4
+ import { ListLinkedWhatsAppBusinessAccounts } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListLinkedWhatsAppBusinessAccountsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SocialMessaging", "ListLinkedWhatsAppBusinessAccounts", {})
17
13
  .n("SocialMessagingClient", "ListLinkedWhatsAppBusinessAccountsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListLinkedWhatsAppBusinessAccountsCommand)
20
- .de(de_ListLinkedWhatsAppBusinessAccountsCommand)
14
+ .sc(ListLinkedWhatsAppBusinessAccounts)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SocialMessaging", "ListTagsForResource", {})
17
13
  .n("SocialMessagingClient", "ListTagsForResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsForResourceCommand)
20
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListWhatsAppMessageTemplatesCommand, se_ListWhatsAppMessageTemplatesCommand, } from "../protocols/Aws_restJson1";
4
+ import { ListWhatsAppMessageTemplates } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListWhatsAppMessageTemplatesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SocialMessaging", "ListWhatsAppMessageTemplates", {})
17
13
  .n("SocialMessagingClient", "ListWhatsAppMessageTemplatesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListWhatsAppMessageTemplatesCommand)
20
- .de(de_ListWhatsAppMessageTemplatesCommand)
14
+ .sc(ListWhatsAppMessageTemplates)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListWhatsAppTemplateLibraryCommand, se_ListWhatsAppTemplateLibraryCommand, } from "../protocols/Aws_restJson1";
4
+ import { ListWhatsAppTemplateLibrary } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListWhatsAppTemplateLibraryCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SocialMessaging", "ListWhatsAppTemplateLibrary", {})
17
13
  .n("SocialMessagingClient", "ListWhatsAppTemplateLibraryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListWhatsAppTemplateLibraryCommand)
20
- .de(de_ListWhatsAppTemplateLibraryCommand)
14
+ .sc(ListWhatsAppTemplateLibrary)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { PostWhatsAppMessageMediaInputFilterSensitiveLog, } from "../models/models_0";
6
- import { de_PostWhatsAppMessageMediaCommand, se_PostWhatsAppMessageMediaCommand } from "../protocols/Aws_restJson1";
4
+ import { PostWhatsAppMessageMedia } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class PostWhatsAppMessageMediaCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("SocialMessaging", "PostWhatsAppMessageMedia", {})
18
13
  .n("SocialMessagingClient", "PostWhatsAppMessageMediaCommand")
19
- .f(PostWhatsAppMessageMediaInputFilterSensitiveLog, void 0)
20
- .ser(se_PostWhatsAppMessageMediaCommand)
21
- .de(de_PostWhatsAppMessageMediaCommand)
14
+ .sc(PostWhatsAppMessageMedia)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_PutWhatsAppBusinessAccountEventDestinationsCommand, se_PutWhatsAppBusinessAccountEventDestinationsCommand, } from "../protocols/Aws_restJson1";
4
+ import { PutWhatsAppBusinessAccountEventDestinations } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutWhatsAppBusinessAccountEventDestinationsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SocialMessaging", "PutWhatsAppBusinessAccountEventDestinations", {})
17
13
  .n("SocialMessagingClient", "PutWhatsAppBusinessAccountEventDestinationsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutWhatsAppBusinessAccountEventDestinationsCommand)
20
- .de(de_PutWhatsAppBusinessAccountEventDestinationsCommand)
14
+ .sc(PutWhatsAppBusinessAccountEventDestinations)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { SendWhatsAppMessageInputFilterSensitiveLog, } from "../models/models_0";
6
- import { de_SendWhatsAppMessageCommand, se_SendWhatsAppMessageCommand } from "../protocols/Aws_restJson1";
4
+ import { SendWhatsAppMessage } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class SendWhatsAppMessageCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("SocialMessaging", "SendWhatsAppMessage", {})
18
13
  .n("SocialMessagingClient", "SendWhatsAppMessageCommand")
19
- .f(SendWhatsAppMessageInputFilterSensitiveLog, void 0)
20
- .ser(se_SendWhatsAppMessageCommand)
21
- .de(de_SendWhatsAppMessageCommand)
14
+ .sc(SendWhatsAppMessage)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { TagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SocialMessaging", "TagResource", {})
17
13
  .n("SocialMessagingClient", "TagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagResourceCommand)
20
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SocialMessaging", "UntagResource", {})
17
13
  .n("SocialMessagingClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateWhatsAppMessageTemplateCommand, se_UpdateWhatsAppMessageTemplateCommand, } from "../protocols/Aws_restJson1";
4
+ import { UpdateWhatsAppMessageTemplate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateWhatsAppMessageTemplateCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SocialMessaging", "UpdateWhatsAppMessageTemplate", {})
17
13
  .n("SocialMessagingClient", "UpdateWhatsAppMessageTemplateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateWhatsAppMessageTemplateCommand)
20
- .de(de_UpdateWhatsAppMessageTemplateCommand)
14
+ .sc(UpdateWhatsAppMessageTemplate)
21
15
  .build() {
22
16
  }