@aws-sdk/client-amplifyuibuilder 3.299.0 → 3.301.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.
@@ -26,6 +26,223 @@ export interface CreateComponentCommandOutput extends CreateComponentResponse, _
26
26
  * import { AmplifyUIBuilderClient, CreateComponentCommand } from "@aws-sdk/client-amplifyuibuilder"; // ES Modules import
27
27
  * // const { AmplifyUIBuilderClient, CreateComponentCommand } = require("@aws-sdk/client-amplifyuibuilder"); // CommonJS import
28
28
  * const client = new AmplifyUIBuilderClient(config);
29
+ * const input = { // CreateComponentRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * environmentName: "STRING_VALUE", // required
32
+ * clientToken: "STRING_VALUE",
33
+ * componentToCreate: { // CreateComponentData
34
+ * name: "STRING_VALUE", // required
35
+ * sourceId: "STRING_VALUE",
36
+ * componentType: "STRING_VALUE", // required
37
+ * properties: { // ComponentProperties // required
38
+ * "<keys>": { // ComponentProperty
39
+ * value: "STRING_VALUE",
40
+ * bindingProperties: { // ComponentPropertyBindingProperties
41
+ * property: "STRING_VALUE", // required
42
+ * field: "STRING_VALUE",
43
+ * },
44
+ * collectionBindingProperties: {
45
+ * property: "STRING_VALUE", // required
46
+ * field: "STRING_VALUE",
47
+ * },
48
+ * defaultValue: "STRING_VALUE",
49
+ * model: "STRING_VALUE",
50
+ * bindings: { // FormBindings
51
+ * "<keys>": { // FormBindingElement
52
+ * element: "STRING_VALUE", // required
53
+ * property: "STRING_VALUE", // required
54
+ * },
55
+ * },
56
+ * event: "STRING_VALUE",
57
+ * userAttribute: "STRING_VALUE",
58
+ * concat: [ // ComponentPropertyList
59
+ * {
60
+ * value: "STRING_VALUE",
61
+ * bindingProperties: {
62
+ * property: "STRING_VALUE", // required
63
+ * field: "STRING_VALUE",
64
+ * },
65
+ * collectionBindingProperties: {
66
+ * property: "STRING_VALUE", // required
67
+ * field: "STRING_VALUE",
68
+ * },
69
+ * defaultValue: "STRING_VALUE",
70
+ * model: "STRING_VALUE",
71
+ * bindings: {
72
+ * "<keys>": {
73
+ * element: "STRING_VALUE", // required
74
+ * property: "STRING_VALUE", // required
75
+ * },
76
+ * },
77
+ * event: "STRING_VALUE",
78
+ * userAttribute: "STRING_VALUE",
79
+ * concat: [
80
+ * "<ComponentProperty>",
81
+ * ],
82
+ * condition: { // ComponentConditionProperty
83
+ * property: "STRING_VALUE",
84
+ * field: "STRING_VALUE",
85
+ * operator: "STRING_VALUE",
86
+ * operand: "STRING_VALUE",
87
+ * then: "<ComponentProperty>",
88
+ * else: "<ComponentProperty>",
89
+ * operandType: "STRING_VALUE",
90
+ * },
91
+ * configured: true || false,
92
+ * type: "STRING_VALUE",
93
+ * importedValue: "STRING_VALUE",
94
+ * componentName: "STRING_VALUE",
95
+ * property: "STRING_VALUE",
96
+ * },
97
+ * ],
98
+ * condition: {
99
+ * property: "STRING_VALUE",
100
+ * field: "STRING_VALUE",
101
+ * operator: "STRING_VALUE",
102
+ * operand: "STRING_VALUE",
103
+ * then: "<ComponentProperty>",
104
+ * else: "<ComponentProperty>",
105
+ * operandType: "STRING_VALUE",
106
+ * },
107
+ * configured: true || false,
108
+ * type: "STRING_VALUE",
109
+ * importedValue: "STRING_VALUE",
110
+ * componentName: "STRING_VALUE",
111
+ * property: "STRING_VALUE",
112
+ * },
113
+ * },
114
+ * children: [ // ComponentChildList
115
+ * { // ComponentChild
116
+ * componentType: "STRING_VALUE", // required
117
+ * name: "STRING_VALUE", // required
118
+ * properties: { // required
119
+ * "<keys>": "<ComponentProperty>",
120
+ * },
121
+ * children: [
122
+ * {
123
+ * componentType: "STRING_VALUE", // required
124
+ * name: "STRING_VALUE", // required
125
+ * properties: "<ComponentProperties>", // required
126
+ * children: "<ComponentChildList>",
127
+ * events: { // ComponentEvents
128
+ * "<keys>": { // ComponentEvent
129
+ * action: "STRING_VALUE",
130
+ * parameters: { // ActionParameters
131
+ * type: "<ComponentProperty>",
132
+ * url: "<ComponentProperty>",
133
+ * anchor: "<ComponentProperty>",
134
+ * target: "<ComponentProperty>",
135
+ * global: "<ComponentProperty>",
136
+ * model: "STRING_VALUE",
137
+ * id: "<ComponentProperty>",
138
+ * fields: "<ComponentProperties>",
139
+ * state: { // MutationActionSetStateParameter
140
+ * componentName: "STRING_VALUE", // required
141
+ * property: "STRING_VALUE", // required
142
+ * set: "<ComponentProperty>", // required
143
+ * },
144
+ * },
145
+ * bindingEvent: "STRING_VALUE",
146
+ * },
147
+ * },
148
+ * sourceId: "STRING_VALUE",
149
+ * },
150
+ * ],
151
+ * events: {
152
+ * "<keys>": {
153
+ * action: "STRING_VALUE",
154
+ * parameters: {
155
+ * type: "<ComponentProperty>",
156
+ * url: "<ComponentProperty>",
157
+ * anchor: "<ComponentProperty>",
158
+ * target: "<ComponentProperty>",
159
+ * global: "<ComponentProperty>",
160
+ * model: "STRING_VALUE",
161
+ * id: "<ComponentProperty>",
162
+ * fields: "<ComponentProperties>",
163
+ * state: {
164
+ * componentName: "STRING_VALUE", // required
165
+ * property: "STRING_VALUE", // required
166
+ * set: "<ComponentProperty>", // required
167
+ * },
168
+ * },
169
+ * bindingEvent: "STRING_VALUE",
170
+ * },
171
+ * },
172
+ * sourceId: "STRING_VALUE",
173
+ * },
174
+ * ],
175
+ * variants: [ // ComponentVariants // required
176
+ * { // ComponentVariant
177
+ * variantValues: { // ComponentVariantValues
178
+ * "<keys>": "STRING_VALUE",
179
+ * },
180
+ * overrides: { // ComponentOverrides
181
+ * "<keys>": { // ComponentOverridesValue
182
+ * "<keys>": "STRING_VALUE",
183
+ * },
184
+ * },
185
+ * },
186
+ * ],
187
+ * overrides: { // required
188
+ * "<keys>": {
189
+ * "<keys>": "STRING_VALUE",
190
+ * },
191
+ * },
192
+ * bindingProperties: { // ComponentBindingProperties // required
193
+ * "<keys>": { // ComponentBindingPropertiesValue
194
+ * type: "STRING_VALUE",
195
+ * bindingProperties: { // ComponentBindingPropertiesValueProperties
196
+ * model: "STRING_VALUE",
197
+ * field: "STRING_VALUE",
198
+ * predicates: [ // PredicateList
199
+ * { // Predicate
200
+ * or: [
201
+ * {
202
+ * or: "<PredicateList>",
203
+ * and: "<PredicateList>",
204
+ * field: "STRING_VALUE",
205
+ * operator: "STRING_VALUE",
206
+ * operand: "STRING_VALUE",
207
+ * },
208
+ * ],
209
+ * and: "<PredicateList>",
210
+ * field: "STRING_VALUE",
211
+ * operator: "STRING_VALUE",
212
+ * operand: "STRING_VALUE",
213
+ * },
214
+ * ],
215
+ * userAttribute: "STRING_VALUE",
216
+ * bucket: "STRING_VALUE",
217
+ * key: "STRING_VALUE",
218
+ * defaultValue: "STRING_VALUE",
219
+ * slotName: "STRING_VALUE",
220
+ * },
221
+ * defaultValue: "STRING_VALUE",
222
+ * },
223
+ * },
224
+ * collectionProperties: { // ComponentCollectionProperties
225
+ * "<keys>": { // ComponentDataConfiguration
226
+ * model: "STRING_VALUE", // required
227
+ * sort: [ // SortPropertyList
228
+ * { // SortProperty
229
+ * field: "STRING_VALUE", // required
230
+ * direction: "STRING_VALUE", // required
231
+ * },
232
+ * ],
233
+ * predicate: "<Predicate>",
234
+ * identifiers: [ // IdentifierList
235
+ * "STRING_VALUE",
236
+ * ],
237
+ * },
238
+ * },
239
+ * tags: { // Tags
240
+ * "<keys>": "STRING_VALUE",
241
+ * },
242
+ * events: "<ComponentEvents>",
243
+ * schemaVersion: "STRING_VALUE",
244
+ * },
245
+ * };
29
246
  * const command = new CreateComponentCommand(input);
