@aws-sdk/client-amplify 3.974.0 → 3.978.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/dist-cjs/index.js +15 -9
- package/dist-es/Amplify.js +11 -1
- package/dist-types/Amplify.d.ts +29 -1
- package/dist-types/ts3.4/Amplify.d.ts +33 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -1606,6 +1606,14 @@ class UpdateWebhookCommand extends smithyClient.Command
|
|
|
1606
1606
|
.build() {
|
|
1607
1607
|
}
|
|
1608
1608
|
|
|
1609
|
+
const paginateListApps = core.createPaginator(AmplifyClient, ListAppsCommand, "nextToken", "nextToken", "maxResults");
|
|
1610
|
+
|
|
1611
|
+
const paginateListBranches = core.createPaginator(AmplifyClient, ListBranchesCommand, "nextToken", "nextToken", "maxResults");
|
|
1612
|
+
|
|
1613
|
+
const paginateListDomainAssociations = core.createPaginator(AmplifyClient, ListDomainAssociationsCommand, "nextToken", "nextToken", "maxResults");
|
|
1614
|
+
|
|
1615
|
+
const paginateListJobs = core.createPaginator(AmplifyClient, ListJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
1616
|
+
|
|
1609
1617
|
const commands = {
|
|
1610
1618
|
CreateAppCommand,
|
|
1611
1619
|
CreateBackendEnvironmentCommand,
|
|
@@ -1645,17 +1653,15 @@ const commands = {
|
|
|
1645
1653
|
UpdateDomainAssociationCommand,
|
|
1646
1654
|
UpdateWebhookCommand,
|
|
1647
1655
|
};
|
|
1656
|
+
const paginators = {
|
|
1657
|
+
paginateListApps,
|
|
1658
|
+
paginateListBranches,
|
|
1659
|
+
paginateListDomainAssociations,
|
|
1660
|
+
paginateListJobs,
|
|
1661
|
+
};
|
|
1648
1662
|
class Amplify extends AmplifyClient {
|
|
1649
1663
|
}
|
|
1650
|
-
smithyClient.createAggregatedClient(commands, Amplify);
|
|
1651
|
-
|
|
1652
|
-
const paginateListApps = core.createPaginator(AmplifyClient, ListAppsCommand, "nextToken", "nextToken", "maxResults");
|
|
1653
|
-
|
|
1654
|
-
const paginateListBranches = core.createPaginator(AmplifyClient, ListBranchesCommand, "nextToken", "nextToken", "maxResults");
|
|
1655
|
-
|
|
1656
|
-
const paginateListDomainAssociations = core.createPaginator(AmplifyClient, ListDomainAssociationsCommand, "nextToken", "nextToken", "maxResults");
|
|
1657
|
-
|
|
1658
|
-
const paginateListJobs = core.createPaginator(AmplifyClient, ListJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
1664
|
+
smithyClient.createAggregatedClient(commands, Amplify, { paginators });
|
|
1659
1665
|
|
|
1660
1666
|
const Stage = {
|
|
1661
1667
|
BETA: "BETA",
|
package/dist-es/Amplify.js
CHANGED
|
@@ -37,6 +37,10 @@ import { UpdateAppCommand } from "./commands/UpdateAppCommand";
|
|
|
37
37
|
import { UpdateBranchCommand, } from "./commands/UpdateBranchCommand";
|
|
38
38
|
import { UpdateDomainAssociationCommand, } from "./commands/UpdateDomainAssociationCommand";
|
|
39
39
|
import { UpdateWebhookCommand, } from "./commands/UpdateWebhookCommand";
|
|
40
|
+
import { paginateListApps } from "./pagination/ListAppsPaginator";
|
|
41
|
+
import { paginateListBranches } from "./pagination/ListBranchesPaginator";
|
|
42
|
+
import { paginateListDomainAssociations } from "./pagination/ListDomainAssociationsPaginator";
|
|
43
|
+
import { paginateListJobs } from "./pagination/ListJobsPaginator";
|
|
40
44
|
const commands = {
|
|
41
45
|
CreateAppCommand,
|
|
42
46
|
CreateBackendEnvironmentCommand,
|
|
@@ -76,6 +80,12 @@ const commands = {
|
|
|
76
80
|
UpdateDomainAssociationCommand,
|
|
77
81
|
UpdateWebhookCommand,
|
|
78
82
|
};
|
|
83
|
+
const paginators = {
|
|
84
|
+
paginateListApps,
|
|
85
|
+
paginateListBranches,
|
|
86
|
+
paginateListDomainAssociations,
|
|
87
|
+
paginateListJobs,
|
|
88
|
+
};
|
|
79
89
|
export class Amplify extends AmplifyClient {
|
|
80
90
|
}
|
|
81
|
-
createAggregatedClient(commands, Amplify);
|
|
91
|
+
createAggregatedClient(commands, Amplify, { paginators });
|
package/dist-types/Amplify.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { AmplifyClient } from "./AmplifyClient";
|
|
3
3
|
import { CreateAppCommandInput, CreateAppCommandOutput } from "./commands/CreateAppCommand";
|
|
4
4
|
import { CreateBackendEnvironmentCommandInput, CreateBackendEnvironmentCommandOutput } from "./commands/CreateBackendEnvironmentCommand";
|
|
@@ -261,6 +261,34 @@ export interface Amplify {
|
|
|
261
261
|
updateWebhook(args: UpdateWebhookCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWebhookCommandOutput>;
|
|
262
262
|
updateWebhook(args: UpdateWebhookCommandInput, cb: (err: any, data?: UpdateWebhookCommandOutput) => void): void;
|
|
263
263
|
updateWebhook(args: UpdateWebhookCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWebhookCommandOutput) => void): void;
|
|
264
|
+
/**
|
|
265
|
+
* @see {@link ListAppsCommand}
|
|
266
|
+
* @param args - command input.
|
|
267
|
+
* @param paginationConfig - optional pagination config.
|
|
268
|
+
* @returns AsyncIterable of {@link ListAppsCommandOutput}.
|
|
269
|
+
*/
|
|
270
|
+
paginateListApps(args?: ListAppsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAppsCommandOutput>;
|
|
271
|
+
/**
|
|
272
|
+
* @see {@link ListBranchesCommand}
|
|
273
|
+
* @param args - command input.
|
|
274
|
+
* @param paginationConfig - optional pagination config.
|
|
275
|
+
* @returns AsyncIterable of {@link ListBranchesCommandOutput}.
|
|
276
|
+
*/
|
|
277
|
+
paginateListBranches(args: ListBranchesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListBranchesCommandOutput>;
|
|
278
|
+
/**
|
|
279
|
+
* @see {@link ListDomainAssociationsCommand}
|
|
280
|
+
* @param args - command input.
|
|
281
|
+
* @param paginationConfig - optional pagination config.
|
|
282
|
+
* @returns AsyncIterable of {@link ListDomainAssociationsCommandOutput}.
|
|
283
|
+
*/
|
|
284
|
+
paginateListDomainAssociations(args: ListDomainAssociationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDomainAssociationsCommandOutput>;
|
|
285
|
+
/**
|
|
286
|
+
* @see {@link ListJobsCommand}
|
|
287
|
+
* @param args - command input.
|
|
288
|
+
* @param paginationConfig - optional pagination config.
|
|
289
|
+
* @returns AsyncIterable of {@link ListJobsCommandOutput}.
|
|
290
|
+
*/
|
|
291
|
+
paginateListJobs(args: ListJobsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListJobsCommandOutput>;
|
|
264
292
|
}
|
|
265
293
|
/**
|
|
266
294
|
* <p>Amplify enables developers to develop and deploy cloud-powered mobile and web apps.
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import { AmplifyClient } from "./AmplifyClient";
|
|
3
7
|
import {
|
|
4
8
|
CreateAppCommandInput,
|
|
@@ -631,5 +635,33 @@ export interface Amplify {
|
|
|
631
635
|
options: __HttpHandlerOptions,
|
|
632
636
|
cb: (err: any, data?: UpdateWebhookCommandOutput) => void
|
|
633
637
|
): void;
|
|
638
|
+
paginateListApps(
|
|
639
|
+
args?: ListAppsCommandInput,
|
|
640
|
+
paginationConfig?: Pick<
|
|
641
|
+
PaginationConfiguration,
|
|
642
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
643
|
+
>
|
|
644
|
+
): Paginator<ListAppsCommandOutput>;
|
|
645
|
+
paginateListBranches(
|
|
646
|
+
args: ListBranchesCommandInput,
|
|
647
|
+
paginationConfig?: Pick<
|
|
648
|
+
PaginationConfiguration,
|
|
649
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
650
|
+
>
|
|
651
|
+
): Paginator<ListBranchesCommandOutput>;
|
|
652
|
+
paginateListDomainAssociations(
|
|
653
|
+
args: ListDomainAssociationsCommandInput,
|
|
654
|
+
paginationConfig?: Pick<
|
|
655
|
+
PaginationConfiguration,
|
|
656
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
657
|
+
>
|
|
658
|
+
): Paginator<ListDomainAssociationsCommandOutput>;
|
|
659
|
+
paginateListJobs(
|
|
660
|
+
args: ListJobsCommandInput,
|
|
661
|
+
paginationConfig?: Pick<
|
|
662
|
+
PaginationConfiguration,
|
|
663
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
664
|
+
>
|
|
665
|
+
): Paginator<ListJobsCommandOutput>;
|
|
634
666
|
}
|
|
635
667
|
export declare class Amplify extends AmplifyClient implements Amplify {}
|
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.978.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-amplify",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|