@aws-sdk/client-amplify 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 (61) hide show
  1. package/dist-cjs/index.js +1635 -1779
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/AmplifyClient.js +2 -0
  4. package/dist-es/commands/CreateAppCommand.js +3 -10
  5. package/dist-es/commands/CreateBackendEnvironmentCommand.js +3 -9
  6. package/dist-es/commands/CreateBranchCommand.js +3 -10
  7. package/dist-es/commands/CreateDeploymentCommand.js +3 -9
  8. package/dist-es/commands/CreateDomainAssociationCommand.js +3 -9
  9. package/dist-es/commands/CreateWebhookCommand.js +3 -9
  10. package/dist-es/commands/DeleteAppCommand.js +3 -10
  11. package/dist-es/commands/DeleteBackendEnvironmentCommand.js +3 -9
  12. package/dist-es/commands/DeleteBranchCommand.js +3 -10
  13. package/dist-es/commands/DeleteDomainAssociationCommand.js +3 -9
  14. package/dist-es/commands/DeleteJobCommand.js +3 -9
  15. package/dist-es/commands/DeleteWebhookCommand.js +3 -9
  16. package/dist-es/commands/GenerateAccessLogsCommand.js +3 -9
  17. package/dist-es/commands/GetAppCommand.js +3 -10
  18. package/dist-es/commands/GetArtifactUrlCommand.js +3 -9
  19. package/dist-es/commands/GetBackendEnvironmentCommand.js +3 -9
  20. package/dist-es/commands/GetBranchCommand.js +3 -10
  21. package/dist-es/commands/GetDomainAssociationCommand.js +3 -9
  22. package/dist-es/commands/GetJobCommand.js +3 -9
  23. package/dist-es/commands/GetWebhookCommand.js +3 -9
  24. package/dist-es/commands/ListAppsCommand.js +3 -10
  25. package/dist-es/commands/ListArtifactsCommand.js +3 -9
  26. package/dist-es/commands/ListBackendEnvironmentsCommand.js +3 -9
  27. package/dist-es/commands/ListBranchesCommand.js +3 -10
  28. package/dist-es/commands/ListDomainAssociationsCommand.js +3 -9
  29. package/dist-es/commands/ListJobsCommand.js +3 -9
  30. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  31. package/dist-es/commands/ListWebhooksCommand.js +3 -9
  32. package/dist-es/commands/StartDeploymentCommand.js +3 -9
  33. package/dist-es/commands/StartJobCommand.js +3 -9
  34. package/dist-es/commands/StopJobCommand.js +3 -9
  35. package/dist-es/commands/TagResourceCommand.js +3 -9
  36. package/dist-es/commands/UntagResourceCommand.js +3 -9
  37. package/dist-es/commands/UpdateAppCommand.js +3 -10
  38. package/dist-es/commands/UpdateBranchCommand.js +3 -10
  39. package/dist-es/commands/UpdateDomainAssociationCommand.js +3 -9
  40. package/dist-es/commands/UpdateWebhookCommand.js +3 -9
  41. package/dist-es/models/models_0.js +0 -89
  42. package/dist-es/runtimeConfig.shared.js +2 -0
  43. package/dist-es/schemas/schemas_0.js +1553 -0
  44. package/dist-types/AmplifyClient.d.ts +10 -1
  45. package/dist-types/models/models_0.d.ts +0 -68
  46. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  47. package/dist-types/runtimeConfig.d.ts +1 -0
  48. package/dist-types/runtimeConfig.native.d.ts +1 -0
  49. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  50. package/dist-types/schemas/schemas_0.d.ts +166 -0
  51. package/dist-types/ts3.4/AmplifyClient.d.ts +4 -0
  52. package/dist-types/ts3.4/models/models_0.d.ts +0 -45
  53. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  54. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  55. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  56. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  57. package/dist-types/ts3.4/schemas/schemas_0.d.ts +172 -0
  58. package/package.json +2 -2
  59. package/dist-es/protocols/Aws_restJson1.js +0 -1399
  60. package/dist-types/protocols/Aws_restJson1.d.ts +0 -335
  61. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -449
@@ -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.amplify" }),
28
30
  serviceId: config?.serviceId ?? "Amplify",
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 AmplifyClient 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,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 { CreateAppRequestFilterSensitiveLog, CreateAppResultFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CreateAppCommand, se_CreateAppCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateApp } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateAppCommand 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("Amplify", "CreateApp", {})
18
13
  .n("AmplifyClient", "CreateAppCommand")
