@aws-sdk/client-appsync 3.183.0 → 3.185.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 (63) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/AppSync.js +209 -202
  4. package/dist-es/AppSyncClient.js +28 -22
  5. package/dist-es/commands/AssociateApiCommand.js +28 -21
  6. package/dist-es/commands/CreateApiCacheCommand.js +28 -21
  7. package/dist-es/commands/CreateApiKeyCommand.js +28 -21
  8. package/dist-es/commands/CreateDataSourceCommand.js +28 -21
  9. package/dist-es/commands/CreateDomainNameCommand.js +28 -21
  10. package/dist-es/commands/CreateFunctionCommand.js +28 -21
  11. package/dist-es/commands/CreateGraphqlApiCommand.js +28 -21
  12. package/dist-es/commands/CreateResolverCommand.js +28 -21
  13. package/dist-es/commands/CreateTypeCommand.js +28 -21
  14. package/dist-es/commands/DeleteApiCacheCommand.js +28 -21
  15. package/dist-es/commands/DeleteApiKeyCommand.js +28 -21
  16. package/dist-es/commands/DeleteDataSourceCommand.js +28 -21
  17. package/dist-es/commands/DeleteDomainNameCommand.js +28 -21
  18. package/dist-es/commands/DeleteFunctionCommand.js +28 -21
  19. package/dist-es/commands/DeleteGraphqlApiCommand.js +28 -21
  20. package/dist-es/commands/DeleteResolverCommand.js +28 -21
  21. package/dist-es/commands/DeleteTypeCommand.js +28 -21
  22. package/dist-es/commands/DisassociateApiCommand.js +28 -21
  23. package/dist-es/commands/EvaluateMappingTemplateCommand.js +28 -21
  24. package/dist-es/commands/FlushApiCacheCommand.js +28 -21
  25. package/dist-es/commands/GetApiAssociationCommand.js +28 -21
  26. package/dist-es/commands/GetApiCacheCommand.js +28 -21
  27. package/dist-es/commands/GetDataSourceCommand.js +28 -21
  28. package/dist-es/commands/GetDomainNameCommand.js +28 -21
  29. package/dist-es/commands/GetFunctionCommand.js +28 -21
  30. package/dist-es/commands/GetGraphqlApiCommand.js +28 -21
  31. package/dist-es/commands/GetIntrospectionSchemaCommand.js +28 -21
  32. package/dist-es/commands/GetResolverCommand.js +28 -21
  33. package/dist-es/commands/GetSchemaCreationStatusCommand.js +28 -21
  34. package/dist-es/commands/GetTypeCommand.js +28 -21
  35. package/dist-es/commands/ListApiKeysCommand.js +28 -21
  36. package/dist-es/commands/ListDataSourcesCommand.js +28 -21
  37. package/dist-es/commands/ListDomainNamesCommand.js +28 -21
  38. package/dist-es/commands/ListFunctionsCommand.js +28 -21
  39. package/dist-es/commands/ListGraphqlApisCommand.js +28 -21
  40. package/dist-es/commands/ListResolversByFunctionCommand.js +28 -21
  41. package/dist-es/commands/ListResolversCommand.js +28 -21
  42. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  43. package/dist-es/commands/ListTypesCommand.js +28 -21
  44. package/dist-es/commands/StartSchemaCreationCommand.js +28 -21
  45. package/dist-es/commands/TagResourceCommand.js +28 -21
  46. package/dist-es/commands/UntagResourceCommand.js +28 -21
  47. package/dist-es/commands/UpdateApiCacheCommand.js +28 -21
  48. package/dist-es/commands/UpdateApiKeyCommand.js +28 -21
  49. package/dist-es/commands/UpdateDataSourceCommand.js +28 -21
  50. package/dist-es/commands/UpdateDomainNameCommand.js +28 -21
  51. package/dist-es/commands/UpdateFunctionCommand.js +28 -21
  52. package/dist-es/commands/UpdateGraphqlApiCommand.js +28 -21
  53. package/dist-es/commands/UpdateResolverCommand.js +28 -21
  54. package/dist-es/commands/UpdateTypeCommand.js +28 -21
  55. package/dist-es/endpoints.js +8 -8
  56. package/dist-es/models/AppSyncServiceException.js +10 -5
  57. package/dist-es/models/models_0.js +252 -511
  58. package/dist-es/protocols/Aws_restJson1.js +5049 -3617
  59. package/dist-es/runtimeConfig.browser.js +12 -26
  60. package/dist-es/runtimeConfig.js +12 -30
  61. package/dist-es/runtimeConfig.native.js +5 -8
  62. package/dist-es/runtimeConfig.shared.js +11 -8
  63. package/package.json +5 -5
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetTypeRequestFilterSensitiveLog, GetTypeResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetTypeCommand, serializeAws_restJson1GetTypeCommand, } from "../protocols/Aws_restJson1";
5
- export class GetTypeCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetTypeCommand = (function (_super) {
7
+ __extends(GetTypeCommand, _super);
8
+ function GetTypeCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetTypeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AppSyncClient";
15
- const commandName = "GetTypeCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppSyncClient";
18
+ var commandName = "GetTypeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetTypeRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetTypeResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetTypeCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetTypeCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetTypeCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetTypeCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetTypeCommand;
38
+ }($Command));
39
+ export { GetTypeCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListApiKeysRequestFilterSensitiveLog, ListApiKeysResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListApiKeysCommand, serializeAws_restJson1ListApiKeysCommand, } from "../protocols/Aws_restJson1";
5
- export class ListApiKeysCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListApiKeysCommand = (function (_super) {
7
+ __extends(ListApiKeysCommand, _super);
8
+ function ListApiKeysCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListApiKeysCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AppSyncClient";
15
- const commandName = "ListApiKeysCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppSyncClient";
18
+ var commandName = "ListApiKeysCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListApiKeysRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListApiKeysResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListApiKeysCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListApiKeysCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListApiKeysCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListApiKeysCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListApiKeysCommand;
38
+ }($Command));
39
+ export { ListApiKeysCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListDataSourcesRequestFilterSensitiveLog, ListDataSourcesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListDataSourcesCommand, serializeAws_restJson1ListDataSourcesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListDataSourcesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListDataSourcesCommand = (function (_super) {
7
+ __extends(ListDataSourcesCommand, _super);
8
+ function ListDataSourcesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListDataSourcesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AppSyncClient";
15
- const commandName = "ListDataSourcesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppSyncClient";
18
+ var commandName = "ListDataSourcesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListDataSourcesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListDataSourcesResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListDataSourcesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListDataSourcesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListDataSourcesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListDataSourcesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListDataSourcesCommand;
38
+ }($Command));
39
+ export { ListDataSourcesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListDomainNamesRequestFilterSensitiveLog, ListDomainNamesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListDomainNamesCommand, serializeAws_restJson1ListDomainNamesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListDomainNamesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListDomainNamesCommand = (function (_super) {
7
+ __extends(ListDomainNamesCommand, _super);
8
+ function ListDomainNamesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListDomainNamesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AppSyncClient";
15
- const commandName = "ListDomainNamesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppSyncClient";
18
+ var commandName = "ListDomainNamesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListDomainNamesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListDomainNamesResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListDomainNamesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListDomainNamesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListDomainNamesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListDomainNamesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListDomainNamesCommand;
38
+ }($Command));
39
+ export { ListDomainNamesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListFunctionsRequestFilterSensitiveLog, ListFunctionsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListFunctionsCommand, serializeAws_restJson1ListFunctionsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListFunctionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListFunctionsCommand = (function (_super) {
7
+ __extends(ListFunctionsCommand, _super);
8
+ function ListFunctionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListFunctionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AppSyncClient";
15
- const commandName = "ListFunctionsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppSyncClient";
18
+ var commandName = "ListFunctionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListFunctionsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListFunctionsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListFunctionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListFunctionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListFunctionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListFunctionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListFunctionsCommand;
38
+ }($Command));
39
+ export { ListFunctionsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListGraphqlApisRequestFilterSensitiveLog, ListGraphqlApisResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListGraphqlApisCommand, serializeAws_restJson1ListGraphqlApisCommand, } from "../protocols/Aws_restJson1";
5
- export class ListGraphqlApisCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListGraphqlApisCommand = (function (_super) {
7
+ __extends(ListGraphqlApisCommand, _super);
8
+ function ListGraphqlApisCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListGraphqlApisCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AppSyncClient";
15
- const commandName = "ListGraphqlApisCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppSyncClient";
18
+ var commandName = "ListGraphqlApisCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListGraphqlApisRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListGraphqlApisResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListGraphqlApisCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListGraphqlApisCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListGraphqlApisCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListGraphqlApisCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListGraphqlApisCommand;
38
+ }($Command));
39
+ export { ListGraphqlApisCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListResolversByFunctionRequestFilterSensitiveLog, ListResolversByFunctionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListResolversByFunctionCommand, serializeAws_restJson1ListResolversByFunctionCommand, } from "../protocols/Aws_restJson1";
5
- export class ListResolversByFunctionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListResolversByFunctionCommand = (function (_super) {
7
+ __extends(ListResolversByFunctionCommand, _super);
8
+ function ListResolversByFunctionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListResolversByFunctionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AppSyncClient";
15
- const commandName = "ListResolversByFunctionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppSyncClient";
18
+ var commandName = "ListResolversByFunctionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListResolversByFunctionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListResolversByFunctionResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListResolversByFunctionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListResolversByFunctionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListResolversByFunctionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListResolversByFunctionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListResolversByFunctionCommand;
38
+ }($Command));
39
+ export { ListResolversByFunctionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListResolversRequestFilterSensitiveLog, ListResolversResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListResolversCommand, serializeAws_restJson1ListResolversCommand, } from "../protocols/Aws_restJson1";
5
- export class ListResolversCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListResolversCommand = (function (_super) {
7
+ __extends(ListResolversCommand, _super);
8
+ function ListResolversCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListResolversCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AppSyncClient";
15
- const commandName = "ListResolversCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppSyncClient";
18
+ var commandName = "ListResolversCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListResolversRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListResolversResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListResolversCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListResolversCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListResolversCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListResolversCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListResolversCommand;
38
+ }($Command));
39
+ export { ListResolversCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class ListTagsForResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTagsForResourceCommand = (function (_super) {
7
+ __extends(ListTagsForResourceCommand, _super);
8
+ function ListTagsForResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AppSyncClient";
15
- const commandName = "ListTagsForResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppSyncClient";
18
+ var commandName = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListTagsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListTypesRequestFilterSensitiveLog, ListTypesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListTypesCommand, serializeAws_restJson1ListTypesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListTypesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTypesCommand = (function (_super) {
7
+ __extends(ListTypesCommand, _super);
8
+ function ListTypesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTypesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AppSyncClient";
15
- const commandName = "ListTypesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppSyncClient";
18
+ var commandName = "ListTypesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTypesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTypesResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListTypesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListTypesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTypesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListTypesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTypesCommand;
38
+ }($Command));
39
+ export { ListTypesCommand };