@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
@@ -0,0 +1,8 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { AmplifyClient } from "../AmplifyClient";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface AmplifyPaginationConfiguration extends PaginationConfiguration {
7
+ client: AmplifyClient;
8
+ }
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListAppsCommandInput, ListAppsCommandOutput } from "../commands/ListAppsCommand";
3
+ import { AmplifyPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateListApps(config: AmplifyPaginationConfiguration, input: ListAppsCommandInput, ...additionalArguments: any): Paginator<ListAppsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListBranchesCommandInput, ListBranchesCommandOutput } from "../commands/ListBranchesCommand";
3
+ import { AmplifyPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateListBranches(config: AmplifyPaginationConfiguration, input: ListBranchesCommandInput, ...additionalArguments: any): Paginator<ListBranchesCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListDomainAssociationsCommandInput, ListDomainAssociationsCommandOutput } from "../commands/ListDomainAssociationsCommand";
3
+ import { AmplifyPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateListDomainAssociations(config: AmplifyPaginationConfiguration, input: ListDomainAssociationsCommandInput, ...additionalArguments: any): Paginator<ListDomainAssociationsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListJobsCommandInput, ListJobsCommandOutput } from "../commands/ListJobsCommand";
3
+ import { AmplifyPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateListJobs(config: AmplifyPaginationConfiguration, input: ListJobsCommandInput, ...additionalArguments: any): Paginator<ListJobsCommandOutput>;
@@ -0,0 +1,5 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListAppsPaginator";
3
+ export * from "./ListBranchesPaginator";
4
+ export * from "./ListDomainAssociationsPaginator";
5
+ export * from "./ListJobsPaginator";
@@ -2,6 +2,7 @@ export * from "./AmplifyClient";
2
2
  export * from "./Amplify";
3
3
  export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export * from "./commands";
5
+ export * from "./pagination";
5
6
  export * from "./models";
6
7
  import "@aws-sdk/util-endpoints";
7
8
  export { AmplifyServiceException } from "./models/AmplifyServiceException";
@@ -155,6 +155,9 @@ export declare class NotFoundException extends __BaseException {
155
155
  readonly $fault: "client";
156
156
  constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
157
157
  }
158
+ export interface Backend {
159
+ stackArn?: string;
160
+ }
158
161
  export interface CreateBranchRequest {
159
162
  appId: string | undefined;
160
163
  branchName: string | undefined;
@@ -174,6 +177,7 @@ export interface CreateBranchRequest {
174
177
  enablePullRequestPreview?: boolean;
175
178
  pullRequestEnvironmentName?: string;
176
179
  backendEnvironmentArn?: string;
180
+ backend?: Backend;
177
181
  }
178
182
  export interface Branch {
179
183
  branchArn: string | undefined;
@@ -203,6 +207,7 @@ export interface Branch {
203
207
  destinationBranch?: string;
204
208
  sourceBranch?: string;
205
209
  backendEnvironmentArn?: string;
210
+ backend?: Backend;
206
211
  }
207
212
  export interface CreateBranchResult {
208
213
  branch: Branch | undefined;
@@ -585,6 +590,7 @@ export interface UpdateBranchRequest {
585
590
  enablePullRequestPreview?: boolean;
586
591
  pullRequestEnvironmentName?: string;
587
592
  backendEnvironmentArn?: string;
593
+ backend?: Backend;
588
594
  }
589
595
  export interface UpdateBranchResult {
590
596
  branch: Branch | undefined;
@@ -0,0 +1,6 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { AmplifyClient } from "../AmplifyClient";
3
+ export interface AmplifyPaginationConfiguration
4
+ extends PaginationConfiguration {
5
+ client: AmplifyClient;
6
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListAppsCommandInput,
4
+ ListAppsCommandOutput,
5
+ } from "../commands/ListAppsCommand";
6
+ import { AmplifyPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListApps(
8
+ config: AmplifyPaginationConfiguration,
9
+ input: ListAppsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListAppsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListBranchesCommandInput,
4
+ ListBranchesCommandOutput,
5
+ } from "../commands/ListBranchesCommand";
6
+ import { AmplifyPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListBranches(
8
+ config: AmplifyPaginationConfiguration,
9
+ input: ListBranchesCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListBranchesCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListDomainAssociationsCommandInput,
4
+ ListDomainAssociationsCommandOutput,
5
+ } from "../commands/ListDomainAssociationsCommand";
6
+ import { AmplifyPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListDomainAssociations(
8
+ config: AmplifyPaginationConfiguration,
9
+ input: ListDomainAssociationsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListDomainAssociationsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListJobsCommandInput,
4
+ ListJobsCommandOutput,
5
+ } from "../commands/ListJobsCommand";
6
+ import { AmplifyPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListJobs(
8
+ config: AmplifyPaginationConfiguration,
9
+ input: ListJobsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListJobsCommandOutput>;
@@ -0,0 +1,5 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListAppsPaginator";
3
+ export * from "./ListBranchesPaginator";
4
+ export * from "./ListDomainAssociationsPaginator";
5
+ export * from "./ListJobsPaginator";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-amplify",
3
3
  "description": "AWS SDK for JavaScript Amplify Client for Node.js, Browser and React Native",
4
- "version": "3.438.0",
4
+ "version": "3.441.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.438.0",
25
- "@aws-sdk/core": "3.436.0",
26
- "@aws-sdk/credential-provider-node": "3.438.0",
24
+ "@aws-sdk/client-sts": "3.441.0",
25
+ "@aws-sdk/core": "3.441.0",
26
+ "@aws-sdk/credential-provider-node": "3.441.0",
27
27
  "@aws-sdk/middleware-host-header": "3.433.0",
28
28
  "@aws-sdk/middleware-logger": "3.433.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.433.0",