@aws-sdk/client-appsync 3.35.0 → 3.36.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 (266) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist-cjs/AppSync.js +0 -1
  3. package/dist-cjs/AppSyncClient.js +0 -1
  4. package/dist-cjs/commands/CreateApiCacheCommand.js +0 -1
  5. package/dist-cjs/commands/CreateApiKeyCommand.js +0 -1
  6. package/dist-cjs/commands/CreateDataSourceCommand.js +0 -1
  7. package/dist-cjs/commands/CreateFunctionCommand.js +0 -1
  8. package/dist-cjs/commands/CreateGraphqlApiCommand.js +0 -1
  9. package/dist-cjs/commands/CreateResolverCommand.js +0 -1
  10. package/dist-cjs/commands/CreateTypeCommand.js +0 -1
  11. package/dist-cjs/commands/DeleteApiCacheCommand.js +0 -1
  12. package/dist-cjs/commands/DeleteApiKeyCommand.js +0 -1
  13. package/dist-cjs/commands/DeleteDataSourceCommand.js +0 -1
  14. package/dist-cjs/commands/DeleteFunctionCommand.js +0 -1
  15. package/dist-cjs/commands/DeleteGraphqlApiCommand.js +0 -1
  16. package/dist-cjs/commands/DeleteResolverCommand.js +0 -1
  17. package/dist-cjs/commands/DeleteTypeCommand.js +0 -1
  18. package/dist-cjs/commands/FlushApiCacheCommand.js +0 -1
  19. package/dist-cjs/commands/GetApiCacheCommand.js +0 -1
  20. package/dist-cjs/commands/GetDataSourceCommand.js +0 -1
  21. package/dist-cjs/commands/GetFunctionCommand.js +0 -1
  22. package/dist-cjs/commands/GetGraphqlApiCommand.js +0 -1
  23. package/dist-cjs/commands/GetIntrospectionSchemaCommand.js +0 -1
  24. package/dist-cjs/commands/GetResolverCommand.js +0 -1
  25. package/dist-cjs/commands/GetSchemaCreationStatusCommand.js +0 -1
  26. package/dist-cjs/commands/GetTypeCommand.js +0 -1
  27. package/dist-cjs/commands/ListApiKeysCommand.js +0 -1
  28. package/dist-cjs/commands/ListDataSourcesCommand.js +0 -1
  29. package/dist-cjs/commands/ListFunctionsCommand.js +0 -1
  30. package/dist-cjs/commands/ListGraphqlApisCommand.js +0 -1
  31. package/dist-cjs/commands/ListResolversByFunctionCommand.js +0 -1
  32. package/dist-cjs/commands/ListResolversCommand.js +0 -1
  33. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
  34. package/dist-cjs/commands/ListTypesCommand.js +0 -1
  35. package/dist-cjs/commands/StartSchemaCreationCommand.js +0 -1
  36. package/dist-cjs/commands/TagResourceCommand.js +0 -1
  37. package/dist-cjs/commands/UntagResourceCommand.js +0 -1
  38. package/dist-cjs/commands/UpdateApiCacheCommand.js +0 -1
  39. package/dist-cjs/commands/UpdateApiKeyCommand.js +0 -1
  40. package/dist-cjs/commands/UpdateDataSourceCommand.js +0 -1
  41. package/dist-cjs/commands/UpdateFunctionCommand.js +0 -1
  42. package/dist-cjs/commands/UpdateGraphqlApiCommand.js +0 -1
  43. package/dist-cjs/commands/UpdateResolverCommand.js +0 -1
  44. package/dist-cjs/commands/UpdateTypeCommand.js +0 -1
  45. package/dist-cjs/endpoints.js +0 -1
  46. package/dist-cjs/index.js +0 -1
  47. package/dist-cjs/models/index.js +0 -1
  48. package/dist-cjs/models/models_0.js +0 -1
  49. package/dist-cjs/protocols/Aws_restJson1.js +0 -1
  50. package/dist-cjs/runtimeConfig.browser.js +2 -3
  51. package/dist-cjs/runtimeConfig.js +3 -4
  52. package/dist-cjs/runtimeConfig.native.js +0 -1
  53. package/dist-cjs/runtimeConfig.shared.js +0 -1
  54. package/dist-es/AppSync.js +0 -1
  55. package/dist-es/AppSyncClient.js +0 -1
  56. package/dist-es/commands/CreateApiCacheCommand.js +0 -1
  57. package/dist-es/commands/CreateApiKeyCommand.js +0 -1
  58. package/dist-es/commands/CreateDataSourceCommand.js +0 -1
  59. package/dist-es/commands/CreateFunctionCommand.js +0 -1
  60. package/dist-es/commands/CreateGraphqlApiCommand.js +0 -1
  61. package/dist-es/commands/CreateResolverCommand.js +0 -1
  62. package/dist-es/commands/CreateTypeCommand.js +0 -1
  63. package/dist-es/commands/DeleteApiCacheCommand.js +0 -1
  64. package/dist-es/commands/DeleteApiKeyCommand.js +0 -1
  65. package/dist-es/commands/DeleteDataSourceCommand.js +0 -1
  66. package/dist-es/commands/DeleteFunctionCommand.js +0 -1
  67. package/dist-es/commands/DeleteGraphqlApiCommand.js +0 -1
  68. package/dist-es/commands/DeleteResolverCommand.js +0 -1
  69. package/dist-es/commands/DeleteTypeCommand.js +0 -1
  70. package/dist-es/commands/FlushApiCacheCommand.js +0 -1
  71. package/dist-es/commands/GetApiCacheCommand.js +0 -1
  72. package/dist-es/commands/GetDataSourceCommand.js +0 -1
  73. package/dist-es/commands/GetFunctionCommand.js +0 -1
  74. package/dist-es/commands/GetGraphqlApiCommand.js +0 -1
  75. package/dist-es/commands/GetIntrospectionSchemaCommand.js +0 -1
  76. package/dist-es/commands/GetResolverCommand.js +0 -1
  77. package/dist-es/commands/GetSchemaCreationStatusCommand.js +0 -1
  78. package/dist-es/commands/GetTypeCommand.js +0 -1
  79. package/dist-es/commands/ListApiKeysCommand.js +0 -1
  80. package/dist-es/commands/ListDataSourcesCommand.js +0 -1
  81. package/dist-es/commands/ListFunctionsCommand.js +0 -1
  82. package/dist-es/commands/ListGraphqlApisCommand.js +0 -1
  83. package/dist-es/commands/ListResolversByFunctionCommand.js +0 -1
  84. package/dist-es/commands/ListResolversCommand.js +0 -1
  85. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  86. package/dist-es/commands/ListTypesCommand.js +0 -1
  87. package/dist-es/commands/StartSchemaCreationCommand.js +0 -1
  88. package/dist-es/commands/TagResourceCommand.js +0 -1
  89. package/dist-es/commands/UntagResourceCommand.js +0 -1
  90. package/dist-es/commands/UpdateApiCacheCommand.js +0 -1
  91. package/dist-es/commands/UpdateApiKeyCommand.js +0 -1
  92. package/dist-es/commands/UpdateDataSourceCommand.js +0 -1
  93. package/dist-es/commands/UpdateFunctionCommand.js +0 -1
  94. package/dist-es/commands/UpdateGraphqlApiCommand.js +0 -1
  95. package/dist-es/commands/UpdateResolverCommand.js +0 -1
  96. package/dist-es/commands/UpdateTypeCommand.js +0 -1
  97. package/dist-es/endpoints.js +0 -1
  98. package/dist-es/index.js +0 -1
  99. package/dist-es/models/index.js +0 -1
  100. package/dist-es/models/models_0.js +0 -1
  101. package/dist-es/protocols/Aws_restJson1.js +0 -1
  102. package/dist-es/runtimeConfig.browser.js +1 -2
  103. package/dist-es/runtimeConfig.js +2 -3
  104. package/dist-es/runtimeConfig.native.js +0 -1
  105. package/dist-es/runtimeConfig.shared.js +0 -1
  106. package/package.json +33 -30
  107. package/dist-cjs/AppSync.js.map +0 -1
  108. package/dist-cjs/AppSyncClient.js.map +0 -1
  109. package/dist-cjs/commands/CreateApiCacheCommand.js.map +0 -1
  110. package/dist-cjs/commands/CreateApiKeyCommand.js.map +0 -1
  111. package/dist-cjs/commands/CreateDataSourceCommand.js.map +0 -1
  112. package/dist-cjs/commands/CreateFunctionCommand.js.map +0 -1
  113. package/dist-cjs/commands/CreateGraphqlApiCommand.js.map +0 -1
  114. package/dist-cjs/commands/CreateResolverCommand.js.map +0 -1
  115. package/dist-cjs/commands/CreateTypeCommand.js.map +0 -1
  116. package/dist-cjs/commands/DeleteApiCacheCommand.js.map +0 -1
  117. package/dist-cjs/commands/DeleteApiKeyCommand.js.map +0 -1
  118. package/dist-cjs/commands/DeleteDataSourceCommand.js.map +0 -1
  119. package/dist-cjs/commands/DeleteFunctionCommand.js.map +0 -1
  120. package/dist-cjs/commands/DeleteGraphqlApiCommand.js.map +0 -1
  121. package/dist-cjs/commands/DeleteResolverCommand.js.map +0 -1
  122. package/dist-cjs/commands/DeleteTypeCommand.js.map +0 -1
  123. package/dist-cjs/commands/FlushApiCacheCommand.js.map +0 -1
  124. package/dist-cjs/commands/GetApiCacheCommand.js.map +0 -1
  125. package/dist-cjs/commands/GetDataSourceCommand.js.map +0 -1
  126. package/dist-cjs/commands/GetFunctionCommand.js.map +0 -1
  127. package/dist-cjs/commands/GetGraphqlApiCommand.js.map +0 -1
  128. package/dist-cjs/commands/GetIntrospectionSchemaCommand.js.map +0 -1
  129. package/dist-cjs/commands/GetResolverCommand.js.map +0 -1
  130. package/dist-cjs/commands/GetSchemaCreationStatusCommand.js.map +0 -1
  131. package/dist-cjs/commands/GetTypeCommand.js.map +0 -1
  132. package/dist-cjs/commands/ListApiKeysCommand.js.map +0 -1
  133. package/dist-cjs/commands/ListDataSourcesCommand.js.map +0 -1
  134. package/dist-cjs/commands/ListFunctionsCommand.js.map +0 -1
  135. package/dist-cjs/commands/ListGraphqlApisCommand.js.map +0 -1
  136. package/dist-cjs/commands/ListResolversByFunctionCommand.js.map +0 -1
  137. package/dist-cjs/commands/ListResolversCommand.js.map +0 -1
  138. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  139. package/dist-cjs/commands/ListTypesCommand.js.map +0 -1
  140. package/dist-cjs/commands/StartSchemaCreationCommand.js.map +0 -1
  141. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  142. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  143. package/dist-cjs/commands/UpdateApiCacheCommand.js.map +0 -1
  144. package/dist-cjs/commands/UpdateApiKeyCommand.js.map +0 -1
  145. package/dist-cjs/commands/UpdateDataSourceCommand.js.map +0 -1
  146. package/dist-cjs/commands/UpdateFunctionCommand.js.map +0 -1
  147. package/dist-cjs/commands/UpdateGraphqlApiCommand.js.map +0 -1
  148. package/dist-cjs/commands/UpdateResolverCommand.js.map +0 -1
  149. package/dist-cjs/commands/UpdateTypeCommand.js.map +0 -1
  150. package/dist-cjs/endpoints.js.map +0 -1
  151. package/dist-cjs/index.js.map +0 -1
  152. package/dist-cjs/models/index.js.map +0 -1
  153. package/dist-cjs/models/models_0.js.map +0 -1
  154. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  155. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  156. package/dist-cjs/runtimeConfig.js.map +0 -1
  157. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  158. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  159. package/dist-es/AppSync.js.map +0 -1
  160. package/dist-es/AppSyncClient.js.map +0 -1
  161. package/dist-es/commands/CreateApiCacheCommand.js.map +0 -1
  162. package/dist-es/commands/CreateApiKeyCommand.js.map +0 -1
  163. package/dist-es/commands/CreateDataSourceCommand.js.map +0 -1
  164. package/dist-es/commands/CreateFunctionCommand.js.map +0 -1
  165. package/dist-es/commands/CreateGraphqlApiCommand.js.map +0 -1
  166. package/dist-es/commands/CreateResolverCommand.js.map +0 -1
  167. package/dist-es/commands/CreateTypeCommand.js.map +0 -1
  168. package/dist-es/commands/DeleteApiCacheCommand.js.map +0 -1
  169. package/dist-es/commands/DeleteApiKeyCommand.js.map +0 -1
  170. package/dist-es/commands/DeleteDataSourceCommand.js.map +0 -1
  171. package/dist-es/commands/DeleteFunctionCommand.js.map +0 -1
  172. package/dist-es/commands/DeleteGraphqlApiCommand.js.map +0 -1
  173. package/dist-es/commands/DeleteResolverCommand.js.map +0 -1
  174. package/dist-es/commands/DeleteTypeCommand.js.map +0 -1
  175. package/dist-es/commands/FlushApiCacheCommand.js.map +0 -1
  176. package/dist-es/commands/GetApiCacheCommand.js.map +0 -1
  177. package/dist-es/commands/GetDataSourceCommand.js.map +0 -1
  178. package/dist-es/commands/GetFunctionCommand.js.map +0 -1
  179. package/dist-es/commands/GetGraphqlApiCommand.js.map +0 -1
  180. package/dist-es/commands/GetIntrospectionSchemaCommand.js.map +0 -1
  181. package/dist-es/commands/GetResolverCommand.js.map +0 -1
  182. package/dist-es/commands/GetSchemaCreationStatusCommand.js.map +0 -1
  183. package/dist-es/commands/GetTypeCommand.js.map +0 -1
  184. package/dist-es/commands/ListApiKeysCommand.js.map +0 -1
  185. package/dist-es/commands/ListDataSourcesCommand.js.map +0 -1
  186. package/dist-es/commands/ListFunctionsCommand.js.map +0 -1
  187. package/dist-es/commands/ListGraphqlApisCommand.js.map +0 -1
  188. package/dist-es/commands/ListResolversByFunctionCommand.js.map +0 -1
  189. package/dist-es/commands/ListResolversCommand.js.map +0 -1
  190. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  191. package/dist-es/commands/ListTypesCommand.js.map +0 -1
  192. package/dist-es/commands/StartSchemaCreationCommand.js.map +0 -1
  193. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  194. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  195. package/dist-es/commands/UpdateApiCacheCommand.js.map +0 -1
  196. package/dist-es/commands/UpdateApiKeyCommand.js.map +0 -1
  197. package/dist-es/commands/UpdateDataSourceCommand.js.map +0 -1
  198. package/dist-es/commands/UpdateFunctionCommand.js.map +0 -1
  199. package/dist-es/commands/UpdateGraphqlApiCommand.js.map +0 -1
  200. package/dist-es/commands/UpdateResolverCommand.js.map +0 -1
  201. package/dist-es/commands/UpdateTypeCommand.js.map +0 -1
  202. package/dist-es/endpoints.js.map +0 -1
  203. package/dist-es/index.js.map +0 -1
  204. package/dist-es/models/index.js.map +0 -1
  205. package/dist-es/models/models_0.js.map +0 -1
  206. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  207. package/dist-es/runtimeConfig.browser.js.map +0 -1
  208. package/dist-es/runtimeConfig.js.map +0 -1
  209. package/dist-es/runtimeConfig.native.js.map +0 -1
  210. package/dist-es/runtimeConfig.shared.js.map +0 -1
  211. package/jest.config.js +0 -4
  212. package/src/AppSync.ts +0 -1430
  213. package/src/AppSyncClient.ts +0 -375
  214. package/src/commands/CreateApiCacheCommand.ts +0 -95
  215. package/src/commands/CreateApiKeyCommand.ts +0 -96
  216. package/src/commands/CreateDataSourceCommand.ts +0 -95
  217. package/src/commands/CreateFunctionCommand.ts +0 -97
  218. package/src/commands/CreateGraphqlApiCommand.ts +0 -95
  219. package/src/commands/CreateResolverCommand.ts +0 -97
  220. package/src/commands/CreateTypeCommand.ts +0 -95
  221. package/src/commands/DeleteApiCacheCommand.ts +0 -95
  222. package/src/commands/DeleteApiKeyCommand.ts +0 -95
  223. package/src/commands/DeleteDataSourceCommand.ts +0 -95
  224. package/src/commands/DeleteFunctionCommand.ts +0 -95
  225. package/src/commands/DeleteGraphqlApiCommand.ts +0 -95
  226. package/src/commands/DeleteResolverCommand.ts +0 -95
  227. package/src/commands/DeleteTypeCommand.ts +0 -95
  228. package/src/commands/FlushApiCacheCommand.ts +0 -95
  229. package/src/commands/GetApiCacheCommand.ts +0 -95
  230. package/src/commands/GetDataSourceCommand.ts +0 -95
  231. package/src/commands/GetFunctionCommand.ts +0 -95
  232. package/src/commands/GetGraphqlApiCommand.ts +0 -95
  233. package/src/commands/GetIntrospectionSchemaCommand.ts +0 -95
  234. package/src/commands/GetResolverCommand.ts +0 -95
  235. package/src/commands/GetSchemaCreationStatusCommand.ts +0 -95
  236. package/src/commands/GetTypeCommand.ts +0 -91
  237. package/src/commands/ListApiKeysCommand.ts +0 -101
  238. package/src/commands/ListDataSourcesCommand.ts +0 -95
  239. package/src/commands/ListFunctionsCommand.ts +0 -95
  240. package/src/commands/ListGraphqlApisCommand.ts +0 -95
  241. package/src/commands/ListResolversByFunctionCommand.ts +0 -95
  242. package/src/commands/ListResolversCommand.ts +0 -95
  243. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  244. package/src/commands/ListTypesCommand.ts +0 -95
  245. package/src/commands/StartSchemaCreationCommand.ts +0 -97
  246. package/src/commands/TagResourceCommand.ts +0 -95
  247. package/src/commands/UntagResourceCommand.ts +0 -95
  248. package/src/commands/UpdateApiCacheCommand.ts +0 -95
  249. package/src/commands/UpdateApiKeyCommand.ts +0 -95
  250. package/src/commands/UpdateDataSourceCommand.ts +0 -95
  251. package/src/commands/UpdateFunctionCommand.ts +0 -95
  252. package/src/commands/UpdateGraphqlApiCommand.ts +0 -95
  253. package/src/commands/UpdateResolverCommand.ts +0 -95
  254. package/src/commands/UpdateTypeCommand.ts +0 -95
  255. package/src/endpoints.ts +0 -57
  256. package/src/index.ts +0 -44
  257. package/src/models/index.ts +0 -1
  258. package/src/models/models_0.ts +0 -3799
  259. package/src/protocols/Aws_restJson1.ts +0 -6249
  260. package/src/runtimeConfig.browser.ts +0 -41
  261. package/src/runtimeConfig.native.ts +0 -17
  262. package/src/runtimeConfig.shared.ts +0 -17
  263. package/src/runtimeConfig.ts +0 -46
  264. package/tsconfig.es.json +0 -10
  265. package/tsconfig.json +0 -33
  266. package/tsconfig.types.json +0 -9
