@aws-sdk/client-api-gateway 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 (144) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/APIGateway.js +482 -489
  3. package/dist-es/APIGatewayClient.js +23 -29
  4. package/dist-es/commands/CreateApiKeyCommand.js +21 -28
  5. package/dist-es/commands/CreateAuthorizerCommand.js +21 -28
  6. package/dist-es/commands/CreateBasePathMappingCommand.js +21 -28
  7. package/dist-es/commands/CreateDeploymentCommand.js +21 -28
  8. package/dist-es/commands/CreateDocumentationPartCommand.js +21 -28
  9. package/dist-es/commands/CreateDocumentationVersionCommand.js +21 -28
  10. package/dist-es/commands/CreateDomainNameCommand.js +21 -28
  11. package/dist-es/commands/CreateModelCommand.js +21 -28
  12. package/dist-es/commands/CreateRequestValidatorCommand.js +21 -28
  13. package/dist-es/commands/CreateResourceCommand.js +21 -28
  14. package/dist-es/commands/CreateRestApiCommand.js +21 -28
  15. package/dist-es/commands/CreateStageCommand.js +21 -28
  16. package/dist-es/commands/CreateUsagePlanCommand.js +21 -28
  17. package/dist-es/commands/CreateUsagePlanKeyCommand.js +21 -28
  18. package/dist-es/commands/CreateVpcLinkCommand.js +21 -28
  19. package/dist-es/commands/DeleteApiKeyCommand.js +22 -29
  20. package/dist-es/commands/DeleteAuthorizerCommand.js +22 -29
  21. package/dist-es/commands/DeleteBasePathMappingCommand.js +22 -29
  22. package/dist-es/commands/DeleteClientCertificateCommand.js +22 -29
  23. package/dist-es/commands/DeleteDeploymentCommand.js +22 -29
  24. package/dist-es/commands/DeleteDocumentationPartCommand.js +22 -29
  25. package/dist-es/commands/DeleteDocumentationVersionCommand.js +22 -29
  26. package/dist-es/commands/DeleteDomainNameCommand.js +22 -29
  27. package/dist-es/commands/DeleteGatewayResponseCommand.js +22 -29
  28. package/dist-es/commands/DeleteIntegrationCommand.js +22 -29
  29. package/dist-es/commands/DeleteIntegrationResponseCommand.js +22 -29
  30. package/dist-es/commands/DeleteMethodCommand.js +22 -29
  31. package/dist-es/commands/DeleteMethodResponseCommand.js +22 -29
  32. package/dist-es/commands/DeleteModelCommand.js +22 -29
  33. package/dist-es/commands/DeleteRequestValidatorCommand.js +22 -29
  34. package/dist-es/commands/DeleteResourceCommand.js +22 -29
  35. package/dist-es/commands/DeleteRestApiCommand.js +22 -29
  36. package/dist-es/commands/DeleteStageCommand.js +22 -29
  37. package/dist-es/commands/DeleteUsagePlanCommand.js +22 -29
  38. package/dist-es/commands/DeleteUsagePlanKeyCommand.js +22 -29
  39. package/dist-es/commands/DeleteVpcLinkCommand.js +22 -29
  40. package/dist-es/commands/FlushStageAuthorizersCacheCommand.js +22 -29
  41. package/dist-es/commands/FlushStageCacheCommand.js +22 -29
  42. package/dist-es/commands/GenerateClientCertificateCommand.js +21 -28
  43. package/dist-es/commands/GetAccountCommand.js +21 -28
  44. package/dist-es/commands/GetApiKeyCommand.js +21 -28
  45. package/dist-es/commands/GetApiKeysCommand.js +21 -28
  46. package/dist-es/commands/GetAuthorizerCommand.js +21 -28
  47. package/dist-es/commands/GetAuthorizersCommand.js +21 -28
  48. package/dist-es/commands/GetBasePathMappingCommand.js +21 -28
  49. package/dist-es/commands/GetBasePathMappingsCommand.js +21 -28
  50. package/dist-es/commands/GetClientCertificateCommand.js +21 -28
  51. package/dist-es/commands/GetClientCertificatesCommand.js +21 -28
  52. package/dist-es/commands/GetDeploymentCommand.js +21 -28
  53. package/dist-es/commands/GetDeploymentsCommand.js +21 -28
  54. package/dist-es/commands/GetDocumentationPartCommand.js +21 -28
  55. package/dist-es/commands/GetDocumentationPartsCommand.js +21 -28
  56. package/dist-es/commands/GetDocumentationVersionCommand.js +21 -28
  57. package/dist-es/commands/GetDocumentationVersionsCommand.js +21 -28
  58. package/dist-es/commands/GetDomainNameCommand.js +21 -28
  59. package/dist-es/commands/GetDomainNamesCommand.js +21 -28
  60. package/dist-es/commands/GetExportCommand.js +21 -28
  61. package/dist-es/commands/GetGatewayResponseCommand.js +21 -28
  62. package/dist-es/commands/GetGatewayResponsesCommand.js +21 -28
  63. package/dist-es/commands/GetIntegrationCommand.js +21 -28
  64. package/dist-es/commands/GetIntegrationResponseCommand.js +21 -28
  65. package/dist-es/commands/GetMethodCommand.js +21 -28
  66. package/dist-es/commands/GetMethodResponseCommand.js +21 -28
  67. package/dist-es/commands/GetModelCommand.js +21 -28
  68. package/dist-es/commands/GetModelTemplateCommand.js +21 -28
  69. package/dist-es/commands/GetModelsCommand.js +21 -28
  70. package/dist-es/commands/GetRequestValidatorCommand.js +21 -28
  71. package/dist-es/commands/GetRequestValidatorsCommand.js +21 -28
  72. package/dist-es/commands/GetResourceCommand.js +21 -28
  73. package/dist-es/commands/GetResourcesCommand.js +21 -28
  74. package/dist-es/commands/GetRestApiCommand.js +21 -28
  75. package/dist-es/commands/GetRestApisCommand.js +21 -28
  76. package/dist-es/commands/GetSdkCommand.js +21 -28
  77. package/dist-es/commands/GetSdkTypeCommand.js +21 -28
  78. package/dist-es/commands/GetSdkTypesCommand.js +21 -28
  79. package/dist-es/commands/GetStageCommand.js +21 -28
  80. package/dist-es/commands/GetStagesCommand.js +21 -28
  81. package/dist-es/commands/GetTagsCommand.js +21 -28
  82. package/dist-es/commands/GetUsageCommand.js +21 -28
  83. package/dist-es/commands/GetUsagePlanCommand.js +21 -28
  84. package/dist-es/commands/GetUsagePlanKeyCommand.js +21 -28
  85. package/dist-es/commands/GetUsagePlanKeysCommand.js +21 -28
  86. package/dist-es/commands/GetUsagePlansCommand.js +21 -28
  87. package/dist-es/commands/GetVpcLinkCommand.js +21 -28
  88. package/dist-es/commands/GetVpcLinksCommand.js +21 -28
  89. package/dist-es/commands/ImportApiKeysCommand.js +21 -28
  90. package/dist-es/commands/ImportDocumentationPartsCommand.js +21 -28
  91. package/dist-es/commands/ImportRestApiCommand.js +21 -28
  92. package/dist-es/commands/PutGatewayResponseCommand.js +21 -28
  93. package/dist-es/commands/PutIntegrationCommand.js +21 -28
  94. package/dist-es/commands/PutIntegrationResponseCommand.js +21 -28
  95. package/dist-es/commands/PutMethodCommand.js +21 -28
  96. package/dist-es/commands/PutMethodResponseCommand.js +21 -28
  97. package/dist-es/commands/PutRestApiCommand.js +21 -28
  98. package/dist-es/commands/TagResourceCommand.js +22 -29
  99. package/dist-es/commands/TestInvokeAuthorizerCommand.js +21 -28
  100. package/dist-es/commands/TestInvokeMethodCommand.js +21 -28
  101. package/dist-es/commands/UntagResourceCommand.js +22 -29
  102. package/dist-es/commands/UpdateAccountCommand.js +21 -28
  103. package/dist-es/commands/UpdateApiKeyCommand.js +21 -28
  104. package/dist-es/commands/UpdateAuthorizerCommand.js +21 -28
  105. package/dist-es/commands/UpdateBasePathMappingCommand.js +21 -28
  106. package/dist-es/commands/UpdateClientCertificateCommand.js +21 -28
  107. package/dist-es/commands/UpdateDeploymentCommand.js +21 -28
  108. package/dist-es/commands/UpdateDocumentationPartCommand.js +21 -28
  109. package/dist-es/commands/UpdateDocumentationVersionCommand.js +21 -28
  110. package/dist-es/commands/UpdateDomainNameCommand.js +21 -28
  111. package/dist-es/commands/UpdateGatewayResponseCommand.js +21 -28
  112. package/dist-es/commands/UpdateIntegrationCommand.js +21 -28
  113. package/dist-es/commands/UpdateIntegrationResponseCommand.js +21 -28
  114. package/dist-es/commands/UpdateMethodCommand.js +21 -28
  115. package/dist-es/commands/UpdateMethodResponseCommand.js +21 -28
  116. package/dist-es/commands/UpdateModelCommand.js +21 -28
  117. package/dist-es/commands/UpdateRequestValidatorCommand.js +21 -28
  118. package/dist-es/commands/UpdateResourceCommand.js +21 -28
  119. package/dist-es/commands/UpdateRestApiCommand.js +21 -28
  120. package/dist-es/commands/UpdateStageCommand.js +21 -28
  121. package/dist-es/commands/UpdateUsageCommand.js +21 -28
  122. package/dist-es/commands/UpdateUsagePlanCommand.js +21 -28
  123. package/dist-es/commands/UpdateVpcLinkCommand.js +21 -28
  124. package/dist-es/endpoints.js +8 -8
  125. package/dist-es/models/APIGatewayServiceException.js +5 -10
  126. package/dist-es/models/models_0.js +638 -267
  127. package/dist-es/pagination/GetApiKeysPaginator.js +25 -68
  128. package/dist-es/pagination/GetBasePathMappingsPaginator.js +25 -68
  129. package/dist-es/pagination/GetClientCertificatesPaginator.js +25 -68
  130. package/dist-es/pagination/GetDeploymentsPaginator.js +25 -68
  131. package/dist-es/pagination/GetDomainNamesPaginator.js +25 -68
  132. package/dist-es/pagination/GetModelsPaginator.js +25 -68
  133. package/dist-es/pagination/GetResourcesPaginator.js +25 -68
  134. package/dist-es/pagination/GetRestApisPaginator.js +25 -68
  135. package/dist-es/pagination/GetUsagePaginator.js +25 -68
  136. package/dist-es/pagination/GetUsagePlanKeysPaginator.js +25 -68
  137. package/dist-es/pagination/GetUsagePlansPaginator.js +25 -68
  138. package/dist-es/pagination/GetVpcLinksPaginator.js +25 -68
  139. package/dist-es/protocols/Aws_restJson1.js +9637 -13298
  140. package/dist-es/runtimeConfig.browser.js +26 -12
  141. package/dist-es/runtimeConfig.js +30 -12
  142. package/dist-es/runtimeConfig.native.js +8 -5
  143. package/dist-es/runtimeConfig.shared.js +8 -11
  144. package/package.json +34 -34
