@aws-sdk/client-amplifybackend 3.928.0 → 3.929.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/dist-cjs/index.js +3547 -1864
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/AmplifyBackendClient.js +2 -0
  4. package/dist-es/commands/CloneBackendCommand.js +3 -9
  5. package/dist-es/commands/CreateBackendAPICommand.js +3 -9
  6. package/dist-es/commands/CreateBackendAuthCommand.js +3 -10
  7. package/dist-es/commands/CreateBackendCommand.js +3 -9
  8. package/dist-es/commands/CreateBackendConfigCommand.js +3 -9
  9. package/dist-es/commands/CreateBackendStorageCommand.js +3 -9
  10. package/dist-es/commands/CreateTokenCommand.js +3 -9
  11. package/dist-es/commands/DeleteBackendAPICommand.js +3 -9
  12. package/dist-es/commands/DeleteBackendAuthCommand.js +3 -9
  13. package/dist-es/commands/DeleteBackendCommand.js +3 -9
  14. package/dist-es/commands/DeleteBackendStorageCommand.js +3 -9
  15. package/dist-es/commands/DeleteTokenCommand.js +3 -9
  16. package/dist-es/commands/GenerateBackendAPIModelsCommand.js +3 -9
  17. package/dist-es/commands/GetBackendAPICommand.js +3 -9
  18. package/dist-es/commands/GetBackendAPIModelsCommand.js +3 -9
  19. package/dist-es/commands/GetBackendAuthCommand.js +3 -10
  20. package/dist-es/commands/GetBackendCommand.js +3 -9
  21. package/dist-es/commands/GetBackendJobCommand.js +3 -9
  22. package/dist-es/commands/GetBackendStorageCommand.js +3 -9
  23. package/dist-es/commands/GetTokenCommand.js +3 -9
  24. package/dist-es/commands/ImportBackendAuthCommand.js +3 -9
  25. package/dist-es/commands/ImportBackendStorageCommand.js +3 -9
  26. package/dist-es/commands/ListBackendJobsCommand.js +3 -9
  27. package/dist-es/commands/ListS3BucketsCommand.js +3 -9
  28. package/dist-es/commands/RemoveAllBackendsCommand.js +3 -9
  29. package/dist-es/commands/RemoveBackendConfigCommand.js +3 -9
  30. package/dist-es/commands/UpdateBackendAPICommand.js +3 -9
  31. package/dist-es/commands/UpdateBackendAuthCommand.js +3 -10
  32. package/dist-es/commands/UpdateBackendConfigCommand.js +3 -9
  33. package/dist-es/commands/UpdateBackendJobCommand.js +3 -9
  34. package/dist-es/commands/UpdateBackendStorageCommand.js +3 -9
  35. package/dist-es/models/models_0.js +0 -96
  36. package/dist-es/runtimeConfig.shared.js +2 -0
  37. package/dist-es/schemas/schemas_0.js +3480 -0
  38. package/dist-types/AmplifyBackendClient.d.ts +10 -1
  39. package/dist-types/models/models_0.d.ts +0 -72
  40. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  41. package/dist-types/runtimeConfig.d.ts +1 -0
  42. package/dist-types/runtimeConfig.native.d.ts +1 -0
  43. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  44. package/dist-types/schemas/schemas_0.d.ts +144 -0
  45. package/dist-types/ts3.4/AmplifyBackendClient.d.ts +4 -0
  46. package/dist-types/ts3.4/models/models_0.d.ts +0 -52
  47. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  48. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  49. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  50. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  51. package/dist-types/ts3.4/schemas/schemas_0.d.ts +149 -0
  52. package/package.json +2 -2
  53. package/dist-es/protocols/Aws_restJson1.js +0 -1524
  54. package/dist-types/protocols/Aws_restJson1.d.ts +0 -281
  55. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -377
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.amplifybackend" }),
28
30
  serviceId: config?.serviceId ?? "AmplifyBackend",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class AmplifyBackendClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CloneBackendCommand, se_CloneBackendCommand } from "../protocols/Aws_restJson1";
