@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.
- package/README.md +2 -2
- package/dist-cjs/index.js +1 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListAppsPaginator.js +29 -0
- package/dist-cjs/pagination/ListBranchesPaginator.js +29 -0
- package/dist-cjs/pagination/ListDomainAssociationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListJobsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_restJson1.js +3 -0
- package/dist-es/index.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAppsPaginator.js +25 -0
- package/dist-es/pagination/ListBranchesPaginator.js +25 -0
- package/dist-es/pagination/ListDomainAssociationsPaginator.js +25 -0
- package/dist-es/pagination/ListJobsPaginator.js +25 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +3 -0
- package/dist-types/Amplify.d.ts +2 -2
- package/dist-types/AmplifyClient.d.ts +2 -2
- package/dist-types/commands/CreateAppCommand.d.ts +6 -6
- package/dist-types/commands/CreateBackendEnvironmentCommand.d.ts +6 -6
- package/dist-types/commands/CreateBranchCommand.d.ts +12 -6
- package/dist-types/commands/CreateDeploymentCommand.d.ts +9 -5
- package/dist-types/commands/CreateDomainAssociationCommand.d.ts +6 -6
- package/dist-types/commands/CreateWebhookCommand.d.ts +7 -7
- package/dist-types/commands/DeleteAppCommand.d.ts +6 -6
- package/dist-types/commands/DeleteBackendEnvironmentCommand.d.ts +6 -6
- package/dist-types/commands/DeleteBranchCommand.d.ts +8 -5
- package/dist-types/commands/DeleteDomainAssociationCommand.d.ts +5 -5
- package/dist-types/commands/DeleteJobCommand.d.ts +5 -5
- package/dist-types/commands/DeleteWebhookCommand.d.ts +6 -6
- package/dist-types/commands/GenerateAccessLogsCommand.d.ts +5 -5
- package/dist-types/commands/GetAppCommand.d.ts +5 -5
- package/dist-types/commands/GetArtifactUrlCommand.d.ts +6 -6
- package/dist-types/commands/GetBackendEnvironmentCommand.d.ts +5 -5
- package/dist-types/commands/GetBranchCommand.d.ts +7 -4
- package/dist-types/commands/GetDomainAssociationCommand.d.ts +4 -4
- package/dist-types/commands/GetJobCommand.d.ts +5 -5
- package/dist-types/commands/GetWebhookCommand.d.ts +6 -6
- package/dist-types/commands/ListAppsCommand.d.ts +4 -4
- package/dist-types/commands/ListArtifactsCommand.d.ts +5 -5
- package/dist-types/commands/ListBackendEnvironmentsCommand.d.ts +4 -4
- package/dist-types/commands/ListBranchesCommand.d.ts +6 -3
- package/dist-types/commands/ListDomainAssociationsCommand.d.ts +3 -3
- package/dist-types/commands/ListJobsCommand.d.ts +4 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -4
- package/dist-types/commands/ListWebhooksCommand.d.ts +5 -5
- package/dist-types/commands/StartDeploymentCommand.d.ts +10 -6
- package/dist-types/commands/StartJobCommand.d.ts +5 -5
- package/dist-types/commands/StopJobCommand.d.ts +5 -5
- package/dist-types/commands/TagResourceCommand.d.ts +4 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -4
- package/dist-types/commands/UpdateAppCommand.d.ts +5 -5
- package/dist-types/commands/UpdateBranchCommand.d.ts +11 -5
- package/dist-types/commands/UpdateDomainAssociationCommand.d.ts +5 -5
- package/dist-types/commands/UpdateWebhookCommand.d.ts +6 -6
- package/dist-types/index.d.ts +3 -2
- package/dist-types/models/models_0.d.ts +277 -248
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListAppsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListBranchesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDomainAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +6 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAppsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListBranchesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDomainAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/package.json +4 -4
|
@@ -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>;
|
|
@@ -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,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>;
|
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.
|
|
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.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
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",
|