@aws-sdk/client-amplifyuibuilder 3.45.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 (124) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +201 -0
  3. package/README.md +212 -0
  4. package/dist-cjs/AmplifyUIBuilder.js +217 -0
  5. package/dist-cjs/AmplifyUIBuilderClient.js +35 -0
  6. package/dist-cjs/commands/CreateComponentCommand.js +36 -0
  7. package/dist-cjs/commands/CreateThemeCommand.js +36 -0
  8. package/dist-cjs/commands/DeleteComponentCommand.js +36 -0
  9. package/dist-cjs/commands/DeleteThemeCommand.js +36 -0
  10. package/dist-cjs/commands/ExchangeCodeForTokenCommand.js +36 -0
  11. package/dist-cjs/commands/ExportComponentsCommand.js +36 -0
  12. package/dist-cjs/commands/ExportThemesCommand.js +36 -0
  13. package/dist-cjs/commands/GetComponentCommand.js +36 -0
  14. package/dist-cjs/commands/GetThemeCommand.js +36 -0
  15. package/dist-cjs/commands/ListComponentsCommand.js +36 -0
  16. package/dist-cjs/commands/ListThemesCommand.js +36 -0
  17. package/dist-cjs/commands/RefreshTokenCommand.js +36 -0
  18. package/dist-cjs/commands/UpdateComponentCommand.js +36 -0
  19. package/dist-cjs/commands/UpdateThemeCommand.js +36 -0
  20. package/dist-cjs/commands/index.js +17 -0
  21. package/dist-cjs/endpoints.js +131 -0
  22. package/dist-cjs/index.js +8 -0
  23. package/dist-cjs/models/index.js +4 -0
  24. package/dist-cjs/models/models_0.js +340 -0
  25. package/dist-cjs/pagination/Interfaces.js +2 -0
  26. package/dist-cjs/pagination/ListComponentsPaginator.js +35 -0
  27. package/dist-cjs/pagination/ListThemesPaginator.js +35 -0
  28. package/dist-cjs/pagination/index.js +6 -0
  29. package/dist-cjs/protocols/Aws_restJson1.js +2404 -0
  30. package/dist-cjs/runtimeConfig.browser.js +40 -0
  31. package/dist-cjs/runtimeConfig.js +44 -0
  32. package/dist-cjs/runtimeConfig.native.js +16 -0
  33. package/dist-cjs/runtimeConfig.shared.js +17 -0
  34. package/dist-es/AmplifyUIBuilder.js +220 -0
  35. package/dist-es/AmplifyUIBuilderClient.js +37 -0
  36. package/dist-es/commands/CreateComponentCommand.js +39 -0
  37. package/dist-es/commands/CreateThemeCommand.js +39 -0
  38. package/dist-es/commands/DeleteComponentCommand.js +39 -0
  39. package/dist-es/commands/DeleteThemeCommand.js +39 -0
  40. package/dist-es/commands/ExchangeCodeForTokenCommand.js +39 -0
  41. package/dist-es/commands/ExportComponentsCommand.js +39 -0
  42. package/dist-es/commands/ExportThemesCommand.js +39 -0
  43. package/dist-es/commands/GetComponentCommand.js +39 -0
  44. package/dist-es/commands/GetThemeCommand.js +39 -0
  45. package/dist-es/commands/ListComponentsCommand.js +39 -0
  46. package/dist-es/commands/ListThemesCommand.js +39 -0
  47. package/dist-es/commands/RefreshTokenCommand.js +39 -0
  48. package/dist-es/commands/UpdateComponentCommand.js +39 -0
  49. package/dist-es/commands/UpdateThemeCommand.js +39 -0
  50. package/dist-es/commands/index.js +14 -0
  51. package/dist-es/endpoints.js +127 -0
  52. package/dist-es/index.js +5 -0
  53. package/dist-es/models/index.js +1 -0
  54. package/dist-es/models/models_0.js +222 -0
  55. package/dist-es/pagination/Interfaces.js +1 -0
  56. package/dist-es/pagination/ListComponentsPaginator.js +74 -0
  57. package/dist-es/pagination/ListThemesPaginator.js +74 -0
  58. package/dist-es/pagination/index.js +3 -0
  59. package/dist-es/protocols/Aws_restJson1.js +2546 -0
  60. package/dist-es/runtimeConfig.browser.js +17 -0
  61. package/dist-es/runtimeConfig.js +21 -0
  62. package/dist-es/runtimeConfig.native.js +8 -0
  63. package/dist-es/runtimeConfig.shared.js +13 -0
  64. package/dist-types/AmplifyUIBuilder.d.ts +116 -0
  65. package/dist-types/AmplifyUIBuilderClient.d.ts +163 -0
  66. package/dist-types/commands/CreateComponentCommand.d.ts +35 -0
  67. package/dist-types/commands/CreateThemeCommand.d.ts +35 -0
  68. package/dist-types/commands/DeleteComponentCommand.d.ts +35 -0
  69. package/dist-types/commands/DeleteThemeCommand.d.ts +35 -0
  70. package/dist-types/commands/ExchangeCodeForTokenCommand.d.ts +35 -0
  71. package/dist-types/commands/ExportComponentsCommand.d.ts +36 -0
  72. package/dist-types/commands/ExportThemesCommand.d.ts +36 -0
  73. package/dist-types/commands/GetComponentCommand.d.ts +35 -0
  74. package/dist-types/commands/GetThemeCommand.d.ts +35 -0
  75. package/dist-types/commands/ListComponentsCommand.d.ts +35 -0
  76. package/dist-types/commands/ListThemesCommand.d.ts +35 -0
  77. package/dist-types/commands/RefreshTokenCommand.d.ts +35 -0
  78. package/dist-types/commands/UpdateComponentCommand.d.ts +35 -0
  79. package/dist-types/commands/UpdateThemeCommand.d.ts +35 -0
  80. package/dist-types/commands/index.d.ts +14 -0
  81. package/dist-types/endpoints.d.ts +2 -0
  82. package/dist-types/index.d.ts +5 -0
  83. package/dist-types/models/index.d.ts +1 -0
  84. package/dist-types/models/models_0.d.ts +1342 -0
  85. package/dist-types/pagination/Interfaces.d.ts +6 -0
  86. package/dist-types/pagination/ListComponentsPaginator.d.ts +4 -0
  87. package/dist-types/pagination/ListThemesPaginator.d.ts +4 -0
  88. package/dist-types/pagination/index.d.ts +3 -0
  89. package/dist-types/protocols/Aws_restJson1.d.ts +44 -0
  90. package/dist-types/runtimeConfig.browser.d.ts +39 -0
  91. package/dist-types/runtimeConfig.d.ts +39 -0
  92. package/dist-types/runtimeConfig.native.d.ts +38 -0
  93. package/dist-types/runtimeConfig.shared.d.ts +13 -0
  94. package/dist-types/ts3.4/AmplifyUIBuilder.d.ts +75 -0
  95. package/dist-types/ts3.4/AmplifyUIBuilderClient.d.ts +85 -0
  96. package/dist-types/ts3.4/commands/CreateComponentCommand.d.ts +17 -0
  97. package/dist-types/ts3.4/commands/CreateThemeCommand.d.ts +17 -0
  98. package/dist-types/ts3.4/commands/DeleteComponentCommand.d.ts +17 -0
  99. package/dist-types/ts3.4/commands/DeleteThemeCommand.d.ts +17 -0
  100. package/dist-types/ts3.4/commands/ExchangeCodeForTokenCommand.d.ts +17 -0
  101. package/dist-types/ts3.4/commands/ExportComponentsCommand.d.ts +17 -0
  102. package/dist-types/ts3.4/commands/ExportThemesCommand.d.ts +17 -0
  103. package/dist-types/ts3.4/commands/GetComponentCommand.d.ts +17 -0
  104. package/dist-types/ts3.4/commands/GetThemeCommand.d.ts +17 -0
  105. package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +17 -0
  106. package/dist-types/ts3.4/commands/ListThemesCommand.d.ts +17 -0
  107. package/dist-types/ts3.4/commands/RefreshTokenCommand.d.ts +17 -0
  108. package/dist-types/ts3.4/commands/UpdateComponentCommand.d.ts +17 -0
  109. package/dist-types/ts3.4/commands/UpdateThemeCommand.d.ts +17 -0
  110. package/dist-types/ts3.4/commands/index.d.ts +14 -0
  111. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  112. package/dist-types/ts3.4/index.d.ts +5 -0
  113. package/dist-types/ts3.4/models/index.d.ts +1 -0
  114. package/dist-types/ts3.4/models/models_0.d.ts +783 -0
  115. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  116. package/dist-types/ts3.4/pagination/ListComponentsPaginator.d.ts +4 -0
  117. package/dist-types/ts3.4/pagination/ListThemesPaginator.d.ts +4 -0
  118. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  119. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +44 -0
  120. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +37 -0
  121. package/dist-types/ts3.4/runtimeConfig.d.ts +37 -0
  122. package/dist-types/ts3.4/runtimeConfig.native.d.ts +36 -0
  123. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  124. package/package.json +96 -0
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ExportThemesRequest, ExportThemesResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1ExportThemesCommand, serializeAws_restJson1ExportThemesCommand, } from "../protocols/Aws_restJson1";
6
+ var ExportThemesCommand = (function (_super) {
7
+ __extends(ExportThemesCommand, _super);
8
+ function ExportThemesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ExportThemesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AmplifyUIBuilderClient";
18
+ var commandName = "ExportThemesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ExportThemesRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ExportThemesResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ExportThemesCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1ExportThemesCommand(input, context);
33
+ };
34
+ ExportThemesCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1ExportThemesCommand(output, context);
36
+ };
37
+ return ExportThemesCommand;
38
+ }($Command));
39
+ export { ExportThemesCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetComponentRequest, GetComponentResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetComponentCommand, serializeAws_restJson1GetComponentCommand, } from "../protocols/Aws_restJson1";
6
+ var GetComponentCommand = (function (_super) {
7
+ __extends(GetComponentCommand, _super);
8
+ function GetComponentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ GetComponentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AmplifyUIBuilderClient";
18
+ var commandName = "GetComponentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: GetComponentRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetComponentResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetComponentCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1GetComponentCommand(input, context);
33
+ };
34
+ GetComponentCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1GetComponentCommand(output, context);
36
+ };
37
+ return GetComponentCommand;
38
+ }($Command));
39
+ export { GetComponentCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetThemeRequest, GetThemeResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetThemeCommand, serializeAws_restJson1GetThemeCommand, } from "../protocols/Aws_restJson1";
6
+ var GetThemeCommand = (function (_super) {
7
+ __extends(GetThemeCommand, _super);
8
+ function GetThemeCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ GetThemeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AmplifyUIBuilderClient";
18
+ var commandName = "GetThemeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: GetThemeRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetThemeResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetThemeCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1GetThemeCommand(input, context);
33
+ };
34
+ GetThemeCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1GetThemeCommand(output, context);
36
+ };
37
+ return GetThemeCommand;
38
+ }($Command));
39
+ export { GetThemeCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListComponentsRequest, ListComponentsResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListComponentsCommand, serializeAws_restJson1ListComponentsCommand, } from "../protocols/Aws_restJson1";
6
+ var ListComponentsCommand = (function (_super) {
7
+ __extends(ListComponentsCommand, _super);
8
+ function ListComponentsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ListComponentsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AmplifyUIBuilderClient";
18
+ var commandName = "ListComponentsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ListComponentsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ListComponentsResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListComponentsCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1ListComponentsCommand(input, context);
33
+ };
34
+ ListComponentsCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1ListComponentsCommand(output, context);
36
+ };
37
+ return ListComponentsCommand;
38
+ }($Command));
39
+ export { ListComponentsCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListThemesRequest, ListThemesResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListThemesCommand, serializeAws_restJson1ListThemesCommand, } from "../protocols/Aws_restJson1";
6
+ var ListThemesCommand = (function (_super) {
7
+ __extends(ListThemesCommand, _super);
8
+ function ListThemesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ListThemesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AmplifyUIBuilderClient";
18
+ var commandName = "ListThemesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ListThemesRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ListThemesResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListThemesCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1ListThemesCommand(input, context);
33
+ };
34
+ ListThemesCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1ListThemesCommand(output, context);
36
+ };
37
+ return ListThemesCommand;
38
+ }($Command));
39
+ export { ListThemesCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { RefreshTokenRequest, RefreshTokenResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1RefreshTokenCommand, serializeAws_restJson1RefreshTokenCommand, } from "../protocols/Aws_restJson1";
6
+ var RefreshTokenCommand = (function (_super) {
7
+ __extends(RefreshTokenCommand, _super);
8
+ function RefreshTokenCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ RefreshTokenCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AmplifyUIBuilderClient";
18
+ var commandName = "RefreshTokenCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: RefreshTokenRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: RefreshTokenResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ RefreshTokenCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1RefreshTokenCommand(input, context);
33
+ };
34
+ RefreshTokenCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1RefreshTokenCommand(output, context);
36
+ };
37
+ return RefreshTokenCommand;
38
+ }($Command));
39
+ export { RefreshTokenCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { UpdateComponentRequest, UpdateComponentResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1UpdateComponentCommand, serializeAws_restJson1UpdateComponentCommand, } from "../protocols/Aws_restJson1";
6
+ var UpdateComponentCommand = (function (_super) {
7
+ __extends(UpdateComponentCommand, _super);
8
+ function UpdateComponentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ UpdateComponentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AmplifyUIBuilderClient";
18
+ var commandName = "UpdateComponentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: UpdateComponentRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: UpdateComponentResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateComponentCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1UpdateComponentCommand(input, context);
33
+ };
34
+ UpdateComponentCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1UpdateComponentCommand(output, context);
36
+ };
37
+ return UpdateComponentCommand;
38
+ }($Command));
39
+ export { UpdateComponentCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { UpdateThemeRequest, UpdateThemeResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1UpdateThemeCommand, serializeAws_restJson1UpdateThemeCommand, } from "../protocols/Aws_restJson1";
6
+ var UpdateThemeCommand = (function (_super) {
7
+ __extends(UpdateThemeCommand, _super);
8
+ function UpdateThemeCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ UpdateThemeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AmplifyUIBuilderClient";
18
+ var commandName = "UpdateThemeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: UpdateThemeRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: UpdateThemeResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateThemeCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1UpdateThemeCommand(input, context);
33
+ };
34
+ UpdateThemeCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1UpdateThemeCommand(output, context);
36
+ };
37
+ return UpdateThemeCommand;
38
+ }($Command));
39
+ export { UpdateThemeCommand };
@@ -0,0 +1,14 @@
1
+ export * from "./CreateComponentCommand";
2
+ export * from "./CreateThemeCommand";
3
+ export * from "./DeleteComponentCommand";
4
+ export * from "./DeleteThemeCommand";
5
+ export * from "./ExchangeCodeForTokenCommand";
6
+ export * from "./ExportComponentsCommand";
7
+ export * from "./ExportThemesCommand";
8
+ export * from "./GetComponentCommand";
9
+ export * from "./GetThemeCommand";
10
+ export * from "./ListComponentsCommand";
11
+ export * from "./ListThemesCommand";
12
+ export * from "./RefreshTokenCommand";
13
+ export * from "./UpdateComponentCommand";
14
+ export * from "./UpdateThemeCommand";
@@ -0,0 +1,127 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
+ import { getRegionInfo } from "@aws-sdk/config-resolver";
3
+ var regionHash = {};
4
+ var partitionHash = {
5
+ aws: {
6
+ regions: [
7
+ "af-south-1",
8
+ "ap-east-1",
9
+ "ap-northeast-1",
10
+ "ap-northeast-2",
11
+ "ap-northeast-3",
12
+ "ap-south-1",
13
+ "ap-southeast-1",
14
+ "ap-southeast-2",
15
+ "ap-southeast-3",
16
+ "ca-central-1",
17
+ "eu-central-1",
18
+ "eu-north-1",
19
+ "eu-south-1",
20
+ "eu-west-1",
21
+ "eu-west-2",
22
+ "eu-west-3",
23
+ "me-south-1",
24
+ "sa-east-1",
25
+ "us-east-1",
26
+ "us-east-2",
27
+ "us-west-1",
28
+ "us-west-2",
29
+ ],
30
+ regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
31
+ variants: [
32
+ {
33
+ hostname: "amplifyuibuilder.{region}.amazonaws.com",
34
+ tags: [],
35
+ },
36
+ {
37
+ hostname: "amplifyuibuilder-fips.{region}.amazonaws.com",
38
+ tags: ["fips"],
39
+ },
40
+ {
41
+ hostname: "amplifyuibuilder-fips.{region}.api.aws",
42
+ tags: ["dualstack", "fips"],
43
+ },
44
+ {
45
+ hostname: "amplifyuibuilder.{region}.api.aws",
46
+ tags: ["dualstack"],
47
+ },
48
+ ],
49
+ },
50
+ "aws-cn": {
51
+ regions: ["cn-north-1", "cn-northwest-1"],
52
+ regionRegex: "^cn\\-\\w+\\-\\d+$",
53
+ variants: [
54
+ {
55
+ hostname: "amplifyuibuilder.{region}.amazonaws.com.cn",
56
+ tags: [],
57
+ },
58
+ {
59
+ hostname: "amplifyuibuilder-fips.{region}.amazonaws.com.cn",
60
+ tags: ["fips"],
61
+ },
62
+ {
63
+ hostname: "amplifyuibuilder-fips.{region}.api.amazonwebservices.com.cn",
64
+ tags: ["dualstack", "fips"],
65
+ },
66
+ {
67
+ hostname: "amplifyuibuilder.{region}.api.amazonwebservices.com.cn",
68
+ tags: ["dualstack"],
69
+ },
70
+ ],
71
+ },
72
+ "aws-iso": {
73
+ regions: ["us-iso-east-1", "us-iso-west-1"],
74
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
75
+ variants: [
76
+ {
77
+ hostname: "amplifyuibuilder.{region}.c2s.ic.gov",
78
+ tags: [],
79
+ },
80
+ {
81
+ hostname: "amplifyuibuilder-fips.{region}.c2s.ic.gov",
82
+ tags: ["fips"],
83
+ },
84
+ ],
85
+ },
86
+ "aws-iso-b": {
87
+ regions: ["us-isob-east-1"],
88
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
89
+ variants: [
90
+ {
91
+ hostname: "amplifyuibuilder.{region}.sc2s.sgov.gov",
92
+ tags: [],
93
+ },
94
+ {
95
+ hostname: "amplifyuibuilder-fips.{region}.sc2s.sgov.gov",
96
+ tags: ["fips"],
97
+ },
98
+ ],
99
+ },
100
+ "aws-us-gov": {
101
+ regions: ["us-gov-east-1", "us-gov-west-1"],
102
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
103
+ variants: [
104
+ {
105
+ hostname: "amplifyuibuilder.{region}.amazonaws.com",
106
+ tags: [],
107
+ },
108
+ {
109
+ hostname: "amplifyuibuilder-fips.{region}.amazonaws.com",
110
+ tags: ["fips"],
111
+ },
112
+ {
113
+ hostname: "amplifyuibuilder-fips.{region}.api.aws",
114
+ tags: ["dualstack", "fips"],
115
+ },
116
+ {
117
+ hostname: "amplifyuibuilder.{region}.api.aws",
118
+ tags: ["dualstack"],
119
+ },
120
+ ],
121
+ },
122
+ };
123
+ export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
124
+ return __generator(this, function (_a) {
125
+ return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "amplifyuibuilder", regionHash: regionHash, partitionHash: partitionHash }))];
126
+ });
127
+ }); };
@@ -0,0 +1,5 @@
1
+ export * from "./AmplifyUIBuilder";
2
+ export * from "./AmplifyUIBuilderClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
@@ -0,0 +1 @@
1
+ export * from "./models_0";