@aws-sdk/client-amplifyuibuilder 3.721.0 → 3.723.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -191,7 +191,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
191
191
  }, "resolveRuntimeExtensions");
192
192
 
193
193
  // src/AmplifyUIBuilderClient.ts
194
- var _AmplifyUIBuilderClient = class _AmplifyUIBuilderClient extends import_smithy_client.Client {
194
+ var AmplifyUIBuilderClient = class extends import_smithy_client.Client {
195
+ static {
196
+ __name(this, "AmplifyUIBuilderClient");
197
+ }
198
+ /**
199
+ * The resolved configuration of AmplifyUIBuilderClient class. This is resolved and normalized from the {@link AmplifyUIBuilderClientConfig | constructor configuration interface}.
200
+ */
201
+ config;
195
202
  constructor(...[configuration]) {
196
203
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
197
204
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -201,7 +208,7 @@ var _AmplifyUIBuilderClient = class _AmplifyUIBuilderClient extends import_smith
201
208
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
202
209
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
203
210
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
204
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
211
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
205
212
  super(_config_8);
206
213
  this.config = _config_8;
207
214
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -229,8 +236,6 @@ var _AmplifyUIBuilderClient = class _AmplifyUIBuilderClient extends import_smith
229
236
  super.destroy();
230
237
  }
231
238
  };
232
- __name(_AmplifyUIBuilderClient, "AmplifyUIBuilderClient");
233
- var AmplifyUIBuilderClient = _AmplifyUIBuilderClient;
234
239
 
235
240
  // src/AmplifyUIBuilder.ts
236
241
 
@@ -248,7 +253,10 @@ var import_uuid = require("uuid");
248
253
 
249
254
  // src/models/AmplifyUIBuilderServiceException.ts
250
255
 
251
- var _AmplifyUIBuilderServiceException = class _AmplifyUIBuilderServiceException extends import_smithy_client.ServiceException {
256
+ var AmplifyUIBuilderServiceException = class _AmplifyUIBuilderServiceException extends import_smithy_client.ServiceException {
257
+ static {
258
+ __name(this, "AmplifyUIBuilderServiceException");
259
+ }
252
260
  /**
253
261
  * @internal
254
262
  */
@@ -257,8 +265,6 @@ var _AmplifyUIBuilderServiceException = class _AmplifyUIBuilderServiceException
257
265
  Object.setPrototypeOf(this, _AmplifyUIBuilderServiceException.prototype);
258
266
  }
259
267
  };
260
- __name(_AmplifyUIBuilderServiceException, "AmplifyUIBuilderServiceException");
261
- var AmplifyUIBuilderServiceException = _AmplifyUIBuilderServiceException;
262
268
 
263
269
  // src/models/models_0.ts
264
270
 
@@ -327,7 +333,12 @@ var CodegenJobStatus = {
327
333
  IN_PROGRESS: "in_progress",
328
334
  SUCCEEDED: "succeeded"
329
335
  };
330
- var _InternalServerException = class _InternalServerException extends AmplifyUIBuilderServiceException {
336
+ var InternalServerException = class _InternalServerException extends AmplifyUIBuilderServiceException {
337
+ static {
338
+ __name(this, "InternalServerException");
339
+ }
340
+ name = "InternalServerException";
341
+ $fault = "server";
331
342
  /**
332
343
  * @internal
333
344
  */
@@ -337,14 +348,15 @@ var _InternalServerException = class _InternalServerException extends AmplifyUIB
337
348
  $fault: "server",
338
349
  ...opts
339
350
  });
340
- this.name = "InternalServerException";
341
- this.$fault = "server";
342
351
  Object.setPrototypeOf(this, _InternalServerException.prototype);
343
352
  }
344
353
  };
345
- __name(_InternalServerException, "InternalServerException");
346
- var InternalServerException = _InternalServerException;
347
- var _InvalidParameterException = class _InvalidParameterException extends AmplifyUIBuilderServiceException {
354
+ var InvalidParameterException = class _InvalidParameterException extends AmplifyUIBuilderServiceException {
355
+ static {
356
+ __name(this, "InvalidParameterException");
357
+ }
358
+ name = "InvalidParameterException";
359
+ $fault = "client";
348
360
  /**
349
361
  * @internal
350
362
  */
@@ -354,14 +366,15 @@ var _InvalidParameterException = class _InvalidParameterException extends Amplif
354
366
  $fault: "client",
355
367
  ...opts
356
368
  });
357
- this.name = "InvalidParameterException";
358
- this.$fault = "client";
359
369
  Object.setPrototypeOf(this, _InvalidParameterException.prototype);
360
370
  }
361
371
  };
362
- __name(_InvalidParameterException, "InvalidParameterException");
363
- var InvalidParameterException = _InvalidParameterException;
364
- var _ResourceNotFoundException = class _ResourceNotFoundException extends AmplifyUIBuilderServiceException {
372
+ var ResourceNotFoundException = class _ResourceNotFoundException extends AmplifyUIBuilderServiceException {
373
+ static {
374
+ __name(this, "ResourceNotFoundException");
375
+ }
376
+ name = "ResourceNotFoundException";
377
+ $fault = "client";
365
378
  /**
366
379
  * @internal
367
380
  */
@@ -371,14 +384,15 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Amplif
371
384
  $fault: "client",
372
385
  ...opts
373
386
  });
374
- this.name = "ResourceNotFoundException";
375
- this.$fault = "client";
376
387
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
377
388
  }
378
389
  };
