@aws-sdk/client-amplifyuibuilder 3.928.0 → 3.929.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 (52) hide show
  1. package/dist-cjs/index.js +1806 -1860
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/AmplifyUIBuilderClient.js +2 -0
  4. package/dist-es/commands/CreateComponentCommand.js +3 -9
  5. package/dist-es/commands/CreateFormCommand.js +3 -9
  6. package/dist-es/commands/CreateThemeCommand.js +3 -9
  7. package/dist-es/commands/DeleteComponentCommand.js +3 -9
  8. package/dist-es/commands/DeleteFormCommand.js +3 -9
  9. package/dist-es/commands/DeleteThemeCommand.js +3 -9
  10. package/dist-es/commands/ExchangeCodeForTokenCommand.js +3 -10
  11. package/dist-es/commands/ExportComponentsCommand.js +3 -9
  12. package/dist-es/commands/ExportFormsCommand.js +3 -9
  13. package/dist-es/commands/ExportThemesCommand.js +3 -9
  14. package/dist-es/commands/GetCodegenJobCommand.js +3 -9
  15. package/dist-es/commands/GetComponentCommand.js +3 -9
  16. package/dist-es/commands/GetFormCommand.js +3 -9
  17. package/dist-es/commands/GetMetadataCommand.js +3 -9
  18. package/dist-es/commands/GetThemeCommand.js +3 -9
  19. package/dist-es/commands/ListCodegenJobsCommand.js +3 -9
  20. package/dist-es/commands/ListComponentsCommand.js +3 -9
  21. package/dist-es/commands/ListFormsCommand.js +3 -9
  22. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  23. package/dist-es/commands/ListThemesCommand.js +3 -9
  24. package/dist-es/commands/PutMetadataFlagCommand.js +3 -9
  25. package/dist-es/commands/RefreshTokenCommand.js +3 -10
  26. package/dist-es/commands/StartCodegenJobCommand.js +3 -9
  27. package/dist-es/commands/TagResourceCommand.js +3 -9
  28. package/dist-es/commands/UntagResourceCommand.js +3 -9
  29. package/dist-es/commands/UpdateComponentCommand.js +3 -9
  30. package/dist-es/commands/UpdateFormCommand.js +3 -9
  31. package/dist-es/commands/UpdateThemeCommand.js +3 -9
  32. package/dist-es/models/models_0.js +0 -28
  33. package/dist-es/runtimeConfig.shared.js +2 -0
  34. package/dist-es/schemas/schemas_0.js +1744 -0
  35. package/dist-types/AmplifyUIBuilderClient.d.ts +10 -1
  36. package/dist-types/models/models_0.d.ts +0 -24
  37. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  38. package/dist-types/runtimeConfig.d.ts +1 -0
  39. package/dist-types/runtimeConfig.native.d.ts +1 -0
  40. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  41. package/dist-types/schemas/schemas_0.d.ts +201 -0
  42. package/dist-types/ts3.4/AmplifyUIBuilderClient.d.ts +4 -0
  43. package/dist-types/ts3.4/models/models_0.d.ts +0 -18
  44. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  45. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  46. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  47. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  48. package/dist-types/ts3.4/schemas/schemas_0.d.ts +208 -0
  49. package/package.json +2 -3
  50. package/dist-es/protocols/Aws_restJson1.js +0 -1614
  51. package/dist-types/protocols/Aws_restJson1.d.ts +0 -254
  52. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -341
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.amplifyuibuilder" }),
28
30
  serviceId: config?.serviceId ?? "AmplifyUIBuilder",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class AmplifyUIBuilderClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateComponentCommand, se_CreateComponentCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateComponent } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateComponentCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyUIBuilder", "CreateComponent", {})
17
13
  .n("AmplifyUIBuilderClient", "CreateComponentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateComponentCommand)
20
- .de(de_CreateComponentCommand)
14
+ .sc(CreateComponent)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateFormCommand, se_CreateFormCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateForm } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateFormCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyUIBuilder", "CreateForm", {})
17
13
  .n("AmplifyUIBuilderClient", "CreateFormCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateFormCommand)
20
- .de(de_CreateFormCommand)
14
+ .sc(CreateForm)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateThemeCommand, se_CreateThemeCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateTheme } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateThemeCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyUIBuilder", "CreateTheme", {})
17
13
  .n("AmplifyUIBuilderClient", "CreateThemeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateThemeCommand)
20
- .de(de_CreateThemeCommand)
14
+ .sc(CreateTheme)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteComponentCommand, se_DeleteComponentCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteComponent } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteComponentCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyUIBuilder", "DeleteComponent", {})
17
13
  .n("AmplifyUIBuilderClient", "DeleteComponentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteComponentCommand)
20
- .de(de_DeleteComponentCommand)
14
+ .sc(DeleteComponent)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteFormCommand, se_DeleteFormCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteForm } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteFormCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyUIBuilder", "DeleteForm", {})
17
13
  .n("AmplifyUIBuilderClient", "DeleteFormCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteFormCommand)
20
- .de(de_DeleteFormCommand)
14
+ .sc(DeleteForm)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteThemeCommand, se_DeleteThemeCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteTheme } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteThemeCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyUIBuilder", "DeleteTheme", {})
17
13
  .n("AmplifyUIBuilderClient", "DeleteThemeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteThemeCommand)
20
- .de(de_DeleteThemeCommand)
14
+ .sc(DeleteTheme)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { ExchangeCodeForTokenRequestFilterSensitiveLog, ExchangeCodeForTokenResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_ExchangeCodeForTokenCommand, se_ExchangeCodeForTokenCommand } from "../protocols/Aws_restJson1";
4
+ import { ExchangeCodeForToken } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class ExchangeCodeForTokenCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AmplifyUIBuilder", "ExchangeCodeForToken", {})
18
13
  .n("AmplifyUIBuilderClient", "ExchangeCodeForTokenCommand")
19
- .f(ExchangeCodeForTokenRequestFilterSensitiveLog, ExchangeCodeForTokenResponseFilterSensitiveLog)
20
- .ser(se_ExchangeCodeForTokenCommand)
21
- .de(de_ExchangeCodeForTokenCommand)
14
+ .sc(ExchangeCodeForToken)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ExportComponentsCommand, se_ExportComponentsCommand } from "../protocols/Aws_restJson1";
4
+ import { ExportComponents } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ExportComponentsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyUIBuilder", "ExportComponents", {})
17
13
  .n("AmplifyUIBuilderClient", "ExportComponentsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ExportComponentsCommand)
20
- .de(de_ExportComponentsCommand)
14
+ .sc(ExportComponents)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ExportFormsCommand, se_ExportFormsCommand } from "../protocols/Aws_restJson1";
4
+ import { ExportForms } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ExportFormsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyUIBuilder", "ExportForms", {})
17
13
  .n("AmplifyUIBuilderClient", "ExportFormsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ExportFormsCommand)
20
- .de(de_ExportFormsCommand)
14
+ .sc(ExportForms)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ExportThemesCommand, se_ExportThemesCommand } from "../protocols/Aws_restJson1";
4
+ import { ExportThemes } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ExportThemesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyUIBuilder", "ExportThemes", {})
17
13
  .n("AmplifyUIBuilderClient", "ExportThemesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ExportThemesCommand)
20
- .de(de_ExportThemesCommand)
14
+ .sc(ExportThemes)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetCodegenJobCommand, se_GetCodegenJobCommand } from "../protocols/Aws_restJson1";
4
+ import { GetCodegenJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetCodegenJobCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyUIBuilder", "GetCodegenJob", {})
17
13
  .n("AmplifyUIBuilderClient", "GetCodegenJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetCodegenJobCommand)
20
- .de(de_GetCodegenJobCommand)
14
+ .sc(GetCodegenJob)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetComponentCommand, se_GetComponentCommand } from "../protocols/Aws_restJson1";
4
+ import { GetComponent } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetComponentCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyUIBuilder", "GetComponent", {})
17
13
  .n("AmplifyUIBuilderClient", "GetComponentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetComponentCommand)
20
- .de(de_GetComponentCommand)
14
+ .sc(GetComponent)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetFormCommand, se_GetFormCommand } from "../protocols/Aws_restJson1";
4
+ import { GetForm } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetFormCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyUIBuilder", "GetForm", {})
17
13
  .n("AmplifyUIBuilderClient", "GetFormCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetFormCommand)
20
- .de(de_GetFormCommand)
14
+ .sc(GetForm)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetMetadataCommand, se_GetMetadataCommand } from "../protocols/Aws_restJson1";
4
+ import { GetMetadata } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetMetadataCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyUIBuilder", "GetMetadata", {})
17
13
  .n("AmplifyUIBuilderClient", "GetMetadataCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetMetadataCommand)
20
- .de(de_GetMetadataCommand)
14
+ .sc(GetMetadata)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetThemeCommand, se_GetThemeCommand } from "../protocols/Aws_restJson1";
4
+ import { GetTheme } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetThemeCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyUIBuilder", "GetTheme", {})
17
13
  .n("AmplifyUIBuilderClient", "GetThemeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetThemeCommand)
20
- .de(de_GetThemeCommand)
14
+ .sc(GetTheme)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListCodegenJobsCommand, se_ListCodegenJobsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListCodegenJobs } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListCodegenJobsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyUIBuilder", "ListCodegenJobs", {})
17
13
  .n("AmplifyUIBuilderClient", "ListCodegenJobsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListCodegenJobsCommand)
20
- .de(de_ListCodegenJobsCommand)
14
+ .sc(ListCodegenJobs)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListComponentsCommand, se_ListComponentsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListComponents } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListComponentsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyUIBuilder", "ListComponents", {})
17
13
  .n("AmplifyUIBuilderClient", "ListComponentsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListComponentsCommand)
20
- .de(de_ListComponentsCommand)
14
+ .sc(ListComponents)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListFormsCommand, se_ListFormsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListForms } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListFormsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyUIBuilder", "ListForms", {})
17
13
  .n("AmplifyUIBuilderClient", "ListFormsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListFormsCommand)
20
- .de(de_ListFormsCommand)
14
+ .sc(ListForms)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyUIBuilder", "ListTagsForResource", {})
17
13
  .n("AmplifyUIBuilderClient", "ListTagsForResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsForResourceCommand)
20
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListThemesCommand, se_ListThemesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListThemes } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListThemesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyUIBuilder", "ListThemes", {})
17
13
  .n("AmplifyUIBuilderClient", "ListThemesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListThemesCommand)
20
- .de(de_ListThemesCommand)
14
+ .sc(ListThemes)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_PutMetadataFlagCommand, se_PutMetadataFlagCommand } from "../protocols/Aws_restJson1";
4
+ import { PutMetadataFlag } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutMetadataFlagCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmplifyUIBuilder", "PutMetadataFlag", {})
17
13
  .n("AmplifyUIBuilderClient", "PutMetadataFlagCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutMetadataFlagCommand)
20
- .de(de_PutMetadataFlagCommand)
14
+ .sc(PutMetadataFlag)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { RefreshTokenRequestFilterSensitiveLog, RefreshTokenResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_RefreshTokenCommand, se_RefreshTokenCommand } from "../protocols/Aws_restJson1";
4
+ import { RefreshToken } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class RefreshTokenCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AmplifyUIBuilder", "RefreshToken", {})
18
13
  .n("AmplifyUIBuilderClient", "RefreshTokenCommand")
19
- .f(RefreshTokenRequestFilterSensitiveLog, RefreshTokenResponseFilterSensitiveLog)
20
- .ser(se_RefreshTokenCommand)
21
- .de(de_RefreshTokenCommand)
14
+ .sc(RefreshToken)
22
15
  .build() {
23
16
  }