30
247
  * const response = await client.send(command);
31
248
  * ```
@@ -26,6 +26,131 @@ export interface CreateFormCommandOutput extends CreateFormResponse, __MetadataB
26
26
  * import { AmplifyUIBuilderClient, CreateFormCommand } from "@aws-sdk/client-amplifyuibuilder"; // ES Modules import
27
27
  * // const { AmplifyUIBuilderClient, CreateFormCommand } = require("@aws-sdk/client-amplifyuibuilder"); // CommonJS import
28
28
  * const client = new AmplifyUIBuilderClient(config);
29
+ * const input = { // CreateFormRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * environmentName: "STRING_VALUE", // required
32
+ * clientToken: "STRING_VALUE",
33
+ * formToCreate: { // CreateFormData
34
+ * name: "STRING_VALUE", // required
35
+ * dataType: { // FormDataTypeConfig
36
+ * dataSourceType: "STRING_VALUE", // required
37
+ * dataTypeName: "STRING_VALUE", // required
38
+ * },
39
+ * formActionType: "STRING_VALUE", // required
40
+ * fields: { // FieldsMap // required
41
+ * "<keys>": { // FieldConfig
42
+ * label: "STRING_VALUE",
43
+ * position: { // FieldPosition Union: only one key present
44
+ * fixed: "STRING_VALUE",
45
+ * rightOf: "STRING_VALUE",
46
+ * below: "STRING_VALUE",
47
+ * },
48
+ * excluded: true || false,
49
+ * inputType: { // FieldInputConfig
50
+ * type: "STRING_VALUE", // required
51
+ * required: true || false,
52
+ * readOnly: true || false,
53
+ * placeholder: "STRING_VALUE",
54
+ * defaultValue: "STRING_VALUE",
55
+ * descriptiveText: "STRING_VALUE",
56
+ * defaultChecked: true || false,
57
+ * defaultCountryCode: "STRING_VALUE",
58
+ * valueMappings: { // ValueMappings
59
+ * values: [ // ValueMappingList // required
60
+ * { // ValueMapping
61
+ * displayValue: { // FormInputValueProperty
62
+ * value: "STRING_VALUE",
63
+ * },
64
+ * value: {
65
+ * value: "STRING_VALUE",
66
+ * },
67
+ * },
68
+ * ],
69
+ * },
70
+ * name: "STRING_VALUE",
71
+ * minValue: Number("float"),
72
+ * maxValue: Number("float"),
73
+ * step: Number("float"),
74
+ * value: "STRING_VALUE",
75
+ * isArray: true || false,
76
+ * },
77
+ * validations: [ // ValidationsList
78
+ * { // FieldValidationConfiguration
79
+ * type: "STRING_VALUE", // required
80
+ * strValues: [ // StrValues
81
+ * "STRING_VALUE",
82
+ * ],
83
+ * numValues: [ // NumValues
84
+ * Number("int"),
85
+ * ],
86
+ * validationMessage: "STRING_VALUE",
87
+ * },
88
+ * ],
89
+ * },
90
+ * },
91
+ * style: { // FormStyle
92
+ * horizontalGap: { // FormStyleConfig Union: only one key present
93
+ * tokenReference: "STRING_VALUE",
94
+ * value: "STRING_VALUE",
95
+ * },
96
+ * verticalGap: {// Union: only one key present
97
+ * tokenReference: "STRING_VALUE",
98
+ * value: "STRING_VALUE",
99
+ * },
100
+ * outerPadding: {// Union: only one key present
101
+ * tokenReference: "STRING_VALUE",
102
+ * value: "STRING_VALUE",
103
+ * },
104
+ * },
105
+ * sectionalElements: { // SectionalElementMap // required
106
+ * "<keys>": { // SectionalElement
107
+ * type: "STRING_VALUE", // required
108
+ * position: {// Union: only one key present
109
+ * fixed: "STRING_VALUE",
110
+ * rightOf: "STRING_VALUE",
111
+ * below: "STRING_VALUE",
112
+ * },
113
+ * text: "STRING_VALUE",
114
+ * level: Number("int"),
115
+ * orientation: "STRING_VALUE",
116
+ * },
117
+ * },
118
+ * schemaVersion: "STRING_VALUE", // required
119
+ * cta: { // FormCTA
120
+ * position: "STRING_VALUE",
121
+ * clear: { // FormButton
122
+ * excluded: true || false,
123
+ * children: "STRING_VALUE",
124
+ * position: {// Union: only one key present
125
+ * fixed: "STRING_VALUE",
126
+ * rightOf: "STRING_VALUE",
127
+ * below: "STRING_VALUE",
128
+ * },
129
+ * },
130
+ * cancel: {
131
+ * excluded: true || false,
132
+ * children: "STRING_VALUE",
133
+ * position: {// Union: only one key present
134
+ * fixed: "STRING_VALUE",
135
+ * rightOf: "STRING_VALUE",
136
+ * below: "STRING_VALUE",
137
+ * },
138
+ * },
139
+ * submit: {
140
+ * excluded: true || false,
141
+ * children: "STRING_VALUE",
142
+ * position: {// Union: only one key present
143
+ * fixed: "STRING_VALUE",
144
+ * rightOf: "STRING_VALUE",
145
+ * below: "STRING_VALUE",
146
+ * },
147
+ * },
148
+ * },
149
+ * tags: { // Tags
150
+ * "<keys>": "STRING_VALUE",
151
+ * },
152
+ * },
153
+ * };
29
154
  * const command = new CreateFormCommand(input);
30
155
  * const response = await client.send(command);
31
156
  * ```