@@ -1,97 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
15
- import { StartSchemaCreationRequest, StartSchemaCreationResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1StartSchemaCreationCommand,
18
- serializeAws_restJson1StartSchemaCreationCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface StartSchemaCreationCommandInput extends StartSchemaCreationRequest {}
22
- export interface StartSchemaCreationCommandOutput extends StartSchemaCreationResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Adds a new schema to your GraphQL API.</p>
26
- * <p>This operation is asynchronous. Use to
27
- * determine when it has completed.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { AppSyncClient, StartSchemaCreationCommand } from "@aws-sdk/client-appsync"; // ES Modules import
32
- * // const { AppSyncClient, StartSchemaCreationCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
33
- * const client = new AppSyncClient(config);
34
- * const command = new StartSchemaCreationCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link StartSchemaCreationCommandInput} for command's `input` shape.
39
- * @see {@link StartSchemaCreationCommandOutput} for command's `response` shape.
40
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class StartSchemaCreationCommand extends $Command<
44
- StartSchemaCreationCommandInput,
45
- StartSchemaCreationCommandOutput,
46
- AppSyncClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: StartSchemaCreationCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: AppSyncClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<StartSchemaCreationCommandInput, StartSchemaCreationCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "AppSyncClient";
71
- const commandName = "StartSchemaCreationCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: StartSchemaCreationRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: StartSchemaCreationResponse.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: StartSchemaCreationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_restJson1StartSchemaCreationCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StartSchemaCreationCommandOutput> {
92
- return deserializeAws_restJson1StartSchemaCreationCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
15
- import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1TagResourceCommand,
18
- serializeAws_restJson1TagResourceCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface TagResourceCommandInput extends TagResourceRequest {}
22
- export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Tags a resource with user-supplied tags.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { AppSyncClient, TagResourceCommand } from "@aws-sdk/client-appsync"; // ES Modules import
30
- * // const { AppSyncClient, TagResourceCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
31
- * const client = new AppSyncClient(config);
32
- * const command = new TagResourceCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link TagResourceCommandInput} for command's `input` shape.
37
- * @see {@link TagResourceCommandOutput} for command's `response` shape.
38
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class TagResourceCommand extends $Command<
42
- TagResourceCommandInput,
43
- TagResourceCommandOutput,
44
- AppSyncClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: TagResourceCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: AppSyncClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<TagResourceCommandInput, TagResourceCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "AppSyncClient";
69
- const commandName = "TagResourceCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: TagResourceResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1TagResourceCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TagResourceCommandOutput> {
90
- return deserializeAws_restJson1TagResourceCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
15
- import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1UntagResourceCommand,
18
- serializeAws_restJson1UntagResourceCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface UntagResourceCommandInput extends UntagResourceRequest {}
22
- export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Untags a resource.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { AppSyncClient, UntagResourceCommand } from "@aws-sdk/client-appsync"; // ES Modules import
30
- * // const { AppSyncClient, UntagResourceCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
31
- * const client = new AppSyncClient(config);
32
- * const command = new UntagResourceCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link UntagResourceCommandInput} for command's `input` shape.
37
- * @see {@link UntagResourceCommandOutput} for command's `response` shape.
38
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class UntagResourceCommand extends $Command<
42
- UntagResourceCommandInput,
43
- UntagResourceCommandOutput,
44
- AppSyncClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: UntagResourceCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: AppSyncClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<UntagResourceCommandInput, UntagResourceCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "AppSyncClient";
69
- const commandName = "UntagResourceCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: UntagResourceResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: UntagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1UntagResourceCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UntagResourceCommandOutput> {
90
- return deserializeAws_restJson1UntagResourceCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
15
- import { UpdateApiCacheRequest, UpdateApiCacheResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1UpdateApiCacheCommand,
18
- serializeAws_restJson1UpdateApiCacheCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface UpdateApiCacheCommandInput extends UpdateApiCacheRequest {}
22
- export interface UpdateApiCacheCommandOutput extends UpdateApiCacheResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Updates the cache for the GraphQL API.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { AppSyncClient, UpdateApiCacheCommand } from "@aws-sdk/client-appsync"; // ES Modules import
30
- * // const { AppSyncClient, UpdateApiCacheCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
31
- * const client = new AppSyncClient(config);
32
- * const command = new UpdateApiCacheCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link UpdateApiCacheCommandInput} for command's `input` shape.
37
- * @see {@link UpdateApiCacheCommandOutput} for command's `response` shape.
38
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class UpdateApiCacheCommand extends $Command<
42
- UpdateApiCacheCommandInput,
43
- UpdateApiCacheCommandOutput,
44
- AppSyncClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: UpdateApiCacheCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: AppSyncClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<UpdateApiCacheCommandInput, UpdateApiCacheCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "AppSyncClient";
69
- const commandName = "UpdateApiCacheCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: UpdateApiCacheRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: UpdateApiCacheResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: UpdateApiCacheCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1UpdateApiCacheCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateApiCacheCommandOutput> {
90
- return deserializeAws_restJson1UpdateApiCacheCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
15
- import { UpdateApiKeyRequest, UpdateApiKeyResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1UpdateApiKeyCommand,
18
- serializeAws_restJson1UpdateApiKeyCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface UpdateApiKeyCommandInput extends UpdateApiKeyRequest {}
22
- export interface UpdateApiKeyCommandOutput extends UpdateApiKeyResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Updates an API key. The key can be updated while it is not deleted.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { AppSyncClient, UpdateApiKeyCommand } from "@aws-sdk/client-appsync"; // ES Modules import
30
- * // const { AppSyncClient, UpdateApiKeyCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
31
- * const client = new AppSyncClient(config);
32
- * const command = new UpdateApiKeyCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link UpdateApiKeyCommandInput} for command's `input` shape.
37
- * @see {@link UpdateApiKeyCommandOutput} for command's `response` shape.
38
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class UpdateApiKeyCommand extends $Command<
42
- UpdateApiKeyCommandInput,
43
- UpdateApiKeyCommandOutput,
44
- AppSyncClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: UpdateApiKeyCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: AppSyncClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<UpdateApiKeyCommandInput, UpdateApiKeyCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "AppSyncClient";
69
- const commandName = "UpdateApiKeyCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: UpdateApiKeyRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: UpdateApiKeyResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: UpdateApiKeyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1UpdateApiKeyCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateApiKeyCommandOutput> {
90
- return deserializeAws_restJson1UpdateApiKeyCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
15
- import { UpdateDataSourceRequest, UpdateDataSourceResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1UpdateDataSourceCommand,
18
- serializeAws_restJson1UpdateDataSourceCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface UpdateDataSourceCommandInput extends UpdateDataSourceRequest {}
22
- export interface UpdateDataSourceCommandOutput extends UpdateDataSourceResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Updates a <code>DataSource</code> object.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { AppSyncClient, UpdateDataSourceCommand } from "@aws-sdk/client-appsync"; // ES Modules import
30
- * // const { AppSyncClient, UpdateDataSourceCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
31
- * const client = new AppSyncClient(config);
32
- * const command = new UpdateDataSourceCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link UpdateDataSourceCommandInput} for command's `input` shape.
37
- * @see {@link UpdateDataSourceCommandOutput} for command's `response` shape.
38
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class UpdateDataSourceCommand extends $Command<
42
- UpdateDataSourceCommandInput,
43
- UpdateDataSourceCommandOutput,
44
- AppSyncClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: UpdateDataSourceCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: AppSyncClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "AppSyncClient";
69
- const commandName = "UpdateDataSourceCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: UpdateDataSourceRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: UpdateDataSourceResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: UpdateDataSourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1UpdateDataSourceCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateDataSourceCommandOutput> {
90
- return deserializeAws_restJson1UpdateDataSourceCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
15
- import { UpdateFunctionRequest, UpdateFunctionResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1UpdateFunctionCommand,
18
- serializeAws_restJson1UpdateFunctionCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface UpdateFunctionCommandInput extends UpdateFunctionRequest {}
22
- export interface UpdateFunctionCommandOutput extends UpdateFunctionResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Updates a <code>Function</code> object.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { AppSyncClient, UpdateFunctionCommand } from "@aws-sdk/client-appsync"; // ES Modules import
30
- * // const { AppSyncClient, UpdateFunctionCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
31
- * const client = new AppSyncClient(config);
32
- * const command = new UpdateFunctionCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link UpdateFunctionCommandInput} for command's `input` shape.
37
- * @see {@link UpdateFunctionCommandOutput} for command's `response` shape.
38
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class UpdateFunctionCommand extends $Command<
42
- UpdateFunctionCommandInput,
43
- UpdateFunctionCommandOutput,
44
- AppSyncClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: UpdateFunctionCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: AppSyncClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<UpdateFunctionCommandInput, UpdateFunctionCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "AppSyncClient";
69
- const commandName = "UpdateFunctionCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: UpdateFunctionRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: UpdateFunctionResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: UpdateFunctionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1UpdateFunctionCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateFunctionCommandOutput> {
90
- return deserializeAws_restJson1UpdateFunctionCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }