@aws-sdk/client-amplifybackend 3.721.0 → 3.726.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
@@ -193,7 +193,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
193
193
  }, "resolveRuntimeExtensions");
194
194
 
195
195
  // src/AmplifyBackendClient.ts
196
- var _AmplifyBackendClient = class _AmplifyBackendClient extends import_smithy_client.Client {
196
+ var AmplifyBackendClient = class extends import_smithy_client.Client {
197
+ static {
198
+ __name(this, "AmplifyBackendClient");
199
+ }
200
+ /**
201
+ * The resolved configuration of AmplifyBackendClient class. This is resolved and normalized from the {@link AmplifyBackendClientConfig | constructor configuration interface}.
202
+ */
203
+ config;
197
204
  constructor(...[configuration]) {
198
205
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
199
206
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -203,7 +210,7 @@ var _AmplifyBackendClient = class _AmplifyBackendClient extends import_smithy_cl
203
210
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
204
211
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
205
212
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
206
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
213
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
207
214
  super(_config_8);
208
215
  this.config = _config_8;
209
216
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -231,8 +238,6 @@ var _AmplifyBackendClient = class _AmplifyBackendClient extends import_smithy_cl
231
238
  super.destroy();
232
239
  }
233
240
  };
234
- __name(_AmplifyBackendClient, "AmplifyBackendClient");
235
- var AmplifyBackendClient = _AmplifyBackendClient;
236
241
 
237
242
  // src/AmplifyBackend.ts
238
243
 
@@ -249,7 +254,10 @@ var import_core2 = require("@aws-sdk/core");
249
254
 
250
255
  // src/models/AmplifyBackendServiceException.ts
251
256
 
252
- var _AmplifyBackendServiceException = class _AmplifyBackendServiceException extends import_smithy_client.ServiceException {
257
+ var AmplifyBackendServiceException = class _AmplifyBackendServiceException extends import_smithy_client.ServiceException {
258
+ static {
259
+ __name(this, "AmplifyBackendServiceException");
260
+ }
253
261
  /**
254
262
  * @internal
255
263
  */
@@ -258,8 +266,6 @@ var _AmplifyBackendServiceException = class _AmplifyBackendServiceException exte
258
266
  Object.setPrototypeOf(this, _AmplifyBackendServiceException.prototype);
259
267
  }
260
268
  };
261
- __name(_AmplifyBackendServiceException, "AmplifyBackendServiceException");
262
- var AmplifyBackendServiceException = _AmplifyBackendServiceException;
263
269
 
264
270
  // src/models/models_0.ts
265
271
 
@@ -269,7 +275,17 @@ var AdditionalConstraintsElement = {
269
275
  REQUIRE_SYMBOL: "REQUIRE_SYMBOL",
270
276
  REQUIRE_UPPERCASE: "REQUIRE_UPPERCASE"
271
277
  };
272
- var _BadRequestException = class _BadRequestException extends AmplifyBackendServiceException {
278
+ var BadRequestException = class _BadRequestException extends AmplifyBackendServiceException {
279
+ static {
280
+ __name(this, "BadRequestException");
281
+ }
282
+ name = "BadRequestException";
283
+ $fault = "client";
284
+ /**
285
+ * <p>An error message to inform that the request failed.</p>
286
+ * @public
287
+ */
288
+ Message;
273
289
  /**
274
290
  * @internal
275
291
  */
@@ -279,15 +295,21 @@ var _BadRequestException = class _BadRequestException extends AmplifyBackendServ
279
295
  $fault: "client",
280
296
  ...opts
281
297
  });
282
- this.name = "BadRequestException";
283
- this.$fault = "client";
284
298
  Object.setPrototypeOf(this, _BadRequestException.prototype);
285
299
  this.Message = opts.Message;
286
300
  }
287
301
  };
288
- __name(_BadRequestException, "BadRequestException");
289
- var BadRequestException = _BadRequestException;
290
- var _GatewayTimeoutException = class _GatewayTimeoutException extends AmplifyBackendServiceException {
302
+ var GatewayTimeoutException = class _GatewayTimeoutException extends AmplifyBackendServiceException {
303
+ static {
304
+ __name(this, "GatewayTimeoutException");
305
+ }
306
+ name = "GatewayTimeoutException";
307
+ $fault = "server";
308
+ /**
309
+ * <p>An error message to inform that the request failed.</p>
310
+ * @public
311
+ */
312
+ Message;
291
313
  /**
292
314
  * @internal
293
315
  */
@@ -297,15 +319,26 @@ var _GatewayTimeoutException = class _GatewayTimeoutException extends AmplifyBac
297
319
  $fault: "server",
298
320
  ...opts
299
321
  });
300
- this.name = "GatewayTimeoutException";
301
- this.$fault = "server";
302
322
  Object.setPrototypeOf(this, _GatewayTimeoutException.prototype);
303
323
  this.Message = opts.Message;
304
324
  }
305
325
  };
