@aws-sdk/client-amplifyuibuilder 3.478.0 → 3.484.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 (105) 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-es/commands/CreateComponentCommand.js +18 -41
  28. package/dist-es/commands/CreateFormCommand.js +18 -41
  29. package/dist-es/commands/CreateThemeCommand.js +18 -41
  30. package/dist-es/commands/DeleteComponentCommand.js +18 -41
  31. package/dist-es/commands/DeleteFormCommand.js +18 -41
  32. package/dist-es/commands/DeleteThemeCommand.js +18 -41
  33. package/dist-es/commands/ExchangeCodeForTokenCommand.js +18 -41
  34. package/dist-es/commands/ExportComponentsCommand.js +18 -41
  35. package/dist-es/commands/ExportFormsCommand.js +18 -41
  36. package/dist-es/commands/ExportThemesCommand.js +18 -41
  37. package/dist-es/commands/GetCodegenJobCommand.js +18 -41
  38. package/dist-es/commands/GetComponentCommand.js +18 -41
  39. package/dist-es/commands/GetFormCommand.js +18 -41
  40. package/dist-es/commands/GetMetadataCommand.js +18 -41
  41. package/dist-es/commands/GetThemeCommand.js +18 -41
  42. package/dist-es/commands/ListCodegenJobsCommand.js +18 -41
  43. package/dist-es/commands/ListComponentsCommand.js +18 -41
  44. package/dist-es/commands/ListFormsCommand.js +18 -41
  45. package/dist-es/commands/ListThemesCommand.js +18 -41
  46. package/dist-es/commands/PutMetadataFlagCommand.js +18 -41
  47. package/dist-es/commands/RefreshTokenCommand.js +18 -41
  48. package/dist-es/commands/StartCodegenJobCommand.js +18 -41
  49. package/dist-es/commands/UpdateComponentCommand.js +18 -41
  50. package/dist-es/commands/UpdateFormCommand.js +18 -41
  51. package/dist-es/commands/UpdateThemeCommand.js +18 -41
  52. package/dist-es/endpoint/EndpointParameters.js +6 -0
  53. package/dist-types/commands/CreateComponentCommand.d.ts +6 -21
  54. package/dist-types/commands/CreateFormCommand.d.ts +6 -21
  55. package/dist-types/commands/CreateThemeCommand.d.ts +6 -21
  56. package/dist-types/commands/DeleteComponentCommand.d.ts +6 -21
  57. package/dist-types/commands/DeleteFormCommand.d.ts +6 -21
  58. package/dist-types/commands/DeleteThemeCommand.d.ts +6 -21
  59. package/dist-types/commands/ExchangeCodeForTokenCommand.d.ts +6 -21
  60. package/dist-types/commands/ExportComponentsCommand.d.ts +6 -21
  61. package/dist-types/commands/ExportFormsCommand.d.ts +6 -21
  62. package/dist-types/commands/ExportThemesCommand.d.ts +6 -21
  63. package/dist-types/commands/GetCodegenJobCommand.d.ts +6 -21
  64. package/dist-types/commands/GetComponentCommand.d.ts +6 -21
  65. package/dist-types/commands/GetFormCommand.d.ts +6 -21
  66. package/dist-types/commands/GetMetadataCommand.d.ts +6 -21
  67. package/dist-types/commands/GetThemeCommand.d.ts +6 -21
  68. package/dist-types/commands/ListCodegenJobsCommand.d.ts +6 -21
  69. package/dist-types/commands/ListComponentsCommand.d.ts +6 -21
  70. package/dist-types/commands/ListFormsCommand.d.ts +6 -21
  71. package/dist-types/commands/ListThemesCommand.d.ts +6 -21
  72. package/dist-types/commands/PutMetadataFlagCommand.d.ts +6 -21
  73. package/dist-types/commands/RefreshTokenCommand.d.ts +6 -21
  74. package/dist-types/commands/StartCodegenJobCommand.d.ts +6 -21
  75. package/dist-types/commands/UpdateComponentCommand.d.ts +6 -21
  76. package/dist-types/commands/UpdateFormCommand.d.ts +6 -21
  77. package/dist-types/commands/UpdateThemeCommand.d.ts +6 -21
  78. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  79. package/dist-types/ts3.4/commands/CreateComponentCommand.d.ts +14 -23
  80. package/dist-types/ts3.4/commands/CreateFormCommand.d.ts +14 -23
  81. package/dist-types/ts3.4/commands/CreateThemeCommand.d.ts +14 -23
  82. package/dist-types/ts3.4/commands/DeleteComponentCommand.d.ts +14 -23
  83. package/dist-types/ts3.4/commands/DeleteFormCommand.d.ts +14 -23
  84. package/dist-types/ts3.4/commands/DeleteThemeCommand.d.ts +14 -23
  85. package/dist-types/ts3.4/commands/ExchangeCodeForTokenCommand.d.ts +12 -24
  86. package/dist-types/ts3.4/commands/ExportComponentsCommand.d.ts +14 -23
  87. package/dist-types/ts3.4/commands/ExportFormsCommand.d.ts +14 -23
  88. package/dist-types/ts3.4/commands/ExportThemesCommand.d.ts +14 -23
  89. package/dist-types/ts3.4/commands/GetCodegenJobCommand.d.ts +14 -23
  90. package/dist-types/ts3.4/commands/GetComponentCommand.d.ts +14 -23
  91. package/dist-types/ts3.4/commands/GetFormCommand.d.ts +12 -23
  92. package/dist-types/ts3.4/commands/GetMetadataCommand.d.ts +14 -23
  93. package/dist-types/ts3.4/commands/GetThemeCommand.d.ts +14 -23
  94. package/dist-types/ts3.4/commands/ListCodegenJobsCommand.d.ts +14 -23
  95. package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +14 -23
  96. package/dist-types/ts3.4/commands/ListFormsCommand.d.ts +14 -23
  97. package/dist-types/ts3.4/commands/ListThemesCommand.d.ts +14 -23
  98. package/dist-types/ts3.4/commands/PutMetadataFlagCommand.d.ts +14 -23
  99. package/dist-types/ts3.4/commands/RefreshTokenCommand.d.ts +14 -23
  100. package/dist-types/ts3.4/commands/StartCodegenJobCommand.d.ts +14 -23
  101. package/dist-types/ts3.4/commands/UpdateComponentCommand.d.ts +14 -23
  102. package/dist-types/ts3.4/commands/UpdateFormCommand.d.ts +14 -23
  103. package/dist-types/ts3.4/commands/UpdateThemeCommand.d.ts +14 -23
  104. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  105. 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_CreateThemeCommand, se_CreateThemeCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class CreateThemeCommand 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, CreateThemeCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AmplifyUIBuilderClient";
