@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,197 @@
1
+ import {
2
+ HostHeaderInputConfig,
3
+ HostHeaderResolvedConfig,
4
+ } from "@aws-sdk/middleware-host-header";
5
+ import {
6
+ UserAgentInputConfig,
7
+ UserAgentResolvedConfig,
8
+ } from "@aws-sdk/middleware-user-agent";
9
+ import {
10
+ RegionInputConfig,
11
+ RegionResolvedConfig,
12
+ } from "@smithy/config-resolver";
13
+ import {
14
+ EndpointInputConfig,
15
+ EndpointResolvedConfig,
16
+ } from "@smithy/middleware-endpoint";
17
+ import {
18
+ RetryInputConfig,
19
+ RetryResolvedConfig,
20
+ } from "@smithy/middleware-retry";
21
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
22
+ import {
23
+ Client as __Client,
24
+ DefaultsMode as __DefaultsMode,
25
+ SmithyConfiguration as __SmithyConfiguration,
26
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
27
+ } from "@smithy/smithy-client";
28
+ import {
29
+ AwsCredentialIdentityProvider,
30
+ BodyLengthCalculator as __BodyLengthCalculator,
31
+ CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
+ ChecksumConstructor as __ChecksumConstructor,
33
+ Decoder as __Decoder,
34
+ Encoder as __Encoder,
35
+ HashConstructor as __HashConstructor,
36
+ HttpHandlerOptions as __HttpHandlerOptions,
37
+ Logger as __Logger,
38
+ Provider as __Provider,
39
+ Provider,
40
+ StreamCollector as __StreamCollector,
41
+ UrlParser as __UrlParser,
42
+ UserAgent as __UserAgent,
43
+ } from "@smithy/types";
44
+ import {
45
+ HttpAuthSchemeInputConfig,
46
+ HttpAuthSchemeResolvedConfig,
47
+ } from "./auth/httpAuthSchemeProvider";
48
+ import {
49
+ AssociateWhatsAppBusinessAccountCommandInput,
50
+ AssociateWhatsAppBusinessAccountCommandOutput,
51
+ } from "./commands/AssociateWhatsAppBusinessAccountCommand";
52
+ import {
53
+ DeleteWhatsAppMessageMediaCommandInput,
54
+ DeleteWhatsAppMessageMediaCommandOutput,
55
+ } from "./commands/DeleteWhatsAppMessageMediaCommand";
56
+ import {
57
+ DisassociateWhatsAppBusinessAccountCommandInput,
58
+ DisassociateWhatsAppBusinessAccountCommandOutput,
59
+ } from "./commands/DisassociateWhatsAppBusinessAccountCommand";
60
+ import {
61
+ GetLinkedWhatsAppBusinessAccountCommandInput,
62
+ GetLinkedWhatsAppBusinessAccountCommandOutput,
63
+ } from "./commands/GetLinkedWhatsAppBusinessAccountCommand";
64
+ import {
65
+ GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput,
66
+ GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput,
67
+ } from "./commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand";
68
+ import {
69
+ GetWhatsAppMessageMediaCommandInput,
70
+ GetWhatsAppMessageMediaCommandOutput,
71
+ } from "./commands/GetWhatsAppMessageMediaCommand";
72
+ import {
73
+ ListLinkedWhatsAppBusinessAccountsCommandInput,
74
+ ListLinkedWhatsAppBusinessAccountsCommandOutput,
75
+ } from "./commands/ListLinkedWhatsAppBusinessAccountsCommand";
76
+ import {
77
+ ListTagsForResourceCommandInput,
78
+ ListTagsForResourceCommandOutput,
79
+ } from "./commands/ListTagsForResourceCommand";
80
+ import {
81
+ PostWhatsAppMessageMediaCommandInput,
82
+ PostWhatsAppMessageMediaCommandOutput,
83
+ } from "./commands/PostWhatsAppMessageMediaCommand";
84
+ import {
85
+ PutWhatsAppBusinessAccountEventDestinationsCommandInput,
86
+ PutWhatsAppBusinessAccountEventDestinationsCommandOutput,
87
+ } from "./commands/PutWhatsAppBusinessAccountEventDestinationsCommand";
88
+ import {
89
+ SendWhatsAppMessageCommandInput,
90
+ SendWhatsAppMessageCommandOutput,
91
+ } from "./commands/SendWhatsAppMessageCommand";
92
+ import {
93
+ TagResourceCommandInput,
94
+ TagResourceCommandOutput,
95
+ } from "./commands/TagResourceCommand";
96
+ import {
97
+ UntagResourceCommandInput,
98
+ UntagResourceCommandOutput,
99
+ } from "./commands/UntagResourceCommand";
100
+ import {
101
+ ClientInputEndpointParameters,
102
+ ClientResolvedEndpointParameters,
103
+ EndpointParameters,
104
+ } from "./endpoint/EndpointParameters";
105
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
106
+ export { __Client };
107
+ export type ServiceInputTypes =
108
+ | AssociateWhatsAppBusinessAccountCommandInput
109
+ | DeleteWhatsAppMessageMediaCommandInput
110
+ | DisassociateWhatsAppBusinessAccountCommandInput
111
+ | GetLinkedWhatsAppBusinessAccountCommandInput
112
+ | GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput
113
+ | GetWhatsAppMessageMediaCommandInput
114
+ | ListLinkedWhatsAppBusinessAccountsCommandInput
115
+ | ListTagsForResourceCommandInput
116
+ | PostWhatsAppMessageMediaCommandInput
117
+ | PutWhatsAppBusinessAccountEventDestinationsCommandInput
118
+ | SendWhatsAppMessageCommandInput
119
+ | TagResourceCommandInput
120
+ | UntagResourceCommandInput;
121
+ export type ServiceOutputTypes =
122
+ | AssociateWhatsAppBusinessAccountCommandOutput
123
+ | DeleteWhatsAppMessageMediaCommandOutput
124
+ | DisassociateWhatsAppBusinessAccountCommandOutput
125
+ | GetLinkedWhatsAppBusinessAccountCommandOutput
126
+ | GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput
127
+ | GetWhatsAppMessageMediaCommandOutput
128
+ | ListLinkedWhatsAppBusinessAccountsCommandOutput
129
+ | ListTagsForResourceCommandOutput
130
+ | PostWhatsAppMessageMediaCommandOutput
131
+ | PutWhatsAppBusinessAccountEventDestinationsCommandOutput
132
+ | SendWhatsAppMessageCommandOutput
133
+ | TagResourceCommandOutput
134
+ | UntagResourceCommandOutput;
135
+ export interface ClientDefaults
136
+ extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
137
+ requestHandler?: __HttpHandlerUserInput;
138
+ sha256?: __ChecksumConstructor | __HashConstructor;
139
+ urlParser?: __UrlParser;
140
+ bodyLengthChecker?: __BodyLengthCalculator;
141
+ streamCollector?: __StreamCollector;
142
+ base64Decoder?: __Decoder;
143
+ base64Encoder?: __Encoder;
144
+ utf8Decoder?: __Decoder;
145
+ utf8Encoder?: __Encoder;
146
+ runtime?: string;
147
+ disableHostPrefix?: boolean;
148
+ serviceId?: string;
149
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
150
+ useFipsEndpoint?: boolean | __Provider<boolean>;
151
+ region?: string | __Provider<string>;
152
+ defaultUserAgentProvider?: Provider<__UserAgent>;
153
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
154
+ maxAttempts?: number | __Provider<number>;
155
+ retryMode?: string | __Provider<string>;
156
+ logger?: __Logger;
157
+ extensions?: RuntimeExtension[];
158
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
159
+ }
160
+ export type SocialMessagingClientConfigType = Partial<
161
+ __SmithyConfiguration<__HttpHandlerOptions>
162
+ > &
163
+ ClientDefaults &
164
+ UserAgentInputConfig &
165
+ RetryInputConfig &
166
+ RegionInputConfig &
167
+ HostHeaderInputConfig &
168
+ EndpointInputConfig<EndpointParameters> &
169
+ HttpAuthSchemeInputConfig &
170
+ ClientInputEndpointParameters;
171
+ export interface SocialMessagingClientConfig
172
+ extends SocialMessagingClientConfigType {}
173
+ export type SocialMessagingClientResolvedConfigType =
174
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
175
+ Required<ClientDefaults> &
176
+ RuntimeExtensionsConfig &
177
+ UserAgentResolvedConfig &
178
+ RetryResolvedConfig &
179
+ RegionResolvedConfig &
180
+ HostHeaderResolvedConfig &
181
+ EndpointResolvedConfig<EndpointParameters> &
182
+ HttpAuthSchemeResolvedConfig &
183
+ ClientResolvedEndpointParameters;
184
+ export interface SocialMessagingClientResolvedConfig
185
+ extends SocialMessagingClientResolvedConfigType {}
186
+ export declare class SocialMessagingClient extends __Client<
187
+ __HttpHandlerOptions,
188
+ ServiceInputTypes,
189
+ ServiceOutputTypes,
190
+ SocialMessagingClientResolvedConfig
191
+ > {
192
+ readonly config: SocialMessagingClientResolvedConfig;
193
+ constructor(
194
+ ...[configuration]: __CheckOptionalClientConfig<SocialMessagingClientConfig>
195
+ );
196
+ destroy(): void;
197
+ }
@@ -0,0 +1,32 @@
1
+ import {
2
+ AwsCredentialIdentity,
3
+ AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
5
+ } from "@smithy/types";
6
+ import { SocialMessagingHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
+ export interface HttpAuthExtensionConfiguration {
8
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
+ httpAuthSchemes(): HttpAuthScheme[];
10
+ setHttpAuthSchemeProvider(
11
+ httpAuthSchemeProvider: SocialMessagingHttpAuthSchemeProvider
12
+ ): void;
13
+ httpAuthSchemeProvider(): SocialMessagingHttpAuthSchemeProvider;
14
+ setCredentials(
15
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
+ ): void;
17
+ credentials():
18
+ | AwsCredentialIdentity
19
+ | AwsCredentialIdentityProvider
20
+ | undefined;
21
+ }
22
+ export type HttpAuthRuntimeConfig = Partial<{
23
+ httpAuthSchemes: HttpAuthScheme[];
24
+ httpAuthSchemeProvider: SocialMessagingHttpAuthSchemeProvider;
25
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
+ }>;
27
+ export declare const getHttpAuthExtensionConfiguration: (
28
+ runtimeConfig: HttpAuthRuntimeConfig
29
+ ) => HttpAuthExtensionConfiguration;
30
+ export declare const resolveHttpAuthRuntimeConfig: (
31
+ config: HttpAuthExtensionConfiguration
32
+ ) => HttpAuthRuntimeConfig;
@@ -0,0 +1,44 @@
1
+ import {
2
+ AwsSdkSigV4AuthInputConfig,
3
+ AwsSdkSigV4AuthResolvedConfig,
4
+ AwsSdkSigV4PreviouslyResolved,
5
+ } from "@aws-sdk/core";
6
+ import {
7
+ HandlerExecutionContext,
8
+ HttpAuthScheme,
9
+ HttpAuthSchemeParameters,
10
+ HttpAuthSchemeParametersProvider,
11
+ HttpAuthSchemeProvider,
12
+ } from "@smithy/types";
13
+ import { SocialMessagingClientResolvedConfig } from "../SocialMessagingClient";
14
+ export interface SocialMessagingHttpAuthSchemeParameters
15
+ extends HttpAuthSchemeParameters {
16
+ region?: string;
17
+ }
18
+ export interface SocialMessagingHttpAuthSchemeParametersProvider
19
+ extends HttpAuthSchemeParametersProvider<
20
+ SocialMessagingClientResolvedConfig,
21
+ HandlerExecutionContext,
22
+ SocialMessagingHttpAuthSchemeParameters,
23
+ object
24
+ > {}
25
+ export declare const defaultSocialMessagingHttpAuthSchemeParametersProvider: (
26
+ config: SocialMessagingClientResolvedConfig,
27
+ context: HandlerExecutionContext,
28
+ input: object
29
+ ) => Promise<SocialMessagingHttpAuthSchemeParameters>;
30
+ export interface SocialMessagingHttpAuthSchemeProvider
31
+ extends HttpAuthSchemeProvider<SocialMessagingHttpAuthSchemeParameters> {}
32
+ export declare const defaultSocialMessagingHttpAuthSchemeProvider: SocialMessagingHttpAuthSchemeProvider;
33
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
34
+ httpAuthSchemes?: HttpAuthScheme[];
35
+ httpAuthSchemeProvider?: SocialMessagingHttpAuthSchemeProvider;
36
+ }
37
+ export interface HttpAuthSchemeResolvedConfig
38
+ extends AwsSdkSigV4AuthResolvedConfig {
39
+ readonly httpAuthSchemes: HttpAuthScheme[];
40
+ readonly httpAuthSchemeProvider: SocialMessagingHttpAuthSchemeProvider;
41
+ }
42
+ export declare const resolveHttpAuthSchemeConfig: <T>(
43
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
44
+ ) => T & HttpAuthSchemeResolvedConfig;
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ AssociateWhatsAppBusinessAccountInput,
5
+ AssociateWhatsAppBusinessAccountOutput,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ SocialMessagingClientResolvedConfig,
11
+ } from "../SocialMessagingClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface AssociateWhatsAppBusinessAccountCommandInput
15
+ extends AssociateWhatsAppBusinessAccountInput {}
16
+ export interface AssociateWhatsAppBusinessAccountCommandOutput
17
+ extends AssociateWhatsAppBusinessAccountOutput,
18
+ __MetadataBearer {}
19
+ declare const AssociateWhatsAppBusinessAccountCommand_base: {
20
+ new (
21
+ input: AssociateWhatsAppBusinessAccountCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ AssociateWhatsAppBusinessAccountCommandInput,
24
+ AssociateWhatsAppBusinessAccountCommandOutput,
25
+ SocialMessagingClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: [] | [AssociateWhatsAppBusinessAccountCommandInput]
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ AssociateWhatsAppBusinessAccountCommandInput,
33
+ AssociateWhatsAppBusinessAccountCommandOutput,
34
+ SocialMessagingClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class AssociateWhatsAppBusinessAccountCommand extends AssociateWhatsAppBusinessAccountCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: AssociateWhatsAppBusinessAccountInput;
44
+ output: AssociateWhatsAppBusinessAccountOutput;
45
+ };
46
+ sdk: {
47
+ input: AssociateWhatsAppBusinessAccountCommandInput;
48
+ output: AssociateWhatsAppBusinessAccountCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ DeleteWhatsAppMessageMediaInput,
5
+ DeleteWhatsAppMessageMediaOutput,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ SocialMessagingClientResolvedConfig,
11
+ } from "../SocialMessagingClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DeleteWhatsAppMessageMediaCommandInput
15
+ extends DeleteWhatsAppMessageMediaInput {}
16
+ export interface DeleteWhatsAppMessageMediaCommandOutput
17
+ extends DeleteWhatsAppMessageMediaOutput,
18
+ __MetadataBearer {}
19
+ declare const DeleteWhatsAppMessageMediaCommand_base: {
20
+ new (
21
+ input: DeleteWhatsAppMessageMediaCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DeleteWhatsAppMessageMediaCommandInput,
24
+ DeleteWhatsAppMessageMediaCommandOutput,
25
+ SocialMessagingClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: DeleteWhatsAppMessageMediaCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DeleteWhatsAppMessageMediaCommandInput,
33
+ DeleteWhatsAppMessageMediaCommandOutput,
34
+ SocialMessagingClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DeleteWhatsAppMessageMediaCommand extends DeleteWhatsAppMessageMediaCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DeleteWhatsAppMessageMediaInput;
44
+ output: DeleteWhatsAppMessageMediaOutput;
45
+ };
46
+ sdk: {
47
+ input: DeleteWhatsAppMessageMediaCommandInput;
48
+ output: DeleteWhatsAppMessageMediaCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ DisassociateWhatsAppBusinessAccountInput,
5
+ DisassociateWhatsAppBusinessAccountOutput,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ SocialMessagingClientResolvedConfig,
11
+ } from "../SocialMessagingClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DisassociateWhatsAppBusinessAccountCommandInput
15
+ extends DisassociateWhatsAppBusinessAccountInput {}
16
+ export interface DisassociateWhatsAppBusinessAccountCommandOutput
17
+ extends DisassociateWhatsAppBusinessAccountOutput,
18
+ __MetadataBearer {}
19
+ declare const DisassociateWhatsAppBusinessAccountCommand_base: {
20
+ new (
21
+ input: DisassociateWhatsAppBusinessAccountCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DisassociateWhatsAppBusinessAccountCommandInput,
24
+ DisassociateWhatsAppBusinessAccountCommandOutput,
25
+ SocialMessagingClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: DisassociateWhatsAppBusinessAccountCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DisassociateWhatsAppBusinessAccountCommandInput,
33
+ DisassociateWhatsAppBusinessAccountCommandOutput,
34
+ SocialMessagingClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DisassociateWhatsAppBusinessAccountCommand extends DisassociateWhatsAppBusinessAccountCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DisassociateWhatsAppBusinessAccountInput;
44
+ output: {};
45
+ };
46
+ sdk: {
47
+ input: DisassociateWhatsAppBusinessAccountCommandInput;
48
+ output: DisassociateWhatsAppBusinessAccountCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GetLinkedWhatsAppBusinessAccountInput,
5
+ GetLinkedWhatsAppBusinessAccountOutput,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ SocialMessagingClientResolvedConfig,
11
+ } from "../SocialMessagingClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetLinkedWhatsAppBusinessAccountCommandInput
15
+ extends GetLinkedWhatsAppBusinessAccountInput {}
16
+ export interface GetLinkedWhatsAppBusinessAccountCommandOutput
17
+ extends GetLinkedWhatsAppBusinessAccountOutput,
18
+ __MetadataBearer {}
19
+ declare const GetLinkedWhatsAppBusinessAccountCommand_base: {
20
+ new (
21
+ input: GetLinkedWhatsAppBusinessAccountCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetLinkedWhatsAppBusinessAccountCommandInput,
24
+ GetLinkedWhatsAppBusinessAccountCommandOutput,
25
+ SocialMessagingClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: GetLinkedWhatsAppBusinessAccountCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetLinkedWhatsAppBusinessAccountCommandInput,
33
+ GetLinkedWhatsAppBusinessAccountCommandOutput,
34
+ SocialMessagingClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetLinkedWhatsAppBusinessAccountCommand extends GetLinkedWhatsAppBusinessAccountCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetLinkedWhatsAppBusinessAccountInput;
44
+ output: GetLinkedWhatsAppBusinessAccountOutput;
45
+ };
46
+ sdk: {
47
+ input: GetLinkedWhatsAppBusinessAccountCommandInput;
48
+ output: GetLinkedWhatsAppBusinessAccountCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GetLinkedWhatsAppBusinessAccountPhoneNumberInput,
5
+ GetLinkedWhatsAppBusinessAccountPhoneNumberOutput,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ SocialMessagingClientResolvedConfig,
11
+ } from "../SocialMessagingClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput
15
+ extends GetLinkedWhatsAppBusinessAccountPhoneNumberInput {}
16
+ export interface GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput
17
+ extends GetLinkedWhatsAppBusinessAccountPhoneNumberOutput,
18
+ __MetadataBearer {}
19
+ declare const GetLinkedWhatsAppBusinessAccountPhoneNumberCommand_base: {
20
+ new (
21
+ input: GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput,
24
+ GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput,
25
+ SocialMessagingClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput,
33
+ GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput,
34
+ SocialMessagingClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetLinkedWhatsAppBusinessAccountPhoneNumberCommand extends GetLinkedWhatsAppBusinessAccountPhoneNumberCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetLinkedWhatsAppBusinessAccountPhoneNumberInput;
44
+ output: GetLinkedWhatsAppBusinessAccountPhoneNumberOutput;
45
+ };
46
+ sdk: {
47
+ input: GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput;
48
+ output: GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GetWhatsAppMessageMediaInput,
5
+ GetWhatsAppMessageMediaOutput,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ SocialMessagingClientResolvedConfig,
11
+ } from "../SocialMessagingClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetWhatsAppMessageMediaCommandInput
15
+ extends GetWhatsAppMessageMediaInput {}
16
+ export interface GetWhatsAppMessageMediaCommandOutput
17
+ extends GetWhatsAppMessageMediaOutput,
18
+ __MetadataBearer {}
19
+ declare const GetWhatsAppMessageMediaCommand_base: {
20
+ new (
21
+ input: GetWhatsAppMessageMediaCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetWhatsAppMessageMediaCommandInput,
24
+ GetWhatsAppMessageMediaCommandOutput,
25
+ SocialMessagingClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: GetWhatsAppMessageMediaCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetWhatsAppMessageMediaCommandInput,
33
+ GetWhatsAppMessageMediaCommandOutput,
34
+ SocialMessagingClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetWhatsAppMessageMediaCommand extends GetWhatsAppMessageMediaCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetWhatsAppMessageMediaInput;
44
+ output: GetWhatsAppMessageMediaOutput;
45
+ };
46
+ sdk: {
47
+ input: GetWhatsAppMessageMediaCommandInput;
48
+ output: GetWhatsAppMessageMediaCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ListLinkedWhatsAppBusinessAccountsInput,
5
+ ListLinkedWhatsAppBusinessAccountsOutput,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ SocialMessagingClientResolvedConfig,
11
+ } from "../SocialMessagingClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ListLinkedWhatsAppBusinessAccountsCommandInput
15
+ extends ListLinkedWhatsAppBusinessAccountsInput {}
16
+ export interface ListLinkedWhatsAppBusinessAccountsCommandOutput
17
+ extends ListLinkedWhatsAppBusinessAccountsOutput,
18
+ __MetadataBearer {}
19
+ declare const ListLinkedWhatsAppBusinessAccountsCommand_base: {
20
+ new (
21
+ input: ListLinkedWhatsAppBusinessAccountsCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ ListLinkedWhatsAppBusinessAccountsCommandInput,
24
+ ListLinkedWhatsAppBusinessAccountsCommandOutput,
25
+ SocialMessagingClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: [] | [ListLinkedWhatsAppBusinessAccountsCommandInput]
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ ListLinkedWhatsAppBusinessAccountsCommandInput,
33
+ ListLinkedWhatsAppBusinessAccountsCommandOutput,
34
+ SocialMessagingClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class ListLinkedWhatsAppBusinessAccountsCommand extends ListLinkedWhatsAppBusinessAccountsCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: ListLinkedWhatsAppBusinessAccountsInput;
44
+ output: ListLinkedWhatsAppBusinessAccountsOutput;
45
+ };
46
+ sdk: {
47
+ input: ListLinkedWhatsAppBusinessAccountsCommandInput;
48
+ output: ListLinkedWhatsAppBusinessAccountsCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ListTagsForResourceInput,
5
+ ListTagsForResourceOutput,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ SocialMessagingClientResolvedConfig,
11
+ } from "../SocialMessagingClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ListTagsForResourceCommandInput
15
+ extends ListTagsForResourceInput {}
16
+ export interface ListTagsForResourceCommandOutput
17
+ extends ListTagsForResourceOutput,
18
+ __MetadataBearer {}
19
+ declare const ListTagsForResourceCommand_base: {
20
+ new (
21
+ input: ListTagsForResourceCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ ListTagsForResourceCommandInput,
24
+ ListTagsForResourceCommandOutput,
25
+ SocialMessagingClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: ListTagsForResourceCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ ListTagsForResourceCommandInput,
33
+ ListTagsForResourceCommandOutput,
34
+ SocialMessagingClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: ListTagsForResourceInput;
44
+ output: ListTagsForResourceOutput;
45
+ };
46
+ sdk: {
47
+ input: ListTagsForResourceCommandInput;
48
+ output: ListTagsForResourceCommandOutput;
49
+ };
50
+ };
51
+ }