306
- __name(_GatewayTimeoutException, "GatewayTimeoutException");
307
- var GatewayTimeoutException = _GatewayTimeoutException;
308
- var _NotFoundException = class _NotFoundException extends AmplifyBackendServiceException {
326
+ var NotFoundException = class _NotFoundException extends AmplifyBackendServiceException {
327
+ static {
328
+ __name(this, "NotFoundException");
329
+ }
330
+ name = "NotFoundException";
331
+ $fault = "client";
332
+ /**
333
+ * <p>An error message to inform that the request has failed.</p>
334
+ * @public
335
+ */
336
+ Message;
337
+ /**
338
+ * <p>The type of resource that is not found.</p>
339
+ * @public
340
+ */
341
+ ResourceType;
309
342
  /**
310
343
  * @internal
311
344
  */
@@ -315,16 +348,27 @@ var _NotFoundException = class _NotFoundException extends AmplifyBackendServiceE
315
348
  $fault: "client",
316
349
  ...opts
317
350
  });
318
- this.name = "NotFoundException";
319
- this.$fault = "client";
320
351
  Object.setPrototypeOf(this, _NotFoundException.prototype);
321
352
  this.Message = opts.Message;
322
353
  this.ResourceType = opts.ResourceType;
323
354
  }
324
355
  };
325
- __name(_NotFoundException, "NotFoundException");
326
- var NotFoundException = _NotFoundException;
327
- var _TooManyRequestsException = class _TooManyRequestsException extends AmplifyBackendServiceException {
356
+ var TooManyRequestsException = class _TooManyRequestsException extends AmplifyBackendServiceException {
357
+ static {
358
+ __name(this, "TooManyRequestsException");
359
+ }
360
+ name = "TooManyRequestsException";
361
+ $fault = "client";
362
+ /**
363
+ * <p>The type of limit that was exceeded.</p>
364
+ * @public
365
+ */
366
+ LimitType;
367
+ /**
368
+ * <p>An error message to inform that the request has failed.</p>
369
+ * @public
370
+ */
371
+ Message;
328
372
  /**
329
373
  * @internal
330
374
  */
@@ -334,15 +378,11 @@ var _TooManyRequestsException = class _TooManyRequestsException extends AmplifyB
334
378
  $fault: "client",
335
379
  ...opts
336
380
  });
337
- this.name = "TooManyRequestsException";
338
- this.$fault = "client";
339
381
  Object.setPrototypeOf(this, _TooManyRequestsException.prototype);
340
382
  this.LimitType = opts.LimitType;
341
383
  this.Message = opts.Message;
342
384
  }
343
385
  };
344
- __name(_TooManyRequestsException, "TooManyRequestsException");
345
- var TooManyRequestsException = _TooManyRequestsException;
346
386
  var Mode = {
347
387
  AMAZON_COGNITO_USER_POOLS: "AMAZON_COGNITO_USER_POOLS",
348
388
  API_KEY: "API_KEY",
@@ -2087,435 +2127,466 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
2087
2127
  }), "deserializeMetadata");
2088
2128
 
2089
2129
  // src/commands/CloneBackendCommand.ts
2090
- var _CloneBackendCommand = class _CloneBackendCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2130
+ var CloneBackendCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2091
2131
  return [
2092
2132
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2093
2133
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2094
2134
  ];
2095
2135
  }).s("AmplifyBackend", "CloneBackend", {}).n("AmplifyBackendClient", "CloneBackendCommand").f(void 0, void 0).ser(se_CloneBackendCommand).de(de_CloneBackendCommand).build() {
2136
+ static {
2137
+ __name(this, "CloneBackendCommand");
2138
+ }
2096
2139
  };
2097
- __name(_CloneBackendCommand, "CloneBackendCommand");
2098
- var CloneBackendCommand = _CloneBackendCommand;
2099
2140
 
2100
2141
  // src/commands/CreateBackendAPICommand.ts
2101
2142
 
2102
2143
 
2103
2144
 
2104
- var _CreateBackendAPICommand = class _CreateBackendAPICommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2145
+ var CreateBackendAPICommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2105
2146
  return [
2106
2147
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2107
2148
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2108
2149
  ];
2109
2150
  }).s("AmplifyBackend", "CreateBackendAPI", {}).n("AmplifyBackendClient", "CreateBackendAPICommand").f(void 0, void 0).ser(se_CreateBackendAPICommand).de(de_CreateBackendAPICommand).build() {
2151
+ static {
2152
+ __name(this, "CreateBackendAPICommand");
2153
+ }
2110
2154
  };
2111
- __name(_CreateBackendAPICommand, "CreateBackendAPICommand");
2112
- var CreateBackendAPICommand = _CreateBackendAPICommand;
2113
2155
 
2114
2156
  // src/commands/CreateBackendAuthCommand.ts
2115
2157
 
2116
2158
 
2117
2159
 
2118
- var _CreateBackendAuthCommand = class _CreateBackendAuthCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2160
+ var CreateBackendAuthCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2119
2161
  return [
2120
2162
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2121
2163
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2122
2164
  ];
2123
2165
  }).s("AmplifyBackend", "CreateBackendAuth", {}).n("AmplifyBackendClient", "CreateBackendAuthCommand").f(CreateBackendAuthRequestFilterSensitiveLog, void 0).ser(se_CreateBackendAuthCommand).de(de_CreateBackendAuthCommand).build() {
2166
+ static {
2167
+ __name(this, "CreateBackendAuthCommand");
2168
+ }
2124
2169
  };
2125
- __name(_CreateBackendAuthCommand, "CreateBackendAuthCommand");
2126
- var CreateBackendAuthCommand = _CreateBackendAuthCommand;
2127
2170
 
2128
2171
  // src/commands/CreateBackendCommand.ts
2129
2172
 
2130
2173
 
2131
2174
 
