@aws-sdk/client-amplify 3.1077.0 → 3.1079.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 (119) hide show
  1. package/dist-cjs/index.js +45 -373
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateAppCommand.js +2 -14
  4. package/dist-es/commands/CreateBackendEnvironmentCommand.js +2 -14
  5. package/dist-es/commands/CreateBranchCommand.js +2 -14
  6. package/dist-es/commands/CreateDeploymentCommand.js +2 -14
  7. package/dist-es/commands/CreateDomainAssociationCommand.js +2 -14
  8. package/dist-es/commands/CreateWebhookCommand.js +2 -14
  9. package/dist-es/commands/DeleteAppCommand.js +2 -14
  10. package/dist-es/commands/DeleteBackendEnvironmentCommand.js +2 -14
  11. package/dist-es/commands/DeleteBranchCommand.js +2 -14
  12. package/dist-es/commands/DeleteDomainAssociationCommand.js +2 -14
  13. package/dist-es/commands/DeleteJobCommand.js +2 -14
  14. package/dist-es/commands/DeleteWebhookCommand.js +2 -14
  15. package/dist-es/commands/GenerateAccessLogsCommand.js +2 -14
  16. package/dist-es/commands/GetAppCommand.js +2 -14
  17. package/dist-es/commands/GetArtifactUrlCommand.js +2 -14
  18. package/dist-es/commands/GetBackendEnvironmentCommand.js +2 -14
  19. package/dist-es/commands/GetBranchCommand.js +2 -14
  20. package/dist-es/commands/GetDomainAssociationCommand.js +2 -14
  21. package/dist-es/commands/GetJobCommand.js +2 -14
  22. package/dist-es/commands/GetWebhookCommand.js +2 -14
  23. package/dist-es/commands/ListAppsCommand.js +2 -14
  24. package/dist-es/commands/ListArtifactsCommand.js +2 -14
  25. package/dist-es/commands/ListBackendEnvironmentsCommand.js +2 -14
  26. package/dist-es/commands/ListBranchesCommand.js +2 -14
  27. package/dist-es/commands/ListDomainAssociationsCommand.js +2 -14
  28. package/dist-es/commands/ListJobsCommand.js +2 -14
  29. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  30. package/dist-es/commands/ListWebhooksCommand.js +2 -14
  31. package/dist-es/commands/StartDeploymentCommand.js +2 -14
  32. package/dist-es/commands/StartJobCommand.js +2 -14
  33. package/dist-es/commands/StopJobCommand.js +2 -14
  34. package/dist-es/commands/TagResourceCommand.js +2 -14
  35. package/dist-es/commands/UntagResourceCommand.js +2 -14
  36. package/dist-es/commands/UpdateAppCommand.js +2 -14
  37. package/dist-es/commands/UpdateBranchCommand.js +2 -14
  38. package/dist-es/commands/UpdateDomainAssociationCommand.js +2 -14
  39. package/dist-es/commands/UpdateWebhookCommand.js +2 -14
  40. package/dist-es/index.js +1 -0
  41. package/dist-types/commandBuilder.d.ts +18 -0
  42. package/dist-types/commands/CreateAppCommand.d.ts +3 -8
  43. package/dist-types/commands/CreateBackendEnvironmentCommand.d.ts +3 -8
  44. package/dist-types/commands/CreateBranchCommand.d.ts +3 -8
  45. package/dist-types/commands/CreateDeploymentCommand.d.ts +3 -8
  46. package/dist-types/commands/CreateDomainAssociationCommand.d.ts +3 -8
  47. package/dist-types/commands/CreateWebhookCommand.d.ts +3 -8
  48. package/dist-types/commands/DeleteAppCommand.d.ts +3 -8
  49. package/dist-types/commands/DeleteBackendEnvironmentCommand.d.ts +3 -8
  50. package/dist-types/commands/DeleteBranchCommand.d.ts +3 -8
  51. package/dist-types/commands/DeleteDomainAssociationCommand.d.ts +3 -8
  52. package/dist-types/commands/DeleteJobCommand.d.ts +3 -8
  53. package/dist-types/commands/DeleteWebhookCommand.d.ts +3 -8
  54. package/dist-types/commands/GenerateAccessLogsCommand.d.ts +3 -8
  55. package/dist-types/commands/GetAppCommand.d.ts +3 -8
  56. package/dist-types/commands/GetArtifactUrlCommand.d.ts +3 -8
  57. package/dist-types/commands/GetBackendEnvironmentCommand.d.ts +3 -8
  58. package/dist-types/commands/GetBranchCommand.d.ts +3 -8
  59. package/dist-types/commands/GetDomainAssociationCommand.d.ts +3 -8
  60. package/dist-types/commands/GetJobCommand.d.ts +3 -8
  61. package/dist-types/commands/GetWebhookCommand.d.ts +3 -8
  62. package/dist-types/commands/ListAppsCommand.d.ts +3 -8
  63. package/dist-types/commands/ListArtifactsCommand.d.ts +3 -8
  64. package/dist-types/commands/ListBackendEnvironmentsCommand.d.ts +3 -8
  65. package/dist-types/commands/ListBranchesCommand.d.ts +3 -8
  66. package/dist-types/commands/ListDomainAssociationsCommand.d.ts +3 -8
  67. package/dist-types/commands/ListJobsCommand.d.ts +3 -8
  68. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  69. package/dist-types/commands/ListWebhooksCommand.d.ts +3 -8
  70. package/dist-types/commands/StartDeploymentCommand.d.ts +3 -8
  71. package/dist-types/commands/StartJobCommand.d.ts +3 -8
  72. package/dist-types/commands/StopJobCommand.d.ts +3 -8
  73. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  74. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  75. package/dist-types/commands/UpdateAppCommand.d.ts +3 -8
  76. package/dist-types/commands/UpdateBranchCommand.d.ts +3 -8
  77. package/dist-types/commands/UpdateDomainAssociationCommand.d.ts +3 -8
  78. package/dist-types/commands/UpdateWebhookCommand.d.ts +3 -8
  79. package/dist-types/index.d.ts +1 -0
  80. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  81. package/dist-types/ts3.4/commands/CreateAppCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/CreateBackendEnvironmentCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/CreateBranchCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/CreateDomainAssociationCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/CreateWebhookCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/DeleteAppCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/DeleteBackendEnvironmentCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/DeleteBranchCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/DeleteDomainAssociationCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/DeleteJobCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/DeleteWebhookCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/GenerateAccessLogsCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/GetAppCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/GetArtifactUrlCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/GetBackendEnvironmentCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/GetBranchCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/GetDomainAssociationCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/GetJobCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/GetWebhookCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/ListAppsCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/ListArtifactsCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/ListBackendEnvironmentsCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/ListBranchesCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/ListDomainAssociationsCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/ListWebhooksCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/StartDeploymentCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/StartJobCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/commands/StopJobCommand.d.ts +7 -16
  112. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  113. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  114. package/dist-types/ts3.4/commands/UpdateAppCommand.d.ts +7 -16
  115. package/dist-types/ts3.4/commands/UpdateBranchCommand.d.ts +7 -16
  116. package/dist-types/ts3.4/commands/UpdateDomainAssociationCommand.d.ts +7 -16
  117. package/dist-types/ts3.4/commands/UpdateWebhookCommand.d.ts +7 -16
  118. package/dist-types/ts3.4/index.d.ts +1 -0
  119. package/package.json +8 -8
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteBranch$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteBranchCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "DeleteBranch", {})
13
- .n("AmplifyClient", "DeleteBranchCommand")
14
- .sc(DeleteBranch$)
15
- .build() {
3
+ export class DeleteBranchCommand extends command(_ep0, _mw0, "DeleteBranch", DeleteBranch$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteDomainAssociation$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteDomainAssociationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "DeleteDomainAssociation", {})
13
- .n("AmplifyClient", "DeleteDomainAssociationCommand")
14
- .sc(DeleteDomainAssociation$)
15
- .build() {
3
+ export class DeleteDomainAssociationCommand extends command(_ep0, _mw0, "DeleteDomainAssociation", DeleteDomainAssociation$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "DeleteJob", {})
13
- .n("AmplifyClient", "DeleteJobCommand")
14
- .sc(DeleteJob$)
15
- .build() {
3
+ export class DeleteJobCommand extends command(_ep0, _mw0, "DeleteJob", DeleteJob$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteWebhook$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteWebhookCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "DeleteWebhook", {})
13
- .n("AmplifyClient", "DeleteWebhookCommand")
14
- .sc(DeleteWebhook$)
15
- .build() {
3
+ export class DeleteWebhookCommand extends command(_ep0, _mw0, "DeleteWebhook", DeleteWebhook$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GenerateAccessLogs$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GenerateAccessLogsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "GenerateAccessLogs", {})
13
- .n("AmplifyClient", "GenerateAccessLogsCommand")
14
- .sc(GenerateAccessLogs$)
15
- .build() {
3
+ export class GenerateAccessLogsCommand extends command(_ep0, _mw0, "GenerateAccessLogs", GenerateAccessLogs$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetApp$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetAppCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "GetApp", {})
13
- .n("AmplifyClient", "GetAppCommand")
14
- .sc(GetApp$)
15
- .build() {
3
+ export class GetAppCommand extends command(_ep0, _mw0, "GetApp", GetApp$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetArtifactUrl$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetArtifactUrlCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "GetArtifactUrl", {})
13
- .n("AmplifyClient", "GetArtifactUrlCommand")
14
- .sc(GetArtifactUrl$)
15
- .build() {
3
+ export class GetArtifactUrlCommand extends command(_ep0, _mw0, "GetArtifactUrl", GetArtifactUrl$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetBackendEnvironment$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetBackendEnvironmentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "GetBackendEnvironment", {})
13
- .n("AmplifyClient", "GetBackendEnvironmentCommand")
14
- .sc(GetBackendEnvironment$)
15
- .build() {
3
+ export class GetBackendEnvironmentCommand extends command(_ep0, _mw0, "GetBackendEnvironment", GetBackendEnvironment$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetBranch$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetBranchCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "GetBranch", {})
13
- .n("AmplifyClient", "GetBranchCommand")
14
- .sc(GetBranch$)
15
- .build() {
3
+ export class GetBranchCommand extends command(_ep0, _mw0, "GetBranch", GetBranch$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetDomainAssociation$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetDomainAssociationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "GetDomainAssociation", {})
13
- .n("AmplifyClient", "GetDomainAssociationCommand")
14
- .sc(GetDomainAssociation$)
15
- .build() {
3
+ export class GetDomainAssociationCommand extends command(_ep0, _mw0, "GetDomainAssociation", GetDomainAssociation$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "GetJob", {})
13
- .n("AmplifyClient", "GetJobCommand")
14
- .sc(GetJob$)
15
- .build() {
3
+ export class GetJobCommand extends command(_ep0, _mw0, "GetJob", GetJob$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetWebhook$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetWebhookCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "GetWebhook", {})
13
- .n("AmplifyClient", "GetWebhookCommand")
14
- .sc(GetWebhook$)
15
- .build() {
3
+ export class GetWebhookCommand extends command(_ep0, _mw0, "GetWebhook", GetWebhook$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListApps$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAppsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "ListApps", {})
13
- .n("AmplifyClient", "ListAppsCommand")
14
- .sc(ListApps$)
15
- .build() {
3
+ export class ListAppsCommand extends command(_ep0, _mw0, "ListApps", ListApps$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListArtifacts$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListArtifactsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "ListArtifacts", {})
13
- .n("AmplifyClient", "ListArtifactsCommand")
14
- .sc(ListArtifacts$)
15
- .build() {
3
+ export class ListArtifactsCommand extends command(_ep0, _mw0, "ListArtifacts", ListArtifacts$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListBackendEnvironments$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListBackendEnvironmentsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "ListBackendEnvironments", {})
13
- .n("AmplifyClient", "ListBackendEnvironmentsCommand")
14
- .sc(ListBackendEnvironments$)
15
- .build() {
3
+ export class ListBackendEnvironmentsCommand extends command(_ep0, _mw0, "ListBackendEnvironments", ListBackendEnvironments$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListBranches$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListBranchesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "ListBranches", {})
13
- .n("AmplifyClient", "ListBranchesCommand")
14
- .sc(ListBranches$)
15
- .build() {
3
+ export class ListBranchesCommand extends command(_ep0, _mw0, "ListBranches", ListBranches$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListDomainAssociations$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListDomainAssociationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "ListDomainAssociations", {})
13
- .n("AmplifyClient", "ListDomainAssociationsCommand")
14
- .sc(ListDomainAssociations$)
15
- .build() {
3
+ export class ListDomainAssociationsCommand extends command(_ep0, _mw0, "ListDomainAssociations", ListDomainAssociations$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListJobs$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListJobsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "ListJobs", {})
13
- .n("AmplifyClient", "ListJobsCommand")
14
- .sc(ListJobs$)
15
- .build() {
3
+ export class ListJobsCommand extends command(_ep0, _mw0, "ListJobs", ListJobs$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "ListTagsForResource", {})
13
- .n("AmplifyClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListWebhooks$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListWebhooksCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "ListWebhooks", {})
13
- .n("AmplifyClient", "ListWebhooksCommand")
14
- .sc(ListWebhooks$)
15
- .build() {
3
+ export class ListWebhooksCommand extends command(_ep0, _mw0, "ListWebhooks", ListWebhooks$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StartDeployment$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartDeploymentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "StartDeployment", {})
13
- .n("AmplifyClient", "StartDeploymentCommand")
14
- .sc(StartDeployment$)
15
- .build() {
3
+ export class StartDeploymentCommand extends command(_ep0, _mw0, "StartDeployment", StartDeployment$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StartJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "StartJob", {})
13
- .n("AmplifyClient", "StartJobCommand")
14
- .sc(StartJob$)
15
- .build() {
3
+ export class StartJobCommand extends command(_ep0, _mw0, "StartJob", StartJob$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StopJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StopJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "StopJob", {})
13
- .n("AmplifyClient", "StopJobCommand")
14
- .sc(StopJob$)
15
- .build() {
3
+ export class StopJobCommand extends command(_ep0, _mw0, "StopJob", StopJob$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "TagResource", {})
13
- .n("AmplifyClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "UntagResource", {})
13
- .n("AmplifyClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateApp$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateAppCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "UpdateApp", {})
13
- .n("AmplifyClient", "UpdateAppCommand")
14
- .sc(UpdateApp$)
15
- .build() {
3
+ export class UpdateAppCommand extends command(_ep0, _mw0, "UpdateApp", UpdateApp$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateBranch$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateBranchCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "UpdateBranch", {})
13
- .n("AmplifyClient", "UpdateBranchCommand")
14
- .sc(UpdateBranch$)
15
- .build() {
3
+ export class UpdateBranchCommand extends command(_ep0, _mw0, "UpdateBranch", UpdateBranch$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateDomainAssociation$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateDomainAssociationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "UpdateDomainAssociation", {})
13
- .n("AmplifyClient", "UpdateDomainAssociationCommand")
14
- .sc(UpdateDomainAssociation$)
15
- .build() {
3
+ export class UpdateDomainAssociationCommand extends command(_ep0, _mw0, "UpdateDomainAssociation", UpdateDomainAssociation$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateWebhook$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateWebhookCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "UpdateWebhook", {})
13
- .n("AmplifyClient", "UpdateWebhookCommand")
14
- .sc(UpdateWebhook$)
15
- .build() {
3
+ export class UpdateWebhookCommand extends command(_ep0, _mw0, "UpdateWebhook", UpdateWebhook$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./AmplifyClient";
2
2
  export * from "./Amplify";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { AmplifyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./AmplifyClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, AmplifyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, AmplifyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];