379
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
380
- var ResourceNotFoundException = _ResourceNotFoundException;
381
- var _ThrottlingException = class _ThrottlingException extends AmplifyUIBuilderServiceException {
390
+ var ThrottlingException = class _ThrottlingException extends AmplifyUIBuilderServiceException {
391
+ static {
392
+ __name(this, "ThrottlingException");
393
+ }
394
+ name = "ThrottlingException";
395
+ $fault = "client";
382
396
  /**
383
397
  * @internal
384
398
  */
@@ -388,18 +402,19 @@ var _ThrottlingException = class _ThrottlingException extends AmplifyUIBuilderSe
388
402
  $fault: "client",
389
403
  ...opts
390
404
  });
391
- this.name = "ThrottlingException";
392
- this.$fault = "client";
393
405
  Object.setPrototypeOf(this, _ThrottlingException.prototype);
394
406
  }
395
407
  };
396
- __name(_ThrottlingException, "ThrottlingException");
397
- var ThrottlingException = _ThrottlingException;
398
408
  var SortDirection = {
399
409
  ASC: "ASC",
400
410
  DESC: "DESC"
401
411
  };
402
- var _ResourceConflictException = class _ResourceConflictException extends AmplifyUIBuilderServiceException {
412
+ var ResourceConflictException = class _ResourceConflictException extends AmplifyUIBuilderServiceException {
413
+ static {
414
+ __name(this, "ResourceConflictException");
415
+ }
416
+ name = "ResourceConflictException";
417
+ $fault = "client";
403
418
  /**
404
419
  * @internal
405
420
  */
@@ -409,14 +424,15 @@ var _ResourceConflictException = class _ResourceConflictException extends Amplif
409
424
  $fault: "client",
410
425
  ...opts
411
426
  });
412
- this.name = "ResourceConflictException";
413
- this.$fault = "client";
414
427
  Object.setPrototypeOf(this, _ResourceConflictException.prototype);
415
428
  }
416
429
  };
417
- __name(_ResourceConflictException, "ResourceConflictException");
418
- var ResourceConflictException = _ResourceConflictException;
419
- var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends AmplifyUIBuilderServiceException {
430
+ var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends AmplifyUIBuilderServiceException {
431
+ static {
432
+ __name(this, "ServiceQuotaExceededException");
433
+ }
434
+ name = "ServiceQuotaExceededException";
435
+ $fault = "client";
420
436
  /**
421
437
  * @internal
422
438
  */
@@ -426,13 +442,9 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
426
442
  $fault: "client",
427
443
  ...opts
428
444
  });
429
- this.name = "ServiceQuotaExceededException";
430
- this.$fault = "client";
431
445
  Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
432
446
  }
433
447
  };
434
- __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
435
- var ServiceQuotaExceededException = _ServiceQuotaExceededException;
436
448
  var TokenProviders = {
437
449
  /**
438
450
  * The figma token provider.
@@ -493,7 +505,12 @@ var FormStyleConfig;
493
505
  return visitor._(value.$unknown[0], value.$unknown[1]);
494
506
  }, "visit");
495
507
  })(FormStyleConfig || (FormStyleConfig = {}));
496
- var _UnauthorizedException = class _UnauthorizedException extends AmplifyUIBuilderServiceException {
508
+ var UnauthorizedException = class _UnauthorizedException extends AmplifyUIBuilderServiceException {
509
+ static {
510
+ __name(this, "UnauthorizedException");
511
+ }
512
+ name = "UnauthorizedException";
513
+ $fault = "client";
497
514
  /**
498
515
  * @internal
499
516
  */
@@ -503,13 +520,9 @@ var _UnauthorizedException = class _UnauthorizedException extends AmplifyUIBuild
503
520
  $fault: "client",
504
521
  ...opts
505
522
  });
506
- this.name = "UnauthorizedException";
507
- this.$fault = "client";
508
523
  Object.setPrototypeOf(this, _UnauthorizedException.prototype);
509
524
  }
510
525
  };
511
- __name(_UnauthorizedException, "UnauthorizedException");
512
- var UnauthorizedException = _UnauthorizedException;
513
526
  var ExchangeCodeForTokenRequestBodyFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
514
527
  ...obj,
515
528
  ...obj.code && { code: import_smithy_client.SENSITIVE_STRING },
@@ -2124,393 +2137,421 @@ var _nT = "nextToken";
2124
2137
  var _tK = "tagKeys";
2125
2138
 
2126
2139
  // src/commands/CreateComponentCommand.ts
2127
- var _CreateComponentCommand = class _CreateComponentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2140
+ var CreateComponentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2128
2141
  return [
2129
2142
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2130
2143
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2131
2144
  ];
2132
2145
  }).s("AmplifyUIBuilder", "CreateComponent", {}).n("AmplifyUIBuilderClient", "CreateComponentCommand").f(void 0, void 0).ser(se_CreateComponentCommand).de(de_CreateComponentCommand).build() {
2146
+ static {
2147
+ __name(this, "CreateComponentCommand");
2148
+ }
2133
2149
  };
2134
- __name(_CreateComponentCommand, "CreateComponentCommand");
2135
- var CreateComponentCommand = _CreateComponentCommand;
2136
2150
 
2137
2151
  // src/commands/CreateFormCommand.ts
2138
2152
 
2139
2153
 
2140
2154
 
2141
- var _CreateFormCommand = class _CreateFormCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2155
+ var CreateFormCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2142
2156
  return [
2143
2157
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2144
2158
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2145
2159
  ];
2146
2160
  }).s("AmplifyUIBuilder", "CreateForm", {}).n("AmplifyUIBuilderClient", "CreateFormCommand").f(void 0, void 0).ser(se_CreateFormCommand).de(de_CreateFormCommand).build() {
2161
+ static {
2162
+ __name(this, "CreateFormCommand");
2163
+ }
2147
2164
  };