4
+ import { CloneBackend } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CloneBackendCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyBackend", "CloneBackend", {})
17
13
  .n("AmplifyBackendClient", "CloneBackendCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CloneBackendCommand)
20
- .de(de_CloneBackendCommand)
14
+ .sc(CloneBackend)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateBackendAPICommand, se_CreateBackendAPICommand } from "../protocols/Aws_restJson1";
4
+ import { CreateBackendAPI } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateBackendAPICommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyBackend", "CreateBackendAPI", {})
17
13
  .n("AmplifyBackendClient", "CreateBackendAPICommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateBackendAPICommand)
20
- .de(de_CreateBackendAPICommand)
14
+ .sc(CreateBackendAPI)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { CreateBackendAuthRequestFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CreateBackendAuthCommand, se_CreateBackendAuthCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateBackendAuth } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateBackendAuthCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AmplifyBackend", "CreateBackendAuth", {})
18
13
  .n("AmplifyBackendClient", "CreateBackendAuthCommand")
19
- .f(CreateBackendAuthRequestFilterSensitiveLog, void 0)
20
- .ser(se_CreateBackendAuthCommand)
21
- .de(de_CreateBackendAuthCommand)
14
+ .sc(CreateBackendAuth)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateBackendCommand, se_CreateBackendCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateBackend } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateBackendCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyBackend", "CreateBackend", {})
17
13
  .n("AmplifyBackendClient", "CreateBackendCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateBackendCommand)
20
- .de(de_CreateBackendCommand)
14
+ .sc(CreateBackend)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateBackendConfigCommand, se_CreateBackendConfigCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateBackendConfig } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateBackendConfigCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyBackend", "CreateBackendConfig", {})
17
13
  .n("AmplifyBackendClient", "CreateBackendConfigCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateBackendConfigCommand)
20
- .de(de_CreateBackendConfigCommand)
14
+ .sc(CreateBackendConfig)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateBackendStorageCommand, se_CreateBackendStorageCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateBackendStorage } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateBackendStorageCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyBackend", "CreateBackendStorage", {})
17
13
  .n("AmplifyBackendClient", "CreateBackendStorageCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateBackendStorageCommand)
20
- .de(de_CreateBackendStorageCommand)
14
+ .sc(CreateBackendStorage)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateTokenCommand, se_CreateTokenCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateToken } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateTokenCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyBackend", "CreateToken", {})
17
13
  .n("AmplifyBackendClient", "CreateTokenCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateTokenCommand)
20
- .de(de_CreateTokenCommand)
14
+ .sc(CreateToken)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteBackendAPICommand, se_DeleteBackendAPICommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteBackendAPI } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteBackendAPICommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyBackend", "DeleteBackendAPI", {})
17
13
  .n("AmplifyBackendClient", "DeleteBackendAPICommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteBackendAPICommand)
20
- .de(de_DeleteBackendAPICommand)
14
+ .sc(DeleteBackendAPI)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteBackendAuthCommand, se_DeleteBackendAuthCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteBackendAuth } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteBackendAuthCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyBackend", "DeleteBackendAuth", {})
17
13
  .n("AmplifyBackendClient", "DeleteBackendAuthCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteBackendAuthCommand)
20
- .de(de_DeleteBackendAuthCommand)
14
+ .sc(DeleteBackendAuth)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteBackendCommand, se_DeleteBackendCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteBackend } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteBackendCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyBackend", "DeleteBackend", {})
17
13
  .n("AmplifyBackendClient", "DeleteBackendCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteBackendCommand)
20
- .de(de_DeleteBackendCommand)
14
+ .sc(DeleteBackend)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteBackendStorageCommand, se_DeleteBackendStorageCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteBackendStorage } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteBackendStorageCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyBackend", "DeleteBackendStorage", {})
17
13
  .n("AmplifyBackendClient", "DeleteBackendStorageCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteBackendStorageCommand)
20
- .de(de_DeleteBackendStorageCommand)
14
+ .sc(DeleteBackendStorage)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteTokenCommand, se_DeleteTokenCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteToken } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteTokenCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyBackend", "DeleteToken", {})
17
13
  .n("AmplifyBackendClient", "DeleteTokenCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteTokenCommand)
20
- .de(de_DeleteTokenCommand)
14
+ .sc(DeleteToken)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GenerateBackendAPIModelsCommand, se_GenerateBackendAPIModelsCommand } from "../protocols/Aws_restJson1";
4
+ import { GenerateBackendAPIModels } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GenerateBackendAPIModelsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyBackend", "GenerateBackendAPIModels", {})
17
13
  .n("AmplifyBackendClient", "GenerateBackendAPIModelsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GenerateBackendAPIModelsCommand)
20
- .de(de_GenerateBackendAPIModelsCommand)
14
+ .sc(GenerateBackendAPIModels)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetBackendAPICommand, se_GetBackendAPICommand } from "../protocols/Aws_restJson1";
4
+ import { GetBackendAPI } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetBackendAPICommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyBackend", "GetBackendAPI", {})
17
13
  .n("AmplifyBackendClient", "GetBackendAPICommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetBackendAPICommand)
20
- .de(de_GetBackendAPICommand)
14
+ .sc(GetBackendAPI)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetBackendAPIModelsCommand, se_GetBackendAPIModelsCommand } from "../protocols/Aws_restJson1";
4
+ import { GetBackendAPIModels } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetBackendAPIModelsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyBackend", "GetBackendAPIModels", {})
17
13
  .n("AmplifyBackendClient", "GetBackendAPIModelsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetBackendAPIModelsCommand)
20
- .de(de_GetBackendAPIModelsCommand)
14
+ .sc(GetBackendAPIModels)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { GetBackendAuthResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_GetBackendAuthCommand, se_GetBackendAuthCommand } from "../protocols/Aws_restJson1";
4
+ import { GetBackendAuth } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetBackendAuthCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AmplifyBackend", "GetBackendAuth", {})
18
13
  .n("AmplifyBackendClient", "GetBackendAuthCommand")
19
- .f(void 0, GetBackendAuthResponseFilterSensitiveLog)
20
- .ser(se_GetBackendAuthCommand)
21
- .de(de_GetBackendAuthCommand)
14
+ .sc(GetBackendAuth)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetBackendCommand, se_GetBackendCommand } from "../protocols/Aws_restJson1";
4
+ import { GetBackend } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetBackendCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyBackend", "GetBackend", {})
17
13
  .n("AmplifyBackendClient", "GetBackendCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetBackendCommand)
20
- .de(de_GetBackendCommand)
14
+ .sc(GetBackend)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetBackendJobCommand, se_GetBackendJobCommand } from "../protocols/Aws_restJson1";
4
+ import { GetBackendJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetBackendJobCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyBackend", "GetBackendJob", {})
17
13
  .n("AmplifyBackendClient", "GetBackendJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetBackendJobCommand)
20
- .de(de_GetBackendJobCommand)
14
+ .sc(GetBackendJob)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetBackendStorageCommand, se_GetBackendStorageCommand } from "../protocols/Aws_restJson1";
4
+ import { GetBackendStorage } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetBackendStorageCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyBackend", "GetBackendStorage", {})
17
13
  .n("AmplifyBackendClient", "GetBackendStorageCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetBackendStorageCommand)
20
- .de(de_GetBackendStorageCommand)
14
+ .sc(GetBackendStorage)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetTokenCommand, se_GetTokenCommand } from "../protocols/Aws_restJson1";
4
+ import { GetToken } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetTokenCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyBackend", "GetToken", {})
17
13
  .n("AmplifyBackendClient", "GetTokenCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetTokenCommand)
20
- .de(de_GetTokenCommand)
14
+ .sc(GetToken)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ImportBackendAuthCommand, se_ImportBackendAuthCommand } from "../protocols/Aws_restJson1";
4
+ import { ImportBackendAuth } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ImportBackendAuthCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyBackend", "ImportBackendAuth", {})
17
13
  .n("AmplifyBackendClient", "ImportBackendAuthCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ImportBackendAuthCommand)
20
- .de(de_ImportBackendAuthCommand)
14
+ .sc(ImportBackendAuth)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ImportBackendStorageCommand, se_ImportBackendStorageCommand } from "../protocols/Aws_restJson1";
4
+ import { ImportBackendStorage } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ImportBackendStorageCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyBackend", "ImportBackendStorage", {})
17
13
  .n("AmplifyBackendClient", "ImportBackendStorageCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ImportBackendStorageCommand)
20
- .de(de_ImportBackendStorageCommand)
14
+ .sc(ImportBackendStorage)
21
15
  .build() {
22
16
  }