@aws-sdk/client-amplifyuibuilder 3.521.0 → 3.523.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 +24 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -0
- package/dist-cjs/commands/TagResourceCommand.js +1 -0
- package/dist-cjs/commands/UntagResourceCommand.js +1 -0
- package/dist-cjs/index.js +141 -0
- package/dist-es/AmplifyUIBuilder.js +6 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +24 -0
- package/dist-es/commands/TagResourceCommand.js +24 -0
- package/dist-es/commands/UntagResourceCommand.js +24 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +73 -0
- package/dist-types/AmplifyUIBuilder.d.ts +22 -1
- package/dist-types/AmplifyUIBuilderClient.d.ts +6 -3
- package/dist-types/commands/CreateComponentCommand.d.ts +2 -2
- package/dist-types/commands/CreateFormCommand.d.ts +16 -16
- package/dist-types/commands/ExportComponentsCommand.d.ts +1 -1
- package/dist-types/commands/ExportFormsCommand.d.ts +8 -8
- package/dist-types/commands/GetComponentCommand.d.ts +1 -1
- package/dist-types/commands/GetFormCommand.d.ts +8 -8
- package/dist-types/commands/ListFormsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +75 -0
- package/dist-types/commands/TagResourceCommand.d.ts +74 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +74 -0
- package/dist-types/commands/UpdateComponentCommand.d.ts +2 -2
- package/dist-types/commands/UpdateFormCommand.d.ts +16 -16
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +69 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/AmplifyUIBuilder.d.ts +51 -0
- package/dist-types/ts3.4/AmplifyUIBuilderClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +26 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +29 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +21 -1
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +34 -34
package/README.md
CHANGED
|
@@ -354,6 +354,14 @@ ListForms
|
|
|
354
354
|
|
|
355
355
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/amplifyuibuilder/command/ListFormsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-amplifyuibuilder/Interface/ListFormsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-amplifyuibuilder/Interface/ListFormsCommandOutput/)
|
|
356
356
|
|
|
357
|
+
</details>
|
|
358
|
+
<details>
|
|
359
|
+
<summary>
|
|
360
|
+
ListTagsForResource
|
|
361
|
+
</summary>
|
|
362
|
+
|
|
363
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/amplifyuibuilder/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-amplifyuibuilder/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-amplifyuibuilder/Interface/ListTagsForResourceCommandOutput/)
|
|
364
|
+
|
|
357
365
|
</details>
|
|
358
366
|
<details>
|
|
359
367
|
<summary>
|
|
@@ -386,6 +394,22 @@ StartCodegenJob
|
|
|
386
394
|
|
|
387
395
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/amplifyuibuilder/command/StartCodegenJobCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-amplifyuibuilder/Interface/StartCodegenJobCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-amplifyuibuilder/Interface/StartCodegenJobCommandOutput/)
|
|
388
396
|
|
|
397
|
+
</details>
|
|
398
|
+
<details>
|
|
399
|
+
<summary>
|
|
400
|
+
TagResource
|
|
401
|
+
</summary>
|
|
402
|
+
|
|
403
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/amplifyuibuilder/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-amplifyuibuilder/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-amplifyuibuilder/Interface/TagResourceCommandOutput/)
|
|
404
|
+
|
|
405
|
+
</details>
|
|
406
|
+
<details>
|
|
407
|
+
<summary>
|
|
408
|
+
UntagResource
|
|
409
|
+
</summary>
|
|
410
|
+
|
|
411
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/amplifyuibuilder/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-amplifyuibuilder/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-amplifyuibuilder/Interface/UntagResourceCommandOutput/)
|
|
412
|
+
|
|
389
413
|
</details>
|
|
390
414
|
<details>
|
|
391
415
|
<summary>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../index.js");
|
package/dist-cjs/index.js
CHANGED
|
@@ -63,6 +63,7 @@ __export(src_exports, {
|
|
|
63
63
|
ListCodegenJobsCommand: () => ListCodegenJobsCommand,
|
|
64
64
|
ListComponentsCommand: () => ListComponentsCommand,
|
|
65
65
|
ListFormsCommand: () => ListFormsCommand,
|
|
66
|
+
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
66
67
|
ListThemesCommand: () => ListThemesCommand,
|
|
67
68
|
PutMetadataFlagCommand: () => PutMetadataFlagCommand,
|
|
68
69
|
RefreshTokenCommand: () => RefreshTokenCommand,
|
|
@@ -72,11 +73,14 @@ __export(src_exports, {
|
|
|
72
73
|
ResourceConflictException: () => ResourceConflictException,
|
|
73
74
|
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
74
75
|
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
76
|
+
SortDirection: () => SortDirection,
|
|
75
77
|
StartCodegenJobCommand: () => StartCodegenJobCommand,
|
|
76
78
|
StorageAccessLevel: () => StorageAccessLevel,
|
|
79
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
77
80
|
ThrottlingException: () => ThrottlingException,
|
|
78
81
|
TokenProviders: () => TokenProviders,
|
|
79
82
|
UnauthorizedException: () => UnauthorizedException,
|
|
83
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
80
84
|
UpdateComponentCommand: () => UpdateComponentCommand,
|
|
81
85
|
UpdateFormCommand: () => UpdateFormCommand,
|
|
82
86
|
UpdateThemeCommand: () => UpdateThemeCommand,
|
|
@@ -398,6 +402,10 @@ var _ThrottlingException = class _ThrottlingException extends AmplifyUIBuilderSe
|
|
|
398
402
|
};
|
|
399
403
|
__name(_ThrottlingException, "ThrottlingException");
|
|
400
404
|
var ThrottlingException = _ThrottlingException;
|
|
405
|
+
var SortDirection = {
|
|
406
|
+
ASC: "ASC",
|
|
407
|
+
DESC: "DESC"
|
|
408
|
+
};
|
|
401
409
|
var _ResourceConflictException = class _ResourceConflictException extends AmplifyUIBuilderServiceException {
|
|
402
410
|
/**
|
|
403
411
|
* @internal
|
|
@@ -790,6 +798,15 @@ var se_ListFormsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
790
798
|
b.m("GET").h(headers).q(query).b(body);
|
|
791
799
|
return b.build();
|
|
792
800
|
}, "se_ListFormsCommand");
|
|
801
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
802
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
803
|
+
const headers = {};
|
|
804
|
+
b.bp("/tags/{resourceArn}");
|
|
805
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
806
|
+
let body;
|
|
807
|
+
b.m("GET").h(headers).b(body);
|
|
808
|
+
return b.build();
|
|
809
|
+
}, "se_ListTagsForResourceCommand");
|
|
793
810
|
var se_ListThemesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
794
811
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
795
812
|
const headers = {};
|
|
@@ -864,6 +881,37 @@ var se_StartCodegenJobCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
864
881
|
b.m("POST").h(headers).q(query).b(body);
|
|
865
882
|
return b.build();
|
|
866
883
|
}, "se_StartCodegenJobCommand");
|
|
884
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
885
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
886
|
+
const headers = {
|
|
887
|
+
"content-type": "application/json"
|
|
888
|
+
};
|
|
889
|
+
b.bp("/tags/{resourceArn}");
|
|
890
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
891
|
+
let body;
|
|
892
|
+
body = JSON.stringify(
|
|
893
|
+
(0, import_smithy_client.take)(input, {
|
|
894
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
895
|
+
})
|
|
896
|
+
);
|
|
897
|
+
b.m("POST").h(headers).b(body);
|
|
898
|
+
return b.build();
|
|
899
|
+
}, "se_TagResourceCommand");
|
|
900
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
901
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
902
|
+
const headers = {};
|
|
903
|
+
b.bp("/tags/{resourceArn}");
|
|
904
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
905
|
+
const query = (0, import_smithy_client.map)({
|
|
906
|
+
[_tK]: [
|
|
907
|
+
(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
908
|
+
() => (input[_tK] || []).map((_entry) => _entry)
|
|
909
|
+
]
|
|
910
|
+
});
|
|
911
|
+
let body;
|
|
912
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
913
|
+
return b.build();
|
|
914
|
+
}, "se_UntagResourceCommand");
|
|
867
915
|
var se_UpdateComponentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
868
916
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
869
917
|
const headers = {
|
|
@@ -1160,6 +1208,20 @@ var de_ListFormsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1160
1208
|
Object.assign(contents, doc);
|
|
1161
1209
|
return contents;
|
|
1162
1210
|
}, "de_ListFormsCommand");
|
|
1211
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1212
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1213
|
+
return de_CommandError(output, context);
|
|
1214
|
+
}
|
|
1215
|
+
const contents = (0, import_smithy_client.map)({
|
|
1216
|
+
$metadata: deserializeMetadata(output)
|
|
1217
|
+
});
|
|
1218
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1219
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1220
|
+
tags: import_smithy_client._json
|
|
1221
|
+
});
|
|
1222
|
+
Object.assign(contents, doc);
|
|
1223
|
+
return contents;
|
|
1224
|
+
}, "de_ListTagsForResourceCommand");
|
|
1163
1225
|
var de_ListThemesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1164
1226
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1165
1227
|
return de_CommandError(output, context);
|
|
@@ -1211,6 +1273,26 @@ var de_StartCodegenJobCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1211
1273
|
contents.entity = de_CodegenJob(data, context);
|
|
1212
1274
|
return contents;
|
|
1213
1275
|
}, "de_StartCodegenJobCommand");
|
|
1276
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1277
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1278
|
+
return de_CommandError(output, context);
|
|
1279
|
+
}
|
|
1280
|
+
const contents = (0, import_smithy_client.map)({
|
|
1281
|
+
$metadata: deserializeMetadata(output)
|
|
1282
|
+
});
|
|
1283
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1284
|
+
return contents;
|
|
1285
|
+
}, "de_TagResourceCommand");
|
|
1286
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1287
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1288
|
+
return de_CommandError(output, context);
|
|
1289
|
+
}
|
|
1290
|
+
const contents = (0, import_smithy_client.map)({
|
|
1291
|
+
$metadata: deserializeMetadata(output)
|
|
1292
|
+
});
|
|
1293
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1294
|
+
return contents;
|
|
1295
|
+
}, "de_UntagResourceCommand");
|
|
1214
1296
|
var de_UpdateComponentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1215
1297
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1216
1298
|
return de_CommandError(output, context);
|
|
@@ -2050,6 +2132,7 @@ var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, impo
|
|
|
2050
2132
|
var _cT = "clientToken";
|
|
2051
2133
|
var _mR = "maxResults";
|
|
2052
2134
|
var _nT = "nextToken";
|
|
2135
|
+
var _tK = "tagKeys";
|
|
2053
2136
|
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2054
2137
|
if (encoded.length) {
|
|
2055
2138
|
return JSON.parse(encoded);
|
|
@@ -2393,6 +2476,23 @@ var _ListFormsCommand = class _ListFormsCommand extends import_smithy_client.Com
|
|
|
2393
2476
|
__name(_ListFormsCommand, "ListFormsCommand");
|
|
2394
2477
|
var ListFormsCommand = _ListFormsCommand;
|
|
2395
2478
|
|
|
2479
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
2480
|
+
|
|
2481
|
+
|
|
2482
|
+
|
|
2483
|
+
|
|
2484
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2485
|
+
...commonParams
|
|
2486
|
+
}).m(function(Command, cs, config, o) {
|
|
2487
|
+
return [
|
|
2488
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2489
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2490
|
+
];
|
|
2491
|
+
}).s("AmplifyUIBuilder", "ListTagsForResource", {}).n("AmplifyUIBuilderClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
2492
|
+
};
|
|
2493
|
+
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
2494
|
+
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
2495
|
+
|
|
2396
2496
|
// src/commands/ListThemesCommand.ts
|
|
2397
2497
|
|
|
2398
2498
|
|
|
@@ -2461,6 +2561,40 @@ var _StartCodegenJobCommand = class _StartCodegenJobCommand extends import_smith
|
|
|
2461
2561
|
__name(_StartCodegenJobCommand, "StartCodegenJobCommand");
|
|
2462
2562
|
var StartCodegenJobCommand = _StartCodegenJobCommand;
|
|
2463
2563
|
|
|
2564
|
+
// src/commands/TagResourceCommand.ts
|
|
2565
|
+
|
|
2566
|
+
|
|
2567
|
+
|
|
2568
|
+
|
|
2569
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2570
|
+
...commonParams
|
|
2571
|
+
}).m(function(Command, cs, config, o) {
|
|
2572
|
+
return [
|
|
2573
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2574
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2575
|
+
];
|
|
2576
|
+
}).s("AmplifyUIBuilder", "TagResource", {}).n("AmplifyUIBuilderClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
2577
|
+
};
|
|
2578
|
+
__name(_TagResourceCommand, "TagResourceCommand");
|
|
2579
|
+
var TagResourceCommand = _TagResourceCommand;
|
|
2580
|
+
|
|
2581
|
+
// src/commands/UntagResourceCommand.ts
|
|
2582
|
+
|
|
2583
|
+
|
|
2584
|
+
|
|
2585
|
+
|
|
2586
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2587
|
+
...commonParams
|
|
2588
|
+
}).m(function(Command, cs, config, o) {
|
|
2589
|
+
return [
|
|
2590
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2591
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2592
|
+
];
|
|
2593
|
+
}).s("AmplifyUIBuilder", "UntagResource", {}).n("AmplifyUIBuilderClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
2594
|
+
};
|
|
2595
|
+
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
2596
|
+
var UntagResourceCommand = _UntagResourceCommand;
|
|
2597
|
+
|
|
2464
2598
|
// src/commands/UpdateComponentCommand.ts
|
|
2465
2599
|
|
|
2466
2600
|
|
|
@@ -2532,10 +2666,13 @@ var commands = {
|
|
|
2532
2666
|
ListCodegenJobsCommand,
|
|
2533
2667
|
ListComponentsCommand,
|
|
2534
2668
|
ListFormsCommand,
|
|
2669
|
+
ListTagsForResourceCommand,
|
|
2535
2670
|
ListThemesCommand,
|
|
2536
2671
|
PutMetadataFlagCommand,
|
|
2537
2672
|
RefreshTokenCommand,
|
|
2538
2673
|
StartCodegenJobCommand,
|
|
2674
|
+
TagResourceCommand,
|
|
2675
|
+
UntagResourceCommand,
|
|
2539
2676
|
UpdateComponentCommand,
|
|
2540
2677
|
UpdateFormCommand,
|
|
2541
2678
|
UpdateThemeCommand
|
|
@@ -2602,10 +2739,13 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
2602
2739
|
ListCodegenJobsCommand,
|
|
2603
2740
|
ListComponentsCommand,
|
|
2604
2741
|
ListFormsCommand,
|
|
2742
|
+
ListTagsForResourceCommand,
|
|
2605
2743
|
ListThemesCommand,
|
|
2606
2744
|
PutMetadataFlagCommand,
|
|
2607
2745
|
RefreshTokenCommand,
|
|
2608
2746
|
StartCodegenJobCommand,
|
|
2747
|
+
TagResourceCommand,
|
|
2748
|
+
UntagResourceCommand,
|
|
2609
2749
|
UpdateComponentCommand,
|
|
2610
2750
|
UpdateFormCommand,
|
|
2611
2751
|
UpdateThemeCommand,
|
|
@@ -2629,6 +2769,7 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
2629
2769
|
InvalidParameterException,
|
|
2630
2770
|
ResourceNotFoundException,
|
|
2631
2771
|
ThrottlingException,
|
|
2772
|
+
SortDirection,
|
|
2632
2773
|
ResourceConflictException,
|
|
2633
2774
|
ServiceQuotaExceededException,
|
|
2634
2775
|
TokenProviders,
|
|
@@ -18,10 +18,13 @@ import { GetThemeCommand } from "./commands/GetThemeCommand";
|
|
|
18
18
|
import { ListCodegenJobsCommand, } from "./commands/ListCodegenJobsCommand";
|
|
19
19
|
import { ListComponentsCommand, } from "./commands/ListComponentsCommand";
|
|
20
20
|
import { ListFormsCommand } from "./commands/ListFormsCommand";
|
|
21
|
+
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
21
22
|
import { ListThemesCommand } from "./commands/ListThemesCommand";
|
|
22
23
|
import { PutMetadataFlagCommand, } from "./commands/PutMetadataFlagCommand";
|
|
23
24
|
import { RefreshTokenCommand, } from "./commands/RefreshTokenCommand";
|
|
24
25
|
import { StartCodegenJobCommand, } from "./commands/StartCodegenJobCommand";
|
|
26
|
+
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
27
|
+
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
25
28
|
import { UpdateComponentCommand, } from "./commands/UpdateComponentCommand";
|
|
26
29
|
import { UpdateFormCommand } from "./commands/UpdateFormCommand";
|
|
27
30
|
import { UpdateThemeCommand } from "./commands/UpdateThemeCommand";
|
|
@@ -44,10 +47,13 @@ const commands = {
|
|
|
44
47
|
ListCodegenJobsCommand,
|
|
45
48
|
ListComponentsCommand,
|
|
46
49
|
ListFormsCommand,
|
|
50
|
+
ListTagsForResourceCommand,
|
|
47
51
|
ListThemesCommand,
|
|
48
52
|
PutMetadataFlagCommand,
|
|
49
53
|
RefreshTokenCommand,
|
|
50
54
|
StartCodegenJobCommand,
|
|
55
|
+
TagResourceCommand,
|
|
56
|
+
UntagResourceCommand,
|
|
51
57
|
UpdateComponentCommand,
|
|
52
58
|
UpdateFormCommand,
|
|
53
59
|
UpdateThemeCommand,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListTagsForResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmplifyUIBuilder", "ListTagsForResource", {})
|
|
19
|
+
.n("AmplifyUIBuilderClient", "ListTagsForResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListTagsForResourceCommand)
|
|
22
|
+
.de(de_ListTagsForResourceCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class TagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmplifyUIBuilder", "TagResource", {})
|
|
19
|
+
.n("AmplifyUIBuilderClient", "TagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_TagResourceCommand)
|
|
22
|
+
.de(de_TagResourceCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UntagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmplifyUIBuilder", "UntagResource", {})
|
|
19
|
+
.n("AmplifyUIBuilderClient", "UntagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UntagResourceCommand)
|
|
22
|
+
.de(de_UntagResourceCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -16,10 +16,13 @@ export * from "./GetThemeCommand";
|
|
|
16
16
|
export * from "./ListCodegenJobsCommand";
|
|
17
17
|
export * from "./ListComponentsCommand";
|
|
18
18
|
export * from "./ListFormsCommand";
|
|
19
|
+
export * from "./ListTagsForResourceCommand";
|
|
19
20
|
export * from "./ListThemesCommand";
|
|
20
21
|
export * from "./PutMetadataFlagCommand";
|
|
21
22
|
export * from "./RefreshTokenCommand";
|
|
22
23
|
export * from "./StartCodegenJobCommand";
|
|
24
|
+
export * from "./TagResourceCommand";
|
|
25
|
+
export * from "./UntagResourceCommand";
|
|
23
26
|
export * from "./UpdateComponentCommand";
|
|
24
27
|
export * from "./UpdateFormCommand";
|
|
25
28
|
export * from "./UpdateThemeCommand";
|
|
@@ -113,6 +113,10 @@ export class ThrottlingException extends __BaseException {
|
|
|
113
113
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
|
+
export const SortDirection = {
|
|
117
|
+
ASC: "ASC",
|
|
118
|
+
DESC: "DESC",
|
|
119
|
+
};
|
|
116
120
|
export class ResourceConflictException extends __BaseException {
|
|
117
121
|
constructor(opts) {
|
|
118
122
|
super({
|
|
@@ -256,6 +256,15 @@ export const se_ListFormsCommand = async (input, context) => {
|
|
|
256
256
|
b.m("GET").h(headers).q(query).b(body);
|
|
257
257
|
return b.build();
|
|
258
258
|
};
|
|
259
|
+
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
260
|
+
const b = rb(input, context);
|
|
261
|
+
const headers = {};
|
|
262
|
+
b.bp("/tags/{resourceArn}");
|
|
263
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
264
|
+
let body;
|
|
265
|
+
b.m("GET").h(headers).b(body);
|
|
266
|
+
return b.build();
|
|
267
|
+
};
|
|
259
268
|
export const se_ListThemesCommand = async (input, context) => {
|
|
260
269
|
const b = rb(input, context);
|
|
261
270
|
const headers = {};
|
|
@@ -330,6 +339,35 @@ export const se_StartCodegenJobCommand = async (input, context) => {
|
|
|
330
339
|
b.m("POST").h(headers).q(query).b(body);
|
|
331
340
|
return b.build();
|
|
332
341
|
};
|
|
342
|
+
export const se_TagResourceCommand = async (input, context) => {
|
|
343
|
+
const b = rb(input, context);
|
|
344
|
+
const headers = {
|
|
345
|
+
"content-type": "application/json",
|
|
346
|
+
};
|
|
347
|
+
b.bp("/tags/{resourceArn}");
|
|
348
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
349
|
+
let body;
|
|
350
|
+
body = JSON.stringify(take(input, {
|
|
351
|
+
tags: (_) => _json(_),
|
|
352
|
+
}));
|
|
353
|
+
b.m("POST").h(headers).b(body);
|
|
354
|
+
return b.build();
|
|
355
|
+
};
|
|
356
|
+
export const se_UntagResourceCommand = async (input, context) => {
|
|
357
|
+
const b = rb(input, context);
|
|
358
|
+
const headers = {};
|
|
359
|
+
b.bp("/tags/{resourceArn}");
|
|
360
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
361
|
+
const query = map({
|
|
362
|
+
[_tK]: [
|
|
363
|
+
__expectNonNull(input.tagKeys, `tagKeys`) != null,
|
|
364
|
+
() => (input[_tK] || []).map((_entry) => _entry),
|
|
365
|
+
],
|
|
366
|
+
});
|
|
367
|
+
let body;
|
|
368
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
369
|
+
return b.build();
|
|
370
|
+
};
|
|
333
371
|
export const se_UpdateComponentCommand = async (input, context) => {
|
|
334
372
|
const b = rb(input, context);
|
|
335
373
|
const headers = {
|
|
@@ -626,6 +664,20 @@ export const de_ListFormsCommand = async (output, context) => {
|
|
|
626
664
|
Object.assign(contents, doc);
|
|
627
665
|
return contents;
|
|
628
666
|
};
|
|
667
|
+
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
668
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
669
|
+
return de_CommandError(output, context);
|
|
670
|
+
}
|
|
671
|
+
const contents = map({
|
|
672
|
+
$metadata: deserializeMetadata(output),
|
|
673
|
+
});
|
|
674
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
675
|
+
const doc = take(data, {
|
|
676
|
+
tags: _json,
|
|
677
|
+
});
|
|
678
|
+
Object.assign(contents, doc);
|
|
679
|
+
return contents;
|
|
680
|
+
};
|
|
629
681
|
export const de_ListThemesCommand = async (output, context) => {
|
|
630
682
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
631
683
|
return de_CommandError(output, context);
|
|
@@ -677,6 +729,26 @@ export const de_StartCodegenJobCommand = async (output, context) => {
|
|
|
677
729
|
contents.entity = de_CodegenJob(data, context);
|
|
678
730
|
return contents;
|
|
679
731
|
};
|
|
732
|
+
export const de_TagResourceCommand = async (output, context) => {
|
|
733
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
734
|
+
return de_CommandError(output, context);
|
|
735
|
+
}
|
|
736
|
+
const contents = map({
|
|
737
|
+
$metadata: deserializeMetadata(output),
|
|
738
|
+
});
|
|
739
|
+
await collectBody(output.body, context);
|
|
740
|
+
return contents;
|
|
741
|
+
};
|
|
742
|
+
export const de_UntagResourceCommand = async (output, context) => {
|
|
743
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
744
|
+
return de_CommandError(output, context);
|
|
745
|
+
}
|
|
746
|
+
const contents = map({
|
|
747
|
+
$metadata: deserializeMetadata(output),
|
|
748
|
+
});
|
|
749
|
+
await collectBody(output.body, context);
|
|
750
|
+
return contents;
|
|
751
|
+
};
|
|
680
752
|
export const de_UpdateComponentCommand = async (output, context) => {
|
|
681
753
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
682
754
|
return de_CommandError(output, context);
|
|
@@ -1547,6 +1619,7 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
1547
1619
|
const _cT = "clientToken";
|
|
1548
1620
|
const _mR = "maxResults";
|
|
1549
1621
|
const _nT = "nextToken";
|
|
1622
|
+
const _tK = "tagKeys";
|
|
1550
1623
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1551
1624
|
if (encoded.length) {
|
|
1552
1625
|
return JSON.parse(encoded);
|
|
@@ -18,10 +18,13 @@ import { GetThemeCommandInput, GetThemeCommandOutput } from "./commands/GetTheme
|
|
|
18
18
|
import { ListCodegenJobsCommandInput, ListCodegenJobsCommandOutput } from "./commands/ListCodegenJobsCommand";
|
|
19
19
|
import { ListComponentsCommandInput, ListComponentsCommandOutput } from "./commands/ListComponentsCommand";
|
|
20
20
|
import { ListFormsCommandInput, ListFormsCommandOutput } from "./commands/ListFormsCommand";
|
|
21
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
21
22
|
import { ListThemesCommandInput, ListThemesCommandOutput } from "./commands/ListThemesCommand";
|
|
22
23
|
import { PutMetadataFlagCommandInput, PutMetadataFlagCommandOutput } from "./commands/PutMetadataFlagCommand";
|
|
23
24
|
import { RefreshTokenCommandInput, RefreshTokenCommandOutput } from "./commands/RefreshTokenCommand";
|
|
24
25
|
import { StartCodegenJobCommandInput, StartCodegenJobCommandOutput } from "./commands/StartCodegenJobCommand";
|
|
26
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
27
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
25
28
|
import { UpdateComponentCommandInput, UpdateComponentCommandOutput } from "./commands/UpdateComponentCommand";
|
|
26
29
|
import { UpdateFormCommandInput, UpdateFormCommandOutput } from "./commands/UpdateFormCommand";
|
|
27
30
|
import { UpdateThemeCommandInput, UpdateThemeCommandOutput } from "./commands/UpdateThemeCommand";
|
|
@@ -134,6 +137,12 @@ export interface AmplifyUIBuilder {
|
|
|
134
137
|
listForms(args: ListFormsCommandInput, options?: __HttpHandlerOptions): Promise<ListFormsCommandOutput>;
|
|
135
138
|
listForms(args: ListFormsCommandInput, cb: (err: any, data?: ListFormsCommandOutput) => void): void;
|
|
136
139
|
listForms(args: ListFormsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFormsCommandOutput) => void): void;
|
|
140
|
+
/**
|
|
141
|
+
* @see {@link ListTagsForResourceCommand}
|
|
142
|
+
*/
|
|
143
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
144
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
145
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
137
146
|
/**
|
|
138
147
|
* @see {@link ListThemesCommand}
|
|
139
148
|
*/
|
|
@@ -158,6 +167,18 @@ export interface AmplifyUIBuilder {
|
|
|
158
167
|
startCodegenJob(args: StartCodegenJobCommandInput, options?: __HttpHandlerOptions): Promise<StartCodegenJobCommandOutput>;
|
|
159
168
|
startCodegenJob(args: StartCodegenJobCommandInput, cb: (err: any, data?: StartCodegenJobCommandOutput) => void): void;
|
|
160
169
|
startCodegenJob(args: StartCodegenJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartCodegenJobCommandOutput) => void): void;
|
|
170
|
+
/**
|
|
171
|
+
* @see {@link TagResourceCommand}
|
|
172
|
+
*/
|
|
173
|
+
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
174
|
+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
175
|
+
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
176
|
+
/**
|
|
177
|
+
* @see {@link UntagResourceCommand}
|
|
178
|
+
*/
|
|
179
|
+
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
180
|
+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
181
|
+
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
161
182
|
/**
|
|
162
183
|
* @see {@link UpdateComponentCommand}
|
|
163
184
|
*/
|
|
@@ -184,7 +205,7 @@ export interface AmplifyUIBuilder {
|
|
|
184
205
|
* backend Amazon Web Services resources.</p>
|
|
185
206
|
* <p>You can also use the Amplify Studio visual designer to create UI components
|
|
186
207
|
* and model data for an app. For more information, see <a href="https://docs.amplify.aws/console/adminui/intro">Introduction</a> in the
|
|
187
|
-
*
|
|
208
|
+
* <i>Amplify Docs</i>.</p>
|
|
188
209
|
* <p>The Amplify Framework is a comprehensive set of SDKs, libraries, tools, and
|
|
189
210
|
* documentation for client app development. For more information, see the <a href="https://docs.amplify.aws/">Amplify Framework</a>. For more information about
|
|
190
211
|
* deploying an Amplify application to Amazon Web Services, see the <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify User Guide</a>.</p>
|
|
@@ -25,10 +25,13 @@ import { GetThemeCommandInput, GetThemeCommandOutput } from "./commands/GetTheme
|
|
|
25
25
|
import { ListCodegenJobsCommandInput, ListCodegenJobsCommandOutput } from "./commands/ListCodegenJobsCommand";
|
|
26
26
|
import { ListComponentsCommandInput, ListComponentsCommandOutput } from "./commands/ListComponentsCommand";
|
|
27
27
|
import { ListFormsCommandInput, ListFormsCommandOutput } from "./commands/ListFormsCommand";
|
|
28
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
28
29
|
import { ListThemesCommandInput, ListThemesCommandOutput } from "./commands/ListThemesCommand";
|
|
29
30
|
import { PutMetadataFlagCommandInput, PutMetadataFlagCommandOutput } from "./commands/PutMetadataFlagCommand";
|
|
30
31
|
import { RefreshTokenCommandInput, RefreshTokenCommandOutput } from "./commands/RefreshTokenCommand";
|
|
31
32
|
import { StartCodegenJobCommandInput, StartCodegenJobCommandOutput } from "./commands/StartCodegenJobCommand";
|
|
33
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
34
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
32
35
|
import { UpdateComponentCommandInput, UpdateComponentCommandOutput } from "./commands/UpdateComponentCommand";
|
|
33
36
|
import { UpdateFormCommandInput, UpdateFormCommandOutput } from "./commands/UpdateFormCommand";
|
|
34
37
|
import { UpdateThemeCommandInput, UpdateThemeCommandOutput } from "./commands/UpdateThemeCommand";
|
|
@@ -38,11 +41,11 @@ export { __Client };
|
|
|
38
41
|
/**
|
|
39
42
|
* @public
|
|
40
43
|
*/
|
|
41
|
-
export type ServiceInputTypes = CreateComponentCommandInput | CreateFormCommandInput | CreateThemeCommandInput | DeleteComponentCommandInput | DeleteFormCommandInput | DeleteThemeCommandInput | ExchangeCodeForTokenCommandInput | ExportComponentsCommandInput | ExportFormsCommandInput | ExportThemesCommandInput | GetCodegenJobCommandInput | GetComponentCommandInput | GetFormCommandInput | GetMetadataCommandInput | GetThemeCommandInput | ListCodegenJobsCommandInput | ListComponentsCommandInput | ListFormsCommandInput | ListThemesCommandInput | PutMetadataFlagCommandInput | RefreshTokenCommandInput | StartCodegenJobCommandInput | UpdateComponentCommandInput | UpdateFormCommandInput | UpdateThemeCommandInput;
|
|
44
|
+
export type ServiceInputTypes = CreateComponentCommandInput | CreateFormCommandInput | CreateThemeCommandInput | DeleteComponentCommandInput | DeleteFormCommandInput | DeleteThemeCommandInput | ExchangeCodeForTokenCommandInput | ExportComponentsCommandInput | ExportFormsCommandInput | ExportThemesCommandInput | GetCodegenJobCommandInput | GetComponentCommandInput | GetFormCommandInput | GetMetadataCommandInput | GetThemeCommandInput | ListCodegenJobsCommandInput | ListComponentsCommandInput | ListFormsCommandInput | ListTagsForResourceCommandInput | ListThemesCommandInput | PutMetadataFlagCommandInput | RefreshTokenCommandInput | StartCodegenJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateComponentCommandInput | UpdateFormCommandInput | UpdateThemeCommandInput;
|
|
42
45
|
/**
|
|
43
46
|
* @public
|
|
44
47
|
*/
|
|
45
|
-
export type ServiceOutputTypes = CreateComponentCommandOutput | CreateFormCommandOutput | CreateThemeCommandOutput | DeleteComponentCommandOutput | DeleteFormCommandOutput | DeleteThemeCommandOutput | ExchangeCodeForTokenCommandOutput | ExportComponentsCommandOutput | ExportFormsCommandOutput | ExportThemesCommandOutput | GetCodegenJobCommandOutput | GetComponentCommandOutput | GetFormCommandOutput | GetMetadataCommandOutput | GetThemeCommandOutput | ListCodegenJobsCommandOutput | ListComponentsCommandOutput | ListFormsCommandOutput | ListThemesCommandOutput | PutMetadataFlagCommandOutput | RefreshTokenCommandOutput | StartCodegenJobCommandOutput | UpdateComponentCommandOutput | UpdateFormCommandOutput | UpdateThemeCommandOutput;
|
|
48
|
+
export type ServiceOutputTypes = CreateComponentCommandOutput | CreateFormCommandOutput | CreateThemeCommandOutput | DeleteComponentCommandOutput | DeleteFormCommandOutput | DeleteThemeCommandOutput | ExchangeCodeForTokenCommandOutput | ExportComponentsCommandOutput | ExportFormsCommandOutput | ExportThemesCommandOutput | GetCodegenJobCommandOutput | GetComponentCommandOutput | GetFormCommandOutput | GetMetadataCommandOutput | GetThemeCommandOutput | ListCodegenJobsCommandOutput | ListComponentsCommandOutput | ListFormsCommandOutput | ListTagsForResourceCommandOutput | ListThemesCommandOutput | PutMetadataFlagCommandOutput | RefreshTokenCommandOutput | StartCodegenJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateComponentCommandOutput | UpdateFormCommandOutput | UpdateThemeCommandOutput;
|
|
46
49
|
/**
|
|
47
50
|
* @public
|
|
48
51
|
*/
|
|
@@ -182,7 +185,7 @@ export interface AmplifyUIBuilderClientResolvedConfig extends AmplifyUIBuilderCl
|
|
|
182
185
|
* backend Amazon Web Services resources.</p>
|
|
183
186
|
* <p>You can also use the Amplify Studio visual designer to create UI components
|
|
184
187
|
* and model data for an app. For more information, see <a href="https://docs.amplify.aws/console/adminui/intro">Introduction</a> in the
|
|
185
|
-
*
|
|
188
|
+
* <i>Amplify Docs</i>.</p>
|
|
186
189
|
* <p>The Amplify Framework is a comprehensive set of SDKs, libraries, tools, and
|
|
187
190
|
* documentation for client app development. For more information, see the <a href="https://docs.amplify.aws/">Amplify Framework</a>. For more information about
|
|
188
191
|
* deploying an Amplify application to Amazon Web Services, see the <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify User Guide</a>.</p>
|
|
@@ -236,7 +236,7 @@ declare const CreateComponentCommand_base: {
|
|
|
236
236
|
* sort: [ // SortPropertyList
|
|
237
237
|
* { // SortProperty
|
|
238
238
|
* field: "STRING_VALUE", // required
|
|
239
|
-
* direction: "
|
|
239
|
+
* direction: "ASC" || "DESC", // required
|
|
240
240
|
* },
|
|
241
241
|
* ],
|
|
242
242
|
* predicate: "<Predicate>",
|
|
@@ -457,7 +457,7 @@ declare const CreateComponentCommand_base: {
|
|
|
457
457
|
* // sort: [ // SortPropertyList
|
|
458
458
|
* // { // SortProperty
|
|
459
459
|
* // field: "STRING_VALUE", // required
|
|
460
|
-
* // direction: "
|
|
460
|
+
* // direction: "ASC" || "DESC", // required
|
|
461
461
|
* // },
|
|
462
462
|
* // ],
|
|
463
463
|
* // predicate: "<Predicate>",
|