2148
- __name(_CreateFormCommand, "CreateFormCommand");
2149
- var CreateFormCommand = _CreateFormCommand;
2150
2165
 
2151
2166
  // src/commands/CreateThemeCommand.ts
2152
2167
 
2153
2168
 
2154
2169
 
2155
- var _CreateThemeCommand = class _CreateThemeCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2170
+ var CreateThemeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2156
2171
  return [
2157
2172
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2158
2173
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2159
2174
  ];
2160
2175
  }).s("AmplifyUIBuilder", "CreateTheme", {}).n("AmplifyUIBuilderClient", "CreateThemeCommand").f(void 0, void 0).ser(se_CreateThemeCommand).de(de_CreateThemeCommand).build() {
2176
+ static {
2177
+ __name(this, "CreateThemeCommand");
2178
+ }
2161
2179
  };
2162
- __name(_CreateThemeCommand, "CreateThemeCommand");
2163
- var CreateThemeCommand = _CreateThemeCommand;
2164
2180
 
2165
2181
  // src/commands/DeleteComponentCommand.ts
2166
2182
 
2167
2183
 
2168
2184
 
2169
- var _DeleteComponentCommand = class _DeleteComponentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2185
+ var DeleteComponentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2170
2186
  return [
2171
2187
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2172
2188
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2173
2189
  ];
2174
2190
  }).s("AmplifyUIBuilder", "DeleteComponent", {}).n("AmplifyUIBuilderClient", "DeleteComponentCommand").f(void 0, void 0).ser(se_DeleteComponentCommand).de(de_DeleteComponentCommand).build() {
2191
+ static {
2192
+ __name(this, "DeleteComponentCommand");
2193
+ }
2175
2194
  };
2176
- __name(_DeleteComponentCommand, "DeleteComponentCommand");
2177
- var DeleteComponentCommand = _DeleteComponentCommand;
2178
2195
 
2179
2196
  // src/commands/DeleteFormCommand.ts
2180
2197
 
2181
2198
 
2182
2199
 
2183
- var _DeleteFormCommand = class _DeleteFormCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2200
+ var DeleteFormCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2184
2201
  return [
2185
2202
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2186
2203
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2187
2204
  ];
2188
2205
  }).s("AmplifyUIBuilder", "DeleteForm", {}).n("AmplifyUIBuilderClient", "DeleteFormCommand").f(void 0, void 0).ser(se_DeleteFormCommand).de(de_DeleteFormCommand).build() {
2206
+ static {
2207
+ __name(this, "DeleteFormCommand");
2208
+ }
2189
2209
  };
2190
- __name(_DeleteFormCommand, "DeleteFormCommand");
2191
- var DeleteFormCommand = _DeleteFormCommand;
2192
2210
 
2193
2211
  // src/commands/DeleteThemeCommand.ts
2194
2212
 
2195
2213
 
2196
2214
 
2197
- var _DeleteThemeCommand = class _DeleteThemeCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2215
+ var DeleteThemeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2198
2216
  return [
2199
2217
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2200
2218
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2201
2219
  ];
2202
2220
  }).s("AmplifyUIBuilder", "DeleteTheme", {}).n("AmplifyUIBuilderClient", "DeleteThemeCommand").f(void 0, void 0).ser(se_DeleteThemeCommand).de(de_DeleteThemeCommand).build() {
2221
+ static {
2222
+ __name(this, "DeleteThemeCommand");
2223
+ }
2203
2224
  };
2204
- __name(_DeleteThemeCommand, "DeleteThemeCommand");
2205
- var DeleteThemeCommand = _DeleteThemeCommand;
2206
2225
 
2207
2226
  // src/commands/ExchangeCodeForTokenCommand.ts
2208
2227
 
2209
2228
 
2210
2229
 
2211
- var _ExchangeCodeForTokenCommand = class _ExchangeCodeForTokenCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2230
+ var ExchangeCodeForTokenCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2212
2231
  return [
2213
2232
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2214
2233
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2215
2234
  ];
2216
2235
  }).s("AmplifyUIBuilder", "ExchangeCodeForToken", {}).n("AmplifyUIBuilderClient", "ExchangeCodeForTokenCommand").f(ExchangeCodeForTokenRequestFilterSensitiveLog, ExchangeCodeForTokenResponseFilterSensitiveLog).ser(se_ExchangeCodeForTokenCommand).de(de_ExchangeCodeForTokenCommand).build() {
2236
+ static {
2237
+ __name(this, "ExchangeCodeForTokenCommand");
2238
+ }
2217
2239
  };
2218
- __name(_ExchangeCodeForTokenCommand, "ExchangeCodeForTokenCommand");
2219
- var ExchangeCodeForTokenCommand = _ExchangeCodeForTokenCommand;
2220
2240
 
2221
2241
  // src/commands/ExportComponentsCommand.ts
2222
2242
 
2223
2243
 
2224
2244
 
2225
- var _ExportComponentsCommand = class _ExportComponentsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2245
+ var ExportComponentsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2226
2246
  return [
2227
2247
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2228
2248
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2229
2249
  ];
2230
2250
  }).s("AmplifyUIBuilder", "ExportComponents", {}).n("AmplifyUIBuilderClient", "ExportComponentsCommand").f(void 0, void 0).ser(se_ExportComponentsCommand).de(de_ExportComponentsCommand).build() {
2251
+ static {
2252
+ __name(this, "ExportComponentsCommand");
2253
+ }
2231
2254
  };
2232
- __name(_ExportComponentsCommand, "ExportComponentsCommand");
2233
- var ExportComponentsCommand = _ExportComponentsCommand;
2234
2255
 
2235
2256
  // src/commands/ExportFormsCommand.ts
