@aws-sdk/client-api-gateway 3.181.0 → 3.183.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist-es/APIGateway.js +482 -489
- package/dist-es/APIGatewayClient.js +23 -29
- package/dist-es/commands/CreateApiKeyCommand.js +21 -28
- package/dist-es/commands/CreateAuthorizerCommand.js +21 -28
- package/dist-es/commands/CreateBasePathMappingCommand.js +21 -28
- package/dist-es/commands/CreateDeploymentCommand.js +21 -28
- package/dist-es/commands/CreateDocumentationPartCommand.js +21 -28
- package/dist-es/commands/CreateDocumentationVersionCommand.js +21 -28
- package/dist-es/commands/CreateDomainNameCommand.js +21 -28
- package/dist-es/commands/CreateModelCommand.js +21 -28
- package/dist-es/commands/CreateRequestValidatorCommand.js +21 -28
- package/dist-es/commands/CreateResourceCommand.js +21 -28
- package/dist-es/commands/CreateRestApiCommand.js +21 -28
- package/dist-es/commands/CreateStageCommand.js +21 -28
- package/dist-es/commands/CreateUsagePlanCommand.js +21 -28
- package/dist-es/commands/CreateUsagePlanKeyCommand.js +21 -28
- package/dist-es/commands/CreateVpcLinkCommand.js +21 -28
- package/dist-es/commands/DeleteApiKeyCommand.js +22 -29
- package/dist-es/commands/DeleteAuthorizerCommand.js +22 -29
- package/dist-es/commands/DeleteBasePathMappingCommand.js +22 -29
- package/dist-es/commands/DeleteClientCertificateCommand.js +22 -29
- package/dist-es/commands/DeleteDeploymentCommand.js +22 -29
- package/dist-es/commands/DeleteDocumentationPartCommand.js +22 -29
- package/dist-es/commands/DeleteDocumentationVersionCommand.js +22 -29
- package/dist-es/commands/DeleteDomainNameCommand.js +22 -29
- package/dist-es/commands/DeleteGatewayResponseCommand.js +22 -29
- package/dist-es/commands/DeleteIntegrationCommand.js +22 -29
- package/dist-es/commands/DeleteIntegrationResponseCommand.js +22 -29
- package/dist-es/commands/DeleteMethodCommand.js +22 -29
- package/dist-es/commands/DeleteMethodResponseCommand.js +22 -29
- package/dist-es/commands/DeleteModelCommand.js +22 -29
- package/dist-es/commands/DeleteRequestValidatorCommand.js +22 -29
- package/dist-es/commands/DeleteResourceCommand.js +22 -29
- package/dist-es/commands/DeleteRestApiCommand.js +22 -29
- package/dist-es/commands/DeleteStageCommand.js +22 -29
- package/dist-es/commands/DeleteUsagePlanCommand.js +22 -29
- package/dist-es/commands/DeleteUsagePlanKeyCommand.js +22 -29
- package/dist-es/commands/DeleteVpcLinkCommand.js +22 -29
- package/dist-es/commands/FlushStageAuthorizersCacheCommand.js +22 -29
- package/dist-es/commands/FlushStageCacheCommand.js +22 -29
- package/dist-es/commands/GenerateClientCertificateCommand.js +21 -28
- package/dist-es/commands/GetAccountCommand.js +21 -28
- package/dist-es/commands/GetApiKeyCommand.js +21 -28
- package/dist-es/commands/GetApiKeysCommand.js +21 -28
- package/dist-es/commands/GetAuthorizerCommand.js +21 -28
- package/dist-es/commands/GetAuthorizersCommand.js +21 -28
- package/dist-es/commands/GetBasePathMappingCommand.js +21 -28
- package/dist-es/commands/GetBasePathMappingsCommand.js +21 -28
- package/dist-es/commands/GetClientCertificateCommand.js +21 -28
- package/dist-es/commands/GetClientCertificatesCommand.js +21 -28
- package/dist-es/commands/GetDeploymentCommand.js +21 -28
- package/dist-es/commands/GetDeploymentsCommand.js +21 -28
- package/dist-es/commands/GetDocumentationPartCommand.js +21 -28
- package/dist-es/commands/GetDocumentationPartsCommand.js +21 -28
- package/dist-es/commands/GetDocumentationVersionCommand.js +21 -28
- package/dist-es/commands/GetDocumentationVersionsCommand.js +21 -28
- package/dist-es/commands/GetDomainNameCommand.js +21 -28
- package/dist-es/commands/GetDomainNamesCommand.js +21 -28
- package/dist-es/commands/GetExportCommand.js +21 -28
- package/dist-es/commands/GetGatewayResponseCommand.js +21 -28
- package/dist-es/commands/GetGatewayResponsesCommand.js +21 -28
- package/dist-es/commands/GetIntegrationCommand.js +21 -28
- package/dist-es/commands/GetIntegrationResponseCommand.js +21 -28
- package/dist-es/commands/GetMethodCommand.js +21 -28
- package/dist-es/commands/GetMethodResponseCommand.js +21 -28
- package/dist-es/commands/GetModelCommand.js +21 -28
- package/dist-es/commands/GetModelTemplateCommand.js +21 -28
- package/dist-es/commands/GetModelsCommand.js +21 -28
- package/dist-es/commands/GetRequestValidatorCommand.js +21 -28
- package/dist-es/commands/GetRequestValidatorsCommand.js +21 -28
- package/dist-es/commands/GetResourceCommand.js +21 -28
- package/dist-es/commands/GetResourcesCommand.js +21 -28
- package/dist-es/commands/GetRestApiCommand.js +21 -28
- package/dist-es/commands/GetRestApisCommand.js +21 -28
- package/dist-es/commands/GetSdkCommand.js +21 -28
- package/dist-es/commands/GetSdkTypeCommand.js +21 -28
- package/dist-es/commands/GetSdkTypesCommand.js +21 -28
- package/dist-es/commands/GetStageCommand.js +21 -28
- package/dist-es/commands/GetStagesCommand.js +21 -28
- package/dist-es/commands/GetTagsCommand.js +21 -28
- package/dist-es/commands/GetUsageCommand.js +21 -28
- package/dist-es/commands/GetUsagePlanCommand.js +21 -28
- package/dist-es/commands/GetUsagePlanKeyCommand.js +21 -28
- package/dist-es/commands/GetUsagePlanKeysCommand.js +21 -28
- package/dist-es/commands/GetUsagePlansCommand.js +21 -28
- package/dist-es/commands/GetVpcLinkCommand.js +21 -28
- package/dist-es/commands/GetVpcLinksCommand.js +21 -28
- package/dist-es/commands/ImportApiKeysCommand.js +21 -28
- package/dist-es/commands/ImportDocumentationPartsCommand.js +21 -28
- package/dist-es/commands/ImportRestApiCommand.js +21 -28
- package/dist-es/commands/PutGatewayResponseCommand.js +21 -28
- package/dist-es/commands/PutIntegrationCommand.js +21 -28
- package/dist-es/commands/PutIntegrationResponseCommand.js +21 -28
- package/dist-es/commands/PutMethodCommand.js +21 -28
- package/dist-es/commands/PutMethodResponseCommand.js +21 -28
- package/dist-es/commands/PutRestApiCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +22 -29
- package/dist-es/commands/TestInvokeAuthorizerCommand.js +21 -28
- package/dist-es/commands/TestInvokeMethodCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +22 -29
- package/dist-es/commands/UpdateAccountCommand.js +21 -28
- package/dist-es/commands/UpdateApiKeyCommand.js +21 -28
- package/dist-es/commands/UpdateAuthorizerCommand.js +21 -28
- package/dist-es/commands/UpdateBasePathMappingCommand.js +21 -28
- package/dist-es/commands/UpdateClientCertificateCommand.js +21 -28
- package/dist-es/commands/UpdateDeploymentCommand.js +21 -28
- package/dist-es/commands/UpdateDocumentationPartCommand.js +21 -28
- package/dist-es/commands/UpdateDocumentationVersionCommand.js +21 -28
- package/dist-es/commands/UpdateDomainNameCommand.js +21 -28
- package/dist-es/commands/UpdateGatewayResponseCommand.js +21 -28
- package/dist-es/commands/UpdateIntegrationCommand.js +21 -28
- package/dist-es/commands/UpdateIntegrationResponseCommand.js +21 -28
- package/dist-es/commands/UpdateMethodCommand.js +21 -28
- package/dist-es/commands/UpdateMethodResponseCommand.js +21 -28
- package/dist-es/commands/UpdateModelCommand.js +21 -28
- package/dist-es/commands/UpdateRequestValidatorCommand.js +21 -28
- package/dist-es/commands/UpdateResourceCommand.js +21 -28
- package/dist-es/commands/UpdateRestApiCommand.js +21 -28
- package/dist-es/commands/UpdateStageCommand.js +21 -28
- package/dist-es/commands/UpdateUsageCommand.js +21 -28
- package/dist-es/commands/UpdateUsagePlanCommand.js +21 -28
- package/dist-es/commands/UpdateVpcLinkCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/APIGatewayServiceException.js +5 -10
- package/dist-es/models/models_0.js +638 -267
- package/dist-es/pagination/GetApiKeysPaginator.js +25 -68
- package/dist-es/pagination/GetBasePathMappingsPaginator.js +25 -68
- package/dist-es/pagination/GetClientCertificatesPaginator.js +25 -68
- package/dist-es/pagination/GetDeploymentsPaginator.js +25 -68
- package/dist-es/pagination/GetDomainNamesPaginator.js +25 -68
- package/dist-es/pagination/GetModelsPaginator.js +25 -68
- package/dist-es/pagination/GetResourcesPaginator.js +25 -68
- package/dist-es/pagination/GetRestApisPaginator.js +25 -68
- package/dist-es/pagination/GetUsagePaginator.js +25 -68
- package/dist-es/pagination/GetUsagePlanKeysPaginator.js +25 -68
- package/dist-es/pagination/GetUsagePlansPaginator.js +25 -68
- package/dist-es/pagination/GetVpcLinksPaginator.js +25 -68
- package/dist-es/protocols/Aws_restJson1.js +9637 -13298
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +34 -34
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
3
2
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
4
3
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -10,32 +9,27 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
10
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
11
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
12
11
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
33
|
-
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
34
|
-
return _this;
|
|
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));
|
|
35
31
|
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
}(__Client));
|
|
41
|
-
export { APIGatewayClient };
|
|
32
|
+
destroy() {
|
|
33
|
+
super.destroy();
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { ApiKeyFilterSensitiveLog, CreateApiKeyRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1CreateApiKeyCommand, serializeAws_restJson1CreateApiKeyCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class CreateApiKeyCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
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,
|
|
23
20
|
inputFilterSensitiveLog: CreateApiKeyRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: ApiKeyFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
CreateApiKeyCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1CreateApiKeyCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1CreateApiKeyCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { CreateApiKeyCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { AuthorizerFilterSensitiveLog, CreateAuthorizerRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1CreateAuthorizerCommand, serializeAws_restJson1CreateAuthorizerCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class CreateAuthorizerCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
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,
|
|
23
20
|
inputFilterSensitiveLog: CreateAuthorizerRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: AuthorizerFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
CreateAuthorizerCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1CreateAuthorizerCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1CreateAuthorizerCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { CreateAuthorizerCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { BasePathMappingFilterSensitiveLog, CreateBasePathMappingRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1CreateBasePathMappingCommand, serializeAws_restJson1CreateBasePathMappingCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class CreateBasePathMappingCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
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,
|
|
23
20
|
inputFilterSensitiveLog: CreateBasePathMappingRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: BasePathMappingFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
CreateBasePathMappingCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1CreateBasePathMappingCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1CreateBasePathMappingCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { CreateBasePathMappingCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { CreateDeploymentRequestFilterSensitiveLog, DeploymentFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1CreateDeploymentCommand, serializeAws_restJson1CreateDeploymentCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class CreateDeploymentCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
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,
|
|
23
20
|
inputFilterSensitiveLog: CreateDeploymentRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: DeploymentFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
CreateDeploymentCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1CreateDeploymentCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1CreateDeploymentCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { CreateDeploymentCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { CreateDocumentationPartRequestFilterSensitiveLog, DocumentationPartFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1CreateDocumentationPartCommand, serializeAws_restJson1CreateDocumentationPartCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class CreateDocumentationPartCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
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,
|
|
23
20
|
inputFilterSensitiveLog: CreateDocumentationPartRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: DocumentationPartFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
CreateDocumentationPartCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1CreateDocumentationPartCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1CreateDocumentationPartCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { CreateDocumentationPartCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { CreateDocumentationVersionRequestFilterSensitiveLog, DocumentationVersionFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1CreateDocumentationVersionCommand, serializeAws_restJson1CreateDocumentationVersionCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class CreateDocumentationVersionCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
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,
|
|
23
20
|
inputFilterSensitiveLog: CreateDocumentationVersionRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: DocumentationVersionFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
CreateDocumentationVersionCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1CreateDocumentationVersionCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1CreateDocumentationVersionCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { CreateDocumentationVersionCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { CreateDomainNameRequestFilterSensitiveLog, DomainNameFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1CreateDomainNameCommand, serializeAws_restJson1CreateDomainNameCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class CreateDomainNameCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
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,
|
|
23
20
|
inputFilterSensitiveLog: CreateDomainNameRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: DomainNameFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
CreateDomainNameCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1CreateDomainNameCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1CreateDomainNameCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { CreateDomainNameCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { CreateModelRequestFilterSensitiveLog, ModelFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1CreateModelCommand, serializeAws_restJson1CreateModelCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class CreateModelCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
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,
|
|
23
20
|
inputFilterSensitiveLog: CreateModelRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: ModelFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
CreateModelCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1CreateModelCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1CreateModelCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { CreateModelCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { CreateRequestValidatorRequestFilterSensitiveLog, RequestValidatorFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1CreateRequestValidatorCommand, serializeAws_restJson1CreateRequestValidatorCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class CreateRequestValidatorCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
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,
|
|
23
20
|
inputFilterSensitiveLog: CreateRequestValidatorRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: RequestValidatorFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
CreateRequestValidatorCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1CreateRequestValidatorCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1CreateRequestValidatorCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { CreateRequestValidatorCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|