@aws-sdk/client-socialmessaging 3.669.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 (143) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +334 -0
  3. package/dist-cjs/SocialMessaging.js +37 -0
  4. package/dist-cjs/SocialMessagingClient.js +50 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/AssociateWhatsAppBusinessAccountCommand.js +27 -0
  8. package/dist-cjs/commands/DeleteWhatsAppMessageMediaCommand.js +26 -0
  9. package/dist-cjs/commands/DisassociateWhatsAppBusinessAccountCommand.js +26 -0
  10. package/dist-cjs/commands/GetLinkedWhatsAppBusinessAccountCommand.js +26 -0
  11. package/dist-cjs/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.js +26 -0
  12. package/dist-cjs/commands/GetWhatsAppMessageMediaCommand.js +27 -0
  13. package/dist-cjs/commands/ListLinkedWhatsAppBusinessAccountsCommand.js +26 -0
  14. package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
  15. package/dist-cjs/commands/PostWhatsAppMessageMediaCommand.js +27 -0
  16. package/dist-cjs/commands/PutWhatsAppBusinessAccountEventDestinationsCommand.js +26 -0
  17. package/dist-cjs/commands/SendWhatsAppMessageCommand.js +27 -0
  18. package/dist-cjs/commands/TagResourceCommand.js +26 -0
  19. package/dist-cjs/commands/UntagResourceCommand.js +26 -0
  20. package/dist-cjs/commands/index.js +16 -0
  21. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  22. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  23. package/dist-cjs/endpoint/ruleset.js +7 -0
  24. package/dist-cjs/extensionConfiguration.js +2 -0
  25. package/dist-cjs/index.js +11 -0
  26. package/dist-cjs/models/SocialMessagingServiceException.js +12 -0
  27. package/dist-cjs/models/index.js +4 -0
  28. package/dist-cjs/models/models_0.js +173 -0
  29. package/dist-cjs/pagination/Interfaces.js +2 -0
  30. package/dist-cjs/pagination/ListLinkedWhatsAppBusinessAccountsPaginator.js +7 -0
  31. package/dist-cjs/pagination/index.js +5 -0
  32. package/dist-cjs/protocols/Aws_restJson1.js +573 -0
  33. package/dist-cjs/runtimeConfig.browser.js +39 -0
  34. package/dist-cjs/runtimeConfig.js +50 -0
  35. package/dist-cjs/runtimeConfig.native.js +15 -0
  36. package/dist-cjs/runtimeConfig.shared.js +34 -0
  37. package/dist-cjs/runtimeExtensions.js +25 -0
  38. package/dist-es/SocialMessaging.js +33 -0
  39. package/dist-es/SocialMessagingClient.js +46 -0
  40. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  41. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  42. package/dist-es/commands/AssociateWhatsAppBusinessAccountCommand.js +23 -0
  43. package/dist-es/commands/DeleteWhatsAppMessageMediaCommand.js +22 -0
  44. package/dist-es/commands/DisassociateWhatsAppBusinessAccountCommand.js +22 -0
  45. package/dist-es/commands/GetLinkedWhatsAppBusinessAccountCommand.js +22 -0
  46. package/dist-es/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.js +22 -0
  47. package/dist-es/commands/GetWhatsAppMessageMediaCommand.js +23 -0
  48. package/dist-es/commands/ListLinkedWhatsAppBusinessAccountsCommand.js +22 -0
  49. package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
  50. package/dist-es/commands/PostWhatsAppMessageMediaCommand.js +23 -0
  51. package/dist-es/commands/PutWhatsAppBusinessAccountEventDestinationsCommand.js +22 -0
  52. package/dist-es/commands/SendWhatsAppMessageCommand.js +23 -0
  53. package/dist-es/commands/TagResourceCommand.js +22 -0
  54. package/dist-es/commands/UntagResourceCommand.js +22 -0
  55. package/dist-es/commands/index.js +13 -0
  56. package/dist-es/endpoint/EndpointParameters.js +14 -0
  57. package/dist-es/endpoint/endpointResolver.js +14 -0
  58. package/dist-es/endpoint/ruleset.js +4 -0
  59. package/dist-es/extensionConfiguration.js +1 -0
  60. package/dist-es/index.js +6 -0
  61. package/dist-es/models/SocialMessagingServiceException.js +8 -0
  62. package/dist-es/models/index.js +1 -0
  63. package/dist-es/models/models_0.js +152 -0
  64. package/dist-es/pagination/Interfaces.js +1 -0
  65. package/dist-es/pagination/ListLinkedWhatsAppBusinessAccountsPaginator.js +4 -0
  66. package/dist-es/pagination/index.js +2 -0
  67. package/dist-es/protocols/Aws_restJson1.js +544 -0
  68. package/dist-es/runtimeConfig.browser.js +34 -0
  69. package/dist-es/runtimeConfig.js +45 -0
  70. package/dist-es/runtimeConfig.native.js +11 -0
  71. package/dist-es/runtimeConfig.shared.js +30 -0
  72. package/dist-es/runtimeExtensions.js +21 -0
  73. package/dist-types/SocialMessaging.d.ts +128 -0
  74. package/dist-types/SocialMessagingClient.d.ts +207 -0
  75. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  76. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  77. package/dist-types/commands/AssociateWhatsAppBusinessAccountCommand.d.ts +139 -0
  78. package/dist-types/commands/DeleteWhatsAppMessageMediaCommand.d.ts +97 -0
  79. package/dist-types/commands/DisassociateWhatsAppBusinessAccountCommand.d.ts +87 -0
  80. package/dist-types/commands/GetLinkedWhatsAppBusinessAccountCommand.d.ts +116 -0
  81. package/dist-types/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.d.ts +103 -0
  82. package/dist-types/commands/GetWhatsAppMessageMediaCommand.d.ts +113 -0
  83. package/dist-types/commands/ListLinkedWhatsAppBusinessAccountsCommand.d.ts +106 -0
  84. package/dist-types/commands/ListTagsForResourceCommand.d.ts +93 -0
  85. package/dist-types/commands/PostWhatsAppMessageMediaCommand.d.ts +110 -0
  86. package/dist-types/commands/PutWhatsAppBusinessAccountEventDestinationsCommand.d.ts +90 -0
  87. package/dist-types/commands/SendWhatsAppMessageCommand.d.ts +99 -0
  88. package/dist-types/commands/TagResourceCommand.d.ts +94 -0
  89. package/dist-types/commands/UntagResourceCommand.d.ts +90 -0
  90. package/dist-types/commands/index.d.ts +13 -0
  91. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  92. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  93. package/dist-types/endpoint/ruleset.d.ts +2 -0
  94. package/dist-types/extensionConfiguration.d.ts +9 -0
  95. package/dist-types/index.d.ts +39 -0
  96. package/dist-types/models/SocialMessagingServiceException.d.ts +14 -0
  97. package/dist-types/models/index.d.ts +1 -0
  98. package/dist-types/models/models_0.d.ts +969 -0
  99. package/dist-types/pagination/Interfaces.d.ts +8 -0
  100. package/dist-types/pagination/ListLinkedWhatsAppBusinessAccountsPaginator.d.ts +7 -0
  101. package/dist-types/pagination/index.d.ts +2 -0
  102. package/dist-types/protocols/Aws_restJson1.d.ts +119 -0
  103. package/dist-types/runtimeConfig.browser.d.ts +48 -0
  104. package/dist-types/runtimeConfig.d.ts +48 -0
  105. package/dist-types/runtimeConfig.native.d.ts +47 -0
  106. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  107. package/dist-types/runtimeExtensions.d.ts +17 -0
  108. package/dist-types/ts3.4/SocialMessaging.d.ts +254 -0
  109. package/dist-types/ts3.4/SocialMessagingClient.d.ts +197 -0
  110. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  111. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  112. package/dist-types/ts3.4/commands/AssociateWhatsAppBusinessAccountCommand.d.ts +51 -0
  113. package/dist-types/ts3.4/commands/DeleteWhatsAppMessageMediaCommand.d.ts +51 -0
  114. package/dist-types/ts3.4/commands/DisassociateWhatsAppBusinessAccountCommand.d.ts +51 -0
  115. package/dist-types/ts3.4/commands/GetLinkedWhatsAppBusinessAccountCommand.d.ts +51 -0
  116. package/dist-types/ts3.4/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.d.ts +51 -0
  117. package/dist-types/ts3.4/commands/GetWhatsAppMessageMediaCommand.d.ts +51 -0
  118. package/dist-types/ts3.4/commands/ListLinkedWhatsAppBusinessAccountsCommand.d.ts +51 -0
  119. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  120. package/dist-types/ts3.4/commands/PostWhatsAppMessageMediaCommand.d.ts +51 -0
  121. package/dist-types/ts3.4/commands/PutWhatsAppBusinessAccountEventDestinationsCommand.d.ts +51 -0
  122. package/dist-types/ts3.4/commands/SendWhatsAppMessageCommand.d.ts +51 -0
  123. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  124. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +47 -0
  125. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  126. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  127. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  128. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  129. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  130. package/dist-types/ts3.4/index.d.ts +9 -0
  131. package/dist-types/ts3.4/models/SocialMessagingServiceException.d.ts +9 -0
  132. package/dist-types/ts3.4/models/index.d.ts +1 -0
  133. package/dist-types/ts3.4/models/models_0.d.ts +272 -0
  134. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  135. package/dist-types/ts3.4/pagination/ListLinkedWhatsAppBusinessAccountsPaginator.d.ts +11 -0
  136. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  137. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +161 -0
  138. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
  139. package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
  140. package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
  141. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
  142. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  143. package/package.json +101 -0
