@aws-sdk/client-amplifyuibuilder 3.50.0 → 3.53.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 (44) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/AmplifyUIBuilderServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +68 -1
  5. package/dist-cjs/protocols/Aws_restJson1.js +146 -402
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/AmplifyUIBuilderServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +62 -1
  9. package/dist-es/protocols/Aws_restJson1.js +285 -464
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/AmplifyUIBuilderServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +37 -21
  13. package/dist-types/ts3.4/AmplifyUIBuilder.d.ts +75 -0
  14. package/dist-types/ts3.4/AmplifyUIBuilderClient.d.ts +87 -0
  15. package/dist-types/ts3.4/commands/CreateComponentCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/CreateThemeCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/DeleteComponentCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/DeleteThemeCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/ExchangeCodeForTokenCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/ExportComponentsCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/ExportThemesCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/GetComponentCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/GetThemeCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/ListThemesCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/RefreshTokenCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/UpdateComponentCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/UpdateThemeCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/index.d.ts +14 -0
  30. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  31. package/dist-types/ts3.4/index.d.ts +6 -0
  32. package/dist-types/ts3.4/models/AmplifyUIBuilderServiceException.d.ts +6 -0
  33. package/dist-types/ts3.4/models/index.d.ts +1 -0
  34. package/dist-types/ts3.4/models/models_0.d.ts +769 -0
  35. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  36. package/dist-types/ts3.4/pagination/ListComponentsPaginator.d.ts +4 -0
  37. package/dist-types/ts3.4/pagination/ListThemesPaginator.d.ts +4 -0
  38. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  39. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +44 -0
  40. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  41. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  42. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  43. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  44. package/package.json +33 -33
package/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-amplifyuibuilder
20
+
21
+
22
+
23
+
24
+
25
+ # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-amplifyuibuilder
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-amplifyuibuilder
package/dist-cjs/index.js CHANGED
@@ -1,8 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AmplifyUIBuilderServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./AmplifyUIBuilder"), exports);
5
6
  tslib_1.__exportStar(require("./AmplifyUIBuilderClient"), exports);
6
7
  tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
8
9
  tslib_1.__exportStar(require("./pagination"), exports);
10
+ var AmplifyUIBuilderServiceException_1 = require("./models/AmplifyUIBuilderServiceException");
11
+ Object.defineProperty(exports, "AmplifyUIBuilderServiceException", { enumerable: true, get: function () { return AmplifyUIBuilderServiceException_1.AmplifyUIBuilderServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AmplifyUIBuilderServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class AmplifyUIBuilderServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, AmplifyUIBuilderServiceException.prototype);
9
+ }
10
+ }
11
+ exports.AmplifyUIBuilderServiceException = AmplifyUIBuilderServiceException;
@@ -1,7 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ExportComponentsResponse = exports.UpdateComponentResponse = exports.UpdateComponentRequest = exports.GetComponentResponse = exports.CreateComponentResponse = exports.CreateComponentRequest = exports.UpdateComponentData = exports.CreateComponentData = exports.Component = exports.ComponentChild = exports.ExportThemesResponse = exports.UpdateThemeResponse = exports.UpdateThemeRequest = exports.GetThemeResponse = exports.CreateThemeResponse = exports.CreateThemeRequest = exports.ComponentConditionProperty = exports.UpdateThemeData = exports.Theme = exports.CreateThemeData = exports.ComponentBindingPropertiesValue = exports.ComponentProperty = exports.ComponentDataConfiguration = exports.ComponentBindingPropertiesValueProperties = exports.Predicate = exports.ThemeValues = exports.ThemeValue = exports.ListThemesResponse = exports.ThemeSummary = exports.ListThemesRequest = exports.GetThemeRequest = exports.ExportThemesRequest = exports.DeleteThemeRequest = exports.RefreshTokenResponse = exports.RefreshTokenRequest = exports.RefreshTokenRequestBody = exports.ExchangeCodeForTokenResponse = exports.ExchangeCodeForTokenRequest = exports.ExchangeCodeForTokenRequestBody = exports.TokenProviders = exports.ListComponentsResponse = exports.ComponentSummary = exports.ListComponentsRequest = exports.GetComponentRequest = exports.ExportComponentsRequest = exports.DeleteComponentRequest = exports.ComponentVariant = exports.SortProperty = exports.FormBindingElement = exports.ComponentPropertyBindingProperties = void 0;
3
+ exports.CreateComponentRequest = exports.UpdateComponentData = exports.CreateComponentData = exports.Component = exports.ComponentChild = exports.ExportThemesResponse = exports.UpdateThemeResponse = exports.UpdateThemeRequest = exports.GetThemeResponse = exports.CreateThemeResponse = exports.CreateThemeRequest = exports.ComponentConditionProperty = exports.UpdateThemeData = exports.Theme = exports.CreateThemeData = exports.ComponentBindingPropertiesValue = exports.ComponentProperty = exports.ComponentDataConfiguration = exports.ComponentBindingPropertiesValueProperties = exports.Predicate = exports.ThemeValues = exports.ThemeValue = exports.ListThemesResponse = exports.ThemeSummary = exports.ListThemesRequest = exports.GetThemeRequest = exports.ExportThemesRequest = exports.DeleteThemeRequest = exports.RefreshTokenResponse = exports.RefreshTokenRequest = exports.RefreshTokenRequestBody = exports.ExchangeCodeForTokenResponse = exports.ExchangeCodeForTokenRequest = exports.ExchangeCodeForTokenRequestBody = exports.TokenProviders = exports.ListComponentsResponse = exports.ComponentSummary = exports.ListComponentsRequest = exports.GetComponentRequest = exports.ExportComponentsRequest = exports.ResourceNotFoundException = exports.DeleteComponentRequest = exports.ServiceQuotaExceededException = exports.ResourceConflictException = exports.InvalidParameterException = exports.InternalServerException = exports.ComponentVariant = exports.SortProperty = exports.FormBindingElement = exports.ComponentPropertyBindingProperties = void 0;
4
+ exports.ExportComponentsResponse = exports.UpdateComponentResponse = exports.UpdateComponentRequest = exports.GetComponentResponse = exports.CreateComponentResponse = void 0;
4
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const AmplifyUIBuilderServiceException_1 = require("./AmplifyUIBuilderServiceException");
5
7
  var ComponentPropertyBindingProperties;
