@aws-sdk/client-endusermessaging 3.1145.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 (178) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +370 -0
  3. package/dist-cjs/index.js +1645 -0
  4. package/dist-es/EndUserMessaging.js +79 -0
  5. package/dist-es/EndUserMessagingClient.js +47 -0
  6. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  7. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  8. package/dist-es/commandBuilder.js +6 -0
  9. package/dist-es/commands/CreateBrandProfileAttributesCommand.js +4 -0
  10. package/dist-es/commands/CreateBrandProfileCommand.js +4 -0
  11. package/dist-es/commands/CreateBrandProfileFromRegistrationCommand.js +4 -0
  12. package/dist-es/commands/CreateNotifyCodeConfigurationCommand.js +4 -0
  13. package/dist-es/commands/CreateRegistrationsFromBrandProfileCommand.js +4 -0
  14. package/dist-es/commands/DeleteBrandProfileAttributeCommand.js +4 -0
  15. package/dist-es/commands/DeleteBrandProfileCommand.js +4 -0
  16. package/dist-es/commands/DeleteNotifyCodeConfigurationCommand.js +4 -0
  17. package/dist-es/commands/GetBrandProfileAttributeCommand.js +4 -0
  18. package/dist-es/commands/GetBrandProfileCommand.js +4 -0
  19. package/dist-es/commands/GetJobCommand.js +4 -0
  20. package/dist-es/commands/GetNotifyCodeConfigurationCommand.js +4 -0
  21. package/dist-es/commands/ListBrandProfileAttributesCommand.js +4 -0
  22. package/dist-es/commands/ListBrandProfilesCommand.js +4 -0
  23. package/dist-es/commands/ListJobsCommand.js +4 -0
  24. package/dist-es/commands/ListNotifyCodeConfigurationsCommand.js +4 -0
  25. package/dist-es/commands/ListRegistrationsFromBrandProfileCommand.js +4 -0
  26. package/dist-es/commands/ListTagsForResourceCommand.js +4 -0
  27. package/dist-es/commands/SendNotifyCodeVerificationCommand.js +4 -0
  28. package/dist-es/commands/TagResourceCommand.js +4 -0
  29. package/dist-es/commands/UntagResourceCommand.js +4 -0
  30. package/dist-es/commands/UpdateBrandProfileAttributeCommand.js +4 -0
  31. package/dist-es/commands/UpdateBrandProfileCommand.js +4 -0
  32. package/dist-es/commands/UpdateBrandProfileFromRegistrationCommand.js +4 -0
  33. package/dist-es/commands/UpdateNotifyCodeConfigurationCommand.js +4 -0
  34. package/dist-es/commands/UpdateRegistrationsFromBrandProfileCommand.js +4 -0
  35. package/dist-es/commands/ValidateNotifyCodeVerificationCommand.js +4 -0
  36. package/dist-es/commands/index.js +27 -0
  37. package/dist-es/endpoint/EndpointParameters.js +13 -0
  38. package/dist-es/endpoint/bdd.js +46 -0
  39. package/dist-es/endpoint/endpointResolver.js +14 -0
  40. package/dist-es/extensionConfiguration.js +1 -0
  41. package/dist-es/index.js +11 -0
  42. package/dist-es/models/EndUserMessagingServiceException.js +8 -0
  43. package/dist-es/models/enums.js +43 -0
  44. package/dist-es/models/errors.js +99 -0
  45. package/dist-es/models/models_0.js +1 -0
  46. package/dist-es/pagination/Interfaces.js +1 -0
  47. package/dist-es/pagination/ListBrandProfileAttributesPaginator.js +4 -0
  48. package/dist-es/pagination/ListBrandProfilesPaginator.js +4 -0
  49. package/dist-es/pagination/ListJobsPaginator.js +4 -0
  50. package/dist-es/pagination/ListNotifyCodeConfigurationsPaginator.js +4 -0
  51. package/dist-es/pagination/ListRegistrationsFromBrandProfilePaginator.js +4 -0
  52. package/dist-es/pagination/index.js +6 -0
  53. package/dist-es/runtimeConfig.browser.js +29 -0
  54. package/dist-es/runtimeConfig.js +43 -0
  55. package/dist-es/runtimeConfig.native.js +9 -0
  56. package/dist-es/runtimeConfig.shared.js +40 -0
  57. package/dist-es/runtimeExtensions.js +9 -0
  58. package/dist-es/schemas/schemas_0.js +818 -0
  59. package/dist-es/waiters/index.js +2 -0
  60. package/dist-es/waiters/waitForBrandProfileActive.js +58 -0
  61. package/dist-es/waiters/waitForJobSuccess.js +40 -0
  62. package/dist-types/EndUserMessaging.d.ts +256 -0
  63. package/dist-types/EndUserMessagingClient.d.ts +213 -0
  64. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  65. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  66. package/dist-types/commandBuilder.d.ts +18 -0
  67. package/dist-types/commands/CreateBrandProfileAttributesCommand.d.ts +139 -0
  68. package/dist-types/commands/CreateBrandProfileCommand.d.ts +129 -0
  69. package/dist-types/commands/CreateBrandProfileFromRegistrationCommand.d.ts +130 -0
  70. package/dist-types/commands/CreateNotifyCodeConfigurationCommand.d.ts +206 -0
  71. package/dist-types/commands/CreateRegistrationsFromBrandProfileCommand.d.ts +125 -0
  72. package/dist-types/commands/DeleteBrandProfileAttributeCommand.d.ts +110 -0
  73. package/dist-types/commands/DeleteBrandProfileCommand.d.ts +108 -0
  74. package/dist-types/commands/DeleteNotifyCodeConfigurationCommand.d.ts +102 -0
  75. package/dist-types/commands/GetBrandProfileAttributeCommand.d.ts +119 -0
  76. package/dist-types/commands/GetBrandProfileCommand.d.ts +115 -0
  77. package/dist-types/commands/GetJobCommand.d.ts +129 -0
  78. package/dist-types/commands/GetNotifyCodeConfigurationCommand.d.ts +156 -0
  79. package/dist-types/commands/ListBrandProfileAttributesCommand.d.ts +124 -0
  80. package/dist-types/commands/ListBrandProfilesCommand.d.ts +122 -0
  81. package/dist-types/commands/ListJobsCommand.d.ts +133 -0
  82. package/dist-types/commands/ListNotifyCodeConfigurationsCommand.d.ts +159 -0
  83. package/dist-types/commands/ListRegistrationsFromBrandProfileCommand.d.ts +121 -0
  84. package/dist-types/commands/ListTagsForResourceCommand.d.ts +113 -0
  85. package/dist-types/commands/SendNotifyCodeVerificationCommand.d.ts +151 -0
  86. package/dist-types/commands/TagResourceCommand.d.ts +114 -0
  87. package/dist-types/commands/UntagResourceCommand.d.ts +105 -0
  88. package/dist-types/commands/UpdateBrandProfileAttributeCommand.d.ts +127 -0
  89. package/dist-types/commands/UpdateBrandProfileCommand.d.ts +122 -0
  90. package/dist-types/commands/UpdateBrandProfileFromRegistrationCommand.d.ts +123 -0
  91. package/dist-types/commands/UpdateNotifyCodeConfigurationCommand.d.ts +193 -0
  92. package/dist-types/commands/UpdateRegistrationsFromBrandProfileCommand.d.ts +127 -0
  93. package/dist-types/commands/ValidateNotifyCodeVerificationCommand.d.ts +104 -0
  94. package/dist-types/commands/index.d.ts +27 -0
  95. package/dist-types/endpoint/EndpointParameters.d.ts +50 -0
  96. package/dist-types/endpoint/bdd.d.ts +2 -0
  97. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  98. package/dist-types/extensionConfiguration.d.ts +9 -0
  99. package/dist-types/index.d.ts +19 -0
  100. package/dist-types/models/EndUserMessagingServiceException.d.ts +14 -0
  101. package/dist-types/models/enums.d.ts +145 -0
  102. package/dist-types/models/errors.d.ts +119 -0
  103. package/dist-types/models/models_0.d.ts +1667 -0
  104. package/dist-types/pagination/Interfaces.d.ts +8 -0
  105. package/dist-types/pagination/ListBrandProfileAttributesPaginator.d.ts +7 -0
  106. package/dist-types/pagination/ListBrandProfilesPaginator.d.ts +7 -0
  107. package/dist-types/pagination/ListJobsPaginator.d.ts +7 -0
  108. package/dist-types/pagination/ListNotifyCodeConfigurationsPaginator.d.ts +7 -0
  109. package/dist-types/pagination/ListRegistrationsFromBrandProfilePaginator.d.ts +7 -0
  110. package/dist-types/pagination/index.d.ts +6 -0
  111. package/dist-types/runtimeConfig.browser.d.ts +57 -0
  112. package/dist-types/runtimeConfig.d.ts +57 -0
  113. package/dist-types/runtimeConfig.native.d.ts +56 -0
  114. package/dist-types/runtimeConfig.shared.d.ts +28 -0
  115. package/dist-types/runtimeExtensions.d.ts +17 -0
  116. package/dist-types/schemas/schemas_0.d.ts +120 -0
  117. package/dist-types/ts3.4/EndUserMessaging.d.ts +515 -0
  118. package/dist-types/ts3.4/EndUserMessagingClient.d.ts +256 -0
  119. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +25 -0
  120. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
  121. package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
  122. package/dist-types/ts3.4/commands/CreateBrandProfileAttributesCommand.d.ts +42 -0
  123. package/dist-types/ts3.4/commands/CreateBrandProfileCommand.d.ts +39 -0
  124. package/dist-types/ts3.4/commands/CreateBrandProfileFromRegistrationCommand.d.ts +42 -0
  125. package/dist-types/ts3.4/commands/CreateNotifyCodeConfigurationCommand.d.ts +42 -0
  126. package/dist-types/ts3.4/commands/CreateRegistrationsFromBrandProfileCommand.d.ts +42 -0
  127. package/dist-types/ts3.4/commands/DeleteBrandProfileAttributeCommand.d.ts +42 -0
  128. package/dist-types/ts3.4/commands/DeleteBrandProfileCommand.d.ts +39 -0
  129. package/dist-types/ts3.4/commands/DeleteNotifyCodeConfigurationCommand.d.ts +42 -0
  130. package/dist-types/ts3.4/commands/GetBrandProfileAttributeCommand.d.ts +39 -0
  131. package/dist-types/ts3.4/commands/GetBrandProfileCommand.d.ts +38 -0
  132. package/dist-types/ts3.4/commands/GetJobCommand.d.ts +38 -0
  133. package/dist-types/ts3.4/commands/GetNotifyCodeConfigurationCommand.d.ts +42 -0
  134. package/dist-types/ts3.4/commands/ListBrandProfileAttributesCommand.d.ts +42 -0
  135. package/dist-types/ts3.4/commands/ListBrandProfilesCommand.d.ts +38 -0
  136. package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +38 -0
  137. package/dist-types/ts3.4/commands/ListNotifyCodeConfigurationsCommand.d.ts +42 -0
  138. package/dist-types/ts3.4/commands/ListRegistrationsFromBrandProfileCommand.d.ts +42 -0
  139. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  140. package/dist-types/ts3.4/commands/SendNotifyCodeVerificationCommand.d.ts +42 -0
  141. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +38 -0
  142. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
  143. package/dist-types/ts3.4/commands/UpdateBrandProfileAttributeCommand.d.ts +42 -0
  144. package/dist-types/ts3.4/commands/UpdateBrandProfileCommand.d.ts +39 -0
  145. package/dist-types/ts3.4/commands/UpdateBrandProfileFromRegistrationCommand.d.ts +42 -0
  146. package/dist-types/ts3.4/commands/UpdateNotifyCodeConfigurationCommand.d.ts +42 -0
  147. package/dist-types/ts3.4/commands/UpdateRegistrationsFromBrandProfileCommand.d.ts +42 -0
  148. package/dist-types/ts3.4/commands/ValidateNotifyCodeVerificationCommand.d.ts +42 -0
  149. package/dist-types/ts3.4/commands/index.d.ts +27 -0
  150. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  151. package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  152. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  153. package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
  154. package/dist-types/ts3.4/index.d.ts +14 -0
  155. package/dist-types/ts3.4/models/EndUserMessagingServiceException.d.ts +9 -0
  156. package/dist-types/ts3.4/models/enums.d.ts +54 -0
  157. package/dist-types/ts3.4/models/errors.d.ts +47 -0
  158. package/dist-types/ts3.4/models/models_0.d.ts +413 -0
  159. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  160. package/dist-types/ts3.4/pagination/ListBrandProfileAttributesPaginator.d.ts +11 -0
  161. package/dist-types/ts3.4/pagination/ListBrandProfilesPaginator.d.ts +11 -0
  162. package/dist-types/ts3.4/pagination/ListJobsPaginator.d.ts +8 -0
  163. package/dist-types/ts3.4/pagination/ListNotifyCodeConfigurationsPaginator.d.ts +11 -0
  164. package/dist-types/ts3.4/pagination/ListRegistrationsFromBrandProfilePaginator.d.ts +11 -0
  165. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  166. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
  167. package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
  168. package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -0
  169. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
  170. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  171. package/dist-types/ts3.4/schemas/schemas_0.d.ts +115 -0
  172. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  173. package/dist-types/ts3.4/waiters/waitForBrandProfileActive.d.ts +15 -0
  174. package/dist-types/ts3.4/waiters/waitForJobSuccess.d.ts +12 -0
  175. package/dist-types/waiters/index.d.ts +2 -0
  176. package/dist-types/waiters/waitForBrandProfileActive.d.ts +15 -0
  177. package/dist-types/waiters/waitForJobSuccess.d.ts +15 -0
  178. package/package.json +69 -0