@@ -26,6 +26,35 @@ export interface CreateThemeCommandOutput extends CreateThemeResponse, __Metadat
26
26
  * import { AmplifyUIBuilderClient, CreateThemeCommand } from "@aws-sdk/client-amplifyuibuilder"; // ES Modules import
27
27
  * // const { AmplifyUIBuilderClient, CreateThemeCommand } = require("@aws-sdk/client-amplifyuibuilder"); // CommonJS import
28
28
  * const client = new AmplifyUIBuilderClient(config);
29
+ * const input = { // CreateThemeRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * environmentName: "STRING_VALUE", // required
32
+ * clientToken: "STRING_VALUE",
33
+ * themeToCreate: { // CreateThemeData
34
+ * name: "STRING_VALUE", // required
35
+ * values: [ // ThemeValuesList // required
36
+ * { // ThemeValues
37
+ * key: "STRING_VALUE",
38
+ * value: { // ThemeValue
39
+ * value: "STRING_VALUE",
40
+ * children: [
41
+ * {
42
+ * key: "STRING_VALUE",
43
+ * value: {
44
+ * value: "STRING_VALUE",
45
+ * children: "<ThemeValuesList>",
46
+ * },
47
+ * },
48
+ * ],
49
+ * },
50
+ * },
51
+ * ],
52
+ * overrides: "<ThemeValuesList>",
53
+ * tags: { // Tags
54
+ * "<keys>": "STRING_VALUE",
55
+ * },
56
+ * },
57
+ * };
29
58
  * const command = new CreateThemeCommand(input);
