@aws-sdk/client-api-gateway 3.36.0 → 3.36.1
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/APIGateway.js +0 -4
- package/dist-cjs/APIGatewayClient.js +0 -9
- package/dist-cjs/commands/CreateApiKeyCommand.js +0 -25
- package/dist-cjs/commands/CreateAuthorizerCommand.js +0 -25
- package/dist-cjs/commands/CreateBasePathMappingCommand.js +0 -24
- package/dist-cjs/commands/CreateDeploymentCommand.js +0 -24
- package/dist-cjs/commands/CreateDocumentationPartCommand.js +0 -7
- package/dist-cjs/commands/CreateDocumentationVersionCommand.js +0 -7
- package/dist-cjs/commands/CreateDomainNameCommand.js +0 -24
- package/dist-cjs/commands/CreateModelCommand.js +0 -24
- package/dist-cjs/commands/CreateRequestValidatorCommand.js +0 -24
- package/dist-cjs/commands/CreateResourceCommand.js +0 -24
- package/dist-cjs/commands/CreateRestApiCommand.js +0 -24
- package/dist-cjs/commands/CreateStageCommand.js +0 -25
- package/dist-cjs/commands/CreateUsagePlanCommand.js +0 -24
- package/dist-cjs/commands/CreateUsagePlanKeyCommand.js +0 -24
- package/dist-cjs/commands/CreateVpcLinkCommand.js +0 -24
- package/dist-cjs/commands/DeleteApiKeyCommand.js +0 -24
- package/dist-cjs/commands/DeleteAuthorizerCommand.js +0 -25
- package/dist-cjs/commands/DeleteBasePathMappingCommand.js +0 -24
- package/dist-cjs/commands/DeleteClientCertificateCommand.js +0 -24
- package/dist-cjs/commands/DeleteDeploymentCommand.js +0 -24
- package/dist-cjs/commands/DeleteDocumentationPartCommand.js +0 -7
- package/dist-cjs/commands/DeleteDocumentationVersionCommand.js +0 -7
- package/dist-cjs/commands/DeleteDomainNameCommand.js +0 -24
- package/dist-cjs/commands/DeleteGatewayResponseCommand.js +0 -24
- package/dist-cjs/commands/DeleteIntegrationCommand.js +0 -24
- package/dist-cjs/commands/DeleteIntegrationResponseCommand.js +0 -24
- package/dist-cjs/commands/DeleteMethodCommand.js +0 -24
- package/dist-cjs/commands/DeleteMethodResponseCommand.js +0 -24
- package/dist-cjs/commands/DeleteModelCommand.js +0 -24
- package/dist-cjs/commands/DeleteRequestValidatorCommand.js +0 -24
- package/dist-cjs/commands/DeleteResourceCommand.js +0 -24
- package/dist-cjs/commands/DeleteRestApiCommand.js +0 -24
- package/dist-cjs/commands/DeleteStageCommand.js +0 -24
- package/dist-cjs/commands/DeleteUsagePlanCommand.js +0 -24
- package/dist-cjs/commands/DeleteUsagePlanKeyCommand.js +0 -24
- package/dist-cjs/commands/DeleteVpcLinkCommand.js +0 -24
- package/dist-cjs/commands/FlushStageAuthorizersCacheCommand.js +0 -24
- package/dist-cjs/commands/FlushStageCacheCommand.js +0 -24
- package/dist-cjs/commands/GenerateClientCertificateCommand.js +0 -24
- package/dist-cjs/commands/GetAccountCommand.js +0 -24
- package/dist-cjs/commands/GetApiKeyCommand.js +0 -24
- package/dist-cjs/commands/GetApiKeysCommand.js +0 -24
- package/dist-cjs/commands/GetAuthorizerCommand.js +0 -25
- package/dist-cjs/commands/GetAuthorizersCommand.js +0 -25
- package/dist-cjs/commands/GetBasePathMappingCommand.js +0 -24
- package/dist-cjs/commands/GetBasePathMappingsCommand.js +0 -24
- package/dist-cjs/commands/GetClientCertificateCommand.js +0 -24
- package/dist-cjs/commands/GetClientCertificatesCommand.js +0 -24
- package/dist-cjs/commands/GetDeploymentCommand.js +0 -24
- package/dist-cjs/commands/GetDeploymentsCommand.js +0 -24
- package/dist-cjs/commands/GetDocumentationPartCommand.js +0 -7
- package/dist-cjs/commands/GetDocumentationPartsCommand.js +0 -7
- package/dist-cjs/commands/GetDocumentationVersionCommand.js +0 -7
- package/dist-cjs/commands/GetDocumentationVersionsCommand.js +0 -7
- package/dist-cjs/commands/GetDomainNameCommand.js +0 -24
- package/dist-cjs/commands/GetDomainNamesCommand.js +0 -24
- package/dist-cjs/commands/GetExportCommand.js +0 -24
- package/dist-cjs/commands/GetGatewayResponseCommand.js +0 -24
- package/dist-cjs/commands/GetGatewayResponsesCommand.js +0 -24
- package/dist-cjs/commands/GetIntegrationCommand.js +0 -24
- package/dist-cjs/commands/GetIntegrationResponseCommand.js +0 -24
- package/dist-cjs/commands/GetMethodCommand.js +0 -24
- package/dist-cjs/commands/GetMethodResponseCommand.js +0 -24
- package/dist-cjs/commands/GetModelCommand.js +0 -24
- package/dist-cjs/commands/GetModelTemplateCommand.js +0 -24
- package/dist-cjs/commands/GetModelsCommand.js +0 -24
- package/dist-cjs/commands/GetRequestValidatorCommand.js +0 -24
- package/dist-cjs/commands/GetRequestValidatorsCommand.js +0 -24
- package/dist-cjs/commands/GetResourceCommand.js +0 -24
- package/dist-cjs/commands/GetResourcesCommand.js +0 -24
- package/dist-cjs/commands/GetRestApiCommand.js +0 -24
- package/dist-cjs/commands/GetRestApisCommand.js +0 -24
- package/dist-cjs/commands/GetSdkCommand.js +0 -24
- package/dist-cjs/commands/GetSdkTypeCommand.js +0 -7
- package/dist-cjs/commands/GetSdkTypesCommand.js +0 -7
- package/dist-cjs/commands/GetStageCommand.js +0 -24
- package/dist-cjs/commands/GetStagesCommand.js +0 -24
- package/dist-cjs/commands/GetTagsCommand.js +0 -24
- package/dist-cjs/commands/GetUsageCommand.js +0 -24
- package/dist-cjs/commands/GetUsagePlanCommand.js +0 -24
- package/dist-cjs/commands/GetUsagePlanKeyCommand.js +0 -24
- package/dist-cjs/commands/GetUsagePlanKeysCommand.js +0 -24
- package/dist-cjs/commands/GetUsagePlansCommand.js +0 -24
- package/dist-cjs/commands/GetVpcLinkCommand.js +0 -24
- package/dist-cjs/commands/GetVpcLinksCommand.js +0 -24
- package/dist-cjs/commands/ImportApiKeysCommand.js +0 -24
- package/dist-cjs/commands/ImportDocumentationPartsCommand.js +0 -7
- package/dist-cjs/commands/ImportRestApiCommand.js +0 -24
- package/dist-cjs/commands/PutGatewayResponseCommand.js +0 -24
- package/dist-cjs/commands/PutIntegrationCommand.js +0 -24
- package/dist-cjs/commands/PutIntegrationResponseCommand.js +0 -24
- package/dist-cjs/commands/PutMethodCommand.js +0 -24
- package/dist-cjs/commands/PutMethodResponseCommand.js +0 -24
- package/dist-cjs/commands/PutRestApiCommand.js +0 -25
- package/dist-cjs/commands/TagResourceCommand.js +0 -24
- package/dist-cjs/commands/TestInvokeAuthorizerCommand.js +0 -28
- package/dist-cjs/commands/TestInvokeMethodCommand.js +0 -24
- package/dist-cjs/commands/UntagResourceCommand.js +0 -24
- package/dist-cjs/commands/UpdateAccountCommand.js +0 -24
- package/dist-cjs/commands/UpdateApiKeyCommand.js +0 -24
- package/dist-cjs/commands/UpdateAuthorizerCommand.js +0 -25
- package/dist-cjs/commands/UpdateBasePathMappingCommand.js +0 -24
- package/dist-cjs/commands/UpdateClientCertificateCommand.js +0 -24
- package/dist-cjs/commands/UpdateDeploymentCommand.js +0 -24
- package/dist-cjs/commands/UpdateDocumentationPartCommand.js +0 -7
- package/dist-cjs/commands/UpdateDocumentationVersionCommand.js +0 -7
- package/dist-cjs/commands/UpdateDomainNameCommand.js +0 -24
- package/dist-cjs/commands/UpdateGatewayResponseCommand.js +0 -24
- package/dist-cjs/commands/UpdateIntegrationCommand.js +0 -24
- package/dist-cjs/commands/UpdateIntegrationResponseCommand.js +0 -24
- package/dist-cjs/commands/UpdateMethodCommand.js +0 -24
- package/dist-cjs/commands/UpdateMethodResponseCommand.js +0 -24
- package/dist-cjs/commands/UpdateModelCommand.js +0 -24
- package/dist-cjs/commands/UpdateRequestValidatorCommand.js +0 -24
- package/dist-cjs/commands/UpdateResourceCommand.js +0 -24
- package/dist-cjs/commands/UpdateRestApiCommand.js +0 -24
- package/dist-cjs/commands/UpdateStageCommand.js +0 -24
- package/dist-cjs/commands/UpdateUsageCommand.js +0 -24
- package/dist-cjs/commands/UpdateUsagePlanCommand.js +0 -24
- package/dist-cjs/commands/UpdateVpcLinkCommand.js +0 -24
- package/dist-cjs/models/models_0.js +0 -579
- package/dist-cjs/pagination/GetApiKeysPaginator.js +0 -10
- package/dist-cjs/pagination/GetBasePathMappingsPaginator.js +0 -10
- package/dist-cjs/pagination/GetClientCertificatesPaginator.js +0 -10
- package/dist-cjs/pagination/GetDeploymentsPaginator.js +0 -10
- package/dist-cjs/pagination/GetDomainNamesPaginator.js +0 -10
- package/dist-cjs/pagination/GetModelsPaginator.js +0 -10
- package/dist-cjs/pagination/GetResourcesPaginator.js +0 -10
- package/dist-cjs/pagination/GetRestApisPaginator.js +0 -10
- package/dist-cjs/pagination/GetUsagePaginator.js +0 -10
- package/dist-cjs/pagination/GetUsagePlanKeysPaginator.js +0 -10
- package/dist-cjs/pagination/GetUsagePlansPaginator.js +0 -10
- package/dist-cjs/pagination/GetVpcLinksPaginator.js +0 -10
- package/dist-cjs/protocols/Aws_restJson1.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-types/ts3.4/APIGateway.d.ts +108 -337
- package/dist-types/ts3.4/APIGatewayClient.d.ts +24 -90
- package/dist-types/ts3.4/commands/CreateApiKeyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateAuthorizerCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateBasePathMappingCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateDocumentationPartCommand.d.ts +1 -3
- package/dist-types/ts3.4/commands/CreateDocumentationVersionCommand.d.ts +1 -3
- package/dist-types/ts3.4/commands/CreateDomainNameCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateModelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateRequestValidatorCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateRestApiCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateStageCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateUsagePlanCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateUsagePlanKeyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateVpcLinkCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteApiKeyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteAuthorizerCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteBasePathMappingCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteClientCertificateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteDeploymentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteDocumentationPartCommand.d.ts +1 -3
- package/dist-types/ts3.4/commands/DeleteDocumentationVersionCommand.d.ts +1 -3
- package/dist-types/ts3.4/commands/DeleteDomainNameCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteGatewayResponseCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteIntegrationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteIntegrationResponseCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteMethodCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteMethodResponseCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteModelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteRequestValidatorCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteRestApiCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteStageCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteUsagePlanCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteUsagePlanKeyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteVpcLinkCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/FlushStageAuthorizersCacheCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/FlushStageCacheCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GenerateClientCertificateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetAccountCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetApiKeyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetApiKeysCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetAuthorizerCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetAuthorizersCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetBasePathMappingCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetBasePathMappingsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetClientCertificateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetClientCertificatesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetDeploymentsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetDocumentationPartCommand.d.ts +1 -3
- package/dist-types/ts3.4/commands/GetDocumentationPartsCommand.d.ts +1 -3
- package/dist-types/ts3.4/commands/GetDocumentationVersionCommand.d.ts +1 -3
- package/dist-types/ts3.4/commands/GetDocumentationVersionsCommand.d.ts +1 -3
- package/dist-types/ts3.4/commands/GetDomainNameCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetDomainNamesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetExportCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetGatewayResponseCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetGatewayResponsesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetIntegrationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetIntegrationResponseCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetMethodCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetMethodResponseCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetModelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetModelTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetModelsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetRequestValidatorCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetRequestValidatorsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetResourcesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetRestApiCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetRestApisCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetSdkCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetSdkTypeCommand.d.ts +1 -3
- package/dist-types/ts3.4/commands/GetSdkTypesCommand.d.ts +1 -3
- package/dist-types/ts3.4/commands/GetStageCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetStagesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetTagsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetUsageCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetUsagePlanCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetUsagePlanKeyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetUsagePlanKeysCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetUsagePlansCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetVpcLinkCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetVpcLinksCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ImportApiKeysCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ImportDocumentationPartsCommand.d.ts +1 -3
- package/dist-types/ts3.4/commands/ImportRestApiCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutGatewayResponseCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutIntegrationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutIntegrationResponseCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutMethodCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutMethodResponseCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutRestApiCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/TestInvokeAuthorizerCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/TestInvokeMethodCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateAccountCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateApiKeyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateAuthorizerCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UpdateBasePathMappingCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateClientCertificateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateDeploymentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateDocumentationPartCommand.d.ts +1 -3
- package/dist-types/ts3.4/commands/UpdateDocumentationVersionCommand.d.ts +1 -3
- package/dist-types/ts3.4/commands/UpdateDomainNameCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateGatewayResponseCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateIntegrationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateIntegrationResponseCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateMethodCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateMethodResponseCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateModelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateRequestValidatorCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateRestApiCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateStageCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateUsageCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateUsagePlanCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateVpcLinkCommand.d.ts +2 -20
- package/dist-types/ts3.4/models/models_0.d.ts +1083 -4677
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +3 -3
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Add a method to an existing <a>Resource</a> resource.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { APIGatewayClient, PutMethodCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
|
|
14
|
-
* // const { APIGatewayClient, PutMethodCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
|
|
15
|
-
* const client = new APIGatewayClient(config);
|
|
16
|
-
* const command = new PutMethodCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link PutMethodCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link PutMethodCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class PutMethodCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Adds a <a>MethodResponse</a> to an existing <a>Method</a> resource.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { APIGatewayClient, PutMethodResponseCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
|
|
14
|
-
* // const { APIGatewayClient, PutMethodResponseCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
|
|
15
|
-
* const client = new APIGatewayClient(config);
|
|
16
|
-
* const command = new PutMethodResponseCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link PutMethodResponseCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link PutMethodResponseCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class PutMethodResponseCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>A feature of the API Gateway control service for updating an existing API with an input of external API definitions.
|
|
10
|
-
* The update can take the form of merging the supplied definition into the existing API or overwriting the existing API.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { APIGatewayClient, PutRestApiCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
|
|
15
|
-
* // const { APIGatewayClient, PutRestApiCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
|
|
16
|
-
* const client = new APIGatewayClient(config);
|
|
17
|
-
* const command = new PutRestApiCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link PutRestApiCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link PutRestApiCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class PutRestApiCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Adds or updates a tag on a given resource.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { APIGatewayClient, TagResourceCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
|
|
14
|
-
* // const { APIGatewayClient, TagResourceCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
|
|
15
|
-
* const client = new APIGatewayClient(config);
|
|
16
|
-
* const command = new TagResourceCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class TagResourceCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Simulate the execution of an <a>Authorizer</a> in your <a>RestApi</a> with headers, parameters, and an incoming request body.</p>
|
|
10
|
-
* <div class="seeAlso">
|
|
11
|
-
* <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-use-lambda-authorizer.html">Use Lambda Function as Authorizer</a>
|
|
12
|
-
* <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-integrate-with-cognito.html">Use Cognito User Pool as Authorizer</a>
|
|
13
|
-
* </div>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { APIGatewayClient, TestInvokeAuthorizerCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
|
|
18
|
-
* // const { APIGatewayClient, TestInvokeAuthorizerCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
|
|
19
|
-
* const client = new APIGatewayClient(config);
|
|
20
|
-
* const command = new TestInvokeAuthorizerCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link TestInvokeAuthorizerCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link TestInvokeAuthorizerCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
8
|
class TestInvokeAuthorizerCommand extends smithy_client_1.Command {
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
9
|
constructor(input) {
|
|
33
|
-
// Start section: command_constructor
|
|
34
10
|
super();
|
|
35
11
|
this.input = input;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Simulate the execution of a <a>Method</a> in your <a>RestApi</a> with headers, parameters, and an incoming request body.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { APIGatewayClient, TestInvokeMethodCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
|
|
14
|
-
* // const { APIGatewayClient, TestInvokeMethodCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
|
|
15
|
-
* const client = new APIGatewayClient(config);
|
|
16
|
-
* const command = new TestInvokeMethodCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link TestInvokeMethodCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link TestInvokeMethodCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class TestInvokeMethodCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Removes a tag from a given resource.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { APIGatewayClient, UntagResourceCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
|
|
14
|
-
* // const { APIGatewayClient, UntagResourceCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
|
|
15
|
-
* const client = new APIGatewayClient(config);
|
|
16
|
-
* const command = new UntagResourceCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UntagResourceCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Changes information about the current <a>Account</a> resource.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { APIGatewayClient, UpdateAccountCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
|
|
14
|
-
* // const { APIGatewayClient, UpdateAccountCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
|
|
15
|
-
* const client = new APIGatewayClient(config);
|
|
16
|
-
* const command = new UpdateAccountCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateAccountCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateAccountCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateAccountCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Changes information about an <a>ApiKey</a> resource.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { APIGatewayClient, UpdateApiKeyCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
|
|
14
|
-
* // const { APIGatewayClient, UpdateApiKeyCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
|
|
15
|
-
* const client = new APIGatewayClient(config);
|
|
16
|
-
* const command = new UpdateApiKeyCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateApiKeyCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateApiKeyCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateApiKeyCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Updates an existing <a>Authorizer</a> resource.</p>
|
|
10
|
-
* <div class="seeAlso"><a href="https://docs.aws.amazon.com/cli/latest/reference/apigateway/update-authorizer.html">AWS CLI</a></div>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { APIGatewayClient, UpdateAuthorizerCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
|
|
15
|
-
* // const { APIGatewayClient, UpdateAuthorizerCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
|
|
16
|
-
* const client = new APIGatewayClient(config);
|
|
17
|
-
* const command = new UpdateAuthorizerCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link UpdateAuthorizerCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link UpdateAuthorizerCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class UpdateAuthorizerCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Changes information about the <a>BasePathMapping</a> resource.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { APIGatewayClient, UpdateBasePathMappingCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
|
|
14
|
-
* // const { APIGatewayClient, UpdateBasePathMappingCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
|
|
15
|
-
* const client = new APIGatewayClient(config);
|
|
16
|
-
* const command = new UpdateBasePathMappingCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateBasePathMappingCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateBasePathMappingCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateBasePathMappingCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Changes information about an <a>ClientCertificate</a> resource.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { APIGatewayClient, UpdateClientCertificateCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
|
|
14
|
-
* // const { APIGatewayClient, UpdateClientCertificateCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
|
|
15
|
-
* const client = new APIGatewayClient(config);
|
|
16
|
-
* const command = new UpdateClientCertificateCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateClientCertificateCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateClientCertificateCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateClientCertificateCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Changes information about a <a>Deployment</a> resource.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { APIGatewayClient, UpdateDeploymentCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
|
|
14
|
-
* // const { APIGatewayClient, UpdateDeploymentCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
|
|
15
|
-
* const client = new APIGatewayClient(config);
|
|
16
|
-
* const command = new UpdateDeploymentCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateDeploymentCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateDeploymentCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateDeploymentCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -6,17 +6,10 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
class UpdateDocumentationPartCommand extends smithy_client_1.Command {
|
|
9
|
-
// Start section: command_properties
|
|
10
|
-
// End section: command_properties
|
|
11
9
|
constructor(input) {
|
|
12
|
-
// Start section: command_constructor
|
|
13
10
|
super();
|
|
14
11
|
this.input = input;
|
|
15
|
-
// End section: command_constructor
|
|
16
12
|
}
|
|
17
|
-
/**
|
|
18
|
-
* @internal
|
|
19
|
-
*/
|
|
20
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
21
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -6,17 +6,10 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
class UpdateDocumentationVersionCommand extends smithy_client_1.Command {
|
|
9
|
-
// Start section: command_properties
|
|
10
|
-
// End section: command_properties
|
|
11
9
|
constructor(input) {
|
|
12
|
-
// Start section: command_constructor
|
|
13
10
|
super();
|
|
14
11
|
this.input = input;
|
|
15
|
-
// End section: command_constructor
|
|
16
12
|
}
|
|
17
|
-
/**
|
|
18
|
-
* @internal
|
|
19
|
-
*/
|
|
20
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
21
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Changes information about the <a>DomainName</a> resource.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { APIGatewayClient, UpdateDomainNameCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
|
|
14
|
-
* // const { APIGatewayClient, UpdateDomainNameCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
|
|
15
|
-
* const client = new APIGatewayClient(config);
|
|
16
|
-
* const command = new UpdateDomainNameCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateDomainNameCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateDomainNameCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateDomainNameCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Updates a <a>GatewayResponse</a> of a specified response type on the given <a>RestApi</a>.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { APIGatewayClient, UpdateGatewayResponseCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
|
|
14
|
-
* // const { APIGatewayClient, UpdateGatewayResponseCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
|
|
15
|
-
* const client = new APIGatewayClient(config);
|
|
16
|
-
* const command = new UpdateGatewayResponseCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateGatewayResponseCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateGatewayResponseCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateGatewayResponseCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Represents an update integration.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { APIGatewayClient, UpdateIntegrationCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
|
|
14
|
-
* // const { APIGatewayClient, UpdateIntegrationCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
|
|
15
|
-
* const client = new APIGatewayClient(config);
|
|
16
|
-
* const command = new UpdateIntegrationCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateIntegrationCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateIntegrationCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateIntegrationCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|