@aws-sdk/client-apigatewayv2 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 (85) hide show
  1. package/CHANGELOG.md +11 -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 +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 { CreateRouteResponseRequestFilterSensitiveLog, CreateRouteResponseResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateRouteResponseCommand, serializeAws_restJson1CreateRouteResponseCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateRouteResponseCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateRouteResponseCommand = (function (_super) {
7
+ __extends(CreateRouteResponseCommand, _super);
8
+ function CreateRouteResponseCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateRouteResponseCommand.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 = "CreateRouteResponseCommand";
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 = "CreateRouteResponseCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateRouteResponseRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateRouteResponseResponseFilterSensitiveLog,
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
+ CreateRouteResponseCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateRouteResponseCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateRouteResponseCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateRouteResponseCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateRouteResponseCommand;
38
+ }($Command));
39
+ export { CreateRouteResponseCommand };
@@ -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 { CreateStageRequestFilterSensitiveLog, CreateStageResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateStageCommand, serializeAws_restJson1CreateStageCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateStageCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateStageCommand = (function (_super) {
7
+ __extends(CreateStageCommand, _super);
8
+ function CreateStageCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateStageCommand.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 = "CreateStageCommand";
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 = "CreateStageCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateStageRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateStageResponseFilterSensitiveLog,
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
+ CreateStageCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateStageCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateStageCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateStageCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateStageCommand;
38
+ }($Command));
39
+ export { CreateStageCommand };
@@ -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 { CreateVpcLinkRequestFilterSensitiveLog, CreateVpcLinkResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateVpcLinkCommand, serializeAws_restJson1CreateVpcLinkCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateVpcLinkCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateVpcLinkCommand = (function (_super) {
7
+ __extends(CreateVpcLinkCommand, _super);
8
+ function CreateVpcLinkCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateVpcLinkCommand.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 = "CreateVpcLinkCommand";
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 = "CreateVpcLinkCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateVpcLinkRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateVpcLinkResponseFilterSensitiveLog,
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
+ CreateVpcLinkCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateVpcLinkCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateVpcLinkCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateVpcLinkCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateVpcLinkCommand;
38
+ }($Command));
39
+ export { CreateVpcLinkCommand };
@@ -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 { DeleteAccessLogSettingsRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteAccessLogSettingsCommand, serializeAws_restJson1DeleteAccessLogSettingsCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteAccessLogSettingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteAccessLogSettingsCommand = (function (_super) {
7
+ __extends(DeleteAccessLogSettingsCommand, _super);
8
+ function DeleteAccessLogSettingsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteAccessLogSettingsCommand.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 = "DeleteAccessLogSettingsCommand";
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 = "DeleteAccessLogSettingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteAccessLogSettingsRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
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
+ DeleteAccessLogSettingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteAccessLogSettingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteAccessLogSettingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteAccessLogSettingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteAccessLogSettingsCommand;
38
+ }($Command));
39
+ export { DeleteAccessLogSettingsCommand };
@@ -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 { DeleteApiRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteApiCommand, serializeAws_restJson1DeleteApiCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteApiCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteApiCommand = (function (_super) {
7
+ __extends(DeleteApiCommand, _super);
8
+ function DeleteApiCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteApiCommand.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 = "DeleteApiCommand";
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 = "DeleteApiCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteApiRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
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
+ DeleteApiCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteApiCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteApiCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteApiCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteApiCommand;
38
+ }($Command));
39
+ export { DeleteApiCommand };
@@ -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 { DeleteApiMappingRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteApiMappingCommand, serializeAws_restJson1DeleteApiMappingCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteApiMappingCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteApiMappingCommand = (function (_super) {
7
+ __extends(DeleteApiMappingCommand, _super);
8
+ function DeleteApiMappingCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteApiMappingCommand.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 = "DeleteApiMappingCommand";
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 = "DeleteApiMappingCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteApiMappingRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
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
+ DeleteApiMappingCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteApiMappingCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteApiMappingCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteApiMappingCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteApiMappingCommand;
38
+ }($Command));
39
+ export { DeleteApiMappingCommand };
@@ -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 { DeleteAuthorizerRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteAuthorizerCommand, serializeAws_restJson1DeleteAuthorizerCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteAuthorizerCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteAuthorizerCommand = (function (_super) {
7
+ __extends(DeleteAuthorizerCommand, _super);
8
+ function DeleteAuthorizerCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteAuthorizerCommand.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 = "DeleteAuthorizerCommand";
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 = "DeleteAuthorizerCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteAuthorizerRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
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
+ DeleteAuthorizerCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteAuthorizerCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteAuthorizerCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteAuthorizerCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteAuthorizerCommand;
38
+ }($Command));
39
+ export { DeleteAuthorizerCommand };
@@ -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 { DeleteCorsConfigurationRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteCorsConfigurationCommand, serializeAws_restJson1DeleteCorsConfigurationCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteCorsConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteCorsConfigurationCommand = (function (_super) {
7
+ __extends(DeleteCorsConfigurationCommand, _super);
8
+ function DeleteCorsConfigurationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteCorsConfigurationCommand.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 = "DeleteCorsConfigurationCommand";
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 = "DeleteCorsConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteCorsConfigurationRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
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
+ DeleteCorsConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteCorsConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteCorsConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteCorsConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteCorsConfigurationCommand;
38
+ }($Command));
39
+ export { DeleteCorsConfigurationCommand };
@@ -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 { DeleteDeploymentRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteDeploymentCommand, serializeAws_restJson1DeleteDeploymentCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteDeploymentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteDeploymentCommand = (function (_super) {
7
+ __extends(DeleteDeploymentCommand, _super);
8
+ function DeleteDeploymentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteDeploymentCommand.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 = "DeleteDeploymentCommand";
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 = "DeleteDeploymentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteDeploymentRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
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
+ DeleteDeploymentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteDeploymentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteDeploymentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteDeploymentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteDeploymentCommand;
38
+ }($Command));
39
+ export { DeleteDeploymentCommand };
@@ -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 { DeleteDomainNameRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteDomainNameCommand, serializeAws_restJson1DeleteDomainNameCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteDomainNameCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteDomainNameCommand = (function (_super) {
7
+ __extends(DeleteDomainNameCommand, _super);
8
+ function DeleteDomainNameCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteDomainNameCommand.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 = "DeleteDomainNameCommand";
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 = "DeleteDomainNameCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteDomainNameRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
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
+ DeleteDomainNameCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteDomainNameCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteDomainNameCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteDomainNameCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteDomainNameCommand;
38
+ }($Command));
39
+ export { DeleteDomainNameCommand };