@aws-sdk/client-amplifyuibuilder 3.477.0 → 3.481.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 (133) hide show
  1. package/dist-cjs/commands/CreateComponentCommand.js +18 -41
  2. package/dist-cjs/commands/CreateFormCommand.js +18 -41
  3. package/dist-cjs/commands/CreateThemeCommand.js +18 -41
  4. package/dist-cjs/commands/DeleteComponentCommand.js +18 -41
  5. package/dist-cjs/commands/DeleteFormCommand.js +18 -41
  6. package/dist-cjs/commands/DeleteThemeCommand.js +18 -41
  7. package/dist-cjs/commands/ExchangeCodeForTokenCommand.js +18 -41
  8. package/dist-cjs/commands/ExportComponentsCommand.js +18 -41
  9. package/dist-cjs/commands/ExportFormsCommand.js +18 -41
  10. package/dist-cjs/commands/ExportThemesCommand.js +18 -41
  11. package/dist-cjs/commands/GetCodegenJobCommand.js +18 -41
  12. package/dist-cjs/commands/GetComponentCommand.js +18 -41
  13. package/dist-cjs/commands/GetFormCommand.js +18 -41
  14. package/dist-cjs/commands/GetMetadataCommand.js +18 -41
  15. package/dist-cjs/commands/GetThemeCommand.js +18 -41
  16. package/dist-cjs/commands/ListCodegenJobsCommand.js +18 -41
  17. package/dist-cjs/commands/ListComponentsCommand.js +18 -41
  18. package/dist-cjs/commands/ListFormsCommand.js +18 -41
  19. package/dist-cjs/commands/ListThemesCommand.js +18 -41
  20. package/dist-cjs/commands/PutMetadataFlagCommand.js +18 -41
  21. package/dist-cjs/commands/RefreshTokenCommand.js +18 -41
  22. package/dist-cjs/commands/StartCodegenJobCommand.js +18 -41
  23. package/dist-cjs/commands/UpdateComponentCommand.js +18 -41
  24. package/dist-cjs/commands/UpdateFormCommand.js +18 -41
  25. package/dist-cjs/commands/UpdateThemeCommand.js +18 -41
  26. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  27. package/dist-cjs/pagination/ExportComponentsPaginator.js +2 -23
  28. package/dist-cjs/pagination/ExportFormsPaginator.js +2 -23
  29. package/dist-cjs/pagination/ExportThemesPaginator.js +2 -23
  30. package/dist-cjs/pagination/ListCodegenJobsPaginator.js +2 -24
  31. package/dist-cjs/pagination/ListComponentsPaginator.js +2 -24
  32. package/dist-cjs/pagination/ListFormsPaginator.js +2 -24
  33. package/dist-cjs/pagination/ListThemesPaginator.js +2 -24
  34. package/dist-es/commands/CreateComponentCommand.js +18 -41
  35. package/dist-es/commands/CreateFormCommand.js +18 -41
  36. package/dist-es/commands/CreateThemeCommand.js +18 -41
  37. package/dist-es/commands/DeleteComponentCommand.js +18 -41
  38. package/dist-es/commands/DeleteFormCommand.js +18 -41
  39. package/dist-es/commands/DeleteThemeCommand.js +18 -41
  40. package/dist-es/commands/ExchangeCodeForTokenCommand.js +18 -41
  41. package/dist-es/commands/ExportComponentsCommand.js +18 -41
  42. package/dist-es/commands/ExportFormsCommand.js +18 -41
  43. package/dist-es/commands/ExportThemesCommand.js +18 -41
  44. package/dist-es/commands/GetCodegenJobCommand.js +18 -41
  45. package/dist-es/commands/GetComponentCommand.js +18 -41
  46. package/dist-es/commands/GetFormCommand.js +18 -41
  47. package/dist-es/commands/GetMetadataCommand.js +18 -41
  48. package/dist-es/commands/GetThemeCommand.js +18 -41
  49. package/dist-es/commands/ListCodegenJobsCommand.js +18 -41
  50. package/dist-es/commands/ListComponentsCommand.js +18 -41
  51. package/dist-es/commands/ListFormsCommand.js +18 -41
  52. package/dist-es/commands/ListThemesCommand.js +18 -41
  53. package/dist-es/commands/PutMetadataFlagCommand.js +18 -41
  54. package/dist-es/commands/RefreshTokenCommand.js +18 -41
  55. package/dist-es/commands/StartCodegenJobCommand.js +18 -41
  56. package/dist-es/commands/UpdateComponentCommand.js +18 -41
  57. package/dist-es/commands/UpdateFormCommand.js +18 -41
  58. package/dist-es/commands/UpdateThemeCommand.js +18 -41
  59. package/dist-es/endpoint/EndpointParameters.js +6 -0
  60. package/dist-es/pagination/ExportComponentsPaginator.js +2 -22
  61. package/dist-es/pagination/ExportFormsPaginator.js +2 -22
  62. package/dist-es/pagination/ExportThemesPaginator.js +2 -22
  63. package/dist-es/pagination/ListCodegenJobsPaginator.js +2 -23
  64. package/dist-es/pagination/ListComponentsPaginator.js +2 -23
  65. package/dist-es/pagination/ListFormsPaginator.js +2 -23
  66. package/dist-es/pagination/ListThemesPaginator.js +2 -23
  67. package/dist-types/commands/CreateComponentCommand.d.ts +6 -21
  68. package/dist-types/commands/CreateFormCommand.d.ts +6 -21
  69. package/dist-types/commands/CreateThemeCommand.d.ts +6 -21
  70. package/dist-types/commands/DeleteComponentCommand.d.ts +6 -21
  71. package/dist-types/commands/DeleteFormCommand.d.ts +6 -21
  72. package/dist-types/commands/DeleteThemeCommand.d.ts +6 -21
  73. package/dist-types/commands/ExchangeCodeForTokenCommand.d.ts +6 -21
  74. package/dist-types/commands/ExportComponentsCommand.d.ts +6 -21
  75. package/dist-types/commands/ExportFormsCommand.d.ts +6 -21
  76. package/dist-types/commands/ExportThemesCommand.d.ts +6 -21
  77. package/dist-types/commands/GetCodegenJobCommand.d.ts +6 -21
  78. package/dist-types/commands/GetComponentCommand.d.ts +6 -21
  79. package/dist-types/commands/GetFormCommand.d.ts +6 -21
  80. package/dist-types/commands/GetMetadataCommand.d.ts +6 -21
  81. package/dist-types/commands/GetThemeCommand.d.ts +6 -21
  82. package/dist-types/commands/ListCodegenJobsCommand.d.ts +6 -21
  83. package/dist-types/commands/ListComponentsCommand.d.ts +6 -21
  84. package/dist-types/commands/ListFormsCommand.d.ts +6 -21
  85. package/dist-types/commands/ListThemesCommand.d.ts +6 -21
  86. package/dist-types/commands/PutMetadataFlagCommand.d.ts +6 -21
  87. package/dist-types/commands/RefreshTokenCommand.d.ts +6 -21
  88. package/dist-types/commands/StartCodegenJobCommand.d.ts +6 -21
  89. package/dist-types/commands/UpdateComponentCommand.d.ts +6 -21
  90. package/dist-types/commands/UpdateFormCommand.d.ts +6 -21
  91. package/dist-types/commands/UpdateThemeCommand.d.ts +6 -21
  92. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  93. package/dist-types/pagination/ExportComponentsPaginator.d.ts +1 -1
  94. package/dist-types/pagination/ExportFormsPaginator.d.ts +1 -1
  95. package/dist-types/pagination/ExportThemesPaginator.d.ts +1 -1
  96. package/dist-types/pagination/ListCodegenJobsPaginator.d.ts +1 -1
  97. package/dist-types/pagination/ListComponentsPaginator.d.ts +1 -1
  98. package/dist-types/pagination/ListFormsPaginator.d.ts +1 -1
  99. package/dist-types/pagination/ListThemesPaginator.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/CreateComponentCommand.d.ts +14 -23
  101. package/dist-types/ts3.4/commands/CreateFormCommand.d.ts +14 -23
  102. package/dist-types/ts3.4/commands/CreateThemeCommand.d.ts +14 -23
  103. package/dist-types/ts3.4/commands/DeleteComponentCommand.d.ts +14 -23
  104. package/dist-types/ts3.4/commands/DeleteFormCommand.d.ts +14 -23
  105. package/dist-types/ts3.4/commands/DeleteThemeCommand.d.ts +14 -23
  106. package/dist-types/ts3.4/commands/ExchangeCodeForTokenCommand.d.ts +12 -24
  107. package/dist-types/ts3.4/commands/ExportComponentsCommand.d.ts +14 -23
  108. package/dist-types/ts3.4/commands/ExportFormsCommand.d.ts +14 -23
  109. package/dist-types/ts3.4/commands/ExportThemesCommand.d.ts +14 -23
  110. package/dist-types/ts3.4/commands/GetCodegenJobCommand.d.ts +14 -23
  111. package/dist-types/ts3.4/commands/GetComponentCommand.d.ts +14 -23
  112. package/dist-types/ts3.4/commands/GetFormCommand.d.ts +12 -23
  113. package/dist-types/ts3.4/commands/GetMetadataCommand.d.ts +14 -23
  114. package/dist-types/ts3.4/commands/GetThemeCommand.d.ts +14 -23
  115. package/dist-types/ts3.4/commands/ListCodegenJobsCommand.d.ts +14 -23
  116. package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +14 -23
  117. package/dist-types/ts3.4/commands/ListFormsCommand.d.ts +14 -23
  118. package/dist-types/ts3.4/commands/ListThemesCommand.d.ts +14 -23
  119. package/dist-types/ts3.4/commands/PutMetadataFlagCommand.d.ts +14 -23
  120. package/dist-types/ts3.4/commands/RefreshTokenCommand.d.ts +14 -23
  121. package/dist-types/ts3.4/commands/StartCodegenJobCommand.d.ts +14 -23
  122. package/dist-types/ts3.4/commands/UpdateComponentCommand.d.ts +14 -23
  123. package/dist-types/ts3.4/commands/UpdateFormCommand.d.ts +14 -23
  124. package/dist-types/ts3.4/commands/UpdateThemeCommand.d.ts +14 -23
  125. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  126. package/dist-types/ts3.4/pagination/ExportComponentsPaginator.d.ts +3 -3
  127. package/dist-types/ts3.4/pagination/ExportFormsPaginator.d.ts +3 -3
  128. package/dist-types/ts3.4/pagination/ExportThemesPaginator.d.ts +3 -3
  129. package/dist-types/ts3.4/pagination/ListCodegenJobsPaginator.d.ts +3 -3
  130. package/dist-types/ts3.4/pagination/ListComponentsPaginator.d.ts +3 -3
  131. package/dist-types/ts3.4/pagination/ListFormsPaginator.d.ts +3 -3
  132. package/dist-types/ts3.4/pagination/ListThemesPaginator.d.ts +3 -3
  133. package/package.json +11 -11
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ExportFormsCommand, se_ExportFormsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ExportFormsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ExportFormsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AmplifyUIBuilderClient";
26
- const commandName = "ExportFormsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmplifyUIBuilder",
35
- operation: "ExportForms",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ExportFormsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ExportFormsCommand(output, context);
46
- }
7
+ export class ExportFormsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmplifyUIBuilder", "ExportForms", {})
19
+ .n("AmplifyUIBuilderClient", "ExportFormsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ExportFormsCommand)
22
+ .de(de_ExportFormsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ExportThemesCommand, se_ExportThemesCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ExportThemesCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ExportThemesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AmplifyUIBuilderClient";
26
- const commandName = "ExportThemesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmplifyUIBuilder",
35
- operation: "ExportThemes",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ExportThemesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ExportThemesCommand(output, context);
46
- }
7
+ export class ExportThemesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmplifyUIBuilder", "ExportThemes", {})
19
+ .n("AmplifyUIBuilderClient", "ExportThemesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ExportThemesCommand)
22
+ .de(de_ExportThemesCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetCodegenJobCommand, se_GetCodegenJobCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetCodegenJobCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetCodegenJobCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AmplifyUIBuilderClient";
26
- const commandName = "GetCodegenJobCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmplifyUIBuilder",
35
- operation: "GetCodegenJob",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetCodegenJobCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetCodegenJobCommand(output, context);
46
- }
7
+ export class GetCodegenJobCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmplifyUIBuilder", "GetCodegenJob", {})
19
+ .n("AmplifyUIBuilderClient", "GetCodegenJobCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetCodegenJobCommand)
22
+ .de(de_GetCodegenJobCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetComponentCommand, se_GetComponentCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetComponentCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetComponentCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AmplifyUIBuilderClient";
26
- const commandName = "GetComponentCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmplifyUIBuilder",
35
- operation: "GetComponent",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetComponentCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetComponentCommand(output, context);
46
- }
7
+ export class GetComponentCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmplifyUIBuilder", "GetComponent", {})
19
+ .n("AmplifyUIBuilderClient", "GetComponentCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetComponentCommand)
22
+ .de(de_GetComponentCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetFormCommand, se_GetFormCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetFormCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetFormCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AmplifyUIBuilderClient";
26
- const commandName = "GetFormCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmplifyUIBuilder",
35
- operation: "GetForm",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetFormCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetFormCommand(output, context);
46
- }
7
+ export class GetFormCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmplifyUIBuilder", "GetForm", {})
19
+ .n("AmplifyUIBuilderClient", "GetFormCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetFormCommand)
22
+ .de(de_GetFormCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetMetadataCommand, se_GetMetadataCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetMetadataCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetMetadataCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AmplifyUIBuilderClient";
26
- const commandName = "GetMetadataCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmplifyUIBuilder",
35
- operation: "GetMetadata",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetMetadataCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetMetadataCommand(output, context);
46
- }
7
+ export class GetMetadataCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmplifyUIBuilder", "GetMetadata", {})
19
+ .n("AmplifyUIBuilderClient", "GetMetadataCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetMetadataCommand)
22
+ .de(de_GetMetadataCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetThemeCommand, se_GetThemeCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetThemeCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetThemeCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AmplifyUIBuilderClient";
26
- const commandName = "GetThemeCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmplifyUIBuilder",
35
- operation: "GetTheme",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetThemeCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetThemeCommand(output, context);
46
- }
7
+ export class GetThemeCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmplifyUIBuilder", "GetTheme", {})
19
+ .n("AmplifyUIBuilderClient", "GetThemeCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetThemeCommand)
22
+ .de(de_GetThemeCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListCodegenJobsCommand, se_ListCodegenJobsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListCodegenJobsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListCodegenJobsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AmplifyUIBuilderClient";
26
- const commandName = "ListCodegenJobsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmplifyUIBuilder",
35
- operation: "ListCodegenJobs",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListCodegenJobsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListCodegenJobsCommand(output, context);
46
- }
7
+ export class ListCodegenJobsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmplifyUIBuilder", "ListCodegenJobs", {})
19
+ .n("AmplifyUIBuilderClient", "ListCodegenJobsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListCodegenJobsCommand)
22
+ .de(de_ListCodegenJobsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListComponentsCommand, se_ListComponentsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListComponentsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListComponentsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AmplifyUIBuilderClient";
26
- const commandName = "ListComponentsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmplifyUIBuilder",
35
- operation: "ListComponents",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListComponentsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListComponentsCommand(output, context);
46
- }
7
+ export class ListComponentsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmplifyUIBuilder", "ListComponents", {})
19
+ .n("AmplifyUIBuilderClient", "ListComponentsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListComponentsCommand)
22
+ .de(de_ListComponentsCommand)
23
+ .build() {
47
24
  }