30
59
  * const response = await client.send(command);
31
60
  * ```
@@ -26,6 +26,11 @@ export interface DeleteComponentCommandOutput extends __MetadataBearer {
26
26
  * import { AmplifyUIBuilderClient, DeleteComponentCommand } from "@aws-sdk/client-amplifyuibuilder"; // ES Modules import
27
27
  * // const { AmplifyUIBuilderClient, DeleteComponentCommand } = require("@aws-sdk/client-amplifyuibuilder"); // CommonJS import
28
28
  * const client = new AmplifyUIBuilderClient(config);
29
+ * const input = { // DeleteComponentRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * environmentName: "STRING_VALUE", // required
32
+ * id: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new DeleteComponentCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,11 @@ export interface DeleteFormCommandOutput extends __MetadataBearer {
26
26
  * import { AmplifyUIBuilderClient, DeleteFormCommand } from "@aws-sdk/client-amplifyuibuilder"; // ES Modules import
27
27
  * // const { AmplifyUIBuilderClient, DeleteFormCommand } = require("@aws-sdk/client-amplifyuibuilder"); // CommonJS import
28
28
  * const client = new AmplifyUIBuilderClient(config);
29
+ * const input = { // DeleteFormRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * environmentName: "STRING_VALUE", // required
32
+ * id: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new DeleteFormCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,11 @@ export interface DeleteThemeCommandOutput extends __MetadataBearer {
26
26
  * import { AmplifyUIBuilderClient, DeleteThemeCommand } from "@aws-sdk/client-amplifyuibuilder"; // ES Modules import
27
27
  * // const { AmplifyUIBuilderClient, DeleteThemeCommand } = require("@aws-sdk/client-amplifyuibuilder"); // CommonJS import
28
28
  * const client = new AmplifyUIBuilderClient(config);
29
+ * const input = { // DeleteThemeRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * environmentName: "STRING_VALUE", // required
32
+ * id: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new DeleteThemeCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,13 @@ export interface ExchangeCodeForTokenCommandOutput extends ExchangeCodeForTokenR
26
26
  * import { AmplifyUIBuilderClient, ExchangeCodeForTokenCommand } from "@aws-sdk/client-amplifyuibuilder"; // ES Modules import
27
27
  * // const { AmplifyUIBuilderClient, ExchangeCodeForTokenCommand } = require("@aws-sdk/client-amplifyuibuilder"); // CommonJS import
28
28
  * const client = new AmplifyUIBuilderClient(config);
29
+ * const input = { // ExchangeCodeForTokenRequest
30
+ * provider: "STRING_VALUE", // required
31
+ * request: { // ExchangeCodeForTokenRequestBody
32
+ * code: "STRING_VALUE", // required
33
+ * redirectUri: "STRING_VALUE", // required
34
+ * },
35
+ * };
29
36
  * const command = new ExchangeCodeForTokenCommand(input);
30
37
  * const response = await client.send(command);
31
38
  * ```
@@ -26,6 +26,11 @@ export interface ExportComponentsCommandOutput extends ExportComponentsResponse,
26
26
  * import { AmplifyUIBuilderClient, ExportComponentsCommand } from "@aws-sdk/client-amplifyuibuilder"; // ES Modules import
27
27
  * // const { AmplifyUIBuilderClient, ExportComponentsCommand } = require("@aws-sdk/client-amplifyuibuilder"); // CommonJS import
28
28
  * const client = new AmplifyUIBuilderClient(config);
29
+ * const input = { // ExportComponentsRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * environmentName: "STRING_VALUE", // required
32
+ * nextToken: "STRING_VALUE",
33
+ * };
29
34
  * const command = new ExportComponentsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,11 @@ export interface ExportFormsCommandOutput extends ExportFormsResponse, __Metadat