2236
2257
 
2237
2258
 
2238
2259
 
2239
- var _ExportFormsCommand = class _ExportFormsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2260
+ var ExportFormsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2240
2261
  return [
2241
2262
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2242
2263
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2243
2264
  ];
2244
2265
  }).s("AmplifyUIBuilder", "ExportForms", {}).n("AmplifyUIBuilderClient", "ExportFormsCommand").f(void 0, void 0).ser(se_ExportFormsCommand).de(de_ExportFormsCommand).build() {
2266
+ static {
2267
+ __name(this, "ExportFormsCommand");
2268
+ }
2245
2269
  };
2246
- __name(_ExportFormsCommand, "ExportFormsCommand");
2247
- var ExportFormsCommand = _ExportFormsCommand;
2248
2270
 
2249
2271
  // src/commands/ExportThemesCommand.ts
2250
2272
 
2251
2273
 
2252
2274
 
2253
- var _ExportThemesCommand = class _ExportThemesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2275
+ var ExportThemesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2254
2276
  return [
2255
2277
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2256
2278
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2257
2279
  ];
2258
2280
  }).s("AmplifyUIBuilder", "ExportThemes", {}).n("AmplifyUIBuilderClient", "ExportThemesCommand").f(void 0, void 0).ser(se_ExportThemesCommand).de(de_ExportThemesCommand).build() {
2281
+ static {
2282
+ __name(this, "ExportThemesCommand");
2283
+ }
2259
2284
  };
2260
- __name(_ExportThemesCommand, "ExportThemesCommand");
2261
- var ExportThemesCommand = _ExportThemesCommand;
2262
2285
 
2263
2286
  // src/commands/GetCodegenJobCommand.ts
2264
2287
 
2265
2288
 
2266
2289
 
2267
- var _GetCodegenJobCommand = class _GetCodegenJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2290
+ var GetCodegenJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2268
2291
  return [
2269
2292
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2270
2293
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2271
2294
  ];
2272
2295
  }).s("AmplifyUIBuilder", "GetCodegenJob", {}).n("AmplifyUIBuilderClient", "GetCodegenJobCommand").f(void 0, void 0).ser(se_GetCodegenJobCommand).de(de_GetCodegenJobCommand).build() {
2296
+ static {
2297
+ __name(this, "GetCodegenJobCommand");
2298
+ }
2273
2299
  };
2274
- __name(_GetCodegenJobCommand, "GetCodegenJobCommand");
2275
- var GetCodegenJobCommand = _GetCodegenJobCommand;
2276
2300
 
2277
2301
  // src/commands/GetComponentCommand.ts
2278
2302
 
2279
2303
 
2280
2304
 
2281
- var _GetComponentCommand = class _GetComponentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2305
+ var GetComponentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2282
2306
  return [
2283
2307
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2284
2308
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2285
2309
  ];
2286
2310
  }).s("AmplifyUIBuilder", "GetComponent", {}).n("AmplifyUIBuilderClient", "GetComponentCommand").f(void 0, void 0).ser(se_GetComponentCommand).de(de_GetComponentCommand).build() {
2311
+ static {
2312
+ __name(this, "GetComponentCommand");
2313
+ }
2287
2314
  };
2288
- __name(_GetComponentCommand, "GetComponentCommand");
2289
- var GetComponentCommand = _GetComponentCommand;
2290
2315
 
2291
2316
  // src/commands/GetFormCommand.ts
2292
2317
 
2293
2318
 
2294
2319
 
2295
- var _GetFormCommand = class _GetFormCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2320
+ var GetFormCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2296
2321
  return [
2297
2322
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2298
2323
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2299
2324
  ];
2300
2325
  }).s("AmplifyUIBuilder", "GetForm", {}).n("AmplifyUIBuilderClient", "GetFormCommand").f(void 0, void 0).ser(se_GetFormCommand).de(de_GetFormCommand).build() {
2326
+ static {
2327
+ __name(this, "GetFormCommand");
2328
+ }
2301
2329
  };
2302
- __name(_GetFormCommand, "GetFormCommand");
2303
- var GetFormCommand = _GetFormCommand;
2304
2330
 
2305
2331
  // src/commands/GetMetadataCommand.ts
2306
2332
 
2307
2333
 
2308
2334
 
2309
- var _GetMetadataCommand = class _GetMetadataCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2335
+ var GetMetadataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2310
2336
  return [
2311
2337
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2312
2338
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2313
2339
  ];
2314
2340
  }).s("AmplifyUIBuilder", "GetMetadata", {}).n("AmplifyUIBuilderClient", "GetMetadataCommand").f(void 0, void 0).ser(se_GetMetadataCommand).de(de_GetMetadataCommand).build() {
2341
+ static {
2342
+ __name(this, "GetMetadataCommand");
2343
+ }
2315
2344
  };
2316
- __name(_GetMetadataCommand, "GetMetadataCommand");
2317
- var GetMetadataCommand = _GetMetadataCommand;
2318
2345
 
2319
2346
  // src/commands/GetThemeCommand.ts
2320
2347
 
2321
2348
 
2322
2349
 
2323
- var _GetThemeCommand = class _GetThemeCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2350
+ var GetThemeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2324
2351
  return [
2325
2352
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2326
2353
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2327
2354
  ];
2328
2355
  }).s("AmplifyUIBuilder", "GetTheme", {}).n("AmplifyUIBuilderClient", "GetThemeCommand").f(void 0, void 0).ser(se_GetThemeCommand).de(de_GetThemeCommand).build() {
2356
+ static {
2357
+ __name(this, "GetThemeCommand");
2358
+ }
2329
2359
  };
