@aws-sdk/client-api-gateway 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 (145) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/APIGateway.js +489 -482
  4. package/dist-es/APIGatewayClient.js +29 -23
  5. package/dist-es/commands/CreateApiKeyCommand.js +28 -21
  6. package/dist-es/commands/CreateAuthorizerCommand.js +28 -21
  7. package/dist-es/commands/CreateBasePathMappingCommand.js +28 -21
  8. package/dist-es/commands/CreateDeploymentCommand.js +28 -21
  9. package/dist-es/commands/CreateDocumentationPartCommand.js +28 -21
  10. package/dist-es/commands/CreateDocumentationVersionCommand.js +28 -21
  11. package/dist-es/commands/CreateDomainNameCommand.js +28 -21
  12. package/dist-es/commands/CreateModelCommand.js +28 -21
  13. package/dist-es/commands/CreateRequestValidatorCommand.js +28 -21
  14. package/dist-es/commands/CreateResourceCommand.js +28 -21
  15. package/dist-es/commands/CreateRestApiCommand.js +28 -21
  16. package/dist-es/commands/CreateStageCommand.js +28 -21
  17. package/dist-es/commands/CreateUsagePlanCommand.js +28 -21
  18. package/dist-es/commands/CreateUsagePlanKeyCommand.js +28 -21
  19. package/dist-es/commands/CreateVpcLinkCommand.js +28 -21
  20. package/dist-es/commands/DeleteApiKeyCommand.js +29 -22
  21. package/dist-es/commands/DeleteAuthorizerCommand.js +29 -22
  22. package/dist-es/commands/DeleteBasePathMappingCommand.js +29 -22
  23. package/dist-es/commands/DeleteClientCertificateCommand.js +29 -22
  24. package/dist-es/commands/DeleteDeploymentCommand.js +29 -22
  25. package/dist-es/commands/DeleteDocumentationPartCommand.js +29 -22
  26. package/dist-es/commands/DeleteDocumentationVersionCommand.js +29 -22
  27. package/dist-es/commands/DeleteDomainNameCommand.js +29 -22
  28. package/dist-es/commands/DeleteGatewayResponseCommand.js +29 -22
  29. package/dist-es/commands/DeleteIntegrationCommand.js +29 -22
  30. package/dist-es/commands/DeleteIntegrationResponseCommand.js +29 -22
  31. package/dist-es/commands/DeleteMethodCommand.js +29 -22
  32. package/dist-es/commands/DeleteMethodResponseCommand.js +29 -22
  33. package/dist-es/commands/DeleteModelCommand.js +29 -22
  34. package/dist-es/commands/DeleteRequestValidatorCommand.js +29 -22
  35. package/dist-es/commands/DeleteResourceCommand.js +29 -22
  36. package/dist-es/commands/DeleteRestApiCommand.js +29 -22
  37. package/dist-es/commands/DeleteStageCommand.js +29 -22
  38. package/dist-es/commands/DeleteUsagePlanCommand.js +29 -22
  39. package/dist-es/commands/DeleteUsagePlanKeyCommand.js +29 -22
  40. package/dist-es/commands/DeleteVpcLinkCommand.js +29 -22
  41. package/dist-es/commands/FlushStageAuthorizersCacheCommand.js +29 -22
  42. package/dist-es/commands/FlushStageCacheCommand.js +29 -22
  43. package/dist-es/commands/GenerateClientCertificateCommand.js +28 -21
  44. package/dist-es/commands/GetAccountCommand.js +28 -21
  45. package/dist-es/commands/GetApiKeyCommand.js +28 -21
  46. package/dist-es/commands/GetApiKeysCommand.js +28 -21
  47. package/dist-es/commands/GetAuthorizerCommand.js +28 -21
  48. package/dist-es/commands/GetAuthorizersCommand.js +28 -21
  49. package/dist-es/commands/GetBasePathMappingCommand.js +28 -21
  50. package/dist-es/commands/GetBasePathMappingsCommand.js +28 -21
  51. package/dist-es/commands/GetClientCertificateCommand.js +28 -21
  52. package/dist-es/commands/GetClientCertificatesCommand.js +28 -21
  53. package/dist-es/commands/GetDeploymentCommand.js +28 -21
  54. package/dist-es/commands/GetDeploymentsCommand.js +28 -21
  55. package/dist-es/commands/GetDocumentationPartCommand.js +28 -21
  56. package/dist-es/commands/GetDocumentationPartsCommand.js +28 -21
  57. package/dist-es/commands/GetDocumentationVersionCommand.js +28 -21
  58. package/dist-es/commands/GetDocumentationVersionsCommand.js +28 -21
  59. package/dist-es/commands/GetDomainNameCommand.js +28 -21
  60. package/dist-es/commands/GetDomainNamesCommand.js +28 -21
  61. package/dist-es/commands/GetExportCommand.js +28 -21
  62. package/dist-es/commands/GetGatewayResponseCommand.js +28 -21
  63. package/dist-es/commands/GetGatewayResponsesCommand.js +28 -21
  64. package/dist-es/commands/GetIntegrationCommand.js +28 -21
  65. package/dist-es/commands/GetIntegrationResponseCommand.js +28 -21
  66. package/dist-es/commands/GetMethodCommand.js +28 -21
  67. package/dist-es/commands/GetMethodResponseCommand.js +28 -21
  68. package/dist-es/commands/GetModelCommand.js +28 -21
  69. package/dist-es/commands/GetModelTemplateCommand.js +28 -21
  70. package/dist-es/commands/GetModelsCommand.js +28 -21
  71. package/dist-es/commands/GetRequestValidatorCommand.js +28 -21
  72. package/dist-es/commands/GetRequestValidatorsCommand.js +28 -21
  73. package/dist-es/commands/GetResourceCommand.js +28 -21
  74. package/dist-es/commands/GetResourcesCommand.js +28 -21
  75. package/dist-es/commands/GetRestApiCommand.js +28 -21
  76. package/dist-es/commands/GetRestApisCommand.js +28 -21
  77. package/dist-es/commands/GetSdkCommand.js +28 -21
  78. package/dist-es/commands/GetSdkTypeCommand.js +28 -21
  79. package/dist-es/commands/GetSdkTypesCommand.js +28 -21
  80. package/dist-es/commands/GetStageCommand.js +28 -21
  81. package/dist-es/commands/GetStagesCommand.js +28 -21
  82. package/dist-es/commands/GetTagsCommand.js +28 -21
  83. package/dist-es/commands/GetUsageCommand.js +28 -21
  84. package/dist-es/commands/GetUsagePlanCommand.js +28 -21
  85. package/dist-es/commands/GetUsagePlanKeyCommand.js +28 -21
  86. package/dist-es/commands/GetUsagePlanKeysCommand.js +28 -21
  87. package/dist-es/commands/GetUsagePlansCommand.js +28 -21
  88. package/dist-es/commands/GetVpcLinkCommand.js +28 -21
  89. package/dist-es/commands/GetVpcLinksCommand.js +28 -21
  90. package/dist-es/commands/ImportApiKeysCommand.js +28 -21
  91. package/dist-es/commands/ImportDocumentationPartsCommand.js +28 -21
  92. package/dist-es/commands/ImportRestApiCommand.js +28 -21
  93. package/dist-es/commands/PutGatewayResponseCommand.js +28 -21
  94. package/dist-es/commands/PutIntegrationCommand.js +28 -21
  95. package/dist-es/commands/PutIntegrationResponseCommand.js +28 -21
  96. package/dist-es/commands/PutMethodCommand.js +28 -21
  97. package/dist-es/commands/PutMethodResponseCommand.js +28 -21
  98. package/dist-es/commands/PutRestApiCommand.js +28 -21
  99. package/dist-es/commands/TagResourceCommand.js +29 -22
  100. package/dist-es/commands/TestInvokeAuthorizerCommand.js +28 -21
  101. package/dist-es/commands/TestInvokeMethodCommand.js +28 -21
  102. package/dist-es/commands/UntagResourceCommand.js +29 -22
  103. package/dist-es/commands/UpdateAccountCommand.js +28 -21
  104. package/dist-es/commands/UpdateApiKeyCommand.js +28 -21
  105. package/dist-es/commands/UpdateAuthorizerCommand.js +28 -21
  106. package/dist-es/commands/UpdateBasePathMappingCommand.js +28 -21
  107. package/dist-es/commands/UpdateClientCertificateCommand.js +28 -21
  108. package/dist-es/commands/UpdateDeploymentCommand.js +28 -21
  109. package/dist-es/commands/UpdateDocumentationPartCommand.js +28 -21
  110. package/dist-es/commands/UpdateDocumentationVersionCommand.js +28 -21
  111. package/dist-es/commands/UpdateDomainNameCommand.js +28 -21
  112. package/dist-es/commands/UpdateGatewayResponseCommand.js +28 -21
  113. package/dist-es/commands/UpdateIntegrationCommand.js +28 -21
  114. package/dist-es/commands/UpdateIntegrationResponseCommand.js +28 -21
  115. package/dist-es/commands/UpdateMethodCommand.js +28 -21
  116. package/dist-es/commands/UpdateMethodResponseCommand.js +28 -21
  117. package/dist-es/commands/UpdateModelCommand.js +28 -21
  118. package/dist-es/commands/UpdateRequestValidatorCommand.js +28 -21
  119. package/dist-es/commands/UpdateResourceCommand.js +28 -21
  120. package/dist-es/commands/UpdateRestApiCommand.js +28 -21
  121. package/dist-es/commands/UpdateStageCommand.js +28 -21
  122. package/dist-es/commands/UpdateUsageCommand.js +28 -21
  123. package/dist-es/commands/UpdateUsagePlanCommand.js +28 -21
  124. package/dist-es/commands/UpdateVpcLinkCommand.js +28 -21
  125. package/dist-es/endpoints.js +8 -8
  126. package/dist-es/models/APIGatewayServiceException.js +10 -5
  127. package/dist-es/models/models_0.js +267 -638
  128. package/dist-es/pagination/GetApiKeysPaginator.js +68 -25
  129. package/dist-es/pagination/GetBasePathMappingsPaginator.js +68 -25
  130. package/dist-es/pagination/GetClientCertificatesPaginator.js +68 -25
  131. package/dist-es/pagination/GetDeploymentsPaginator.js +68 -25
  132. package/dist-es/pagination/GetDomainNamesPaginator.js +68 -25
  133. package/dist-es/pagination/GetModelsPaginator.js +68 -25
  134. package/dist-es/pagination/GetResourcesPaginator.js +68 -25
  135. package/dist-es/pagination/GetRestApisPaginator.js +68 -25
  136. package/dist-es/pagination/GetUsagePaginator.js +68 -25
  137. package/dist-es/pagination/GetUsagePlanKeysPaginator.js +68 -25
  138. package/dist-es/pagination/GetUsagePlansPaginator.js +68 -25
  139. package/dist-es/pagination/GetVpcLinksPaginator.js +68 -25
  140. package/dist-es/protocols/Aws_restJson1.js +13298 -9637
  141. package/dist-es/runtimeConfig.browser.js +12 -26
  142. package/dist-es/runtimeConfig.js +12 -30
  143. package/dist-es/runtimeConfig.native.js +5 -8
  144. package/dist-es/runtimeConfig.shared.js +11 -8
  145. package/package.json +5 -5
