@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.
- package/LICENSE +201 -0
- package/README.md +334 -0
- package/dist-cjs/SocialMessaging.js +37 -0
- package/dist-cjs/SocialMessagingClient.js +50 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/AssociateWhatsAppBusinessAccountCommand.js +27 -0
- package/dist-cjs/commands/DeleteWhatsAppMessageMediaCommand.js +26 -0
- package/dist-cjs/commands/DisassociateWhatsAppBusinessAccountCommand.js +26 -0
- package/dist-cjs/commands/GetLinkedWhatsAppBusinessAccountCommand.js +26 -0
- package/dist-cjs/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.js +26 -0
- package/dist-cjs/commands/GetWhatsAppMessageMediaCommand.js +27 -0
- package/dist-cjs/commands/ListLinkedWhatsAppBusinessAccountsCommand.js +26 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
- package/dist-cjs/commands/PostWhatsAppMessageMediaCommand.js +27 -0
- package/dist-cjs/commands/PutWhatsAppBusinessAccountEventDestinationsCommand.js +26 -0
- package/dist-cjs/commands/SendWhatsAppMessageCommand.js +27 -0
- package/dist-cjs/commands/TagResourceCommand.js +26 -0
- package/dist-cjs/commands/UntagResourceCommand.js +26 -0
- package/dist-cjs/commands/index.js +16 -0
- package/dist-cjs/endpoint/EndpointParameters.js +18 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/SocialMessagingServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +173 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListLinkedWhatsAppBusinessAccountsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_restJson1.js +573 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/SocialMessaging.js +33 -0
- package/dist-es/SocialMessagingClient.js +46 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/AssociateWhatsAppBusinessAccountCommand.js +23 -0
- package/dist-es/commands/DeleteWhatsAppMessageMediaCommand.js +22 -0
- package/dist-es/commands/DisassociateWhatsAppBusinessAccountCommand.js +22 -0
- package/dist-es/commands/GetLinkedWhatsAppBusinessAccountCommand.js +22 -0
- package/dist-es/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.js +22 -0
- package/dist-es/commands/GetWhatsAppMessageMediaCommand.js +23 -0
- package/dist-es/commands/ListLinkedWhatsAppBusinessAccountsCommand.js +22 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/PostWhatsAppMessageMediaCommand.js +23 -0
- package/dist-es/commands/PutWhatsAppBusinessAccountEventDestinationsCommand.js +22 -0
- package/dist-es/commands/SendWhatsAppMessageCommand.js +23 -0
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/endpoint/EndpointParameters.js +14 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/SocialMessagingServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +152 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListLinkedWhatsAppBusinessAccountsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +544 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/SocialMessaging.d.ts +128 -0
- package/dist-types/SocialMessagingClient.d.ts +207 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/AssociateWhatsAppBusinessAccountCommand.d.ts +139 -0
- package/dist-types/commands/DeleteWhatsAppMessageMediaCommand.d.ts +97 -0
- package/dist-types/commands/DisassociateWhatsAppBusinessAccountCommand.d.ts +87 -0
- package/dist-types/commands/GetLinkedWhatsAppBusinessAccountCommand.d.ts +116 -0
- package/dist-types/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.d.ts +103 -0
- package/dist-types/commands/GetWhatsAppMessageMediaCommand.d.ts +113 -0
- package/dist-types/commands/ListLinkedWhatsAppBusinessAccountsCommand.d.ts +106 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +93 -0
- package/dist-types/commands/PostWhatsAppMessageMediaCommand.d.ts +110 -0
- package/dist-types/commands/PutWhatsAppBusinessAccountEventDestinationsCommand.d.ts +90 -0
- package/dist-types/commands/SendWhatsAppMessageCommand.d.ts +99 -0
- package/dist-types/commands/TagResourceCommand.d.ts +94 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +90 -0
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +39 -0
- package/dist-types/models/SocialMessagingServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +969 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListLinkedWhatsAppBusinessAccountsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +119 -0
- package/dist-types/runtimeConfig.browser.d.ts +48 -0
- package/dist-types/runtimeConfig.d.ts +48 -0
- package/dist-types/runtimeConfig.native.d.ts +47 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/SocialMessaging.d.ts +254 -0
- package/dist-types/ts3.4/SocialMessagingClient.d.ts +197 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/AssociateWhatsAppBusinessAccountCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteWhatsAppMessageMediaCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateWhatsAppBusinessAccountCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetLinkedWhatsAppBusinessAccountCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetWhatsAppMessageMediaCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListLinkedWhatsAppBusinessAccountsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PostWhatsAppMessageMediaCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutWhatsAppBusinessAccountEventDestinationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SendWhatsAppMessageCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/SocialMessagingServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +272 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListLinkedWhatsAppBusinessAccountsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +161 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- 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
|
+
}
|