@aws-sdk/client-amplifyuibuilder 3.929.0 → 3.930.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -144,18 +144,6 @@ const GenericDataRelationshipType = {
144
144
  HAS_MANY: "HAS_MANY",
145
145
  HAS_ONE: "HAS_ONE",
146
146
  };
147
- exports.ApiConfiguration = void 0;
148
- (function (ApiConfiguration) {
149
- ApiConfiguration.visit = (value, visitor) => {
150
- if (value.graphQLConfig !== undefined)
151
- return visitor.graphQLConfig(value.graphQLConfig);
152
- if (value.dataStoreConfig !== undefined)
153
- return visitor.dataStoreConfig(value.dataStoreConfig);
154
- if (value.noApiConfig !== undefined)
155
- return visitor.noApiConfig(value.noApiConfig);
156
- return visitor._(value.$unknown[0], value.$unknown[1]);
157
- };
158
- })(exports.ApiConfiguration || (exports.ApiConfiguration = {}));
159
147
  const JSModule = {
160
148
  ES2020: "es2020",
161
149
  ESNEXT: "esnext",
@@ -169,14 +157,6 @@ const JSTarget = {
169
157
  ES2015: "es2015",
170
158
  ES2020: "es2020",
171
159
  };
172
- exports.CodegenJobRenderConfig = void 0;
173
- (function (CodegenJobRenderConfig) {
174
- CodegenJobRenderConfig.visit = (value, visitor) => {
175
- if (value.react !== undefined)
176
- return visitor.react(value.react);
177
- return visitor._(value.$unknown[0], value.$unknown[1]);
178
- };
179
- })(exports.CodegenJobRenderConfig || (exports.CodegenJobRenderConfig = {}));
180
160
  const CodegenJobStatus = {
181
161
  FAILED: "failed",
182
162
  IN_PROGRESS: "in_progress",
@@ -264,18 +244,6 @@ const TokenProviders = {
264
244
  const FixedPosition = {
265
245
  FIRST: "first",
266
246
  };
267
- exports.FieldPosition = void 0;
268
- (function (FieldPosition) {
269
- FieldPosition.visit = (value, visitor) => {
270
- if (value.fixed !== undefined)
271
- return visitor.fixed(value.fixed);
272
- if (value.rightOf !== undefined)
273
- return visitor.rightOf(value.rightOf);
274
- if (value.below !== undefined)
275
- return visitor.below(value.below);
276
- return visitor._(value.$unknown[0], value.$unknown[1]);
277
- };
278
- })(exports.FieldPosition || (exports.FieldPosition = {}));
279
247
  const FormButtonsPosition = {
280
248
  BOTTOM: "bottom",
281
249
  TOP: "top",
@@ -299,16 +267,6 @@ const LabelDecorator = {
299
267
  OPTIONAL: "optional",
300
268
  REQUIRED: "required",
301
269
  };
302
- exports.FormStyleConfig = void 0;
303
- (function (FormStyleConfig) {
304
- FormStyleConfig.visit = (value, visitor) => {
305
- if (value.tokenReference !== undefined)
306
- return visitor.tokenReference(value.tokenReference);
307
- if (value.value !== undefined)
308
- return visitor.value(value.value);
309
- return visitor._(value.$unknown[0], value.$unknown[1]);
310
- };
311
- })(exports.FormStyleConfig || (exports.FormStyleConfig = {}));
312
270
  let UnauthorizedException$1 = class UnauthorizedException extends AmplifyUIBuilderServiceException$1 {
313
271
  name = "UnauthorizedException";
314
272
  $fault = "client";
@@ -26,18 +26,6 @@ export const GenericDataRelationshipType = {
26
26
  HAS_MANY: "HAS_MANY",
27
27
  HAS_ONE: "HAS_ONE",
28
28
  };
29
- export var ApiConfiguration;
30
- (function (ApiConfiguration) {
31
- ApiConfiguration.visit = (value, visitor) => {
32
- if (value.graphQLConfig !== undefined)
33
- return visitor.graphQLConfig(value.graphQLConfig);
34
- if (value.dataStoreConfig !== undefined)
35
- return visitor.dataStoreConfig(value.dataStoreConfig);
36
- if (value.noApiConfig !== undefined)
37
- return visitor.noApiConfig(value.noApiConfig);
38
- return visitor._(value.$unknown[0], value.$unknown[1]);
39
- };
40
- })(ApiConfiguration || (ApiConfiguration = {}));
41
29
  export const JSModule = {
42
30
  ES2020: "es2020",
43
31
  ESNEXT: "esnext",
@@ -51,14 +39,6 @@ export const JSTarget = {
51
39
  ES2015: "es2015",
52
40
  ES2020: "es2020",
53
41
  };
54
- export var CodegenJobRenderConfig;
55
- (function (CodegenJobRenderConfig) {
56
- CodegenJobRenderConfig.visit = (value, visitor) => {
57
- if (value.react !== undefined)
58
- return visitor.react(value.react);
59
- return visitor._(value.$unknown[0], value.$unknown[1]);
60
- };
61
- })(CodegenJobRenderConfig || (CodegenJobRenderConfig = {}));
62
42
  export const CodegenJobStatus = {
63
43
  FAILED: "failed",
64
44
  IN_PROGRESS: "in_progress",
@@ -146,18 +126,6 @@ export const TokenProviders = {
146
126
  export const FixedPosition = {
147
127
  FIRST: "first",
148
128
  };
149
- export var FieldPosition;
150
- (function (FieldPosition) {
151
- FieldPosition.visit = (value, visitor) => {
152
- if (value.fixed !== undefined)
153
- return visitor.fixed(value.fixed);
154
- if (value.rightOf !== undefined)
155
- return visitor.rightOf(value.rightOf);
156
- if (value.below !== undefined)
157
- return visitor.below(value.below);
158
- return visitor._(value.$unknown[0], value.$unknown[1]);
159
- };
160
- })(FieldPosition || (FieldPosition = {}));
161
129
  export const FormButtonsPosition = {
162
130
  BOTTOM: "bottom",
163
131
  TOP: "top",
@@ -181,16 +149,6 @@ export const LabelDecorator = {
181
149
  OPTIONAL: "optional",
182
150
  REQUIRED: "required",
183
151
  };
184
- export var FormStyleConfig;
185
- (function (FormStyleConfig) {
186
- FormStyleConfig.visit = (value, visitor) => {
187
- if (value.tokenReference !== undefined)
188
- return visitor.tokenReference(value.tokenReference);
189
- if (value.value !== undefined)
190
- return visitor.value(value.value);
191
- return visitor._(value.$unknown[0], value.$unknown[1]);
192
- };
193
- })(FormStyleConfig || (FormStyleConfig = {}));
194
152
  export class UnauthorizedException extends __BaseException {
195
153
  name = "UnauthorizedException";
196
154
  $fault = "client";
@@ -404,13 +404,16 @@ export declare namespace ApiConfiguration {
404
404
  noApiConfig?: never;
405
405
  $unknown: [string, any];
406
406
  }
407
+ /**
408
+ * @deprecated unused in schema-serde mode.
409
+ *
410
+ */
407
411
  interface Visitor<T> {
408
412
  graphQLConfig: (value: GraphQLRenderConfig) => T;
409
413
  dataStoreConfig: (value: DataStoreRenderConfig) => T;
410
414
  noApiConfig: (value: NoApiRenderConfig) => T;
411
415
  _: (name: string, value: any) => T;
412
416
  }
413
- const visit: <T>(value: ApiConfiguration, visitor: Visitor<T>) => T;
414
417
  }
415
418
  /**
416
419
  * @public
@@ -514,11 +517,14 @@ export declare namespace CodegenJobRenderConfig {
514
517
  react?: never;
515
518
  $unknown: [string, any];
516
519
  }
520
+ /**
521
+ * @deprecated unused in schema-serde mode.
522
+ *
523
+ */
517
524
  interface Visitor<T> {
518
525
  react: (value: ReactStartCodegenJobData) => T;
519
526
  _: (name: string, value: any) => T;
520
527
  }
521
- const visit: <T>(value: CodegenJobRenderConfig, visitor: Visitor<T>) => T;
522
528
  }
523
529
  /**
524
530
  * @public
@@ -1143,13 +1149,16 @@ export declare namespace FieldPosition {
1143
1149
  below?: never;
1144
1150
  $unknown: [string, any];
1145
1151
  }
1152
+ /**
1153
+ * @deprecated unused in schema-serde mode.
1154
+ *
1155
+ */
1146
1156
  interface Visitor<T> {
1147
1157
  fixed: (value: FixedPosition) => T;
1148
1158
  rightOf: (value: string) => T;
1149
1159
  below: (value: string) => T;
1150
1160
  _: (name: string, value: any) => T;
1151
1161
  }
1152
- const visit: <T>(value: FieldPosition, visitor: Visitor<T>) => T;
1153
1162
  }
1154
1163
  /**
1155
1164
  * <p>Describes the configuration for a button UI element that is a part of a form.</p>
@@ -1485,12 +1494,15 @@ export declare namespace FormStyleConfig {
1485
1494
  value?: never;
1486
1495
  $unknown: [string, any];
1487
1496
  }
1497
+ /**
1498
+ * @deprecated unused in schema-serde mode.
1499
+ *
1500
+ */
1488
1501
  interface Visitor<T> {
1489
1502
  tokenReference: (value: string) => T;
1490
1503
  value: (value: string) => T;
1491
1504
  _: (name: string, value: any) => T;
1492
1505
  }
1493
- const visit: <T>(value: FormStyleConfig, visitor: Visitor<T>) => T;
1494
1506
  }
1495
1507
  /**
1496
1508
  * <p>Describes the configuration for the form's style.</p>
@@ -140,7 +140,6 @@ export declare namespace ApiConfiguration {
140
140
  noApiConfig: (value: NoApiRenderConfig) => T;
141
141
  _: (name: string, value: any) => T;
142
142
  }
143
- const visit: <T>(value: ApiConfiguration, visitor: Visitor<T>) => T;
144
143
  }
145
144
  export declare const JSModule: {
146
145
  readonly ES2020: "es2020";
@@ -183,7 +182,6 @@ export declare namespace CodegenJobRenderConfig {
183
182
  react: (value: ReactStartCodegenJobData) => T;
184
183
  _: (name: string, value: any) => T;
185
184
  }
186
- const visit: <T>(value: CodegenJobRenderConfig, visitor: Visitor<T>) => T;
187
185
  }
188
186
  export declare const CodegenJobStatus: {
189
187
  readonly FAILED: "failed";
@@ -390,7 +388,6 @@ export declare namespace FieldPosition {
390
388
  below: (value: string) => T;
391
389
  _: (name: string, value: any) => T;
392
390
  }
393
- const visit: <T>(value: FieldPosition, visitor: Visitor<T>) => T;
394
391
  }
395
392
  export interface FormButton {
396
393
  excluded?: boolean | undefined;
@@ -498,7 +495,6 @@ export declare namespace FormStyleConfig {
498
495
  value: (value: string) => T;
499
496
  _: (name: string, value: any) => T;
500
497
  }
501
- const visit: <T>(value: FormStyleConfig, visitor: Visitor<T>) => T;
502
498
  }
503
499
  export interface FormStyle {
504
500
  horizontalGap?: FormStyleConfig | undefined;
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.929.0",
4
+ "version": "3.930.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-amplifyuibuilder",
@@ -20,41 +20,41 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.928.0",
24
- "@aws-sdk/credential-provider-node": "3.929.0",
25
- "@aws-sdk/middleware-host-header": "3.922.0",
26
- "@aws-sdk/middleware-logger": "3.922.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.922.0",
28
- "@aws-sdk/middleware-user-agent": "3.928.0",
29
- "@aws-sdk/region-config-resolver": "3.925.0",
30
- "@aws-sdk/types": "3.922.0",
31
- "@aws-sdk/util-endpoints": "3.922.0",
32
- "@aws-sdk/util-user-agent-browser": "3.922.0",
33
- "@aws-sdk/util-user-agent-node": "3.928.0",
34
- "@smithy/config-resolver": "^4.4.2",
35
- "@smithy/core": "^3.17.2",
36
- "@smithy/fetch-http-handler": "^5.3.5",
37
- "@smithy/hash-node": "^4.2.4",
38
- "@smithy/invalid-dependency": "^4.2.4",
39
- "@smithy/middleware-content-length": "^4.2.4",
40
- "@smithy/middleware-endpoint": "^4.3.6",
41
- "@smithy/middleware-retry": "^4.4.6",
42
- "@smithy/middleware-serde": "^4.2.4",
43
- "@smithy/middleware-stack": "^4.2.4",
44
- "@smithy/node-config-provider": "^4.3.4",
45
- "@smithy/node-http-handler": "^4.4.4",
46
- "@smithy/protocol-http": "^5.3.4",
47
- "@smithy/smithy-client": "^4.9.2",
48
- "@smithy/types": "^4.8.1",
49
- "@smithy/url-parser": "^4.2.4",
23
+ "@aws-sdk/core": "3.930.0",
24
+ "@aws-sdk/credential-provider-node": "3.930.0",
25
+ "@aws-sdk/middleware-host-header": "3.930.0",
26
+ "@aws-sdk/middleware-logger": "3.930.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.930.0",
28
+ "@aws-sdk/middleware-user-agent": "3.930.0",
29
+ "@aws-sdk/region-config-resolver": "3.930.0",
30
+ "@aws-sdk/types": "3.930.0",
31
+ "@aws-sdk/util-endpoints": "3.930.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.930.0",
33
+ "@aws-sdk/util-user-agent-node": "3.930.0",
34
+ "@smithy/config-resolver": "^4.4.3",
35
+ "@smithy/core": "^3.18.2",
36
+ "@smithy/fetch-http-handler": "^5.3.6",
37
+ "@smithy/hash-node": "^4.2.5",
38
+ "@smithy/invalid-dependency": "^4.2.5",
39
+ "@smithy/middleware-content-length": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.9",
41
+ "@smithy/middleware-retry": "^4.4.9",
42
+ "@smithy/middleware-serde": "^4.2.5",
43
+ "@smithy/middleware-stack": "^4.2.5",
44
+ "@smithy/node-config-provider": "^4.3.5",
45
+ "@smithy/node-http-handler": "^4.4.5",
46
+ "@smithy/protocol-http": "^5.3.5",
47
+ "@smithy/smithy-client": "^4.9.5",
48
+ "@smithy/types": "^4.9.0",
49
+ "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.5",
54
- "@smithy/util-defaults-mode-node": "^4.2.8",
55
- "@smithy/util-endpoints": "^3.2.4",
56
- "@smithy/util-middleware": "^4.2.4",
57
- "@smithy/util-retry": "^4.2.4",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.8",
54
+ "@smithy/util-defaults-mode-node": "^4.2.11",
55
+ "@smithy/util-endpoints": "^3.2.5",
56
+ "@smithy/util-middleware": "^4.2.5",
57
+ "@smithy/util-retry": "^4.2.5",
58
58
  "@smithy/util-utf8": "^4.2.0",
59
59
  "tslib": "^2.6.2"
60
60
  },