@@ -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 { GetResourcesRequestFilterSensitiveLog, ResourcesFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetResourcesCommand, serializeAws_restJson1GetResourcesCommand, } from "../protocols/Aws_restJson1";
6
- var GetResourcesCommand = (function (_super) {
7
- __extends(GetResourcesCommand, _super);
8
- function GetResourcesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetResourcesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetResourcesCommand.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 = "APIGatewayClient";
18
- var commandName = "GetResourcesCommand";
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 = "APIGatewayClient";
15
+ const commandName = "GetResourcesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetResourcesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ResourcesFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetResourcesCommand.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_restJson1GetResourcesCommand(input, context);
33
- };
34
- GetResourcesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetResourcesCommand(output, context);
36
- };
37
- return GetResourcesCommand;
38
- }($Command));
39
- export { GetResourcesCommand };
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 { GetRestApiRequestFilterSensitiveLog, RestApiFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetRestApiCommand, serializeAws_restJson1GetRestApiCommand, } from "../protocols/Aws_restJson1";
6
- var GetRestApiCommand = (function (_super) {
7
- __extends(GetRestApiCommand, _super);
8
- function GetRestApiCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetRestApiCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetRestApiCommand.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 = "APIGatewayClient";
18
- var commandName = "GetRestApiCommand";
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 = "APIGatewayClient";
15
+ const commandName = "GetRestApiCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetRestApiRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: RestApiFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetRestApiCommand.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_restJson1GetRestApiCommand(input, context);
33
- };
34
- GetRestApiCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetRestApiCommand(output, context);
36
- };
37
- return GetRestApiCommand;
38
- }($Command));
39
- export { GetRestApiCommand };
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 { GetRestApisRequestFilterSensitiveLog, RestApisFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetRestApisCommand, serializeAws_restJson1GetRestApisCommand, } from "../protocols/Aws_restJson1";
6
- var GetRestApisCommand = (function (_super) {
7
- __extends(GetRestApisCommand, _super);
8
- function GetRestApisCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetRestApisCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetRestApisCommand.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 = "APIGatewayClient";
18
- var commandName = "GetRestApisCommand";
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 = "APIGatewayClient";
15
+ const commandName = "GetRestApisCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetRestApisRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: RestApisFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetRestApisCommand.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_restJson1GetRestApisCommand(input, context);
33
- };
34
- GetRestApisCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetRestApisCommand(output, context);
36
- };
37
- return GetRestApisCommand;
38
- }($Command));
39
- export { GetRestApisCommand };
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 { GetSdkRequestFilterSensitiveLog, SdkResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetSdkCommand, serializeAws_restJson1GetSdkCommand } from "../protocols/Aws_restJson1";
6
- var GetSdkCommand = (function (_super) {
7
- __extends(GetSdkCommand, _super);
8
- function GetSdkCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetSdkCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetSdkCommand.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 = "APIGatewayClient";
18
- var commandName = "GetSdkCommand";
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 = "APIGatewayClient";
15
+ const commandName = "GetSdkCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetSdkRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: SdkResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetSdkCommand.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_restJson1GetSdkCommand(input, context);
33
- };
34
- GetSdkCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetSdkCommand(output, context);
36
- };
37
- return GetSdkCommand;
38
- }($Command));
39
- export { GetSdkCommand };
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 { GetSdkTypeRequestFilterSensitiveLog, SdkTypeFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetSdkTypeCommand, serializeAws_restJson1GetSdkTypeCommand, } from "../protocols/Aws_restJson1";
6
- var GetSdkTypeCommand = (function (_super) {
7
- __extends(GetSdkTypeCommand, _super);
8
- function GetSdkTypeCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetSdkTypeCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetSdkTypeCommand.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 = "APIGatewayClient";
18
- var commandName = "GetSdkTypeCommand";
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 = "APIGatewayClient";
15
+ const commandName = "GetSdkTypeCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetSdkTypeRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: SdkTypeFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetSdkTypeCommand.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_restJson1GetSdkTypeCommand(input, context);
33
- };
34
- GetSdkTypeCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetSdkTypeCommand(output, context);
36
- };
37
- return GetSdkTypeCommand;
38
- }($Command));
39
- export { GetSdkTypeCommand };
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 { GetSdkTypesRequestFilterSensitiveLog, SdkTypesFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetSdkTypesCommand, serializeAws_restJson1GetSdkTypesCommand, } from "../protocols/Aws_restJson1";
6
- var GetSdkTypesCommand = (function (_super) {
7
- __extends(GetSdkTypesCommand, _super);
8
- function GetSdkTypesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetSdkTypesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetSdkTypesCommand.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 = "APIGatewayClient";
18
- var commandName = "GetSdkTypesCommand";
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 = "APIGatewayClient";
15
+ const commandName = "GetSdkTypesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetSdkTypesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: SdkTypesFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetSdkTypesCommand.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_restJson1GetSdkTypesCommand(input, context);
33
- };
34
- GetSdkTypesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetSdkTypesCommand(output, context);
36
- };
37
- return GetSdkTypesCommand;
38
- }($Command));
39
- export { GetSdkTypesCommand };
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 { GetStageRequestFilterSensitiveLog, StageFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetStageCommand, serializeAws_restJson1GetStageCommand, } from "../protocols/Aws_restJson1";
6
- var GetStageCommand = (function (_super) {
7
- __extends(GetStageCommand, _super);
8
- function GetStageCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetStageCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetStageCommand.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 = "APIGatewayClient";
18
- var commandName = "GetStageCommand";
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 = "APIGatewayClient";
15
+ const commandName = "GetStageCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetStageRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: StageFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetStageCommand.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_restJson1GetStageCommand(input, context);
33
- };
34
- GetStageCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetStageCommand(output, context);
36
- };
37
- return GetStageCommand;
38
- }($Command));
39
- export { GetStageCommand };
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 { GetStagesRequestFilterSensitiveLog, StagesFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetStagesCommand, serializeAws_restJson1GetStagesCommand, } from "../protocols/Aws_restJson1";
6
- var GetStagesCommand = (function (_super) {
7
- __extends(GetStagesCommand, _super);
8
- function GetStagesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetStagesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetStagesCommand.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 = "APIGatewayClient";
18
- var commandName = "GetStagesCommand";
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 = "APIGatewayClient";
15
+ const commandName = "GetStagesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetStagesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: StagesFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetStagesCommand.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_restJson1GetStagesCommand(input, context);
33
- };
34
- GetStagesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetStagesCommand(output, context);
36
- };
37
- return GetStagesCommand;
38
- }($Command));
39
- export { GetStagesCommand };
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 { GetTagsRequestFilterSensitiveLog, TagsFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetTagsCommand, serializeAws_restJson1GetTagsCommand, } from "../protocols/Aws_restJson1";
6
- var GetTagsCommand = (function (_super) {
7
- __extends(GetTagsCommand, _super);
8
- function GetTagsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetTagsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetTagsCommand.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 = "APIGatewayClient";
18
- var commandName = "GetTagsCommand";
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 = "APIGatewayClient";
15
+ const commandName = "GetTagsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetTagsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: TagsFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetTagsCommand.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_restJson1GetTagsCommand(input, context);
33
- };
34
- GetTagsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetTagsCommand(output, context);
36
- };
37
- return GetTagsCommand;
38
- }($Command));
39
- export { GetTagsCommand };
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 { GetUsageRequestFilterSensitiveLog, UsageFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetUsageCommand, serializeAws_restJson1GetUsageCommand, } from "../protocols/Aws_restJson1";
6
- var GetUsageCommand = (function (_super) {
7
- __extends(GetUsageCommand, _super);
8
- function GetUsageCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetUsageCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetUsageCommand.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 = "APIGatewayClient";
18
- var commandName = "GetUsageCommand";
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 = "APIGatewayClient";
15
+ const commandName = "GetUsageCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetUsageRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UsageFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetUsageCommand.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_restJson1GetUsageCommand(input, context);
33
- };
34
- GetUsageCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetUsageCommand(output, context);
36
- };
37
- return GetUsageCommand;
38
- }($Command));
39
- export { GetUsageCommand };
31
+ }
32
+ }