@aws-sdk/client-apigatewayv2 3.181.0 → 3.183.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 (84) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/ApiGatewayV2.js +290 -297
  3. package/dist-es/ApiGatewayV2Client.js +22 -28
  4. package/dist-es/commands/CreateApiCommand.js +21 -28
  5. package/dist-es/commands/CreateApiMappingCommand.js +21 -28
  6. package/dist-es/commands/CreateAuthorizerCommand.js +21 -28
  7. package/dist-es/commands/CreateDeploymentCommand.js +21 -28
  8. package/dist-es/commands/CreateDomainNameCommand.js +21 -28
  9. package/dist-es/commands/CreateIntegrationCommand.js +21 -28
  10. package/dist-es/commands/CreateIntegrationResponseCommand.js +21 -28
  11. package/dist-es/commands/CreateModelCommand.js +21 -28
  12. package/dist-es/commands/CreateRouteCommand.js +21 -28
  13. package/dist-es/commands/CreateRouteResponseCommand.js +21 -28
  14. package/dist-es/commands/CreateStageCommand.js +21 -28
  15. package/dist-es/commands/CreateVpcLinkCommand.js +21 -28
  16. package/dist-es/commands/DeleteAccessLogSettingsCommand.js +22 -29
  17. package/dist-es/commands/DeleteApiCommand.js +22 -29
  18. package/dist-es/commands/DeleteApiMappingCommand.js +22 -29
  19. package/dist-es/commands/DeleteAuthorizerCommand.js +22 -29
  20. package/dist-es/commands/DeleteCorsConfigurationCommand.js +22 -29
  21. package/dist-es/commands/DeleteDeploymentCommand.js +22 -29
  22. package/dist-es/commands/DeleteDomainNameCommand.js +22 -29
  23. package/dist-es/commands/DeleteIntegrationCommand.js +22 -29
  24. package/dist-es/commands/DeleteIntegrationResponseCommand.js +22 -29
  25. package/dist-es/commands/DeleteModelCommand.js +22 -29
  26. package/dist-es/commands/DeleteRouteCommand.js +22 -29
  27. package/dist-es/commands/DeleteRouteRequestParameterCommand.js +22 -29
  28. package/dist-es/commands/DeleteRouteResponseCommand.js +22 -29
  29. package/dist-es/commands/DeleteRouteSettingsCommand.js +22 -29
  30. package/dist-es/commands/DeleteStageCommand.js +22 -29
  31. package/dist-es/commands/DeleteVpcLinkCommand.js +21 -28
  32. package/dist-es/commands/ExportApiCommand.js +21 -28
  33. package/dist-es/commands/GetApiCommand.js +21 -28
  34. package/dist-es/commands/GetApiMappingCommand.js +21 -28
  35. package/dist-es/commands/GetApiMappingsCommand.js +21 -28
  36. package/dist-es/commands/GetApisCommand.js +21 -28
  37. package/dist-es/commands/GetAuthorizerCommand.js +21 -28
  38. package/dist-es/commands/GetAuthorizersCommand.js +21 -28
  39. package/dist-es/commands/GetDeploymentCommand.js +21 -28
  40. package/dist-es/commands/GetDeploymentsCommand.js +21 -28
  41. package/dist-es/commands/GetDomainNameCommand.js +21 -28
  42. package/dist-es/commands/GetDomainNamesCommand.js +21 -28
  43. package/dist-es/commands/GetIntegrationCommand.js +21 -28
  44. package/dist-es/commands/GetIntegrationResponseCommand.js +21 -28
  45. package/dist-es/commands/GetIntegrationResponsesCommand.js +21 -28
  46. package/dist-es/commands/GetIntegrationsCommand.js +21 -28
  47. package/dist-es/commands/GetModelCommand.js +21 -28
  48. package/dist-es/commands/GetModelTemplateCommand.js +21 -28
  49. package/dist-es/commands/GetModelsCommand.js +21 -28
  50. package/dist-es/commands/GetRouteCommand.js +21 -28
  51. package/dist-es/commands/GetRouteResponseCommand.js +21 -28
  52. package/dist-es/commands/GetRouteResponsesCommand.js +21 -28
  53. package/dist-es/commands/GetRoutesCommand.js +21 -28
  54. package/dist-es/commands/GetStageCommand.js +21 -28
  55. package/dist-es/commands/GetStagesCommand.js +21 -28
  56. package/dist-es/commands/GetTagsCommand.js +21 -28
  57. package/dist-es/commands/GetVpcLinkCommand.js +21 -28
  58. package/dist-es/commands/GetVpcLinksCommand.js +21 -28
  59. package/dist-es/commands/ImportApiCommand.js +21 -28
  60. package/dist-es/commands/ReimportApiCommand.js +21 -28
  61. package/dist-es/commands/ResetAuthorizersCacheCommand.js +22 -29
  62. package/dist-es/commands/TagResourceCommand.js +21 -28
  63. package/dist-es/commands/UntagResourceCommand.js +22 -29
  64. package/dist-es/commands/UpdateApiCommand.js +21 -28
  65. package/dist-es/commands/UpdateApiMappingCommand.js +21 -28
  66. package/dist-es/commands/UpdateAuthorizerCommand.js +21 -28
  67. package/dist-es/commands/UpdateDeploymentCommand.js +21 -28
  68. package/dist-es/commands/UpdateDomainNameCommand.js +21 -28
  69. package/dist-es/commands/UpdateIntegrationCommand.js +21 -28
  70. package/dist-es/commands/UpdateIntegrationResponseCommand.js +21 -28
  71. package/dist-es/commands/UpdateModelCommand.js +21 -28
  72. package/dist-es/commands/UpdateRouteCommand.js +21 -28
  73. package/dist-es/commands/UpdateRouteResponseCommand.js +21 -28
  74. package/dist-es/commands/UpdateStageCommand.js +21 -28
  75. package/dist-es/commands/UpdateVpcLinkCommand.js +21 -28
  76. package/dist-es/endpoints.js +8 -8
  77. package/dist-es/models/ApiGatewayV2ServiceException.js +5 -10
  78. package/dist-es/models/models_0.js +509 -212
  79. package/dist-es/protocols/Aws_restJson1.js +5700 -7662
  80. package/dist-es/runtimeConfig.browser.js +26 -12
  81. package/dist-es/runtimeConfig.js +30 -12
  82. package/dist-es/runtimeConfig.native.js +8 -5
  83. package/dist-es/runtimeConfig.shared.js +8 -11
  84. package/package.json +33 -33
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateRouteResponseRequestFilterSensitiveLog, CreateRouteResponseResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateRouteResponseCommand, serializeAws_restJson1CreateRouteResponseCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class CreateRouteResponseCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateRouteResponseCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: CreateRouteResponseRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateRouteResponseResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1CreateRouteResponseCommand(input, context);
33
- };
34
- CreateRouteResponseCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateRouteResponseCommand(output, context);
36
- };
37
- return CreateRouteResponseCommand;
38
- }($Command));
39
- export { CreateRouteResponseCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateStageRequestFilterSensitiveLog, CreateStageResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateStageCommand, serializeAws_restJson1CreateStageCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class CreateStageCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateStageCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: CreateStageRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateStageResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1CreateStageCommand(input, context);
33
- };
34
- CreateStageCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateStageCommand(output, context);
36
- };
37
- return CreateStageCommand;
38
- }($Command));
39
- export { CreateStageCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateVpcLinkRequestFilterSensitiveLog, CreateVpcLinkResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateVpcLinkCommand, serializeAws_restJson1CreateVpcLinkCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class CreateVpcLinkCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateVpcLinkCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: CreateVpcLinkRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateVpcLinkResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1CreateVpcLinkCommand(input, context);
33
- };
34
- CreateVpcLinkCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateVpcLinkCommand(output, context);
36
- };
37
- return CreateVpcLinkCommand;
38
- }($Command));
39
- export { CreateVpcLinkCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteAccessLogSettingsRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteAccessLogSettingsCommand, serializeAws_restJson1DeleteAccessLogSettingsCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DeleteAccessLogSettingsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteAccessLogSettingsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: DeleteAccessLogSettingsRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteAccessLogSettingsCommand(input, context);
33
- };
34
- DeleteAccessLogSettingsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteAccessLogSettingsCommand(output, context);
36
- };
37
- return DeleteAccessLogSettingsCommand;
38
- }($Command));
39
- export { DeleteAccessLogSettingsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteApiRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteApiCommand, serializeAws_restJson1DeleteApiCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DeleteApiCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteApiCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: DeleteApiRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteApiCommand(input, context);
33
- };
34
- DeleteApiCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteApiCommand(output, context);
36
- };
37
- return DeleteApiCommand;
38
- }($Command));
39
- export { DeleteApiCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteApiMappingRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteApiMappingCommand, serializeAws_restJson1DeleteApiMappingCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DeleteApiMappingCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteApiMappingCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: DeleteApiMappingRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteApiMappingCommand(input, context);
33
- };
34
- DeleteApiMappingCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteApiMappingCommand(output, context);
36
- };
37
- return DeleteApiMappingCommand;
38
- }($Command));
39
- export { DeleteApiMappingCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteAuthorizerRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteAuthorizerCommand, serializeAws_restJson1DeleteAuthorizerCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DeleteAuthorizerCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteAuthorizerCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: DeleteAuthorizerRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteAuthorizerCommand(input, context);
33
- };
34
- DeleteAuthorizerCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteAuthorizerCommand(output, context);
36
- };
37
- return DeleteAuthorizerCommand;
38
- }($Command));
39
- export { DeleteAuthorizerCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteCorsConfigurationRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteCorsConfigurationCommand, serializeAws_restJson1DeleteCorsConfigurationCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DeleteCorsConfigurationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteCorsConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: DeleteCorsConfigurationRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteCorsConfigurationCommand(input, context);
33
- };
34
- DeleteCorsConfigurationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteCorsConfigurationCommand(output, context);
36
- };
37
- return DeleteCorsConfigurationCommand;
38
- }($Command));
39
- export { DeleteCorsConfigurationCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteDeploymentRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteDeploymentCommand, serializeAws_restJson1DeleteDeploymentCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DeleteDeploymentCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteDeploymentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: DeleteDeploymentRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteDeploymentCommand(input, context);
33
- };
34
- DeleteDeploymentCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteDeploymentCommand(output, context);
36
- };
37
- return DeleteDeploymentCommand;
38
- }($Command));
39
- export { DeleteDeploymentCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteDomainNameRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteDomainNameCommand, serializeAws_restJson1DeleteDomainNameCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DeleteDomainNameCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteDomainNameCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: DeleteDomainNameRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteDomainNameCommand(input, context);
33
- };
34
- DeleteDomainNameCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteDomainNameCommand(output, context);
36
- };
37
- return DeleteDomainNameCommand;
38
- }($Command));
39
- export { DeleteDomainNameCommand };
31
+ }
32
+ }