@aws-sdk/client-apigatewayv2 3.183.0 → 3.186.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 (85) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/ApiGatewayV2.js +297 -290
  4. package/dist-es/ApiGatewayV2Client.js +28 -22
  5. package/dist-es/commands/CreateApiCommand.js +28 -21
  6. package/dist-es/commands/CreateApiMappingCommand.js +28 -21
  7. package/dist-es/commands/CreateAuthorizerCommand.js +28 -21
  8. package/dist-es/commands/CreateDeploymentCommand.js +28 -21
  9. package/dist-es/commands/CreateDomainNameCommand.js +28 -21
  10. package/dist-es/commands/CreateIntegrationCommand.js +28 -21
  11. package/dist-es/commands/CreateIntegrationResponseCommand.js +28 -21
  12. package/dist-es/commands/CreateModelCommand.js +28 -21
  13. package/dist-es/commands/CreateRouteCommand.js +28 -21
  14. package/dist-es/commands/CreateRouteResponseCommand.js +28 -21
  15. package/dist-es/commands/CreateStageCommand.js +28 -21
  16. package/dist-es/commands/CreateVpcLinkCommand.js +28 -21
  17. package/dist-es/commands/DeleteAccessLogSettingsCommand.js +29 -22
  18. package/dist-es/commands/DeleteApiCommand.js +29 -22
  19. package/dist-es/commands/DeleteApiMappingCommand.js +29 -22
  20. package/dist-es/commands/DeleteAuthorizerCommand.js +29 -22
  21. package/dist-es/commands/DeleteCorsConfigurationCommand.js +29 -22
  22. package/dist-es/commands/DeleteDeploymentCommand.js +29 -22
  23. package/dist-es/commands/DeleteDomainNameCommand.js +29 -22
  24. package/dist-es/commands/DeleteIntegrationCommand.js +29 -22
  25. package/dist-es/commands/DeleteIntegrationResponseCommand.js +29 -22
  26. package/dist-es/commands/DeleteModelCommand.js +29 -22
  27. package/dist-es/commands/DeleteRouteCommand.js +29 -22
  28. package/dist-es/commands/DeleteRouteRequestParameterCommand.js +29 -22
  29. package/dist-es/commands/DeleteRouteResponseCommand.js +29 -22
  30. package/dist-es/commands/DeleteRouteSettingsCommand.js +29 -22
  31. package/dist-es/commands/DeleteStageCommand.js +29 -22
  32. package/dist-es/commands/DeleteVpcLinkCommand.js +28 -21
  33. package/dist-es/commands/ExportApiCommand.js +28 -21
  34. package/dist-es/commands/GetApiCommand.js +28 -21
  35. package/dist-es/commands/GetApiMappingCommand.js +28 -21
  36. package/dist-es/commands/GetApiMappingsCommand.js +28 -21
  37. package/dist-es/commands/GetApisCommand.js +28 -21
  38. package/dist-es/commands/GetAuthorizerCommand.js +28 -21
  39. package/dist-es/commands/GetAuthorizersCommand.js +28 -21
  40. package/dist-es/commands/GetDeploymentCommand.js +28 -21
  41. package/dist-es/commands/GetDeploymentsCommand.js +28 -21
  42. package/dist-es/commands/GetDomainNameCommand.js +28 -21
  43. package/dist-es/commands/GetDomainNamesCommand.js +28 -21
  44. package/dist-es/commands/GetIntegrationCommand.js +28 -21
  45. package/dist-es/commands/GetIntegrationResponseCommand.js +28 -21
  46. package/dist-es/commands/GetIntegrationResponsesCommand.js +28 -21
  47. package/dist-es/commands/GetIntegrationsCommand.js +28 -21
  48. package/dist-es/commands/GetModelCommand.js +28 -21
  49. package/dist-es/commands/GetModelTemplateCommand.js +28 -21
  50. package/dist-es/commands/GetModelsCommand.js +28 -21
  51. package/dist-es/commands/GetRouteCommand.js +28 -21
  52. package/dist-es/commands/GetRouteResponseCommand.js +28 -21
  53. package/dist-es/commands/GetRouteResponsesCommand.js +28 -21
  54. package/dist-es/commands/GetRoutesCommand.js +28 -21
  55. package/dist-es/commands/GetStageCommand.js +28 -21
  56. package/dist-es/commands/GetStagesCommand.js +28 -21
  57. package/dist-es/commands/GetTagsCommand.js +28 -21
  58. package/dist-es/commands/GetVpcLinkCommand.js +28 -21
  59. package/dist-es/commands/GetVpcLinksCommand.js +28 -21
  60. package/dist-es/commands/ImportApiCommand.js +28 -21
  61. package/dist-es/commands/ReimportApiCommand.js +28 -21
  62. package/dist-es/commands/ResetAuthorizersCacheCommand.js +29 -22
  63. package/dist-es/commands/TagResourceCommand.js +28 -21
  64. package/dist-es/commands/UntagResourceCommand.js +29 -22
  65. package/dist-es/commands/UpdateApiCommand.js +28 -21
  66. package/dist-es/commands/UpdateApiMappingCommand.js +28 -21
  67. package/dist-es/commands/UpdateAuthorizerCommand.js +28 -21
  68. package/dist-es/commands/UpdateDeploymentCommand.js +28 -21
  69. package/dist-es/commands/UpdateDomainNameCommand.js +28 -21
  70. package/dist-es/commands/UpdateIntegrationCommand.js +28 -21
  71. package/dist-es/commands/UpdateIntegrationResponseCommand.js +28 -21
  72. package/dist-es/commands/UpdateModelCommand.js +28 -21
  73. package/dist-es/commands/UpdateRouteCommand.js +28 -21
  74. package/dist-es/commands/UpdateRouteResponseCommand.js +28 -21
  75. package/dist-es/commands/UpdateStageCommand.js +28 -21
  76. package/dist-es/commands/UpdateVpcLinkCommand.js +28 -21
  77. package/dist-es/endpoints.js +8 -8
  78. package/dist-es/models/ApiGatewayV2ServiceException.js +10 -5
  79. package/dist-es/models/models_0.js +212 -509
  80. package/dist-es/protocols/Aws_restJson1.js +7662 -5700
  81. package/dist-es/runtimeConfig.browser.js +12 -26
  82. package/dist-es/runtimeConfig.js +12 -30
  83. package/dist-es/runtimeConfig.native.js +5 -8
  84. package/dist-es/runtimeConfig.shared.js +11 -8
  85. package/package.json +33 -33