19
- .f(CreateAppRequestFilterSensitiveLog, CreateAppResultFilterSensitiveLog)
20
- .ser(se_CreateAppCommand)
21
- .de(de_CreateAppCommand)
14
+ .sc(CreateApp)
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_CreateBackendEnvironmentCommand, se_CreateBackendEnvironmentCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateBackendEnvironment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateBackendEnvironmentCommand 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("Amplify", "CreateBackendEnvironment", {})
17
13
  .n("AmplifyClient", "CreateBackendEnvironmentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateBackendEnvironmentCommand)
20
- .de(de_CreateBackendEnvironmentCommand)
14
+ .sc(CreateBackendEnvironment)
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 { CreateBranchRequestFilterSensitiveLog, CreateBranchResultFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CreateBranchCommand, se_CreateBranchCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateBranch } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateBranchCommand 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("Amplify", "CreateBranch", {})
18
13
  .n("AmplifyClient", "CreateBranchCommand")
19
- .f(CreateBranchRequestFilterSensitiveLog, CreateBranchResultFilterSensitiveLog)
20
- .ser(se_CreateBranchCommand)
21
- .de(de_CreateBranchCommand)
14
+ .sc(CreateBranch)
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_CreateDeploymentCommand, se_CreateDeploymentCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateDeployment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateDeploymentCommand 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("Amplify", "CreateDeployment", {})
17
13
  .n("AmplifyClient", "CreateDeploymentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateDeploymentCommand)
20
- .de(de_CreateDeploymentCommand)
14
+ .sc(CreateDeployment)
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_CreateDomainAssociationCommand, se_CreateDomainAssociationCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateDomainAssociation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateDomainAssociationCommand 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("Amplify", "CreateDomainAssociation", {})
17
13
  .n("AmplifyClient", "CreateDomainAssociationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateDomainAssociationCommand)
20
- .de(de_CreateDomainAssociationCommand)
14
+ .sc(CreateDomainAssociation)
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_CreateWebhookCommand, se_CreateWebhookCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateWebhook } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateWebhookCommand 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("Amplify", "CreateWebhook", {})
17
13
  .n("AmplifyClient", "CreateWebhookCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateWebhookCommand)
20
- .de(de_CreateWebhookCommand)
14
+ .sc(CreateWebhook)
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 { DeleteAppResultFilterSensitiveLog } from "../models/models_0";
6
- import { de_DeleteAppCommand, se_DeleteAppCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteApp } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class DeleteAppCommand 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("Amplify", "DeleteApp", {})
18
13
  .n("AmplifyClient", "DeleteAppCommand")
19
- .f(void 0, DeleteAppResultFilterSensitiveLog)
20
- .ser(se_DeleteAppCommand)
21
- .de(de_DeleteAppCommand)
14
+ .sc(DeleteApp)
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_DeleteBackendEnvironmentCommand, se_DeleteBackendEnvironmentCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteBackendEnvironment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteBackendEnvironmentCommand 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("Amplify", "DeleteBackendEnvironment", {})
17
13
  .n("AmplifyClient", "DeleteBackendEnvironmentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteBackendEnvironmentCommand)
20
- .de(de_DeleteBackendEnvironmentCommand)
14
+ .sc(DeleteBackendEnvironment)
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 { DeleteBranchResultFilterSensitiveLog } from "../models/models_0";
6
- import { de_DeleteBranchCommand, se_DeleteBranchCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteBranch } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class DeleteBranchCommand 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("Amplify", "DeleteBranch", {})
18
13
  .n("AmplifyClient", "DeleteBranchCommand")
19
- .f(void 0, DeleteBranchResultFilterSensitiveLog)
20
- .ser(se_DeleteBranchCommand)
21
- .de(de_DeleteBranchCommand)
14
+ .sc(DeleteBranch)
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_DeleteDomainAssociationCommand, se_DeleteDomainAssociationCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteDomainAssociation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteDomainAssociationCommand 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("Amplify", "DeleteDomainAssociation", {})
17
13
  .n("AmplifyClient", "DeleteDomainAssociationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteDomainAssociationCommand)
20
- .de(de_DeleteDomainAssociationCommand)
14
+ .sc(DeleteDomainAssociation)
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_DeleteJobCommand, se_DeleteJobCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteJobCommand 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("Amplify", "DeleteJob", {})
17
13
  .n("AmplifyClient", "DeleteJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteJobCommand)
20
- .de(de_DeleteJobCommand)
14
+ .sc(DeleteJob)
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_DeleteWebhookCommand, se_DeleteWebhookCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteWebhook } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteWebhookCommand 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("Amplify", "DeleteWebhook", {})
17
13
  .n("AmplifyClient", "DeleteWebhookCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteWebhookCommand)
20
- .de(de_DeleteWebhookCommand)
14
+ .sc(DeleteWebhook)
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_GenerateAccessLogsCommand, se_GenerateAccessLogsCommand } from "../protocols/Aws_restJson1";
4
+ import { GenerateAccessLogs } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GenerateAccessLogsCommand 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("Amplify", "GenerateAccessLogs", {})
17
13
  .n("AmplifyClient", "GenerateAccessLogsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GenerateAccessLogsCommand)
20
- .de(de_GenerateAccessLogsCommand)
14
+ .sc(GenerateAccessLogs)
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 { GetAppResultFilterSensitiveLog } from "../models/models_0";
6
- import { de_GetAppCommand, se_GetAppCommand } from "../protocols/Aws_restJson1";
4
+ import { GetApp } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetAppCommand 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("Amplify", "GetApp", {})
18
13
  .n("AmplifyClient", "GetAppCommand")
19
- .f(void 0, GetAppResultFilterSensitiveLog)
20
- .ser(se_GetAppCommand)
21
- .de(de_GetAppCommand)
14
+ .sc(GetApp)
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_GetArtifactUrlCommand, se_GetArtifactUrlCommand } from "../protocols/Aws_restJson1";
4
+ import { GetArtifactUrl } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetArtifactUrlCommand 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("Amplify", "GetArtifactUrl", {})
17
13
  .n("AmplifyClient", "GetArtifactUrlCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetArtifactUrlCommand)
20
- .de(de_GetArtifactUrlCommand)
14
+ .sc(GetArtifactUrl)
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_GetBackendEnvironmentCommand, se_GetBackendEnvironmentCommand } from "../protocols/Aws_restJson1";
4
+ import { GetBackendEnvironment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetBackendEnvironmentCommand 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("Amplify", "GetBackendEnvironment", {})
17
13
  .n("AmplifyClient", "GetBackendEnvironmentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetBackendEnvironmentCommand)
20
- .de(de_GetBackendEnvironmentCommand)
14
+ .sc(GetBackendEnvironment)
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 { GetBranchResultFilterSensitiveLog } from "../models/models_0";
6
- import { de_GetBranchCommand, se_GetBranchCommand } from "../protocols/Aws_restJson1";
4
+ import { GetBranch } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetBranchCommand 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("Amplify", "GetBranch", {})
18
13
  .n("AmplifyClient", "GetBranchCommand")
19
- .f(void 0, GetBranchResultFilterSensitiveLog)
20
- .ser(se_GetBranchCommand)
21
- .de(de_GetBranchCommand)
14
+ .sc(GetBranch)
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_GetDomainAssociationCommand, se_GetDomainAssociationCommand } from "../protocols/Aws_restJson1";
4
+ import { GetDomainAssociation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetDomainAssociationCommand 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("Amplify", "GetDomainAssociation", {})
17
13
  .n("AmplifyClient", "GetDomainAssociationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetDomainAssociationCommand)
20
- .de(de_GetDomainAssociationCommand)
14
+ .sc(GetDomainAssociation)
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_GetJobCommand, se_GetJobCommand } from "../protocols/Aws_restJson1";
4
+ import { GetJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetJobCommand 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("Amplify", "GetJob", {})
17
13
  .n("AmplifyClient", "GetJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetJobCommand)
20
- .de(de_GetJobCommand)
14
+ .sc(GetJob)
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_GetWebhookCommand, se_GetWebhookCommand } from "../protocols/Aws_restJson1";
4
+ import { GetWebhook } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetWebhookCommand 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("Amplify", "GetWebhook", {})
17
13
  .n("AmplifyClient", "GetWebhookCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetWebhookCommand)
20
- .de(de_GetWebhookCommand)
14
+ .sc(GetWebhook)
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 { ListAppsResultFilterSensitiveLog } from "../models/models_0";
6
- import { de_ListAppsCommand, se_ListAppsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListApps } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class ListAppsCommand 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("Amplify", "ListApps", {})
18
13
  .n("AmplifyClient", "ListAppsCommand")
19
- .f(void 0, ListAppsResultFilterSensitiveLog)
20
- .ser(se_ListAppsCommand)
21
- .de(de_ListAppsCommand)
14
+ .sc(ListApps)
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_ListArtifactsCommand, se_ListArtifactsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListArtifacts } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListArtifactsCommand 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("Amplify", "ListArtifacts", {})
17
13
  .n("AmplifyClient", "ListArtifactsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListArtifactsCommand)
20
- .de(de_ListArtifactsCommand)
14
+ .sc(ListArtifacts)
21
15
  .build() {
22
16
  }