@@ -0,0 +1,1645 @@
1
+ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
+ const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
6
+ exports.__Client = Client;
7
+ const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
8
+ const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
9
+ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
10
+ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
11
+ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
12
+ const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
13
+ const { defaultProvider } = require("@aws-sdk/credential-provider-node");
14
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
15
+ const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
16
+ const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
18
+
19
+ const defaultEndUserMessagingHttpAuthSchemeParametersProvider = async (config, context, input) => {
20
+ return {
21
+ operation: getSmithyContext(context).operation,
22
+ region: await normalizeProvider(config.region)() || (() => {
23
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
24
+ })(),
25
+ };
26
+ };
27
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
28
+ return {
29
+ schemeId: "aws.auth#sigv4",
30
+ signingProperties: {
31
+ name: "end-user-messaging",
32
+ region: authParameters.region,
33
+ },
34
+ propertiesExtractor: (config, context) => ({
35
+ signingProperties: {
36
+ config,
37
+ context,
38
+ },
39
+ }),
40
+ };
41
+ }
42
+ const defaultEndUserMessagingHttpAuthSchemeProvider = (authParameters) => {
43
+ const options = [];
44
+ switch (authParameters.operation) {
45
+ default: {
46
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
47
+ }
48
+ }
49
+ return options;
50
+ };
51
+ const resolveHttpAuthSchemeConfig = (config) => {
52
+ const config_0 = resolveAwsSdkSigV4Config(config);
53
+ return Object.assign(config_0, {
54
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
55
+ });
56
+ };
57
+
58
+ const resolveClientEndpointParameters = (options) => {
59
+ return Object.assign(options, {
60
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
61
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
62
+ defaultSigningName: "end-user-messaging",
63
+ });
64
+ };
65
+ const commonParams = {
66
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
67
+ Endpoint: { type: "builtInParams", name: "endpoint" },
68
+ Region: { type: "builtInParams", name: "region" },
69
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
+ };
71
+
72
+ var version = "3.0.0";
73
+ var packageInfo = {
74
+ version: version};
75
+
76
+ const k = "ref";
77
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
78
+ const _data = {
79
+ conditions: [
80
+ [c, [g]],
81
+ [c, j],
82
+ ["aws.partition", j, d],
83
+ [e, [{ [k]: "UseFIPS" }, b]],
84
+ [e, [{ [k]: "UseDualStack" }, b]],
85
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
86
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
87
+ ],
88
+ results: [
89
+ [a],
90
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
91
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
92
+ [g, i],
93
+ ["https://end-user-messaging-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
94
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
95
+ ["https://end-user-messaging-fips.{Region}.{PartitionResult#dnsSuffix}", i],
96
+ [a, "FIPS is enabled but this partition does not support FIPS"],
97
+ ["https://end-user-messaging.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
98
+ [a, "DualStack is enabled but this partition does not support DualStack"],
99
+ ["https://end-user-messaging.{Region}.{PartitionResult#dnsSuffix}", i],
100
+ [a, "Invalid Configuration: Missing Region"]
101
+ ]
102
+ };
103
+ const root = 2;
104
+ const r = 100_000_000;
105
+ const nodes = new Int32Array([
106
+ -1, 1, -1,
107
+ 0, 12, 3,
108
+ 1, 4, r + 11,
109
+ 2, 5, r + 11,
110
+ 3, 8, 6,
111
+ 4, 7, r + 10,
112
+ 5, r + 8, r + 9,
113
+ 4, 10, 9,
114
+ 6, r + 6, r + 7,
115
+ 5, 11, r + 5,
116
+ 6, r + 4, r + 5,
117
+ 3, r + 1, 13,
118
+ 4, r + 2, r + 3,
119
+ ]);
120
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
121
+
122
+ const cache = new EndpointCache({
123
+ size: 50,
124
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
125
+ });
126
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
127
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
128
+ endpointParams: endpointParams,
129
+ logger: context.logger,
130
+ }));
131
+ };
132
+ customEndpointFunctions.aws = awsEndpointFunctions;
133
+
134
+ class EndUserMessagingServiceException extends ServiceException {
135
+ constructor(options) {
136
+ super(options);
137
+ Object.setPrototypeOf(this, EndUserMessagingServiceException.prototype);
138
+ }
139
+ }
140
+
141
+ class AccessDeniedException extends EndUserMessagingServiceException {
142
+ name = "AccessDeniedException";
143
+ $fault = "client";
144
+ constructor(opts) {
145
+ super({
146
+ name: "AccessDeniedException",
147
+ $fault: "client",
148
+ ...opts,
149
+ });
150
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
151
+ }
152
+ }
153
+ class ConflictException extends EndUserMessagingServiceException {
154
+ name = "ConflictException";
155
+ $fault = "client";
156
+ resourceId;
157
+ resourceType;
158
+ constructor(opts) {
159
+ super({
160
+ name: "ConflictException",
161
+ $fault: "client",
162
+ ...opts,
163
+ });
164
+ Object.setPrototypeOf(this, ConflictException.prototype);
165
+ this.resourceId = opts.resourceId;
166
+ this.resourceType = opts.resourceType;
167
+ }
168
+ }
169
+ class InternalServerException extends EndUserMessagingServiceException {
170
+ name = "InternalServerException";
171
+ $fault = "server";
172
+ $retryable = {};
173
+ constructor(opts) {
174
+ super({
175
+ name: "InternalServerException",
176
+ $fault: "server",
177
+ ...opts,
178
+ });
179
+ Object.setPrototypeOf(this, InternalServerException.prototype);
180
+ }
181
+ }
182
+ class ServiceQuotaExceededException extends EndUserMessagingServiceException {
183
+ name = "ServiceQuotaExceededException";
184
+ $fault = "client";
185
+ constructor(opts) {
186
+ super({
187
+ name: "ServiceQuotaExceededException",
188
+ $fault: "client",
189
+ ...opts,
190
+ });
191
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
192
+ }
193
+ }
194
+ class ThrottlingException extends EndUserMessagingServiceException {
195
+ name = "ThrottlingException";
196
+ $fault = "client";
197
+ $retryable = {
198
+ throttling: true,
199
+ };
200
+ constructor(opts) {
201
+ super({
202
+ name: "ThrottlingException",
203
+ $fault: "client",
204
+ ...opts,
205
+ });
206
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
207
+ }
208
+ }
209
+ class ValidationException extends EndUserMessagingServiceException {
210
+ name = "ValidationException";
211
+ $fault = "client";
212
+ fieldList;
213
+ constructor(opts) {
214
+ super({
215
+ name: "ValidationException",
216
+ $fault: "client",
217
+ ...opts,
218
+ });
219
+ Object.setPrototypeOf(this, ValidationException.prototype);
220
+ this.fieldList = opts.fieldList;
221
+ }
222
+ }
223
+ class ResourceNotFoundException extends EndUserMessagingServiceException {
224
+ name = "ResourceNotFoundException";
225
+ $fault = "client";
226
+ resourceId;
227
+ resourceType;
228
+ constructor(opts) {
229
+ super({
230
+ name: "ResourceNotFoundException",
231
+ $fault: "client",
232
+ ...opts,
233
+ });
234
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
235
+ this.resourceId = opts.resourceId;
236
+ this.resourceType = opts.resourceType;
237
+ }
238
+ }
239
+
240
+ const _AB = "AttachmentBody";
241
+ const _ADE = "AccessDeniedException";
242
+ const _BPAD = "BrandProfileAttributeDescription";
243
+ const _BPAI = "BrandProfileAttributeInput";
244
+ const _BPAIL = "BrandProfileAttributeInputList";
245
+ const _BPAN = "BrandProfileAttributeName";
246
+ const _BPAO = "BrandProfileAttributeOutput";
247
+ const _BPAOL = "BrandProfileAttributeOutputList";
248
+ const _BPAS = "BrandProfileAttributeSummary";
249
+ const _BPASL = "BrandProfileAttributeSummaryList";
250
+ const _BPAV = "BrandProfileAttributeValue";
251
+ const _BPI = "BrandProfileInfo";
252
+ const _BPIL = "BrandProfileInfoList";
253
+ const _CBP = "CreateBrandProfile";
254
+ const _CBPA = "CreateBrandProfileAttributes";
255
+ const _CBPAI = "CreateBrandProfileAttributesInput";
256
+ const _CBPAO = "CreateBrandProfileAttributesOutput";
257
+ const _CBPFR = "CreateBrandProfileFromRegistration";
258
+ const _CBPFRI = "CreateBrandProfileFromRegistrationInput";
259
+ const _CBPFRO = "CreateBrandProfileFromRegistrationOutput";
260
+ const _CBPI = "CreateBrandProfileInput";
261
+ const _CBPO = "CreateBrandProfileOutput";
262
+ const _CCP = "CodeConfigurationParameters";
263
+ const _CE = "ConflictException";
264
+ const _CK = "ContextKey";
265
+ const _CM = "ContextMap";
266
+ const _CNCC = "CreateNotifyCodeConfiguration";
267
+ const _CNCCI = "CreateNotifyCodeConfigurationInput";
268
+ const _CNCCO = "CreateNotifyCodeConfigurationOutput";
269
+ const _CP = "ChannelParameters";
270
+ const _CRFBP = "CreateRegistrationsFromBrandProfile";
271
+ const _CRFBPI = "CreateRegistrationsFromBrandProfileInput";
272
+ const _CRFBPO = "CreateRegistrationsFromBrandProfileOutput";
273
+ const _CT = "ClientToken";
274
+ const _CV = "ContextValue";
275
+ const _DBP = "DeleteBrandProfile";
276
+ const _DBPA = "DeleteBrandProfileAttribute";
277
+ const _DBPAI = "DeleteBrandProfileAttributeInput";
278
+ const _DBPAO = "DeleteBrandProfileAttributeOutput";
279
+ const _DBPI = "DeleteBrandProfileInput";
280
+ const _DBPO = "DeleteBrandProfileOutput";
281
+ const _DCP = "DestinationCountryParameters";
282
+ const _DCPV = "DestinationCountryParameterValue";
283
+ const _DI = "DestinationIdentity";
284
+ const _DNCC = "DeleteNotifyCodeConfiguration";
285
+ const _DNCCI = "DeleteNotifyCodeConfigurationInput";
286
+ const _DNCCO = "DeleteNotifyCodeConfigurationOutput";
287
+ const _GBP = "GetBrandProfile";
288
+ const _GBPA = "GetBrandProfileAttribute";
289
+ const _GBPAI = "GetBrandProfileAttributeInput";
290
+ const _GBPAO = "GetBrandProfileAttributeOutput";
291
+ const _GBPI = "GetBrandProfileInput";
292
+ const _GBPO = "GetBrandProfileOutput";
293
+ const _GJ = "GetJob";
294
+ const _GJI = "GetJobInput";
295
+ const _GNCC = "GetNotifyCodeConfiguration";
296
+ const _GNCCI = "GetNotifyCodeConfigurationInput";
297
+ const _GNCCO = "GetNotifyCodeConfigurationOutput";
298
+ const _ISE = "InternalServerException";
299
+ const _ITB = "InlineTemplateBody";
300
+ const _J = "Job";
301
+ const _JR = "JobResource";
302
+ const _JRL = "JobResourceList";
303
+ const _JRo = "JobResult";
304
+ const _JRob = "JobResults";
305
+ const _JS = "JobSummary";
306
+ const _JSL = "JobSummaryList";
307
+ const _LBP = "ListBrandProfiles";
308
+ const _LBPA = "ListBrandProfileAttributes";
309
+ const _LBPAI = "ListBrandProfileAttributesInput";
310
+ const _LBPAO = "ListBrandProfileAttributesOutput";
311
+ const _LBPI = "ListBrandProfilesInput";
312
+ const _LBPO = "ListBrandProfilesOutput";
313
+ const _LJ = "ListJobs";
314
+ const _LJI = "ListJobsInput";
315
+ const _LJO = "ListJobsOutput";
316
+ const _LNCC = "ListNotifyCodeConfigurations";
317
+ const _LNCCI = "ListNotifyCodeConfigurationsInput";
318
+ const _LNCCO = "ListNotifyCodeConfigurationsOutput";
319
+ const _LRFBP = "ListRegistrationsFromBrandProfile";
320
+ const _LRFBPI = "ListRegistrationsFromBrandProfileInput";
321
+ const _LRFBPO = "ListRegistrationsFromBrandProfileOutput";
322
+ const _LTFR = "ListTagsForResource";
323
+ const _LTFRI = "ListTagsForResourceInput";
324
+ const _LTFRO = "ListTagsForResourceOutput";
325
+ const _MDU = "MediaDownloadUrl";
326
+ const _NCC = "NotifyCodeConfiguration";
327
+ const _NCCL = "NotifyCodeConfigurationList";
328
+ const _NP = "NotifyParameters";
329
+ const _RAS = "RegistrationAssociationSummary";
330
+ const _RASL = "RegistrationAssociationSummaryList";
331
+ const _RNFE = "ResourceNotFoundException";
332
+ const _SNCV = "SendNotifyCodeVerification";
333
+ const _SNCVI = "SendNotifyCodeVerificationInput";
334
+ const _SNCVO = "SendNotifyCodeVerificationOutput";
335
+ const _SQEE = "ServiceQuotaExceededException";
336
+ const _T = "Tag";
337
+ const _TE = "ThrottlingException";
338
+ const _TL = "TagList";
339
+ const _TP = "TextParameters";
340
+ const _TR = "TagResource";
341
+ const _TRI = "TagResourceInput";
342
+ const _TRO = "TagResourceOutput";
343
+ const _UBP = "UpdateBrandProfile";
344
+ const _UBPA = "UpdateBrandProfileAttribute";
345
+ const _UBPAI = "UpdateBrandProfileAttributeInput";
346
+ const _UBPAO = "UpdateBrandProfileAttributeOutput";
347
+ const _UBPFR = "UpdateBrandProfileFromRegistration";
348
+ const _UBPFRI = "UpdateBrandProfileFromRegistrationInput";
349
+ const _UBPFRO = "UpdateBrandProfileFromRegistrationOutput";
350
+ const _UBPI = "UpdateBrandProfileInput";
351
+ const _UBPO = "UpdateBrandProfileOutput";
352
+ const _UCCP = "UpdateCodeConfigurationParameters";
353
+ const _UCP = "UpdateChannelParameters";
354
+ const _UDCP = "UpdateDestinationCountryParameters";
355
+ const _UITB = "UpdateInlineTemplateBody";
356
+ const _UNCC = "UpdateNotifyCodeConfiguration";
357
+ const _UNCCI = "UpdateNotifyCodeConfigurationInput";
358
+ const _UNCCO = "UpdateNotifyCodeConfigurationOutput";
359
+ const _UNP = "UpdateNotifyParameters";
360
+ const _UR = "UntagResource";
361
+ const _URFBP = "UpdateRegistrationsFromBrandProfile";
362
+ const _URFBPI = "UpdateRegistrationsFromBrandProfileInput";
363
+ const _URFBPO = "UpdateRegistrationsFromBrandProfileOutput";
364
+ const _URI = "UntagResourceInput";
365
+ const _URO = "UntagResourceOutput";
366
+ const _UTP = "UpdateTextParameters";
367
+ const _UVP = "UpdateVoiceParameters";
368
+ const _UWAP = "UpdateWhatsAppParameters";
369
+ const _VC = "VerificationCode";
370
+ const _VE = "ValidationException";
371
+ const _VEF = "ValidationExceptionField";
372
+ const _VEFL = "ValidationExceptionFieldList";
373
+ const _VNCV = "ValidateNotifyCodeVerification";
374
+ const _VNCVI = "ValidateNotifyCodeVerificationInput";
375
+ const _VNCVO = "ValidateNotifyCodeVerificationOutput";
376
+ const _VP = "VoiceParameters";
377
+ const _WAP = "WhatsAppParameters";
378
+ const _a = "attributes";
379
+ const _aB = "attachmentBody";
380
+ const _aC = "attributesCreated";
381
+ const _aN = "attributeName";
382
+ const _aT = "attributeType";
383
+ const _aV = "attributeValue";
384
+ const _bP = "brandProfiles";
385
+ const _bPA = "brandProfileArn";
386
+ const _bPAr = "brandProfileAttributes";
387
+ const _bPI = "brandProfileId";
388
+ const _bPN = "brandProfileName";
389
+ const _c = "client";
390
+ const _cA = "createdAt";
391
+ const _cCP = "codeConfigurationParameters";
392
+ const _cL = "codeLength";
393
+ const _cP = "channelParameters";
394
+ const _cSN = "configurationSetName";
395
+ const _cT = "codeType";
396
+ const _cTl = "clientToken";
397
+ const _ca = "category";
398
+ const _ch = "channel";
399
+ const _co = "context";
400
+ const _cod = "code";
401
+ const _d = "description";
402
+ const _dCP = "destinationCountryParameters";
403
+ const _dI = "destinationIdentity";
404
+ const _dPE = "deletionProtectionEnabled";
405
+ const _e = "error";
406
+ const _eC = "errorCode";
407
+ const _eM = "errorMessage";
408
+ const _fL = "fieldList";
409
+ const _h = "http";
410
+ const _hE = "httpError";
411
+ const _hQ = "httpQuery";
412
+ const _iTB = "inlineTemplateBody";
413
+ const _j = "jobs";
414
+ const _jI = "jobId";
415
+ const _k = "key";
416
+ const _lC = "languageCode";
417
+ const _m = "message";
418
+ const _mA = "maxAttempts";
419
+ const _mCT = "mediaContentType";
420
+ const _mDU = "mediaDownloadUrl";
421
+ const _mI = "messageId";
422
+ const _mR = "maxResults";
423
+ const _mSB = "mediaSizeBytes";
424
+ const _n = "notify";
425
+ const _nCC = "notifyCodeConfiguration";
426
+ const _nCCA = "notifyCodeConfigurationArn";
427
+ const _nCCI = "notifyCodeConfigurationId";
428
+ const _nCCN = "notifyCodeConfigurationName";
429
+ const _nCCo = "notifyCodeConfigurations";
430
+ const _nT = "nextToken";
431
+ const _nTI = "notifyTemplateId";
432
+ const _oAC = "onAttributeConflict";
433
+ const _oCCP = "overrideCodeConfigurationParameters";
434
+ const _oCP = "overrideChannelParameters";
435
+ const _oI = "originationIdentity";
436
+ const _oT = "operationType";
437
+ const _p = "path";
438
+ const _r = "results";
439
+ const _rA = "resourceArn";
440
+ const _rAe = "registrationAssociations";
441
+ const _rI = "resourceId";
442
+ const _rIe = "registrationId";
443
+ const _rIef = "referenceId";
444
+ const _rIeg = "registrationIds";
445
+ const _rIes = "resourceIdentifier";
446
+ const _rT = "resourceType";
447
+ const _rTe = "registrationTypes";
448
+ const _rTeg = "registrationType";
449
+ const _re = "resources";
450
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.endusermessaging";
451
+ const _sM = "smartMatch";
452
+ const _sMU = "smartMatchUsed";
453
+ const _se = "server";
454
+ const _st = "status";
455
+ const _t = "text";
456
+ const _tK = "tagKeys";
457
+ const _ta = "tags";
458
+ const _uA = "updatedAt";
459
+ const _v = "voice";
460
+ const _vI = "voiceId";
461
+ const _vIe = "verificationId";
462
+ const _vMBTT = "voiceMessageBodyTextType";
463
+ const _vPM = "validityPeriodMinutes";
464
+ const _va = "value";
465
+ const _wA = "whatsApp";
466
+ const _wATN = "whatsAppTemplateName";
467
+ const n0 = "com.amazonaws.endusermessaging";
468
+ const _s_registry = new TypeRegistry(_s);
469
+ var EndUserMessagingServiceException$ = [-3, _s, "EndUserMessagingServiceException", 0, [], []];
470
+ _s_registry.registerError(EndUserMessagingServiceException$, EndUserMessagingServiceException);
471
+ const n0_registry = new TypeRegistry(n0);
472
+ var AccessDeniedException$ = [-3, n0, _ADE,
473
+ { [_e]: _c, [_hE]: 403 },
474
+ [_m],
475
+ [0], 1
476
+ ];
477
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
478
+ var ConflictException$ = [-3, n0, _CE,
479
+ { [_e]: _c, [_hE]: 409 },
480
+ [_m, _rI, _rT],
481
+ [0, 0, 0], 1
482
+ ];
483
+ n0_registry.registerError(ConflictException$, ConflictException);
484
+ var InternalServerException$ = [-3, n0, _ISE,
485
+ { [_e]: _se, [_hE]: 500 },
486
+ [_m],
487
+ [0], 1
488
+ ];
489
+ n0_registry.registerError(InternalServerException$, InternalServerException);
490
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
491
+ { [_e]: _c, [_hE]: 404 },
492
+ [_m, _rI, _rT],
493
+ [0, 0, 0], 1
494
+ ];
495
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
496
+ var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
497
+ { [_e]: _c, [_hE]: 400 },
498
+ [_m],
499
+ [0], 1
500
+ ];
501
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
502
+ var ThrottlingException$ = [-3, n0, _TE,
503
+ { [_e]: _c, [_hE]: 429 },
504
+ [_m],
505
+ [0], 1
506
+ ];
507
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
508
+ var ValidationException$ = [-3, n0, _VE,
509
+ { [_e]: _c },
510
+ [_m, _fL],
511
+ [0, () => ValidationExceptionFieldList], 1
512
+ ];
513
+ n0_registry.registerError(ValidationException$, ValidationException);
514
+ const errorTypeRegistries = [
515
+ _s_registry,
516
+ n0_registry,
517
+ ];
518
+ var AttachmentBody = [0, n0, _AB, 8, 21];
519
+ var BrandProfileAttributeDescription = [0, n0, _BPAD, 8, 0];
520
+ var BrandProfileAttributeName = [0, n0, _BPAN, 8, 0];
521
+ var BrandProfileAttributeValue = [0, n0, _BPAV, 8, 0];
522
+ var ClientToken = [0, n0, _CT, 8, 0];
523
+ var ContextKey = [0, n0, _CK, 8, 0];
524
+ var ContextValue = [0, n0, _CV, 8, 0];
525
+ var DestinationCountryParameterValue = [0, n0, _DCPV, 8, 0];
526
+ var DestinationIdentity = [0, n0, _DI, 8, 0];
527
+ var InlineTemplateBody = [0, n0, _ITB, 8, 0];
528
+ var MediaDownloadUrl = [0, n0, _MDU, 8, 0];
529
+ var UpdateInlineTemplateBody = [0, n0, _UITB, 8, 0];
530
+ var VerificationCode = [0, n0, _VC, 8, 0];
531
+ var BrandProfileAttributeInput$ = [3, n0, _BPAI,
532
+ 0,
533
+ [_aN, _aT, _aV, _aB, _d, _ca],
534
+ [[() => BrandProfileAttributeName, 0], 0, [() => BrandProfileAttributeValue, 0], [() => AttachmentBody, 0], [() => BrandProfileAttributeDescription, 0], 0], 2
535
+ ];
536
+ var BrandProfileAttributeOutput$ = [3, n0, _BPAO,
537
+ 0,
538
+ [_aN, _aT, _mDU],
539
+ [[() => BrandProfileAttributeName, 0], 0, [() => MediaDownloadUrl, 0]], 2
540
+ ];
541
+ var BrandProfileAttributeSummary$ = [3, n0, _BPAS,
542
+ 0,
543
+ [_aN, _aT, _cA, _uA, _d, _ca],
544
+ [[() => BrandProfileAttributeName, 0], 0, 4, 4, [() => BrandProfileAttributeDescription, 0], 0], 4
545
+ ];
546
+ var BrandProfileInfo$ = [3, n0, _BPI,
547
+ 0,
548
+ [_bPI, _bPA, _bPN, _st, _dPE, _cA, _uA],
549
+ [0, 0, 0, 0, 2, 4, 4], 7
550
+ ];
551
+ var ChannelParameters$ = [3, n0, _CP,
552
+ 0,
553
+ [_t, _v, _n, _wA],
554
+ [[() => TextParameters$, 0], [() => VoiceParameters$, 0], () => NotifyParameters$, () => WhatsAppParameters$]
555
+ ];
556
+ var CodeConfigurationParameters$ = [3, n0, _CCP,
557
+ 0,
558
+ [_cT, _cL, _vPM, _mA],
559
+ [0, 1, 1, 1]
560
+ ];
561
+ var CreateBrandProfileAttributesInput$ = [3, n0, _CBPAI,
562
+ 0,
563
+ [_bPI, _a, _cTl],
564
+ [[0, 1], [() => BrandProfileAttributeInputList, 0], [() => ClientToken, 4]], 2
565
+ ];
566
+ var CreateBrandProfileAttributesOutput$ = [3, n0, _CBPAO,
567
+ 0,
568
+ [_a],
569
+ [[() => BrandProfileAttributeOutputList, 0]], 1
570
+ ];
571
+ var CreateBrandProfileFromRegistrationInput$ = [3, n0, _CBPFRI,
572
+ 0,
573
+ [_rIe, _bPN, _sM, _ta, _cTl],
574
+ [0, 0, 2, () => TagList, [() => ClientToken, 4]], 2
575
+ ];
576
+ var CreateBrandProfileFromRegistrationOutput$ = [3, n0, _CBPFRO,
577
+ 0,
578
+ [_r],
579
+ [() => JobResults], 1
580
+ ];
581
+ var CreateBrandProfileInput$ = [3, n0, _CBPI,
582
+ 0,
583
+ [_bPN, _cTl, _dPE, _ta],
584
+ [0, [() => ClientToken, 4], 2, () => TagList], 1
585
+ ];
586
+ var CreateBrandProfileOutput$ = [3, n0, _CBPO,
587
+ 0,
588
+ [_bPI, _bPA, _bPN, _st, _dPE, _cA, _uA, _aC],
589
+ [0, 0, 0, 0, 2, 4, 4, 1], 8
590
+ ];
591
+ var CreateNotifyCodeConfigurationInput$ = [3, n0, _CNCCI,
592
+ 0,
593
+ [_nCCN, _cCP, _cP, _dPE, _cTl, _ta],
594
+ [0, () => CodeConfigurationParameters$, [() => ChannelParameters$, 0], 2, [() => ClientToken, 4], () => TagList], 1
595
+ ];
596
+ var CreateNotifyCodeConfigurationOutput$ = [3, n0, _CNCCO,
597
+ 0,
598
+ [_nCC],
599
+ [[() => NotifyCodeConfiguration$, 0]], 1
600
+ ];
601
+ var CreateRegistrationsFromBrandProfileInput$ = [3, n0, _CRFBPI,
602
+ 0,
603
+ [_bPI, _rTe, _sM, _cTl],
604
+ [[0, 1], 64 | 0, 2, [() => ClientToken, 4]], 2
605
+ ];
606
+ var CreateRegistrationsFromBrandProfileOutput$ = [3, n0, _CRFBPO,
607
+ 0,
608
+ [_r],
609
+ [() => JobResults], 1
610
+ ];
611
+ var DeleteBrandProfileAttributeInput$ = [3, n0, _DBPAI,
612
+ 0,
613
+ [_bPI, _aN],
614
+ [[0, 1], [() => BrandProfileAttributeName, 1]], 2
615
+ ];
616
+ var DeleteBrandProfileAttributeOutput$ = [3, n0, _DBPAO,
617
+ 0,
618
+ [_bPI, _aN],
619
+ [0, [() => BrandProfileAttributeName, 0]], 2
620
+ ];
621
+ var DeleteBrandProfileInput$ = [3, n0, _DBPI,
622
+ 0,
623
+ [_bPI],
624
+ [[0, 1]], 1
625
+ ];
626
+ var DeleteBrandProfileOutput$ = [3, n0, _DBPO,
627
+ 0,
628
+ [_bPI, _bPA],
629
+ [0, 0], 2
630
+ ];
631
+ var DeleteNotifyCodeConfigurationInput$ = [3, n0, _DNCCI,
632
+ 0,
633
+ [_nCCI],
634
+ [[0, 1]], 1
635
+ ];
636
+ var DeleteNotifyCodeConfigurationOutput$ = [3, n0, _DNCCO,
637
+ 0,
638
+ [],
639
+ []
640
+ ];
641
+ var GetBrandProfileAttributeInput$ = [3, n0, _GBPAI,
642
+ 0,
643
+ [_bPI, _aN],
644
+ [[0, 1], [() => BrandProfileAttributeName, 1]], 2
645
+ ];
646
+ var GetBrandProfileAttributeOutput$ = [3, n0, _GBPAO,
647
+ 0,
648
+ [_aN, _aT, _cA, _uA, _aV, _d, _ca, _mCT, _mSB, _mDU],
649
+ [[() => BrandProfileAttributeName, 0], 0, 4, 4, [() => BrandProfileAttributeValue, 0], [() => BrandProfileAttributeDescription, 0], 0, 0, 1, [() => MediaDownloadUrl, 0]], 4
650
+ ];
651
+ var GetBrandProfileInput$ = [3, n0, _GBPI,
652
+ 0,
653
+ [_bPI],
654
+ [[0, 1]], 1
655
+ ];
656
+ var GetBrandProfileOutput$ = [3, n0, _GBPO,
657
+ 0,
658
+ [_bPI, _bPA, _bPN, _st, _dPE, _cA, _uA],
659
+ [0, 0, 0, 0, 2, 4, 4], 7
660
+ ];
661
+ var GetJobInput$ = [3, n0, _GJI,
662
+ 0,
663
+ [_jI],
664
+ [[0, 1]], 1
665
+ ];
666
+ var GetNotifyCodeConfigurationInput$ = [3, n0, _GNCCI,
667
+ 0,
668
+ [_nCCI],
669
+ [[0, 1]], 1
670
+ ];
671
+ var GetNotifyCodeConfigurationOutput$ = [3, n0, _GNCCO,
672
+ 0,
673
+ [_nCC],
674
+ [[() => NotifyCodeConfiguration$, 0]], 1
675
+ ];
676
+ var Job$ = [3, n0, _J,
677
+ 0,
678
+ [_jI, _st, _oT, _cA, _uA, _bPI, _eC, _eM, _re],
679
+ [0, 0, 0, 4, 4, 0, 0, 0, () => JobResourceList], 5
680
+ ];
681
+ var JobResource$ = [3, n0, _JR,
682
+ 0,
683
+ [_rT, _rI, _rA],
684
+ [0, 0, 0], 3
685
+ ];
686
+ var JobResult$ = [3, n0, _JRo,
687
+ 0,
688
+ [_jI, _rIes],
689
+ [0, 0], 2
690
+ ];
691
+ var JobSummary$ = [3, n0, _JS,
692
+ 0,
693
+ [_jI, _st, _oT, _cA, _uA, _bPI, _eC, _eM, _re],
694
+ [0, 0, 0, 4, 4, 0, 0, 0, () => JobResourceList], 5
695
+ ];
696
+ var ListBrandProfileAttributesInput$ = [3, n0, _LBPAI,
697
+ 0,
698
+ [_bPI, _nT, _mR],
699
+ [[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 1
700
+ ];
701
+ var ListBrandProfileAttributesOutput$ = [3, n0, _LBPAO,
702
+ 0,
703
+ [_bPAr, _nT],
704
+ [[() => BrandProfileAttributeSummaryList, 0], 0], 1
705
+ ];
706
+ var ListBrandProfilesInput$ = [3, n0, _LBPI,
707
+ 0,
708
+ [_nT, _mR],
709
+ [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
710
+ ];
711
+ var ListBrandProfilesOutput$ = [3, n0, _LBPO,
712
+ 0,
713
+ [_bP, _nT],
714
+ [() => BrandProfileInfoList, 0], 1
715
+ ];
716
+ var ListJobsInput$ = [3, n0, _LJI,
717
+ 0,
718
+ [_mR, _nT, _st, _bPI, _oT],
719
+ [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], [0, { [_hQ]: _st }], [0, { [_hQ]: _bPI }], [0, { [_hQ]: _oT }]]
720
+ ];
721
+ var ListJobsOutput$ = [3, n0, _LJO,
722
+ 0,
723
+ [_j, _nT],
724
+ [() => JobSummaryList, 0], 1
725
+ ];
726
+ var ListNotifyCodeConfigurationsInput$ = [3, n0, _LNCCI,
727
+ 0,
728
+ [_mR, _nT],
729
+ [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
730
+ ];
731
+ var ListNotifyCodeConfigurationsOutput$ = [3, n0, _LNCCO,
732
+ 0,
733
+ [_nCCo, _nT],
734
+ [[() => NotifyCodeConfigurationList, 0], 0], 1
735
+ ];
736
+ var ListRegistrationsFromBrandProfileInput$ = [3, n0, _LRFBPI,
737
+ 0,
738
+ [_bPI, _mR, _nT],
739
+ [[0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1
740
+ ];
741
+ var ListRegistrationsFromBrandProfileOutput$ = [3, n0, _LRFBPO,
742
+ 0,
743
+ [_rAe, _nT],
744
+ [() => RegistrationAssociationSummaryList, 0], 1
745
+ ];
746
+ var ListTagsForResourceInput$ = [3, n0, _LTFRI,
747
+ 0,
748
+ [_rA],
749
+ [[0, 1]], 1
750
+ ];
751
+ var ListTagsForResourceOutput$ = [3, n0, _LTFRO,
752
+ 0,
753
+ [_ta],
754
+ [() => TagList]
755
+ ];
756
+ var NotifyCodeConfiguration$ = [3, n0, _NCC,
757
+ 0,
758
+ [_nCCI, _nCCA, _nCCN, _dPE, _cA, _uA, _cCP, _cP],
759
+ [0, 0, 0, 2, 4, 4, () => CodeConfigurationParameters$, [() => ChannelParameters$, 0]], 6
760
+ ];
761
+ var NotifyParameters$ = [3, n0, _NP,
762
+ 0,
763
+ [_nTI, _vI],
764
+ [0, 0]
765
+ ];
766
+ var RegistrationAssociationSummary$ = [3, n0, _RAS,
767
+ 0,
768
+ [_rIe, _rTeg, _cA, _sMU],
769
+ [0, 0, 4, 2], 4
770
+ ];
771
+ var SendNotifyCodeVerificationInput$ = [3, n0, _SNCVI,
772
+ 0,
773
+ [_ch, _dI, _oI, _nCC, _oCP, _oCCP, _cSN, _co, _rIef],
774
+ [0, [() => DestinationIdentity, 0], 0, 0, [() => ChannelParameters$, 0], () => CodeConfigurationParameters$, 0, [() => ContextMap, 0], 0], 3
775
+ ];
776
+ var SendNotifyCodeVerificationOutput$ = [3, n0, _SNCVO,
777
+ 0,
778
+ [_vIe, _mI],
779
+ [0, 0], 2
780
+ ];
781
+ var Tag$ = [3, n0, _T,
782
+ 0,
783
+ [_k, _va],
784
+ [0, 0], 2
785
+ ];
786
+ var TagResourceInput$ = [3, n0, _TRI,
787
+ 0,
788
+ [_rA, _ta],
789
+ [[0, 1], () => TagList], 2
790
+ ];
791
+ var TagResourceOutput$ = [3, n0, _TRO,
792
+ 0,
793
+ [],
794
+ []
795
+ ];
796
+ var TextParameters$ = [3, n0, _TP,
797
+ 0,
798
+ [_iTB, _dCP],
799
+ [[() => InlineTemplateBody, 0], [() => DestinationCountryParameters, 0]]
800
+ ];
801
+ var UntagResourceInput$ = [3, n0, _URI,
802
+ 0,
803
+ [_rA, _tK],
804
+ [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
805
+ ];
806
+ var UntagResourceOutput$ = [3, n0, _URO,
807
+ 0,
808
+ [],
809
+ []
810
+ ];
811
+ var UpdateBrandProfileAttributeInput$ = [3, n0, _UBPAI,
812
+ 0,
813
+ [_bPI, _aN, _aV, _aB, _d, _ca],
814
+ [[0, 1], [() => BrandProfileAttributeName, 1], [() => BrandProfileAttributeValue, 0], 21, [() => BrandProfileAttributeDescription, 0], 0], 2
815
+ ];
816
+ var UpdateBrandProfileAttributeOutput$ = [3, n0, _UBPAO,
817
+ 0,
818
+ [_aN, _aT, _cA, _uA, _aV, _d, _ca, _mCT, _mSB],
819
+ [[() => BrandProfileAttributeName, 0], 0, 4, 4, [() => BrandProfileAttributeValue, 0], [() => BrandProfileAttributeDescription, 0], 0, 0, 1], 4
820
+ ];
821
+ var UpdateBrandProfileFromRegistrationInput$ = [3, n0, _UBPFRI,
822
+ 0,
823
+ [_bPI, _rIe, _sM, _oAC, _cTl],
824
+ [[0, 1], 0, 2, 0, [() => ClientToken, 4]], 2
825
+ ];
826
+ var UpdateBrandProfileFromRegistrationOutput$ = [3, n0, _UBPFRO,
827
+ 0,
828
+ [_r],
829
+ [() => JobResults], 1
830
+ ];
831
+ var UpdateBrandProfileInput$ = [3, n0, _UBPI,
832
+ 0,
833
+ [_bPI, _bPN, _dPE],
834
+ [[0, 1], 0, 2], 1
835
+ ];
836
+ var UpdateBrandProfileOutput$ = [3, n0, _UBPO,
837
+ 0,
838
+ [_bPI, _bPA, _bPN, _st, _dPE, _cA, _uA],
839
+ [0, 0, 0, 0, 2, 4, 4], 7
840
+ ];
841
+ var UpdateChannelParameters$ = [3, n0, _UCP,
842
+ 0,
843
+ [_t, _v, _n, _wA],
844
+ [[() => UpdateTextParameters$, 0], [() => UpdateVoiceParameters$, 0], () => UpdateNotifyParameters$, () => UpdateWhatsAppParameters$]
845
+ ];
846
+ var UpdateCodeConfigurationParameters$ = [3, n0, _UCCP,
847
+ 0,
848
+ [_cT, _cL, _vPM, _mA],
849
+ [0, 1, 1, 1]
850
+ ];
851
+ var UpdateNotifyCodeConfigurationInput$ = [3, n0, _UNCCI,
852
+ 0,
853
+ [_nCCI, _nCCN, _cCP, _cP, _dPE],
854
+ [[0, 1], 0, () => UpdateCodeConfigurationParameters$, [() => UpdateChannelParameters$, 0], 2], 1
855
+ ];
856
+ var UpdateNotifyCodeConfigurationOutput$ = [3, n0, _UNCCO,
857
+ 0,
858
+ [_nCC],
859
+ [[() => NotifyCodeConfiguration$, 0]], 1
860
+ ];
861
+ var UpdateNotifyParameters$ = [3, n0, _UNP,
862
+ 0,
863
+ [_nTI, _vI],
864
+ [0, 0]
865
+ ];
866
+ var UpdateRegistrationsFromBrandProfileInput$ = [3, n0, _URFBPI,
867
+ 0,
868
+ [_bPI, _rIeg, _sM, _oAC, _cTl],
869
+ [[0, 1], 64 | 0, 2, 0, [() => ClientToken, 4]], 2
870
+ ];
871
+ var UpdateRegistrationsFromBrandProfileOutput$ = [3, n0, _URFBPO,
872
+ 0,
873
+ [_r],
874
+ [() => JobResults], 1
875
+ ];
876
+ var UpdateTextParameters$ = [3, n0, _UTP,
877
+ 0,
878
+ [_iTB, _dCP],
879
+ [[() => UpdateInlineTemplateBody, 0], [() => UpdateDestinationCountryParameters, 0]]
880
+ ];
881
+ var UpdateVoiceParameters$ = [3, n0, _UVP,
882
+ 0,
883
+ [_iTB, _lC, _vI, _vMBTT],
884
+ [[() => UpdateInlineTemplateBody, 0], 0, 0, 0]
885
+ ];
886
+ var UpdateWhatsAppParameters$ = [3, n0, _UWAP,
887
+ 0,
888
+ [_wATN, _lC],
889
+ [0, 0]
890
+ ];
891
+ var ValidateNotifyCodeVerificationInput$ = [3, n0, _VNCVI,
892
+ 0,
893
+ [_dI, _cod, _rIef],
894
+ [[() => DestinationIdentity, 0], [() => VerificationCode, 0], 0], 2
895
+ ];
896
+ var ValidateNotifyCodeVerificationOutput$ = [3, n0, _VNCVO,
897
+ 0,
898
+ [_st],
899
+ [0], 1
900
+ ];
901
+ var ValidationExceptionField$ = [3, n0, _VEF,
902
+ 0,
903
+ [_p, _m],
904
+ [0, 0], 2
905
+ ];
906
+ var VoiceParameters$ = [3, n0, _VP,
907
+ 0,
908
+ [_iTB, _lC, _vI, _vMBTT],
909
+ [[() => InlineTemplateBody, 0], 0, 0, 0]
910
+ ];
911
+ var WhatsAppParameters$ = [3, n0, _WAP,
912
+ 0,
913
+ [_wATN, _lC],
914
+ [0, 0]
915
+ ];
916
+ var BrandProfileAttributeInputList = [1, n0, _BPAIL,
917
+ 0, [() => BrandProfileAttributeInput$,
918
+ 0]
919
+ ];
920
+ var BrandProfileAttributeOutputList = [1, n0, _BPAOL,
921
+ 0, [() => BrandProfileAttributeOutput$,
922
+ 0]
923
+ ];
924
+ var BrandProfileAttributeSummaryList = [1, n0, _BPASL,
925
+ 0, [() => BrandProfileAttributeSummary$,
926
+ 0]
927
+ ];
928
+ var BrandProfileInfoList = [1, n0, _BPIL,
929
+ 0, () => BrandProfileInfo$
930
+ ];
931
+ var JobResourceList = [1, n0, _JRL,
932
+ 0, () => JobResource$
933
+ ];
934
+ var JobResults = [1, n0, _JRob,
935
+ 0, () => JobResult$
936
+ ];
937
+ var JobSummaryList = [1, n0, _JSL,
938
+ 0, () => JobSummary$
939
+ ];
940
+ var NotifyCodeConfigurationList = [1, n0, _NCCL,
941
+ 0, [() => NotifyCodeConfiguration$,
942
+ 0]
943
+ ];
944
+ var RegistrationAssociationSummaryList = [1, n0, _RASL,
945
+ 0, () => RegistrationAssociationSummary$
946
+ ];
947
+ var TagList = [1, n0, _TL,
948
+ 0, () => Tag$
949
+ ];
950
+ var ValidationExceptionFieldList = [1, n0, _VEFL,
951
+ 0, () => ValidationExceptionField$
952
+ ];
953
+ var ContextMap = [2, n0, _CM,
954
+ 0, [() => ContextKey,
955
+ 0],
956
+ [() => ContextValue,
957
+ 0]
958
+ ];
959
+ var DestinationCountryParameters = [2, n0, _DCP,
960
+ 0, [0,
961
+ 0],
962
+ [() => DestinationCountryParameterValue,
963
+ 0]
964
+ ];
965
+ var UpdateDestinationCountryParameters = [2, n0, _UDCP,
966
+ 0, [0,
967
+ 0],
968
+ [() => DestinationCountryParameterValue,
969
+ 0]
970
+ ];
971
+ var CreateBrandProfile$ = [9, n0, _CBP,
972
+ { [_h]: ["POST", "/v1/brand-profiles", 200] }, () => CreateBrandProfileInput$, () => CreateBrandProfileOutput$
973
+ ];
974
+ var CreateBrandProfileAttributes$ = [9, n0, _CBPA,
975
+ { [_h]: ["POST", "/v1/brand-profiles/{brandProfileId}/attributes", 200] }, () => CreateBrandProfileAttributesInput$, () => CreateBrandProfileAttributesOutput$
976
+ ];
977
+ var CreateBrandProfileFromRegistration$ = [9, n0, _CBPFR,
978
+ { [_h]: ["POST", "/v1/brand-profiles/create-from-registration", 200] }, () => CreateBrandProfileFromRegistrationInput$, () => CreateBrandProfileFromRegistrationOutput$
979
+ ];
980
+ var CreateNotifyCodeConfiguration$ = [9, n0, _CNCC,
981
+ { [_h]: ["POST", "/v1/notify-code-configurations", 200] }, () => CreateNotifyCodeConfigurationInput$, () => CreateNotifyCodeConfigurationOutput$
982
+ ];
983
+ var CreateRegistrationsFromBrandProfile$ = [9, n0, _CRFBP,
984
+ { [_h]: ["POST", "/v1/brand-profiles/{brandProfileId}/create-registrations", 200] }, () => CreateRegistrationsFromBrandProfileInput$, () => CreateRegistrationsFromBrandProfileOutput$
985
+ ];
986
+ var DeleteBrandProfile$ = [9, n0, _DBP,
987
+ { [_h]: ["DELETE", "/v1/brand-profiles/{brandProfileId+}", 200] }, () => DeleteBrandProfileInput$, () => DeleteBrandProfileOutput$
988
+ ];
989
+ var DeleteBrandProfileAttribute$ = [9, n0, _DBPA,
990
+ { [_h]: ["DELETE", "/v1/brand-profiles/{brandProfileId}/attributes/{attributeName}", 200] }, () => DeleteBrandProfileAttributeInput$, () => DeleteBrandProfileAttributeOutput$
991
+ ];
992
+ var DeleteNotifyCodeConfiguration$ = [9, n0, _DNCC,
993
+ { [_h]: ["DELETE", "/v1/notify-code-configurations/{notifyCodeConfigurationId+}", 200] }, () => DeleteNotifyCodeConfigurationInput$, () => DeleteNotifyCodeConfigurationOutput$
994
+ ];
995
+ var GetBrandProfile$ = [9, n0, _GBP,
996
+ { [_h]: ["GET", "/v1/brand-profiles/{brandProfileId+}", 200] }, () => GetBrandProfileInput$, () => GetBrandProfileOutput$
997
+ ];
998
+ var GetBrandProfileAttribute$ = [9, n0, _GBPA,
999
+ { [_h]: ["GET", "/v1/brand-profiles/{brandProfileId}/attributes/{attributeName}", 200] }, () => GetBrandProfileAttributeInput$, () => GetBrandProfileAttributeOutput$
1000
+ ];
1001
+ var GetJob$ = [9, n0, _GJ,
1002
+ { [_h]: ["GET", "/v1/jobs/{jobId}", 200] }, () => GetJobInput$, () => Job$
1003
+ ];
1004
+ var GetNotifyCodeConfiguration$ = [9, n0, _GNCC,
1005
+ { [_h]: ["GET", "/v1/notify-code-configurations/{notifyCodeConfigurationId+}", 200] }, () => GetNotifyCodeConfigurationInput$, () => GetNotifyCodeConfigurationOutput$
1006
+ ];
1007
+ var ListBrandProfileAttributes$ = [9, n0, _LBPA,
1008
+ { [_h]: ["GET", "/v1/brand-profiles/{brandProfileId}/attributes", 200] }, () => ListBrandProfileAttributesInput$, () => ListBrandProfileAttributesOutput$
1009
+ ];
1010
+ var ListBrandProfiles$ = [9, n0, _LBP,
1011
+ { [_h]: ["GET", "/v1/brand-profiles", 200] }, () => ListBrandProfilesInput$, () => ListBrandProfilesOutput$
1012
+ ];
1013
+ var ListJobs$ = [9, n0, _LJ,
1014
+ { [_h]: ["GET", "/v1/jobs", 200] }, () => ListJobsInput$, () => ListJobsOutput$
1015
+ ];
1016
+ var ListNotifyCodeConfigurations$ = [9, n0, _LNCC,
1017
+ { [_h]: ["GET", "/v1/notify-code-configurations", 200] }, () => ListNotifyCodeConfigurationsInput$, () => ListNotifyCodeConfigurationsOutput$
1018
+ ];
1019
+ var ListRegistrationsFromBrandProfile$ = [9, n0, _LRFBP,
1020
+ { [_h]: ["GET", "/v1/brand-profiles/{brandProfileId}/registrations", 200] }, () => ListRegistrationsFromBrandProfileInput$, () => ListRegistrationsFromBrandProfileOutput$
1021
+ ];
1022
+ var ListTagsForResource$ = [9, n0, _LTFR,
1023
+ { [_h]: ["GET", "/v1/tags/{resourceArn}", 200] }, () => ListTagsForResourceInput$, () => ListTagsForResourceOutput$
1024
+ ];
1025
+ var SendNotifyCodeVerification$ = [9, n0, _SNCV,
1026
+ { [_h]: ["POST", "/v1/notify-code-verifications/send", 200] }, () => SendNotifyCodeVerificationInput$, () => SendNotifyCodeVerificationOutput$
1027
+ ];
1028
+ var TagResource$ = [9, n0, _TR,
1029
+ { [_h]: ["POST", "/v1/tags/{resourceArn}", 200] }, () => TagResourceInput$, () => TagResourceOutput$
1030
+ ];
1031
+ var UntagResource$ = [9, n0, _UR,
1032
+ { [_h]: ["DELETE", "/v1/tags/{resourceArn}", 200] }, () => UntagResourceInput$, () => UntagResourceOutput$
1033
+ ];
1034
+ var UpdateBrandProfile$ = [9, n0, _UBP,
1035
+ { [_h]: ["PUT", "/v1/brand-profiles/{brandProfileId+}", 200] }, () => UpdateBrandProfileInput$, () => UpdateBrandProfileOutput$
1036
+ ];
1037
+ var UpdateBrandProfileAttribute$ = [9, n0, _UBPA,
1038
+ { [_h]: ["PUT", "/v1/brand-profiles/{brandProfileId}/attributes/{attributeName}", 200] }, () => UpdateBrandProfileAttributeInput$, () => UpdateBrandProfileAttributeOutput$
1039
+ ];
1040
+ var UpdateBrandProfileFromRegistration$ = [9, n0, _UBPFR,
1041
+ { [_h]: ["POST", "/v1/brand-profiles/{brandProfileId}/update-from-registration", 200] }, () => UpdateBrandProfileFromRegistrationInput$, () => UpdateBrandProfileFromRegistrationOutput$
1042
+ ];
1043
+ var UpdateNotifyCodeConfiguration$ = [9, n0, _UNCC,
1044
+ { [_h]: ["PUT", "/v1/notify-code-configurations/{notifyCodeConfigurationId+}", 200] }, () => UpdateNotifyCodeConfigurationInput$, () => UpdateNotifyCodeConfigurationOutput$
1045
+ ];
1046
+ var UpdateRegistrationsFromBrandProfile$ = [9, n0, _URFBP,
1047
+ { [_h]: ["POST", "/v1/brand-profiles/{brandProfileId}/update-registrations", 200] }, () => UpdateRegistrationsFromBrandProfileInput$, () => UpdateRegistrationsFromBrandProfileOutput$
1048
+ ];
1049
+ var ValidateNotifyCodeVerification$ = [9, n0, _VNCV,
1050
+ { [_h]: ["POST", "/v1/notify-code-verifications/validate", 200] }, () => ValidateNotifyCodeVerificationInput$, () => ValidateNotifyCodeVerificationOutput$
1051
+ ];
1052
+
1053
+ const getRuntimeConfig$1 = (config) => {
1054
+ return {
1055
+ apiVersion: "2026-09-21",
1056
+ base64Decoder: config?.base64Decoder ?? fromBase64,
1057
+ base64Encoder: config?.base64Encoder ?? toBase64,
1058
+ disableHostPrefix: config?.disableHostPrefix ?? false,
1059
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
1060
+ extensions: config?.extensions ?? [],
1061
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultEndUserMessagingHttpAuthSchemeProvider,
1062
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
1063
+ {
1064
+ schemeId: "aws.auth#sigv4",
1065
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
1066
+ signer: new AwsSdkSigV4Signer(),
1067
+ },
1068
+ ],
1069
+ logger: config?.logger ?? new NoOpLogger(),
1070
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
1071
+ protocolSettings: config?.protocolSettings ?? {
1072
+ defaultNamespace: "com.amazonaws.endusermessaging",
1073
+ errorTypeRegistries,
1074
+ version: "2026-09-21",
1075
+ serviceTarget: "EndUserMessaging",
1076
+ },
1077
+ serviceId: config?.serviceId ?? "EndUserMessaging",
1078
+ sha256: config?.sha256 ?? Sha256,
1079
+ urlParser: config?.urlParser ?? parseUrl,
1080
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1081
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
1082
+ };
1083
+ };
1084
+
1085
+ const getRuntimeConfig = (config) => {
1086
+ emitWarningIfUnsupportedVersion(process.version);
1087
+ const defaultsMode = resolveDefaultsModeConfig(config);
1088
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
1089
+ const clientSharedValues = getRuntimeConfig$1(config);
1090
+ emitWarningIfUnsupportedVersion$1(process.version);
1091
+ const loaderConfig = {
1092
+ profile: config?.profile,
1093
+ logger: clientSharedValues.logger,
1094
+ };
1095
+ return {
1096
+ ...clientSharedValues,
1097
+ ...config,
1098
+ runtime: "node",
1099
+ defaultsMode,
1100
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
1101
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
1102
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
1103
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
1104
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
1105
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
1106
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
1107
+ retryMode: config?.retryMode ??
1108
+ loadConfig({
1109
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1110
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1111
+ }, config),
1112
+ streamCollector: config?.streamCollector ?? streamCollector,
1113
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1114
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1115
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
1116
+ };
1117
+ };
1118
+
1119
+ const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
1120
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
1121
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
1122
+ let _credentials = runtimeConfig.credentials;
1123
+ return {
1124
+ setHttpAuthScheme(httpAuthScheme) {
1125
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
1126
+ if (index === -1) {
1127
+ _httpAuthSchemes.push(httpAuthScheme);
1128
+ }
1129
+ else {
1130
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
1131
+ }
1132
+ },
1133
+ httpAuthSchemes() {
1134
+ return _httpAuthSchemes;
1135
+ },
1136
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
1137
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
1138
+ },
1139
+ httpAuthSchemeProvider() {
1140
+ return _httpAuthSchemeProvider;
1141
+ },
1142
+ setCredentials(credentials) {
1143
+ _credentials = credentials;
1144
+ },
1145
+ credentials() {
1146
+ return _credentials;
1147
+ },
1148
+ };
1149
+ };
1150
+ const resolveHttpAuthRuntimeConfig = (config) => {
1151
+ return {
1152
+ httpAuthSchemes: config.httpAuthSchemes(),
1153
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
1154
+ credentials: config.credentials(),
1155
+ };
1156
+ };
1157
+
1158
+ const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
1159
+ const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
1160
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
1161
+ return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
1162
+ };
1163
+
1164
+ class EndUserMessagingClient extends Client {
1165
+ config;
1166
+ constructor(...[configuration]) {
1167
+ const _config_0 = getRuntimeConfig(configuration || {});
1168
+ super(_config_0);
1169
+ this.initConfig = _config_0;
1170
+ const _config_1 = resolveClientEndpointParameters(_config_0);
1171
+ const _config_2 = resolveUserAgentConfig(_config_1);
1172
+ const _config_3 = resolveRetryConfig(_config_2);
1173
+ const _config_4 = resolveRegionConfig(_config_3);
1174
+ const _config_5 = resolveHostHeaderConfig(_config_4);
1175
+ const _config_6 = resolveEndpointConfig(_config_5);
1176
+ const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
1177
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
1178
+ this.config = _config_8;
1179
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
1180
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
1181
+ this.middlewareStack.use(getRetryPlugin(this.config));
1182
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
1183
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
1184
+ this.middlewareStack.use(getLoggerPlugin(this.config));
1185
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
1186
+ this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
1187
+ httpAuthSchemeParametersProvider: defaultEndUserMessagingHttpAuthSchemeParametersProvider,
1188
+ identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
1189
+ "aws.auth#sigv4": config.credentials,
1190
+ }),
1191
+ }));
1192
+ this.middlewareStack.use(getHttpSigningPlugin(this.config));
1193
+ }
1194
+ destroy() {
1195
+ super.destroy();
1196
+ }
1197
+ }
1198
+
1199
+ const command = makeBuilder(commonParams, "EndUserMessaging", "EndUserMessagingClient", getEndpointPlugin);
1200
+ const _ep0 = {};
1201
+ const _mw0 = (Command, cs, config, o) => [];
1202
+
1203
+ class CreateBrandProfileAttributesCommand extends command(_ep0, _mw0, "CreateBrandProfileAttributes", CreateBrandProfileAttributes$) {
1204
+ }
1205
+
1206
+ class CreateBrandProfileCommand extends command(_ep0, _mw0, "CreateBrandProfile", CreateBrandProfile$) {
1207
+ }
1208
+
1209
+ class CreateBrandProfileFromRegistrationCommand extends command(_ep0, _mw0, "CreateBrandProfileFromRegistration", CreateBrandProfileFromRegistration$) {
1210
+ }
1211
+
1212
+ class CreateNotifyCodeConfigurationCommand extends command(_ep0, _mw0, "CreateNotifyCodeConfiguration", CreateNotifyCodeConfiguration$) {
1213
+ }
1214
+
1215
+ class CreateRegistrationsFromBrandProfileCommand extends command(_ep0, _mw0, "CreateRegistrationsFromBrandProfile", CreateRegistrationsFromBrandProfile$) {
1216
+ }
1217
+
1218
+ class DeleteBrandProfileAttributeCommand extends command(_ep0, _mw0, "DeleteBrandProfileAttribute", DeleteBrandProfileAttribute$) {
1219
+ }
1220
+
1221
+ class DeleteBrandProfileCommand extends command(_ep0, _mw0, "DeleteBrandProfile", DeleteBrandProfile$) {
1222
+ }
1223
+
1224
+ class DeleteNotifyCodeConfigurationCommand extends command(_ep0, _mw0, "DeleteNotifyCodeConfiguration", DeleteNotifyCodeConfiguration$) {
1225
+ }
1226
+
1227
+ class GetBrandProfileAttributeCommand extends command(_ep0, _mw0, "GetBrandProfileAttribute", GetBrandProfileAttribute$) {
1228
+ }
1229
+
1230
+ class GetBrandProfileCommand extends command(_ep0, _mw0, "GetBrandProfile", GetBrandProfile$) {
1231
+ }
1232
+
1233
+ class GetJobCommand extends command(_ep0, _mw0, "GetJob", GetJob$) {
1234
+ }
1235
+
1236
+ class GetNotifyCodeConfigurationCommand extends command(_ep0, _mw0, "GetNotifyCodeConfiguration", GetNotifyCodeConfiguration$) {
1237
+ }
1238
+
1239
+ class ListBrandProfileAttributesCommand extends command(_ep0, _mw0, "ListBrandProfileAttributes", ListBrandProfileAttributes$) {
1240
+ }
1241
+
1242
+ class ListBrandProfilesCommand extends command(_ep0, _mw0, "ListBrandProfiles", ListBrandProfiles$) {
1243
+ }
1244
+
1245
+ class ListJobsCommand extends command(_ep0, _mw0, "ListJobs", ListJobs$) {
1246
+ }
1247
+
1248
+ class ListNotifyCodeConfigurationsCommand extends command(_ep0, _mw0, "ListNotifyCodeConfigurations", ListNotifyCodeConfigurations$) {
1249
+ }
1250
+
1251
+ class ListRegistrationsFromBrandProfileCommand extends command(_ep0, _mw0, "ListRegistrationsFromBrandProfile", ListRegistrationsFromBrandProfile$) {
1252
+ }
1253
+
1254
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1255
+ }
1256
+
1257
+ class SendNotifyCodeVerificationCommand extends command(_ep0, _mw0, "SendNotifyCodeVerification", SendNotifyCodeVerification$) {
1258
+ }
1259
+
1260
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1261
+ }
1262
+
1263
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1264
+ }
1265
+
1266
+ class UpdateBrandProfileAttributeCommand extends command(_ep0, _mw0, "UpdateBrandProfileAttribute", UpdateBrandProfileAttribute$) {
1267
+ }
1268
+
1269
+ class UpdateBrandProfileCommand extends command(_ep0, _mw0, "UpdateBrandProfile", UpdateBrandProfile$) {
1270
+ }
1271
+
1272
+ class UpdateBrandProfileFromRegistrationCommand extends command(_ep0, _mw0, "UpdateBrandProfileFromRegistration", UpdateBrandProfileFromRegistration$) {
1273
+ }
1274
+
1275
+ class UpdateNotifyCodeConfigurationCommand extends command(_ep0, _mw0, "UpdateNotifyCodeConfiguration", UpdateNotifyCodeConfiguration$) {
1276
+ }
1277
+
1278
+ class UpdateRegistrationsFromBrandProfileCommand extends command(_ep0, _mw0, "UpdateRegistrationsFromBrandProfile", UpdateRegistrationsFromBrandProfile$) {
1279
+ }
1280
+
1281
+ class ValidateNotifyCodeVerificationCommand extends command(_ep0, _mw0, "ValidateNotifyCodeVerification", ValidateNotifyCodeVerification$) {
1282
+ }
1283
+
1284
+ const paginateListBrandProfileAttributes = createPaginator(EndUserMessagingClient, ListBrandProfileAttributesCommand, "nextToken", "nextToken", "maxResults");
1285
+
1286
+ const paginateListBrandProfiles = createPaginator(EndUserMessagingClient, ListBrandProfilesCommand, "nextToken", "nextToken", "maxResults");
1287
+
1288
+ const paginateListJobs = createPaginator(EndUserMessagingClient, ListJobsCommand, "nextToken", "nextToken", "maxResults");
1289
+
1290
+ const paginateListNotifyCodeConfigurations = createPaginator(EndUserMessagingClient, ListNotifyCodeConfigurationsCommand, "nextToken", "nextToken", "maxResults");
1291
+
1292
+ const paginateListRegistrationsFromBrandProfile = createPaginator(EndUserMessagingClient, ListRegistrationsFromBrandProfileCommand, "nextToken", "nextToken", "maxResults");
1293
+
1294
+ const checkState$1 = async (client, input) => {
1295
+ let reason;
1296
+ try {
1297
+ let result = await client.send(new GetBrandProfileCommand(input));
1298
+ reason = result;
1299
+ try {
1300
+ const returnComparator = () => {
1301
+ return result.status;
1302
+ };
1303
+ if (returnComparator() === "ACTIVE") {
1304
+ return { state: WaiterState.SUCCESS, reason };
1305
+ }
1306
+ }
1307
+ catch (e) { }
1308
+ try {
1309
+ const returnComparator = () => {
1310
+ return result.status;
1311
+ };
1312
+ if (returnComparator() === "BLOCKED") {
1313
+ return { state: WaiterState.FAILURE, reason };
1314
+ }
1315
+ }
1316
+ catch (e) { }
1317
+ try {
1318
+ const returnComparator = () => {
1319
+ return result.status;
1320
+ };
1321
+ if (returnComparator() === "CANCELLED") {
1322
+ return { state: WaiterState.FAILURE, reason };
1323
+ }
1324
+ }
1325
+ catch (e) { }
1326
+ try {
1327
+ const returnComparator = () => {
1328
+ return result.status;
1329
+ };
1330
+ if (returnComparator() === "FAILED") {
1331
+ return { state: WaiterState.FAILURE, reason };
1332
+ }
1333
+ }
1334
+ catch (e) { }
1335
+ }
1336
+ catch (exception) {
1337
+ reason = exception;
1338
+ }
1339
+ return { state: WaiterState.RETRY, reason };
1340
+ };
1341
+ const waitForBrandProfileActive = async (params, input) => {
1342
+ const serviceDefaults = { minDelay: 30, maxDelay: 120 };
1343
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
1344
+ };
1345
+ const waitUntilBrandProfileActive = async (params, input) => {
1346
+ const serviceDefaults = { minDelay: 30, maxDelay: 120 };
1347
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
1348
+ return checkExceptions(result);
1349
+ };
1350
+
1351
+ const checkState = async (client, input) => {
1352
+ let reason;
1353
+ try {
1354
+ let result = await client.send(new GetJobCommand(input));
1355
+ reason = result;
1356
+ try {
1357
+ const returnComparator = () => {
1358
+ return result.status;
1359
+ };
1360
+ if (returnComparator() === "SUCCESS") {
1361
+ return { state: WaiterState.SUCCESS, reason };
1362
+ }
1363
+ }
1364
+ catch (e) { }
1365
+ try {
1366
+ const returnComparator = () => {
1367
+ return result.status;
1368
+ };
1369
+ if (returnComparator() === "FAILED") {
1370
+ return { state: WaiterState.FAILURE, reason };
1371
+ }
1372
+ }
1373
+ catch (e) { }
1374
+ }
1375
+ catch (exception) {
1376
+ reason = exception;
1377
+ }
1378
+ return { state: WaiterState.RETRY, reason };
1379
+ };
1380
+ const waitForJobSuccess = async (params, input) => {
1381
+ const serviceDefaults = { minDelay: 30, maxDelay: 120 };
1382
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
1383
+ };
1384
+ const waitUntilJobSuccess = async (params, input) => {
1385
+ const serviceDefaults = { minDelay: 30, maxDelay: 120 };
1386
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
1387
+ return checkExceptions(result);
1388
+ };
1389
+
1390
+ const commands = {
1391
+ CreateBrandProfileCommand,
1392
+ CreateBrandProfileAttributesCommand,
1393
+ CreateBrandProfileFromRegistrationCommand,
1394
+ CreateNotifyCodeConfigurationCommand,
1395
+ CreateRegistrationsFromBrandProfileCommand,
1396
+ DeleteBrandProfileCommand,
1397
+ DeleteBrandProfileAttributeCommand,
1398
+ DeleteNotifyCodeConfigurationCommand,
1399
+ GetBrandProfileCommand,
1400
+ GetBrandProfileAttributeCommand,
1401
+ GetJobCommand,
1402
+ GetNotifyCodeConfigurationCommand,
1403
+ ListBrandProfileAttributesCommand,
1404
+ ListBrandProfilesCommand,
1405
+ ListJobsCommand,
1406
+ ListNotifyCodeConfigurationsCommand,
1407
+ ListRegistrationsFromBrandProfileCommand,
1408
+ ListTagsForResourceCommand,
1409
+ SendNotifyCodeVerificationCommand,
1410
+ TagResourceCommand,
1411
+ UntagResourceCommand,
1412
+ UpdateBrandProfileCommand,
1413
+ UpdateBrandProfileAttributeCommand,
1414
+ UpdateBrandProfileFromRegistrationCommand,
1415
+ UpdateNotifyCodeConfigurationCommand,
1416
+ UpdateRegistrationsFromBrandProfileCommand,
1417
+ ValidateNotifyCodeVerificationCommand,
1418
+ };
1419
+ const paginators = {
1420
+ paginateListBrandProfileAttributes,
1421
+ paginateListBrandProfiles,
1422
+ paginateListJobs,
1423
+ paginateListNotifyCodeConfigurations,
1424
+ paginateListRegistrationsFromBrandProfile,
1425
+ };
1426
+ const waiters = {
1427
+ waitUntilBrandProfileActive,
1428
+ waitUntilJobSuccess,
1429
+ };
1430
+ class EndUserMessaging extends EndUserMessagingClient {
1431
+ }
1432
+ createAggregatedClient(commands, EndUserMessaging, { paginators, waiters });
1433
+
1434
+ const BrandProfileAttributeType = {
1435
+ DOCUMENT: "DOCUMENT",
1436
+ IMAGE: "IMAGE",
1437
+ TEXT: "TEXT",
1438
+ };
1439
+ const Status = {
1440
+ ACTIVE: "ACTIVE",
1441
+ BLOCKED: "BLOCKED",
1442
+ CANCELLED: "CANCELLED",
1443
+ FAILED: "FAILED",
1444
+ PAUSED: "PAUSED",
1445
+ };
1446
+ const VoiceMessageBodyTextType = {
1447
+ SSML: "SSML",
1448
+ TEXT: "TEXT",
1449
+ };
1450
+ const CodeType = {
1451
+ ALPHA: "ALPHA",
1452
+ ALPHANUMERIC: "ALPHANUMERIC",
1453
+ NUMERIC: "NUMERIC",
1454
+ };
1455
+ const JobResourceType = {
1456
+ BRAND_PROFILE: "BRAND_PROFILE",
1457
+ REGISTRATION: "REGISTRATION",
1458
+ };
1459
+ const JobStatus = {
1460
+ FAILED: "FAILED",
1461
+ PROCESSING: "PROCESSING",
1462
+ SUCCESS: "SUCCESS",
1463
+ };
1464
+ const NotifyChannel = {
1465
+ TEXT: "TEXT",
1466
+ VOICE: "VOICE",
1467
+ WHATSAPP: "WHATSAPP",
1468
+ };
1469
+ const OnAttributeConflict = {
1470
+ PRESERVE: "PRESERVE",
1471
+ REPLACE: "REPLACE",
1472
+ };
1473
+ const VerificationStatus = {
1474
+ INVALID: "INVALID",
1475
+ VALID: "VALID",
1476
+ };
1477
+
1478
+ exports.AccessDeniedException = AccessDeniedException;
1479
+ exports.AccessDeniedException$ = AccessDeniedException$;
1480
+ exports.BrandProfileAttributeInput$ = BrandProfileAttributeInput$;
1481
+ exports.BrandProfileAttributeOutput$ = BrandProfileAttributeOutput$;
1482
+ exports.BrandProfileAttributeSummary$ = BrandProfileAttributeSummary$;
1483
+ exports.BrandProfileAttributeType = BrandProfileAttributeType;
1484
+ exports.BrandProfileInfo$ = BrandProfileInfo$;
1485
+ exports.ChannelParameters$ = ChannelParameters$;
1486
+ exports.CodeConfigurationParameters$ = CodeConfigurationParameters$;
1487
+ exports.CodeType = CodeType;
1488
+ exports.ConflictException = ConflictException;
1489
+ exports.ConflictException$ = ConflictException$;
1490
+ exports.CreateBrandProfile$ = CreateBrandProfile$;
1491
+ exports.CreateBrandProfileAttributes$ = CreateBrandProfileAttributes$;
1492
+ exports.CreateBrandProfileAttributesCommand = CreateBrandProfileAttributesCommand;
1493
+ exports.CreateBrandProfileAttributesInput$ = CreateBrandProfileAttributesInput$;
1494
+ exports.CreateBrandProfileAttributesOutput$ = CreateBrandProfileAttributesOutput$;
1495
+ exports.CreateBrandProfileCommand = CreateBrandProfileCommand;
1496
+ exports.CreateBrandProfileFromRegistration$ = CreateBrandProfileFromRegistration$;
1497
+ exports.CreateBrandProfileFromRegistrationCommand = CreateBrandProfileFromRegistrationCommand;
1498
+ exports.CreateBrandProfileFromRegistrationInput$ = CreateBrandProfileFromRegistrationInput$;
1499
+ exports.CreateBrandProfileFromRegistrationOutput$ = CreateBrandProfileFromRegistrationOutput$;
1500
+ exports.CreateBrandProfileInput$ = CreateBrandProfileInput$;
1501
+ exports.CreateBrandProfileOutput$ = CreateBrandProfileOutput$;
1502
+ exports.CreateNotifyCodeConfiguration$ = CreateNotifyCodeConfiguration$;
1503
+ exports.CreateNotifyCodeConfigurationCommand = CreateNotifyCodeConfigurationCommand;
1504
+ exports.CreateNotifyCodeConfigurationInput$ = CreateNotifyCodeConfigurationInput$;
1505
+ exports.CreateNotifyCodeConfigurationOutput$ = CreateNotifyCodeConfigurationOutput$;
1506
+ exports.CreateRegistrationsFromBrandProfile$ = CreateRegistrationsFromBrandProfile$;
1507
+ exports.CreateRegistrationsFromBrandProfileCommand = CreateRegistrationsFromBrandProfileCommand;
1508
+ exports.CreateRegistrationsFromBrandProfileInput$ = CreateRegistrationsFromBrandProfileInput$;
1509
+ exports.CreateRegistrationsFromBrandProfileOutput$ = CreateRegistrationsFromBrandProfileOutput$;
1510
+ exports.DeleteBrandProfile$ = DeleteBrandProfile$;
1511
+ exports.DeleteBrandProfileAttribute$ = DeleteBrandProfileAttribute$;
1512
+ exports.DeleteBrandProfileAttributeCommand = DeleteBrandProfileAttributeCommand;
1513
+ exports.DeleteBrandProfileAttributeInput$ = DeleteBrandProfileAttributeInput$;
1514
+ exports.DeleteBrandProfileAttributeOutput$ = DeleteBrandProfileAttributeOutput$;
1515
+ exports.DeleteBrandProfileCommand = DeleteBrandProfileCommand;
1516
+ exports.DeleteBrandProfileInput$ = DeleteBrandProfileInput$;
1517
+ exports.DeleteBrandProfileOutput$ = DeleteBrandProfileOutput$;
1518
+ exports.DeleteNotifyCodeConfiguration$ = DeleteNotifyCodeConfiguration$;
1519
+ exports.DeleteNotifyCodeConfigurationCommand = DeleteNotifyCodeConfigurationCommand;
1520
+ exports.DeleteNotifyCodeConfigurationInput$ = DeleteNotifyCodeConfigurationInput$;
1521
+ exports.DeleteNotifyCodeConfigurationOutput$ = DeleteNotifyCodeConfigurationOutput$;
1522
+ exports.EndUserMessaging = EndUserMessaging;
1523
+ exports.EndUserMessagingClient = EndUserMessagingClient;
1524
+ exports.EndUserMessagingServiceException = EndUserMessagingServiceException;
1525
+ exports.EndUserMessagingServiceException$ = EndUserMessagingServiceException$;
1526
+ exports.GetBrandProfile$ = GetBrandProfile$;
1527
+ exports.GetBrandProfileAttribute$ = GetBrandProfileAttribute$;
1528
+ exports.GetBrandProfileAttributeCommand = GetBrandProfileAttributeCommand;
1529
+ exports.GetBrandProfileAttributeInput$ = GetBrandProfileAttributeInput$;
1530
+ exports.GetBrandProfileAttributeOutput$ = GetBrandProfileAttributeOutput$;
1531
+ exports.GetBrandProfileCommand = GetBrandProfileCommand;
1532
+ exports.GetBrandProfileInput$ = GetBrandProfileInput$;
1533
+ exports.GetBrandProfileOutput$ = GetBrandProfileOutput$;
1534
+ exports.GetJob$ = GetJob$;
1535
+ exports.GetJobCommand = GetJobCommand;
1536
+ exports.GetJobInput$ = GetJobInput$;
1537
+ exports.GetNotifyCodeConfiguration$ = GetNotifyCodeConfiguration$;
1538
+ exports.GetNotifyCodeConfigurationCommand = GetNotifyCodeConfigurationCommand;
1539
+ exports.GetNotifyCodeConfigurationInput$ = GetNotifyCodeConfigurationInput$;
1540
+ exports.GetNotifyCodeConfigurationOutput$ = GetNotifyCodeConfigurationOutput$;
1541
+ exports.InternalServerException = InternalServerException;
1542
+ exports.InternalServerException$ = InternalServerException$;
1543
+ exports.Job$ = Job$;
1544
+ exports.JobResource$ = JobResource$;
1545
+ exports.JobResourceType = JobResourceType;
1546
+ exports.JobResult$ = JobResult$;
1547
+ exports.JobStatus = JobStatus;
1548
+ exports.JobSummary$ = JobSummary$;
1549
+ exports.ListBrandProfileAttributes$ = ListBrandProfileAttributes$;
1550
+ exports.ListBrandProfileAttributesCommand = ListBrandProfileAttributesCommand;
1551
+ exports.ListBrandProfileAttributesInput$ = ListBrandProfileAttributesInput$;
1552
+ exports.ListBrandProfileAttributesOutput$ = ListBrandProfileAttributesOutput$;
1553
+ exports.ListBrandProfiles$ = ListBrandProfiles$;
1554
+ exports.ListBrandProfilesCommand = ListBrandProfilesCommand;
1555
+ exports.ListBrandProfilesInput$ = ListBrandProfilesInput$;
1556
+ exports.ListBrandProfilesOutput$ = ListBrandProfilesOutput$;
1557
+ exports.ListJobs$ = ListJobs$;
1558
+ exports.ListJobsCommand = ListJobsCommand;
1559
+ exports.ListJobsInput$ = ListJobsInput$;
1560
+ exports.ListJobsOutput$ = ListJobsOutput$;
1561
+ exports.ListNotifyCodeConfigurations$ = ListNotifyCodeConfigurations$;
1562
+ exports.ListNotifyCodeConfigurationsCommand = ListNotifyCodeConfigurationsCommand;
1563
+ exports.ListNotifyCodeConfigurationsInput$ = ListNotifyCodeConfigurationsInput$;
1564
+ exports.ListNotifyCodeConfigurationsOutput$ = ListNotifyCodeConfigurationsOutput$;
1565
+ exports.ListRegistrationsFromBrandProfile$ = ListRegistrationsFromBrandProfile$;
1566
+ exports.ListRegistrationsFromBrandProfileCommand = ListRegistrationsFromBrandProfileCommand;
1567
+ exports.ListRegistrationsFromBrandProfileInput$ = ListRegistrationsFromBrandProfileInput$;
1568
+ exports.ListRegistrationsFromBrandProfileOutput$ = ListRegistrationsFromBrandProfileOutput$;
1569
+ exports.ListTagsForResource$ = ListTagsForResource$;
1570
+ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1571
+ exports.ListTagsForResourceInput$ = ListTagsForResourceInput$;
1572
+ exports.ListTagsForResourceOutput$ = ListTagsForResourceOutput$;
1573
+ exports.NotifyChannel = NotifyChannel;
1574
+ exports.NotifyCodeConfiguration$ = NotifyCodeConfiguration$;
1575
+ exports.NotifyParameters$ = NotifyParameters$;
1576
+ exports.OnAttributeConflict = OnAttributeConflict;
1577
+ exports.RegistrationAssociationSummary$ = RegistrationAssociationSummary$;
1578
+ exports.ResourceNotFoundException = ResourceNotFoundException;
1579
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1580
+ exports.SendNotifyCodeVerification$ = SendNotifyCodeVerification$;
1581
+ exports.SendNotifyCodeVerificationCommand = SendNotifyCodeVerificationCommand;
1582
+ exports.SendNotifyCodeVerificationInput$ = SendNotifyCodeVerificationInput$;
1583
+ exports.SendNotifyCodeVerificationOutput$ = SendNotifyCodeVerificationOutput$;
1584
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1585
+ exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
1586
+ exports.Status = Status;
1587
+ exports.Tag$ = Tag$;
1588
+ exports.TagResource$ = TagResource$;
1589
+ exports.TagResourceCommand = TagResourceCommand;
1590
+ exports.TagResourceInput$ = TagResourceInput$;
1591
+ exports.TagResourceOutput$ = TagResourceOutput$;
1592
+ exports.TextParameters$ = TextParameters$;
1593
+ exports.ThrottlingException = ThrottlingException;
1594
+ exports.ThrottlingException$ = ThrottlingException$;
1595
+ exports.UntagResource$ = UntagResource$;
1596
+ exports.UntagResourceCommand = UntagResourceCommand;
1597
+ exports.UntagResourceInput$ = UntagResourceInput$;
1598
+ exports.UntagResourceOutput$ = UntagResourceOutput$;
1599
+ exports.UpdateBrandProfile$ = UpdateBrandProfile$;
1600
+ exports.UpdateBrandProfileAttribute$ = UpdateBrandProfileAttribute$;
1601
+ exports.UpdateBrandProfileAttributeCommand = UpdateBrandProfileAttributeCommand;
1602
+ exports.UpdateBrandProfileAttributeInput$ = UpdateBrandProfileAttributeInput$;
1603
+ exports.UpdateBrandProfileAttributeOutput$ = UpdateBrandProfileAttributeOutput$;
1604
+ exports.UpdateBrandProfileCommand = UpdateBrandProfileCommand;
1605
+ exports.UpdateBrandProfileFromRegistration$ = UpdateBrandProfileFromRegistration$;
1606
+ exports.UpdateBrandProfileFromRegistrationCommand = UpdateBrandProfileFromRegistrationCommand;
1607
+ exports.UpdateBrandProfileFromRegistrationInput$ = UpdateBrandProfileFromRegistrationInput$;
1608
+ exports.UpdateBrandProfileFromRegistrationOutput$ = UpdateBrandProfileFromRegistrationOutput$;
1609
+ exports.UpdateBrandProfileInput$ = UpdateBrandProfileInput$;
1610
+ exports.UpdateBrandProfileOutput$ = UpdateBrandProfileOutput$;
1611
+ exports.UpdateChannelParameters$ = UpdateChannelParameters$;
1612
+ exports.UpdateCodeConfigurationParameters$ = UpdateCodeConfigurationParameters$;
1613
+ exports.UpdateNotifyCodeConfiguration$ = UpdateNotifyCodeConfiguration$;
1614
+ exports.UpdateNotifyCodeConfigurationCommand = UpdateNotifyCodeConfigurationCommand;
1615
+ exports.UpdateNotifyCodeConfigurationInput$ = UpdateNotifyCodeConfigurationInput$;
1616
+ exports.UpdateNotifyCodeConfigurationOutput$ = UpdateNotifyCodeConfigurationOutput$;
1617
+ exports.UpdateNotifyParameters$ = UpdateNotifyParameters$;
1618
+ exports.UpdateRegistrationsFromBrandProfile$ = UpdateRegistrationsFromBrandProfile$;
1619
+ exports.UpdateRegistrationsFromBrandProfileCommand = UpdateRegistrationsFromBrandProfileCommand;
1620
+ exports.UpdateRegistrationsFromBrandProfileInput$ = UpdateRegistrationsFromBrandProfileInput$;
1621
+ exports.UpdateRegistrationsFromBrandProfileOutput$ = UpdateRegistrationsFromBrandProfileOutput$;
1622
+ exports.UpdateTextParameters$ = UpdateTextParameters$;
1623
+ exports.UpdateVoiceParameters$ = UpdateVoiceParameters$;
1624
+ exports.UpdateWhatsAppParameters$ = UpdateWhatsAppParameters$;
1625
+ exports.ValidateNotifyCodeVerification$ = ValidateNotifyCodeVerification$;
1626
+ exports.ValidateNotifyCodeVerificationCommand = ValidateNotifyCodeVerificationCommand;
1627
+ exports.ValidateNotifyCodeVerificationInput$ = ValidateNotifyCodeVerificationInput$;
1628
+ exports.ValidateNotifyCodeVerificationOutput$ = ValidateNotifyCodeVerificationOutput$;
1629
+ exports.ValidationException = ValidationException;
1630
+ exports.ValidationException$ = ValidationException$;
1631
+ exports.ValidationExceptionField$ = ValidationExceptionField$;
1632
+ exports.VerificationStatus = VerificationStatus;
1633
+ exports.VoiceMessageBodyTextType = VoiceMessageBodyTextType;
1634
+ exports.VoiceParameters$ = VoiceParameters$;
1635
+ exports.WhatsAppParameters$ = WhatsAppParameters$;
1636
+ exports.errorTypeRegistries = errorTypeRegistries;
1637
+ exports.paginateListBrandProfileAttributes = paginateListBrandProfileAttributes;
1638
+ exports.paginateListBrandProfiles = paginateListBrandProfiles;
1639
+ exports.paginateListJobs = paginateListJobs;
1640
+ exports.paginateListNotifyCodeConfigurations = paginateListNotifyCodeConfigurations;
1641
+ exports.paginateListRegistrationsFromBrandProfile = paginateListRegistrationsFromBrandProfile;
1642
+ exports.waitForBrandProfileActive = waitForBrandProfileActive;
1643
+ exports.waitForJobSuccess = waitForJobSuccess;
1644
+ exports.waitUntilBrandProfileActive = waitUntilBrandProfileActive;
1645
+ exports.waitUntilJobSuccess = waitUntilJobSuccess;