@aws-sdk/client-appsync 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 (95) hide show
  1. package/dist-cjs/index.js +2888 -2933
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/AppSyncClient.js +2 -0
  4. package/dist-es/commands/AssociateApiCommand.js +3 -9
  5. package/dist-es/commands/AssociateMergedGraphqlApiCommand.js +3 -9
  6. package/dist-es/commands/AssociateSourceGraphqlApiCommand.js +3 -9
  7. package/dist-es/commands/CreateApiCacheCommand.js +3 -9
  8. package/dist-es/commands/CreateApiCommand.js +3 -9
  9. package/dist-es/commands/CreateApiKeyCommand.js +3 -9
  10. package/dist-es/commands/CreateChannelNamespaceCommand.js +3 -9
  11. package/dist-es/commands/CreateDataSourceCommand.js +3 -9
  12. package/dist-es/commands/CreateDomainNameCommand.js +3 -9
  13. package/dist-es/commands/CreateFunctionCommand.js +3 -9
  14. package/dist-es/commands/CreateGraphqlApiCommand.js +3 -9
  15. package/dist-es/commands/CreateResolverCommand.js +3 -9
  16. package/dist-es/commands/CreateTypeCommand.js +3 -9
  17. package/dist-es/commands/DeleteApiCacheCommand.js +3 -9
  18. package/dist-es/commands/DeleteApiCommand.js +3 -9
  19. package/dist-es/commands/DeleteApiKeyCommand.js +3 -9
  20. package/dist-es/commands/DeleteChannelNamespaceCommand.js +3 -9
  21. package/dist-es/commands/DeleteDataSourceCommand.js +3 -9
  22. package/dist-es/commands/DeleteDomainNameCommand.js +3 -9
  23. package/dist-es/commands/DeleteFunctionCommand.js +3 -9
  24. package/dist-es/commands/DeleteGraphqlApiCommand.js +3 -9
  25. package/dist-es/commands/DeleteResolverCommand.js +3 -9
  26. package/dist-es/commands/DeleteTypeCommand.js +3 -9
  27. package/dist-es/commands/DisassociateApiCommand.js +3 -9
  28. package/dist-es/commands/DisassociateMergedGraphqlApiCommand.js +3 -9
  29. package/dist-es/commands/DisassociateSourceGraphqlApiCommand.js +3 -9
  30. package/dist-es/commands/EvaluateCodeCommand.js +3 -9
  31. package/dist-es/commands/EvaluateMappingTemplateCommand.js +3 -9
  32. package/dist-es/commands/FlushApiCacheCommand.js +3 -9
  33. package/dist-es/commands/GetApiAssociationCommand.js +3 -9
  34. package/dist-es/commands/GetApiCacheCommand.js +3 -9
  35. package/dist-es/commands/GetApiCommand.js +3 -9
  36. package/dist-es/commands/GetChannelNamespaceCommand.js +3 -9
  37. package/dist-es/commands/GetDataSourceCommand.js +3 -9
  38. package/dist-es/commands/GetDataSourceIntrospectionCommand.js +3 -9
  39. package/dist-es/commands/GetDomainNameCommand.js +3 -9
  40. package/dist-es/commands/GetFunctionCommand.js +3 -9
  41. package/dist-es/commands/GetGraphqlApiCommand.js +3 -9
  42. package/dist-es/commands/GetGraphqlApiEnvironmentVariablesCommand.js +3 -9
  43. package/dist-es/commands/GetIntrospectionSchemaCommand.js +3 -9
  44. package/dist-es/commands/GetResolverCommand.js +3 -9
  45. package/dist-es/commands/GetSchemaCreationStatusCommand.js +3 -9
  46. package/dist-es/commands/GetSourceApiAssociationCommand.js +3 -9
  47. package/dist-es/commands/GetTypeCommand.js +3 -9
  48. package/dist-es/commands/ListApiKeysCommand.js +3 -9
  49. package/dist-es/commands/ListApisCommand.js +3 -9
  50. package/dist-es/commands/ListChannelNamespacesCommand.js +3 -9
  51. package/dist-es/commands/ListDataSourcesCommand.js +3 -9
  52. package/dist-es/commands/ListDomainNamesCommand.js +3 -9
  53. package/dist-es/commands/ListFunctionsCommand.js +3 -9
  54. package/dist-es/commands/ListGraphqlApisCommand.js +3 -9
  55. package/dist-es/commands/ListResolversByFunctionCommand.js +3 -9
  56. package/dist-es/commands/ListResolversCommand.js +3 -9
  57. package/dist-es/commands/ListSourceApiAssociationsCommand.js +3 -9
  58. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  59. package/dist-es/commands/ListTypesByAssociationCommand.js +3 -9
  60. package/dist-es/commands/ListTypesCommand.js +3 -9
  61. package/dist-es/commands/PutGraphqlApiEnvironmentVariablesCommand.js +3 -9
  62. package/dist-es/commands/StartDataSourceIntrospectionCommand.js +3 -9
  63. package/dist-es/commands/StartSchemaCreationCommand.js +3 -9
  64. package/dist-es/commands/StartSchemaMergeCommand.js +3 -9
  65. package/dist-es/commands/TagResourceCommand.js +3 -9
  66. package/dist-es/commands/UntagResourceCommand.js +3 -9
  67. package/dist-es/commands/UpdateApiCacheCommand.js +3 -9
  68. package/dist-es/commands/UpdateApiCommand.js +3 -9
  69. package/dist-es/commands/UpdateApiKeyCommand.js +3 -9
  70. package/dist-es/commands/UpdateChannelNamespaceCommand.js +3 -9
  71. package/dist-es/commands/UpdateDataSourceCommand.js +3 -9
  72. package/dist-es/commands/UpdateDomainNameCommand.js +3 -9
  73. package/dist-es/commands/UpdateFunctionCommand.js +3 -9
  74. package/dist-es/commands/UpdateGraphqlApiCommand.js +3 -9
  75. package/dist-es/commands/UpdateResolverCommand.js +3 -9
  76. package/dist-es/commands/UpdateSourceApiAssociationCommand.js +3 -9
  77. package/dist-es/commands/UpdateTypeCommand.js +3 -9
  78. package/dist-es/runtimeConfig.shared.js +2 -0
  79. package/dist-es/schemas/schemas_0.js +2716 -0
  80. package/dist-types/AppSyncClient.d.ts +10 -1
  81. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  82. package/dist-types/runtimeConfig.d.ts +1 -0
  83. package/dist-types/runtimeConfig.native.d.ts +1 -0
  84. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  85. package/dist-types/schemas/schemas_0.d.ts +321 -0
  86. package/dist-types/ts3.4/AppSyncClient.d.ts +4 -0
  87. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  88. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  89. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  90. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  91. package/dist-types/ts3.4/schemas/schemas_0.d.ts +326 -0
  92. package/package.json +2 -2
  93. package/dist-es/protocols/Aws_restJson1.js +0 -2384
  94. package/dist-types/protocols/Aws_restJson1.d.ts +0 -668
  95. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -893
