@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,128 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import { AssociateWhatsAppBusinessAccountCommandInput, AssociateWhatsAppBusinessAccountCommandOutput } from "./commands/AssociateWhatsAppBusinessAccountCommand";
3
+ import { DeleteWhatsAppMessageMediaCommandInput, DeleteWhatsAppMessageMediaCommandOutput } from "./commands/DeleteWhatsAppMessageMediaCommand";
4
+ import { DisassociateWhatsAppBusinessAccountCommandInput, DisassociateWhatsAppBusinessAccountCommandOutput } from "./commands/DisassociateWhatsAppBusinessAccountCommand";
5
+ import { GetLinkedWhatsAppBusinessAccountCommandInput, GetLinkedWhatsAppBusinessAccountCommandOutput } from "./commands/GetLinkedWhatsAppBusinessAccountCommand";
6
+ import { GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput, GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput } from "./commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand";
7
+ import { GetWhatsAppMessageMediaCommandInput, GetWhatsAppMessageMediaCommandOutput } from "./commands/GetWhatsAppMessageMediaCommand";
8
+ import { ListLinkedWhatsAppBusinessAccountsCommandInput, ListLinkedWhatsAppBusinessAccountsCommandOutput } from "./commands/ListLinkedWhatsAppBusinessAccountsCommand";
9
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
10
+ import { PostWhatsAppMessageMediaCommandInput, PostWhatsAppMessageMediaCommandOutput } from "./commands/PostWhatsAppMessageMediaCommand";
11
+ import { PutWhatsAppBusinessAccountEventDestinationsCommandInput, PutWhatsAppBusinessAccountEventDestinationsCommandOutput } from "./commands/PutWhatsAppBusinessAccountEventDestinationsCommand";
12
+ import { SendWhatsAppMessageCommandInput, SendWhatsAppMessageCommandOutput } from "./commands/SendWhatsAppMessageCommand";
13
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
14
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
15
+ import { SocialMessagingClient } from "./SocialMessagingClient";
16
+ export interface SocialMessaging {
17
+ /**
18
+ * @see {@link AssociateWhatsAppBusinessAccountCommand}
19
+ */
20
+ associateWhatsAppBusinessAccount(): Promise<AssociateWhatsAppBusinessAccountCommandOutput>;
21
+ associateWhatsAppBusinessAccount(args: AssociateWhatsAppBusinessAccountCommandInput, options?: __HttpHandlerOptions): Promise<AssociateWhatsAppBusinessAccountCommandOutput>;
22
+ associateWhatsAppBusinessAccount(args: AssociateWhatsAppBusinessAccountCommandInput, cb: (err: any, data?: AssociateWhatsAppBusinessAccountCommandOutput) => void): void;
23
+ associateWhatsAppBusinessAccount(args: AssociateWhatsAppBusinessAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateWhatsAppBusinessAccountCommandOutput) => void): void;
24
+ /**
25
+ * @see {@link DeleteWhatsAppMessageMediaCommand}
26
+ */
27
+ deleteWhatsAppMessageMedia(args: DeleteWhatsAppMessageMediaCommandInput, options?: __HttpHandlerOptions): Promise<DeleteWhatsAppMessageMediaCommandOutput>;
28
+ deleteWhatsAppMessageMedia(args: DeleteWhatsAppMessageMediaCommandInput, cb: (err: any, data?: DeleteWhatsAppMessageMediaCommandOutput) => void): void;
29
+ deleteWhatsAppMessageMedia(args: DeleteWhatsAppMessageMediaCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWhatsAppMessageMediaCommandOutput) => void): void;
30
+ /**
31
+ * @see {@link DisassociateWhatsAppBusinessAccountCommand}
32
+ */
33
+ disassociateWhatsAppBusinessAccount(args: DisassociateWhatsAppBusinessAccountCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateWhatsAppBusinessAccountCommandOutput>;
34
+ disassociateWhatsAppBusinessAccount(args: DisassociateWhatsAppBusinessAccountCommandInput, cb: (err: any, data?: DisassociateWhatsAppBusinessAccountCommandOutput) => void): void;
35
+ disassociateWhatsAppBusinessAccount(args: DisassociateWhatsAppBusinessAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateWhatsAppBusinessAccountCommandOutput) => void): void;
36
+ /**
37
+ * @see {@link GetLinkedWhatsAppBusinessAccountCommand}
38
+ */
39
+ getLinkedWhatsAppBusinessAccount(args: GetLinkedWhatsAppBusinessAccountCommandInput, options?: __HttpHandlerOptions): Promise<GetLinkedWhatsAppBusinessAccountCommandOutput>;
40
+ getLinkedWhatsAppBusinessAccount(args: GetLinkedWhatsAppBusinessAccountCommandInput, cb: (err: any, data?: GetLinkedWhatsAppBusinessAccountCommandOutput) => void): void;
41
+ getLinkedWhatsAppBusinessAccount(args: GetLinkedWhatsAppBusinessAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLinkedWhatsAppBusinessAccountCommandOutput) => void): void;
42
+ /**
43
+ * @see {@link GetLinkedWhatsAppBusinessAccountPhoneNumberCommand}
44
+ */
45
+ getLinkedWhatsAppBusinessAccountPhoneNumber(args: GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput, options?: __HttpHandlerOptions): Promise<GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput>;
46
+ getLinkedWhatsAppBusinessAccountPhoneNumber(args: GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput, cb: (err: any, data?: GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput) => void): void;
47
+ getLinkedWhatsAppBusinessAccountPhoneNumber(args: GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput) => void): void;
48
+ /**
49
+ * @see {@link GetWhatsAppMessageMediaCommand}
50
+ */
51
+ getWhatsAppMessageMedia(args: GetWhatsAppMessageMediaCommandInput, options?: __HttpHandlerOptions): Promise<GetWhatsAppMessageMediaCommandOutput>;
52
+ getWhatsAppMessageMedia(args: GetWhatsAppMessageMediaCommandInput, cb: (err: any, data?: GetWhatsAppMessageMediaCommandOutput) => void): void;
53
+ getWhatsAppMessageMedia(args: GetWhatsAppMessageMediaCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetWhatsAppMessageMediaCommandOutput) => void): void;
54
+ /**
55
+ * @see {@link ListLinkedWhatsAppBusinessAccountsCommand}
56
+ */
57
+ listLinkedWhatsAppBusinessAccounts(): Promise<ListLinkedWhatsAppBusinessAccountsCommandOutput>;
58
+ listLinkedWhatsAppBusinessAccounts(args: ListLinkedWhatsAppBusinessAccountsCommandInput, options?: __HttpHandlerOptions): Promise<ListLinkedWhatsAppBusinessAccountsCommandOutput>;
59
+ listLinkedWhatsAppBusinessAccounts(args: ListLinkedWhatsAppBusinessAccountsCommandInput, cb: (err: any, data?: ListLinkedWhatsAppBusinessAccountsCommandOutput) => void): void;
60
+ listLinkedWhatsAppBusinessAccounts(args: ListLinkedWhatsAppBusinessAccountsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLinkedWhatsAppBusinessAccountsCommandOutput) => void): void;
61
+ /**
62
+ * @see {@link ListTagsForResourceCommand}
63
+ */
64
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
65
+ listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
66
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
67
+ /**
68
+ * @see {@link PostWhatsAppMessageMediaCommand}
69
+ */
70
+ postWhatsAppMessageMedia(args: PostWhatsAppMessageMediaCommandInput, options?: __HttpHandlerOptions): Promise<PostWhatsAppMessageMediaCommandOutput>;
71
+ postWhatsAppMessageMedia(args: PostWhatsAppMessageMediaCommandInput, cb: (err: any, data?: PostWhatsAppMessageMediaCommandOutput) => void): void;
72
+ postWhatsAppMessageMedia(args: PostWhatsAppMessageMediaCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PostWhatsAppMessageMediaCommandOutput) => void): void;
73
+ /**
74
+ * @see {@link PutWhatsAppBusinessAccountEventDestinationsCommand}
75
+ */
76
+ putWhatsAppBusinessAccountEventDestinations(args: PutWhatsAppBusinessAccountEventDestinationsCommandInput, options?: __HttpHandlerOptions): Promise<PutWhatsAppBusinessAccountEventDestinationsCommandOutput>;
77
+ putWhatsAppBusinessAccountEventDestinations(args: PutWhatsAppBusinessAccountEventDestinationsCommandInput, cb: (err: any, data?: PutWhatsAppBusinessAccountEventDestinationsCommandOutput) => void): void;
78
+ putWhatsAppBusinessAccountEventDestinations(args: PutWhatsAppBusinessAccountEventDestinationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutWhatsAppBusinessAccountEventDestinationsCommandOutput) => void): void;
79
+ /**
80
+ * @see {@link SendWhatsAppMessageCommand}
81
+ */
82
+ sendWhatsAppMessage(args: SendWhatsAppMessageCommandInput, options?: __HttpHandlerOptions): Promise<SendWhatsAppMessageCommandOutput>;
83
+ sendWhatsAppMessage(args: SendWhatsAppMessageCommandInput, cb: (err: any, data?: SendWhatsAppMessageCommandOutput) => void): void;
84
+ sendWhatsAppMessage(args: SendWhatsAppMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendWhatsAppMessageCommandOutput) => void): void;
85
+ /**
86
+ * @see {@link TagResourceCommand}
87
+ */
88
+ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
89
+ tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
90
+ tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
91
+ /**
92
+ * @see {@link UntagResourceCommand}
93
+ */
94
+ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
95
+ untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
96
+ untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
97
+ }
98
+ /**
99
+ * <p>
100
+ * <i>Amazon Web Services End User Messaging Social</i>, also referred to as Social messaging, is a messaging service that enables
101
+ * application developers to incorporate WhatsApp into their existing workflows. The <i>Amazon Web Services End User Messaging Social API</i> provides information about the
102
+ * <i>Amazon Web Services End User Messaging Social API</i> resources, including supported HTTP methods, parameters, and schemas.</p>
103
+ * <p>The <i>Amazon Web Services End User Messaging Social API</i> provides programmatic access to options that are unique to the WhatsApp Business Platform.</p>
104
+ * <p>If you're new to the <i>Amazon Web Services End User Messaging Social API</i>, it's also helpful to review <a href="https://docs.aws.amazon.com/sms-voice/latest/userguide/what-is-service.html">What is
105
+ * Amazon Web Services End User Messaging Social</a> in the <i>Amazon Web Services End User Messaging Social User Guide</i>. The
106
+ * <i>Amazon Web Services End User Messaging Social User Guide</i> provides tutorials, code samples, and procedures that demonstrate how to use
107
+ * <i>Amazon Web Services End User Messaging Social API</i> features programmatically and how to integrate functionality into applications.
108
+ * The guide also provides key information, such as integration with other Amazon Web Services
109
+ * services, and the quotas that apply to use of the service.</p>
110
+ * <p>
111
+ * <b>Regional availability</b>
112
+ * </p>
113
+ * <p>The <i>Amazon Web Services End User Messaging Social API</i> is available across several Amazon Web Services Regions and it provides a dedicated endpoint for each of these Regions. For a list of
114
+ * all the Regions and endpoints where the API is currently available, see <a href="https://docs.aws.amazon.com/general/latest/gr/rande.html#pinpoint_region">Amazon Web Services Service Endpoints</a> and <a href="https://docs.aws.amazon.com/general/latest/gr/end-user-messaging.html">Amazon Web Services End User Messaging endpoints and quotas</a> in the Amazon Web Services General Reference. To learn more about Amazon Web Services Regions, see
115
+ * <a href="https://docs.aws.amazon.com/general/latest/gr/rande-manage.html">Managing
116
+ * Amazon Web Services Regions</a> in the Amazon Web Services General
117
+ * Reference.</p>
118
+ * <p>In each Region, Amazon Web Services maintains multiple Availability Zones. These
119
+ * Availability Zones are physically isolated from each other, but are united by private,
120
+ * low-latency, high-throughput, and highly redundant network connections. These Availability
121
+ * Zones enable us to provide very high levels of availability and redundancy, while also
122
+ * minimizing latency. To learn more about the number of Availability Zones that are available
123
+ * in each Region, see <a href="https://aws.amazon.com/about-aws/global-infrastructure/">Amazon Web Services Global Infrastructure.</a>
124
+ * </p>
125
+ * @public
126
+ */
127
+ export declare class SocialMessaging extends SocialMessagingClient implements SocialMessaging {
128
+ }
@@ -0,0 +1,207 @@
1
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
+ import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
4
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
+ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
+ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
+ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
+ import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
+ import { AssociateWhatsAppBusinessAccountCommandInput, AssociateWhatsAppBusinessAccountCommandOutput } from "./commands/AssociateWhatsAppBusinessAccountCommand";
11
+ import { DeleteWhatsAppMessageMediaCommandInput, DeleteWhatsAppMessageMediaCommandOutput } from "./commands/DeleteWhatsAppMessageMediaCommand";
12
+ import { DisassociateWhatsAppBusinessAccountCommandInput, DisassociateWhatsAppBusinessAccountCommandOutput } from "./commands/DisassociateWhatsAppBusinessAccountCommand";
13
+ import { GetLinkedWhatsAppBusinessAccountCommandInput, GetLinkedWhatsAppBusinessAccountCommandOutput } from "./commands/GetLinkedWhatsAppBusinessAccountCommand";
14
+ import { GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput, GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput } from "./commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand";
15
+ import { GetWhatsAppMessageMediaCommandInput, GetWhatsAppMessageMediaCommandOutput } from "./commands/GetWhatsAppMessageMediaCommand";
16
+ import { ListLinkedWhatsAppBusinessAccountsCommandInput, ListLinkedWhatsAppBusinessAccountsCommandOutput } from "./commands/ListLinkedWhatsAppBusinessAccountsCommand";
17
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
18
+ import { PostWhatsAppMessageMediaCommandInput, PostWhatsAppMessageMediaCommandOutput } from "./commands/PostWhatsAppMessageMediaCommand";
19
+ import { PutWhatsAppBusinessAccountEventDestinationsCommandInput, PutWhatsAppBusinessAccountEventDestinationsCommandOutput } from "./commands/PutWhatsAppBusinessAccountEventDestinationsCommand";
20
+ import { SendWhatsAppMessageCommandInput, SendWhatsAppMessageCommandOutput } from "./commands/SendWhatsAppMessageCommand";
21
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
22
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
23
+ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
24
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
25
+ export { __Client };
26
+ /**
27
+ * @public
28
+ */
29
+ export type ServiceInputTypes = AssociateWhatsAppBusinessAccountCommandInput | DeleteWhatsAppMessageMediaCommandInput | DisassociateWhatsAppBusinessAccountCommandInput | GetLinkedWhatsAppBusinessAccountCommandInput | GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput | GetWhatsAppMessageMediaCommandInput | ListLinkedWhatsAppBusinessAccountsCommandInput | ListTagsForResourceCommandInput | PostWhatsAppMessageMediaCommandInput | PutWhatsAppBusinessAccountEventDestinationsCommandInput | SendWhatsAppMessageCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
30
+ /**
31
+ * @public
32
+ */
33
+ export type ServiceOutputTypes = AssociateWhatsAppBusinessAccountCommandOutput | DeleteWhatsAppMessageMediaCommandOutput | DisassociateWhatsAppBusinessAccountCommandOutput | GetLinkedWhatsAppBusinessAccountCommandOutput | GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput | GetWhatsAppMessageMediaCommandOutput | ListLinkedWhatsAppBusinessAccountsCommandOutput | ListTagsForResourceCommandOutput | PostWhatsAppMessageMediaCommandOutput | PutWhatsAppBusinessAccountEventDestinationsCommandOutput | SendWhatsAppMessageCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
34
+ /**
35
+ * @public
36
+ */
37
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
38
+ /**
39
+ * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
40
+ */
41
+ requestHandler?: __HttpHandlerUserInput;
42
+ /**
43
+ * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
44
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
45
+ * @internal
46
+ */
47
+ sha256?: __ChecksumConstructor | __HashConstructor;
48
+ /**
49
+ * The function that will be used to convert strings into HTTP endpoints.
50
+ * @internal
51
+ */
52
+ urlParser?: __UrlParser;
53
+ /**
54
+ * A function that can calculate the length of a request body.
55
+ * @internal
56
+ */
57
+ bodyLengthChecker?: __BodyLengthCalculator;
58
+ /**
59
+ * A function that converts a stream into an array of bytes.
60
+ * @internal
61
+ */
62
+ streamCollector?: __StreamCollector;
63
+ /**
64
+ * The function that will be used to convert a base64-encoded string to a byte array.
65
+ * @internal
66
+ */
67
+ base64Decoder?: __Decoder;
68
+ /**
69
+ * The function that will be used to convert binary data to a base64-encoded string.
70
+ * @internal
71
+ */
72
+ base64Encoder?: __Encoder;
73
+ /**
74
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
75
+ * @internal
76
+ */
77
+ utf8Decoder?: __Decoder;
78
+ /**
79
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
80
+ * @internal
81
+ */
82
+ utf8Encoder?: __Encoder;
83
+ /**
84
+ * The runtime environment.
85
+ * @internal
86
+ */
87
+ runtime?: string;
88
+ /**
89
+ * Disable dynamically changing the endpoint of the client based on the hostPrefix
90
+ * trait of an operation.
91
+ */
92
+ disableHostPrefix?: boolean;
93
+ /**
94
+ * Unique service identifier.
95
+ * @internal
96
+ */
97
+ serviceId?: string;
98
+ /**
99
+ * Enables IPv6/IPv4 dualstack endpoint.
100
+ */
101
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
102
+ /**
103
+ * Enables FIPS compatible endpoints.
104
+ */
105
+ useFipsEndpoint?: boolean | __Provider<boolean>;
106
+ /**
107
+ * The AWS region to which this client will send requests
108
+ */
109
+ region?: string | __Provider<string>;
110
+ /**
111
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
112
+ * @internal
113
+ */
114
+ defaultUserAgentProvider?: Provider<__UserAgent>;
115
+ /**
116
+ * Default credentials provider; Not available in browser runtime.
117
+ * @deprecated
118
+ * @internal
119
+ */
120
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
121
+ /**
122
+ * Value for how many times a request will be made at most in case of retry.
123
+ */
124
+ maxAttempts?: number | __Provider<number>;
125
+ /**
126
+ * Specifies which retry algorithm to use.
127
+ * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
128
+ *
129
+ */
130
+ retryMode?: string | __Provider<string>;
131
+ /**
132
+ * Optional logger for logging debug/info/warn/error.
133
+ */
134
+ logger?: __Logger;
135
+ /**
136
+ * Optional extensions
137
+ */
138
+ extensions?: RuntimeExtension[];
139
+ /**
140
+ * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
141
+ */
142
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
143
+ }
144
+ /**
145
+ * @public
146
+ */
147
+ export type SocialMessagingClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
148
+ /**
149
+ * @public
150
+ *
151
+ * The configuration interface of SocialMessagingClient class constructor that set the region, credentials and other options.
152
+ */
153
+ export interface SocialMessagingClientConfig extends SocialMessagingClientConfigType {
154
+ }
155
+ /**
156
+ * @public
157
+ */
158
+ export type SocialMessagingClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
159
+ /**
160
+ * @public
161
+ *
162
+ * The resolved configuration interface of SocialMessagingClient class. This is resolved and normalized from the {@link SocialMessagingClientConfig | constructor configuration interface}.
163
+ */
164
+ export interface SocialMessagingClientResolvedConfig extends SocialMessagingClientResolvedConfigType {
165
+ }
166
+ /**
167
+ * <p>
168
+ * <i>Amazon Web Services End User Messaging Social</i>, also referred to as Social messaging, is a messaging service that enables
169
+ * application developers to incorporate WhatsApp into their existing workflows. The <i>Amazon Web Services End User Messaging Social API</i> provides information about the
170
+ * <i>Amazon Web Services End User Messaging Social API</i> resources, including supported HTTP methods, parameters, and schemas.</p>
171
+ * <p>The <i>Amazon Web Services End User Messaging Social API</i> provides programmatic access to options that are unique to the WhatsApp Business Platform.</p>
172
+ * <p>If you're new to the <i>Amazon Web Services End User Messaging Social API</i>, it's also helpful to review <a href="https://docs.aws.amazon.com/sms-voice/latest/userguide/what-is-service.html">What is
173
+ * Amazon Web Services End User Messaging Social</a> in the <i>Amazon Web Services End User Messaging Social User Guide</i>. The
174
+ * <i>Amazon Web Services End User Messaging Social User Guide</i> provides tutorials, code samples, and procedures that demonstrate how to use
175
+ * <i>Amazon Web Services End User Messaging Social API</i> features programmatically and how to integrate functionality into applications.
176
+ * The guide also provides key information, such as integration with other Amazon Web Services
177
+ * services, and the quotas that apply to use of the service.</p>
178
+ * <p>
179
+ * <b>Regional availability</b>
180
+ * </p>
181
+ * <p>The <i>Amazon Web Services End User Messaging Social API</i> is available across several Amazon Web Services Regions and it provides a dedicated endpoint for each of these Regions. For a list of
182
+ * all the Regions and endpoints where the API is currently available, see <a href="https://docs.aws.amazon.com/general/latest/gr/rande.html#pinpoint_region">Amazon Web Services Service Endpoints</a> and <a href="https://docs.aws.amazon.com/general/latest/gr/end-user-messaging.html">Amazon Web Services End User Messaging endpoints and quotas</a> in the Amazon Web Services General Reference. To learn more about Amazon Web Services Regions, see
183
+ * <a href="https://docs.aws.amazon.com/general/latest/gr/rande-manage.html">Managing
184
+ * Amazon Web Services Regions</a> in the Amazon Web Services General
185
+ * Reference.</p>
186
+ * <p>In each Region, Amazon Web Services maintains multiple Availability Zones. These
187
+ * Availability Zones are physically isolated from each other, but are united by private,
188
+ * low-latency, high-throughput, and highly redundant network connections. These Availability
189
+ * Zones enable us to provide very high levels of availability and redundancy, while also
190
+ * minimizing latency. To learn more about the number of Availability Zones that are available
191
+ * in each Region, see <a href="https://aws.amazon.com/about-aws/global-infrastructure/">Amazon Web Services Global Infrastructure.</a>
192
+ * </p>
193
+ * @public
194
+ */
195
+ export declare class SocialMessagingClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, SocialMessagingClientResolvedConfig> {
196
+ /**
197
+ * The resolved configuration of SocialMessagingClient class. This is resolved and normalized from the {@link SocialMessagingClientConfig | constructor configuration interface}.
198
+ */
199
+ readonly config: SocialMessagingClientResolvedConfig;
200
+ constructor(...[configuration]: __CheckOptionalClientConfig<SocialMessagingClientConfig>);
201
+ /**
202
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
203
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
204
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
205
+ */
206
+ destroy(): void;
207
+ }
@@ -0,0 +1,29 @@
1
+ import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
+ import { SocialMessagingHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
+ /**
4
+ * @internal
5
+ */
6
+ export interface HttpAuthExtensionConfiguration {
7
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
8
+ httpAuthSchemes(): HttpAuthScheme[];
9
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: SocialMessagingHttpAuthSchemeProvider): void;
10
+ httpAuthSchemeProvider(): SocialMessagingHttpAuthSchemeProvider;
11
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
12
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export type HttpAuthRuntimeConfig = Partial<{
18
+ httpAuthSchemes: HttpAuthScheme[];
19
+ httpAuthSchemeProvider: SocialMessagingHttpAuthSchemeProvider;
20
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
21
+ }>;
22
+ /**
23
+ * @internal
24
+ */
25
+ export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
26
+ /**
27
+ * @internal
28
+ */
29
+ export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
@@ -0,0 +1,61 @@
1
+ import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
2
+ import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
3
+ import { SocialMessagingClientResolvedConfig } from "../SocialMessagingClient";
4
+ /**
5
+ * @internal
6
+ */
7
+ export interface SocialMessagingHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
8
+ region?: string;
9
+ }
10
+ /**
11
+ * @internal
12
+ */
13
+ export interface SocialMessagingHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<SocialMessagingClientResolvedConfig, HandlerExecutionContext, SocialMessagingHttpAuthSchemeParameters, object> {
14
+ }
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const defaultSocialMessagingHttpAuthSchemeParametersProvider: (config: SocialMessagingClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<SocialMessagingHttpAuthSchemeParameters>;
19
+ /**
20
+ * @internal
21
+ */
22
+ export interface SocialMessagingHttpAuthSchemeProvider extends HttpAuthSchemeProvider<SocialMessagingHttpAuthSchemeParameters> {
23
+ }
24
+ /**
25
+ * @internal
26
+ */
27
+ export declare const defaultSocialMessagingHttpAuthSchemeProvider: SocialMessagingHttpAuthSchemeProvider;
28
+ /**
29
+ * @internal
30
+ */
31
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
32
+ /**
33
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
34
+ * @internal
35
+ */
36
+ httpAuthSchemes?: HttpAuthScheme[];
37
+ /**
38
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
39
+ * @internal
40
+ */
41
+ httpAuthSchemeProvider?: SocialMessagingHttpAuthSchemeProvider;
42
+ }
43
+ /**
44
+ * @internal
45
+ */
46
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
47
+ /**
48
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
49
+ * @internal
50
+ */
51
+ readonly httpAuthSchemes: HttpAuthScheme[];
52
+ /**
53
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
54
+ * @internal
55
+ */
56
+ readonly httpAuthSchemeProvider: SocialMessagingHttpAuthSchemeProvider;
57
+ }
58
+ /**
59
+ * @internal
60
+ */
61
+ export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
@@ -0,0 +1,139 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { AssociateWhatsAppBusinessAccountInput, AssociateWhatsAppBusinessAccountOutput } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SocialMessagingClientResolvedConfig } from "../SocialMessagingClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link AssociateWhatsAppBusinessAccountCommand}.
14
+ */
15
+ export interface AssociateWhatsAppBusinessAccountCommandInput extends AssociateWhatsAppBusinessAccountInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link AssociateWhatsAppBusinessAccountCommand}.
21
+ */
22
+ export interface AssociateWhatsAppBusinessAccountCommandOutput extends AssociateWhatsAppBusinessAccountOutput, __MetadataBearer {
23
+ }
24
+ declare const AssociateWhatsAppBusinessAccountCommand_base: {
25
+ new (input: AssociateWhatsAppBusinessAccountCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateWhatsAppBusinessAccountCommandInput, AssociateWhatsAppBusinessAccountCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [AssociateWhatsAppBusinessAccountCommandInput]): import("@smithy/smithy-client").CommandImpl<AssociateWhatsAppBusinessAccountCommandInput, AssociateWhatsAppBusinessAccountCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>This is only used through the Amazon Web Services console during sign-up to associate your WhatsApp Business Account to your Amazon Web Services account.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SocialMessagingClient, AssociateWhatsAppBusinessAccountCommand } from "@aws-sdk/client-socialmessaging"; // ES Modules import
35
+ * // const { SocialMessagingClient, AssociateWhatsAppBusinessAccountCommand } = require("@aws-sdk/client-socialmessaging"); // CommonJS import
36
+ * const client = new SocialMessagingClient(config);
37
+ * const input = { // AssociateWhatsAppBusinessAccountInput
38
+ * signupCallback: { // WhatsAppSignupCallback
39
+ * accessToken: "STRING_VALUE", // required
40
+ * },
41
+ * setupFinalization: { // WhatsAppSetupFinalization
42
+ * associateInProgressToken: "STRING_VALUE", // required
43
+ * phoneNumbers: [ // WabaPhoneNumberSetupFinalizationList // required
44
+ * { // WabaPhoneNumberSetupFinalization
45
+ * id: "STRING_VALUE", // required
46
+ * twoFactorPin: "STRING_VALUE", // required
47
+ * dataLocalizationRegion: "STRING_VALUE",
48
+ * tags: [ // TagList
49
+ * { // Tag
50
+ * key: "STRING_VALUE", // required
51
+ * value: "STRING_VALUE",
52
+ * },
53
+ * ],
54
+ * },
55
+ * ],
56
+ * phoneNumberParent: "STRING_VALUE",
57
+ * waba: { // WabaSetupFinalization
58
+ * id: "STRING_VALUE",
59
+ * eventDestinations: [ // WhatsAppBusinessAccountEventDestinations
60
+ * { // WhatsAppBusinessAccountEventDestination
61
+ * eventDestinationArn: "STRING_VALUE", // required
62
+ * },
63
+ * ],
64
+ * tags: [
65
+ * {
66
+ * key: "STRING_VALUE", // required
67
+ * value: "STRING_VALUE",
68
+ * },
69
+ * ],
70
+ * },
71
+ * },
72
+ * };
73
+ * const command = new AssociateWhatsAppBusinessAccountCommand(input);
74
+ * const response = await client.send(command);
75
+ * // { // AssociateWhatsAppBusinessAccountOutput
76
+ * // signupCallbackResult: { // WhatsAppSignupCallbackResult
77
+ * // associateInProgressToken: "STRING_VALUE",
78
+ * // linkedAccountsWithIncompleteSetup: { // LinkedAccountWithIncompleteSetup
79
+ * // "<keys>": { // LinkedWhatsAppBusinessAccountIdMetaData
80
+ * // accountName: "STRING_VALUE",
81
+ * // registrationStatus: "COMPLETE" || "INCOMPLETE",
82
+ * // unregisteredWhatsAppPhoneNumbers: [ // WhatsAppPhoneNumberDetailList
83
+ * // { // WhatsAppPhoneNumberDetail
84
+ * // arn: "STRING_VALUE", // required
85
+ * // phoneNumber: "STRING_VALUE", // required
86
+ * // phoneNumberId: "STRING_VALUE", // required
87
+ * // metaPhoneNumberId: "STRING_VALUE", // required
88
+ * // displayPhoneNumberName: "STRING_VALUE", // required
89
+ * // displayPhoneNumber: "STRING_VALUE", // required
90
+ * // qualityRating: "STRING_VALUE", // required
91
+ * // },
92
+ * // ],
93
+ * // },
94
+ * // },
95
+ * // },
96
+ * // statusCode: Number("int"),
97
+ * // };
98
+ *
99
+ * ```
100
+ *
101
+ * @param AssociateWhatsAppBusinessAccountCommandInput - {@link AssociateWhatsAppBusinessAccountCommandInput}
102
+ * @returns {@link AssociateWhatsAppBusinessAccountCommandOutput}
103
+ * @see {@link AssociateWhatsAppBusinessAccountCommandInput} for command's `input` shape.
104
+ * @see {@link AssociateWhatsAppBusinessAccountCommandOutput} for command's `response` shape.
105
+ * @see {@link SocialMessagingClientResolvedConfig | config} for SocialMessagingClient's `config` shape.
106
+ *
107
+ * @throws {@link DependencyException} (server fault)
108
+ * <p>Thrown when performing an action because a dependency would be broken.</p>
109
+ *
110
+ * @throws {@link InvalidParametersException} (client fault)
111
+ * <p>One or more parameters provided to the action are not valid.</p>
112
+ *
113
+ * @throws {@link ThrottledRequestException} (client fault)
114
+ * <p>The request was denied due to request throttling.</p>
115
+ *
116
+ * @throws {@link AccessDeniedException} (client fault)
117
+ * <p>You do not have sufficient access to perform this action.</p>
118
+ *
119
+ * @throws {@link ValidationException} (client fault)
120
+ * <p>The request contains an invalid parameter value. </p>
121
+ *
122
+ * @throws {@link SocialMessagingServiceException}
123
+ * <p>Base exception class for all service exceptions from SocialMessaging service.</p>
124
+ *
125
+ * @public
126
+ */
127
+ export declare class AssociateWhatsAppBusinessAccountCommand extends AssociateWhatsAppBusinessAccountCommand_base {
128
+ /** @internal type navigation helper, not in runtime. */
129
+ protected static __types: {
130
+ api: {
131
+ input: AssociateWhatsAppBusinessAccountInput;
132
+ output: AssociateWhatsAppBusinessAccountOutput;
133
+ };
134
+ sdk: {
135
+ input: AssociateWhatsAppBusinessAccountCommandInput;
136
+ output: AssociateWhatsAppBusinessAccountCommandOutput;
137
+ };
138
+ };
139
+ }