2132
- var _CreateBackendCommand = class _CreateBackendCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2175
+ var CreateBackendCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2133
2176
  return [
2134
2177
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2135
2178
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2136
2179
  ];
2137
2180
  }).s("AmplifyBackend", "CreateBackend", {}).n("AmplifyBackendClient", "CreateBackendCommand").f(void 0, void 0).ser(se_CreateBackendCommand).de(de_CreateBackendCommand).build() {
2181
+ static {
2182
+ __name(this, "CreateBackendCommand");
2183
+ }
2138
2184
  };
2139
- __name(_CreateBackendCommand, "CreateBackendCommand");
2140
- var CreateBackendCommand = _CreateBackendCommand;
2141
2185
 
2142
2186
  // src/commands/CreateBackendConfigCommand.ts
2143
2187
 
2144
2188
 
2145
2189
 
2146
- var _CreateBackendConfigCommand = class _CreateBackendConfigCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2190
+ var CreateBackendConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2147
2191
  return [
2148
2192
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2149
2193
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2150
2194
  ];
2151
2195
  }).s("AmplifyBackend", "CreateBackendConfig", {}).n("AmplifyBackendClient", "CreateBackendConfigCommand").f(void 0, void 0).ser(se_CreateBackendConfigCommand).de(de_CreateBackendConfigCommand).build() {
2196
+ static {
2197
+ __name(this, "CreateBackendConfigCommand");
2198
+ }
2152
2199
  };
2153
- __name(_CreateBackendConfigCommand, "CreateBackendConfigCommand");
2154
- var CreateBackendConfigCommand = _CreateBackendConfigCommand;
2155
2200
 
2156
2201
  // src/commands/CreateBackendStorageCommand.ts
2157
2202
 
2158
2203
 
2159
2204
 
2160
- var _CreateBackendStorageCommand = class _CreateBackendStorageCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2205
+ var CreateBackendStorageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2161
2206
  return [
2162
2207
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2163
2208
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2164
2209
  ];
2165
2210
  }).s("AmplifyBackend", "CreateBackendStorage", {}).n("AmplifyBackendClient", "CreateBackendStorageCommand").f(void 0, void 0).ser(se_CreateBackendStorageCommand).de(de_CreateBackendStorageCommand).build() {
2211
+ static {
2212
+ __name(this, "CreateBackendStorageCommand");
2213
+ }
2166
2214
  };
2167
- __name(_CreateBackendStorageCommand, "CreateBackendStorageCommand");
2168
- var CreateBackendStorageCommand = _CreateBackendStorageCommand;
2169
2215
 
2170
2216
  // src/commands/CreateTokenCommand.ts
2171
2217
 
2172
2218
 
2173
2219
 
2174
- var _CreateTokenCommand = class _CreateTokenCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2220
+ var CreateTokenCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2175
2221
  return [
2176
2222
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2177
2223
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2178
2224
  ];
2179
2225
  }).s("AmplifyBackend", "CreateToken", {}).n("AmplifyBackendClient", "CreateTokenCommand").f(void 0, void 0).ser(se_CreateTokenCommand).de(de_CreateTokenCommand).build() {
2226
+ static {
2227
+ __name(this, "CreateTokenCommand");
2228
+ }
2180
2229
  };
2181
- __name(_CreateTokenCommand, "CreateTokenCommand");
2182
- var CreateTokenCommand = _CreateTokenCommand;
2183
2230
 
2184
2231
  // src/commands/DeleteBackendAPICommand.ts
2185
2232
 
2186
2233
 
2187
2234
 
2188
- var _DeleteBackendAPICommand = class _DeleteBackendAPICommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2235
+ var DeleteBackendAPICommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2189
2236
  return [
2190
2237
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2191
2238
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2192
2239
  ];
2193
2240
  }).s("AmplifyBackend", "DeleteBackendAPI", {}).n("AmplifyBackendClient", "DeleteBackendAPICommand").f(void 0, void 0).ser(se_DeleteBackendAPICommand).de(de_DeleteBackendAPICommand).build() {
2241
+ static {
2242
+ __name(this, "DeleteBackendAPICommand");
2243
+ }
2194
2244
  };
2195
- __name(_DeleteBackendAPICommand, "DeleteBackendAPICommand");
2196
- var DeleteBackendAPICommand = _DeleteBackendAPICommand;
2197
2245
 
2198
2246
  // src/commands/DeleteBackendAuthCommand.ts
2199
2247
 
2200
2248
 
2201
2249
 
2202
- var _DeleteBackendAuthCommand = class _DeleteBackendAuthCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2250
+ var DeleteBackendAuthCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2203
2251
  return [
2204
2252
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2205
2253
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2206
2254
  ];
2207
2255
  }).s("AmplifyBackend", "DeleteBackendAuth", {}).n("AmplifyBackendClient", "DeleteBackendAuthCommand").f(void 0, void 0).ser(se_DeleteBackendAuthCommand).de(de_DeleteBackendAuthCommand).build() {
2256
+ static {
2257
+ __name(this, "DeleteBackendAuthCommand");
2258
+ }
2208
2259
  };
2209
- __name(_DeleteBackendAuthCommand, "DeleteBackendAuthCommand");
2210
- var DeleteBackendAuthCommand = _DeleteBackendAuthCommand;
2211
2260
 
2212
2261
  // src/commands/DeleteBackendCommand.ts
2213
2262
 
2214
2263
 
2215
2264
 
2216
- var _DeleteBackendCommand = class _DeleteBackendCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2265
+ var DeleteBackendCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2217
2266
  return [
2218
2267
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2219
2268
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2220
2269
  ];
2221
2270
  }).s("AmplifyBackend", "DeleteBackend", {}).n("AmplifyBackendClient", "DeleteBackendCommand").f(void 0, void 0).ser(se_DeleteBackendCommand).de(de_DeleteBackendCommand).build() {
2271
+ static {
2272
+ __name(this, "DeleteBackendCommand");
2273
+ }
2222
2274
  };
2223
- __name(_DeleteBackendCommand, "DeleteBackendCommand");
2224
- var DeleteBackendCommand = _DeleteBackendCommand;
2225
2275
 
2226
2276
  // src/commands/DeleteBackendStorageCommand.ts
2227
2277
 
2228
2278
 
2229
2279
 
2230
- var _DeleteBackendStorageCommand = class _DeleteBackendStorageCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2280
+ var DeleteBackendStorageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2231
2281
  return [
2232
2282
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2233
2283
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2234
2284
  ];
2235
2285
  }).s("AmplifyBackend", "DeleteBackendStorage", {}).n("AmplifyBackendClient", "DeleteBackendStorageCommand").f(void 0, void 0).ser(se_DeleteBackendStorageCommand).de(de_DeleteBackendStorageCommand).build() {
2286
+ static {
2287
+ __name(this, "DeleteBackendStorageCommand");
2288
+ }
2236
2289
  };
2237
- __name(_DeleteBackendStorageCommand, "DeleteBackendStorageCommand");
2238
- var DeleteBackendStorageCommand = _DeleteBackendStorageCommand;
2239
2290
 
2240
2291
  // src/commands/DeleteTokenCommand.ts
2241
2292
 
2242
2293
 
2243
2294
 
2244
- var _DeleteTokenCommand = class _DeleteTokenCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2295
+ var DeleteTokenCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2245
2296
  return [
2246
2297
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2247
2298
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2248
2299
  ];
2249
2300
  }).s("AmplifyBackend", "DeleteToken", {}).n("AmplifyBackendClient", "DeleteTokenCommand").f(void 0, void 0).ser(se_DeleteTokenCommand).de(de_DeleteTokenCommand).build() {
2301
+ static {
2302
+ __name(this, "DeleteTokenCommand");
2303
+ }
2250
2304
  };
2251
- __name(_DeleteTokenCommand, "DeleteTokenCommand");
2252
- var DeleteTokenCommand = _DeleteTokenCommand;
2253
2305
 
2254
2306
  // src/commands/GenerateBackendAPIModelsCommand.ts
2255
2307
 
2256
2308
 
2257
2309
 
2258
- var _GenerateBackendAPIModelsCommand = class _GenerateBackendAPIModelsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2310
+ var GenerateBackendAPIModelsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2259
2311
  return [
2260
2312
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2261
2313
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2262
2314
  ];
2263
2315
  }).s("AmplifyBackend", "GenerateBackendAPIModels", {}).n("AmplifyBackendClient", "GenerateBackendAPIModelsCommand").f(void 0, void 0).ser(se_GenerateBackendAPIModelsCommand).de(de_GenerateBackendAPIModelsCommand).build() {
2316
+ static {
2317
+ __name(this, "GenerateBackendAPIModelsCommand");
2318
+ }
2264
2319
  };
2265
- __name(_GenerateBackendAPIModelsCommand, "GenerateBackendAPIModelsCommand");
2266
- var GenerateBackendAPIModelsCommand = _GenerateBackendAPIModelsCommand;
2267
2320
 
2268
2321
  // src/commands/GetBackendAPICommand.ts
2269
2322
 
2270
2323
 
2271
2324
 
2272
- var _GetBackendAPICommand = class _GetBackendAPICommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2325
+ var GetBackendAPICommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2273
2326
  return [
2274
2327
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2275
2328
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2276
2329
  ];
2277
2330
  }).s("AmplifyBackend", "GetBackendAPI", {}).n("AmplifyBackendClient", "GetBackendAPICommand").f(void 0, void 0).ser(se_GetBackendAPICommand).de(de_GetBackendAPICommand).build() {
2331
+ static {
2332
+ __name(this, "GetBackendAPICommand");
2333
+ }
2278
2334
  };
2279
- __name(_GetBackendAPICommand, "GetBackendAPICommand");
2280
- var GetBackendAPICommand = _GetBackendAPICommand;
2281
2335
 
2282
2336
  // src/commands/GetBackendAPIModelsCommand.ts
2283
2337
 
2284
2338
 
2285
2339
 
2286
- var _GetBackendAPIModelsCommand = class _GetBackendAPIModelsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2340
+ var GetBackendAPIModelsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2287
2341
  return [
2288
2342
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2289
2343
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2290
2344
  ];
2291
2345
  }).s("AmplifyBackend", "GetBackendAPIModels", {}).n("AmplifyBackendClient", "GetBackendAPIModelsCommand").f(void 0, void 0).ser(se_GetBackendAPIModelsCommand).de(de_GetBackendAPIModelsCommand).build() {
2346
+ static {
2347
+ __name(this, "GetBackendAPIModelsCommand");
2348
+ }
2292
2349
  };
2293
- __name(_GetBackendAPIModelsCommand, "GetBackendAPIModelsCommand");
2294
- var GetBackendAPIModelsCommand = _GetBackendAPIModelsCommand;
2295
2350
 
2296
2351
  // src/commands/GetBackendAuthCommand.ts
2297
2352
 
2298
2353
 
2299
2354
 
2300
- var _GetBackendAuthCommand = class _GetBackendAuthCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2355
+ var GetBackendAuthCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2301
2356
  return [
2302
2357
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2303
2358
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2304
2359
  ];
2305
2360
  }).s("AmplifyBackend", "GetBackendAuth", {}).n("AmplifyBackendClient", "GetBackendAuthCommand").f(void 0, GetBackendAuthResponseFilterSensitiveLog).ser(se_GetBackendAuthCommand).de(de_GetBackendAuthCommand).build() {
2361
+ static {
2362
+ __name(this, "GetBackendAuthCommand");
2363
+ }
2306
2364
  };
2307
- __name(_GetBackendAuthCommand, "GetBackendAuthCommand");
2308
- var GetBackendAuthCommand = _GetBackendAuthCommand;
2309
2365
 
2310
2366
  // src/commands/GetBackendCommand.ts
2311
2367
 
2312
2368
 
2313
2369
 
2314
- var _GetBackendCommand = class _GetBackendCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2370
+ var GetBackendCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2315
2371
  return [
2316
2372
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2317
2373
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2318
2374
  ];
2319
2375
  }).s("AmplifyBackend", "GetBackend", {}).n("AmplifyBackendClient", "GetBackendCommand").f(void 0, void 0).ser(se_GetBackendCommand).de(de_GetBackendCommand).build() {
2376
+ static {
2377
+ __name(this, "GetBackendCommand");
2378
+ }
2320
2379
  };
2321
- __name(_GetBackendCommand, "GetBackendCommand");
2322
- var GetBackendCommand = _GetBackendCommand;
2323
2380
 
2324
2381
  // src/commands/GetBackendJobCommand.ts
2325
2382
 
2326
2383
 
2327
2384
 
2328
- var _GetBackendJobCommand = class _GetBackendJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2385
+ var GetBackendJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2329
2386
  return [
2330
2387
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2331
2388
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2332
2389
  ];
2333
2390
  }).s("AmplifyBackend", "GetBackendJob", {}).n("AmplifyBackendClient", "GetBackendJobCommand").f(void 0, void 0).ser(se_GetBackendJobCommand).de(de_GetBackendJobCommand).build() {
2391
+ static {
2392
+ __name(this, "GetBackendJobCommand");
2393
+ }
2334
2394
  };
2335
- __name(_GetBackendJobCommand, "GetBackendJobCommand");
2336
- var GetBackendJobCommand = _GetBackendJobCommand;
2337
2395
 
2338
2396
  // src/commands/GetBackendStorageCommand.ts
2339
2397
 
2340
2398
 
2341
2399
 
2342
- var _GetBackendStorageCommand = class _GetBackendStorageCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2400
+ var GetBackendStorageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2343
2401
  return [
2344
2402
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2345
2403
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2346
2404
  ];
2347
2405
  }).s("AmplifyBackend", "GetBackendStorage", {}).n("AmplifyBackendClient", "GetBackendStorageCommand").f(void 0, void 0).ser(se_GetBackendStorageCommand).de(de_GetBackendStorageCommand).build() {
2406
+ static {
2407
+ __name(this, "GetBackendStorageCommand");
2408
+ }
2348
2409
  };
2349
- __name(_GetBackendStorageCommand, "GetBackendStorageCommand");
2350
- var GetBackendStorageCommand = _GetBackendStorageCommand;
2351
2410
 
2352
2411
  // src/commands/GetTokenCommand.ts
2353
2412
 
2354
2413
 
2355
2414
 
2356
- var _GetTokenCommand = class _GetTokenCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2415
+ var GetTokenCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2357
2416
  return [
2358
2417
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2359
2418
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2360
2419
  ];
2361
2420
  }).s("AmplifyBackend", "GetToken", {}).n("AmplifyBackendClient", "GetTokenCommand").f(void 0, void 0).ser(se_GetTokenCommand).de(de_GetTokenCommand).build() {
2421
+ static {
2422
+ __name(this, "GetTokenCommand");
2423
+ }
2362
2424
  };
2363
- __name(_GetTokenCommand, "GetTokenCommand");
2364
- var GetTokenCommand = _GetTokenCommand;
2365
2425
 
2366
2426
  // src/commands/ImportBackendAuthCommand.ts
2367
2427
 
2368
2428
 
2369
2429
 
2370
- var _ImportBackendAuthCommand = class _ImportBackendAuthCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2430
+ var ImportBackendAuthCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2371
2431
  return [
2372
2432
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2373
2433
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2374
2434
  ];
2375
2435
  }).s("AmplifyBackend", "ImportBackendAuth", {}).n("AmplifyBackendClient", "ImportBackendAuthCommand").f(void 0, void 0).ser(se_ImportBackendAuthCommand).de(de_ImportBackendAuthCommand).build() {
2436
+ static {
2437
+ __name(this, "ImportBackendAuthCommand");
2438
+ }
2376
2439
  };
2377
- __name(_ImportBackendAuthCommand, "ImportBackendAuthCommand");
2378
- var ImportBackendAuthCommand = _ImportBackendAuthCommand;
2379
2440
 
