@aws-sdk/client-amplifyuibuilder 3.975.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
CHANGED
|
@@ -1726,6 +1726,20 @@ class UpdateThemeCommand extends smithyClient.Command
|
|
|
1726
1726
|
.build() {
|
|
1727
1727
|
}
|
|
1728
1728
|
|
|
1729
|
+
const paginateExportComponents = core.createPaginator(AmplifyUIBuilderClient, ExportComponentsCommand, "nextToken", "nextToken", "");
|
|
1730
|
+
|
|
1731
|
+
const paginateExportForms = core.createPaginator(AmplifyUIBuilderClient, ExportFormsCommand, "nextToken", "nextToken", "");
|
|
1732
|
+
|
|
1733
|
+
const paginateExportThemes = core.createPaginator(AmplifyUIBuilderClient, ExportThemesCommand, "nextToken", "nextToken", "");
|
|
1734
|
+
|
|
1735
|
+
const paginateListCodegenJobs = core.createPaginator(AmplifyUIBuilderClient, ListCodegenJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
1736
|
+
|
|
1737
|
+
const paginateListComponents = core.createPaginator(AmplifyUIBuilderClient, ListComponentsCommand, "nextToken", "nextToken", "maxResults");
|
|
1738
|
+
|
|
1739
|
+
const paginateListForms = core.createPaginator(AmplifyUIBuilderClient, ListFormsCommand, "nextToken", "nextToken", "maxResults");
|
|
1740
|
+
|
|
1741
|
+
const paginateListThemes = core.createPaginator(AmplifyUIBuilderClient, ListThemesCommand, "nextToken", "nextToken", "maxResults");
|
|
1742
|
+
|
|
1729
1743
|
const commands = {
|
|
1730
1744
|
CreateComponentCommand,
|
|
1731
1745
|
CreateFormCommand,
|
|
@@ -1756,23 +1770,18 @@ const commands = {
|
|
|
1756
1770
|
UpdateFormCommand,
|
|
1757
1771
|
UpdateThemeCommand,
|
|
1758
1772
|
};
|
|
1773
|
+
const paginators = {
|
|
1774
|
+
paginateExportComponents,
|
|
1775
|
+
paginateExportForms,
|
|
1776
|
+
paginateExportThemes,
|
|
1777
|
+
paginateListCodegenJobs,
|
|
1778
|
+
paginateListComponents,
|
|
1779
|
+
paginateListForms,
|
|
1780
|
+
paginateListThemes,
|
|
1781
|
+
};
|
|
1759
1782
|
class AmplifyUIBuilder extends AmplifyUIBuilderClient {
|
|
1760
1783
|
}
|
|
1761
|
-
smithyClient.createAggregatedClient(commands, AmplifyUIBuilder);
|
|
1762
|
-
|
|
1763
|
-
const paginateExportComponents = core.createPaginator(AmplifyUIBuilderClient, ExportComponentsCommand, "nextToken", "nextToken", "");
|
|
1764
|
-
|
|
1765
|
-
const paginateExportForms = core.createPaginator(AmplifyUIBuilderClient, ExportFormsCommand, "nextToken", "nextToken", "");
|
|
1766
|
-
|
|
1767
|
-
const paginateExportThemes = core.createPaginator(AmplifyUIBuilderClient, ExportThemesCommand, "nextToken", "nextToken", "");
|
|
1768
|
-
|
|
1769
|
-
const paginateListCodegenJobs = core.createPaginator(AmplifyUIBuilderClient, ListCodegenJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
1770
|
-
|
|
1771
|
-
const paginateListComponents = core.createPaginator(AmplifyUIBuilderClient, ListComponentsCommand, "nextToken", "nextToken", "maxResults");
|
|
1772
|
-
|
|
1773
|
-
const paginateListForms = core.createPaginator(AmplifyUIBuilderClient, ListFormsCommand, "nextToken", "nextToken", "maxResults");
|
|
1774
|
-
|
|
1775
|
-
const paginateListThemes = core.createPaginator(AmplifyUIBuilderClient, ListThemesCommand, "nextToken", "nextToken", "maxResults");
|
|
1784
|
+
smithyClient.createAggregatedClient(commands, AmplifyUIBuilder, { paginators });
|
|
1776
1785
|
|
|
1777
1786
|
const CodegenJobGenericDataSourceType = {
|
|
1778
1787
|
DATA_STORE: "DataStore",
|
|
@@ -28,6 +28,13 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
|
28
28
|
import { UpdateComponentCommand, } from "./commands/UpdateComponentCommand";
|
|
29
29
|
import { UpdateFormCommand } from "./commands/UpdateFormCommand";
|
|
30
30
|
import { UpdateThemeCommand } from "./commands/UpdateThemeCommand";
|
|
31
|
+
import { paginateExportComponents } from "./pagination/ExportComponentsPaginator";
|
|
32
|
+
import { paginateExportForms } from "./pagination/ExportFormsPaginator";
|
|
33
|
+
import { paginateExportThemes } from "./pagination/ExportThemesPaginator";
|
|
34
|
+
import { paginateListCodegenJobs } from "./pagination/ListCodegenJobsPaginator";
|
|
35
|
+
import { paginateListComponents } from "./pagination/ListComponentsPaginator";
|
|
36
|
+
import { paginateListForms } from "./pagination/ListFormsPaginator";
|
|
37
|
+
import { paginateListThemes } from "./pagination/ListThemesPaginator";
|
|
31
38
|
const commands = {
|
|
32
39
|
CreateComponentCommand,
|
|
33
40
|
CreateFormCommand,
|
|
@@ -58,6 +65,15 @@ const commands = {
|
|
|
58
65
|
UpdateFormCommand,
|
|
59
66
|
UpdateThemeCommand,
|
|
60
67
|
};
|
|
68
|
+
const paginators = {
|
|
69
|
+
paginateExportComponents,
|
|
70
|
+
paginateExportForms,
|
|
71
|
+
paginateExportThemes,
|
|
72
|
+
paginateListCodegenJobs,
|
|
73
|
+
paginateListComponents,
|
|
74
|
+
paginateListForms,
|
|
75
|
+
paginateListThemes,
|
|
76
|
+
};
|
|
61
77
|
export class AmplifyUIBuilder extends AmplifyUIBuilderClient {
|
|
62
78
|
}
|
|
63
|
-
createAggregatedClient(commands, AmplifyUIBuilder);
|
|
79
|
+
createAggregatedClient(commands, AmplifyUIBuilder, { paginators });
|
|
@@ -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 { AmplifyUIBuilderClient } from "./AmplifyUIBuilderClient";
|
|
3
3
|
import { CreateComponentCommandInput, CreateComponentCommandOutput } from "./commands/CreateComponentCommand";
|
|
4
4
|
import { CreateFormCommandInput, CreateFormCommandOutput } from "./commands/CreateFormCommand";
|
|
@@ -197,6 +197,55 @@ export interface AmplifyUIBuilder {
|
|
|
197
197
|
updateTheme(args: UpdateThemeCommandInput, options?: __HttpHandlerOptions): Promise<UpdateThemeCommandOutput>;
|
|
198
198
|
updateTheme(args: UpdateThemeCommandInput, cb: (err: any, data?: UpdateThemeCommandOutput) => void): void;
|
|
199
199
|
updateTheme(args: UpdateThemeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateThemeCommandOutput) => void): void;
|
|
200
|
+
/**
|
|
201
|
+
* @see {@link ExportComponentsCommand}
|
|
202
|
+
* @param args - command input.
|
|
203
|
+
* @param paginationConfig - optional pagination config.
|
|
204
|
+
* @returns AsyncIterable of {@link ExportComponentsCommandOutput}.
|
|
205
|
+
*/
|
|
206
|
+
paginateExportComponents(args: ExportComponentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ExportComponentsCommandOutput>;
|
|
207
|
+
/**
|
|
208
|
+
* @see {@link ExportFormsCommand}
|
|
209
|
+
* @param args - command input.
|
|
210
|
+
* @param paginationConfig - optional pagination config.
|
|
211
|
+
* @returns AsyncIterable of {@link ExportFormsCommandOutput}.
|
|
212
|
+
*/
|
|
213
|
+
paginateExportForms(args: ExportFormsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ExportFormsCommandOutput>;
|
|
214
|
+
/**
|
|
215
|
+
* @see {@link ExportThemesCommand}
|
|
216
|
+
* @param args - command input.
|
|
217
|
+
* @param paginationConfig - optional pagination config.
|
|
218
|
+
* @returns AsyncIterable of {@link ExportThemesCommandOutput}.
|
|
219
|
+
*/
|
|
220
|
+
paginateExportThemes(args: ExportThemesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ExportThemesCommandOutput>;
|
|
221
|
+
/**
|
|
222
|
+
* @see {@link ListCodegenJobsCommand}
|
|
223
|
+
* @param args - command input.
|
|
224
|
+
* @param paginationConfig - optional pagination config.
|
|
225
|
+
* @returns AsyncIterable of {@link ListCodegenJobsCommandOutput}.
|
|
226
|
+
*/
|
|
227
|
+
paginateListCodegenJobs(args: ListCodegenJobsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCodegenJobsCommandOutput>;
|
|
228
|
+
/**
|
|
229
|
+
* @see {@link ListComponentsCommand}
|
|
230
|
+
* @param args - command input.
|
|
231
|
+
* @param paginationConfig - optional pagination config.
|
|
232
|
+
* @returns AsyncIterable of {@link ListComponentsCommandOutput}.
|
|
233
|
+
*/
|
|
234
|
+
paginateListComponents(args: ListComponentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListComponentsCommandOutput>;
|
|
235
|
+
/**
|
|
236
|
+
* @see {@link ListFormsCommand}
|
|
237
|
+
* @param args - command input.
|
|
238
|
+
* @param paginationConfig - optional pagination config.
|
|
239
|
+
* @returns AsyncIterable of {@link ListFormsCommandOutput}.
|
|
240
|
+
*/
|
|
241
|
+
paginateListForms(args: ListFormsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListFormsCommandOutput>;
|
|
242
|
+
/**
|
|
243
|
+
* @see {@link ListThemesCommand}
|
|
244
|
+
* @param args - command input.
|
|
245
|
+
* @param paginationConfig - optional pagination config.
|
|
246
|
+
* @returns AsyncIterable of {@link ListThemesCommandOutput}.
|
|
247
|
+
*/
|
|
248
|
+
paginateListThemes(args: ListThemesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListThemesCommandOutput>;
|
|
200
249
|
}
|
|
201
250
|
/**
|
|
202
251
|
* <p>The Amplify UI Builder API provides a programmatic interface for creating
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import { AmplifyUIBuilderClient } from "./AmplifyUIBuilderClient";
|
|
3
7
|
import {
|
|
4
8
|
CreateComponentCommandInput,
|
|
@@ -477,6 +481,55 @@ export interface AmplifyUIBuilder {
|
|
|
477
481
|
options: __HttpHandlerOptions,
|
|
478
482
|
cb: (err: any, data?: UpdateThemeCommandOutput) => void
|
|
479
483
|
): void;
|
|
484
|
+
paginateExportComponents(
|
|
485
|
+
args: ExportComponentsCommandInput,
|
|
486
|
+
paginationConfig?: Pick<
|
|
487
|
+
PaginationConfiguration,
|
|
488
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
489
|
+
>
|
|
490
|
+
): Paginator<ExportComponentsCommandOutput>;
|
|
491
|
+
paginateExportForms(
|
|
492
|
+
args: ExportFormsCommandInput,
|
|
493
|
+
paginationConfig?: Pick<
|
|
494
|
+
PaginationConfiguration,
|
|
495
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
496
|
+
>
|
|
497
|
+
): Paginator<ExportFormsCommandOutput>;
|
|
498
|
+
paginateExportThemes(
|
|
499
|
+
args: ExportThemesCommandInput,
|
|
500
|
+
paginationConfig?: Pick<
|
|
501
|
+
PaginationConfiguration,
|
|
502
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
503
|
+
>
|
|
504
|
+
): Paginator<ExportThemesCommandOutput>;
|
|
505
|
+
paginateListCodegenJobs(
|
|
506
|
+
args: ListCodegenJobsCommandInput,
|
|
507
|
+
paginationConfig?: Pick<
|
|
508
|
+
PaginationConfiguration,
|
|
509
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
510
|
+
>
|
|
511
|
+
): Paginator<ListCodegenJobsCommandOutput>;
|
|
512
|
+
paginateListComponents(
|
|
513
|
+
args: ListComponentsCommandInput,
|
|
514
|
+
paginationConfig?: Pick<
|
|
515
|
+
PaginationConfiguration,
|
|
516
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
517
|
+
>
|
|
518
|
+
): Paginator<ListComponentsCommandOutput>;
|
|
519
|
+
paginateListForms(
|
|
520
|
+
args: ListFormsCommandInput,
|
|
521
|
+
paginationConfig?: Pick<
|
|
522
|
+
PaginationConfiguration,
|
|
523
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
524
|
+
>
|
|
525
|
+
): Paginator<ListFormsCommandOutput>;
|
|
526
|
+
paginateListThemes(
|
|
527
|
+
args: ListThemesCommandInput,
|
|
528
|
+
paginationConfig?: Pick<
|
|
529
|
+
PaginationConfiguration,
|
|
530
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
531
|
+
>
|
|
532
|
+
): Paginator<ListThemesCommandOutput>;
|
|
480
533
|
}
|
|
481
534
|
export declare class AmplifyUIBuilder
|
|
482
535
|
extends AmplifyUIBuilderClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-amplifyuibuilder",
|
|
3
3
|
"description": "AWS SDK for JavaScript Amplifyuibuilder 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-amplifyuibuilder",
|
|
@@ -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",
|