@aws-sdk/client-api-gateway 3.33.0 → 3.34.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/package.json +39 -39
- package/dist/es/APIGateway.js +1 -5
- package/dist/es/APIGateway.js.map +1 -1
- package/dist/es/APIGatewayClient.js +1 -10
- package/dist/es/APIGatewayClient.js.map +1 -1
- package/dist/es/commands/CreateApiKeyCommand.js +2 -28
- package/dist/es/commands/CreateApiKeyCommand.js.map +1 -1
- package/dist/es/commands/CreateAuthorizerCommand.js +2 -28
- package/dist/es/commands/CreateAuthorizerCommand.js.map +1 -1
- package/dist/es/commands/CreateBasePathMappingCommand.js +2 -27
- package/dist/es/commands/CreateBasePathMappingCommand.js.map +1 -1
- package/dist/es/commands/CreateDeploymentCommand.js +2 -27
- package/dist/es/commands/CreateDeploymentCommand.js.map +1 -1
- package/dist/es/commands/CreateDocumentationPartCommand.js +2 -10
- package/dist/es/commands/CreateDocumentationPartCommand.js.map +1 -1
- package/dist/es/commands/CreateDocumentationVersionCommand.js +2 -10
- package/dist/es/commands/CreateDocumentationVersionCommand.js.map +1 -1
- package/dist/es/commands/CreateDomainNameCommand.js +2 -27
- package/dist/es/commands/CreateDomainNameCommand.js.map +1 -1
- package/dist/es/commands/CreateModelCommand.js +2 -27
- package/dist/es/commands/CreateModelCommand.js.map +1 -1
- package/dist/es/commands/CreateRequestValidatorCommand.js +2 -27
- package/dist/es/commands/CreateRequestValidatorCommand.js.map +1 -1
- package/dist/es/commands/CreateResourceCommand.js +2 -27
- package/dist/es/commands/CreateResourceCommand.js.map +1 -1
- package/dist/es/commands/CreateRestApiCommand.js +2 -27
- package/dist/es/commands/CreateRestApiCommand.js.map +1 -1
- package/dist/es/commands/CreateStageCommand.js +2 -28
- package/dist/es/commands/CreateStageCommand.js.map +1 -1
- package/dist/es/commands/CreateUsagePlanCommand.js +2 -27
- package/dist/es/commands/CreateUsagePlanCommand.js.map +1 -1
- package/dist/es/commands/CreateUsagePlanKeyCommand.js +2 -27
- package/dist/es/commands/CreateUsagePlanKeyCommand.js.map +1 -1
- package/dist/es/commands/CreateVpcLinkCommand.js +2 -27
- package/dist/es/commands/CreateVpcLinkCommand.js.map +1 -1
- package/dist/es/commands/DeleteApiKeyCommand.js +2 -27
- package/dist/es/commands/DeleteApiKeyCommand.js.map +1 -1
- package/dist/es/commands/DeleteAuthorizerCommand.js +2 -28
- package/dist/es/commands/DeleteAuthorizerCommand.js.map +1 -1
- package/dist/es/commands/DeleteBasePathMappingCommand.js +2 -27
- package/dist/es/commands/DeleteBasePathMappingCommand.js.map +1 -1
- package/dist/es/commands/DeleteClientCertificateCommand.js +2 -27
- package/dist/es/commands/DeleteClientCertificateCommand.js.map +1 -1
- package/dist/es/commands/DeleteDeploymentCommand.js +2 -27
- package/dist/es/commands/DeleteDeploymentCommand.js.map +1 -1
- package/dist/es/commands/DeleteDocumentationPartCommand.js +2 -10
- package/dist/es/commands/DeleteDocumentationPartCommand.js.map +1 -1
- package/dist/es/commands/DeleteDocumentationVersionCommand.js +2 -10
- package/dist/es/commands/DeleteDocumentationVersionCommand.js.map +1 -1
- package/dist/es/commands/DeleteDomainNameCommand.js +2 -27
- package/dist/es/commands/DeleteDomainNameCommand.js.map +1 -1
- package/dist/es/commands/DeleteGatewayResponseCommand.js +2 -27
- package/dist/es/commands/DeleteGatewayResponseCommand.js.map +1 -1
- package/dist/es/commands/DeleteIntegrationCommand.js +2 -27
- package/dist/es/commands/DeleteIntegrationCommand.js.map +1 -1
- package/dist/es/commands/DeleteIntegrationResponseCommand.js +2 -27
- package/dist/es/commands/DeleteIntegrationResponseCommand.js.map +1 -1
- package/dist/es/commands/DeleteMethodCommand.js +2 -27
- package/dist/es/commands/DeleteMethodCommand.js.map +1 -1
- package/dist/es/commands/DeleteMethodResponseCommand.js +2 -27
- package/dist/es/commands/DeleteMethodResponseCommand.js.map +1 -1
- package/dist/es/commands/DeleteModelCommand.js +2 -27
- package/dist/es/commands/DeleteModelCommand.js.map +1 -1
- package/dist/es/commands/DeleteRequestValidatorCommand.js +2 -27
- package/dist/es/commands/DeleteRequestValidatorCommand.js.map +1 -1
- package/dist/es/commands/DeleteResourceCommand.js +2 -27
- package/dist/es/commands/DeleteResourceCommand.js.map +1 -1
- package/dist/es/commands/DeleteRestApiCommand.js +2 -27
- package/dist/es/commands/DeleteRestApiCommand.js.map +1 -1
- package/dist/es/commands/DeleteStageCommand.js +2 -27
- package/dist/es/commands/DeleteStageCommand.js.map +1 -1
- package/dist/es/commands/DeleteUsagePlanCommand.js +2 -27
- package/dist/es/commands/DeleteUsagePlanCommand.js.map +1 -1
- package/dist/es/commands/DeleteUsagePlanKeyCommand.js +2 -27
- package/dist/es/commands/DeleteUsagePlanKeyCommand.js.map +1 -1
- package/dist/es/commands/DeleteVpcLinkCommand.js +2 -27
- package/dist/es/commands/DeleteVpcLinkCommand.js.map +1 -1
- package/dist/es/commands/FlushStageAuthorizersCacheCommand.js +2 -27
- package/dist/es/commands/FlushStageAuthorizersCacheCommand.js.map +1 -1
- package/dist/es/commands/FlushStageCacheCommand.js +2 -27
- package/dist/es/commands/FlushStageCacheCommand.js.map +1 -1
- package/dist/es/commands/GenerateClientCertificateCommand.js +2 -27
- package/dist/es/commands/GenerateClientCertificateCommand.js.map +1 -1
- package/dist/es/commands/GetAccountCommand.js +2 -27
- package/dist/es/commands/GetAccountCommand.js.map +1 -1
- package/dist/es/commands/GetApiKeyCommand.js +2 -27
- package/dist/es/commands/GetApiKeyCommand.js.map +1 -1
- package/dist/es/commands/GetApiKeysCommand.js +2 -27
- package/dist/es/commands/GetApiKeysCommand.js.map +1 -1
- package/dist/es/commands/GetAuthorizerCommand.js +2 -28
- package/dist/es/commands/GetAuthorizerCommand.js.map +1 -1
- package/dist/es/commands/GetAuthorizersCommand.js +2 -28
- package/dist/es/commands/GetAuthorizersCommand.js.map +1 -1
- package/dist/es/commands/GetBasePathMappingCommand.js +2 -27
- package/dist/es/commands/GetBasePathMappingCommand.js.map +1 -1
- package/dist/es/commands/GetBasePathMappingsCommand.js +2 -27
- package/dist/es/commands/GetBasePathMappingsCommand.js.map +1 -1
- package/dist/es/commands/GetClientCertificateCommand.js +2 -27
- package/dist/es/commands/GetClientCertificateCommand.js.map +1 -1
- package/dist/es/commands/GetClientCertificatesCommand.js +2 -27
- package/dist/es/commands/GetClientCertificatesCommand.js.map +1 -1
- package/dist/es/commands/GetDeploymentCommand.js +2 -27
- package/dist/es/commands/GetDeploymentCommand.js.map +1 -1
- package/dist/es/commands/GetDeploymentsCommand.js +2 -27
- package/dist/es/commands/GetDeploymentsCommand.js.map +1 -1
- package/dist/es/commands/GetDocumentationPartCommand.js +2 -10
- package/dist/es/commands/GetDocumentationPartCommand.js.map +1 -1
- package/dist/es/commands/GetDocumentationPartsCommand.js +2 -10
- package/dist/es/commands/GetDocumentationPartsCommand.js.map +1 -1
- package/dist/es/commands/GetDocumentationVersionCommand.js +2 -10
- package/dist/es/commands/GetDocumentationVersionCommand.js.map +1 -1
- package/dist/es/commands/GetDocumentationVersionsCommand.js +2 -10
- package/dist/es/commands/GetDocumentationVersionsCommand.js.map +1 -1
- package/dist/es/commands/GetDomainNameCommand.js +2 -27
- package/dist/es/commands/GetDomainNameCommand.js.map +1 -1
- package/dist/es/commands/GetDomainNamesCommand.js +2 -27
- package/dist/es/commands/GetDomainNamesCommand.js.map +1 -1
- package/dist/es/commands/GetExportCommand.js +2 -27
- package/dist/es/commands/GetExportCommand.js.map +1 -1
- package/dist/es/commands/GetGatewayResponseCommand.js +2 -27
- package/dist/es/commands/GetGatewayResponseCommand.js.map +1 -1
- package/dist/es/commands/GetGatewayResponsesCommand.js +2 -27
- package/dist/es/commands/GetGatewayResponsesCommand.js.map +1 -1
- package/dist/es/commands/GetIntegrationCommand.js +2 -27
- package/dist/es/commands/GetIntegrationCommand.js.map +1 -1
- package/dist/es/commands/GetIntegrationResponseCommand.js +2 -27
- package/dist/es/commands/GetIntegrationResponseCommand.js.map +1 -1
- package/dist/es/commands/GetMethodCommand.js +2 -27
- package/dist/es/commands/GetMethodCommand.js.map +1 -1
- package/dist/es/commands/GetMethodResponseCommand.js +2 -27
- package/dist/es/commands/GetMethodResponseCommand.js.map +1 -1
- package/dist/es/commands/GetModelCommand.js +2 -27
- package/dist/es/commands/GetModelCommand.js.map +1 -1
- package/dist/es/commands/GetModelTemplateCommand.js +2 -27
- package/dist/es/commands/GetModelTemplateCommand.js.map +1 -1
- package/dist/es/commands/GetModelsCommand.js +2 -27
- package/dist/es/commands/GetModelsCommand.js.map +1 -1
- package/dist/es/commands/GetRequestValidatorCommand.js +2 -27
- package/dist/es/commands/GetRequestValidatorCommand.js.map +1 -1
- package/dist/es/commands/GetRequestValidatorsCommand.js +2 -27
- package/dist/es/commands/GetRequestValidatorsCommand.js.map +1 -1
- package/dist/es/commands/GetResourceCommand.js +2 -27
- package/dist/es/commands/GetResourceCommand.js.map +1 -1
- package/dist/es/commands/GetResourcesCommand.js +2 -27
- package/dist/es/commands/GetResourcesCommand.js.map +1 -1
- package/dist/es/commands/GetRestApiCommand.js +2 -27
- package/dist/es/commands/GetRestApiCommand.js.map +1 -1
- package/dist/es/commands/GetRestApisCommand.js +2 -27
- package/dist/es/commands/GetRestApisCommand.js.map +1 -1
- package/dist/es/commands/GetSdkCommand.js +2 -27
- package/dist/es/commands/GetSdkCommand.js.map +1 -1
- package/dist/es/commands/GetSdkTypeCommand.js +2 -10
- package/dist/es/commands/GetSdkTypeCommand.js.map +1 -1
- package/dist/es/commands/GetSdkTypesCommand.js +2 -10
- package/dist/es/commands/GetSdkTypesCommand.js.map +1 -1
- package/dist/es/commands/GetStageCommand.js +2 -27
- package/dist/es/commands/GetStageCommand.js.map +1 -1
- package/dist/es/commands/GetStagesCommand.js +2 -27
- package/dist/es/commands/GetStagesCommand.js.map +1 -1
- package/dist/es/commands/GetTagsCommand.js +2 -27
- package/dist/es/commands/GetTagsCommand.js.map +1 -1
- package/dist/es/commands/GetUsageCommand.js +2 -27
- package/dist/es/commands/GetUsageCommand.js.map +1 -1
- package/dist/es/commands/GetUsagePlanCommand.js +2 -27
- package/dist/es/commands/GetUsagePlanCommand.js.map +1 -1
- package/dist/es/commands/GetUsagePlanKeyCommand.js +2 -27
- package/dist/es/commands/GetUsagePlanKeyCommand.js.map +1 -1
- package/dist/es/commands/GetUsagePlanKeysCommand.js +2 -27
- package/dist/es/commands/GetUsagePlanKeysCommand.js.map +1 -1
- package/dist/es/commands/GetUsagePlansCommand.js +2 -27
- package/dist/es/commands/GetUsagePlansCommand.js.map +1 -1
- package/dist/es/commands/GetVpcLinkCommand.js +2 -27
- package/dist/es/commands/GetVpcLinkCommand.js.map +1 -1
- package/dist/es/commands/GetVpcLinksCommand.js +2 -27
- package/dist/es/commands/GetVpcLinksCommand.js.map +1 -1
- package/dist/es/commands/ImportApiKeysCommand.js +2 -27
- package/dist/es/commands/ImportApiKeysCommand.js.map +1 -1
- package/dist/es/commands/ImportDocumentationPartsCommand.js +2 -10
- package/dist/es/commands/ImportDocumentationPartsCommand.js.map +1 -1
- package/dist/es/commands/ImportRestApiCommand.js +2 -27
- package/dist/es/commands/ImportRestApiCommand.js.map +1 -1
- package/dist/es/commands/PutGatewayResponseCommand.js +2 -27
- package/dist/es/commands/PutGatewayResponseCommand.js.map +1 -1
- package/dist/es/commands/PutIntegrationCommand.js +2 -27
- package/dist/es/commands/PutIntegrationCommand.js.map +1 -1
- package/dist/es/commands/PutIntegrationResponseCommand.js +2 -27
- package/dist/es/commands/PutIntegrationResponseCommand.js.map +1 -1
- package/dist/es/commands/PutMethodCommand.js +2 -27
- package/dist/es/commands/PutMethodCommand.js.map +1 -1
- package/dist/es/commands/PutMethodResponseCommand.js +2 -27
- package/dist/es/commands/PutMethodResponseCommand.js.map +1 -1
- package/dist/es/commands/PutRestApiCommand.js +2 -28
- package/dist/es/commands/PutRestApiCommand.js.map +1 -1
- package/dist/es/commands/TagResourceCommand.js +2 -27
- package/dist/es/commands/TagResourceCommand.js.map +1 -1
- package/dist/es/commands/TestInvokeAuthorizerCommand.js +2 -31
- package/dist/es/commands/TestInvokeAuthorizerCommand.js.map +1 -1
- package/dist/es/commands/TestInvokeMethodCommand.js +2 -27
- package/dist/es/commands/TestInvokeMethodCommand.js.map +1 -1
- package/dist/es/commands/UntagResourceCommand.js +2 -27
- package/dist/es/commands/UntagResourceCommand.js.map +1 -1
- package/dist/es/commands/UpdateAccountCommand.js +2 -27
- package/dist/es/commands/UpdateAccountCommand.js.map +1 -1
- package/dist/es/commands/UpdateApiKeyCommand.js +2 -27
- package/dist/es/commands/UpdateApiKeyCommand.js.map +1 -1
- package/dist/es/commands/UpdateAuthorizerCommand.js +2 -28
- package/dist/es/commands/UpdateAuthorizerCommand.js.map +1 -1
- package/dist/es/commands/UpdateBasePathMappingCommand.js +2 -27
- package/dist/es/commands/UpdateBasePathMappingCommand.js.map +1 -1
- package/dist/es/commands/UpdateClientCertificateCommand.js +2 -27
- package/dist/es/commands/UpdateClientCertificateCommand.js.map +1 -1
- package/dist/es/commands/UpdateDeploymentCommand.js +2 -27
- package/dist/es/commands/UpdateDeploymentCommand.js.map +1 -1
- package/dist/es/commands/UpdateDocumentationPartCommand.js +2 -10
- package/dist/es/commands/UpdateDocumentationPartCommand.js.map +1 -1
- package/dist/es/commands/UpdateDocumentationVersionCommand.js +2 -10
- package/dist/es/commands/UpdateDocumentationVersionCommand.js.map +1 -1
- package/dist/es/commands/UpdateDomainNameCommand.js +2 -27
- package/dist/es/commands/UpdateDomainNameCommand.js.map +1 -1
- package/dist/es/commands/UpdateGatewayResponseCommand.js +2 -27
- package/dist/es/commands/UpdateGatewayResponseCommand.js.map +1 -1
- package/dist/es/commands/UpdateIntegrationCommand.js +2 -27
- package/dist/es/commands/UpdateIntegrationCommand.js.map +1 -1
- package/dist/es/commands/UpdateIntegrationResponseCommand.js +2 -27
- package/dist/es/commands/UpdateIntegrationResponseCommand.js.map +1 -1
- package/dist/es/commands/UpdateMethodCommand.js +2 -27
- package/dist/es/commands/UpdateMethodCommand.js.map +1 -1
- package/dist/es/commands/UpdateMethodResponseCommand.js +2 -27
- package/dist/es/commands/UpdateMethodResponseCommand.js.map +1 -1
- package/dist/es/commands/UpdateModelCommand.js +2 -27
- package/dist/es/commands/UpdateModelCommand.js.map +1 -1
- package/dist/es/commands/UpdateRequestValidatorCommand.js +2 -27
- package/dist/es/commands/UpdateRequestValidatorCommand.js.map +1 -1
- package/dist/es/commands/UpdateResourceCommand.js +2 -27
- package/dist/es/commands/UpdateResourceCommand.js.map +1 -1
- package/dist/es/commands/UpdateRestApiCommand.js +2 -27
- package/dist/es/commands/UpdateRestApiCommand.js.map +1 -1
- package/dist/es/commands/UpdateStageCommand.js +2 -27
- package/dist/es/commands/UpdateStageCommand.js.map +1 -1
- package/dist/es/commands/UpdateUsageCommand.js +2 -27
- package/dist/es/commands/UpdateUsageCommand.js.map +1 -1
- package/dist/es/commands/UpdateUsagePlanCommand.js +2 -27
- package/dist/es/commands/UpdateUsagePlanCommand.js.map +1 -1
- package/dist/es/commands/UpdateVpcLinkCommand.js +2 -27
- package/dist/es/commands/UpdateVpcLinkCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -1
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +0 -579
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +39 -39
- package/dist/es/pagination/GetApiKeysPaginator.js +16 -28
- package/dist/es/pagination/GetApiKeysPaginator.js.map +1 -1
- package/dist/es/pagination/GetBasePathMappingsPaginator.js +16 -28
- package/dist/es/pagination/GetBasePathMappingsPaginator.js.map +1 -1
- package/dist/es/pagination/GetClientCertificatesPaginator.js +16 -28
- package/dist/es/pagination/GetClientCertificatesPaginator.js.map +1 -1
- package/dist/es/pagination/GetDeploymentsPaginator.js +16 -28
- package/dist/es/pagination/GetDeploymentsPaginator.js.map +1 -1
- package/dist/es/pagination/GetDomainNamesPaginator.js +16 -28
- package/dist/es/pagination/GetDomainNamesPaginator.js.map +1 -1
- package/dist/es/pagination/GetModelsPaginator.js +16 -28
- package/dist/es/pagination/GetModelsPaginator.js.map +1 -1
- package/dist/es/pagination/GetResourcesPaginator.js +16 -28
- package/dist/es/pagination/GetResourcesPaginator.js.map +1 -1
- package/dist/es/pagination/GetRestApisPaginator.js +16 -28
- package/dist/es/pagination/GetRestApisPaginator.js.map +1 -1
- package/dist/es/pagination/GetUsagePaginator.js +16 -28
- package/dist/es/pagination/GetUsagePaginator.js.map +1 -1
- package/dist/es/pagination/GetUsagePlanKeysPaginator.js +16 -28
- package/dist/es/pagination/GetUsagePlanKeysPaginator.js.map +1 -1
- package/dist/es/pagination/GetUsagePlansPaginator.js +16 -28
- package/dist/es/pagination/GetUsagePlansPaginator.js.map +1 -1
- package/dist/es/pagination/GetVpcLinksPaginator.js +16 -28
- package/dist/es/pagination/GetVpcLinksPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_restJson1.js +3511 -3516
- package/dist/es/protocols/Aws_restJson1.js.map +1 -1
- package/dist/es/runtimeConfig.browser.js +0 -3
- package/dist/es/runtimeConfig.browser.js.map +1 -1
- package/dist/es/runtimeConfig.js +0 -3
- package/dist/es/runtimeConfig.js.map +1 -1
- package/dist/es/runtimeConfig.native.js +0 -3
- package/dist/es/runtimeConfig.native.js.map +1 -1
- package/dist/es/runtimeConfig.shared.js +0 -3
- package/dist/es/runtimeConfig.shared.js.map +1 -1
- package/package.json +39 -39
- package/tsconfig.es.json +0 -2
- package/tsconfig.json +4 -5
- package/tsconfig.types.json +8 -0
|
@@ -3,38 +3,13 @@ import { GatewayResponse, PutGatewayResponseRequest } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_restJson1PutGatewayResponseCommand, serializeAws_restJson1PutGatewayResponseCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Creates a customization of a <a>GatewayResponse</a> of a specified response type and status code on the given <a>RestApi</a>.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { APIGatewayClient, PutGatewayResponseCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
|
|
12
|
-
* // const { APIGatewayClient, PutGatewayResponseCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
|
|
13
|
-
* const client = new APIGatewayClient(config);
|
|
14
|
-
* const command = new PutGatewayResponseCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link PutGatewayResponseCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link PutGatewayResponseCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var PutGatewayResponseCommand = /** @class */ (function (_super) {
|
|
6
|
+
var PutGatewayResponseCommand = (function (_super) {
|
|
24
7
|
__extends(PutGatewayResponseCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function PutGatewayResponseCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
PutGatewayResponseCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PutGatewayResponseCommand.js","sourceRoot":"","sources":["../../../commands/PutGatewayResponseCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,eAAe,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAChF,OAAO,EACL,iDAAiD,EACjD,+CAA+C,GAChD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"PutGatewayResponseCommand.js","sourceRoot":"","sources":["../../../commands/PutGatewayResponseCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,eAAe,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAChF,OAAO,EACL,iDAAiD,EACjD,+CAA+C,GAChD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA+B7D;IAA+C,6CAI9C;IAIC,mCAAqB,KAAqC;QAA1D,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAgC;;IAI1D,CAAC;IAKD,qDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA6C,EAC7C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,kBAAkB,CAAC;QACtC,IAAM,WAAW,GAAG,2BAA2B,CAAC;QAChD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,yBAAyB,CAAC,kBAAkB;YACrE,wBAAwB,EAAE,eAAe,CAAC,kBAAkB;SAC7D,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,6CAAS,GAAjB,UAAkB,KAAqC,EAAE,OAAuB;QAC9E,OAAO,+CAA+C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAEO,+CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,iDAAiD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAIH,gCAAC;AAAD,CAAC,AAtDD,CAA+C,QAAQ,GAsDtD"}
|
|
@@ -3,38 +3,13 @@ import { Integration, PutIntegrationRequest } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_restJson1PutIntegrationCommand, serializeAws_restJson1PutIntegrationCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Sets up a method's integration.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { APIGatewayClient, PutIntegrationCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
|
|
12
|
-
* // const { APIGatewayClient, PutIntegrationCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
|
|
13
|
-
* const client = new APIGatewayClient(config);
|
|
14
|
-
* const command = new PutIntegrationCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link PutIntegrationCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link PutIntegrationCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var PutIntegrationCommand = /** @class */ (function (_super) {
|
|
6
|
+
var PutIntegrationCommand = (function (_super) {
|
|
24
7
|
__extends(PutIntegrationCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function PutIntegrationCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
PutIntegrationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PutIntegrationCommand.js","sourceRoot":"","sources":["../../../commands/PutIntegrationCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,WAAW,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AACxE,OAAO,EACL,6CAA6C,EAC7C,2CAA2C,GAC5C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"PutIntegrationCommand.js","sourceRoot":"","sources":["../../../commands/PutIntegrationCommand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C1E,OAAO,2CAA2C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAEO,2CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,6CAA6C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAIH,4BAAC;AAAD,CAAC,AAtDD,CAA2C,QAAQ,GAsDlD"}
|
|
@@ -3,38 +3,13 @@ import { IntegrationResponse, PutIntegrationResponseRequest } from "../models/mo
|
|
|
3
3
|
import { deserializeAws_restJson1PutIntegrationResponseCommand, serializeAws_restJson1PutIntegrationResponseCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Represents a put integration.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { APIGatewayClient, PutIntegrationResponseCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
|
|
12
|
-
* // const { APIGatewayClient, PutIntegrationResponseCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
|
|
13
|
-
* const client = new APIGatewayClient(config);
|
|
14
|
-
* const command = new PutIntegrationResponseCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link PutIntegrationResponseCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link PutIntegrationResponseCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var PutIntegrationResponseCommand = /** @class */ (function (_super) {
|
|
6
|
+
var PutIntegrationResponseCommand = (function (_super) {
|
|
24
7
|
__extends(PutIntegrationResponseCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function PutIntegrationResponseCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
PutIntegrationResponseCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PutIntegrationResponseCommand.js","sourceRoot":"","sources":["../../../commands/PutIntegrationResponseCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AACxF,OAAO,EACL,qDAAqD,EACrD,mDAAmD,GACpD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"PutIntegrationResponseCommand.js","sourceRoot":"","sources":["../../../commands/PutIntegrationResponseCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AACxF,OAAO,EACL,qDAAqD,EACrD,mDAAmD,GACpD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA+B7D;IAAmD,iDAIlD;IAIC,uCAAqB,KAAyC;QAA9D,YAEE,iBAAO,SAER;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serializeAws_restJson1PutMethodCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Add a method to an existing <a>Resource</a> resource.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { APIGatewayClient, PutMethodCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
|
|
12
|
-
* // const { APIGatewayClient, PutMethodCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
|
|
13
|
-
* const client = new APIGatewayClient(config);
|
|
14
|
-
* const command = new PutMethodCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link PutMethodCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link PutMethodCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var PutMethodCommand = /** @class */ (function (_super) {
|
|
6
|
+
var PutMethodCommand = (function (_super) {
|
|
24
7
|
__extends(PutMethodCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function PutMethodCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
PutMethodCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PutMethodCommand.js","sourceRoot":"","sources":["../../../commands/PutMethodCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EACL,wCAAwC,EACxC,sCAAsC,GACvC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"PutMethodCommand.js","sourceRoot":"","sources":["../../../commands/PutMethodCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EACL,wCAAwC,EACxC,sCAAsC,GACvC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA+B7D;IAAsC,oCAIrC;IAIC,0BAAqB,KAA4B;QAAjD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAuB;;IAIjD,CAAC;IAKD,4CAAiB,GAAjB,UACE,WAAmE,EACnE,aAA6C,EAC7C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,kBAAkB,CAAC;QACtC,IAAM,WAAW,GAAG,kBAAkB,CAAC;QACvC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,gBAAgB,CAAC,kBAAkB;YAC5D,wBAAwB,EAAE,MAAM,CAAC,kBAAkB;SACpD,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,oCAAS,GAAjB,UAAkB,KAA4B,EAAE,OAAuB;QACrE,OAAO,sCAAsC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;IAEO,sCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,wCAAwC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAIH,uBAAC;AAAD,CAAC,AAtDD,CAAsC,QAAQ,GAsD7C"}
|
|
@@ -3,38 +3,13 @@ import { MethodResponse, PutMethodResponseRequest } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_restJson1PutMethodResponseCommand, serializeAws_restJson1PutMethodResponseCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Adds a <a>MethodResponse</a> to an existing <a>Method</a> resource.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { APIGatewayClient, PutMethodResponseCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
|
|
12
|
-
* // const { APIGatewayClient, PutMethodResponseCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
|
|
13
|
-
* const client = new APIGatewayClient(config);
|
|
14
|
-
* const command = new PutMethodResponseCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link PutMethodResponseCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link PutMethodResponseCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var PutMethodResponseCommand = /** @class */ (function (_super) {
|
|
6
|
+
var PutMethodResponseCommand = (function (_super) {
|
|
24
7
|
__extends(PutMethodResponseCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function PutMethodResponseCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
PutMethodResponseCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PutMethodResponseCommand.js","sourceRoot":"","sources":["../../../commands/PutMethodResponseCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EACL,gDAAgD,EAChD,8CAA8C,GAC/C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,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AAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,4CAAS,GAAjB,UAAkB,KAAoC,EAAE,OAAuB;QAC7E,OAAO,8CAA8C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAEO,8CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,gDAAgD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAIH,+BAAC;AAAD,CAAC,AAtDD,CAA8C,QAAQ,GAsDrD"}
|
|
@@ -3,39 +3,13 @@ import { PutRestApiRequest, RestApi } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_restJson1PutRestApiCommand, serializeAws_restJson1PutRestApiCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>A feature of the API Gateway control service for updating an existing API with an input of external API definitions.
|
|
8
|
-
* The update can take the form of merging the supplied definition into the existing API or overwriting the existing API.</p>
|
|
9
|
-
* @example
|
|
10
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
11
|
-
* ```javascript
|
|
12
|
-
* import { APIGatewayClient, PutRestApiCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
|
|
13
|
-
* // const { APIGatewayClient, PutRestApiCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
|
|
14
|
-
* const client = new APIGatewayClient(config);
|
|
15
|
-
* const command = new PutRestApiCommand(input);
|
|
16
|
-
* const response = await client.send(command);
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* @see {@link PutRestApiCommandInput} for command's `input` shape.
|
|
20
|
-
* @see {@link PutRestApiCommandOutput} for command's `response` shape.
|
|
21
|
-
* @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
var PutRestApiCommand = /** @class */ (function (_super) {
|
|
6
|
+
var PutRestApiCommand = (function (_super) {
|
|
25
7
|
__extends(PutRestApiCommand, _super);
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
8
|
function PutRestApiCommand(input) {
|
|
29
|
-
var _this =
|
|
30
|
-
// Start section: command_constructor
|
|
31
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
32
10
|
_this.input = input;
|
|
33
11
|
return _this;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
PutRestApiCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PutRestApiCommand.js","sourceRoot":"","sources":["../../../commands/PutRestApiCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,yCAAyC,EACzC,uCAAuC,GACxC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"PutRestApiCommand.js","sourceRoot":"","sources":["../../../commands/PutRestApiCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,yCAAyC,EACzC,uCAAuC,GACxC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QA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C"}
|
|
@@ -3,38 +3,13 @@ import { TagResourceRequest } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Adds or updates a tag on a given resource.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { APIGatewayClient, TagResourceCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
|
|
12
|
-
* // const { APIGatewayClient, TagResourceCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
|
|
13
|
-
* const client = new APIGatewayClient(config);
|
|
14
|
-
* const command = new TagResourceCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var TagResourceCommand = /** @class */ (function (_super) {
|
|
6
|
+
var TagResourceCommand = (function (_super) {
|
|
24
7
|
__extends(TagResourceCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function TagResourceCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
TagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TagResourceCommand.js","sourceRoot":"","sources":["../../../commands/TagResourceCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EACL,0CAA0C,EAC1C,wCAAwC,GACzC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"TagResourceCommand.js","sourceRoot":"","sources":["../../../commands/TagResourceCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EACL,0CAA0C,EAC1C,wCAAwC,GACzC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA+B7D;IAAwC,sCAIvC;IAIC,4BAAqB,KAA8B;QAAnD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAyB;;IAInD,CAAC;IAKD,8CAAiB,GAAjB,UACE,WAAmE,EACnE,aAA6C,EAC7C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,kBAAkB,CAAC;QACtC,IAAM,WAAW,GAAG,oBAAoB,CAAC;QACzC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,kBAAkB,CAAC,kBAAkB;YAC9D,wBAAwB,EAAE,UAAC,MAAW,IAAK,OAAA,MAAM,EAAN,CAAM;SAClD,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,sCAAS,GAAjB,UAAkB,KAA8B,EAAE,OAAuB;QACvE,OAAO,wCAAwC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAEO,wCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,0CAA0C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAIH,yBAAC;AAAD,CAAC,AAtDD,CAAwC,QAAQ,GAsD/C"}
|
|
@@ -3,42 +3,13 @@ import { TestInvokeAuthorizerRequest, TestInvokeAuthorizerResponse } from "../mo
|
|
|
3
3
|
import { deserializeAws_restJson1TestInvokeAuthorizerCommand, serializeAws_restJson1TestInvokeAuthorizerCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Simulate the execution of an <a>Authorizer</a> in your <a>RestApi</a> with headers, parameters, and an incoming request body.</p>
|
|
8
|
-
* <div class="seeAlso">
|
|
9
|
-
* <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-use-lambda-authorizer.html">Use Lambda Function as Authorizer</a>
|
|
10
|
-
* <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-integrate-with-cognito.html">Use Cognito User Pool as Authorizer</a>
|
|
11
|
-
* </div>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { APIGatewayClient, TestInvokeAuthorizerCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
|
|
16
|
-
* // const { APIGatewayClient, TestInvokeAuthorizerCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
|
|
17
|
-
* const client = new APIGatewayClient(config);
|
|
18
|
-
* const command = new TestInvokeAuthorizerCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link TestInvokeAuthorizerCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link TestInvokeAuthorizerCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
|
-
var TestInvokeAuthorizerCommand = /** @class */ (function (_super) {
|
|
6
|
+
var TestInvokeAuthorizerCommand = (function (_super) {
|
|
28
7
|
__extends(TestInvokeAuthorizerCommand, _super);
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
8
|
function TestInvokeAuthorizerCommand(input) {
|
|
32
|
-
var _this =
|
|
33
|
-
// Start section: command_constructor
|
|
34
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
35
10
|
_this.input = input;
|
|
36
11
|
return _this;
|
|
37
|
-
// End section: command_constructor
|
|
38
12
|
}
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
13
|
TestInvokeAuthorizerCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
43
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
44
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TestInvokeAuthorizerCommand.js","sourceRoot":"","sources":["../../../commands/TestInvokeAuthorizerCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAC/F,OAAO,EACL,mDAAmD,EACnD,iDAAiD,GAClD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"TestInvokeAuthorizerCommand.js","sourceRoot":"","sources":["../../../commands/TestInvokeAuthorizerCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAC/F,OAAO,EACL,mDAAmD,EACnD,iDAAiD,GAClD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAmC7D;IAAiD,+CAIhD;IAIC,qCAAqB,KAAuC;QAA5D,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAkC;;IAI5D,CAAC;IAKD,uDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA6C,EAC7C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,kBAAkB,CAAC;QACtC,IAAM,WAAW,GAAG,6BAA6B,CAAC;QAClD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,2BAA2B,CAAC,kBAAkB;YACvE,wBAAwB,EAAE,4BAA4B,CAAC,kBAAkB;SAC1E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,+CAAS,GAAjB,UAAkB,KAAuC,EAAE,OAAuB;QAChF,OAAO,iDAAiD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAEO,iDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,mDAAmD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAIH,kCAAC;AAAD,CAAC,AAtDD,CAAiD,QAAQ,GAsDxD"}
|
|
@@ -3,38 +3,13 @@ import { TestInvokeMethodRequest, TestInvokeMethodResponse } from "../models/mod
|
|
|
3
3
|
import { deserializeAws_restJson1TestInvokeMethodCommand, serializeAws_restJson1TestInvokeMethodCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Simulate the execution of a <a>Method</a> in your <a>RestApi</a> with headers, parameters, and an incoming request body.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { APIGatewayClient, TestInvokeMethodCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
|
|
12
|
-
* // const { APIGatewayClient, TestInvokeMethodCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
|
|
13
|
-
* const client = new APIGatewayClient(config);
|
|
14
|
-
* const command = new TestInvokeMethodCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link TestInvokeMethodCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link TestInvokeMethodCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var TestInvokeMethodCommand = /** @class */ (function (_super) {
|
|
6
|
+
var TestInvokeMethodCommand = (function (_super) {
|
|
24
7
|
__extends(TestInvokeMethodCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function TestInvokeMethodCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
TestInvokeMethodCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TestInvokeMethodCommand.js","sourceRoot":"","sources":["../../../commands/TestInvokeMethodCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AACvF,OAAO,EACL,+CAA+C,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CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,2CAAS,GAAjB,UAAkB,KAAmC,EAAE,OAAuB;QAC5E,OAAO,6CAA6C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAEO,6CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,+CAA+C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAIH,8BAAC;AAAD,CAAC,AAtDD,CAA6C,QAAQ,GAsDpD"}
|
|
@@ -3,38 +3,13 @@ import { UntagResourceRequest } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Removes a tag from a given resource.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { APIGatewayClient, UntagResourceCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
|
|
12
|
-
* // const { APIGatewayClient, UntagResourceCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
|
|
13
|
-
* const client = new APIGatewayClient(config);
|
|
14
|
-
* const command = new UntagResourceCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var UntagResourceCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UntagResourceCommand = (function (_super) {
|
|
24
7
|
__extends(UntagResourceCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function UntagResourceCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
UntagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UntagResourceCommand.js","sourceRoot":"","sources":["../../../commands/UntagResourceCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EACL,4CAA4C,EAC5C,0CAA0C,GAC3C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"UntagResourceCommand.js","sourceRoot":"","sources":["../../../commands/UntagResourceCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EACL,4CAA4C,EAC5C,0CAA0C,GAC3C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CA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CAAC;IAIH,2BAAC;AAAD,CAAC,AAtDD,CAA0C,QAAQ,GAsDjD"}
|
|
@@ -3,38 +3,13 @@ import { Account, UpdateAccountRequest } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_restJson1UpdateAccountCommand, serializeAws_restJson1UpdateAccountCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Changes information about the current <a>Account</a> resource.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { APIGatewayClient, UpdateAccountCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
|
|
12
|
-
* // const { APIGatewayClient, UpdateAccountCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
|
|
13
|
-
* const client = new APIGatewayClient(config);
|
|
14
|
-
* const command = new UpdateAccountCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link UpdateAccountCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link UpdateAccountCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var UpdateAccountCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdateAccountCommand = (function (_super) {
|
|
24
7
|
__extends(UpdateAccountCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function UpdateAccountCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
UpdateAccountCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateAccountCommand.js","sourceRoot":"","sources":["../../../commands/UpdateAccountCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,EACL,4CAA4C,EAC5C,0CAA0C,GAC3C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"UpdateAccountCommand.js","sourceRoot":"","sources":["../../../commands/UpdateAccountCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,EACL,4CAA4C,EAC5C,0CAA0C,GAC3C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA+B7D;IAA0C,wCAIzC;IAIC,8BAAqB,KAAgC;QAArD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA2B;;IAIrD,CAAC;IAKD,gDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA6C,EAC7C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,kBAAkB,CAAC;QACtC,IAAM,WAAW,GAAG,sBAAsB,CAAC;QAC3C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,oBAAoB,CAAC,kBAAkB;YAChE,wBAAwB,EAAE,OAAO,CAAC,kBAAkB;SACrD,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,wCAAS,GAAjB,UAAkB,KAAgC,EAAE,OAAuB;QACzE,OAAO,0CAA0C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAEO,0CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,4CAA4C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAIH,2BAAC;AAAD,CAAC,AAtDD,CAA0C,QAAQ,GAsDjD"}
|
|
@@ -3,38 +3,13 @@ import { ApiKey, UpdateApiKeyRequest } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_restJson1UpdateApiKeyCommand, serializeAws_restJson1UpdateApiKeyCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Changes information about an <a>ApiKey</a> resource.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { APIGatewayClient, UpdateApiKeyCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
|
|
12
|
-
* // const { APIGatewayClient, UpdateApiKeyCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
|
|
13
|
-
* const client = new APIGatewayClient(config);
|
|
14
|
-
* const command = new UpdateApiKeyCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link UpdateApiKeyCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link UpdateApiKeyCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link APIGatewayClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var UpdateApiKeyCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdateApiKeyCommand = (function (_super) {
|
|
24
7
|
__extends(UpdateApiKeyCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function UpdateApiKeyCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
UpdateApiKeyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|