@@ -0,0 +1,8 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { SocialMessagingClient } from "../SocialMessagingClient";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface SocialMessagingPaginationConfiguration extends PaginationConfiguration {
7
+ client: SocialMessagingClient;
8
+ }
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListLinkedWhatsAppBusinessAccountsCommandInput, ListLinkedWhatsAppBusinessAccountsCommandOutput } from "../commands/ListLinkedWhatsAppBusinessAccountsCommand";
3
+ import { SocialMessagingPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListLinkedWhatsAppBusinessAccounts: (config: SocialMessagingPaginationConfiguration, input: ListLinkedWhatsAppBusinessAccountsCommandInput, ...rest: any[]) => Paginator<ListLinkedWhatsAppBusinessAccountsCommandOutput>;
@@ -0,0 +1,2 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListLinkedWhatsAppBusinessAccountsPaginator";
@@ -0,0 +1,119 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
3
+ import { AssociateWhatsAppBusinessAccountCommandInput, AssociateWhatsAppBusinessAccountCommandOutput } from "../commands/AssociateWhatsAppBusinessAccountCommand";
4
+ import { DeleteWhatsAppMessageMediaCommandInput, DeleteWhatsAppMessageMediaCommandOutput } from "../commands/DeleteWhatsAppMessageMediaCommand";
5
+ import { DisassociateWhatsAppBusinessAccountCommandInput, DisassociateWhatsAppBusinessAccountCommandOutput } from "../commands/DisassociateWhatsAppBusinessAccountCommand";
6
+ import { GetLinkedWhatsAppBusinessAccountCommandInput, GetLinkedWhatsAppBusinessAccountCommandOutput } from "../commands/GetLinkedWhatsAppBusinessAccountCommand";
7
+ import { GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput, GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput } from "../commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand";
8
+ import { GetWhatsAppMessageMediaCommandInput, GetWhatsAppMessageMediaCommandOutput } from "../commands/GetWhatsAppMessageMediaCommand";
9
+ import { ListLinkedWhatsAppBusinessAccountsCommandInput, ListLinkedWhatsAppBusinessAccountsCommandOutput } from "../commands/ListLinkedWhatsAppBusinessAccountsCommand";
10
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
11
+ import { PostWhatsAppMessageMediaCommandInput, PostWhatsAppMessageMediaCommandOutput } from "../commands/PostWhatsAppMessageMediaCommand";
12
+ import { PutWhatsAppBusinessAccountEventDestinationsCommandInput, PutWhatsAppBusinessAccountEventDestinationsCommandOutput } from "../commands/PutWhatsAppBusinessAccountEventDestinationsCommand";
13
+ import { SendWhatsAppMessageCommandInput, SendWhatsAppMessageCommandOutput } from "../commands/SendWhatsAppMessageCommand";
14
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
15
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
16
+ /**
17
+ * serializeAws_restJson1AssociateWhatsAppBusinessAccountCommand
18
+ */
19
+ export declare const se_AssociateWhatsAppBusinessAccountCommand: (input: AssociateWhatsAppBusinessAccountCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
20
+ /**
21
+ * serializeAws_restJson1DeleteWhatsAppMessageMediaCommand
22
+ */
23
+ export declare const se_DeleteWhatsAppMessageMediaCommand: (input: DeleteWhatsAppMessageMediaCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
24
+ /**
25
+ * serializeAws_restJson1DisassociateWhatsAppBusinessAccountCommand
26
+ */
27
+ export declare const se_DisassociateWhatsAppBusinessAccountCommand: (input: DisassociateWhatsAppBusinessAccountCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
28
+ /**
29
+ * serializeAws_restJson1GetLinkedWhatsAppBusinessAccountCommand
30
+ */
31
+ export declare const se_GetLinkedWhatsAppBusinessAccountCommand: (input: GetLinkedWhatsAppBusinessAccountCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
32
+ /**
33
+ * serializeAws_restJson1GetLinkedWhatsAppBusinessAccountPhoneNumberCommand
34
+ */
35
+ export declare const se_GetLinkedWhatsAppBusinessAccountPhoneNumberCommand: (input: GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
36
+ /**
37
+ * serializeAws_restJson1GetWhatsAppMessageMediaCommand
38
+ */
39
+ export declare const se_GetWhatsAppMessageMediaCommand: (input: GetWhatsAppMessageMediaCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
40
+ /**
41
+ * serializeAws_restJson1ListLinkedWhatsAppBusinessAccountsCommand
42
+ */
43
+ export declare const se_ListLinkedWhatsAppBusinessAccountsCommand: (input: ListLinkedWhatsAppBusinessAccountsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
44
+ /**
45
+ * serializeAws_restJson1ListTagsForResourceCommand
46
+ */
47
+ export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
48
+ /**
49
+ * serializeAws_restJson1PostWhatsAppMessageMediaCommand
50
+ */
51
+ export declare const se_PostWhatsAppMessageMediaCommand: (input: PostWhatsAppMessageMediaCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
52
+ /**
53
+ * serializeAws_restJson1PutWhatsAppBusinessAccountEventDestinationsCommand
54
+ */
55
+ export declare const se_PutWhatsAppBusinessAccountEventDestinationsCommand: (input: PutWhatsAppBusinessAccountEventDestinationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
56
+ /**
57
+ * serializeAws_restJson1SendWhatsAppMessageCommand
58
+ */
59
+ export declare const se_SendWhatsAppMessageCommand: (input: SendWhatsAppMessageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
60
+ /**
61
+ * serializeAws_restJson1TagResourceCommand
62
+ */
63
+ export declare const se_TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
64
+ /**
65
+ * serializeAws_restJson1UntagResourceCommand
66
+ */
67
+ export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
68
+ /**
69
+ * deserializeAws_restJson1AssociateWhatsAppBusinessAccountCommand
70
+ */
71
+ export declare const de_AssociateWhatsAppBusinessAccountCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssociateWhatsAppBusinessAccountCommandOutput>;
72
+ /**
73
+ * deserializeAws_restJson1DeleteWhatsAppMessageMediaCommand
74
+ */
75
+ export declare const de_DeleteWhatsAppMessageMediaCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteWhatsAppMessageMediaCommandOutput>;
76
+ /**
77
+ * deserializeAws_restJson1DisassociateWhatsAppBusinessAccountCommand
78
+ */
79
+ export declare const de_DisassociateWhatsAppBusinessAccountCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateWhatsAppBusinessAccountCommandOutput>;
80
+ /**
81
+ * deserializeAws_restJson1GetLinkedWhatsAppBusinessAccountCommand
82
+ */
83
+ export declare const de_GetLinkedWhatsAppBusinessAccountCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetLinkedWhatsAppBusinessAccountCommandOutput>;
84
+ /**
85
+ * deserializeAws_restJson1GetLinkedWhatsAppBusinessAccountPhoneNumberCommand
86
+ */
87
+ export declare const de_GetLinkedWhatsAppBusinessAccountPhoneNumberCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput>;
88
+ /**
89
+ * deserializeAws_restJson1GetWhatsAppMessageMediaCommand
90
+ */
91
+ export declare const de_GetWhatsAppMessageMediaCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetWhatsAppMessageMediaCommandOutput>;
92
+ /**
93
+ * deserializeAws_restJson1ListLinkedWhatsAppBusinessAccountsCommand
94
+ */
95
+ export declare const de_ListLinkedWhatsAppBusinessAccountsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListLinkedWhatsAppBusinessAccountsCommandOutput>;
96
+ /**
97
+ * deserializeAws_restJson1ListTagsForResourceCommand
98
+ */
99
+ export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
100
+ /**
101
+ * deserializeAws_restJson1PostWhatsAppMessageMediaCommand
102
+ */
103
+ export declare const de_PostWhatsAppMessageMediaCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PostWhatsAppMessageMediaCommandOutput>;
104
+ /**
105
+ * deserializeAws_restJson1PutWhatsAppBusinessAccountEventDestinationsCommand
106
+ */
107
+ export declare const de_PutWhatsAppBusinessAccountEventDestinationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutWhatsAppBusinessAccountEventDestinationsCommandOutput>;
108
+ /**
109
+ * deserializeAws_restJson1SendWhatsAppMessageCommand
110
+ */
111
+ export declare const de_SendWhatsAppMessageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendWhatsAppMessageCommandOutput>;
112
+ /**
113
+ * deserializeAws_restJson1TagResourceCommand
114
+ */
115
+ export declare const de_TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
116
+ /**
117
+ * deserializeAws_restJson1UntagResourceCommand
118
+ */
119
+ export declare const de_UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
@@ -0,0 +1,48 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { SocialMessagingClientConfig } from "./SocialMessagingClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: SocialMessagingClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
11
+ defaultUserAgentProvider: (config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
12
+ maxAttempts: number | import("@smithy/types").Provider<number>;
13
+ region: string | import("@smithy/types").Provider<any>;
14
+ requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
15
+ retryMode: string | import("@smithy/types").Provider<string>;
16
+ sha256: import("@smithy/types").HashConstructor;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ apiVersion: string;
21
+ cacheMiddleware?: boolean | undefined;
22
+ urlParser: import("@smithy/types").UrlParser;
23
+ base64Decoder: import("@smithy/types").Decoder;
24
+ base64Encoder: (_input: string | Uint8Array) => string;
25
+ utf8Decoder: import("@smithy/types").Decoder;
26
+ utf8Encoder: (input: string | Uint8Array) => string;
27
+ disableHostPrefix: boolean;
28
+ serviceId: string;
29
+ logger: import("@smithy/types").Logger;
30
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
31
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
+ userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
+ logger?: import("@smithy/types").Logger | undefined;
37
+ }) => import("@smithy/types").EndpointV2;
38
+ tls?: boolean | undefined;
39
+ serviceConfiguredEndpoint?: undefined;
40
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
41
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SocialMessagingHttpAuthSchemeProvider;
42
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
43
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
44
+ signingEscapePath?: boolean | undefined;
45
+ systemClockOffset?: number | undefined;
46
+ signingRegion?: string | undefined;
47
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
48
+ };
@@ -0,0 +1,48 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { SocialMessagingClientConfig } from "./SocialMessagingClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: SocialMessagingClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
11
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
+ maxAttempts: number | import("@smithy/types").Provider<number>;
13
+ region: string | import("@smithy/types").Provider<string>;
14
+ requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
15
+ retryMode: string | import("@smithy/types").Provider<string>;
16
+ sha256: import("@smithy/types").HashConstructor;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
21
+ apiVersion: string;
22
+ cacheMiddleware?: boolean | undefined;
23
+ urlParser: import("@smithy/types").UrlParser;
24
+ base64Decoder: import("@smithy/types").Decoder;
25
+ base64Encoder: (_input: string | Uint8Array) => string;
26
+ utf8Decoder: import("@smithy/types").Decoder;
27
+ utf8Encoder: (input: string | Uint8Array) => string;
28
+ disableHostPrefix: boolean;
29
+ serviceId: string;
30
+ logger: import("@smithy/types").Logger;
31
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
32
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
33
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
+ logger?: import("@smithy/types").Logger | undefined;
37
+ }) => import("@smithy/types").EndpointV2;
38
+ tls?: boolean | undefined;
39
+ serviceConfiguredEndpoint?: undefined;
40
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
41
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SocialMessagingHttpAuthSchemeProvider;
42
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
43
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
44
+ signingEscapePath?: boolean | undefined;
45
+ systemClockOffset?: number | undefined;
46
+ signingRegion?: string | undefined;
47
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
48
+ };
@@ -0,0 +1,47 @@
1
+ import { SocialMessagingClientConfig } from "./SocialMessagingClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: SocialMessagingClientConfig) => {
6
+ runtime: string;
7
+ sha256: import("@smithy/types").HashConstructor;
8
+ requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
+ apiVersion: string;
10
+ cacheMiddleware?: boolean | undefined;
11
+ urlParser: import("@smithy/types").UrlParser;
12
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
13
+ streamCollector: import("@smithy/types").StreamCollector;
14
+ base64Decoder: import("@smithy/types").Decoder;
15
+ base64Encoder: (_input: string | Uint8Array) => string;
16
+ utf8Decoder: import("@smithy/types").Decoder;
17
+ utf8Encoder: (input: string | Uint8Array) => string;
18
+ disableHostPrefix: boolean;
19
+ serviceId: string;
20
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
+ region: string | import("@smithy/types").Provider<any>;
23
+ defaultUserAgentProvider: (config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
24
+ credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ maxAttempts: number | import("@smithy/types").Provider<number>;
26
+ retryMode: string | import("@smithy/types").Provider<string>;
27
+ logger: import("@smithy/types").Logger;
28
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
29
+ defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
30
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
31
+ userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
32
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
33
+ endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
35
+ logger?: import("@smithy/types").Logger | undefined;
36
+ }) => import("@smithy/types").EndpointV2;
37
+ tls?: boolean | undefined;
38
+ serviceConfiguredEndpoint?: undefined;
39
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
40
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SocialMessagingHttpAuthSchemeProvider;
41
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
42
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
43
+ signingEscapePath?: boolean | undefined;
44
+ systemClockOffset?: number | undefined;
45
+ signingRegion?: string | undefined;
46
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
47
+ };
@@ -0,0 +1,21 @@
1
+ import { SocialMessagingClientConfig } from "./SocialMessagingClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: SocialMessagingClientConfig) => {
6
+ apiVersion: string;
7
+ base64Decoder: import("@smithy/types").Decoder;
8
+ base64Encoder: (_input: string | Uint8Array) => string;
9
+ disableHostPrefix: boolean;
10
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
+ logger?: import("@smithy/types").Logger | undefined;
12
+ }) => import("@smithy/types").EndpointV2;
13
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
14
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SocialMessagingHttpAuthSchemeProvider;
15
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
+ logger: import("@smithy/types").Logger;
17
+ serviceId: string;
18
+ urlParser: import("@smithy/types").UrlParser;
19
+ utf8Decoder: import("@smithy/types").Decoder;
20
+ utf8Encoder: (input: string | Uint8Array) => string;
21
+ };
@@ -0,0 +1,17 @@
1
+ import { SocialMessagingExtensionConfiguration } from "./extensionConfiguration";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface RuntimeExtension {
6
+ configure(extensionConfiguration: SocialMessagingExtensionConfiguration): void;
7
+ }
8
+ /**
9
+ * @public
10
+ */
11
+ export interface RuntimeExtensionsConfig {
12
+ extensions: RuntimeExtension[];
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
@@ -0,0 +1,254 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import {
3
+ AssociateWhatsAppBusinessAccountCommandInput,
4
+ AssociateWhatsAppBusinessAccountCommandOutput,
5
+ } from "./commands/AssociateWhatsAppBusinessAccountCommand";
6
+ import {
7
+ DeleteWhatsAppMessageMediaCommandInput,
8
+ DeleteWhatsAppMessageMediaCommandOutput,
9
+ } from "./commands/DeleteWhatsAppMessageMediaCommand";
10
+ import {
11
+ DisassociateWhatsAppBusinessAccountCommandInput,
12
+ DisassociateWhatsAppBusinessAccountCommandOutput,
13
+ } from "./commands/DisassociateWhatsAppBusinessAccountCommand";
14
+ import {
15
+ GetLinkedWhatsAppBusinessAccountCommandInput,
16
+ GetLinkedWhatsAppBusinessAccountCommandOutput,
17
+ } from "./commands/GetLinkedWhatsAppBusinessAccountCommand";
18
+ import {
19
+ GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput,
20
+ GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput,
21
+ } from "./commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand";
22
+ import {
23
+ GetWhatsAppMessageMediaCommandInput,
24
+ GetWhatsAppMessageMediaCommandOutput,
25
+ } from "./commands/GetWhatsAppMessageMediaCommand";
26
+ import {
27
+ ListLinkedWhatsAppBusinessAccountsCommandInput,
28
+ ListLinkedWhatsAppBusinessAccountsCommandOutput,
29
+ } from "./commands/ListLinkedWhatsAppBusinessAccountsCommand";
30
+ import {
31
+ ListTagsForResourceCommandInput,
32
+ ListTagsForResourceCommandOutput,
33
+ } from "./commands/ListTagsForResourceCommand";
34
+ import {
35
+ PostWhatsAppMessageMediaCommandInput,
36
+ PostWhatsAppMessageMediaCommandOutput,
37
+ } from "./commands/PostWhatsAppMessageMediaCommand";
38
+ import {
39
+ PutWhatsAppBusinessAccountEventDestinationsCommandInput,
40
+ PutWhatsAppBusinessAccountEventDestinationsCommandOutput,
41
+ } from "./commands/PutWhatsAppBusinessAccountEventDestinationsCommand";
42
+ import {
43
+ SendWhatsAppMessageCommandInput,
44
+ SendWhatsAppMessageCommandOutput,
45
+ } from "./commands/SendWhatsAppMessageCommand";
46
+ import {
47
+ TagResourceCommandInput,
48
+ TagResourceCommandOutput,
49
+ } from "./commands/TagResourceCommand";
50
+ import {
51
+ UntagResourceCommandInput,
52
+ UntagResourceCommandOutput,
53
+ } from "./commands/UntagResourceCommand";
54
+ import { SocialMessagingClient } from "./SocialMessagingClient";
55
+ export interface SocialMessaging {
56
+ associateWhatsAppBusinessAccount(): Promise<AssociateWhatsAppBusinessAccountCommandOutput>;
57
+ associateWhatsAppBusinessAccount(
58
+ args: AssociateWhatsAppBusinessAccountCommandInput,
59
+ options?: __HttpHandlerOptions
60
+ ): Promise<AssociateWhatsAppBusinessAccountCommandOutput>;
61
+ associateWhatsAppBusinessAccount(
62
+ args: AssociateWhatsAppBusinessAccountCommandInput,
63
+ cb: (err: any, data?: AssociateWhatsAppBusinessAccountCommandOutput) => void
64
+ ): void;
65
+ associateWhatsAppBusinessAccount(
66
+ args: AssociateWhatsAppBusinessAccountCommandInput,
67
+ options: __HttpHandlerOptions,
68
+ cb: (err: any, data?: AssociateWhatsAppBusinessAccountCommandOutput) => void
69
+ ): void;
70
+ deleteWhatsAppMessageMedia(
71
+ args: DeleteWhatsAppMessageMediaCommandInput,
72
+ options?: __HttpHandlerOptions
73
+ ): Promise<DeleteWhatsAppMessageMediaCommandOutput>;
74
+ deleteWhatsAppMessageMedia(
75
+ args: DeleteWhatsAppMessageMediaCommandInput,
76
+ cb: (err: any, data?: DeleteWhatsAppMessageMediaCommandOutput) => void
77
+ ): void;
78
+ deleteWhatsAppMessageMedia(
79
+ args: DeleteWhatsAppMessageMediaCommandInput,
80
+ options: __HttpHandlerOptions,
81
+ cb: (err: any, data?: DeleteWhatsAppMessageMediaCommandOutput) => void
82
+ ): void;
83
+ disassociateWhatsAppBusinessAccount(
84
+ args: DisassociateWhatsAppBusinessAccountCommandInput,
85
+ options?: __HttpHandlerOptions
86
+ ): Promise<DisassociateWhatsAppBusinessAccountCommandOutput>;
87
+ disassociateWhatsAppBusinessAccount(
88
+ args: DisassociateWhatsAppBusinessAccountCommandInput,
89
+ cb: (
90
+ err: any,
91
+ data?: DisassociateWhatsAppBusinessAccountCommandOutput
92
+ ) => void
93
+ ): void;
94
+ disassociateWhatsAppBusinessAccount(
95
+ args: DisassociateWhatsAppBusinessAccountCommandInput,
96
+ options: __HttpHandlerOptions,
97
+ cb: (
98
+ err: any,
99
+ data?: DisassociateWhatsAppBusinessAccountCommandOutput
100
+ ) => void
101
+ ): void;
102
+ getLinkedWhatsAppBusinessAccount(
103
+ args: GetLinkedWhatsAppBusinessAccountCommandInput,
104
+ options?: __HttpHandlerOptions
105
+ ): Promise<GetLinkedWhatsAppBusinessAccountCommandOutput>;
106
+ getLinkedWhatsAppBusinessAccount(
107
+ args: GetLinkedWhatsAppBusinessAccountCommandInput,
108
+ cb: (err: any, data?: GetLinkedWhatsAppBusinessAccountCommandOutput) => void
109
+ ): void;
110
+ getLinkedWhatsAppBusinessAccount(
111
+ args: GetLinkedWhatsAppBusinessAccountCommandInput,
112
+ options: __HttpHandlerOptions,
113
+ cb: (err: any, data?: GetLinkedWhatsAppBusinessAccountCommandOutput) => void
114
+ ): void;
115
+ getLinkedWhatsAppBusinessAccountPhoneNumber(
116
+ args: GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput,
117
+ options?: __HttpHandlerOptions
118
+ ): Promise<GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput>;
119
+ getLinkedWhatsAppBusinessAccountPhoneNumber(
120
+ args: GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput,
121
+ cb: (
122
+ err: any,
123
+ data?: GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput
124
+ ) => void
125
+ ): void;
126
+ getLinkedWhatsAppBusinessAccountPhoneNumber(
127
+ args: GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput,
128
+ options: __HttpHandlerOptions,
129
+ cb: (
130
+ err: any,
131
+ data?: GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput
132
+ ) => void
133
+ ): void;
134
+ getWhatsAppMessageMedia(
135
+ args: GetWhatsAppMessageMediaCommandInput,
136
+ options?: __HttpHandlerOptions
137
+ ): Promise<GetWhatsAppMessageMediaCommandOutput>;
138
+ getWhatsAppMessageMedia(
139
+ args: GetWhatsAppMessageMediaCommandInput,
140
+ cb: (err: any, data?: GetWhatsAppMessageMediaCommandOutput) => void
141
+ ): void;
142
+ getWhatsAppMessageMedia(
143
+ args: GetWhatsAppMessageMediaCommandInput,
144
+ options: __HttpHandlerOptions,
145
+ cb: (err: any, data?: GetWhatsAppMessageMediaCommandOutput) => void
146
+ ): void;
147
+ listLinkedWhatsAppBusinessAccounts(): Promise<ListLinkedWhatsAppBusinessAccountsCommandOutput>;
148
+ listLinkedWhatsAppBusinessAccounts(
149
+ args: ListLinkedWhatsAppBusinessAccountsCommandInput,
150
+ options?: __HttpHandlerOptions
151
+ ): Promise<ListLinkedWhatsAppBusinessAccountsCommandOutput>;
152
+ listLinkedWhatsAppBusinessAccounts(
153
+ args: ListLinkedWhatsAppBusinessAccountsCommandInput,
154
+ cb: (
155
+ err: any,
156
+ data?: ListLinkedWhatsAppBusinessAccountsCommandOutput
157
+ ) => void
158
+ ): void;
159
+ listLinkedWhatsAppBusinessAccounts(
160
+ args: ListLinkedWhatsAppBusinessAccountsCommandInput,
161
+ options: __HttpHandlerOptions,
162
+ cb: (
163
+ err: any,
164
+ data?: ListLinkedWhatsAppBusinessAccountsCommandOutput
165
+ ) => void
166
+ ): void;
167
+ listTagsForResource(
168
+ args: ListTagsForResourceCommandInput,
169
+ options?: __HttpHandlerOptions
170
+ ): Promise<ListTagsForResourceCommandOutput>;
171
+ listTagsForResource(
172
+ args: ListTagsForResourceCommandInput,
173
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
174
+ ): void;
175
+ listTagsForResource(
176
+ args: ListTagsForResourceCommandInput,
177
+ options: __HttpHandlerOptions,
178
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
179
+ ): void;
180
+ postWhatsAppMessageMedia(
181
+ args: PostWhatsAppMessageMediaCommandInput,
182
+ options?: __HttpHandlerOptions
183
+ ): Promise<PostWhatsAppMessageMediaCommandOutput>;
184
+ postWhatsAppMessageMedia(
185
+ args: PostWhatsAppMessageMediaCommandInput,
186
+ cb: (err: any, data?: PostWhatsAppMessageMediaCommandOutput) => void
187
+ ): void;
188
+ postWhatsAppMessageMedia(
189
+ args: PostWhatsAppMessageMediaCommandInput,
190
+ options: __HttpHandlerOptions,
191
+ cb: (err: any, data?: PostWhatsAppMessageMediaCommandOutput) => void
192
+ ): void;
193
+ putWhatsAppBusinessAccountEventDestinations(
194
+ args: PutWhatsAppBusinessAccountEventDestinationsCommandInput,
195
+ options?: __HttpHandlerOptions
196
+ ): Promise<PutWhatsAppBusinessAccountEventDestinationsCommandOutput>;
197
+ putWhatsAppBusinessAccountEventDestinations(
198
+ args: PutWhatsAppBusinessAccountEventDestinationsCommandInput,
199
+ cb: (
200
+ err: any,
201
+ data?: PutWhatsAppBusinessAccountEventDestinationsCommandOutput
202
+ ) => void
203
+ ): void;
204
+ putWhatsAppBusinessAccountEventDestinations(
205
+ args: PutWhatsAppBusinessAccountEventDestinationsCommandInput,
206
+ options: __HttpHandlerOptions,
207
+ cb: (
208
+ err: any,
209
+ data?: PutWhatsAppBusinessAccountEventDestinationsCommandOutput
210
+ ) => void
211
+ ): void;
212
+ sendWhatsAppMessage(
213
+ args: SendWhatsAppMessageCommandInput,
214
+ options?: __HttpHandlerOptions
215
+ ): Promise<SendWhatsAppMessageCommandOutput>;
216
+ sendWhatsAppMessage(
217
+ args: SendWhatsAppMessageCommandInput,
218
+ cb: (err: any, data?: SendWhatsAppMessageCommandOutput) => void
219
+ ): void;
220
+ sendWhatsAppMessage(
221
+ args: SendWhatsAppMessageCommandInput,
222
+ options: __HttpHandlerOptions,
223
+ cb: (err: any, data?: SendWhatsAppMessageCommandOutput) => void
224
+ ): void;
225
+ tagResource(
226
+ args: TagResourceCommandInput,
227
+ options?: __HttpHandlerOptions
228
+ ): Promise<TagResourceCommandOutput>;
229
+ tagResource(
230
+ args: TagResourceCommandInput,
231
+ cb: (err: any, data?: TagResourceCommandOutput) => void
232
+ ): void;
233
+ tagResource(
234
+ args: TagResourceCommandInput,
235
+ options: __HttpHandlerOptions,
236
+ cb: (err: any, data?: TagResourceCommandOutput) => void
237
+ ): void;
238
+ untagResource(
239
+ args: UntagResourceCommandInput,
240
+ options?: __HttpHandlerOptions
241
+ ): Promise<UntagResourceCommandOutput>;
242
+ untagResource(
243
+ args: UntagResourceCommandInput,
244
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
245
+ ): void;
246
+ untagResource(
247
+ args: UntagResourceCommandInput,
248
+ options: __HttpHandlerOptions,
249
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
250
+ ): void;
251
+ }
252
+ export declare class SocialMessaging
253
+ extends SocialMessagingClient
254
+ implements SocialMessaging {}