@aws-sdk/client-amplify 3.438.0 → 3.441.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 (73) hide show
  1. package/README.md +2 -2
  2. package/dist-cjs/index.js +1 -0
  3. package/dist-cjs/pagination/Interfaces.js +2 -0
  4. package/dist-cjs/pagination/ListAppsPaginator.js +29 -0
  5. package/dist-cjs/pagination/ListBranchesPaginator.js +29 -0
  6. package/dist-cjs/pagination/ListDomainAssociationsPaginator.js +29 -0
  7. package/dist-cjs/pagination/ListJobsPaginator.js +29 -0
  8. package/dist-cjs/pagination/index.js +8 -0
  9. package/dist-cjs/protocols/Aws_restJson1.js +3 -0
  10. package/dist-es/index.js +1 -0
  11. package/dist-es/pagination/Interfaces.js +1 -0
  12. package/dist-es/pagination/ListAppsPaginator.js +25 -0
  13. package/dist-es/pagination/ListBranchesPaginator.js +25 -0
  14. package/dist-es/pagination/ListDomainAssociationsPaginator.js +25 -0
  15. package/dist-es/pagination/ListJobsPaginator.js +25 -0
  16. package/dist-es/pagination/index.js +5 -0
  17. package/dist-es/protocols/Aws_restJson1.js +3 -0
  18. package/dist-types/Amplify.d.ts +2 -2
  19. package/dist-types/AmplifyClient.d.ts +2 -2
  20. package/dist-types/commands/CreateAppCommand.d.ts +6 -6
  21. package/dist-types/commands/CreateBackendEnvironmentCommand.d.ts +6 -6
  22. package/dist-types/commands/CreateBranchCommand.d.ts +12 -6
  23. package/dist-types/commands/CreateDeploymentCommand.d.ts +9 -5
  24. package/dist-types/commands/CreateDomainAssociationCommand.d.ts +6 -6
  25. package/dist-types/commands/CreateWebhookCommand.d.ts +7 -7
  26. package/dist-types/commands/DeleteAppCommand.d.ts +6 -6
  27. package/dist-types/commands/DeleteBackendEnvironmentCommand.d.ts +6 -6
  28. package/dist-types/commands/DeleteBranchCommand.d.ts +8 -5
  29. package/dist-types/commands/DeleteDomainAssociationCommand.d.ts +5 -5
  30. package/dist-types/commands/DeleteJobCommand.d.ts +5 -5
  31. package/dist-types/commands/DeleteWebhookCommand.d.ts +6 -6
  32. package/dist-types/commands/GenerateAccessLogsCommand.d.ts +5 -5
  33. package/dist-types/commands/GetAppCommand.d.ts +5 -5
  34. package/dist-types/commands/GetArtifactUrlCommand.d.ts +6 -6
  35. package/dist-types/commands/GetBackendEnvironmentCommand.d.ts +5 -5
  36. package/dist-types/commands/GetBranchCommand.d.ts +7 -4
  37. package/dist-types/commands/GetDomainAssociationCommand.d.ts +4 -4
  38. package/dist-types/commands/GetJobCommand.d.ts +5 -5
  39. package/dist-types/commands/GetWebhookCommand.d.ts +6 -6
  40. package/dist-types/commands/ListAppsCommand.d.ts +4 -4
  41. package/dist-types/commands/ListArtifactsCommand.d.ts +5 -5
  42. package/dist-types/commands/ListBackendEnvironmentsCommand.d.ts +4 -4
  43. package/dist-types/commands/ListBranchesCommand.d.ts +6 -3
  44. package/dist-types/commands/ListDomainAssociationsCommand.d.ts +3 -3
  45. package/dist-types/commands/ListJobsCommand.d.ts +4 -4
  46. package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -4
  47. package/dist-types/commands/ListWebhooksCommand.d.ts +5 -5
  48. package/dist-types/commands/StartDeploymentCommand.d.ts +10 -6
  49. package/dist-types/commands/StartJobCommand.d.ts +5 -5
  50. package/dist-types/commands/StopJobCommand.d.ts +5 -5
  51. package/dist-types/commands/TagResourceCommand.d.ts +4 -4
  52. package/dist-types/commands/UntagResourceCommand.d.ts +4 -4
  53. package/dist-types/commands/UpdateAppCommand.d.ts +5 -5
  54. package/dist-types/commands/UpdateBranchCommand.d.ts +11 -5
  55. package/dist-types/commands/UpdateDomainAssociationCommand.d.ts +5 -5
  56. package/dist-types/commands/UpdateWebhookCommand.d.ts +6 -6
  57. package/dist-types/index.d.ts +3 -2
  58. package/dist-types/models/models_0.d.ts +277 -248
  59. package/dist-types/pagination/Interfaces.d.ts +8 -0
  60. package/dist-types/pagination/ListAppsPaginator.d.ts +7 -0
  61. package/dist-types/pagination/ListBranchesPaginator.d.ts +7 -0
  62. package/dist-types/pagination/ListDomainAssociationsPaginator.d.ts +7 -0
  63. package/dist-types/pagination/ListJobsPaginator.d.ts +7 -0
  64. package/dist-types/pagination/index.d.ts +5 -0
  65. package/dist-types/ts3.4/index.d.ts +1 -0
  66. package/dist-types/ts3.4/models/models_0.d.ts +6 -0
  67. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  68. package/dist-types/ts3.4/pagination/ListAppsPaginator.d.ts +11 -0
  69. package/dist-types/ts3.4/pagination/ListBranchesPaginator.d.ts +11 -0
  70. package/dist-types/ts3.4/pagination/ListDomainAssociationsPaginator.d.ts +11 -0
  71. package/dist-types/ts3.4/pagination/ListJobsPaginator.d.ts +11 -0
  72. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  73. package/package.json +4 -4