26
- const commandName = "CreateThemeCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmplifyUIBuilder",
35
- operation: "CreateTheme",
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_CreateThemeCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateThemeCommand(output, context);
46
- }
7
+ export class CreateThemeCommand 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", "CreateTheme", {})
19
+ .n("AmplifyUIBuilderClient", "CreateThemeCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateThemeCommand)
22
+ .de(de_CreateThemeCommand)
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_DeleteComponentCommand, se_DeleteComponentCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteComponentCommand 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, DeleteComponentCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AmplifyUIBuilderClient";
26
- const commandName = "DeleteComponentCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmplifyUIBuilder",
35
- operation: "DeleteComponent",
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_DeleteComponentCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteComponentCommand(output, context);
46
- }
7
+ export class DeleteComponentCommand 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", "DeleteComponent", {})
19
+ .n("AmplifyUIBuilderClient", "DeleteComponentCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteComponentCommand)
22
+ .de(de_DeleteComponentCommand)
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_DeleteFormCommand, se_DeleteFormCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteFormCommand 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, DeleteFormCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AmplifyUIBuilderClient";
26
- const commandName = "DeleteFormCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmplifyUIBuilder",
35
- operation: "DeleteForm",
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_DeleteFormCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteFormCommand(output, context);
46
- }
7
+ export class DeleteFormCommand 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", "DeleteForm", {})
19
+ .n("AmplifyUIBuilderClient", "DeleteFormCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteFormCommand)
22
+ .de(de_DeleteFormCommand)
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_DeleteThemeCommand, se_DeleteThemeCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteThemeCommand 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, DeleteThemeCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AmplifyUIBuilderClient";
26
- const commandName = "DeleteThemeCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmplifyUIBuilder",
35
- operation: "DeleteTheme",
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_DeleteThemeCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteThemeCommand(output, context);
46
- }
7
+ export class DeleteThemeCommand 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", "DeleteTheme", {})
19
+ .n("AmplifyUIBuilderClient", "DeleteThemeCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteThemeCommand)
22
+ .de(de_DeleteThemeCommand)
23
+ .build() {
47
24
  }
@@ -1,48 +1,25 @@
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 { ExchangeCodeForTokenRequestFilterSensitiveLog, ExchangeCodeForTokenResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_ExchangeCodeForTokenCommand, se_ExchangeCodeForTokenCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class ExchangeCodeForTokenCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, ExchangeCodeForTokenCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "AmplifyUIBuilderClient";
27
- const commandName = "ExchangeCodeForTokenCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: ExchangeCodeForTokenRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: ExchangeCodeForTokenResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AmplifyUIBuilder",
36
- operation: "ExchangeCodeForToken",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_ExchangeCodeForTokenCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_ExchangeCodeForTokenCommand(output, context);
47
- }
8
+ export class ExchangeCodeForTokenCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AmplifyUIBuilder", "ExchangeCodeForToken", {})
20
+ .n("AmplifyUIBuilderClient", "ExchangeCodeForTokenCommand")
21
+ .f(ExchangeCodeForTokenRequestFilterSensitiveLog, ExchangeCodeForTokenResponseFilterSensitiveLog)
22
+ .ser(se_ExchangeCodeForTokenCommand)
23
+ .de(de_ExchangeCodeForTokenCommand)
24
+ .build() {
48
25
  }
@@ -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_ExportComponentsCommand, se_ExportComponentsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ExportComponentsCommand 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, ExportComponentsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AmplifyUIBuilderClient";
26
- const commandName = "ExportComponentsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmplifyUIBuilder",
35
- operation: "ExportComponents",
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_ExportComponentsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ExportComponentsCommand(output, context);
46
- }
7
+ export class ExportComponentsCommand 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", "ExportComponents", {})
19
+ .n("AmplifyUIBuilderClient", "ExportComponentsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ExportComponentsCommand)
22
+ .de(de_ExportComponentsCommand)
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_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
  }