2330
- __name(_GetThemeCommand, "GetThemeCommand");
2331
- var GetThemeCommand = _GetThemeCommand;
2332
2360
 
2333
2361
  // src/commands/ListCodegenJobsCommand.ts
2334
2362
 
2335
2363
 
2336
2364
 
2337
- var _ListCodegenJobsCommand = class _ListCodegenJobsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2365
+ var ListCodegenJobsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2338
2366
  return [
2339
2367
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2340
2368
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2341
2369
  ];
2342
2370
  }).s("AmplifyUIBuilder", "ListCodegenJobs", {}).n("AmplifyUIBuilderClient", "ListCodegenJobsCommand").f(void 0, void 0).ser(se_ListCodegenJobsCommand).de(de_ListCodegenJobsCommand).build() {
2371
+ static {
2372
+ __name(this, "ListCodegenJobsCommand");
2373
+ }
2343
2374
  };
2344
- __name(_ListCodegenJobsCommand, "ListCodegenJobsCommand");
2345
- var ListCodegenJobsCommand = _ListCodegenJobsCommand;
2346
2375
 
2347
2376
  // src/commands/ListComponentsCommand.ts
2348
2377
 
2349
2378
 
2350
2379
 
2351
- var _ListComponentsCommand = class _ListComponentsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2380
+ var ListComponentsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2352
2381
  return [
2353
2382
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2354
2383
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2355
2384
  ];
2356
2385
  }).s("AmplifyUIBuilder", "ListComponents", {}).n("AmplifyUIBuilderClient", "ListComponentsCommand").f(void 0, void 0).ser(se_ListComponentsCommand).de(de_ListComponentsCommand).build() {
2386
+ static {
2387
+ __name(this, "ListComponentsCommand");
2388
+ }
2357
2389
  };
2358
- __name(_ListComponentsCommand, "ListComponentsCommand");
2359
- var ListComponentsCommand = _ListComponentsCommand;
2360
2390
 
2361
2391
  // src/commands/ListFormsCommand.ts
2362
2392
 
2363
2393
 
2364
2394
 
2365
- var _ListFormsCommand = class _ListFormsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2395
+ var ListFormsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2366
2396
  return [
2367
2397
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2368
2398
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2369
2399
  ];
2370
2400
  }).s("AmplifyUIBuilder", "ListForms", {}).n("AmplifyUIBuilderClient", "ListFormsCommand").f(void 0, void 0).ser(se_ListFormsCommand).de(de_ListFormsCommand).build() {
2401
+ static {
2402
+ __name(this, "ListFormsCommand");
2403
+ }
2371
2404
  };
2372
- __name(_ListFormsCommand, "ListFormsCommand");
2373
- var ListFormsCommand = _ListFormsCommand;
2374
2405
 
2375
2406
  // src/commands/ListTagsForResourceCommand.ts
2376
2407
 
2377
2408
 
2378
2409
 
2379
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2410
+ var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2380
2411
  return [
2381
2412
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2382
2413
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2383
2414
  ];
2384
2415
  }).s("AmplifyUIBuilder", "ListTagsForResource", {}).n("AmplifyUIBuilderClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
2416
+ static {
2417
+ __name(this, "ListTagsForResourceCommand");
2418
+ }
2385
2419
  };
2386
- __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
2387
- var ListTagsForResourceCommand = _ListTagsForResourceCommand;
2388
2420
 
2389
2421
  // src/commands/ListThemesCommand.ts
2390
2422
 
2391
2423
 
2392
2424
 
2393
- var _ListThemesCommand = class _ListThemesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2425
+ var ListThemesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2394
2426
  return [
2395
2427
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2396
2428
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2397
2429
  ];
2398
2430
  }).s("AmplifyUIBuilder", "ListThemes", {}).n("AmplifyUIBuilderClient", "ListThemesCommand").f(void 0, void 0).ser(se_ListThemesCommand).de(de_ListThemesCommand).build() {
2431
+ static {
2432
+ __name(this, "ListThemesCommand");
2433
+ }
2399
2434
  };
2400
- __name(_ListThemesCommand, "ListThemesCommand");
2401
- var ListThemesCommand = _ListThemesCommand;
2402
2435
 
2403
2436
  // src/commands/PutMetadataFlagCommand.ts
2404
2437
 
2405
2438
 
2406
2439
 
2407
- var _PutMetadataFlagCommand = class _PutMetadataFlagCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2440
+ var PutMetadataFlagCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2408
2441
  return [
2409
2442
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2410
2443
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2411
2444
  ];
2412
2445
  }).s("AmplifyUIBuilder", "PutMetadataFlag", {}).n("AmplifyUIBuilderClient", "PutMetadataFlagCommand").f(void 0, void 0).ser(se_PutMetadataFlagCommand).de(de_PutMetadataFlagCommand).build() {
2446
+ static {
2447
+ __name(this, "PutMetadataFlagCommand");
2448
+ }
2413
2449
  };
2414
- __name(_PutMetadataFlagCommand, "PutMetadataFlagCommand");
2415
- var PutMetadataFlagCommand = _PutMetadataFlagCommand;
2416
2450
 
2417
2451
  // src/commands/RefreshTokenCommand.ts
2418
2452
 
2419
2453
 
2420
2454
 
2421
- var _RefreshTokenCommand = class _RefreshTokenCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2455
+ var RefreshTokenCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2422
2456
  return [
2423
2457
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2424
2458
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2425
2459
  ];
2426
2460
  }).s("AmplifyUIBuilder", "RefreshToken", {}).n("AmplifyUIBuilderClient", "RefreshTokenCommand").f(RefreshTokenRequestFilterSensitiveLog, RefreshTokenResponseFilterSensitiveLog).ser(se_RefreshTokenCommand).de(de_RefreshTokenCommand).build() {
2461
+ static {
2462
+ __name(this, "RefreshTokenCommand");
2463
+ }
2427
2464
  };
