@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,161 @@
1
+ import {
2
+ HttpRequest as __HttpRequest,
3
+ HttpResponse as __HttpResponse,
4
+ } from "@smithy/protocol-http";
5
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
6
+ import {
7
+ AssociateWhatsAppBusinessAccountCommandInput,
8
+ AssociateWhatsAppBusinessAccountCommandOutput,
9
+ } from "../commands/AssociateWhatsAppBusinessAccountCommand";
10
+ import {
11
+ DeleteWhatsAppMessageMediaCommandInput,
12
+ DeleteWhatsAppMessageMediaCommandOutput,
13
+ } from "../commands/DeleteWhatsAppMessageMediaCommand";
14
+ import {
15
+ DisassociateWhatsAppBusinessAccountCommandInput,
16
+ DisassociateWhatsAppBusinessAccountCommandOutput,
17
+ } from "../commands/DisassociateWhatsAppBusinessAccountCommand";
18
+ import {
19
+ GetLinkedWhatsAppBusinessAccountCommandInput,
20
+ GetLinkedWhatsAppBusinessAccountCommandOutput,
21
+ } from "../commands/GetLinkedWhatsAppBusinessAccountCommand";
22
+ import {
23
+ GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput,
24
+ GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput,
25
+ } from "../commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand";
26
+ import {
27
+ GetWhatsAppMessageMediaCommandInput,
28
+ GetWhatsAppMessageMediaCommandOutput,
29
+ } from "../commands/GetWhatsAppMessageMediaCommand";
30
+ import {
31
+ ListLinkedWhatsAppBusinessAccountsCommandInput,
32
+ ListLinkedWhatsAppBusinessAccountsCommandOutput,
33
+ } from "../commands/ListLinkedWhatsAppBusinessAccountsCommand";
34
+ import {
35
+ ListTagsForResourceCommandInput,
36
+ ListTagsForResourceCommandOutput,
37
+ } from "../commands/ListTagsForResourceCommand";
38
+ import {
39
+ PostWhatsAppMessageMediaCommandInput,
40
+ PostWhatsAppMessageMediaCommandOutput,
41
+ } from "../commands/PostWhatsAppMessageMediaCommand";
42
+ import {
43
+ PutWhatsAppBusinessAccountEventDestinationsCommandInput,
44
+ PutWhatsAppBusinessAccountEventDestinationsCommandOutput,
45
+ } from "../commands/PutWhatsAppBusinessAccountEventDestinationsCommand";
46
+ import {
47
+ SendWhatsAppMessageCommandInput,
48
+ SendWhatsAppMessageCommandOutput,
49
+ } from "../commands/SendWhatsAppMessageCommand";
50
+ import {
51
+ TagResourceCommandInput,
52
+ TagResourceCommandOutput,
53
+ } from "../commands/TagResourceCommand";
54
+ import {
55
+ UntagResourceCommandInput,
56
+ UntagResourceCommandOutput,
57
+ } from "../commands/UntagResourceCommand";
58
+ export declare const se_AssociateWhatsAppBusinessAccountCommand: (
59
+ input: AssociateWhatsAppBusinessAccountCommandInput,
60
+ context: __SerdeContext
61
+ ) => Promise<__HttpRequest>;
62
+ export declare const se_DeleteWhatsAppMessageMediaCommand: (
63
+ input: DeleteWhatsAppMessageMediaCommandInput,
64
+ context: __SerdeContext
65
+ ) => Promise<__HttpRequest>;
66
+ export declare const se_DisassociateWhatsAppBusinessAccountCommand: (
67
+ input: DisassociateWhatsAppBusinessAccountCommandInput,
68
+ context: __SerdeContext
69
+ ) => Promise<__HttpRequest>;
70
+ export declare const se_GetLinkedWhatsAppBusinessAccountCommand: (
71
+ input: GetLinkedWhatsAppBusinessAccountCommandInput,
72
+ context: __SerdeContext
73
+ ) => Promise<__HttpRequest>;
74
+ export declare const se_GetLinkedWhatsAppBusinessAccountPhoneNumberCommand: (
75
+ input: GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput,
76
+ context: __SerdeContext
77
+ ) => Promise<__HttpRequest>;
78
+ export declare const se_GetWhatsAppMessageMediaCommand: (
79
+ input: GetWhatsAppMessageMediaCommandInput,
80
+ context: __SerdeContext
81
+ ) => Promise<__HttpRequest>;
82
+ export declare const se_ListLinkedWhatsAppBusinessAccountsCommand: (
83
+ input: ListLinkedWhatsAppBusinessAccountsCommandInput,
84
+ context: __SerdeContext
85
+ ) => Promise<__HttpRequest>;
86
+ export declare const se_ListTagsForResourceCommand: (
87
+ input: ListTagsForResourceCommandInput,
88
+ context: __SerdeContext
89
+ ) => Promise<__HttpRequest>;
90
+ export declare const se_PostWhatsAppMessageMediaCommand: (
91
+ input: PostWhatsAppMessageMediaCommandInput,
92
+ context: __SerdeContext
93
+ ) => Promise<__HttpRequest>;
94
+ export declare const se_PutWhatsAppBusinessAccountEventDestinationsCommand: (
95
+ input: PutWhatsAppBusinessAccountEventDestinationsCommandInput,
96
+ context: __SerdeContext
97
+ ) => Promise<__HttpRequest>;
98
+ export declare const se_SendWhatsAppMessageCommand: (
99
+ input: SendWhatsAppMessageCommandInput,
100
+ context: __SerdeContext
101
+ ) => Promise<__HttpRequest>;
102
+ export declare const se_TagResourceCommand: (
103
+ input: TagResourceCommandInput,
104
+ context: __SerdeContext
105
+ ) => Promise<__HttpRequest>;
106
+ export declare const se_UntagResourceCommand: (
107
+ input: UntagResourceCommandInput,
108
+ context: __SerdeContext
109
+ ) => Promise<__HttpRequest>;
110
+ export declare const de_AssociateWhatsAppBusinessAccountCommand: (
111
+ output: __HttpResponse,
112
+ context: __SerdeContext
113
+ ) => Promise<AssociateWhatsAppBusinessAccountCommandOutput>;
114
+ export declare const de_DeleteWhatsAppMessageMediaCommand: (
115
+ output: __HttpResponse,
116
+ context: __SerdeContext
117
+ ) => Promise<DeleteWhatsAppMessageMediaCommandOutput>;
118
+ export declare const de_DisassociateWhatsAppBusinessAccountCommand: (
119
+ output: __HttpResponse,
120
+ context: __SerdeContext
121
+ ) => Promise<DisassociateWhatsAppBusinessAccountCommandOutput>;
122
+ export declare const de_GetLinkedWhatsAppBusinessAccountCommand: (
123
+ output: __HttpResponse,
124
+ context: __SerdeContext
125
+ ) => Promise<GetLinkedWhatsAppBusinessAccountCommandOutput>;
126
+ export declare const de_GetLinkedWhatsAppBusinessAccountPhoneNumberCommand: (
127
+ output: __HttpResponse,
128
+ context: __SerdeContext
129
+ ) => Promise<GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput>;
130
+ export declare const de_GetWhatsAppMessageMediaCommand: (
131
+ output: __HttpResponse,
132
+ context: __SerdeContext
133
+ ) => Promise<GetWhatsAppMessageMediaCommandOutput>;
134
+ export declare const de_ListLinkedWhatsAppBusinessAccountsCommand: (
135
+ output: __HttpResponse,
136
+ context: __SerdeContext
137
+ ) => Promise<ListLinkedWhatsAppBusinessAccountsCommandOutput>;
138
+ export declare const de_ListTagsForResourceCommand: (
139
+ output: __HttpResponse,
140
+ context: __SerdeContext
141
+ ) => Promise<ListTagsForResourceCommandOutput>;
142
+ export declare const de_PostWhatsAppMessageMediaCommand: (
143
+ output: __HttpResponse,
144
+ context: __SerdeContext
145
+ ) => Promise<PostWhatsAppMessageMediaCommandOutput>;
146
+ export declare const de_PutWhatsAppBusinessAccountEventDestinationsCommand: (
147
+ output: __HttpResponse,
148
+ context: __SerdeContext
149
+ ) => Promise<PutWhatsAppBusinessAccountEventDestinationsCommandOutput>;
150
+ export declare const de_SendWhatsAppMessageCommand: (
151
+ output: __HttpResponse,
152
+ context: __SerdeContext
153
+ ) => Promise<SendWhatsAppMessageCommandOutput>;
154
+ export declare const de_TagResourceCommand: (
155
+ output: __HttpResponse,
156
+ context: __SerdeContext
157
+ ) => Promise<TagResourceCommandOutput>;
158
+ export declare const de_UntagResourceCommand: (
159
+ output: __HttpResponse,
160
+ context: __SerdeContext
161
+ ) => Promise<UntagResourceCommandOutput>;
@@ -0,0 +1,93 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { SocialMessagingClientConfig } from "./SocialMessagingClient";
3
+ export declare const getRuntimeConfig: (
4
+ config: SocialMessagingClientConfig
5
+ ) => {
6
+ runtime: string;
7
+ defaultsMode: import("@smithy/types").Provider<
8
+ import("@smithy/smithy-client").ResolvedDefaultsMode
9
+ >;
10
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
+ credentialDefaultProvider: (
12
+ input: any
13
+ ) => import("@smithy/types").AwsCredentialIdentityProvider;
14
+ defaultUserAgentProvider: (
15
+ config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
16
+ ) => Promise<import("@smithy/types").UserAgent>;
17
+ maxAttempts: number | import("@smithy/types").Provider<number>;
18
+ region: string | import("@smithy/types").Provider<any>;
19
+ requestHandler:
20
+ | import("@smithy/protocol-http").HttpHandler<any>
21
+ | RequestHandler;
22
+ retryMode: string | import("@smithy/types").Provider<string>;
23
+ sha256: import("@smithy/types").HashConstructor;
24
+ streamCollector: import("@smithy/types").StreamCollector;
25
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
26
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
27
+ apiVersion: string;
28
+ cacheMiddleware?: boolean | undefined;
29
+ urlParser: import("@smithy/types").UrlParser;
30
+ base64Decoder: import("@smithy/types").Decoder;
31
+ base64Encoder: (_input: string | Uint8Array) => string;
32
+ utf8Decoder: import("@smithy/types").Decoder;
33
+ utf8Encoder: (input: string | Uint8Array) => string;
34
+ disableHostPrefix: boolean;
35
+ serviceId: string;
36
+ logger: import("@smithy/types").Logger;
37
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
38
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
39
+ userAgentAppId?:
40
+ | string
41
+ | import("@smithy/types").Provider<string | undefined>
42
+ | undefined;
43
+ retryStrategy?:
44
+ | import("@smithy/types").RetryStrategy
45
+ | import("@smithy/types").RetryStrategyV2
46
+ | undefined;
47
+ endpoint?:
48
+ | ((
49
+ | string
50
+ | import("@smithy/types").Endpoint
51
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
52
+ | import("@smithy/types").EndpointV2
53
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
54
+ ) &
55
+ (
56
+ | string
57
+ | import("@smithy/types").Provider<string>
58
+ | import("@smithy/types").Endpoint
59
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
60
+ | import("@smithy/types").EndpointV2
61
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
62
+ ))
63
+ | undefined;
64
+ endpointProvider: (
65
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
66
+ context?: {
67
+ logger?: import("@smithy/types").Logger | undefined;
68
+ }
69
+ ) => import("@smithy/types").EndpointV2;
70
+ tls?: boolean | undefined;
71
+ serviceConfiguredEndpoint?: undefined;
72
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
73
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SocialMessagingHttpAuthSchemeProvider;
74
+ credentials?:
75
+ | import("@smithy/types").AwsCredentialIdentity
76
+ | import("@smithy/types").AwsCredentialIdentityProvider
77
+ | undefined;
78
+ signer?:
79
+ | import("@smithy/types").RequestSigner
80
+ | ((
81
+ authScheme?: import("@smithy/types").AuthScheme | undefined
82
+ ) => Promise<import("@smithy/types").RequestSigner>)
83
+ | undefined;
84
+ signingEscapePath?: boolean | undefined;
85
+ systemClockOffset?: number | undefined;
86
+ signingRegion?: string | undefined;
87
+ signerConstructor?:
88
+ | (new (
89
+ options: import("@smithy/signature-v4").SignatureV4Init &
90
+ import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ ) => import("@smithy/types").RequestSigner)
92
+ | undefined;
93
+ };
@@ -0,0 +1,96 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { SocialMessagingClientConfig } from "./SocialMessagingClient";
3
+ export declare const getRuntimeConfig: (
4
+ config: SocialMessagingClientConfig
5
+ ) => {
6
+ runtime: string;
7
+ defaultsMode: import("@smithy/types").Provider<
8
+ import("@smithy/smithy-client").ResolvedDefaultsMode
9
+ >;
10
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
+ credentialDefaultProvider: (
12
+ init?:
13
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
+ | undefined
15
+ ) => import("@smithy/types").MemoizedProvider<
16
+ import("@smithy/types").AwsCredentialIdentity
17
+ >;
18
+ defaultUserAgentProvider: (
19
+ config?:
20
+ | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
21
+ | undefined
22
+ ) => Promise<import("@smithy/types").UserAgent>;
23
+ maxAttempts: number | import("@smithy/types").Provider<number>;
24
+ region: string | import("@smithy/types").Provider<string>;
25
+ requestHandler:
26
+ | RequestHandler
27
+ | import("@smithy/protocol-http").HttpHandler<any>;
28
+ retryMode: string | import("@smithy/types").Provider<string>;
29
+ sha256: import("@smithy/types").HashConstructor;
30
+ streamCollector: import("@smithy/types").StreamCollector;
31
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
32
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
33
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
34
+ apiVersion: string;
35
+ cacheMiddleware?: boolean | undefined;
36
+ urlParser: import("@smithy/types").UrlParser;
37
+ base64Decoder: import("@smithy/types").Decoder;
38
+ base64Encoder: (_input: string | Uint8Array) => string;
39
+ utf8Decoder: import("@smithy/types").Decoder;
40
+ utf8Encoder: (input: string | Uint8Array) => string;
41
+ disableHostPrefix: boolean;
42
+ serviceId: string;
43
+ logger: import("@smithy/types").Logger;
44
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
45
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
46
+ retryStrategy?:
47
+ | import("@smithy/types").RetryStrategy
48
+ | import("@smithy/types").RetryStrategyV2
49
+ | undefined;
50
+ endpoint?:
51
+ | ((
52
+ | string
53
+ | import("@smithy/types").Endpoint
54
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
55
+ | import("@smithy/types").EndpointV2
56
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
57
+ ) &
58
+ (
59
+ | string
60
+ | import("@smithy/types").Provider<string>
61
+ | import("@smithy/types").Endpoint
62
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
63
+ | import("@smithy/types").EndpointV2
64
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
65
+ ))
66
+ | undefined;
67
+ endpointProvider: (
68
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
69
+ context?: {
70
+ logger?: import("@smithy/types").Logger | undefined;
71
+ }
72
+ ) => import("@smithy/types").EndpointV2;
73
+ tls?: boolean | undefined;
74
+ serviceConfiguredEndpoint?: undefined;
75
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
76
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SocialMessagingHttpAuthSchemeProvider;
77
+ credentials?:
78
+ | import("@smithy/types").AwsCredentialIdentity
79
+ | import("@smithy/types").AwsCredentialIdentityProvider
80
+ | undefined;
81
+ signer?:
82
+ | import("@smithy/types").RequestSigner
83
+ | ((
84
+ authScheme?: import("@smithy/types").AuthScheme | undefined
85
+ ) => Promise<import("@smithy/types").RequestSigner>)
86
+ | undefined;
87
+ signingEscapePath?: boolean | undefined;
88
+ systemClockOffset?: number | undefined;
89
+ signingRegion?: string | undefined;
90
+ signerConstructor?:
91
+ | (new (
92
+ options: import("@smithy/signature-v4").SignatureV4Init &
93
+ import("@smithy/signature-v4").SignatureV4CryptoInit
94
+ ) => import("@smithy/types").RequestSigner)
95
+ | undefined;
96
+ };
@@ -0,0 +1,87 @@
1
+ import { SocialMessagingClientConfig } from "./SocialMessagingClient";
2
+ export declare const getRuntimeConfig: (
3
+ config: SocialMessagingClientConfig
4
+ ) => {
5
+ runtime: string;
6
+ sha256: import("@smithy/types").HashConstructor;
7
+ requestHandler:
8
+ | import("@smithy/types").NodeHttpHandlerOptions
9
+ | import("@smithy/types").FetchHttpHandlerOptions
10
+ | Record<string, unknown>
11
+ | import("@smithy/protocol-http").HttpHandler<any>
12
+ | import("@smithy/fetch-http-handler").FetchHttpHandler;
13
+ apiVersion: string;
14
+ cacheMiddleware?: boolean | undefined;
15
+ urlParser: import("@smithy/types").UrlParser;
16
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
+ base64Decoder: import("@smithy/types").Decoder;
19
+ base64Encoder: (_input: string | Uint8Array) => string;
20
+ utf8Decoder: import("@smithy/types").Decoder;
21
+ utf8Encoder: (input: string | Uint8Array) => string;
22
+ disableHostPrefix: boolean;
23
+ serviceId: string;
24
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
25
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
26
+ region: string | import("@smithy/types").Provider<any>;
27
+ defaultUserAgentProvider: (
28
+ config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
+ ) => Promise<import("@smithy/types").UserAgent>;
30
+ credentialDefaultProvider: (
31
+ input: any
32
+ ) => import("@smithy/types").AwsCredentialIdentityProvider;
33
+ maxAttempts: number | import("@smithy/types").Provider<number>;
34
+ retryMode: string | import("@smithy/types").Provider<string>;
35
+ logger: import("@smithy/types").Logger;
36
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
37
+ defaultsMode:
38
+ | import("@smithy/smithy-client").DefaultsMode
39
+ | import("@smithy/types").Provider<
40
+ import("@smithy/smithy-client").DefaultsMode
41
+ >;
42
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
43
+ userAgentAppId?:
44
+ | string
45
+ | import("@smithy/types").Provider<string | undefined>
46
+ | undefined;
47
+ retryStrategy?:
48
+ | import("@smithy/types").RetryStrategy
49
+ | import("@smithy/types").RetryStrategyV2
50
+ | undefined;
51
+ endpoint?:
52
+ | string
53
+ | import("@smithy/types").Endpoint
54
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
55
+ | import("@smithy/types").EndpointV2
56
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
57
+ | undefined;
58
+ endpointProvider: (
59
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
60
+ context?: {
61
+ logger?: import("@smithy/types").Logger | undefined;
62
+ }
63
+ ) => import("@smithy/types").EndpointV2;
64
+ tls?: boolean | undefined;
65
+ serviceConfiguredEndpoint?: undefined;
66
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
67
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SocialMessagingHttpAuthSchemeProvider;
68
+ credentials?:
69
+ | import("@smithy/types").AwsCredentialIdentity
70
+ | import("@smithy/types").AwsCredentialIdentityProvider
71
+ | undefined;
72
+ signer?:
73
+ | import("@smithy/types").RequestSigner
74
+ | ((
75
+ authScheme?: import("@smithy/types").AuthScheme | undefined
76
+ ) => Promise<import("@smithy/types").RequestSigner>)
77
+ | undefined;
78
+ signingEscapePath?: boolean | undefined;
79
+ systemClockOffset?: number | undefined;
80
+ signingRegion?: string | undefined;
81
+ signerConstructor?:
82
+ | (new (
83
+ options: import("@smithy/signature-v4").SignatureV4Init &
84
+ import("@smithy/signature-v4").SignatureV4CryptoInit
85
+ ) => import("@smithy/types").RequestSigner)
86
+ | undefined;
87
+ };
@@ -0,0 +1,23 @@
1
+ import { SocialMessagingClientConfig } from "./SocialMessagingClient";
2
+ export declare const getRuntimeConfig: (
3
+ config: SocialMessagingClientConfig
4
+ ) => {
5
+ apiVersion: string;
6
+ base64Decoder: import("@smithy/types").Decoder;
7
+ base64Encoder: (_input: string | Uint8Array) => string;
8
+ disableHostPrefix: boolean;
9
+ endpointProvider: (
10
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
11
+ context?: {
12
+ logger?: import("@smithy/types").Logger | undefined;
13
+ }
14
+ ) => import("@smithy/types").EndpointV2;
15
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
16
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SocialMessagingHttpAuthSchemeProvider;
17
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
18
+ logger: import("@smithy/types").Logger;
19
+ serviceId: string;
20
+ urlParser: import("@smithy/types").UrlParser;
21
+ utf8Decoder: import("@smithy/types").Decoder;
22
+ utf8Encoder: (input: string | Uint8Array) => string;
23
+ };
@@ -0,0 +1,13 @@
1
+ import { SocialMessagingExtensionConfiguration } from "./extensionConfiguration";
2
+ export interface RuntimeExtension {
3
+ configure(
4
+ extensionConfiguration: SocialMessagingExtensionConfiguration
5
+ ): void;
6
+ }
7
+ export interface RuntimeExtensionsConfig {
8
+ extensions: RuntimeExtension[];
9
+ }
10
+ export declare const resolveRuntimeExtensions: (
11
+ runtimeConfig: any,
12
+ extensions: RuntimeExtension[]
13
+ ) => any;
package/package.json ADDED
@@ -0,0 +1,101 @@
1
+ {
2
+ "name": "@aws-sdk/client-socialmessaging",
3
+ "description": "AWS SDK for JavaScript Socialmessaging Client for Node.js, Browser and React Native",
4
+ "version": "3.669.0",
5
+ "scripts": {
6
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
+ "build:cjs": "tsc -p tsconfig.cjs.json",
8
+ "build:es": "tsc -p tsconfig.es.json",
9
+ "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
10
+ "build:types": "tsc -p tsconfig.types.json",
11
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
13
+ "extract:docs": "api-extractor run --local",
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo socialmessaging"
15
+ },
16
+ "main": "./dist-cjs/index.js",
17
+ "types": "./dist-types/index.d.ts",
18
+ "module": "./dist-es/index.js",
19
+ "sideEffects": false,
20
+ "dependencies": {
21
+ "@aws-crypto/sha256-browser": "5.2.0",
22
+ "@aws-crypto/sha256-js": "5.2.0",
23
+ "@aws-sdk/client-sso-oidc": "3.669.0",
24
+ "@aws-sdk/client-sts": "3.669.0",
25
+ "@aws-sdk/core": "3.667.0",
26
+ "@aws-sdk/credential-provider-node": "3.669.0",
27
+ "@aws-sdk/middleware-host-header": "3.667.0",
28
+ "@aws-sdk/middleware-logger": "3.667.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.667.0",
30
+ "@aws-sdk/middleware-user-agent": "3.669.0",
31
+ "@aws-sdk/region-config-resolver": "3.667.0",
32
+ "@aws-sdk/types": "3.667.0",
33
+ "@aws-sdk/util-endpoints": "3.667.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.667.0",
35
+ "@aws-sdk/util-user-agent-node": "3.669.0",
36
+ "@smithy/config-resolver": "^3.0.9",
37
+ "@smithy/core": "^2.4.8",
38
+ "@smithy/fetch-http-handler": "^3.2.9",
39
+ "@smithy/hash-node": "^3.0.7",
40
+ "@smithy/invalid-dependency": "^3.0.7",
41
+ "@smithy/middleware-content-length": "^3.0.9",
42
+ "@smithy/middleware-endpoint": "^3.1.4",
43
+ "@smithy/middleware-retry": "^3.0.23",
44
+ "@smithy/middleware-serde": "^3.0.7",
45
+ "@smithy/middleware-stack": "^3.0.7",
46
+ "@smithy/node-config-provider": "^3.1.8",
47
+ "@smithy/node-http-handler": "^3.2.4",
48
+ "@smithy/protocol-http": "^4.1.4",
49
+ "@smithy/smithy-client": "^3.4.0",
50
+ "@smithy/types": "^3.5.0",
51
+ "@smithy/url-parser": "^3.0.7",
52
+ "@smithy/util-base64": "^3.0.0",
53
+ "@smithy/util-body-length-browser": "^3.0.0",
54
+ "@smithy/util-body-length-node": "^3.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.23",
56
+ "@smithy/util-defaults-mode-node": "^3.0.23",
57
+ "@smithy/util-endpoints": "^2.1.3",
58
+ "@smithy/util-middleware": "^3.0.7",
59
+ "@smithy/util-retry": "^3.0.7",
60
+ "@smithy/util-utf8": "^3.0.0",
61
+ "tslib": "^2.6.2"
62
+ },
63
+ "devDependencies": {
64
+ "@tsconfig/node16": "16.1.3",
65
+ "@types/node": "^16.18.96",
66
+ "concurrently": "7.0.0",
67
+ "downlevel-dts": "0.10.1",
68
+ "rimraf": "3.0.2",
69
+ "typescript": "~4.9.5"
70
+ },
71
+ "engines": {
72
+ "node": ">=16.0.0"
73
+ },
74
+ "typesVersions": {
75
+ "<4.0": {
76
+ "dist-types/*": [
77
+ "dist-types/ts3.4/*"
78
+ ]
79
+ }
80
+ },
81
+ "files": [
82
+ "dist-*/**"
83
+ ],
84
+ "author": {
85
+ "name": "AWS SDK for JavaScript Team",
86
+ "url": "https://aws.amazon.com/javascript/"
87
+ },
88
+ "license": "Apache-2.0",
89
+ "browser": {
90
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
91
+ },
92
+ "react-native": {
93
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
94
+ },
95
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-socialmessaging",
96
+ "repository": {
97
+ "type": "git",
98
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
99
+ "directory": "clients/client-socialmessaging"
100
+ }
101
+ }