@aws-sdk/client-appsync 3.478.0 → 3.481.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (253) hide show
  1. package/dist-cjs/commands/AssociateApiCommand.js +18 -41
  2. package/dist-cjs/commands/AssociateMergedGraphqlApiCommand.js +18 -41
  3. package/dist-cjs/commands/AssociateSourceGraphqlApiCommand.js +18 -41
  4. package/dist-cjs/commands/CreateApiCacheCommand.js +18 -41
  5. package/dist-cjs/commands/CreateApiKeyCommand.js +18 -41
  6. package/dist-cjs/commands/CreateDataSourceCommand.js +18 -41
  7. package/dist-cjs/commands/CreateDomainNameCommand.js +18 -41
  8. package/dist-cjs/commands/CreateFunctionCommand.js +18 -41
  9. package/dist-cjs/commands/CreateGraphqlApiCommand.js +18 -41
  10. package/dist-cjs/commands/CreateResolverCommand.js +18 -41
  11. package/dist-cjs/commands/CreateTypeCommand.js +18 -41
  12. package/dist-cjs/commands/DeleteApiCacheCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteApiKeyCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteDataSourceCommand.js +18 -41
  15. package/dist-cjs/commands/DeleteDomainNameCommand.js +18 -41
  16. package/dist-cjs/commands/DeleteFunctionCommand.js +18 -41
  17. package/dist-cjs/commands/DeleteGraphqlApiCommand.js +18 -41
  18. package/dist-cjs/commands/DeleteResolverCommand.js +18 -41
  19. package/dist-cjs/commands/DeleteTypeCommand.js +18 -41
  20. package/dist-cjs/commands/DisassociateApiCommand.js +18 -41
  21. package/dist-cjs/commands/DisassociateMergedGraphqlApiCommand.js +18 -41
  22. package/dist-cjs/commands/DisassociateSourceGraphqlApiCommand.js +18 -41
  23. package/dist-cjs/commands/EvaluateCodeCommand.js +18 -41
  24. package/dist-cjs/commands/EvaluateMappingTemplateCommand.js +18 -41
  25. package/dist-cjs/commands/FlushApiCacheCommand.js +18 -41
  26. package/dist-cjs/commands/GetApiAssociationCommand.js +18 -41
  27. package/dist-cjs/commands/GetApiCacheCommand.js +18 -41
  28. package/dist-cjs/commands/GetDataSourceCommand.js +18 -41
  29. package/dist-cjs/commands/GetDataSourceIntrospectionCommand.js +18 -41
  30. package/dist-cjs/commands/GetDomainNameCommand.js +18 -41
  31. package/dist-cjs/commands/GetFunctionCommand.js +18 -41
  32. package/dist-cjs/commands/GetGraphqlApiCommand.js +18 -41
  33. package/dist-cjs/commands/GetIntrospectionSchemaCommand.js +18 -41
  34. package/dist-cjs/commands/GetResolverCommand.js +18 -41
  35. package/dist-cjs/commands/GetSchemaCreationStatusCommand.js +18 -41
  36. package/dist-cjs/commands/GetSourceApiAssociationCommand.js +18 -41
  37. package/dist-cjs/commands/GetTypeCommand.js +18 -41
  38. package/dist-cjs/commands/ListApiKeysCommand.js +18 -41
  39. package/dist-cjs/commands/ListDataSourcesCommand.js +18 -41
  40. package/dist-cjs/commands/ListDomainNamesCommand.js +18 -41
  41. package/dist-cjs/commands/ListFunctionsCommand.js +18 -41
  42. package/dist-cjs/commands/ListGraphqlApisCommand.js +18 -41
  43. package/dist-cjs/commands/ListResolversByFunctionCommand.js +18 -41
  44. package/dist-cjs/commands/ListResolversCommand.js +18 -41
  45. package/dist-cjs/commands/ListSourceApiAssociationsCommand.js +18 -41
  46. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  47. package/dist-cjs/commands/ListTypesByAssociationCommand.js +18 -41
  48. package/dist-cjs/commands/ListTypesCommand.js +18 -41
  49. package/dist-cjs/commands/StartDataSourceIntrospectionCommand.js +18 -41
  50. package/dist-cjs/commands/StartSchemaCreationCommand.js +18 -41
  51. package/dist-cjs/commands/StartSchemaMergeCommand.js +18 -41
  52. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  53. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  54. package/dist-cjs/commands/UpdateApiCacheCommand.js +18 -41
  55. package/dist-cjs/commands/UpdateApiKeyCommand.js +18 -41
  56. package/dist-cjs/commands/UpdateDataSourceCommand.js +18 -41
  57. package/dist-cjs/commands/UpdateDomainNameCommand.js +18 -41
  58. package/dist-cjs/commands/UpdateFunctionCommand.js +18 -41
  59. package/dist-cjs/commands/UpdateGraphqlApiCommand.js +18 -41
  60. package/dist-cjs/commands/UpdateResolverCommand.js +18 -41
  61. package/dist-cjs/commands/UpdateSourceApiAssociationCommand.js +18 -41
  62. package/dist-cjs/commands/UpdateTypeCommand.js +18 -41
  63. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  64. package/dist-es/commands/AssociateApiCommand.js +18 -41
  65. package/dist-es/commands/AssociateMergedGraphqlApiCommand.js +18 -41
  66. package/dist-es/commands/AssociateSourceGraphqlApiCommand.js +18 -41
  67. package/dist-es/commands/CreateApiCacheCommand.js +18 -41
  68. package/dist-es/commands/CreateApiKeyCommand.js +18 -41
  69. package/dist-es/commands/CreateDataSourceCommand.js +18 -41
  70. package/dist-es/commands/CreateDomainNameCommand.js +18 -41
  71. package/dist-es/commands/CreateFunctionCommand.js +18 -41
  72. package/dist-es/commands/CreateGraphqlApiCommand.js +18 -41
  73. package/dist-es/commands/CreateResolverCommand.js +18 -41
  74. package/dist-es/commands/CreateTypeCommand.js +18 -41
  75. package/dist-es/commands/DeleteApiCacheCommand.js +18 -41
  76. package/dist-es/commands/DeleteApiKeyCommand.js +18 -41
  77. package/dist-es/commands/DeleteDataSourceCommand.js +18 -41
  78. package/dist-es/commands/DeleteDomainNameCommand.js +18 -41
  79. package/dist-es/commands/DeleteFunctionCommand.js +18 -41
  80. package/dist-es/commands/DeleteGraphqlApiCommand.js +18 -41
  81. package/dist-es/commands/DeleteResolverCommand.js +18 -41
  82. package/dist-es/commands/DeleteTypeCommand.js +18 -41
  83. package/dist-es/commands/DisassociateApiCommand.js +18 -41
  84. package/dist-es/commands/DisassociateMergedGraphqlApiCommand.js +18 -41
  85. package/dist-es/commands/DisassociateSourceGraphqlApiCommand.js +18 -41
  86. package/dist-es/commands/EvaluateCodeCommand.js +18 -41
  87. package/dist-es/commands/EvaluateMappingTemplateCommand.js +18 -41
  88. package/dist-es/commands/FlushApiCacheCommand.js +18 -41
  89. package/dist-es/commands/GetApiAssociationCommand.js +18 -41
  90. package/dist-es/commands/GetApiCacheCommand.js +18 -41
  91. package/dist-es/commands/GetDataSourceCommand.js +18 -41
  92. package/dist-es/commands/GetDataSourceIntrospectionCommand.js +18 -41
  93. package/dist-es/commands/GetDomainNameCommand.js +18 -41
  94. package/dist-es/commands/GetFunctionCommand.js +18 -41
  95. package/dist-es/commands/GetGraphqlApiCommand.js +18 -41
  96. package/dist-es/commands/GetIntrospectionSchemaCommand.js +18 -41
  97. package/dist-es/commands/GetResolverCommand.js +18 -41
  98. package/dist-es/commands/GetSchemaCreationStatusCommand.js +18 -41
  99. package/dist-es/commands/GetSourceApiAssociationCommand.js +18 -41
  100. package/dist-es/commands/GetTypeCommand.js +18 -41
  101. package/dist-es/commands/ListApiKeysCommand.js +18 -41
  102. package/dist-es/commands/ListDataSourcesCommand.js +18 -41
  103. package/dist-es/commands/ListDomainNamesCommand.js +18 -41
  104. package/dist-es/commands/ListFunctionsCommand.js +18 -41
  105. package/dist-es/commands/ListGraphqlApisCommand.js +18 -41
  106. package/dist-es/commands/ListResolversByFunctionCommand.js +18 -41
  107. package/dist-es/commands/ListResolversCommand.js +18 -41
  108. package/dist-es/commands/ListSourceApiAssociationsCommand.js +18 -41
  109. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  110. package/dist-es/commands/ListTypesByAssociationCommand.js +18 -41
  111. package/dist-es/commands/ListTypesCommand.js +18 -41
  112. package/dist-es/commands/StartDataSourceIntrospectionCommand.js +18 -41
  113. package/dist-es/commands/StartSchemaCreationCommand.js +18 -41
  114. package/dist-es/commands/StartSchemaMergeCommand.js +18 -41
  115. package/dist-es/commands/TagResourceCommand.js +18 -41
  116. package/dist-es/commands/UntagResourceCommand.js +18 -41
  117. package/dist-es/commands/UpdateApiCacheCommand.js +18 -41
  118. package/dist-es/commands/UpdateApiKeyCommand.js +18 -41
  119. package/dist-es/commands/UpdateDataSourceCommand.js +18 -41
  120. package/dist-es/commands/UpdateDomainNameCommand.js +18 -41
  121. package/dist-es/commands/UpdateFunctionCommand.js +18 -41
  122. package/dist-es/commands/UpdateGraphqlApiCommand.js +18 -41
  123. package/dist-es/commands/UpdateResolverCommand.js +18 -41
  124. package/dist-es/commands/UpdateSourceApiAssociationCommand.js +18 -41
  125. package/dist-es/commands/UpdateTypeCommand.js +18 -41
  126. package/dist-es/endpoint/EndpointParameters.js +6 -0
  127. package/dist-types/commands/AssociateApiCommand.d.ts +6 -21
  128. package/dist-types/commands/AssociateMergedGraphqlApiCommand.d.ts +6 -21
  129. package/dist-types/commands/AssociateSourceGraphqlApiCommand.d.ts +6 -21
  130. package/dist-types/commands/CreateApiCacheCommand.d.ts +6 -21
  131. package/dist-types/commands/CreateApiKeyCommand.d.ts +6 -21
  132. package/dist-types/commands/CreateDataSourceCommand.d.ts +6 -21
  133. package/dist-types/commands/CreateDomainNameCommand.d.ts +6 -21
  134. package/dist-types/commands/CreateFunctionCommand.d.ts +6 -21
  135. package/dist-types/commands/CreateGraphqlApiCommand.d.ts +6 -21
  136. package/dist-types/commands/CreateResolverCommand.d.ts +6 -21
  137. package/dist-types/commands/CreateTypeCommand.d.ts +6 -21
  138. package/dist-types/commands/DeleteApiCacheCommand.d.ts +6 -21
  139. package/dist-types/commands/DeleteApiKeyCommand.d.ts +6 -21
  140. package/dist-types/commands/DeleteDataSourceCommand.d.ts +6 -21
  141. package/dist-types/commands/DeleteDomainNameCommand.d.ts +6 -21
  142. package/dist-types/commands/DeleteFunctionCommand.d.ts +6 -21
  143. package/dist-types/commands/DeleteGraphqlApiCommand.d.ts +6 -21
  144. package/dist-types/commands/DeleteResolverCommand.d.ts +6 -21
  145. package/dist-types/commands/DeleteTypeCommand.d.ts +6 -21
  146. package/dist-types/commands/DisassociateApiCommand.d.ts +6 -21
  147. package/dist-types/commands/DisassociateMergedGraphqlApiCommand.d.ts +6 -21
  148. package/dist-types/commands/DisassociateSourceGraphqlApiCommand.d.ts +6 -21
  149. package/dist-types/commands/EvaluateCodeCommand.d.ts +6 -21
  150. package/dist-types/commands/EvaluateMappingTemplateCommand.d.ts +6 -21
  151. package/dist-types/commands/FlushApiCacheCommand.d.ts +6 -21
  152. package/dist-types/commands/GetApiAssociationCommand.d.ts +6 -21
  153. package/dist-types/commands/GetApiCacheCommand.d.ts +6 -21
  154. package/dist-types/commands/GetDataSourceCommand.d.ts +6 -21
  155. package/dist-types/commands/GetDataSourceIntrospectionCommand.d.ts +6 -21
  156. package/dist-types/commands/GetDomainNameCommand.d.ts +6 -21
  157. package/dist-types/commands/GetFunctionCommand.d.ts +6 -21
  158. package/dist-types/commands/GetGraphqlApiCommand.d.ts +6 -21
  159. package/dist-types/commands/GetIntrospectionSchemaCommand.d.ts +6 -21
  160. package/dist-types/commands/GetResolverCommand.d.ts +6 -21
  161. package/dist-types/commands/GetSchemaCreationStatusCommand.d.ts +6 -21
  162. package/dist-types/commands/GetSourceApiAssociationCommand.d.ts +6 -21
  163. package/dist-types/commands/GetTypeCommand.d.ts +6 -21
  164. package/dist-types/commands/ListApiKeysCommand.d.ts +6 -21
  165. package/dist-types/commands/ListDataSourcesCommand.d.ts +6 -21
  166. package/dist-types/commands/ListDomainNamesCommand.d.ts +6 -21
  167. package/dist-types/commands/ListFunctionsCommand.d.ts +6 -21
  168. package/dist-types/commands/ListGraphqlApisCommand.d.ts +6 -21
  169. package/dist-types/commands/ListResolversByFunctionCommand.d.ts +6 -21
  170. package/dist-types/commands/ListResolversCommand.d.ts +6 -21
  171. package/dist-types/commands/ListSourceApiAssociationsCommand.d.ts +6 -21
  172. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  173. package/dist-types/commands/ListTypesByAssociationCommand.d.ts +6 -21
  174. package/dist-types/commands/ListTypesCommand.d.ts +6 -21
  175. package/dist-types/commands/StartDataSourceIntrospectionCommand.d.ts +6 -21
  176. package/dist-types/commands/StartSchemaCreationCommand.d.ts +6 -21
  177. package/dist-types/commands/StartSchemaMergeCommand.d.ts +6 -21
  178. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  179. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  180. package/dist-types/commands/UpdateApiCacheCommand.d.ts +6 -21
  181. package/dist-types/commands/UpdateApiKeyCommand.d.ts +6 -21
  182. package/dist-types/commands/UpdateDataSourceCommand.d.ts +6 -21
  183. package/dist-types/commands/UpdateDomainNameCommand.d.ts +6 -21
  184. package/dist-types/commands/UpdateFunctionCommand.d.ts +6 -21
  185. package/dist-types/commands/UpdateGraphqlApiCommand.d.ts +6 -21
  186. package/dist-types/commands/UpdateResolverCommand.d.ts +6 -21
  187. package/dist-types/commands/UpdateSourceApiAssociationCommand.d.ts +6 -21
  188. package/dist-types/commands/UpdateTypeCommand.d.ts +6 -21
  189. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  190. package/dist-types/ts3.4/commands/AssociateApiCommand.d.ts +14 -23
  191. package/dist-types/ts3.4/commands/AssociateMergedGraphqlApiCommand.d.ts +12 -24
  192. package/dist-types/ts3.4/commands/AssociateSourceGraphqlApiCommand.d.ts +12 -24
  193. package/dist-types/ts3.4/commands/CreateApiCacheCommand.d.ts +14 -23
  194. package/dist-types/ts3.4/commands/CreateApiKeyCommand.d.ts +14 -23
  195. package/dist-types/ts3.4/commands/CreateDataSourceCommand.d.ts +14 -23
  196. package/dist-types/ts3.4/commands/CreateDomainNameCommand.d.ts +14 -23
  197. package/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts +14 -23
  198. package/dist-types/ts3.4/commands/CreateGraphqlApiCommand.d.ts +14 -23
  199. package/dist-types/ts3.4/commands/CreateResolverCommand.d.ts +14 -23
  200. package/dist-types/ts3.4/commands/CreateTypeCommand.d.ts +14 -23
  201. package/dist-types/ts3.4/commands/DeleteApiCacheCommand.d.ts +14 -23
  202. package/dist-types/ts3.4/commands/DeleteApiKeyCommand.d.ts +14 -23
  203. package/dist-types/ts3.4/commands/DeleteDataSourceCommand.d.ts +14 -23
  204. package/dist-types/ts3.4/commands/DeleteDomainNameCommand.d.ts +14 -23
  205. package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +14 -23
  206. package/dist-types/ts3.4/commands/DeleteGraphqlApiCommand.d.ts +14 -23
  207. package/dist-types/ts3.4/commands/DeleteResolverCommand.d.ts +14 -23
  208. package/dist-types/ts3.4/commands/DeleteTypeCommand.d.ts +14 -23
  209. package/dist-types/ts3.4/commands/DisassociateApiCommand.d.ts +14 -23
  210. package/dist-types/ts3.4/commands/DisassociateMergedGraphqlApiCommand.d.ts +12 -24
  211. package/dist-types/ts3.4/commands/DisassociateSourceGraphqlApiCommand.d.ts +12 -24
  212. package/dist-types/ts3.4/commands/EvaluateCodeCommand.d.ts +14 -23
  213. package/dist-types/ts3.4/commands/EvaluateMappingTemplateCommand.d.ts +12 -24
  214. package/dist-types/ts3.4/commands/FlushApiCacheCommand.d.ts +14 -23
  215. package/dist-types/ts3.4/commands/GetApiAssociationCommand.d.ts +14 -23
  216. package/dist-types/ts3.4/commands/GetApiCacheCommand.d.ts +14 -23
  217. package/dist-types/ts3.4/commands/GetDataSourceCommand.d.ts +14 -23
  218. package/dist-types/ts3.4/commands/GetDataSourceIntrospectionCommand.d.ts +12 -24
  219. package/dist-types/ts3.4/commands/GetDomainNameCommand.d.ts +14 -23
  220. package/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +14 -23
  221. package/dist-types/ts3.4/commands/GetGraphqlApiCommand.d.ts +14 -23
  222. package/dist-types/ts3.4/commands/GetIntrospectionSchemaCommand.d.ts +12 -24
  223. package/dist-types/ts3.4/commands/GetResolverCommand.d.ts +14 -23
  224. package/dist-types/ts3.4/commands/GetSchemaCreationStatusCommand.d.ts +12 -24
  225. package/dist-types/ts3.4/commands/GetSourceApiAssociationCommand.d.ts +12 -24
  226. package/dist-types/ts3.4/commands/GetTypeCommand.d.ts +12 -23
  227. package/dist-types/ts3.4/commands/ListApiKeysCommand.d.ts +14 -23
  228. package/dist-types/ts3.4/commands/ListDataSourcesCommand.d.ts +14 -23
  229. package/dist-types/ts3.4/commands/ListDomainNamesCommand.d.ts +14 -23
  230. package/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +14 -23
  231. package/dist-types/ts3.4/commands/ListGraphqlApisCommand.d.ts +14 -23
  232. package/dist-types/ts3.4/commands/ListResolversByFunctionCommand.d.ts +12 -24
  233. package/dist-types/ts3.4/commands/ListResolversCommand.d.ts +14 -23
  234. package/dist-types/ts3.4/commands/ListSourceApiAssociationsCommand.d.ts +12 -24
  235. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  236. package/dist-types/ts3.4/commands/ListTypesByAssociationCommand.d.ts +12 -24
  237. package/dist-types/ts3.4/commands/ListTypesCommand.d.ts +14 -23
  238. package/dist-types/ts3.4/commands/StartDataSourceIntrospectionCommand.d.ts +12 -24
  239. package/dist-types/ts3.4/commands/StartSchemaCreationCommand.d.ts +14 -23
  240. package/dist-types/ts3.4/commands/StartSchemaMergeCommand.d.ts +14 -23
  241. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  242. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  243. package/dist-types/ts3.4/commands/UpdateApiCacheCommand.d.ts +14 -23
  244. package/dist-types/ts3.4/commands/UpdateApiKeyCommand.d.ts +14 -23
  245. package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +14 -23
  246. package/dist-types/ts3.4/commands/UpdateDomainNameCommand.d.ts +14 -23
  247. package/dist-types/ts3.4/commands/UpdateFunctionCommand.d.ts +14 -23
  248. package/dist-types/ts3.4/commands/UpdateGraphqlApiCommand.d.ts +14 -23
  249. package/dist-types/ts3.4/commands/UpdateResolverCommand.d.ts +14 -23
  250. package/dist-types/ts3.4/commands/UpdateSourceApiAssociationCommand.d.ts +12 -24
  251. package/dist-types/ts3.4/commands/UpdateTypeCommand.d.ts +14 -23
  252. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  253. package/package.json +9 -9
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class AssociateApiCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssociateApiCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "AppSyncClient";
29
- const commandName = "AssociateApiCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSDeepdishControlPlaneService",
38
- operation: "AssociateApi",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_AssociateApiCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_AssociateApiCommand)(output, context);
49
- }
10
+ class AssociateApiCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSDeepdishControlPlaneService", "AssociateApi", {})
22
+ .n("AppSyncClient", "AssociateApiCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_AssociateApiCommand)
25
+ .de(Aws_restJson1_1.de_AssociateApiCommand)
26
+ .build() {
50
27
  }
51
28
  exports.AssociateApiCommand = AssociateApiCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class AssociateMergedGraphqlApiCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssociateMergedGraphqlApiCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "AppSyncClient";
29
- const commandName = "AssociateMergedGraphqlApiCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSDeepdishControlPlaneService",
38
- operation: "AssociateMergedGraphqlApi",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_AssociateMergedGraphqlApiCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_AssociateMergedGraphqlApiCommand)(output, context);
49
- }
10
+ class AssociateMergedGraphqlApiCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSDeepdishControlPlaneService", "AssociateMergedGraphqlApi", {})
22
+ .n("AppSyncClient", "AssociateMergedGraphqlApiCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_AssociateMergedGraphqlApiCommand)
25
+ .de(Aws_restJson1_1.de_AssociateMergedGraphqlApiCommand)
26
+ .build() {
50
27
  }
51
28
  exports.AssociateMergedGraphqlApiCommand = AssociateMergedGraphqlApiCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class AssociateSourceGraphqlApiCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssociateSourceGraphqlApiCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "AppSyncClient";
29
- const commandName = "AssociateSourceGraphqlApiCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSDeepdishControlPlaneService",
38
- operation: "AssociateSourceGraphqlApi",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_AssociateSourceGraphqlApiCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_AssociateSourceGraphqlApiCommand)(output, context);
49
- }
10
+ class AssociateSourceGraphqlApiCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSDeepdishControlPlaneService", "AssociateSourceGraphqlApi", {})
22
+ .n("AppSyncClient", "AssociateSourceGraphqlApiCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_AssociateSourceGraphqlApiCommand)
25
+ .de(Aws_restJson1_1.de_AssociateSourceGraphqlApiCommand)
26
+ .build() {
50
27
  }
51
28
  exports.AssociateSourceGraphqlApiCommand = AssociateSourceGraphqlApiCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class CreateApiCacheCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateApiCacheCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "AppSyncClient";
29
- const commandName = "CreateApiCacheCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSDeepdishControlPlaneService",
38
- operation: "CreateApiCache",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_CreateApiCacheCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_CreateApiCacheCommand)(output, context);
49
- }
10
+ class CreateApiCacheCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSDeepdishControlPlaneService", "CreateApiCache", {})
22
+ .n("AppSyncClient", "CreateApiCacheCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_CreateApiCacheCommand)
25
+ .de(Aws_restJson1_1.de_CreateApiCacheCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateApiCacheCommand = CreateApiCacheCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class CreateApiKeyCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateApiKeyCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "AppSyncClient";
29
- const commandName = "CreateApiKeyCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSDeepdishControlPlaneService",
38
- operation: "CreateApiKey",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_CreateApiKeyCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_CreateApiKeyCommand)(output, context);
49
- }
10
+ class CreateApiKeyCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSDeepdishControlPlaneService", "CreateApiKey", {})
22
+ .n("AppSyncClient", "CreateApiKeyCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_CreateApiKeyCommand)
25
+ .de(Aws_restJson1_1.de_CreateApiKeyCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateApiKeyCommand = CreateApiKeyCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class CreateDataSourceCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateDataSourceCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "AppSyncClient";
29
- const commandName = "CreateDataSourceCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSDeepdishControlPlaneService",
38
- operation: "CreateDataSource",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_CreateDataSourceCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_CreateDataSourceCommand)(output, context);
49
- }
10
+ class CreateDataSourceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSDeepdishControlPlaneService", "CreateDataSource", {})
22
+ .n("AppSyncClient", "CreateDataSourceCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_CreateDataSourceCommand)
25
+ .de(Aws_restJson1_1.de_CreateDataSourceCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateDataSourceCommand = CreateDataSourceCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class CreateDomainNameCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateDomainNameCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "AppSyncClient";
29
- const commandName = "CreateDomainNameCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSDeepdishControlPlaneService",
38
- operation: "CreateDomainName",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_CreateDomainNameCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_CreateDomainNameCommand)(output, context);
49
- }
10
+ class CreateDomainNameCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSDeepdishControlPlaneService", "CreateDomainName", {})
22
+ .n("AppSyncClient", "CreateDomainNameCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_CreateDomainNameCommand)
25
+ .de(Aws_restJson1_1.de_CreateDomainNameCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateDomainNameCommand = CreateDomainNameCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class CreateFunctionCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateFunctionCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "AppSyncClient";
29
- const commandName = "CreateFunctionCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSDeepdishControlPlaneService",
38
- operation: "CreateFunction",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_CreateFunctionCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_CreateFunctionCommand)(output, context);
49
- }
10
+ class CreateFunctionCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSDeepdishControlPlaneService", "CreateFunction", {})
22
+ .n("AppSyncClient", "CreateFunctionCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_CreateFunctionCommand)
25
+ .de(Aws_restJson1_1.de_CreateFunctionCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateFunctionCommand = CreateFunctionCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class CreateGraphqlApiCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateGraphqlApiCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "AppSyncClient";
29
- const commandName = "CreateGraphqlApiCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSDeepdishControlPlaneService",
38
- operation: "CreateGraphqlApi",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_CreateGraphqlApiCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_CreateGraphqlApiCommand)(output, context);
49
- }
10
+ class CreateGraphqlApiCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSDeepdishControlPlaneService", "CreateGraphqlApi", {})
22
+ .n("AppSyncClient", "CreateGraphqlApiCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_CreateGraphqlApiCommand)
25
+ .de(Aws_restJson1_1.de_CreateGraphqlApiCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateGraphqlApiCommand = CreateGraphqlApiCommand;