@@ -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.appsync" }),
28
30
  serviceId: config?.serviceId ?? "AppSync",
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 AppSyncClient 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_AssociateApiCommand, se_AssociateApiCommand } from "../protocols/Aws_restJson1";
4
+ import { AssociateApi } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AssociateApiCommand 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("AWSDeepdishControlPlaneService", "AssociateApi", {})
17
13
  .n("AppSyncClient", "AssociateApiCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AssociateApiCommand)
20
- .de(de_AssociateApiCommand)
14
+ .sc(AssociateApi)
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_AssociateMergedGraphqlApiCommand, se_AssociateMergedGraphqlApiCommand } from "../protocols/Aws_restJson1";
4
+ import { AssociateMergedGraphqlApi } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AssociateMergedGraphqlApiCommand 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("AWSDeepdishControlPlaneService", "AssociateMergedGraphqlApi", {})
17
13
  .n("AppSyncClient", "AssociateMergedGraphqlApiCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AssociateMergedGraphqlApiCommand)
20
- .de(de_AssociateMergedGraphqlApiCommand)
14
+ .sc(AssociateMergedGraphqlApi)
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_AssociateSourceGraphqlApiCommand, se_AssociateSourceGraphqlApiCommand } from "../protocols/Aws_restJson1";
4
+ import { AssociateSourceGraphqlApi } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AssociateSourceGraphqlApiCommand 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("AWSDeepdishControlPlaneService", "AssociateSourceGraphqlApi", {})
17
13
  .n("AppSyncClient", "AssociateSourceGraphqlApiCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AssociateSourceGraphqlApiCommand)
20
- .de(de_AssociateSourceGraphqlApiCommand)
14
+ .sc(AssociateSourceGraphqlApi)
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_CreateApiCacheCommand, se_CreateApiCacheCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateApiCache } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateApiCacheCommand 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("AWSDeepdishControlPlaneService", "CreateApiCache", {})
17
13
  .n("AppSyncClient", "CreateApiCacheCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateApiCacheCommand)
20
- .de(de_CreateApiCacheCommand)
14
+ .sc(CreateApiCache)
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_CreateApiCommand, se_CreateApiCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateApi } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateApiCommand 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("AWSDeepdishControlPlaneService", "CreateApi", {})
17
13
  .n("AppSyncClient", "CreateApiCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateApiCommand)
20
- .de(de_CreateApiCommand)
14
+ .sc(CreateApi)
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_CreateApiKeyCommand, se_CreateApiKeyCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateApiKey } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateApiKeyCommand 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("AWSDeepdishControlPlaneService", "CreateApiKey", {})
17
13
  .n("AppSyncClient", "CreateApiKeyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateApiKeyCommand)
20
- .de(de_CreateApiKeyCommand)
14
+ .sc(CreateApiKey)
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_CreateChannelNamespaceCommand, se_CreateChannelNamespaceCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateChannelNamespace } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateChannelNamespaceCommand 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("AWSDeepdishControlPlaneService", "CreateChannelNamespace", {})
17
13
  .n("AppSyncClient", "CreateChannelNamespaceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateChannelNamespaceCommand)
20
- .de(de_CreateChannelNamespaceCommand)
14
+ .sc(CreateChannelNamespace)
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_CreateDataSourceCommand, se_CreateDataSourceCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateDataSource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateDataSourceCommand 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("AWSDeepdishControlPlaneService", "CreateDataSource", {})
17
13
  .n("AppSyncClient", "CreateDataSourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateDataSourceCommand)
20
- .de(de_CreateDataSourceCommand)
14
+ .sc(CreateDataSource)
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_CreateDomainNameCommand, se_CreateDomainNameCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateDomainName } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateDomainNameCommand 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("AWSDeepdishControlPlaneService", "CreateDomainName", {})
17
13
  .n("AppSyncClient", "CreateDomainNameCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateDomainNameCommand)
20
- .de(de_CreateDomainNameCommand)
14
+ .sc(CreateDomainName)
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_CreateFunctionCommand, se_CreateFunctionCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateFunction } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateFunctionCommand 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("AWSDeepdishControlPlaneService", "CreateFunction", {})
17
13
  .n("AppSyncClient", "CreateFunctionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateFunctionCommand)
20
- .de(de_CreateFunctionCommand)
14
+ .sc(CreateFunction)
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_CreateGraphqlApiCommand, se_CreateGraphqlApiCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateGraphqlApi } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateGraphqlApiCommand 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("AWSDeepdishControlPlaneService", "CreateGraphqlApi", {})
17
13
  .n("AppSyncClient", "CreateGraphqlApiCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateGraphqlApiCommand)
20
- .de(de_CreateGraphqlApiCommand)
14
+ .sc(CreateGraphqlApi)
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_CreateResolverCommand, se_CreateResolverCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateResolver } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateResolverCommand 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("AWSDeepdishControlPlaneService", "CreateResolver", {})
17
13
  .n("AppSyncClient", "CreateResolverCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateResolverCommand)
20
- .de(de_CreateResolverCommand)
14
+ .sc(CreateResolver)
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_CreateTypeCommand, se_CreateTypeCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateType } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateTypeCommand 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("AWSDeepdishControlPlaneService", "CreateType", {})
17
13
  .n("AppSyncClient", "CreateTypeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateTypeCommand)
20
- .de(de_CreateTypeCommand)
14
+ .sc(CreateType)
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_DeleteApiCacheCommand, se_DeleteApiCacheCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteApiCache } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteApiCacheCommand 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("AWSDeepdishControlPlaneService", "DeleteApiCache", {})
17
13
  .n("AppSyncClient", "DeleteApiCacheCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteApiCacheCommand)
20
- .de(de_DeleteApiCacheCommand)
14
+ .sc(DeleteApiCache)
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_DeleteApiCommand, se_DeleteApiCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteApi } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteApiCommand 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("AWSDeepdishControlPlaneService", "DeleteApi", {})
17
13
  .n("AppSyncClient", "DeleteApiCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteApiCommand)
20
- .de(de_DeleteApiCommand)
14
+ .sc(DeleteApi)
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_DeleteApiKeyCommand, se_DeleteApiKeyCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteApiKey } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteApiKeyCommand 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("AWSDeepdishControlPlaneService", "DeleteApiKey", {})
17
13
  .n("AppSyncClient", "DeleteApiKeyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteApiKeyCommand)
20
- .de(de_DeleteApiKeyCommand)
14
+ .sc(DeleteApiKey)
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_DeleteChannelNamespaceCommand, se_DeleteChannelNamespaceCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteChannelNamespace } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteChannelNamespaceCommand 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("AWSDeepdishControlPlaneService", "DeleteChannelNamespace", {})
17
13
  .n("AppSyncClient", "DeleteChannelNamespaceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteChannelNamespaceCommand)
20
- .de(de_DeleteChannelNamespaceCommand)
14
+ .sc(DeleteChannelNamespace)
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_DeleteDataSourceCommand, se_DeleteDataSourceCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteDataSource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteDataSourceCommand 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("AWSDeepdishControlPlaneService", "DeleteDataSource", {})
17
13
  .n("AppSyncClient", "DeleteDataSourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteDataSourceCommand)
20
- .de(de_DeleteDataSourceCommand)
14
+ .sc(DeleteDataSource)
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_DeleteDomainNameCommand, se_DeleteDomainNameCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteDomainName } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteDomainNameCommand 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("AWSDeepdishControlPlaneService", "DeleteDomainName", {})
17
13
  .n("AppSyncClient", "DeleteDomainNameCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteDomainNameCommand)
20
- .de(de_DeleteDomainNameCommand)
14
+ .sc(DeleteDomainName)
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_DeleteFunctionCommand, se_DeleteFunctionCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteFunction } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteFunctionCommand 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("AWSDeepdishControlPlaneService", "DeleteFunction", {})
17
13
  .n("AppSyncClient", "DeleteFunctionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteFunctionCommand)
20
- .de(de_DeleteFunctionCommand)
14
+ .sc(DeleteFunction)
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_DeleteGraphqlApiCommand, se_DeleteGraphqlApiCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteGraphqlApi } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteGraphqlApiCommand 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("AWSDeepdishControlPlaneService", "DeleteGraphqlApi", {})
17
13
  .n("AppSyncClient", "DeleteGraphqlApiCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteGraphqlApiCommand)
20
- .de(de_DeleteGraphqlApiCommand)
14
+ .sc(DeleteGraphqlApi)
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_DeleteResolverCommand, se_DeleteResolverCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteResolver } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteResolverCommand 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("AWSDeepdishControlPlaneService", "DeleteResolver", {})
17
13
  .n("AppSyncClient", "DeleteResolverCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteResolverCommand)
20
- .de(de_DeleteResolverCommand)
14
+ .sc(DeleteResolver)
21
15
  .build() {
22
16
  }