26
26
  * import { AmplifyUIBuilderClient, ExportFormsCommand } from "@aws-sdk/client-amplifyuibuilder"; // ES Modules import
27
27
  * // const { AmplifyUIBuilderClient, ExportFormsCommand } = require("@aws-sdk/client-amplifyuibuilder"); // CommonJS import
28
28
  * const client = new AmplifyUIBuilderClient(config);
29
+ * const input = { // ExportFormsRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * environmentName: "STRING_VALUE", // required
32
+ * nextToken: "STRING_VALUE",
33
+ * };
29
34
  * const command = new ExportFormsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,11 @@ export interface ExportThemesCommandOutput extends ExportThemesResponse, __Metad
26
26
  * import { AmplifyUIBuilderClient, ExportThemesCommand } from "@aws-sdk/client-amplifyuibuilder"; // ES Modules import
27
27
  * // const { AmplifyUIBuilderClient, ExportThemesCommand } = require("@aws-sdk/client-amplifyuibuilder"); // CommonJS import
28
28
  * const client = new AmplifyUIBuilderClient(config);
29
+ * const input = { // ExportThemesRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * environmentName: "STRING_VALUE", // required
32
+ * nextToken: "STRING_VALUE",
33
+ * };
29
34
  * const command = new ExportThemesCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,11 @@ export interface GetComponentCommandOutput extends GetComponentResponse, __Metad
26
26
  * import { AmplifyUIBuilderClient, GetComponentCommand } from "@aws-sdk/client-amplifyuibuilder"; // ES Modules import
27
27
  * // const { AmplifyUIBuilderClient, GetComponentCommand } = require("@aws-sdk/client-amplifyuibuilder"); // CommonJS import
28
28
  * const client = new AmplifyUIBuilderClient(config);