package/README.md CHANGED
@@ -7,8 +7,8 @@
7
7
  AWS SDK for JavaScript Amplify Client for Node.js, Browser and React Native.
8
8
 
9
9
  <p>Amplify enables developers to develop and deploy cloud-powered mobile and web apps.
10
- The Amplify Console provides a continuous delivery and hosting service for web
11
- applications. For more information, see the <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify Console User Guide</a>. The
10
+ Amplify Hosting provides a continuous delivery and hosting service for web
11
+ applications. For more information, see the <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify Hosting User Guide</a>. The
12
12
  Amplify Framework is a comprehensive set of SDKs, libraries, tools, and documentation
13
13
  for client app development. For more information, see the <a href="https://docs.amplify.aws/">Amplify Framework.</a>
14
14
  </p>
package/dist-cjs/index.js CHANGED
@@ -5,6 +5,7 @@ const tslib_1 = require("tslib");
5
5
  tslib_1.__exportStar(require("./AmplifyClient"), exports);
6
6
  tslib_1.__exportStar(require("./Amplify"), exports);
7
7
  tslib_1.__exportStar(require("./commands"), exports);
8
+ tslib_1.__exportStar(require("./pagination"), exports);
8
9
  tslib_1.__exportStar(require("./models"), exports);
9
10
  require("@aws-sdk/util-endpoints");