@@ -1,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
2
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -9,27 +10,32 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
9
10
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
11
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
12
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
12
- export class APIGatewayClient extends __Client {
13
- constructor(configuration) {
14
- const _config_0 = __getRuntimeConfig(configuration);
15
- const _config_1 = resolveRegionConfig(_config_0);
16
- const _config_2 = resolveEndpointsConfig(_config_1);
17
- const _config_3 = resolveRetryConfig(_config_2);
18
- const _config_4 = resolveHostHeaderConfig(_config_3);
19
- const _config_5 = resolveAwsAuthConfig(_config_4);
20
- const _config_6 = resolveUserAgentConfig(_config_5);
21
- super(_config_6);
22
- this.config = _config_6;
23
- this.middlewareStack.use(getRetryPlugin(this.config));
24
- this.middlewareStack.use(getContentLengthPlugin(this.config));
25
- this.middlewareStack.use(getAcceptHeaderPlugin(this.config));
26
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
27
- this.middlewareStack.use(getLoggerPlugin(this.config));
28
- this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
29
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
30
- this.middlewareStack.use(getUserAgentPlugin(this.config));
13
+ var APIGatewayClient = (function (_super) {
14
+ __extends(APIGatewayClient, _super);
15
+ function APIGatewayClient(configuration) {
16
+ var _this = this;
17
+ var _config_0 = __getRuntimeConfig(configuration);
18
+ var _config_1 = resolveRegionConfig(_config_0);
19
+ var _config_2 = resolveEndpointsConfig(_config_1);
20
+ var _config_3 = resolveRetryConfig(_config_2);
21
+ var _config_4 = resolveHostHeaderConfig(_config_3);
22
+ var _config_5 = resolveAwsAuthConfig(_config_4);
23
+ var _config_6 = resolveUserAgentConfig(_config_5);
24
+ _this = _super.call(this, _config_6) || this;
25
+ _this.config = _config_6;
26
+ _this.middlewareStack.use(getRetryPlugin(_this.config));
27
+ _this.middlewareStack.use(getContentLengthPlugin(_this.config));
28
+ _this.middlewareStack.use(getAcceptHeaderPlugin(_this.config));
29
+ _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
30
+ _this.middlewareStack.use(getLoggerPlugin(_this.config));
31
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
32
+ _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
33
+ _this.middlewareStack.use(getUserAgentPlugin(_this.config));
34
+ return _this;
31
35
  }
32
- destroy() {
33
- super.destroy();
34
- }
35
- }
36
+ APIGatewayClient.prototype.destroy = function () {
37
+ _super.prototype.destroy.call(this);
38
+ };
39
+ return APIGatewayClient;
40
+ }(__Client));
41
+ export { APIGatewayClient };
@@ -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 { ApiKeyFilterSensitiveLog, CreateApiKeyRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateApiKeyCommand, serializeAws_restJson1CreateApiKeyCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateApiKeyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateApiKeyCommand = (function (_super) {
7
+ __extends(CreateApiKeyCommand, _super);
8
+ function CreateApiKeyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateApiKeyCommand.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 = "APIGatewayClient";
15
- const commandName = "CreateApiKeyCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "APIGatewayClient";
18
+ var commandName = "CreateApiKeyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateApiKeyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ApiKeyFilterSensitiveLog,
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
+ CreateApiKeyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateApiKeyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateApiKeyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateApiKeyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateApiKeyCommand;
38
+ }($Command));
39
+ export { CreateApiKeyCommand };
@@ -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 { AuthorizerFilterSensitiveLog, CreateAuthorizerRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateAuthorizerCommand, serializeAws_restJson1CreateAuthorizerCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateAuthorizerCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateAuthorizerCommand = (function (_super) {
7
+ __extends(CreateAuthorizerCommand, _super);
8
+ function CreateAuthorizerCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateAuthorizerCommand.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 = "APIGatewayClient";
15
- const commandName = "CreateAuthorizerCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "APIGatewayClient";
18
+ var commandName = "CreateAuthorizerCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateAuthorizerRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AuthorizerFilterSensitiveLog,
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
+ CreateAuthorizerCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateAuthorizerCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateAuthorizerCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateAuthorizerCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateAuthorizerCommand;
38
+ }($Command));
39
+ export { CreateAuthorizerCommand };
@@ -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 { BasePathMappingFilterSensitiveLog, CreateBasePathMappingRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateBasePathMappingCommand, serializeAws_restJson1CreateBasePathMappingCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateBasePathMappingCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateBasePathMappingCommand = (function (_super) {
7
+ __extends(CreateBasePathMappingCommand, _super);
8
+ function CreateBasePathMappingCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateBasePathMappingCommand.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 = "APIGatewayClient";
15
- const commandName = "CreateBasePathMappingCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "APIGatewayClient";
18
+ var commandName = "CreateBasePathMappingCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateBasePathMappingRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: BasePathMappingFilterSensitiveLog,
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
+ CreateBasePathMappingCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateBasePathMappingCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateBasePathMappingCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateBasePathMappingCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateBasePathMappingCommand;
38
+ }($Command));
39
+ export { CreateBasePathMappingCommand };
@@ -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 { CreateDeploymentRequestFilterSensitiveLog, DeploymentFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateDeploymentCommand, serializeAws_restJson1CreateDeploymentCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateDeploymentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateDeploymentCommand = (function (_super) {
7
+ __extends(CreateDeploymentCommand, _super);
8
+ function CreateDeploymentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateDeploymentCommand.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 = "APIGatewayClient";
15
- const commandName = "CreateDeploymentCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "APIGatewayClient";
18
+ var commandName = "CreateDeploymentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateDeploymentRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeploymentFilterSensitiveLog,
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
+ CreateDeploymentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateDeploymentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateDeploymentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateDeploymentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateDeploymentCommand;
38
+ }($Command));
39
+ export { CreateDeploymentCommand };
@@ -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 { CreateDocumentationPartRequestFilterSensitiveLog, DocumentationPartFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateDocumentationPartCommand, serializeAws_restJson1CreateDocumentationPartCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateDocumentationPartCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateDocumentationPartCommand = (function (_super) {
7
+ __extends(CreateDocumentationPartCommand, _super);
8
+ function CreateDocumentationPartCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateDocumentationPartCommand.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 = "APIGatewayClient";
15
- const commandName = "CreateDocumentationPartCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "APIGatewayClient";
18
+ var commandName = "CreateDocumentationPartCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateDocumentationPartRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DocumentationPartFilterSensitiveLog,
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
+ CreateDocumentationPartCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateDocumentationPartCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateDocumentationPartCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateDocumentationPartCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateDocumentationPartCommand;
38
+ }($Command));
39
+ export { CreateDocumentationPartCommand };
@@ -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 { CreateDocumentationVersionRequestFilterSensitiveLog, DocumentationVersionFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateDocumentationVersionCommand, serializeAws_restJson1CreateDocumentationVersionCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateDocumentationVersionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateDocumentationVersionCommand = (function (_super) {
7
+ __extends(CreateDocumentationVersionCommand, _super);
8
+ function CreateDocumentationVersionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateDocumentationVersionCommand.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 = "APIGatewayClient";
15
- const commandName = "CreateDocumentationVersionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "APIGatewayClient";
18
+ var commandName = "CreateDocumentationVersionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateDocumentationVersionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DocumentationVersionFilterSensitiveLog,
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
+ CreateDocumentationVersionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateDocumentationVersionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateDocumentationVersionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateDocumentationVersionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateDocumentationVersionCommand;
38
+ }($Command));
39
+ export { CreateDocumentationVersionCommand };
@@ -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 { CreateDomainNameRequestFilterSensitiveLog, DomainNameFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateDomainNameCommand, serializeAws_restJson1CreateDomainNameCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateDomainNameCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateDomainNameCommand = (function (_super) {
7
+ __extends(CreateDomainNameCommand, _super);
8
+ function CreateDomainNameCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateDomainNameCommand.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 = "APIGatewayClient";
15
- const commandName = "CreateDomainNameCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "APIGatewayClient";
18
+ var commandName = "CreateDomainNameCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateDomainNameRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DomainNameFilterSensitiveLog,
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
+ CreateDomainNameCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateDomainNameCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateDomainNameCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateDomainNameCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateDomainNameCommand;
38
+ }($Command));
39
+ export { CreateDomainNameCommand };
@@ -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 { CreateModelRequestFilterSensitiveLog, ModelFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateModelCommand, serializeAws_restJson1CreateModelCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateModelCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateModelCommand = (function (_super) {
7
+ __extends(CreateModelCommand, _super);
8
+ function CreateModelCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateModelCommand.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 = "APIGatewayClient";
15
- const commandName = "CreateModelCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "APIGatewayClient";
18
+ var commandName = "CreateModelCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateModelRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ModelFilterSensitiveLog,
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
+ CreateModelCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateModelCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateModelCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateModelCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateModelCommand;
38
+ }($Command));
39
+ export { CreateModelCommand };
@@ -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 { CreateRequestValidatorRequestFilterSensitiveLog, RequestValidatorFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateRequestValidatorCommand, serializeAws_restJson1CreateRequestValidatorCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateRequestValidatorCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateRequestValidatorCommand = (function (_super) {
7
+ __extends(CreateRequestValidatorCommand, _super);
8
+ function CreateRequestValidatorCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateRequestValidatorCommand.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 = "APIGatewayClient";
15
- const commandName = "CreateRequestValidatorCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "APIGatewayClient";
18
+ var commandName = "CreateRequestValidatorCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateRequestValidatorRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: RequestValidatorFilterSensitiveLog,
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
+ CreateRequestValidatorCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateRequestValidatorCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateRequestValidatorCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateRequestValidatorCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateRequestValidatorCommand;
38
+ }($Command));
39
+ export { CreateRequestValidatorCommand };