@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 { GetResourcesRequestFilterSensitiveLog, ResourcesFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetResourcesCommand, serializeAws_restJson1GetResourcesCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetResourcesCommand.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 = "GetResourcesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetResourcesRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ResourcesFilterSensitiveLog,
|
|
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
|
+
GetResourcesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetResourcesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetResourcesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetResourcesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetResourcesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetResourcesCommand };
|
|
@@ -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 { GetRestApiRequestFilterSensitiveLog, RestApiFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetRestApiCommand, serializeAws_restJson1GetRestApiCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetRestApiCommand.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 = "GetRestApiCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetRestApiRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: RestApiFilterSensitiveLog,
|
|
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
|
+
GetRestApiCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetRestApiCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetRestApiCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetRestApiCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetRestApiCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetRestApiCommand };
|
|
@@ -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 { GetRestApisRequestFilterSensitiveLog, RestApisFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetRestApisCommand, serializeAws_restJson1GetRestApisCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetRestApisCommand.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 = "GetRestApisCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetRestApisRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: RestApisFilterSensitiveLog,
|
|
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
|
+
GetRestApisCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetRestApisCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetRestApisCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetRestApisCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetRestApisCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetRestApisCommand };
|
|
@@ -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 { GetSdkRequestFilterSensitiveLog, SdkResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetSdkCommand, serializeAws_restJson1GetSdkCommand } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetSdkCommand.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 = "GetSdkCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetSdkRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: SdkResponseFilterSensitiveLog,
|
|
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
|
+
GetSdkCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetSdkCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetSdkCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetSdkCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetSdkCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetSdkCommand };
|
|
@@ -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 { GetSdkTypeRequestFilterSensitiveLog, SdkTypeFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetSdkTypeCommand, serializeAws_restJson1GetSdkTypeCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetSdkTypeCommand.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 = "GetSdkTypeCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetSdkTypeRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: SdkTypeFilterSensitiveLog,
|
|
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
|
+
GetSdkTypeCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetSdkTypeCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetSdkTypeCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetSdkTypeCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetSdkTypeCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetSdkTypeCommand };
|
|
@@ -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 { GetSdkTypesRequestFilterSensitiveLog, SdkTypesFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetSdkTypesCommand, serializeAws_restJson1GetSdkTypesCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetSdkTypesCommand.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 = "GetSdkTypesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetSdkTypesRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: SdkTypesFilterSensitiveLog,
|
|
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
|
+
GetSdkTypesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetSdkTypesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetSdkTypesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetSdkTypesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetSdkTypesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetSdkTypesCommand };
|
|
@@ -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 { GetStageRequestFilterSensitiveLog, StageFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetStageCommand, serializeAws_restJson1GetStageCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetStageCommand.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 = "GetStageCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetStageRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: StageFilterSensitiveLog,
|
|
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
|
+
GetStageCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetStageCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetStageCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetStageCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetStageCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetStageCommand };
|
|
@@ -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 { GetStagesRequestFilterSensitiveLog, StagesFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetStagesCommand, serializeAws_restJson1GetStagesCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetStagesCommand.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 = "GetStagesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetStagesRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: StagesFilterSensitiveLog,
|
|
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
|
+
GetStagesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetStagesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetStagesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetStagesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetStagesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetStagesCommand };
|
|
@@ -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 { GetTagsRequestFilterSensitiveLog, TagsFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetTagsCommand, serializeAws_restJson1GetTagsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetTagsCommand.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 = "GetTagsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetTagsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: TagsFilterSensitiveLog,
|
|
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
|
+
GetTagsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetTagsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetTagsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetTagsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetTagsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetTagsCommand };
|
|
@@ -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 { GetUsageRequestFilterSensitiveLog, UsageFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetUsageCommand, serializeAws_restJson1GetUsageCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetUsageCommand.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 = "GetUsageCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetUsageRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UsageFilterSensitiveLog,
|
|
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
|
+
GetUsageCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetUsageCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetUsageCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetUsageCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetUsageCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetUsageCommand };
|