6
8
  (function (ComponentPropertyBindingProperties) {
7
9
  ComponentPropertyBindingProperties.filterSensitiveLog = (obj) => ({
@@ -26,12 +28,77 @@ var ComponentVariant;
26
28
  ...obj,
27
29
  });
28
30
  })(ComponentVariant = exports.ComponentVariant || (exports.ComponentVariant = {}));
31
+ class InternalServerException extends AmplifyUIBuilderServiceException_1.AmplifyUIBuilderServiceException {
32
+ constructor(opts) {
33
+ super({
34
+ name: "InternalServerException",
35
+ $fault: "server",
36
+ ...opts,
37
+ });
38
+ this.name = "InternalServerException";
39
+ this.$fault = "server";
40
+ Object.setPrototypeOf(this, InternalServerException.prototype);
41
+ }
42
+ }
43
+ exports.InternalServerException = InternalServerException;
44
+ class InvalidParameterException extends AmplifyUIBuilderServiceException_1.AmplifyUIBuilderServiceException {
45
+ constructor(opts) {
46
+ super({
47
+ name: "InvalidParameterException",
48
+ $fault: "client",
49
+ ...opts,
50
+ });
51
+ this.name = "InvalidParameterException";
52
+ this.$fault = "client";
53
+ Object.setPrototypeOf(this, InvalidParameterException.prototype);
54
+ }
55
+ }
56
+ exports.InvalidParameterException = InvalidParameterException;
57
+ class ResourceConflictException extends AmplifyUIBuilderServiceException_1.AmplifyUIBuilderServiceException {
58
+ constructor(opts) {
59
+ super({
60
+ name: "ResourceConflictException",
61
+ $fault: "client",
62
+ ...opts,
63
+ });
64
+ this.name = "ResourceConflictException";
65
+ this.$fault = "client";
66
+ Object.setPrototypeOf(this, ResourceConflictException.prototype);
67
+ }
68
+ }
69
+ exports.ResourceConflictException = ResourceConflictException;
70
+ class ServiceQuotaExceededException extends AmplifyUIBuilderServiceException_1.AmplifyUIBuilderServiceException {
71
+ constructor(opts) {
72
+ super({
73
+ name: "ServiceQuotaExceededException",
74
+ $fault: "client",
75
+ ...opts,
76
+ });
77
+ this.name = "ServiceQuotaExceededException";
78
+ this.$fault = "client";
79
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
80
+ }
81
+ }
82
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
29
83
  var DeleteComponentRequest;
30
84
  (function (DeleteComponentRequest) {
31
85
  DeleteComponentRequest.filterSensitiveLog = (obj) => ({
32
86
  ...obj,
33
87
  });
34
88
  })(DeleteComponentRequest = exports.DeleteComponentRequest || (exports.DeleteComponentRequest = {}));
89
+ class ResourceNotFoundException extends AmplifyUIBuilderServiceException_1.AmplifyUIBuilderServiceException {
90
+ constructor(opts) {
91
+ super({
92
+ name: "ResourceNotFoundException",
93
+ $fault: "client",
94
+ ...opts,
95
+ });
96
+ this.name = "ResourceNotFoundException";
97
+ this.$fault = "client";
98
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
99
+ }
100
+ }
101
+ exports.ResourceNotFoundException = ResourceNotFoundException;
35
102
  var ExportComponentsRequest;
36
103
  (function (ExportComponentsRequest) {
37
104
  ExportComponentsRequest.filterSensitiveLog = (obj) => ({