2380
2441
  // src/commands/ImportBackendStorageCommand.ts
2381
2442
 
2382
2443
 
2383
2444
 
2384
- var _ImportBackendStorageCommand = class _ImportBackendStorageCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2445
+ var ImportBackendStorageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2385
2446
  return [
2386
2447
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2387
2448
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2388
2449
  ];
2389
2450
  }).s("AmplifyBackend", "ImportBackendStorage", {}).n("AmplifyBackendClient", "ImportBackendStorageCommand").f(void 0, void 0).ser(se_ImportBackendStorageCommand).de(de_ImportBackendStorageCommand).build() {
2451
+ static {
2452
+ __name(this, "ImportBackendStorageCommand");
2453
+ }
2390
2454
  };
2391
- __name(_ImportBackendStorageCommand, "ImportBackendStorageCommand");
2392
- var ImportBackendStorageCommand = _ImportBackendStorageCommand;
2393
2455
 
2394
2456
  // src/commands/ListBackendJobsCommand.ts
2395
2457
 
2396
2458
 
2397
2459
 
2398
- var _ListBackendJobsCommand = class _ListBackendJobsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2460
+ var ListBackendJobsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2399
2461
  return [
2400
2462
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2401
2463
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2402
2464
  ];
2403
2465
  }).s("AmplifyBackend", "ListBackendJobs", {}).n("AmplifyBackendClient", "ListBackendJobsCommand").f(void 0, void 0).ser(se_ListBackendJobsCommand).de(de_ListBackendJobsCommand).build() {
2466
+ static {
2467
+ __name(this, "ListBackendJobsCommand");
2468
+ }
2404
2469
  };
2405
- __name(_ListBackendJobsCommand, "ListBackendJobsCommand");
2406
- var ListBackendJobsCommand = _ListBackendJobsCommand;
2407
2470
 
2408
2471
  // src/commands/ListS3BucketsCommand.ts
2409
2472
 
2410
2473
 
2411
2474
 
2412
- var _ListS3BucketsCommand = class _ListS3BucketsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2475
+ var ListS3BucketsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2413
2476
  return [
2414
2477
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2415
2478
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2416
2479
  ];
2417
2480
  }).s("AmplifyBackend", "ListS3Buckets", {}).n("AmplifyBackendClient", "ListS3BucketsCommand").f(void 0, void 0).ser(se_ListS3BucketsCommand).de(de_ListS3BucketsCommand).build() {
2481
+ static {
2482
+ __name(this, "ListS3BucketsCommand");
2483
+ }
2418
2484
  };
2419
- __name(_ListS3BucketsCommand, "ListS3BucketsCommand");
2420
- var ListS3BucketsCommand = _ListS3BucketsCommand;
2421
2485
 
2422
2486
  // src/commands/RemoveAllBackendsCommand.ts
2423
2487
 
2424
2488
 
2425
2489
 
2426
- var _RemoveAllBackendsCommand = class _RemoveAllBackendsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2490
+ var RemoveAllBackendsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2427
2491
  return [
2428
2492
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2429
2493
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2430
2494
  ];
2431
2495
  }).s("AmplifyBackend", "RemoveAllBackends", {}).n("AmplifyBackendClient", "RemoveAllBackendsCommand").f(void 0, void 0).ser(se_RemoveAllBackendsCommand).de(de_RemoveAllBackendsCommand).build() {
2496
+ static {
2497
+ __name(this, "RemoveAllBackendsCommand");
2498
+ }
2432
2499
  };
2433
- __name(_RemoveAllBackendsCommand, "RemoveAllBackendsCommand");
2434
- var RemoveAllBackendsCommand = _RemoveAllBackendsCommand;
2435
2500
 
2436
2501
  // src/commands/RemoveBackendConfigCommand.ts
2437
2502
 
2438
2503
 
2439
2504
 
2440
- var _RemoveBackendConfigCommand = class _RemoveBackendConfigCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2505
+ var RemoveBackendConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2441
2506
  return [
2442
2507
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2443
2508
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2444
2509
  ];
2445
2510
  }).s("AmplifyBackend", "RemoveBackendConfig", {}).n("AmplifyBackendClient", "RemoveBackendConfigCommand").f(void 0, void 0).ser(se_RemoveBackendConfigCommand).de(de_RemoveBackendConfigCommand).build() {
2511
+ static {
2512
+ __name(this, "RemoveBackendConfigCommand");
2513
+ }
2446
2514
  };
2447
- __name(_RemoveBackendConfigCommand, "RemoveBackendConfigCommand");
2448
- var RemoveBackendConfigCommand = _RemoveBackendConfigCommand;
2449
2515
 
2450
2516
  // src/commands/UpdateBackendAPICommand.ts
2451
2517
 
2452
2518
 
2453
2519
 
2454
- var _UpdateBackendAPICommand = class _UpdateBackendAPICommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2520
+ var UpdateBackendAPICommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2455
2521
  return [
2456
2522
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2457
2523
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2458
2524
  ];
2459
2525
  }).s("AmplifyBackend", "UpdateBackendAPI", {}).n("AmplifyBackendClient", "UpdateBackendAPICommand").f(void 0, void 0).ser(se_UpdateBackendAPICommand).de(de_UpdateBackendAPICommand).build() {
2526
+ static {
2527
+ __name(this, "UpdateBackendAPICommand");
2528
+ }
2460
2529
  };
