@aws-sdk/client-amplifyuibuilder 3.298.0 → 3.300.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-types/commands/CreateComponentCommand.d.ts +559 -0
- package/dist-types/commands/CreateFormCommand.d.ts +125 -0
- package/dist-types/commands/CreateThemeCommand.d.ts +33 -0
- package/dist-types/commands/DeleteComponentCommand.d.ts +5 -0
- package/dist-types/commands/DeleteFormCommand.d.ts +5 -0
- package/dist-types/commands/DeleteThemeCommand.d.ts +5 -0
- package/dist-types/commands/ExchangeCodeForTokenCommand.d.ts +7 -0
- package/dist-types/commands/ExportComponentsCommand.d.ts +5 -0
- package/dist-types/commands/ExportFormsCommand.d.ts +5 -0
- package/dist-types/commands/ExportThemesCommand.d.ts +5 -0
- package/dist-types/commands/GetComponentCommand.d.ts +5 -0
- package/dist-types/commands/GetFormCommand.d.ts +5 -0
- package/dist-types/commands/GetMetadataCommand.d.ts +4 -0
- package/dist-types/commands/GetThemeCommand.d.ts +5 -0
- package/dist-types/commands/ListComponentsCommand.d.ts +6 -0
- package/dist-types/commands/ListFormsCommand.d.ts +6 -0
- package/dist-types/commands/ListThemesCommand.d.ts +6 -0
- package/dist-types/commands/PutMetadataFlagCommand.d.ts +8 -0
- package/dist-types/commands/RefreshTokenCommand.d.ts +6 -0
- package/dist-types/commands/UpdateComponentCommand.d.ts +558 -0
- package/dist-types/commands/UpdateFormCommand.d.ts +123 -0
- package/dist-types/commands/UpdateThemeCommand.d.ts +32 -0
- package/package.json +12 -12
|
@@ -26,6 +26,129 @@ export interface UpdateFormCommandOutput extends UpdateFormResponse, __MetadataB
|
|
|
26
26
|
* import { AmplifyUIBuilderClient, UpdateFormCommand } from "@aws-sdk/client-amplifyuibuilder"; // ES Modules import
|
|
27
27
|
* // const { AmplifyUIBuilderClient, UpdateFormCommand } = require("@aws-sdk/client-amplifyuibuilder"); // CommonJS import
|
|
28
28
|
* const client = new AmplifyUIBuilderClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* appId: "STRING_VALUE", // required
|
|
31
|
+
* environmentName: "STRING_VALUE", // required
|
|
32
|
+
* id: "STRING_VALUE", // required
|
|
33
|
+
* clientToken: "STRING_VALUE",
|
|
34
|
+
* updatedForm: {
|
|
35
|
+
* name: "STRING_VALUE",
|
|
36
|
+
* dataType: {
|
|
37
|
+
* dataSourceType: "STRING_VALUE", // required
|
|
38
|
+
* dataTypeName: "STRING_VALUE", // required
|
|
39
|
+
* },
|
|
40
|
+
* formActionType: "STRING_VALUE",
|
|
41
|
+
* fields: {
|
|
42
|
+
* "<keys>": {
|
|
43
|
+
* label: "STRING_VALUE",
|
|
44
|
+
* position: { // Union: only one key present
|
|
45
|
+
* fixed: "STRING_VALUE",
|
|
46
|
+
* rightOf: "STRING_VALUE",
|
|
47
|
+
* below: "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* excluded: true || false,
|
|
50
|
+
* inputType: {
|
|
51
|
+
* type: "STRING_VALUE", // required
|
|
52
|
+
* required: true || false,
|
|
53
|
+
* readOnly: true || false,
|
|
54
|
+
* placeholder: "STRING_VALUE",
|
|
55
|
+
* defaultValue: "STRING_VALUE",
|
|
56
|
+
* descriptiveText: "STRING_VALUE",
|
|
57
|
+
* defaultChecked: true || false,
|
|
58
|
+
* defaultCountryCode: "STRING_VALUE",
|
|
59
|
+
* valueMappings: {
|
|
60
|
+
* values: [ // required
|
|
61
|
+
* {
|
|
62
|
+
* displayValue: {
|
|
63
|
+
* value: "STRING_VALUE",
|
|
64
|
+
* },
|
|
65
|
+
* value: {
|
|
66
|
+
* value: "STRING_VALUE",
|
|
67
|
+
* },
|
|
68
|
+
* },
|
|
69
|
+
* ],
|
|
70
|
+
* },
|
|
71
|
+
* name: "STRING_VALUE",
|
|
72
|
+
* minValue: Number("float"),
|
|
73
|
+
* maxValue: Number("float"),
|
|
74
|
+
* step: Number("float"),
|
|
75
|
+
* value: "STRING_VALUE",
|
|
76
|
+
* isArray: true || false,
|
|
77
|
+
* },
|
|
78
|
+
* validations: [
|
|
79
|
+
* {
|
|
80
|
+
* type: "STRING_VALUE", // required
|
|
81
|
+
* strValues: [
|
|
82
|
+
* "STRING_VALUE",
|
|
83
|
+
* ],
|
|
84
|
+
* numValues: [
|
|
85
|
+
* Number("int"),
|
|
86
|
+
* ],
|
|
87
|
+
* validationMessage: "STRING_VALUE",
|
|
88
|
+
* },
|
|
89
|
+
* ],
|
|
90
|
+
* },
|
|
91
|
+
* },
|
|
92
|
+
* style: {
|
|
93
|
+
* horizontalGap: { // Union: only one key present
|
|
94
|
+
* tokenReference: "STRING_VALUE",
|
|
95
|
+
* value: "STRING_VALUE",
|
|
96
|
+
* },
|
|
97
|
+
* verticalGap: { // Union: only one key present
|
|
98
|
+
* tokenReference: "STRING_VALUE",
|
|
99
|
+
* value: "STRING_VALUE",
|
|
100
|
+
* },
|
|
101
|
+
* outerPadding: { // Union: only one key present
|
|
102
|
+
* tokenReference: "STRING_VALUE",
|
|
103
|
+
* value: "STRING_VALUE",
|
|
104
|
+
* },
|
|
105
|
+
* },
|
|
106
|
+
* sectionalElements: {
|
|
107
|
+
* "<keys>": {
|
|
108
|
+
* type: "STRING_VALUE", // required
|
|
109
|
+
* position: { // Union: only one key present
|
|
110
|
+
* fixed: "STRING_VALUE",
|
|
111
|
+
* rightOf: "STRING_VALUE",
|
|
112
|
+
* below: "STRING_VALUE",
|
|
113
|
+
* },
|
|
114
|
+
* text: "STRING_VALUE",
|
|
115
|
+
* level: Number("int"),
|
|
116
|
+
* orientation: "STRING_VALUE",
|
|
117
|
+
* },
|
|
118
|
+
* },
|
|
119
|
+
* schemaVersion: "STRING_VALUE",
|
|
120
|
+
* cta: {
|
|
121
|
+
* position: "STRING_VALUE",
|
|
122
|
+
* clear: {
|
|
123
|
+
* excluded: true || false,
|
|
124
|
+
* children: "STRING_VALUE",
|
|
125
|
+
* position: { // Union: only one key present
|
|
126
|
+
* fixed: "STRING_VALUE",
|
|
127
|
+
* rightOf: "STRING_VALUE",
|
|
128
|
+
* below: "STRING_VALUE",
|
|
129
|
+
* },
|
|
130
|
+
* },
|
|
131
|
+
* cancel: {
|
|
132
|
+
* excluded: true || false,
|
|
133
|
+
* children: "STRING_VALUE",
|
|
134
|
+
* position: { // Union: only one key present
|
|
135
|
+
* fixed: "STRING_VALUE",
|
|
136
|
+
* rightOf: "STRING_VALUE",
|
|
137
|
+
* below: "STRING_VALUE",
|
|
138
|
+
* },
|
|
139
|
+
* },
|
|
140
|
+
* submit: {
|
|
141
|
+
* excluded: true || false,
|
|
142
|
+
* children: "STRING_VALUE",
|
|
143
|
+
* position: { // Union: only one key present
|
|
144
|
+
* fixed: "STRING_VALUE",
|
|
145
|
+
* rightOf: "STRING_VALUE",
|
|
146
|
+
* below: "STRING_VALUE",
|
|
147
|
+
* },
|
|
148
|
+
* },
|
|
149
|
+
* },
|
|
150
|
+
* },
|
|
151
|
+
* };
|
|
29
152
|
* const command = new UpdateFormCommand(input);
|
|
30
153
|
* const response = await client.send(command);
|
|
31
154
|
* ```
|
|
@@ -26,6 +26,38 @@ export interface UpdateThemeCommandOutput extends UpdateThemeResponse, __Metadat
|
|
|
26
26
|
* import { AmplifyUIBuilderClient, UpdateThemeCommand } from "@aws-sdk/client-amplifyuibuilder"; // ES Modules import
|
|
27
27
|
* // const { AmplifyUIBuilderClient, UpdateThemeCommand } = require("@aws-sdk/client-amplifyuibuilder"); // CommonJS import
|
|
28
28
|
* const client = new AmplifyUIBuilderClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* appId: "STRING_VALUE", // required
|
|
31
|
+
* environmentName: "STRING_VALUE", // required
|
|
32
|
+
* id: "STRING_VALUE", // required
|
|
33
|
+
* clientToken: "STRING_VALUE",
|
|
34
|
+
* updatedTheme: {
|
|
35
|
+
* id: "STRING_VALUE",
|
|
36
|
+
* name: "STRING_VALUE",
|
|
37
|
+
* values: [ // required
|
|
38
|
+
* {
|
|
39
|
+
* key: "STRING_VALUE",
|
|
40
|
+
* value: {
|
|
41
|
+
* value: "STRING_VALUE",
|
|
42
|
+
* children: [
|
|
43
|
+
* {
|
|
44
|
+
* key: "STRING_VALUE",
|
|
45
|
+
* value: {
|
|
46
|
+
* value: "STRING_VALUE",
|
|
47
|
+
* children: [
|
|
48
|
+
* "<ThemeValuesList>",
|
|
49
|
+
* ],
|
|
50
|
+
* },
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
53
|
+
* },
|
|
54
|
+
* },
|
|
55
|
+
* ],
|
|
56
|
+
* overrides: [
|
|
57
|
+
* "<ThemeValuesList>",
|
|
58
|
+
* ],
|
|
59
|
+
* },
|
|
60
|
+
* };
|
|
29
61
|
* const command = new UpdateThemeCommand(input);
|
|
30
62
|
* const response = await client.send(command);
|
|
31
63
|
* ```
|
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.300.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,23 +21,23 @@
|
|
|
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/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
30
30
|
"@aws-sdk/middleware-content-length": "3.296.0",
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.299.0",
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0",
|
|
57
57
|
"uuid": "^8.3.2"
|