@aws-sdk/client-amplifyuibuilder 3.303.0 → 3.309.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.
Files changed (63) hide show
  1. package/dist-cjs/commands/CreateComponentCommand.js +2 -2
  2. package/dist-cjs/commands/CreateFormCommand.js +2 -2
  3. package/dist-cjs/commands/CreateThemeCommand.js +2 -2
  4. package/dist-cjs/commands/DeleteComponentCommand.js +2 -2
  5. package/dist-cjs/commands/DeleteFormCommand.js +2 -2
  6. package/dist-cjs/commands/DeleteThemeCommand.js +2 -2
  7. package/dist-cjs/commands/ExchangeCodeForTokenCommand.js +2 -2
  8. package/dist-cjs/commands/ExportComponentsCommand.js +2 -2
  9. package/dist-cjs/commands/ExportFormsCommand.js +2 -2
  10. package/dist-cjs/commands/ExportThemesCommand.js +2 -2
  11. package/dist-cjs/commands/GetComponentCommand.js +2 -2
  12. package/dist-cjs/commands/GetFormCommand.js +2 -2
  13. package/dist-cjs/commands/GetMetadataCommand.js +2 -2
  14. package/dist-cjs/commands/GetThemeCommand.js +2 -2
  15. package/dist-cjs/commands/ListComponentsCommand.js +2 -2
  16. package/dist-cjs/commands/ListFormsCommand.js +2 -2
  17. package/dist-cjs/commands/ListThemesCommand.js +2 -2
  18. package/dist-cjs/commands/PutMetadataFlagCommand.js +2 -2
  19. package/dist-cjs/commands/RefreshTokenCommand.js +2 -2
  20. package/dist-cjs/commands/UpdateComponentCommand.js +2 -2
  21. package/dist-cjs/commands/UpdateFormCommand.js +2 -2
  22. package/dist-cjs/commands/UpdateThemeCommand.js +2 -2
  23. package/dist-cjs/endpoint/ruleset.js +3 -3
  24. package/dist-cjs/models/models_0.js +13 -1
  25. package/dist-cjs/protocols/Aws_restJson1.js +647 -572
  26. package/dist-es/commands/CreateComponentCommand.js +3 -3
  27. package/dist-es/commands/CreateFormCommand.js +3 -3
  28. package/dist-es/commands/CreateThemeCommand.js +3 -3
  29. package/dist-es/commands/DeleteComponentCommand.js +3 -3
  30. package/dist-es/commands/DeleteFormCommand.js +3 -3
  31. package/dist-es/commands/DeleteThemeCommand.js +3 -3
  32. package/dist-es/commands/ExchangeCodeForTokenCommand.js +3 -3
  33. package/dist-es/commands/ExportComponentsCommand.js +3 -3
  34. package/dist-es/commands/ExportFormsCommand.js +3 -3
  35. package/dist-es/commands/ExportThemesCommand.js +3 -3
  36. package/dist-es/commands/GetComponentCommand.js +3 -3
  37. package/dist-es/commands/GetFormCommand.js +3 -3
  38. package/dist-es/commands/GetMetadataCommand.js +3 -3
  39. package/dist-es/commands/GetThemeCommand.js +3 -3
  40. package/dist-es/commands/ListComponentsCommand.js +3 -3
  41. package/dist-es/commands/ListFormsCommand.js +3 -3
  42. package/dist-es/commands/ListThemesCommand.js +3 -3
  43. package/dist-es/commands/PutMetadataFlagCommand.js +3 -3
  44. package/dist-es/commands/RefreshTokenCommand.js +3 -3
  45. package/dist-es/commands/UpdateComponentCommand.js +3 -3
  46. package/dist-es/commands/UpdateFormCommand.js +3 -3
  47. package/dist-es/commands/UpdateThemeCommand.js +3 -3
  48. package/dist-es/endpoint/ruleset.js +3 -3
  49. package/dist-es/models/models_0.js +12 -0
  50. package/dist-es/protocols/Aws_restJson1.js +602 -527
  51. package/dist-types/AmplifyUIBuilder.d.ts +1 -1
  52. package/dist-types/commands/CreateComponentCommand.d.ts +2 -0
  53. package/dist-types/commands/CreateFormCommand.d.ts +38 -4
  54. package/dist-types/commands/ExchangeCodeForTokenCommand.d.ts +1 -0
  55. package/dist-types/commands/PutMetadataFlagCommand.d.ts +1 -1
  56. package/dist-types/commands/RefreshTokenCommand.d.ts +1 -0
  57. package/dist-types/commands/UpdateComponentCommand.d.ts +2 -0
  58. package/dist-types/commands/UpdateFormCommand.d.ts +38 -4
  59. package/dist-types/models/models_0.d.ts +567 -404
  60. package/dist-types/protocols/Aws_restJson1.d.ts +176 -44
  61. package/dist-types/ts3.4/models/models_0.d.ts +136 -92
  62. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +44 -44
  63. package/package.json +29 -29