2428
- __name(_RefreshTokenCommand, "RefreshTokenCommand");
2429
- var RefreshTokenCommand = _RefreshTokenCommand;
2430
2465
 
2431
2466
  // src/commands/StartCodegenJobCommand.ts
2432
2467
 
2433
2468
 
2434
2469
 
2435
- var _StartCodegenJobCommand = class _StartCodegenJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2470
+ var StartCodegenJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2436
2471
  return [
2437
2472
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2438
2473
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2439
2474
  ];
2440
2475
  }).s("AmplifyUIBuilder", "StartCodegenJob", {}).n("AmplifyUIBuilderClient", "StartCodegenJobCommand").f(void 0, void 0).ser(se_StartCodegenJobCommand).de(de_StartCodegenJobCommand).build() {
2476
+ static {
2477
+ __name(this, "StartCodegenJobCommand");
2478
+ }
2441
2479
  };
2442
- __name(_StartCodegenJobCommand, "StartCodegenJobCommand");
2443
- var StartCodegenJobCommand = _StartCodegenJobCommand;
2444
2480
 
2445
2481
  // src/commands/TagResourceCommand.ts
2446
2482
 
2447
2483
 
2448
2484
 
2449
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2485
+ var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2450
2486
  return [
2451
2487
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2452
2488
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2453
2489
  ];
2454
2490
  }).s("AmplifyUIBuilder", "TagResource", {}).n("AmplifyUIBuilderClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
2491
+ static {
2492
+ __name(this, "TagResourceCommand");
2493
+ }
2455
2494
  };
2456
- __name(_TagResourceCommand, "TagResourceCommand");
2457
- var TagResourceCommand = _TagResourceCommand;
2458
2495
 
2459
2496
  // src/commands/UntagResourceCommand.ts
2460
2497
 
2461
2498
 
2462
2499
 
2463
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2500
+ var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2464
2501
  return [
2465
2502
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2466
2503
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2467
2504
  ];
2468
2505
  }).s("AmplifyUIBuilder", "UntagResource", {}).n("AmplifyUIBuilderClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
2506
+ static {
2507
+ __name(this, "UntagResourceCommand");
2508
+ }
2469
2509
  };
2470
- __name(_UntagResourceCommand, "UntagResourceCommand");
2471
- var UntagResourceCommand = _UntagResourceCommand;
2472
2510
 
2473
2511
  // src/commands/UpdateComponentCommand.ts
2474
2512
 
2475
2513
 
2476
2514
 
2477
- var _UpdateComponentCommand = class _UpdateComponentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2515
+ var UpdateComponentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2478
2516
  return [
2479
2517
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2480
2518
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2481
2519
  ];
2482
2520
  }).s("AmplifyUIBuilder", "UpdateComponent", {}).n("AmplifyUIBuilderClient", "UpdateComponentCommand").f(void 0, void 0).ser(se_UpdateComponentCommand).de(de_UpdateComponentCommand).build() {
2521
+ static {
2522
+ __name(this, "UpdateComponentCommand");
2523
+ }
2483
2524
  };
2484
- __name(_UpdateComponentCommand, "UpdateComponentCommand");
2485
- var UpdateComponentCommand = _UpdateComponentCommand;
2486
2525
 
2487
2526
  // src/commands/UpdateFormCommand.ts
2488
2527
 
2489
2528
 
2490
2529
 
2491
- var _UpdateFormCommand = class _UpdateFormCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2530
+ var UpdateFormCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2492
2531
  return [
2493
2532
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2494
2533
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2495
2534
  ];
2496
2535
  }).s("AmplifyUIBuilder", "UpdateForm", {}).n("AmplifyUIBuilderClient", "UpdateFormCommand").f(void 0, void 0).ser(se_UpdateFormCommand).de(de_UpdateFormCommand).build() {
2536
+ static {
2537
+ __name(this, "UpdateFormCommand");
2538
+ }
2497
2539
  };
2498
- __name(_UpdateFormCommand, "UpdateFormCommand");
2499
- var UpdateFormCommand = _UpdateFormCommand;
2500
2540
 
2501
2541
  // src/commands/UpdateThemeCommand.ts
2502
2542
 
2503
2543
 
2504
2544
 
2505
- var _UpdateThemeCommand = class _UpdateThemeCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2545
+ var UpdateThemeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2506
2546
  return [
2507
2547
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2508
2548
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2509
2549
  ];
2510
2550
  }).s("AmplifyUIBuilder", "UpdateTheme", {}).n("AmplifyUIBuilderClient", "UpdateThemeCommand").f(void 0, void 0).ser(se_UpdateThemeCommand).de(de_UpdateThemeCommand).build() {
2551
+ static {
2552
+ __name(this, "UpdateThemeCommand");
2553
+ }
2511
2554
  };
2512
- __name(_UpdateThemeCommand, "UpdateThemeCommand");
2513
- var UpdateThemeCommand = _UpdateThemeCommand;
2514
2555
 
2515
2556
  // src/AmplifyUIBuilder.ts
2516
2557
  var commands = {
@@ -2543,10 +2584,11 @@ var commands = {
2543
2584
  UpdateFormCommand,
2544
2585
  UpdateThemeCommand
2545
2586
  };
2546
- var _AmplifyUIBuilder = class _AmplifyUIBuilder extends AmplifyUIBuilderClient {
2587
+ var AmplifyUIBuilder = class extends AmplifyUIBuilderClient {
2588
+ static {
2589
+ __name(this, "AmplifyUIBuilder");
2590
+ }
2547
2591
  };
2548
- __name(_AmplifyUIBuilder, "AmplifyUIBuilder");
2549
- var AmplifyUIBuilder = _AmplifyUIBuilder;
2550
2592
  (0, import_smithy_client.createAggregatedClient)(commands, AmplifyUIBuilder);
2551
2593
 
2552
2594
  // src/pagination/ExportComponentsPaginator.ts
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class AmplifyUIBuilderClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -66,50 +66,50 @@ export const CodegenJobStatus = {
66
66
  SUCCEEDED: "succeeded",
67
67
  };
68
68
  export class InternalServerException extends __BaseException {
69
+ name = "InternalServerException";
70
+ $fault = "server";
69
71
  constructor(opts) {
70
72
  super({
71
73
  name: "InternalServerException",
72
74
  $fault: "server",
73
75
  ...opts,
74
76
  });
75
- this.name = "InternalServerException";
76
- this.$fault = "server";
77
77
  Object.setPrototypeOf(this, InternalServerException.prototype);
78
78
  }
79
79
  }
80
80
  export class InvalidParameterException extends __BaseException {
81
+ name = "InvalidParameterException";
82
+ $fault = "client";
81
83
  constructor(opts) {
82
84
  super({
83
85
  name: "InvalidParameterException",
84
86
  $fault: "client",
85
87
  ...opts,
86
88
  });
87
- this.name = "InvalidParameterException";
88
- this.$fault = "client";
89
89
  Object.setPrototypeOf(this, InvalidParameterException.prototype);
90
90
  }
91
91
  }
92
92
  export class ResourceNotFoundException extends __BaseException {
93
+ name = "ResourceNotFoundException";
94
+ $fault = "client";
93
95
  constructor(opts) {
94
96
  super({
95
97
  name: "ResourceNotFoundException",
96
98
  $fault: "client",
97
99
  ...opts,
98
100
  });
99
- this.name = "ResourceNotFoundException";
100
- this.$fault = "client";
101
101
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
102
102
  }
103
103
  }
104
104
  export class ThrottlingException extends __BaseException {
105
+ name = "ThrottlingException";
106
+ $fault = "client";
105
107
  constructor(opts) {
106
108
  super({
107
109
  name: "ThrottlingException",
108
110
  $fault: "client",
109
111
  ...opts,
110
112
  });
111
- this.name = "ThrottlingException";
112
- this.$fault = "client";
113
113
  Object.setPrototypeOf(this, ThrottlingException.prototype);
114
114
  }
115
115
  }
@@ -118,26 +118,26 @@ export const SortDirection = {
118
118
  DESC: "DESC",
119
119
  };
120
120
  export class ResourceConflictException extends __BaseException {
121
+ name = "ResourceConflictException";
122
+ $fault = "client";
121
123
  constructor(opts) {
122
124
  super({
123
125
  name: "ResourceConflictException",
124
126
  $fault: "client",
125
127
  ...opts,
126
128
  });
127
- this.name = "ResourceConflictException";
128
- this.$fault = "client";
129
129
  Object.setPrototypeOf(this, ResourceConflictException.prototype);
130
130
  }
131
131
  }
132
132
  export class ServiceQuotaExceededException extends __BaseException {
133
+ name = "ServiceQuotaExceededException";
134
+ $fault = "client";
133
135
  constructor(opts) {
134
136
  super({
135
137
  name: "ServiceQuotaExceededException",
136
138
  $fault: "client",
137
139
  ...opts,
138
140
  });
139
- this.name = "ServiceQuotaExceededException";
140
- this.$fault = "client";
141
141
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
142
142
  }
143
143
  }
@@ -193,14 +193,14 @@ export var FormStyleConfig;
193
193
  };
194
194
  })(FormStyleConfig || (FormStyleConfig = {}));