29
+ * const input = { // GetComponentRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * environmentName: "STRING_VALUE", // required
32
+ * id: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new GetComponentCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,11 @@ export interface GetFormCommandOutput extends GetFormResponse, __MetadataBearer
26
26
  * import { AmplifyUIBuilderClient, GetFormCommand } from "@aws-sdk/client-amplifyuibuilder"; // ES Modules import
27
27
  * // const { AmplifyUIBuilderClient, GetFormCommand } = require("@aws-sdk/client-amplifyuibuilder"); // CommonJS import
28
28
  * const client = new AmplifyUIBuilderClient(config);
29
+ * const input = { // GetFormRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * environmentName: "STRING_VALUE", // required
32
+ * id: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new GetFormCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,10 @@ export interface GetMetadataCommandOutput extends GetMetadataResponse, __Metadat
26
26
  * import { AmplifyUIBuilderClient, GetMetadataCommand } from "@aws-sdk/client-amplifyuibuilder"; // ES Modules import
27
27
  * // const { AmplifyUIBuilderClient, GetMetadataCommand } = require("@aws-sdk/client-amplifyuibuilder"); // CommonJS import
28
28
  * const client = new AmplifyUIBuilderClient(config);
29
+ * const input = { // GetMetadataRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * environmentName: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new GetMetadataCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,11 @@ export interface GetThemeCommandOutput extends GetThemeResponse, __MetadataBeare
26
26
  * import { AmplifyUIBuilderClient, GetThemeCommand } from "@aws-sdk/client-amplifyuibuilder"; // ES Modules import
27
27
  * // const { AmplifyUIBuilderClient, GetThemeCommand } = require("@aws-sdk/client-amplifyuibuilder"); // CommonJS import
28
28
  * const client = new AmplifyUIBuilderClient(config);
29
+ * const input = { // GetThemeRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * environmentName: "STRING_VALUE", // required
32
+ * id: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new GetThemeCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -27,6 +27,12 @@ export interface ListComponentsCommandOutput extends ListComponentsResponse, __M
27
27
  * import { AmplifyUIBuilderClient, ListComponentsCommand } from "@aws-sdk/client-amplifyuibuilder"; // ES Modules import
28
28
  * // const { AmplifyUIBuilderClient, ListComponentsCommand } = require("@aws-sdk/client-amplifyuibuilder"); // CommonJS import
29
29
  * const client = new AmplifyUIBuilderClient(config);
30
+ * const input = { // ListComponentsRequest
31
+ * appId: "STRING_VALUE", // required
32
+ * environmentName: "STRING_VALUE", // required
33
+ * nextToken: "STRING_VALUE",
34
+ * maxResults: Number("int"),
35
+ * };
30
36
  * const command = new ListComponentsCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -26,6 +26,12 @@ export interface ListFormsCommandOutput extends ListFormsResponse, __MetadataBea
26
26
  * import { AmplifyUIBuilderClient, ListFormsCommand } from "@aws-sdk/client-amplifyuibuilder"; // ES Modules import
27
27
  * // const { AmplifyUIBuilderClient, ListFormsCommand } = require("@aws-sdk/client-amplifyuibuilder"); // CommonJS import
28
28
  * const client = new AmplifyUIBuilderClient(config);
29
+ * const input = { // ListFormsRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * environmentName: "STRING_VALUE", // required
32
+ * nextToken: "STRING_VALUE",
33
+ * maxResults: Number("int"),
34
+ * };
29
35
  * const command = new ListFormsCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -27,6 +27,12 @@ export interface ListThemesCommandOutput extends ListThemesResponse, __MetadataB
27
27
  * import { AmplifyUIBuilderClient, ListThemesCommand } from "@aws-sdk/client-amplifyuibuilder"; // ES Modules import
28
28
  * // const { AmplifyUIBuilderClient, ListThemesCommand } = require("@aws-sdk/client-amplifyuibuilder"); // CommonJS import
29
29
  * const client = new AmplifyUIBuilderClient(config);
30
+ * const input = { // ListThemesRequest
31
+ * appId: "STRING_VALUE", // required
32
+ * environmentName: "STRING_VALUE", // required
33
+ * nextToken: "STRING_VALUE",
34
+ * maxResults: Number("int"),
35
+ * };
30
36
  * const command = new ListThemesCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -26,6 +26,14 @@ export interface PutMetadataFlagCommandOutput extends __MetadataBearer {
26
26
  * import { AmplifyUIBuilderClient, PutMetadataFlagCommand } from "@aws-sdk/client-amplifyuibuilder"; // ES Modules import
27
27
  * // const { AmplifyUIBuilderClient, PutMetadataFlagCommand } = require("@aws-sdk/client-amplifyuibuilder"); // CommonJS import
28
28
  * const client = new AmplifyUIBuilderClient(config);
29
+ * const input = { // PutMetadataFlagRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * environmentName: "STRING_VALUE", // required
32
+ * featureName: "STRING_VALUE", // required
33
+ * body: { // PutMetadataFlagBody
34
+ * newValue: "STRING_VALUE", // required
35
+ * },
36
+ * };
29
37
  * const command = new PutMetadataFlagCommand(input);
30
38
  * const response = await client.send(command);
31
39
  * ```
@@ -26,6 +26,12 @@ export interface RefreshTokenCommandOutput extends RefreshTokenResponse, __Metad
26
26
  * import { AmplifyUIBuilderClient, RefreshTokenCommand } from "@aws-sdk/client-amplifyuibuilder"; // ES Modules import
27
27
  * // const { AmplifyUIBuilderClient, RefreshTokenCommand } = require("@aws-sdk/client-amplifyuibuilder"); // CommonJS import
28
28
  * const client = new AmplifyUIBuilderClient(config);
29
+ * const input = { // RefreshTokenRequest
30
+ * provider: "STRING_VALUE", // required
31
+ * refreshTokenBody: { // RefreshTokenRequestBody
32
+ * token: "STRING_VALUE", // required
33
+ * },
34
+ * };
29
35
  * const command = new RefreshTokenCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,222 @@ export interface UpdateComponentCommandOutput extends UpdateComponentResponse, _
26
26
  * import { AmplifyUIBuilderClient, UpdateComponentCommand } from "@aws-sdk/client-amplifyuibuilder"; // ES Modules import
27
27
  * // const { AmplifyUIBuilderClient, UpdateComponentCommand } = require("@aws-sdk/client-amplifyuibuilder"); // CommonJS import
28
28
  * const client = new AmplifyUIBuilderClient(config);
29
+ * const input = { // UpdateComponentRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * environmentName: "STRING_VALUE", // required
32
+ * id: "STRING_VALUE", // required
33
+ * clientToken: "STRING_VALUE",
34
+ * updatedComponent: { // UpdateComponentData
35
+ * id: "STRING_VALUE",
36
+ * name: "STRING_VALUE",
37
+ * sourceId: "STRING_VALUE",
38
+ * componentType: "STRING_VALUE",
39
+ * properties: { // ComponentProperties
40
+ * "<keys>": { // ComponentProperty
41
+ * value: "STRING_VALUE",
42
+ * bindingProperties: { // ComponentPropertyBindingProperties
43
+ * property: "STRING_VALUE", // required
44
+ * field: "STRING_VALUE",
45
+ * },
46
+ * collectionBindingProperties: {
47
+ * property: "STRING_VALUE", // required
48
+ * field: "STRING_VALUE",
49
+ * },
50
+ * defaultValue: "STRING_VALUE",
51
+ * model: "STRING_VALUE",
52
+ * bindings: { // FormBindings
53
+ * "<keys>": { // FormBindingElement
54
+ * element: "STRING_VALUE", // required
55
+ * property: "STRING_VALUE", // required
56
+ * },
57
+ * },
58
+ * event: "STRING_VALUE",
59
+ * userAttribute: "STRING_VALUE",
60
+ * concat: [ // ComponentPropertyList
61
+ * {
62
+ * value: "STRING_VALUE",
63
+ * bindingProperties: {
64
+ * property: "STRING_VALUE", // required
65
+ * field: "STRING_VALUE",
66
+ * },
67
+ * collectionBindingProperties: {
68
+ * property: "STRING_VALUE", // required
69
+ * field: "STRING_VALUE",
70
+ * },
71
+ * defaultValue: "STRING_VALUE",
72
+ * model: "STRING_VALUE",
73
+ * bindings: {
74
+ * "<keys>": {
75
+ * element: "STRING_VALUE", // required
76
+ * property: "STRING_VALUE", // required
77
+ * },
78
+ * },
79
+ * event: "STRING_VALUE",
80
+ * userAttribute: "STRING_VALUE",
81
+ * concat: [
82
+ * "<ComponentProperty>",
83
+ * ],
84
+ * condition: { // ComponentConditionProperty
85
+ * property: "STRING_VALUE",
86
+ * field: "STRING_VALUE",
87
+ * operator: "STRING_VALUE",
88
+ * operand: "STRING_VALUE",
89
+ * then: "<ComponentProperty>",
90
+ * else: "<ComponentProperty>",
91
+ * operandType: "STRING_VALUE",
92
+ * },
93
+ * configured: true || false,
94
+ * type: "STRING_VALUE",
95
+ * importedValue: "STRING_VALUE",
96
+ * componentName: "STRING_VALUE",
97
+ * property: "STRING_VALUE",
98
+ * },
99
+ * ],
100
+ * condition: {
101
+ * property: "STRING_VALUE",
102
+ * field: "STRING_VALUE",
103
+ * operator: "STRING_VALUE",
104
+ * operand: "STRING_VALUE",
105
+ * then: "<ComponentProperty>",
106
+ * else: "<ComponentProperty>",
107
+ * operandType: "STRING_VALUE",
108
+ * },
109
+ * configured: true || false,
110
+ * type: "STRING_VALUE",
111
+ * importedValue: "STRING_VALUE",
112
+ * componentName: "STRING_VALUE",
113
+ * property: "STRING_VALUE",
114
+ * },
115
+ * },
116
+ * children: [ // ComponentChildList
117
+ * { // ComponentChild
118
+ * componentType: "STRING_VALUE", // required
119
+ * name: "STRING_VALUE", // required
120
+ * properties: { // required
121
+ * "<keys>": "<ComponentProperty>",
122
+ * },
123
+ * children: [
124
+ * {
125
+ * componentType: "STRING_VALUE", // required
126
+ * name: "STRING_VALUE", // required
127
+ * properties: "<ComponentProperties>", // required
128
+ * children: "<ComponentChildList>",
129
+ * events: { // ComponentEvents
130
+ * "<keys>": { // ComponentEvent
131
+ * action: "STRING_VALUE",
132
+ * parameters: { // ActionParameters
133
+ * type: "<ComponentProperty>",
134
+ * url: "<ComponentProperty>",
135
+ * anchor: "<ComponentProperty>",
136
+ * target: "<ComponentProperty>",
137
+ * global: "<ComponentProperty>",
138
+ * model: "STRING_VALUE",
139
+ * id: "<ComponentProperty>",
140
+ * fields: "<ComponentProperties>",
141
+ * state: { // MutationActionSetStateParameter
142
+ * componentName: "STRING_VALUE", // required
143
+ * property: "STRING_VALUE", // required
144
+ * set: "<ComponentProperty>", // required
145
+ * },
146
+ * },
147
+ * bindingEvent: "STRING_VALUE",
148
+ * },
149
+ * },
150
+ * sourceId: "STRING_VALUE",
151
+ * },
152
+ * ],
153
+ * events: {
154
+ * "<keys>": {
155
+ * action: "STRING_VALUE",
156
+ * parameters: {
157
+ * type: "<ComponentProperty>",
158
+ * url: "<ComponentProperty>",
159
+ * anchor: "<ComponentProperty>",
160
+ * target: "<ComponentProperty>",
161
+ * global: "<ComponentProperty>",
162
+ * model: "STRING_VALUE",
163
+ * id: "<ComponentProperty>",
164
+ * fields: "<ComponentProperties>",
165
+ * state: {
166
+ * componentName: "STRING_VALUE", // required
167
+ * property: "STRING_VALUE", // required
168
+ * set: "<ComponentProperty>", // required
169
+ * },
170
+ * },
171
+ * bindingEvent: "STRING_VALUE",
172
+ * },
173
+ * },
174
+ * sourceId: "STRING_VALUE",
175
+ * },
176
+ * ],
177
+ * variants: [ // ComponentVariants
178
+ * { // ComponentVariant
179
+ * variantValues: { // ComponentVariantValues
180
+ * "<keys>": "STRING_VALUE",
181
+ * },
182
+ * overrides: { // ComponentOverrides
183
+ * "<keys>": { // ComponentOverridesValue
184
+ * "<keys>": "STRING_VALUE",
185
+ * },
186
+ * },
187
+ * },
188
+ * ],
189
+ * overrides: {
190
+ * "<keys>": {
191
+ * "<keys>": "STRING_VALUE",
192
+ * },
193
+ * },
194
+ * bindingProperties: { // ComponentBindingProperties
195
+ * "<keys>": { // ComponentBindingPropertiesValue
196
+ * type: "STRING_VALUE",
197
+ * bindingProperties: { // ComponentBindingPropertiesValueProperties
198
+ * model: "STRING_VALUE",
199
+ * field: "STRING_VALUE",
200
+ * predicates: [ // PredicateList
201
+ * { // Predicate
202
+ * or: [
203
+ * {
204
+ * or: "<PredicateList>",
205
+ * and: "<PredicateList>",
206
+ * field: "STRING_VALUE",
207
+ * operator: "STRING_VALUE",
208
+ * operand: "STRING_VALUE",
209
+ * },
210
+ * ],
211
+ * and: "<PredicateList>",
212
+ * field: "STRING_VALUE",
213
+ * operator: "STRING_VALUE",
214
+ * operand: "STRING_VALUE",
215
+ * },
216
+ * ],
217
+ * userAttribute: "STRING_VALUE",
218
+ * bucket: "STRING_VALUE",
219
+ * key: "STRING_VALUE",
220
+ * defaultValue: "STRING_VALUE",
221
+ * slotName: "STRING_VALUE",
222
+ * },
223
+ * defaultValue: "STRING_VALUE",
224
+ * },
225
+ * },
226
+ * collectionProperties: { // ComponentCollectionProperties
227
+ * "<keys>": { // ComponentDataConfiguration
228
+ * model: "STRING_VALUE", // required
229
+ * sort: [ // SortPropertyList
230
+ * { // SortProperty
231
+ * field: "STRING_VALUE", // required
232
+ * direction: "STRING_VALUE", // required
233
+ * },
234
+ * ],
235
+ * predicate: "<Predicate>",
236
+ * identifiers: [ // IdentifierList
237
+ * "STRING_VALUE",
238
+ * ],
239
+ * },
240
+ * },
241
+ * events: "<ComponentEvents>",
242
+ * schemaVersion: "STRING_VALUE",
243
+ * },
244
+ * };
29
245
  * const command = new UpdateComponentCommand(input);
30
246
  * const response = await client.send(command);
31
247
  * ```
@@ -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 = { // UpdateFormRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * environmentName: "STRING_VALUE", // required
32
+ * id: "STRING_VALUE", // required
33
+ * clientToken: "STRING_VALUE",
34
+ * updatedForm: { // UpdateFormData
35
+ * name: "STRING_VALUE",
36
+ * dataType: { // FormDataTypeConfig
37
+ * dataSourceType: "STRING_VALUE", // required
38
+ * dataTypeName: "STRING_VALUE", // required
39
+ * },
40
+ * formActionType: "STRING_VALUE",
41
+ * fields: { // FieldsMap
42
+ * "<keys>": { // FieldConfig
43
+ * label: "STRING_VALUE",
44
+ * position: { // FieldPosition Union: only one key present
45
+ * fixed: "STRING_VALUE",
46
+ * rightOf: "STRING_VALUE",
47
+ * below: "STRING_VALUE",
48
+ * },
49
+ * excluded: true || false,
50
+ * inputType: { // FieldInputConfig
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: { // ValueMappings
60
+ * values: [ // ValueMappingList // required
61
+ * { // ValueMapping
62
+ * displayValue: { // FormInputValueProperty
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: [ // ValidationsList
79
+ * { // FieldValidationConfiguration
80
+ * type: "STRING_VALUE", // required
81
+ * strValues: [ // StrValues
82
+ * "STRING_VALUE",
83
+ * ],
84
+ * numValues: [ // NumValues
85
+ * Number("int"),
86
+ * ],
87
+ * validationMessage: "STRING_VALUE",
88
+ * },
89
+ * ],
90
+ * },
91
+ * },
92
+ * style: { // FormStyle
93
+ * horizontalGap: { // FormStyleConfig 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: { // SectionalElementMap
107
+ * "<keys>": { // SectionalElement
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: { // FormCTA
121
+ * position: "STRING_VALUE",
122
+ * clear: { // FormButton
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,34 @@ 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 = { // UpdateThemeRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * environmentName: "STRING_VALUE", // required
32
+ * id: "STRING_VALUE", // required
33
+ * clientToken: "STRING_VALUE",
34
+ * updatedTheme: { // UpdateThemeData
35
+ * id: "STRING_VALUE",
36
+ * name: "STRING_VALUE",
37
+ * values: [ // ThemeValuesList // required
38
+ * { // ThemeValues
39
+ * key: "STRING_VALUE",
40
+ * value: { // ThemeValue
41
+ * value: "STRING_VALUE",
42
+ * children: [
43
+ * {
44
+ * key: "STRING_VALUE",
45
+ * value: {
46
+ * value: "STRING_VALUE",
47
+ * children: "<ThemeValuesList>",
48
+ * },
49
+ * },
50
+ * ],
51
+ * },
52
+ * },
53
+ * ],
54
+ * overrides: "<ThemeValuesList>",
55
+ * },
56
+ * };
29
57
  * const command = new UpdateThemeCommand(input);
30
58
  * const response = await client.send(command);
31
59
  * ```
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.299.0",
4
+ "version": "3.301.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.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.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",
@@ -32,12 +32,12 @@
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.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.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.299.0",
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
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "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"