10
11
  var AmplifyServiceException_1 = require("./models/AmplifyServiceException");
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListApps = void 0;
4
+ const AmplifyClient_1 = require("../AmplifyClient");
5
+ const ListAppsCommand_1 = require("../commands/ListAppsCommand");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new ListAppsCommand_1.ListAppsCommand(input), ...args);
8
+ };
9
+ async function* paginateListApps(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.nextToken = token;
15
+ input["maxResults"] = config.pageSize;
16
+ if (config.client instanceof AmplifyClient_1.AmplifyClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected Amplify | AmplifyClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.nextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateListApps = paginateListApps;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListBranches = void 0;
4
+ const AmplifyClient_1 = require("../AmplifyClient");
5
+ const ListBranchesCommand_1 = require("../commands/ListBranchesCommand");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new ListBranchesCommand_1.ListBranchesCommand(input), ...args);
8
+ };
9
+ async function* paginateListBranches(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.nextToken = token;
15
+ input["maxResults"] = config.pageSize;
16
+ if (config.client instanceof AmplifyClient_1.AmplifyClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected Amplify | AmplifyClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.nextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateListBranches = paginateListBranches;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListDomainAssociations = void 0;
4
+ const AmplifyClient_1 = require("../AmplifyClient");
5
+ const ListDomainAssociationsCommand_1 = require("../commands/ListDomainAssociationsCommand");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new ListDomainAssociationsCommand_1.ListDomainAssociationsCommand(input), ...args);
8
+ };
9
+ async function* paginateListDomainAssociations(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.nextToken = token;
15
+ input["maxResults"] = config.pageSize;
16
+ if (config.client instanceof AmplifyClient_1.AmplifyClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected Amplify | AmplifyClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.nextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateListDomainAssociations = paginateListDomainAssociations;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListJobs = void 0;
4
+ const AmplifyClient_1 = require("../AmplifyClient");
5
+ const ListJobsCommand_1 = require("../commands/ListJobsCommand");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new ListJobsCommand_1.ListJobsCommand(input), ...args);
8
+ };
9
+ async function* paginateListJobs(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.nextToken = token;
15
+ input["maxResults"] = config.pageSize;
16
+ if (config.client instanceof AmplifyClient_1.AmplifyClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected Amplify | AmplifyClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.nextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateListJobs = paginateListJobs;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./Interfaces"), exports);
5
+ tslib_1.__exportStar(require("./ListAppsPaginator"), exports);
6
+ tslib_1.__exportStar(require("./ListBranchesPaginator"), exports);
7
+ tslib_1.__exportStar(require("./ListDomainAssociationsPaginator"), exports);
8
+ tslib_1.__exportStar(require("./ListJobsPaginator"), exports);
@@ -78,6 +78,7 @@ const se_CreateBranchCommand = async (input, context) => {
78
78
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "appId", () => input.appId, "{appId}", false);
79
79
  let body;
80
80
  body = JSON.stringify((0, smithy_client_1.take)(input, {
81
+ backend: (_) => (0, smithy_client_1._json)(_),
81
82
  backendEnvironmentArn: [],
82
83
  basicAuthCredentials: [],
83
84
  branchName: [],
@@ -782,6 +783,7 @@ const se_UpdateBranchCommand = async (input, context) => {
782
783
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "branchName", () => input.branchName, "{branchName}", false);
783
784
  let body;
784
785
  body = JSON.stringify((0, smithy_client_1.take)(input, {
786
+ backend: (_) => (0, smithy_client_1._json)(_),
785
787
  backendEnvironmentArn: [],
786
788
  basicAuthCredentials: [],
787
789
  buildSpec: [],
@@ -2650,6 +2652,7 @@ const de_Branch = (output, context) => {
2650
2652
  return (0, smithy_client_1.take)(output, {
2651
2653
  activeJobId: smithy_client_1.expectString,
2652
2654
  associatedResources: smithy_client_1._json,
2655
+ backend: smithy_client_1._json,
2653
2656
  backendEnvironmentArn: smithy_client_1.expectString,
2654
2657
  basicAuthCredentials: smithy_client_1.expectString,
2655
2658
  branchArn: smithy_client_1.expectString,
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 * from "./pagination";
4
5
  export * from "./models";
5
6
  import "@aws-sdk/util-endpoints";
6
7
  export { AmplifyServiceException } from "./models/AmplifyServiceException";
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,25 @@
1
+ import { AmplifyClient } from "../AmplifyClient";
2
+ import { ListAppsCommand } from "../commands/ListAppsCommand";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new ListAppsCommand(input), ...args);
5
+ };
6
+ export async function* paginateListApps(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.nextToken = token;
12
+ input["maxResults"] = config.pageSize;
13
+ if (config.client instanceof AmplifyClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected Amplify | AmplifyClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.nextToken;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -0,0 +1,25 @@
1
+ import { AmplifyClient } from "../AmplifyClient";
2
+ import { ListBranchesCommand, } from "../commands/ListBranchesCommand";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new ListBranchesCommand(input), ...args);
5
+ };
6
+ export async function* paginateListBranches(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.nextToken = token;
12
+ input["maxResults"] = config.pageSize;
13
+ if (config.client instanceof AmplifyClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected Amplify | AmplifyClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.nextToken;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -0,0 +1,25 @@
1
+ import { AmplifyClient } from "../AmplifyClient";
2
+ import { ListDomainAssociationsCommand, } from "../commands/ListDomainAssociationsCommand";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new ListDomainAssociationsCommand(input), ...args);
5
+ };
6
+ export async function* paginateListDomainAssociations(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.nextToken = token;
12
+ input["maxResults"] = config.pageSize;
13
+ if (config.client instanceof AmplifyClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected Amplify | AmplifyClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.nextToken;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -0,0 +1,25 @@
1
+ import { AmplifyClient } from "../AmplifyClient";
2
+ import { ListJobsCommand } from "../commands/ListJobsCommand";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new ListJobsCommand(input), ...args);
5
+ };
6
+ export async function* paginateListJobs(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.nextToken = token;
12
+ input["maxResults"] = config.pageSize;
13
+ if (config.client instanceof AmplifyClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected Amplify | AmplifyClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.nextToken;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -0,0 +1,5 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListAppsPaginator";
3
+ export * from "./ListBranchesPaginator";
4
+ export * from "./ListDomainAssociationsPaginator";
5
+ export * from "./ListJobsPaginator";
@@ -72,6 +72,7 @@ export const se_CreateBranchCommand = async (input, context) => {
72
72
  resolvedPath = __resolvedPath(resolvedPath, input, "appId", () => input.appId, "{appId}", false);
73
73
  let body;
74
74
  body = JSON.stringify(take(input, {
75
+ backend: (_) => _json(_),
75
76
  backendEnvironmentArn: [],
76
77
  basicAuthCredentials: [],
77
78
  branchName: [],
@@ -744,6 +745,7 @@ export const se_UpdateBranchCommand = async (input, context) => {
744
745
  resolvedPath = __resolvedPath(resolvedPath, input, "branchName", () => input.branchName, "{branchName}", false);
745
746
  let body;
746
747
  body = JSON.stringify(take(input, {
748
+ backend: (_) => _json(_),
747
749
  backendEnvironmentArn: [],
748
750
  basicAuthCredentials: [],
749
751
  buildSpec: [],
@@ -2572,6 +2574,7 @@ const de_Branch = (output, context) => {
2572
2574
  return take(output, {
2573
2575
  activeJobId: __expectString,
2574
2576
  associatedResources: _json,
2577
+ backend: _json,
2575
2578
  backendEnvironmentArn: __expectString,
2576
2579
  basicAuthCredentials: __expectString,
2577
2580
  branchArn: __expectString,
@@ -264,8 +264,8 @@ export interface Amplify {
264
264
  /**
265
265
  * @public
266
266
  * <p>Amplify enables developers to develop and deploy cloud-powered mobile and web apps.
267
- * The Amplify Console provides a continuous delivery and hosting service for web
268
- * applications. For more information, see the <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify Console User Guide</a>. The
267
+ * Amplify Hosting provides a continuous delivery and hosting service for web
268
+ * applications. For more information, see the <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify Hosting User Guide</a>. The
269
269
  * Amplify Framework is a comprehensive set of SDKs, libraries, tools, and documentation
270
270
  * for client app development. For more information, see the <a href="https://docs.amplify.aws/">Amplify Framework.</a>
271
271
  * </p>
@@ -190,8 +190,8 @@ export interface AmplifyClientResolvedConfig extends AmplifyClientResolvedConfig
190
190
  /**
191
191
  * @public
192
192
  * <p>Amplify enables developers to develop and deploy cloud-powered mobile and web apps.
193
- * The Amplify Console provides a continuous delivery and hosting service for web
194
- * applications. For more information, see the <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify Console User Guide</a>. The
193
+ * Amplify Hosting provides a continuous delivery and hosting service for web
194
+ * applications. For more information, see the <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify Hosting User Guide</a>. The
195
195
  * Amplify Framework is a comprehensive set of SDKs, libraries, tools, and documentation
196
196
  * for client app development. For more information, see the <a href="https://docs.amplify.aws/">Amplify Framework.</a>
197
197
  * </p>
@@ -23,7 +23,7 @@ export interface CreateAppCommandOutput extends CreateAppResult, __MetadataBeare
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p> Creates a new Amplify app. </p>
26
+ * <p>Creates a new Amplify app. </p>
27
27
  * @example
28
28
  * Use a bare-bones client and the command you need to make an API call.
29
29
  * ```javascript
@@ -148,19 +148,19 @@ export interface CreateAppCommandOutput extends CreateAppResult, __MetadataBeare
148
148
  * @see {@link AmplifyClientResolvedConfig | config} for AmplifyClient's `config` shape.
149
149
  *
150
150
  * @throws {@link BadRequestException} (client fault)
151
- * <p> A request contains unexpected data. </p>
151
+ * <p>A request contains unexpected data. </p>
152
152
  *
153
153
  * @throws {@link DependentServiceFailureException} (server fault)
154
- * <p> An operation failed because a dependent service threw an exception. </p>
154
+ * <p>An operation failed because a dependent service threw an exception. </p>
155
155
  *
156
156
  * @throws {@link InternalFailureException} (server fault)
157
- * <p> The service failed to perform an operation due to an internal issue. </p>
157
+ * <p>The service failed to perform an operation due to an internal issue. </p>
158
158
  *
159
159
  * @throws {@link LimitExceededException} (client fault)
160
- * <p> A resource could not be created because service quotas were exceeded. </p>
160
+ * <p>A resource could not be created because service quotas were exceeded. </p>
161
161
  *
162
162
  * @throws {@link UnauthorizedException} (client fault)
163
- * <p> An operation failed due to a lack of access. </p>
163
+ * <p>An operation failed due to a lack of access. </p>
164
164
  *
165
165
  * @throws {@link AmplifyServiceException}
166
166
  * <p>Base exception class for all service exceptions from Amplify service.</p>
@@ -23,7 +23,7 @@ export interface CreateBackendEnvironmentCommandOutput extends CreateBackendEnvi
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p> Creates a new backend environment for an Amplify app. </p>
26
+ * <p>Creates a new backend environment for an Amplify app. </p>
27
27
  * @example
28
28
  * Use a bare-bones client and the command you need to make an API call.
29
29
  * ```javascript
@@ -58,19 +58,19 @@ export interface CreateBackendEnvironmentCommandOutput extends CreateBackendEnvi
58
58
  * @see {@link AmplifyClientResolvedConfig | config} for AmplifyClient's `config` shape.
59
59
  *
60
60
  * @throws {@link BadRequestException} (client fault)
61
- * <p> A request contains unexpected data. </p>
61
+ * <p>A request contains unexpected data. </p>
62
62
  *
63
63
  * @throws {@link InternalFailureException} (server fault)
64
- * <p> The service failed to perform an operation due to an internal issue. </p>
64
+ * <p>The service failed to perform an operation due to an internal issue. </p>
65
65
  *
66
66
  * @throws {@link LimitExceededException} (client fault)
67
- * <p> A resource could not be created because service quotas were exceeded. </p>
67
+ * <p>A resource could not be created because service quotas were exceeded. </p>
68
68
  *
69
69
  * @throws {@link NotFoundException} (client fault)
70
- * <p> An entity was not found during an operation. </p>
70
+ * <p>An entity was not found during an operation. </p>
71
71
  *
72
72
  * @throws {@link UnauthorizedException} (client fault)
73
- * <p> An operation failed due to a lack of access. </p>
73
+ * <p>An operation failed due to a lack of access. </p>
74
74
  *
75
75
  * @throws {@link AmplifyServiceException}
76
76
  * <p>Base exception class for all service exceptions from Amplify service.</p>
@@ -53,6 +53,9 @@ export interface CreateBranchCommandOutput extends CreateBranchResult, __Metadat
53
53
  * enablePullRequestPreview: true || false,
54
54
  * pullRequestEnvironmentName: "STRING_VALUE",
55
55
  * backendEnvironmentArn: "STRING_VALUE",
56
+ * backend: { // Backend
57
+ * stackArn: "STRING_VALUE",
58
+ * },
56
59
  * };
57
60
  * const command = new CreateBranchCommand(input);
58
61
  * const response = await client.send(command);
@@ -93,6 +96,9 @@ export interface CreateBranchCommandOutput extends CreateBranchResult, __Metadat
93
96
  * // destinationBranch: "STRING_VALUE",
94
97
  * // sourceBranch: "STRING_VALUE",
95
98
  * // backendEnvironmentArn: "STRING_VALUE",
99
+ * // backend: { // Backend
100
+ * // stackArn: "STRING_VALUE",
101
+ * // },
96
102
  * // },
97
103
  * // };
98
104
  *
@@ -105,22 +111,22 @@ export interface CreateBranchCommandOutput extends CreateBranchResult, __Metadat
105
111
  * @see {@link AmplifyClientResolvedConfig | config} for AmplifyClient's `config` shape.
106
112
  *
107
113
  * @throws {@link BadRequestException} (client fault)
108
- * <p> A request contains unexpected data. </p>
114
+ * <p>A request contains unexpected data. </p>
109
115
  *
110
116
  * @throws {@link DependentServiceFailureException} (server fault)
111
- * <p> An operation failed because a dependent service threw an exception. </p>
117
+ * <p>An operation failed because a dependent service threw an exception. </p>
112
118
  *
113
119
  * @throws {@link InternalFailureException} (server fault)
114
- * <p> The service failed to perform an operation due to an internal issue. </p>
120
+ * <p>The service failed to perform an operation due to an internal issue. </p>
115
121
  *
116
122
  * @throws {@link LimitExceededException} (client fault)
117
- * <p> A resource could not be created because service quotas were exceeded. </p>
123
+ * <p>A resource could not be created because service quotas were exceeded. </p>
118
124
  *
119
125
  * @throws {@link NotFoundException} (client fault)
120
- * <p> An entity was not found during an operation. </p>
126
+ * <p>An entity was not found during an operation. </p>
121
127
  *
122
128
  * @throws {@link UnauthorizedException} (client fault)
123
- * <p> An operation failed due to a lack of access. </p>
129
+ * <p>An operation failed due to a lack of access. </p>
124
130
  *
125
131
  * @throws {@link AmplifyServiceException}
126
132
  * <p>Base exception class for all service exceptions from Amplify service.</p>
@@ -23,8 +23,12 @@ export interface CreateDeploymentCommandOutput extends CreateDeploymentResult, _
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p> Creates a deployment for a manually deployed Amplify app. Manually deployed apps are
26
+ * <p>Creates a deployment for a manually deployed Amplify app. Manually deployed apps are
27
27
  * not connected to a repository. </p>
28
+ * <p>The maximum duration between the <code>CreateDeployment</code> call and the
29
+ * <code>StartDeployment</code> call cannot exceed 8 hours. If the duration exceeds 8 hours, the
30
+ * <code>StartDeployment</code> call and the associated <code>Job</code> will
31
+ * fail.</p>
28
32
  * @example
29
33
  * Use a bare-bones client and the command you need to make an API call.
30
34
  * ```javascript
@@ -57,16 +61,16 @@ export interface CreateDeploymentCommandOutput extends CreateDeploymentResult, _
57
61
  * @see {@link AmplifyClientResolvedConfig | config} for AmplifyClient's `config` shape.
58
62
  *
59
63
  * @throws {@link BadRequestException} (client fault)
60
- * <p> A request contains unexpected data. </p>
64
+ * <p>A request contains unexpected data. </p>
61
65
  *
62
66
  * @throws {@link InternalFailureException} (server fault)
63
- * <p> The service failed to perform an operation due to an internal issue. </p>
67
+ * <p>The service failed to perform an operation due to an internal issue. </p>
64
68
  *
65
69
  * @throws {@link LimitExceededException} (client fault)
66
- * <p> A resource could not be created because service quotas were exceeded. </p>
70
+ * <p>A resource could not be created because service quotas were exceeded. </p>
67
71
  *
68
72
  * @throws {@link UnauthorizedException} (client fault)
69
- * <p> An operation failed due to a lack of access. </p>
73
+ * <p>An operation failed due to a lack of access. </p>
70
74
  *
71
75
  * @throws {@link AmplifyServiceException}
72
76
  * <p>Base exception class for all service exceptions from Amplify service.</p>
@@ -82,22 +82,22 @@ export interface CreateDomainAssociationCommandOutput extends CreateDomainAssoci
82
82
  * @see {@link AmplifyClientResolvedConfig | config} for AmplifyClient's `config` shape.
83
83
  *
84
84
  * @throws {@link BadRequestException} (client fault)
85
- * <p> A request contains unexpected data. </p>
85
+ * <p>A request contains unexpected data. </p>
86
86
  *
87
87
  * @throws {@link DependentServiceFailureException} (server fault)
88
- * <p> An operation failed because a dependent service threw an exception. </p>
88
+ * <p>An operation failed because a dependent service threw an exception. </p>
89
89
  *
90
90
  * @throws {@link InternalFailureException} (server fault)
91
- * <p> The service failed to perform an operation due to an internal issue. </p>
91
+ * <p>The service failed to perform an operation due to an internal issue. </p>
92
92
  *
93
93
  * @throws {@link LimitExceededException} (client fault)
94
- * <p> A resource could not be created because service quotas were exceeded. </p>
94
+ * <p>A resource could not be created because service quotas were exceeded. </p>
95
95
  *
96
96
  * @throws {@link NotFoundException} (client fault)
97
- * <p> An entity was not found during an operation. </p>
97
+ * <p>An entity was not found during an operation. </p>
98
98
  *
99
99
  * @throws {@link UnauthorizedException} (client fault)
100
- * <p> An operation failed due to a lack of access. </p>
100
+ * <p>An operation failed due to a lack of access. </p>
101
101
  *
102
102
  * @throws {@link AmplifyServiceException}
103
103
  * <p>Base exception class for all service exceptions from Amplify service.</p>
@@ -23,7 +23,7 @@ export interface CreateWebhookCommandOutput extends CreateWebhookResult, __Metad
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p> Creates a new webhook on an Amplify app. </p>
26
+ * <p>Creates a new webhook on an Amplify app. </p>
27
27
  * @example
28
28
  * Use a bare-bones client and the command you need to make an API call.
29
29
  * ```javascript
@@ -58,22 +58,22 @@ export interface CreateWebhookCommandOutput extends CreateWebhookResult, __Metad
58
58
  * @see {@link AmplifyClientResolvedConfig | config} for AmplifyClient's `config` shape.
59
59
  *
60
60
  * @throws {@link BadRequestException} (client fault)
61
- * <p> A request contains unexpected data. </p>
61
+ * <p>A request contains unexpected data. </p>
62
62
  *
63
63
  * @throws {@link DependentServiceFailureException} (server fault)
64
- * <p> An operation failed because a dependent service threw an exception. </p>
64
+ * <p>An operation failed because a dependent service threw an exception. </p>
65
65
  *
66
66
  * @throws {@link InternalFailureException} (server fault)
67
- * <p> The service failed to perform an operation due to an internal issue. </p>
67
+ * <p>The service failed to perform an operation due to an internal issue. </p>
68
68
  *
69
69
  * @throws {@link LimitExceededException} (client fault)
70
- * <p> A resource could not be created because service quotas were exceeded. </p>
70
+ * <p>A resource could not be created because service quotas were exceeded. </p>
71
71
  *
72
72
  * @throws {@link NotFoundException} (client fault)
73
- * <p> An entity was not found during an operation. </p>
73
+ * <p>An entity was not found during an operation. </p>
74
74
  *
75
75
  * @throws {@link UnauthorizedException} (client fault)
76
- * <p> An operation failed due to a lack of access. </p>
76
+ * <p>An operation failed due to a lack of access. </p>
77
77
  *
78
78
  * @throws {@link AmplifyServiceException}
79
79
  * <p>Base exception class for all service exceptions from Amplify service.</p>
@@ -23,7 +23,7 @@ export interface DeleteAppCommandOutput extends DeleteAppResult, __MetadataBeare
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p> Deletes an existing Amplify app specified by an app ID. </p>
26
+ * <p>Deletes an existing Amplify app specified by an app ID. </p>
27
27
  * @example
28
28
  * Use a bare-bones client and the command you need to make an API call.
29
29
  * ```javascript
@@ -104,19 +104,19 @@ export interface DeleteAppCommandOutput extends DeleteAppResult, __MetadataBeare
104
104
  * @see {@link AmplifyClientResolvedConfig | config} for AmplifyClient's `config` shape.
105
105
  *
106
106
  * @throws {@link BadRequestException} (client fault)
107
- * <p> A request contains unexpected data. </p>
107
+ * <p>A request contains unexpected data. </p>
108
108
  *
109
109
  * @throws {@link DependentServiceFailureException} (server fault)
110
- * <p> An operation failed because a dependent service threw an exception. </p>
110
+ * <p>An operation failed because a dependent service threw an exception. </p>
111
111
  *
112
112
  * @throws {@link InternalFailureException} (server fault)
113
- * <p> The service failed to perform an operation due to an internal issue. </p>
113
+ * <p>The service failed to perform an operation due to an internal issue. </p>
114
114
  *
115
115
  * @throws {@link NotFoundException} (client fault)
116
- * <p> An entity was not found during an operation. </p>
116
+ * <p>An entity was not found during an operation. </p>
117
117
  *
118
118
  * @throws {@link UnauthorizedException} (client fault)
119
- * <p> An operation failed due to a lack of access. </p>
119
+ * <p>An operation failed due to a lack of access. </p>
120
120
  *
121
121
  * @throws {@link AmplifyServiceException}
122
122
  * <p>Base exception class for all service exceptions from Amplify service.</p>