@@ -36,10 +36,10 @@ class CreateComponentCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1CreateComponentCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_CreateComponentCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1CreateComponentCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_CreateComponentCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.CreateComponentCommand = CreateComponentCommand;
@@ -36,10 +36,10 @@ class CreateFormCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1CreateFormCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_CreateFormCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1CreateFormCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_CreateFormCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.CreateFormCommand = CreateFormCommand;
@@ -36,10 +36,10 @@ class CreateThemeCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1CreateThemeCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_CreateThemeCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1CreateThemeCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_CreateThemeCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.CreateThemeCommand = CreateThemeCommand;
@@ -36,10 +36,10 @@ class DeleteComponentCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1DeleteComponentCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_DeleteComponentCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteComponentCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_DeleteComponentCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.DeleteComponentCommand = DeleteComponentCommand;
@@ -36,10 +36,10 @@ class DeleteFormCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1DeleteFormCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_DeleteFormCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteFormCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_DeleteFormCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.DeleteFormCommand = DeleteFormCommand;
@@ -36,10 +36,10 @@ class DeleteThemeCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1DeleteThemeCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_DeleteThemeCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteThemeCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_DeleteThemeCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.DeleteThemeCommand = DeleteThemeCommand;
@@ -37,10 +37,10 @@ class ExchangeCodeForTokenCommand extends smithy_client_1.Command {
37
37
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
38
  }
39
39
  serialize(input, context) {
40
- return (0, Aws_restJson1_1.serializeAws_restJson1ExchangeCodeForTokenCommand)(input, context);
40
+ return (0, Aws_restJson1_1.se_ExchangeCodeForTokenCommand)(input, context);
41
41
  }
42
42
  deserialize(output, context) {
43
- return (0, Aws_restJson1_1.deserializeAws_restJson1ExchangeCodeForTokenCommand)(output, context);
43
+ return (0, Aws_restJson1_1.de_ExchangeCodeForTokenCommand)(output, context);
44
44
  }
45
45
  }
46
46
  exports.ExchangeCodeForTokenCommand = ExchangeCodeForTokenCommand;
@@ -36,10 +36,10 @@ class ExportComponentsCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1ExportComponentsCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_ExportComponentsCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1ExportComponentsCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_ExportComponentsCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.ExportComponentsCommand = ExportComponentsCommand;
@@ -36,10 +36,10 @@ class ExportFormsCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1ExportFormsCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_ExportFormsCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1ExportFormsCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_ExportFormsCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.ExportFormsCommand = ExportFormsCommand;
@@ -36,10 +36,10 @@ class ExportThemesCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1ExportThemesCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_ExportThemesCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1ExportThemesCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_ExportThemesCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.ExportThemesCommand = ExportThemesCommand;
@@ -36,10 +36,10 @@ class GetComponentCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1GetComponentCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_GetComponentCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1GetComponentCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_GetComponentCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.GetComponentCommand = GetComponentCommand;
@@ -36,10 +36,10 @@ class GetFormCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1GetFormCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_GetFormCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1GetFormCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_GetFormCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.GetFormCommand = GetFormCommand;
@@ -36,10 +36,10 @@ class GetMetadataCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1GetMetadataCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_GetMetadataCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1GetMetadataCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_GetMetadataCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.GetMetadataCommand = GetMetadataCommand;
@@ -36,10 +36,10 @@ class GetThemeCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1GetThemeCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_GetThemeCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1GetThemeCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_GetThemeCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.GetThemeCommand = GetThemeCommand;
@@ -36,10 +36,10 @@ class ListComponentsCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1ListComponentsCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_ListComponentsCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1ListComponentsCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_ListComponentsCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.ListComponentsCommand = ListComponentsCommand;
@@ -36,10 +36,10 @@ class ListFormsCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1ListFormsCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_ListFormsCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1ListFormsCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_ListFormsCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.ListFormsCommand = ListFormsCommand;
@@ -36,10 +36,10 @@ class ListThemesCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1ListThemesCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_ListThemesCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1ListThemesCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_ListThemesCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.ListThemesCommand = ListThemesCommand;
@@ -36,10 +36,10 @@ class PutMetadataFlagCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1PutMetadataFlagCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_PutMetadataFlagCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1PutMetadataFlagCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_PutMetadataFlagCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.PutMetadataFlagCommand = PutMetadataFlagCommand;
@@ -37,10 +37,10 @@ class RefreshTokenCommand extends smithy_client_1.Command {
37
37
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
38
  }
39
39
  serialize(input, context) {
40
- return (0, Aws_restJson1_1.serializeAws_restJson1RefreshTokenCommand)(input, context);
40
+ return (0, Aws_restJson1_1.se_RefreshTokenCommand)(input, context);
41
41
  }
42
42
  deserialize(output, context) {
43
- return (0, Aws_restJson1_1.deserializeAws_restJson1RefreshTokenCommand)(output, context);
43
+ return (0, Aws_restJson1_1.de_RefreshTokenCommand)(output, context);
44
44
  }
45
45
  }
46
46
  exports.RefreshTokenCommand = RefreshTokenCommand;