@@ -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 { GetApiRequestFilterSensitiveLog, GetApiResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetApiCommand, serializeAws_restJson1GetApiCommand } from "../protocols/Aws_restJson1";
5
- export class GetApiCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetApiCommand = (function (_super) {
7
+ __extends(GetApiCommand, _super);
8
+ function GetApiCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetApiCommand.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 = "ApiGatewayV2Client";
15
- const commandName = "GetApiCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ApiGatewayV2Client";
18
+ var commandName = "GetApiCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetApiRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetApiResponseFilterSensitiveLog,
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
+ GetApiCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetApiCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetApiCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetApiCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetApiCommand;
38
+ }($Command));
39
+ export { GetApiCommand };
@@ -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 { GetApiMappingRequestFilterSensitiveLog, GetApiMappingResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetApiMappingCommand, serializeAws_restJson1GetApiMappingCommand, } from "../protocols/Aws_restJson1";
5
- export class GetApiMappingCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetApiMappingCommand = (function (_super) {
7
+ __extends(GetApiMappingCommand, _super);
8
+ function GetApiMappingCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetApiMappingCommand.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 = "ApiGatewayV2Client";
15
- const commandName = "GetApiMappingCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ApiGatewayV2Client";
18
+ var commandName = "GetApiMappingCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetApiMappingRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetApiMappingResponseFilterSensitiveLog,
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
+ GetApiMappingCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetApiMappingCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetApiMappingCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetApiMappingCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetApiMappingCommand;
38
+ }($Command));
39
+ export { GetApiMappingCommand };
@@ -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 { GetApiMappingsRequestFilterSensitiveLog, GetApiMappingsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetApiMappingsCommand, serializeAws_restJson1GetApiMappingsCommand, } from "../protocols/Aws_restJson1";
5
- export class GetApiMappingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetApiMappingsCommand = (function (_super) {
7
+ __extends(GetApiMappingsCommand, _super);
8
+ function GetApiMappingsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetApiMappingsCommand.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 = "ApiGatewayV2Client";
15
- const commandName = "GetApiMappingsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ApiGatewayV2Client";
18
+ var commandName = "GetApiMappingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetApiMappingsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetApiMappingsResponseFilterSensitiveLog,
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
+ GetApiMappingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetApiMappingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetApiMappingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetApiMappingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetApiMappingsCommand;
38
+ }($Command));
39
+ export { GetApiMappingsCommand };
@@ -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 { GetApisRequestFilterSensitiveLog, GetApisResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetApisCommand, serializeAws_restJson1GetApisCommand, } from "../protocols/Aws_restJson1";
5
- export class GetApisCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetApisCommand = (function (_super) {
7
+ __extends(GetApisCommand, _super);
8
+ function GetApisCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetApisCommand.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 = "ApiGatewayV2Client";
15
- const commandName = "GetApisCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ApiGatewayV2Client";
18
+ var commandName = "GetApisCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetApisRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetApisResponseFilterSensitiveLog,
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
+ GetApisCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetApisCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetApisCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetApisCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetApisCommand;
38
+ }($Command));
39
+ export { GetApisCommand };
@@ -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 { GetAuthorizerRequestFilterSensitiveLog, GetAuthorizerResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetAuthorizerCommand, serializeAws_restJson1GetAuthorizerCommand, } from "../protocols/Aws_restJson1";
5
- export class GetAuthorizerCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetAuthorizerCommand = (function (_super) {
7
+ __extends(GetAuthorizerCommand, _super);
8
+ function GetAuthorizerCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetAuthorizerCommand.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 = "ApiGatewayV2Client";
15
- const commandName = "GetAuthorizerCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ApiGatewayV2Client";
18
+ var commandName = "GetAuthorizerCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetAuthorizerRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetAuthorizerResponseFilterSensitiveLog,
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
+ GetAuthorizerCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetAuthorizerCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetAuthorizerCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetAuthorizerCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetAuthorizerCommand;
38
+ }($Command));
39
+ export { GetAuthorizerCommand };
@@ -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 { GetAuthorizersRequestFilterSensitiveLog, GetAuthorizersResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetAuthorizersCommand, serializeAws_restJson1GetAuthorizersCommand, } from "../protocols/Aws_restJson1";
5
- export class GetAuthorizersCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetAuthorizersCommand = (function (_super) {
7
+ __extends(GetAuthorizersCommand, _super);
8
+ function GetAuthorizersCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetAuthorizersCommand.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 = "ApiGatewayV2Client";
15
- const commandName = "GetAuthorizersCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ApiGatewayV2Client";
18
+ var commandName = "GetAuthorizersCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetAuthorizersRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetAuthorizersResponseFilterSensitiveLog,
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
+ GetAuthorizersCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetAuthorizersCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetAuthorizersCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetAuthorizersCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetAuthorizersCommand;
38
+ }($Command));
39
+ export { GetAuthorizersCommand };
@@ -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 { GetDeploymentRequestFilterSensitiveLog, GetDeploymentResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetDeploymentCommand, serializeAws_restJson1GetDeploymentCommand, } from "../protocols/Aws_restJson1";
5
- export class GetDeploymentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetDeploymentCommand = (function (_super) {
7
+ __extends(GetDeploymentCommand, _super);
8
+ function GetDeploymentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetDeploymentCommand.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 = "ApiGatewayV2Client";
15
- const commandName = "GetDeploymentCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ApiGatewayV2Client";
18
+ var commandName = "GetDeploymentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetDeploymentRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetDeploymentResponseFilterSensitiveLog,
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
+ GetDeploymentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetDeploymentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetDeploymentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetDeploymentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetDeploymentCommand;
38
+ }($Command));
39
+ export { GetDeploymentCommand };
@@ -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 { GetDeploymentsRequestFilterSensitiveLog, GetDeploymentsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetDeploymentsCommand, serializeAws_restJson1GetDeploymentsCommand, } from "../protocols/Aws_restJson1";
5
- export class GetDeploymentsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetDeploymentsCommand = (function (_super) {
7
+ __extends(GetDeploymentsCommand, _super);
8
+ function GetDeploymentsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetDeploymentsCommand.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 = "ApiGatewayV2Client";
15
- const commandName = "GetDeploymentsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ApiGatewayV2Client";
18
+ var commandName = "GetDeploymentsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetDeploymentsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetDeploymentsResponseFilterSensitiveLog,
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
+ GetDeploymentsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetDeploymentsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetDeploymentsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetDeploymentsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetDeploymentsCommand;
38
+ }($Command));
39
+ export { GetDeploymentsCommand };
@@ -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 { GetDomainNameRequestFilterSensitiveLog, GetDomainNameResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetDomainNameCommand, serializeAws_restJson1GetDomainNameCommand, } from "../protocols/Aws_restJson1";
5
- export class GetDomainNameCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetDomainNameCommand = (function (_super) {
7
+ __extends(GetDomainNameCommand, _super);
8
+ function GetDomainNameCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetDomainNameCommand.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 = "ApiGatewayV2Client";
15
- const commandName = "GetDomainNameCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ApiGatewayV2Client";
18
+ var commandName = "GetDomainNameCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetDomainNameRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetDomainNameResponseFilterSensitiveLog,
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
+ GetDomainNameCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetDomainNameCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetDomainNameCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetDomainNameCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetDomainNameCommand;
38
+ }($Command));
39
+ export { GetDomainNameCommand };
@@ -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 { GetDomainNamesRequestFilterSensitiveLog, GetDomainNamesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetDomainNamesCommand, serializeAws_restJson1GetDomainNamesCommand, } from "../protocols/Aws_restJson1";
5
- export class GetDomainNamesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetDomainNamesCommand = (function (_super) {
7
+ __extends(GetDomainNamesCommand, _super);
8
+ function GetDomainNamesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetDomainNamesCommand.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 = "ApiGatewayV2Client";
15
- const commandName = "GetDomainNamesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ApiGatewayV2Client";
18
+ var commandName = "GetDomainNamesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetDomainNamesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetDomainNamesResponseFilterSensitiveLog,
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
+ GetDomainNamesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetDomainNamesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetDomainNamesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetDomainNamesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetDomainNamesCommand;
38
+ }($Command));
39
+ export { GetDomainNamesCommand };