2461
- __name(_UpdateBackendAPICommand, "UpdateBackendAPICommand");
2462
- var UpdateBackendAPICommand = _UpdateBackendAPICommand;
2463
2530
 
2464
2531
  // src/commands/UpdateBackendAuthCommand.ts
2465
2532
 
2466
2533
 
2467
2534
 
2468
- var _UpdateBackendAuthCommand = class _UpdateBackendAuthCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2535
+ var UpdateBackendAuthCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2469
2536
  return [
2470
2537
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2471
2538
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2472
2539
  ];
2473
2540
  }).s("AmplifyBackend", "UpdateBackendAuth", {}).n("AmplifyBackendClient", "UpdateBackendAuthCommand").f(UpdateBackendAuthRequestFilterSensitiveLog, void 0).ser(se_UpdateBackendAuthCommand).de(de_UpdateBackendAuthCommand).build() {
2541
+ static {
2542
+ __name(this, "UpdateBackendAuthCommand");
2543
+ }
2474
2544
  };
2475
- __name(_UpdateBackendAuthCommand, "UpdateBackendAuthCommand");
2476
- var UpdateBackendAuthCommand = _UpdateBackendAuthCommand;
2477
2545
 
2478
2546
  // src/commands/UpdateBackendConfigCommand.ts
2479
2547
 
2480
2548
 
2481
2549
 
2482
- var _UpdateBackendConfigCommand = class _UpdateBackendConfigCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2550
+ var UpdateBackendConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2483
2551
  return [
2484
2552
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2485
2553
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2486
2554
  ];
2487
2555
  }).s("AmplifyBackend", "UpdateBackendConfig", {}).n("AmplifyBackendClient", "UpdateBackendConfigCommand").f(void 0, void 0).ser(se_UpdateBackendConfigCommand).de(de_UpdateBackendConfigCommand).build() {
2556
+ static {
2557
+ __name(this, "UpdateBackendConfigCommand");
2558
+ }
2488
2559
  };
2489
- __name(_UpdateBackendConfigCommand, "UpdateBackendConfigCommand");
2490
- var UpdateBackendConfigCommand = _UpdateBackendConfigCommand;
2491
2560
 
2492
2561
  // src/commands/UpdateBackendJobCommand.ts
2493
2562
 
2494
2563
 
2495
2564
 
2496
- var _UpdateBackendJobCommand = class _UpdateBackendJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2565
+ var UpdateBackendJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2497
2566
  return [
2498
2567
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2499
2568
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2500
2569
  ];
2501
2570
  }).s("AmplifyBackend", "UpdateBackendJob", {}).n("AmplifyBackendClient", "UpdateBackendJobCommand").f(void 0, void 0).ser(se_UpdateBackendJobCommand).de(de_UpdateBackendJobCommand).build() {
2571
+ static {
2572
+ __name(this, "UpdateBackendJobCommand");
2573
+ }
2502
2574
  };
2503
- __name(_UpdateBackendJobCommand, "UpdateBackendJobCommand");
2504
- var UpdateBackendJobCommand = _UpdateBackendJobCommand;
2505
2575
 
2506
2576
  // src/commands/UpdateBackendStorageCommand.ts
2507
2577
 
2508
2578
 
2509
2579
 
2510
- var _UpdateBackendStorageCommand = class _UpdateBackendStorageCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2580
+ var UpdateBackendStorageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2511
2581
  return [
2512
2582
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2513
2583
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2514
2584
  ];
2515
2585
  }).s("AmplifyBackend", "UpdateBackendStorage", {}).n("AmplifyBackendClient", "UpdateBackendStorageCommand").f(void 0, void 0).ser(se_UpdateBackendStorageCommand).de(de_UpdateBackendStorageCommand).build() {
2586
+ static {
2587
+ __name(this, "UpdateBackendStorageCommand");
2588
+ }
2516
2589
  };
2517
- __name(_UpdateBackendStorageCommand, "UpdateBackendStorageCommand");
2518
- var UpdateBackendStorageCommand = _UpdateBackendStorageCommand;
2519
2590
 
2520
2591
  // src/AmplifyBackend.ts
2521
2592
  var commands = {
@@ -2551,10 +2622,11 @@ var commands = {
2551
2622
  UpdateBackendJobCommand,
2552
2623
  UpdateBackendStorageCommand
2553
2624
  };
2554
- var _AmplifyBackend = class _AmplifyBackend extends AmplifyBackendClient {
2625
+ var AmplifyBackend = class extends AmplifyBackendClient {
2626
+ static {
2627
+ __name(this, "AmplifyBackend");
2628
+ }
2555
2629
  };
2556
- __name(_AmplifyBackend, "AmplifyBackend");
2557
- var AmplifyBackend = _AmplifyBackend;
2558
2630
  (0, import_smithy_client.createAggregatedClient)(commands, AmplifyBackend);
2559
2631
  // Annotate the CommonJS export names for ESM import in node:
2560
2632
 
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class AmplifyBackendClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -7,54 +7,60 @@ export const AdditionalConstraintsElement = {
7
7
  REQUIRE_UPPERCASE: "REQUIRE_UPPERCASE",
8
8
  };
9
9
  export class BadRequestException extends __BaseException {
10
+ name = "BadRequestException";
11
+ $fault = "client";
12
+ Message;
10
13
  constructor(opts) {
11
14
  super({
12
15
  name: "BadRequestException",
13
16
  $fault: "client",
14
17
  ...opts,
15
18
  });
16
- this.name = "BadRequestException";
17
- this.$fault = "client";
18
19
  Object.setPrototypeOf(this, BadRequestException.prototype);
19
20
  this.Message = opts.Message;
20
21
  }
21
22
  }
22
23
  export class GatewayTimeoutException extends __BaseException {
24
+ name = "GatewayTimeoutException";
25
+ $fault = "server";
26
+ Message;
23
27
  constructor(opts) {
24
28
  super({
25
29
  name: "GatewayTimeoutException",
26
30
  $fault: "server",
27
31
  ...opts,
28
32
  });
29
- this.name = "GatewayTimeoutException";
30
- this.$fault = "server";
31
33
  Object.setPrototypeOf(this, GatewayTimeoutException.prototype);
32
34
  this.Message = opts.Message;
33
35
  }
34
36
  }
35
37
  export class NotFoundException extends __BaseException {
38
+ name = "NotFoundException";
39
+ $fault = "client";
40
+ Message;
41
+ ResourceType;
36
42
  constructor(opts) {
37
43
  super({
38
44
  name: "NotFoundException",
39
45
  $fault: "client",
40
46
  ...opts,
41
47
  });
42
- this.name = "NotFoundException";
43
- this.$fault = "client";
44
48
  Object.setPrototypeOf(this, NotFoundException.prototype);
45
49
  this.Message = opts.Message;
46
50
  this.ResourceType = opts.ResourceType;
47
51
  }
48
52
  }
49
53
  export class TooManyRequestsException extends __BaseException {
54
+ name = "TooManyRequestsException";
55
+ $fault = "client";
56
+ LimitType;
57
+ Message;
50
58
  constructor(opts) {
51
59
  super({
52
60
  name: "TooManyRequestsException",
53
61
  $fault: "client",
54
62
  ...opts,
55
63
  });
56
- this.name = "TooManyRequestsException";
57
- this.$fault = "client";
58
64
  Object.setPrototypeOf(this, TooManyRequestsException.prototype);
59
65
  this.LimitType = opts.LimitType;
60
66
  this.Message = opts.Message;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: AmplifyBackendClientConfig) => {
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: AmplifyBackendClientConfig) => {
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: AmplifyBackendClientConfig) => {
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: AmplifyBackendClientConfig) => {
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;
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: AmplifyBackendClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- input: any
11
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
14
  defaultUserAgentProvider: (
13
15
  config?:
14
16
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: AmplifyBackendClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- init?:
11
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
12
- | undefined
13
- ) => import("@smithy/types").MemoizedProvider<
14
- import("@smithy/types").AwsCredentialIdentity
15
- >;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ init?:
13
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
+ | undefined
15
+ ) => import("@smithy/types").MemoizedProvider<
16
+ import("@smithy/types").AwsCredentialIdentity
17
+ >);
16
18
  defaultUserAgentProvider: (
17
19
  config?:
18
20
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: AmplifyBackendClientConfig) => {
28
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
29
  | undefined
30
30
  ) => Promise<import("@smithy/types").UserAgent>;
31
- credentialDefaultProvider: (
32
- input: any
33
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
31
+ credentialDefaultProvider:
32
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
33
+ | ((
34
+ _: unknown
35
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
34
36
  maxAttempts: number | import("@smithy/types").Provider<number>;
35
37
  retryMode: string | import("@smithy/types").Provider<string>;
36
38
  logger: import("@smithy/types").Logger;
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: AmplifyBackendClientConfig) => {
50
52
  | import("@smithy/types").RetryStrategyV2
51
53
  | undefined;
52
54
  endpoint?:
53
- | string
54
- | import("@smithy/types").Endpoint
55
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
- | import("@smithy/types").EndpointV2
57
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
+ | ((
56
+ | string
57
+ | import("@smithy/types").Endpoint
58
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
59
+ | import("@smithy/types").EndpointV2
60
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
61
+ ) &
62
+ (
63
+ | string
64
+ | import("@smithy/types").Provider<string>
65
+ | import("@smithy/types").Endpoint
66
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
67
+ | import("@smithy/types").EndpointV2
68
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
69
+ ))
58
70
  | undefined;
59
71
  endpointProvider: (
60
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-amplifybackend",
3
3
  "description": "AWS SDK for JavaScript Amplifybackend Client for Node.js, Browser and React Native",
4
- "version": "3.721.0",
4
+ "version": "3.726.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-amplifybackend",
@@ -20,56 +20,56 @@
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.726.0",
24
+ "@aws-sdk/client-sts": "3.726.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.726.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.726.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.726.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.726.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
  "tslib": "^2.6.2"
62
62
  },
63
63
  "devDependencies": {
64
- "@tsconfig/node16": "16.1.3",
65
- "@types/node": "^16.18.96",
64
+ "@tsconfig/node18": "18.2.4",
65
+ "@types/node": "^18.19.69",
66
66
  "concurrently": "7.0.0",
67
67
  "downlevel-dts": "0.10.1",
68
68
  "rimraf": "3.0.2",
69
- "typescript": "~4.9.5"
69
+ "typescript": "~5.2.2"
70
70
  },
71
71
  "engines": {
72
- "node": ">=16.0.0"
72
+ "node": ">=18.0.0"
73
73
  },
74
74
  "typesVersions": {
75
75
  "<4.0": {