@@ -36,10 +36,10 @@ class UpdateComponentCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1UpdateComponentCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_UpdateComponentCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateComponentCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_UpdateComponentCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.UpdateComponentCommand = UpdateComponentCommand;
@@ -36,10 +36,10 @@ class UpdateFormCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1UpdateFormCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_UpdateFormCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateFormCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_UpdateFormCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.UpdateFormCommand = UpdateFormCommand;
@@ -36,10 +36,10 @@ class UpdateThemeCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1UpdateThemeCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_UpdateThemeCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateThemeCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_UpdateThemeCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.UpdateThemeCommand = UpdateThemeCommand;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const p = "required", q = "fn", r = "argv", s = "ref";
5
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
6
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://amplifyuibuilder-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://amplifyuibuilder-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://amplifyuibuilder.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://amplifyuibuilder.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
4
+ const q = "required", r = "fn", s = "argv", t = "ref";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://amplifyuibuilder-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://amplifyuibuilder-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://amplifyuibuilder.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://amplifyuibuilder.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
7
7
  exports.ruleSet = _data;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RefreshTokenResponseFilterSensitiveLog = exports.RefreshTokenRequestFilterSensitiveLog = exports.RefreshTokenRequestBodyFilterSensitiveLog = exports.ExchangeCodeForTokenResponseFilterSensitiveLog = exports.ExchangeCodeForTokenRequestFilterSensitiveLog = exports.ExchangeCodeForTokenRequestBodyFilterSensitiveLog = exports.UnauthorizedException = exports.FormStyleConfig = exports.FormActionType = exports.FormDataSourceType = exports.FormButtonsPosition = exports.FieldPosition = exports.FixedPosition = exports.TokenProviders = exports.ResourceNotFoundException = exports.ServiceQuotaExceededException = exports.ResourceConflictException = exports.InvalidParameterException = exports.InternalServerException = void 0;
3
+ exports.RefreshTokenResponseFilterSensitiveLog = exports.RefreshTokenRequestFilterSensitiveLog = exports.RefreshTokenRequestBodyFilterSensitiveLog = exports.ExchangeCodeForTokenResponseFilterSensitiveLog = exports.ExchangeCodeForTokenRequestFilterSensitiveLog = exports.ExchangeCodeForTokenRequestBodyFilterSensitiveLog = exports.UnauthorizedException = exports.FormStyleConfig = exports.LabelDecorator = exports.FormActionType = exports.StorageAccessLevel = exports.FormDataSourceType = exports.FormButtonsPosition = exports.FieldPosition = exports.FixedPosition = exports.TokenProviders = exports.ResourceNotFoundException = exports.ServiceQuotaExceededException = exports.ResourceConflictException = exports.InvalidParameterException = exports.InternalServerException = void 0;
4
4
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
5
  const AmplifyUIBuilderServiceException_1 = require("./AmplifyUIBuilderServiceException");
6
6
  class InternalServerException extends AmplifyUIBuilderServiceException_1.AmplifyUIBuilderServiceException {
@@ -95,10 +95,20 @@ exports.FormDataSourceType = {
95
95
  CUSTOM: "Custom",
96
96
  DATASTORE: "DataStore",
97
97
  };
98
+ exports.StorageAccessLevel = {
99
+ PRIVATE: "private",
100
+ PROTECTED: "protected",
101
+ PUBLIC: "public",
102
+ };
98
103
  exports.FormActionType = {
99
104
  CREATE: "create",
100
105
  UPDATE: "update",
101
106
  };
107
+ exports.LabelDecorator = {
108
+ NONE: "none",
109
+ OPTIONAL: "optional",
110
+ REQUIRED: "required",
111
+ };
102
112
  var FormStyleConfig;
103
113
  (function (FormStyleConfig) {
104
114
  FormStyleConfig.visit = (value, visitor) => {
@@ -125,6 +135,7 @@ exports.UnauthorizedException = UnauthorizedException;
125
135
  const ExchangeCodeForTokenRequestBodyFilterSensitiveLog = (obj) => ({
126
136
  ...obj,
127
137
  ...(obj.code && { code: smithy_client_1.SENSITIVE_STRING }),
138
+ ...(obj.clientId && { clientId: smithy_client_1.SENSITIVE_STRING }),
128
139
  });
129
140
  exports.ExchangeCodeForTokenRequestBodyFilterSensitiveLog = ExchangeCodeForTokenRequestBodyFilterSensitiveLog;
130
141
  const ExchangeCodeForTokenRequestFilterSensitiveLog = (obj) => ({
@@ -141,6 +152,7 @@ exports.ExchangeCodeForTokenResponseFilterSensitiveLog = ExchangeCodeForTokenRes
141
152
  const RefreshTokenRequestBodyFilterSensitiveLog = (obj) => ({
142
153
  ...obj,
143
154
  ...(obj.token && { token: smithy_client_1.SENSITIVE_STRING }),
155
+ ...(obj.clientId && { clientId: smithy_client_1.SENSITIVE_STRING }),
144
156
  });
145
157
  exports.RefreshTokenRequestBodyFilterSensitiveLog = RefreshTokenRequestBodyFilterSensitiveLog;
146
158
  const RefreshTokenRequestFilterSensitiveLog = (obj) => ({