195
195
  export class UnauthorizedException extends __BaseException {
196
+ name = "UnauthorizedException";
197
+ $fault = "client";
196
198
  constructor(opts) {
197
199
  super({
198
200
  name: "UnauthorizedException",
199
201
  $fault: "client",
200
202
  ...opts,
201
203
  });
202
- this.name = "UnauthorizedException";
203
- this.$fault = "client";
204
204
  Object.setPrototypeOf(this, UnauthorizedException.prototype);
205
205
  }
206
206
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: AmplifyUIBuilderClientConfig) =>
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: AmplifyUIBuilderClientConfig) =>
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: AmplifyUIBuilderClientConfig) =>
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: AmplifyUIBuilderClientConfig) =>
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -8,9 +8,11 @@ export declare const getRuntimeConfig: (
8
8
  import("@smithy/smithy-client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (
12
- input: any
13
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ _: unknown
15
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
16
  defaultUserAgentProvider: (
15
17
  config?:
16
18
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -8,13 +8,15 @@ export declare const getRuntimeConfig: (
8
8
  import("@smithy/smithy-client").ResolvedDefaultsMode
9
9
  >;
10
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
- >;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ init?:
15
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
16
+ | undefined
17
+ ) => import("@smithy/types").MemoizedProvider<
18
+ import("@smithy/types").AwsCredentialIdentity
19
+ >);
18
20
  defaultUserAgentProvider: (
19
21
  config?:
20
22
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -30,9 +30,11 @@ export declare const getRuntimeConfig: (
30
30
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
31
31
  | undefined
32
32
  ) => Promise<import("@smithy/types").UserAgent>;
33
- credentialDefaultProvider: (
34
- input: any
35
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
33
+ credentialDefaultProvider:
34
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
35
+ | ((
36
+ _: unknown
37
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
36
38
  maxAttempts: number | import("@smithy/types").Provider<number>;
37
39
  retryMode: string | import("@smithy/types").Provider<string>;
38
40
  logger: import("@smithy/types").Logger;
@@ -52,11 +54,21 @@ export declare const getRuntimeConfig: (
52
54
  | import("@smithy/types").RetryStrategyV2
53
55
  | undefined;
54
56
  endpoint?:
55
- | string
56
- | import("@smithy/types").Endpoint
57
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
58
- | import("@smithy/types").EndpointV2
59
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
57
+ | ((
58
+ | string
59
+ | import("@smithy/types").Endpoint
60
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
61
+ | import("@smithy/types").EndpointV2
62
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
63
+ ) &
64
+ (
65
+ | string
66
+ | import("@smithy/types").Provider<string>
67
+ | import("@smithy/types").Endpoint
68
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
69
+ | import("@smithy/types").EndpointV2
70
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
71
+ ))
60
72
  | undefined;
61
73
  endpointProvider: (
62
74
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-amplifyuibuilder",
3
3
  "description": "AWS SDK for JavaScript Amplifyuibuilder Client for Node.js, Browser and React Native",
4
- "version": "3.721.0",
4
+ "version": "3.723.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-amplifyuibuilder",
@@ -20,58 +20,58 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.721.0",
24
- "@aws-sdk/client-sts": "3.721.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.721.0",
27
- "@aws-sdk/middleware-host-header": "3.714.0",
28
- "@aws-sdk/middleware-logger": "3.714.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.721.0",
31
- "@aws-sdk/region-config-resolver": "3.714.0",
32
- "@aws-sdk/types": "3.714.0",
33
- "@aws-sdk/util-endpoints": "3.714.0",
34
- "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.721.0",
36
- "@smithy/config-resolver": "^3.0.13",
37
- "@smithy/core": "^2.5.5",
38
- "@smithy/fetch-http-handler": "^4.1.2",
39
- "@smithy/hash-node": "^3.0.11",
40
- "@smithy/invalid-dependency": "^3.0.11",
41
- "@smithy/middleware-content-length": "^3.0.13",
42
- "@smithy/middleware-endpoint": "^3.2.6",
43
- "@smithy/middleware-retry": "^3.0.31",
44
- "@smithy/middleware-serde": "^3.0.11",
45
- "@smithy/middleware-stack": "^3.0.11",
46
- "@smithy/node-config-provider": "^3.1.12",
47
- "@smithy/node-http-handler": "^3.3.2",
48
- "@smithy/protocol-http": "^4.1.8",
49
- "@smithy/smithy-client": "^3.5.1",
50
- "@smithy/types": "^3.7.2",
51
- "@smithy/url-parser": "^3.0.11",
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.31",
56
- "@smithy/util-defaults-mode-node": "^3.0.31",
57
- "@smithy/util-endpoints": "^2.1.7",
58
- "@smithy/util-middleware": "^3.0.11",
59
- "@smithy/util-retry": "^3.0.11",
60
- "@smithy/util-utf8": "^3.0.0",
23
+ "@aws-sdk/client-sso-oidc": "3.723.0",
24
+ "@aws-sdk/client-sts": "3.723.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.723.0",
27
+ "@aws-sdk/middleware-host-header": "3.723.0",
28
+ "@aws-sdk/middleware-logger": "3.723.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.723.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.723.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.723.0",
36
+ "@smithy/config-resolver": "^4.0.0",
37
+ "@smithy/core": "^3.0.0",
38
+ "@smithy/fetch-http-handler": "^5.0.0",
39
+ "@smithy/hash-node": "^4.0.0",
40
+ "@smithy/invalid-dependency": "^4.0.0",
41
+ "@smithy/middleware-content-length": "^4.0.0",
42
+ "@smithy/middleware-endpoint": "^4.0.0",
43
+ "@smithy/middleware-retry": "^4.0.0",
44
+ "@smithy/middleware-serde": "^4.0.0",
45
+ "@smithy/middleware-stack": "^4.0.0",
46
+ "@smithy/node-config-provider": "^4.0.0",
47
+ "@smithy/node-http-handler": "^4.0.0",
48
+ "@smithy/protocol-http": "^5.0.0",
49
+ "@smithy/smithy-client": "^4.0.0",
50
+ "@smithy/types": "^4.0.0",
51
+ "@smithy/url-parser": "^4.0.0",
52
+ "@smithy/util-base64": "^4.0.0",
53
+ "@smithy/util-body-length-browser": "^4.0.0",
54
+ "@smithy/util-body-length-node": "^4.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
56
+ "@smithy/util-defaults-mode-node": "^4.0.0",
57
+ "@smithy/util-endpoints": "^3.0.0",
58
+ "@smithy/util-middleware": "^4.0.0",
59
+ "@smithy/util-retry": "^4.0.0",
60
+ "@smithy/util-utf8": "^4.0.0",
61
61
  "@types/uuid": "^9.0.1",
62
62
  "tslib": "^2.6.2",
63
63
  "uuid": "^9.0.1"
64
64
  },
65
65
  "devDependencies": {
66
- "@tsconfig/node16": "16.1.3",
67
- "@types/node": "^16.18.96",
66
+ "@tsconfig/node18": "18.2.4",
67
+ "@types/node": "^18.19.69",
68
68
  "concurrently": "7.0.0",
69
69
  "downlevel-dts": "0.10.1",
70
70
  "rimraf": "3.0.2",
71
- "typescript": "~4.9.5"
71
+ "typescript": "~5.2.2"
72
72
  },
73
73
  "engines": {
74
- "node": ">=16.0.0"
74
+ "node": ">=18.0.0"
75
75
  },
76
76
  "typesVersions": {
77
77
  "<4.0": {