@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.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/APIGateway.js +489 -482
- package/dist-es/APIGatewayClient.js +29 -23
- package/dist-es/commands/CreateApiKeyCommand.js +28 -21
- package/dist-es/commands/CreateAuthorizerCommand.js +28 -21
- package/dist-es/commands/CreateBasePathMappingCommand.js +28 -21
- package/dist-es/commands/CreateDeploymentCommand.js +28 -21
- package/dist-es/commands/CreateDocumentationPartCommand.js +28 -21
- package/dist-es/commands/CreateDocumentationVersionCommand.js +28 -21
- package/dist-es/commands/CreateDomainNameCommand.js +28 -21
- package/dist-es/commands/CreateModelCommand.js +28 -21
- package/dist-es/commands/CreateRequestValidatorCommand.js +28 -21
- package/dist-es/commands/CreateResourceCommand.js +28 -21
- package/dist-es/commands/CreateRestApiCommand.js +28 -21
- package/dist-es/commands/CreateStageCommand.js +28 -21
- package/dist-es/commands/CreateUsagePlanCommand.js +28 -21
- package/dist-es/commands/CreateUsagePlanKeyCommand.js +28 -21
- package/dist-es/commands/CreateVpcLinkCommand.js +28 -21
- package/dist-es/commands/DeleteApiKeyCommand.js +29 -22
- package/dist-es/commands/DeleteAuthorizerCommand.js +29 -22
- package/dist-es/commands/DeleteBasePathMappingCommand.js +29 -22
- package/dist-es/commands/DeleteClientCertificateCommand.js +29 -22
- package/dist-es/commands/DeleteDeploymentCommand.js +29 -22
- package/dist-es/commands/DeleteDocumentationPartCommand.js +29 -22
- package/dist-es/commands/DeleteDocumentationVersionCommand.js +29 -22
- package/dist-es/commands/DeleteDomainNameCommand.js +29 -22
- package/dist-es/commands/DeleteGatewayResponseCommand.js +29 -22
- package/dist-es/commands/DeleteIntegrationCommand.js +29 -22
- package/dist-es/commands/DeleteIntegrationResponseCommand.js +29 -22
- package/dist-es/commands/DeleteMethodCommand.js +29 -22
- package/dist-es/commands/DeleteMethodResponseCommand.js +29 -22
- package/dist-es/commands/DeleteModelCommand.js +29 -22
- package/dist-es/commands/DeleteRequestValidatorCommand.js +29 -22
- package/dist-es/commands/DeleteResourceCommand.js +29 -22
- package/dist-es/commands/DeleteRestApiCommand.js +29 -22
- package/dist-es/commands/DeleteStageCommand.js +29 -22
- package/dist-es/commands/DeleteUsagePlanCommand.js +29 -22
- package/dist-es/commands/DeleteUsagePlanKeyCommand.js +29 -22
- package/dist-es/commands/DeleteVpcLinkCommand.js +29 -22
- package/dist-es/commands/FlushStageAuthorizersCacheCommand.js +29 -22
- package/dist-es/commands/FlushStageCacheCommand.js +29 -22
- package/dist-es/commands/GenerateClientCertificateCommand.js +28 -21
- package/dist-es/commands/GetAccountCommand.js +28 -21
- package/dist-es/commands/GetApiKeyCommand.js +28 -21
- package/dist-es/commands/GetApiKeysCommand.js +28 -21
- package/dist-es/commands/GetAuthorizerCommand.js +28 -21
- package/dist-es/commands/GetAuthorizersCommand.js +28 -21
- package/dist-es/commands/GetBasePathMappingCommand.js +28 -21
- package/dist-es/commands/GetBasePathMappingsCommand.js +28 -21
- package/dist-es/commands/GetClientCertificateCommand.js +28 -21
- package/dist-es/commands/GetClientCertificatesCommand.js +28 -21
- package/dist-es/commands/GetDeploymentCommand.js +28 -21
- package/dist-es/commands/GetDeploymentsCommand.js +28 -21
- package/dist-es/commands/GetDocumentationPartCommand.js +28 -21
- package/dist-es/commands/GetDocumentationPartsCommand.js +28 -21
- package/dist-es/commands/GetDocumentationVersionCommand.js +28 -21
- package/dist-es/commands/GetDocumentationVersionsCommand.js +28 -21
- package/dist-es/commands/GetDomainNameCommand.js +28 -21
- package/dist-es/commands/GetDomainNamesCommand.js +28 -21
- package/dist-es/commands/GetExportCommand.js +28 -21
- package/dist-es/commands/GetGatewayResponseCommand.js +28 -21
- package/dist-es/commands/GetGatewayResponsesCommand.js +28 -21
- package/dist-es/commands/GetIntegrationCommand.js +28 -21
- package/dist-es/commands/GetIntegrationResponseCommand.js +28 -21
- package/dist-es/commands/GetMethodCommand.js +28 -21
- package/dist-es/commands/GetMethodResponseCommand.js +28 -21
- package/dist-es/commands/GetModelCommand.js +28 -21
- package/dist-es/commands/GetModelTemplateCommand.js +28 -21
- package/dist-es/commands/GetModelsCommand.js +28 -21
- package/dist-es/commands/GetRequestValidatorCommand.js +28 -21
- package/dist-es/commands/GetRequestValidatorsCommand.js +28 -21
- package/dist-es/commands/GetResourceCommand.js +28 -21
- package/dist-es/commands/GetResourcesCommand.js +28 -21
- package/dist-es/commands/GetRestApiCommand.js +28 -21
- package/dist-es/commands/GetRestApisCommand.js +28 -21
- package/dist-es/commands/GetSdkCommand.js +28 -21
- package/dist-es/commands/GetSdkTypeCommand.js +28 -21
- package/dist-es/commands/GetSdkTypesCommand.js +28 -21
- package/dist-es/commands/GetStageCommand.js +28 -21
- package/dist-es/commands/GetStagesCommand.js +28 -21
- package/dist-es/commands/GetTagsCommand.js +28 -21
- package/dist-es/commands/GetUsageCommand.js +28 -21
- package/dist-es/commands/GetUsagePlanCommand.js +28 -21
- package/dist-es/commands/GetUsagePlanKeyCommand.js +28 -21
- package/dist-es/commands/GetUsagePlanKeysCommand.js +28 -21
- package/dist-es/commands/GetUsagePlansCommand.js +28 -21
- package/dist-es/commands/GetVpcLinkCommand.js +28 -21
- package/dist-es/commands/GetVpcLinksCommand.js +28 -21
- package/dist-es/commands/ImportApiKeysCommand.js +28 -21
- package/dist-es/commands/ImportDocumentationPartsCommand.js +28 -21
- package/dist-es/commands/ImportRestApiCommand.js +28 -21
- package/dist-es/commands/PutGatewayResponseCommand.js +28 -21
- package/dist-es/commands/PutIntegrationCommand.js +28 -21
- package/dist-es/commands/PutIntegrationResponseCommand.js +28 -21
- package/dist-es/commands/PutMethodCommand.js +28 -21
- package/dist-es/commands/PutMethodResponseCommand.js +28 -21
- package/dist-es/commands/PutRestApiCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +29 -22
- package/dist-es/commands/TestInvokeAuthorizerCommand.js +28 -21
- package/dist-es/commands/TestInvokeMethodCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +29 -22
- package/dist-es/commands/UpdateAccountCommand.js +28 -21
- package/dist-es/commands/UpdateApiKeyCommand.js +28 -21
- package/dist-es/commands/UpdateAuthorizerCommand.js +28 -21
- package/dist-es/commands/UpdateBasePathMappingCommand.js +28 -21
- package/dist-es/commands/UpdateClientCertificateCommand.js +28 -21
- package/dist-es/commands/UpdateDeploymentCommand.js +28 -21
- package/dist-es/commands/UpdateDocumentationPartCommand.js +28 -21
- package/dist-es/commands/UpdateDocumentationVersionCommand.js +28 -21
- package/dist-es/commands/UpdateDomainNameCommand.js +28 -21
- package/dist-es/commands/UpdateGatewayResponseCommand.js +28 -21
- package/dist-es/commands/UpdateIntegrationCommand.js +28 -21
- package/dist-es/commands/UpdateIntegrationResponseCommand.js +28 -21
- package/dist-es/commands/UpdateMethodCommand.js +28 -21
- package/dist-es/commands/UpdateMethodResponseCommand.js +28 -21
- package/dist-es/commands/UpdateModelCommand.js +28 -21
- package/dist-es/commands/UpdateRequestValidatorCommand.js +28 -21
- package/dist-es/commands/UpdateResourceCommand.js +28 -21
- package/dist-es/commands/UpdateRestApiCommand.js +28 -21
- package/dist-es/commands/UpdateStageCommand.js +28 -21
- package/dist-es/commands/UpdateUsageCommand.js +28 -21
- package/dist-es/commands/UpdateUsagePlanCommand.js +28 -21
- package/dist-es/commands/UpdateVpcLinkCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/APIGatewayServiceException.js +10 -5
- package/dist-es/models/models_0.js +267 -638
- package/dist-es/pagination/GetApiKeysPaginator.js +68 -25
- package/dist-es/pagination/GetBasePathMappingsPaginator.js +68 -25
- package/dist-es/pagination/GetClientCertificatesPaginator.js +68 -25
- package/dist-es/pagination/GetDeploymentsPaginator.js +68 -25
- package/dist-es/pagination/GetDomainNamesPaginator.js +68 -25
- package/dist-es/pagination/GetModelsPaginator.js +68 -25
- package/dist-es/pagination/GetResourcesPaginator.js +68 -25
- package/dist-es/pagination/GetRestApisPaginator.js +68 -25
- package/dist-es/pagination/GetUsagePaginator.js +68 -25
- package/dist-es/pagination/GetUsagePlanKeysPaginator.js +68 -25
- package/dist-es/pagination/GetUsagePlansPaginator.js +68 -25
- package/dist-es/pagination/GetVpcLinksPaginator.js +68 -25
- package/dist-es/protocols/Aws_restJson1.js +13298 -9637
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeploymentsFilterSensitiveLog, GetDeploymentsRequestFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetDeploymentsCommand, serializeAws_restJson1GetDeploymentsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetDeploymentsCommand = (function (_super) {
|
|
7
|
+
__extends(GetDeploymentsCommand, _super);
|
|
8
|
+
function GetDeploymentsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetDeploymentsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "GetDeploymentsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetDeploymentsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DeploymentsFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetDeploymentsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetDeploymentsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetDeploymentsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetDeploymentsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetDeploymentsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetDeploymentsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DocumentationPartFilterSensitiveLog, GetDocumentationPartRequestFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetDocumentationPartCommand, serializeAws_restJson1GetDocumentationPartCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetDocumentationPartCommand = (function (_super) {
|
|
7
|
+
__extends(GetDocumentationPartCommand, _super);
|
|
8
|
+
function GetDocumentationPartCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetDocumentationPartCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "GetDocumentationPartCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetDocumentationPartRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DocumentationPartFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetDocumentationPartCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetDocumentationPartCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetDocumentationPartCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetDocumentationPartCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetDocumentationPartCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetDocumentationPartCommand };
|
|
@@ -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 { DocumentationPartsFilterSensitiveLog, GetDocumentationPartsRequestFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetDocumentationPartsCommand, serializeAws_restJson1GetDocumentationPartsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetDocumentationPartsCommand = (function (_super) {
|
|
7
|
+
__extends(GetDocumentationPartsCommand, _super);
|
|
8
|
+
function GetDocumentationPartsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetDocumentationPartsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "GetDocumentationPartsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetDocumentationPartsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DocumentationPartsFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetDocumentationPartsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetDocumentationPartsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetDocumentationPartsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetDocumentationPartsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetDocumentationPartsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetDocumentationPartsCommand };
|
|
@@ -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 { DocumentationVersionFilterSensitiveLog, GetDocumentationVersionRequestFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetDocumentationVersionCommand, serializeAws_restJson1GetDocumentationVersionCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetDocumentationVersionCommand = (function (_super) {
|
|
7
|
+
__extends(GetDocumentationVersionCommand, _super);
|
|
8
|
+
function GetDocumentationVersionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetDocumentationVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "GetDocumentationVersionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetDocumentationVersionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DocumentationVersionFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetDocumentationVersionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetDocumentationVersionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetDocumentationVersionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetDocumentationVersionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetDocumentationVersionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetDocumentationVersionCommand };
|
|
@@ -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 { DocumentationVersionsFilterSensitiveLog, GetDocumentationVersionsRequestFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetDocumentationVersionsCommand, serializeAws_restJson1GetDocumentationVersionsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetDocumentationVersionsCommand = (function (_super) {
|
|
7
|
+
__extends(GetDocumentationVersionsCommand, _super);
|
|
8
|
+
function GetDocumentationVersionsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetDocumentationVersionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "GetDocumentationVersionsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetDocumentationVersionsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DocumentationVersionsFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetDocumentationVersionsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetDocumentationVersionsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetDocumentationVersionsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetDocumentationVersionsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetDocumentationVersionsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetDocumentationVersionsCommand };
|
|
@@ -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 { DomainNameFilterSensitiveLog, GetDomainNameRequestFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetDomainNameCommand, serializeAws_restJson1GetDomainNameCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetDomainNameCommand = (function (_super) {
|
|
7
|
+
__extends(GetDomainNameCommand, _super);
|
|
8
|
+
function GetDomainNameCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetDomainNameCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "GetDomainNameCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetDomainNameRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DomainNameFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetDomainNameCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetDomainNameCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetDomainNameCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetDomainNameCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetDomainNameCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetDomainNameCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DomainNamesFilterSensitiveLog, GetDomainNamesRequestFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetDomainNamesCommand, serializeAws_restJson1GetDomainNamesCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetDomainNamesCommand = (function (_super) {
|
|
7
|
+
__extends(GetDomainNamesCommand, _super);
|
|
8
|
+
function GetDomainNamesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetDomainNamesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "GetDomainNamesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetDomainNamesRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DomainNamesFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetDomainNamesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetDomainNamesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetDomainNamesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetDomainNamesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetDomainNamesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetDomainNamesCommand };
|
|
@@ -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 { ExportResponseFilterSensitiveLog, GetExportRequestFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetExportCommand, serializeAws_restJson1GetExportCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetExportCommand = (function (_super) {
|
|
7
|
+
__extends(GetExportCommand, _super);
|
|
8
|
+
function GetExportCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetExportCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "GetExportCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetExportRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ExportResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetExportCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetExportCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetExportCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetExportCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetExportCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetExportCommand };
|
|
@@ -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 { GatewayResponseFilterSensitiveLog, GetGatewayResponseRequestFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetGatewayResponseCommand, serializeAws_restJson1GetGatewayResponseCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetGatewayResponseCommand = (function (_super) {
|
|
7
|
+
__extends(GetGatewayResponseCommand, _super);
|
|
8
|
+
function GetGatewayResponseCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetGatewayResponseCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "GetGatewayResponseCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetGatewayResponseRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GatewayResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetGatewayResponseCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetGatewayResponseCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetGatewayResponseCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetGatewayResponseCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetGatewayResponseCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetGatewayResponseCommand };
|
|
@@ -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 { GatewayResponsesFilterSensitiveLog, GetGatewayResponsesRequestFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetGatewayResponsesCommand, serializeAws_restJson1GetGatewayResponsesCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetGatewayResponsesCommand = (function (_super) {
|
|
7
|
+
__extends(GetGatewayResponsesCommand, _super);
|
|
8
|
+
function GetGatewayResponsesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetGatewayResponsesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "GetGatewayResponsesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetGatewayResponsesRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GatewayResponsesFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetGatewayResponsesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetGatewayResponsesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetGatewayResponsesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetGatewayResponsesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetGatewayResponsesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetGatewayResponsesCommand };
|