@aws-sdk/client-appsync 3.130.0 → 3.141.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 +31 -0
- package/README.md +1 -1
- package/dist-cjs/AppSync.js +15 -0
- package/dist-cjs/commands/AssociateApiCommand.js +2 -2
- package/dist-cjs/commands/CreateApiCacheCommand.js +2 -2
- package/dist-cjs/commands/CreateApiKeyCommand.js +2 -2
- package/dist-cjs/commands/CreateDataSourceCommand.js +2 -2
- package/dist-cjs/commands/CreateDomainNameCommand.js +2 -2
- package/dist-cjs/commands/CreateFunctionCommand.js +2 -2
- package/dist-cjs/commands/CreateGraphqlApiCommand.js +2 -2
- package/dist-cjs/commands/CreateResolverCommand.js +2 -2
- package/dist-cjs/commands/CreateTypeCommand.js +2 -2
- package/dist-cjs/commands/DeleteApiCacheCommand.js +2 -2
- package/dist-cjs/commands/DeleteApiKeyCommand.js +2 -2
- package/dist-cjs/commands/DeleteDataSourceCommand.js +2 -2
- package/dist-cjs/commands/DeleteDomainNameCommand.js +2 -2
- package/dist-cjs/commands/DeleteFunctionCommand.js +2 -2
- package/dist-cjs/commands/DeleteGraphqlApiCommand.js +2 -2
- package/dist-cjs/commands/DeleteResolverCommand.js +2 -2
- package/dist-cjs/commands/DeleteTypeCommand.js +2 -2
- package/dist-cjs/commands/DisassociateApiCommand.js +2 -2
- package/dist-cjs/commands/EvaluateMappingTemplateCommand.js +36 -0
- package/dist-cjs/commands/FlushApiCacheCommand.js +2 -2
- package/dist-cjs/commands/GetApiAssociationCommand.js +2 -2
- package/dist-cjs/commands/GetApiCacheCommand.js +2 -2
- package/dist-cjs/commands/GetDataSourceCommand.js +2 -2
- package/dist-cjs/commands/GetDomainNameCommand.js +2 -2
- package/dist-cjs/commands/GetFunctionCommand.js +2 -2
- package/dist-cjs/commands/GetGraphqlApiCommand.js +2 -2
- package/dist-cjs/commands/GetIntrospectionSchemaCommand.js +2 -2
- package/dist-cjs/commands/GetResolverCommand.js +2 -2
- package/dist-cjs/commands/GetSchemaCreationStatusCommand.js +2 -2
- package/dist-cjs/commands/GetTypeCommand.js +2 -2
- package/dist-cjs/commands/ListApiKeysCommand.js +2 -2
- package/dist-cjs/commands/ListDataSourcesCommand.js +2 -2
- package/dist-cjs/commands/ListDomainNamesCommand.js +2 -2
- package/dist-cjs/commands/ListFunctionsCommand.js +2 -2
- package/dist-cjs/commands/ListGraphqlApisCommand.js +2 -2
- package/dist-cjs/commands/ListResolversByFunctionCommand.js +2 -2
- package/dist-cjs/commands/ListResolversCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/ListTypesCommand.js +2 -2
- package/dist-cjs/commands/StartSchemaCreationCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateApiCacheCommand.js +2 -2
- package/dist-cjs/commands/UpdateApiKeyCommand.js +2 -2
- package/dist-cjs/commands/UpdateDataSourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateDomainNameCommand.js +2 -2
- package/dist-cjs/commands/UpdateFunctionCommand.js +2 -2
- package/dist-cjs/commands/UpdateGraphqlApiCommand.js +2 -2
- package/dist-cjs/commands/UpdateResolverCommand.js +2 -2
- package/dist-cjs/commands/UpdateTypeCommand.js +2 -2
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +524 -766
- package/dist-cjs/protocols/Aws_restJson1.js +77 -2
- package/dist-es/AppSync.js +15 -0
- package/dist-es/commands/AssociateApiCommand.js +3 -3
- package/dist-es/commands/CreateApiCacheCommand.js +3 -3
- package/dist-es/commands/CreateApiKeyCommand.js +3 -3
- package/dist-es/commands/CreateDataSourceCommand.js +3 -3
- package/dist-es/commands/CreateDomainNameCommand.js +3 -3
- package/dist-es/commands/CreateFunctionCommand.js +3 -3
- package/dist-es/commands/CreateGraphqlApiCommand.js +3 -3
- package/dist-es/commands/CreateResolverCommand.js +3 -3
- package/dist-es/commands/CreateTypeCommand.js +3 -3
- package/dist-es/commands/DeleteApiCacheCommand.js +3 -3
- package/dist-es/commands/DeleteApiKeyCommand.js +3 -3
- package/dist-es/commands/DeleteDataSourceCommand.js +3 -3
- package/dist-es/commands/DeleteDomainNameCommand.js +3 -3
- package/dist-es/commands/DeleteFunctionCommand.js +3 -3
- package/dist-es/commands/DeleteGraphqlApiCommand.js +3 -3
- package/dist-es/commands/DeleteResolverCommand.js +3 -3
- package/dist-es/commands/DeleteTypeCommand.js +3 -3
- package/dist-es/commands/DisassociateApiCommand.js +3 -3
- package/dist-es/commands/EvaluateMappingTemplateCommand.js +39 -0
- package/dist-es/commands/FlushApiCacheCommand.js +3 -3
- package/dist-es/commands/GetApiAssociationCommand.js +3 -3
- package/dist-es/commands/GetApiCacheCommand.js +3 -3
- package/dist-es/commands/GetDataSourceCommand.js +3 -3
- package/dist-es/commands/GetDomainNameCommand.js +3 -3
- package/dist-es/commands/GetFunctionCommand.js +3 -3
- package/dist-es/commands/GetGraphqlApiCommand.js +3 -3
- package/dist-es/commands/GetIntrospectionSchemaCommand.js +3 -3
- package/dist-es/commands/GetResolverCommand.js +3 -3
- package/dist-es/commands/GetSchemaCreationStatusCommand.js +3 -3
- package/dist-es/commands/GetTypeCommand.js +3 -3
- package/dist-es/commands/ListApiKeysCommand.js +3 -3
- package/dist-es/commands/ListDataSourcesCommand.js +3 -3
- package/dist-es/commands/ListDomainNamesCommand.js +3 -3
- package/dist-es/commands/ListFunctionsCommand.js +3 -3
- package/dist-es/commands/ListGraphqlApisCommand.js +3 -3
- package/dist-es/commands/ListResolversByFunctionCommand.js +3 -3
- package/dist-es/commands/ListResolversCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/ListTypesCommand.js +3 -3
- package/dist-es/commands/StartSchemaCreationCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateApiCacheCommand.js +3 -3
- package/dist-es/commands/UpdateApiKeyCommand.js +3 -3
- package/dist-es/commands/UpdateDataSourceCommand.js +3 -3
- package/dist-es/commands/UpdateDomainNameCommand.js +3 -3
- package/dist-es/commands/UpdateFunctionCommand.js +3 -3
- package/dist-es/commands/UpdateGraphqlApiCommand.js +3 -3
- package/dist-es/commands/UpdateResolverCommand.js +3 -3
- package/dist-es/commands/UpdateTypeCommand.js +3 -3
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +130 -508
- package/dist-es/protocols/Aws_restJson1.js +98 -0
- package/dist-types/AppSync.d.ts +13 -0
- package/dist-types/AppSyncClient.d.ts +3 -2
- package/dist-types/commands/EvaluateMappingTemplateCommand.d.ts +41 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +551 -761
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/ts3.4/AppSync.d.ts +5 -0
- package/dist-types/ts3.4/AppSyncClient.d.ts +3 -2
- package/dist-types/ts3.4/commands/EvaluateMappingTemplateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +275 -506
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
- package/package.json +7 -7
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.deserializeAws_restJson1UpdateTypeCommand = exports.deserializeAws_restJson1UpdateResolverCommand = exports.deserializeAws_restJson1UpdateGraphqlApiCommand = exports.deserializeAws_restJson1UpdateFunctionCommand = exports.deserializeAws_restJson1UpdateDomainNameCommand = exports.deserializeAws_restJson1UpdateDataSourceCommand = exports.deserializeAws_restJson1UpdateApiKeyCommand = exports.deserializeAws_restJson1UpdateApiCacheCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1StartSchemaCreationCommand = exports.deserializeAws_restJson1ListTypesCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListResolversByFunctionCommand = exports.deserializeAws_restJson1ListResolversCommand = exports.deserializeAws_restJson1ListGraphqlApisCommand = exports.deserializeAws_restJson1ListFunctionsCommand = exports.deserializeAws_restJson1ListDomainNamesCommand = exports.deserializeAws_restJson1ListDataSourcesCommand = exports.deserializeAws_restJson1ListApiKeysCommand = exports.deserializeAws_restJson1GetTypeCommand = exports.deserializeAws_restJson1GetSchemaCreationStatusCommand = exports.deserializeAws_restJson1GetResolverCommand = exports.deserializeAws_restJson1GetIntrospectionSchemaCommand = exports.deserializeAws_restJson1GetGraphqlApiCommand = exports.deserializeAws_restJson1GetFunctionCommand = exports.deserializeAws_restJson1GetDomainNameCommand = exports.deserializeAws_restJson1GetDataSourceCommand = exports.deserializeAws_restJson1GetApiCacheCommand = exports.deserializeAws_restJson1GetApiAssociationCommand = exports.deserializeAws_restJson1FlushApiCacheCommand = exports.deserializeAws_restJson1DisassociateApiCommand = exports.deserializeAws_restJson1DeleteTypeCommand = exports.deserializeAws_restJson1DeleteResolverCommand = exports.deserializeAws_restJson1DeleteGraphqlApiCommand = exports.deserializeAws_restJson1DeleteFunctionCommand = exports.deserializeAws_restJson1DeleteDomainNameCommand = exports.deserializeAws_restJson1DeleteDataSourceCommand = exports.deserializeAws_restJson1DeleteApiKeyCommand = exports.deserializeAws_restJson1DeleteApiCacheCommand = exports.deserializeAws_restJson1CreateTypeCommand = exports.deserializeAws_restJson1CreateResolverCommand = exports.deserializeAws_restJson1CreateGraphqlApiCommand = exports.deserializeAws_restJson1CreateFunctionCommand = exports.deserializeAws_restJson1CreateDomainNameCommand = exports.deserializeAws_restJson1CreateDataSourceCommand = exports.deserializeAws_restJson1CreateApiKeyCommand = exports.deserializeAws_restJson1CreateApiCacheCommand = void 0;
|
|
3
|
+
exports.serializeAws_restJson1UpdateTypeCommand = exports.serializeAws_restJson1UpdateResolverCommand = exports.serializeAws_restJson1UpdateGraphqlApiCommand = exports.serializeAws_restJson1UpdateFunctionCommand = exports.serializeAws_restJson1UpdateDomainNameCommand = exports.serializeAws_restJson1UpdateDataSourceCommand = exports.serializeAws_restJson1UpdateApiKeyCommand = exports.serializeAws_restJson1UpdateApiCacheCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1StartSchemaCreationCommand = exports.serializeAws_restJson1ListTypesCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListResolversByFunctionCommand = exports.serializeAws_restJson1ListResolversCommand = exports.serializeAws_restJson1ListGraphqlApisCommand = exports.serializeAws_restJson1ListFunctionsCommand = exports.serializeAws_restJson1ListDomainNamesCommand = exports.serializeAws_restJson1ListDataSourcesCommand = exports.serializeAws_restJson1ListApiKeysCommand = exports.serializeAws_restJson1GetTypeCommand = exports.serializeAws_restJson1GetSchemaCreationStatusCommand = exports.serializeAws_restJson1GetResolverCommand = exports.serializeAws_restJson1GetIntrospectionSchemaCommand = exports.serializeAws_restJson1GetGraphqlApiCommand = exports.serializeAws_restJson1GetFunctionCommand = exports.serializeAws_restJson1GetDomainNameCommand = exports.serializeAws_restJson1GetDataSourceCommand = exports.serializeAws_restJson1GetApiCacheCommand = exports.serializeAws_restJson1GetApiAssociationCommand = exports.serializeAws_restJson1FlushApiCacheCommand = exports.serializeAws_restJson1EvaluateMappingTemplateCommand = exports.serializeAws_restJson1DisassociateApiCommand = exports.serializeAws_restJson1DeleteTypeCommand = exports.serializeAws_restJson1DeleteResolverCommand = exports.serializeAws_restJson1DeleteGraphqlApiCommand = exports.serializeAws_restJson1DeleteFunctionCommand = exports.serializeAws_restJson1DeleteDomainNameCommand = exports.serializeAws_restJson1DeleteDataSourceCommand = exports.serializeAws_restJson1DeleteApiKeyCommand = exports.serializeAws_restJson1DeleteApiCacheCommand = exports.serializeAws_restJson1CreateTypeCommand = exports.serializeAws_restJson1CreateResolverCommand = exports.serializeAws_restJson1CreateGraphqlApiCommand = exports.serializeAws_restJson1CreateFunctionCommand = exports.serializeAws_restJson1CreateDomainNameCommand = exports.serializeAws_restJson1CreateDataSourceCommand = exports.serializeAws_restJson1CreateApiKeyCommand = exports.serializeAws_restJson1CreateApiCacheCommand = exports.serializeAws_restJson1AssociateApiCommand = void 0;
|
|
4
|
+
exports.deserializeAws_restJson1UpdateTypeCommand = exports.deserializeAws_restJson1UpdateResolverCommand = exports.deserializeAws_restJson1UpdateGraphqlApiCommand = exports.deserializeAws_restJson1UpdateFunctionCommand = exports.deserializeAws_restJson1UpdateDomainNameCommand = exports.deserializeAws_restJson1UpdateDataSourceCommand = exports.deserializeAws_restJson1UpdateApiKeyCommand = exports.deserializeAws_restJson1UpdateApiCacheCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1StartSchemaCreationCommand = exports.deserializeAws_restJson1ListTypesCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListResolversByFunctionCommand = exports.deserializeAws_restJson1ListResolversCommand = exports.deserializeAws_restJson1ListGraphqlApisCommand = exports.deserializeAws_restJson1ListFunctionsCommand = exports.deserializeAws_restJson1ListDomainNamesCommand = exports.deserializeAws_restJson1ListDataSourcesCommand = exports.deserializeAws_restJson1ListApiKeysCommand = exports.deserializeAws_restJson1GetTypeCommand = exports.deserializeAws_restJson1GetSchemaCreationStatusCommand = exports.deserializeAws_restJson1GetResolverCommand = exports.deserializeAws_restJson1GetIntrospectionSchemaCommand = exports.deserializeAws_restJson1GetGraphqlApiCommand = exports.deserializeAws_restJson1GetFunctionCommand = exports.deserializeAws_restJson1GetDomainNameCommand = exports.deserializeAws_restJson1GetDataSourceCommand = exports.deserializeAws_restJson1GetApiCacheCommand = exports.deserializeAws_restJson1GetApiAssociationCommand = exports.deserializeAws_restJson1FlushApiCacheCommand = exports.deserializeAws_restJson1EvaluateMappingTemplateCommand = exports.deserializeAws_restJson1DisassociateApiCommand = exports.deserializeAws_restJson1DeleteTypeCommand = exports.deserializeAws_restJson1DeleteResolverCommand = exports.deserializeAws_restJson1DeleteGraphqlApiCommand = exports.deserializeAws_restJson1DeleteFunctionCommand = exports.deserializeAws_restJson1DeleteDomainNameCommand = exports.deserializeAws_restJson1DeleteDataSourceCommand = exports.deserializeAws_restJson1DeleteApiKeyCommand = exports.deserializeAws_restJson1DeleteApiCacheCommand = exports.deserializeAws_restJson1CreateTypeCommand = exports.deserializeAws_restJson1CreateResolverCommand = exports.deserializeAws_restJson1CreateGraphqlApiCommand = exports.deserializeAws_restJson1CreateFunctionCommand = exports.deserializeAws_restJson1CreateDomainNameCommand = exports.deserializeAws_restJson1CreateDataSourceCommand = exports.deserializeAws_restJson1CreateApiKeyCommand = exports.deserializeAws_restJson1CreateApiCacheCommand = exports.deserializeAws_restJson1AssociateApiCommand = void 0;
|
|
5
5
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const AppSyncServiceException_1 = require("../models/AppSyncServiceException");
|
|
@@ -637,6 +637,28 @@ const serializeAws_restJson1DisassociateApiCommand = async (input, context) => {
|
|
|
637
637
|
});
|
|
638
638
|
};
|
|
639
639
|
exports.serializeAws_restJson1DisassociateApiCommand = serializeAws_restJson1DisassociateApiCommand;
|
|
640
|
+
const serializeAws_restJson1EvaluateMappingTemplateCommand = async (input, context) => {
|
|
641
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
642
|
+
const headers = {
|
|
643
|
+
"content-type": "application/json",
|
|
644
|
+
};
|
|
645
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/dataplane-evaluatetemplate";
|
|
646
|
+
let body;
|
|
647
|
+
body = JSON.stringify({
|
|
648
|
+
...(input.context != null && { context: input.context }),
|
|
649
|
+
...(input.template != null && { template: input.template }),
|
|
650
|
+
});
|
|
651
|
+
return new protocol_http_1.HttpRequest({
|
|
652
|
+
protocol,
|
|
653
|
+
hostname,
|
|
654
|
+
port,
|
|
655
|
+
method: "POST",
|
|
656
|
+
headers,
|
|
657
|
+
path: resolvedPath,
|
|
658
|
+
body,
|
|
659
|
+
});
|
|
660
|
+
};
|
|
661
|
+
exports.serializeAws_restJson1EvaluateMappingTemplateCommand = serializeAws_restJson1EvaluateMappingTemplateCommand;
|
|
640
662
|
const serializeAws_restJson1FlushApiCacheCommand = async (input, context) => {
|
|
641
663
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
642
664
|
const headers = {};
|
|
@@ -2571,6 +2593,54 @@ const deserializeAws_restJson1DisassociateApiCommandError = async (output, conte
|
|
|
2571
2593
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2572
2594
|
}
|
|
2573
2595
|
};
|
|
2596
|
+
const deserializeAws_restJson1EvaluateMappingTemplateCommand = async (output, context) => {
|
|
2597
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2598
|
+
return deserializeAws_restJson1EvaluateMappingTemplateCommandError(output, context);
|
|
2599
|
+
}
|
|
2600
|
+
const contents = {
|
|
2601
|
+
$metadata: deserializeMetadata(output),
|
|
2602
|
+
error: undefined,
|
|
2603
|
+
evaluationResult: undefined,
|
|
2604
|
+
};
|
|
2605
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2606
|
+
if (data.error !== undefined && data.error !== null) {
|
|
2607
|
+
contents.error = deserializeAws_restJson1ErrorDetail(data.error, context);
|
|
2608
|
+
}
|
|
2609
|
+
if (data.evaluationResult !== undefined && data.evaluationResult !== null) {
|
|
2610
|
+
contents.evaluationResult = (0, smithy_client_1.expectString)(data.evaluationResult);
|
|
2611
|
+
}
|
|
2612
|
+
return Promise.resolve(contents);
|
|
2613
|
+
};
|
|
2614
|
+
exports.deserializeAws_restJson1EvaluateMappingTemplateCommand = deserializeAws_restJson1EvaluateMappingTemplateCommand;
|
|
2615
|
+
const deserializeAws_restJson1EvaluateMappingTemplateCommandError = async (output, context) => {
|
|
2616
|
+
const parsedOutput = {
|
|
2617
|
+
...output,
|
|
2618
|
+
body: await parseBody(output.body, context),
|
|
2619
|
+
};
|
|
2620
|
+
let response;
|
|
2621
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2622
|
+
switch (errorCode) {
|
|
2623
|
+
case "AccessDeniedException":
|
|
2624
|
+
case "com.amazonaws.appsync#AccessDeniedException":
|
|
2625
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
2626
|
+
case "BadRequestException":
|
|
2627
|
+
case "com.amazonaws.appsync#BadRequestException":
|
|
2628
|
+
throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
|
|
2629
|
+
case "InternalFailureException":
|
|
2630
|
+
case "com.amazonaws.appsync#InternalFailureException":
|
|
2631
|
+
throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
|
|
2632
|
+
default:
|
|
2633
|
+
const parsedBody = parsedOutput.body;
|
|
2634
|
+
const $metadata = deserializeMetadata(output);
|
|
2635
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2636
|
+
response = new AppSyncServiceException_1.AppSyncServiceException({
|
|
2637
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2638
|
+
$fault: "client",
|
|
2639
|
+
$metadata,
|
|
2640
|
+
});
|
|
2641
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2642
|
+
}
|
|
2643
|
+
};
|
|
2574
2644
|
const deserializeAws_restJson1FlushApiCacheCommand = async (output, context) => {
|
|
2575
2645
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2576
2646
|
return deserializeAws_restJson1FlushApiCacheCommandError(output, context);
|
|
@@ -4608,6 +4678,11 @@ const deserializeAws_restJson1ElasticsearchDataSourceConfig = (output, context)
|
|
|
4608
4678
|
endpoint: (0, smithy_client_1.expectString)(output.endpoint),
|
|
4609
4679
|
};
|
|
4610
4680
|
};
|
|
4681
|
+
const deserializeAws_restJson1ErrorDetail = (output, context) => {
|
|
4682
|
+
return {
|
|
4683
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4684
|
+
};
|
|
4685
|
+
};
|
|
4611
4686
|
const deserializeAws_restJson1FunctionConfiguration = (output, context) => {
|
|
4612
4687
|
return {
|
|
4613
4688
|
dataSourceName: (0, smithy_client_1.expectString)(output.dataSourceName),
|
package/dist-es/AppSync.js
CHANGED
|
@@ -18,6 +18,7 @@ import { DeleteGraphqlApiCommand, } from "./commands/DeleteGraphqlApiCommand";
|
|
|
18
18
|
import { DeleteResolverCommand, } from "./commands/DeleteResolverCommand";
|
|
19
19
|
import { DeleteTypeCommand } from "./commands/DeleteTypeCommand";
|
|
20
20
|
import { DisassociateApiCommand, } from "./commands/DisassociateApiCommand";
|
|
21
|
+
import { EvaluateMappingTemplateCommand, } from "./commands/EvaluateMappingTemplateCommand";
|
|
21
22
|
import { FlushApiCacheCommand, } from "./commands/FlushApiCacheCommand";
|
|
22
23
|
import { GetApiAssociationCommand, } from "./commands/GetApiAssociationCommand";
|
|
23
24
|
import { GetApiCacheCommand } from "./commands/GetApiCacheCommand";
|
|
@@ -306,6 +307,20 @@ var AppSync = (function (_super) {
|
|
|
306
307
|
return this.send(command, optionsOrCb);
|
|
307
308
|
}
|
|
308
309
|
};
|
|
310
|
+
AppSync.prototype.evaluateMappingTemplate = function (args, optionsOrCb, cb) {
|
|
311
|
+
var command = new EvaluateMappingTemplateCommand(args);
|
|
312
|
+
if (typeof optionsOrCb === "function") {
|
|
313
|
+
this.send(command, optionsOrCb);
|
|
314
|
+
}
|
|
315
|
+
else if (typeof cb === "function") {
|
|
316
|
+
if (typeof optionsOrCb !== "object")
|
|
317
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
318
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
319
|
+
}
|
|
320
|
+
else {
|
|
321
|
+
return this.send(command, optionsOrCb);
|
|
322
|
+
}
|
|
323
|
+
};
|
|
309
324
|
AppSync.prototype.flushApiCache = function (args, optionsOrCb, cb) {
|
|
310
325
|
var command = new FlushApiCacheCommand(args);
|
|
311
326
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { AssociateApiRequestFilterSensitiveLog, AssociateApiResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1AssociateApiCommand, serializeAws_restJson1AssociateApiCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var AssociateApiCommand = (function (_super) {
|
|
7
7
|
__extends(AssociateApiCommand, _super);
|
|
@@ -20,8 +20,8 @@ var AssociateApiCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: AssociateApiRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: AssociateApiResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { CreateApiCacheRequestFilterSensitiveLog, CreateApiCacheResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1CreateApiCacheCommand, serializeAws_restJson1CreateApiCacheCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var CreateApiCacheCommand = (function (_super) {
|
|
7
7
|
__extends(CreateApiCacheCommand, _super);
|
|
@@ -20,8 +20,8 @@ var CreateApiCacheCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: CreateApiCacheRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateApiCacheResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { CreateApiKeyRequestFilterSensitiveLog, CreateApiKeyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1CreateApiKeyCommand, serializeAws_restJson1CreateApiKeyCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var CreateApiKeyCommand = (function (_super) {
|
|
7
7
|
__extends(CreateApiKeyCommand, _super);
|
|
@@ -20,8 +20,8 @@ var CreateApiKeyCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: CreateApiKeyRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateApiKeyResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { CreateDataSourceRequestFilterSensitiveLog, CreateDataSourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1CreateDataSourceCommand, serializeAws_restJson1CreateDataSourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var CreateDataSourceCommand = (function (_super) {
|
|
7
7
|
__extends(CreateDataSourceCommand, _super);
|
|
@@ -20,8 +20,8 @@ var CreateDataSourceCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: CreateDataSourceRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateDataSourceResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { CreateDomainNameRequestFilterSensitiveLog, CreateDomainNameResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1CreateDomainNameCommand, serializeAws_restJson1CreateDomainNameCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var CreateDomainNameCommand = (function (_super) {
|
|
7
7
|
__extends(CreateDomainNameCommand, _super);
|
|
@@ -20,8 +20,8 @@ var CreateDomainNameCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: CreateDomainNameRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateDomainNameResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { CreateFunctionRequestFilterSensitiveLog, CreateFunctionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1CreateFunctionCommand, serializeAws_restJson1CreateFunctionCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var CreateFunctionCommand = (function (_super) {
|
|
7
7
|
__extends(CreateFunctionCommand, _super);
|
|
@@ -20,8 +20,8 @@ var CreateFunctionCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: CreateFunctionRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateFunctionResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { CreateGraphqlApiRequestFilterSensitiveLog, CreateGraphqlApiResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1CreateGraphqlApiCommand, serializeAws_restJson1CreateGraphqlApiCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var CreateGraphqlApiCommand = (function (_super) {
|
|
7
7
|
__extends(CreateGraphqlApiCommand, _super);
|
|
@@ -20,8 +20,8 @@ var CreateGraphqlApiCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: CreateGraphqlApiRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateGraphqlApiResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { CreateResolverRequestFilterSensitiveLog, CreateResolverResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1CreateResolverCommand, serializeAws_restJson1CreateResolverCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var CreateResolverCommand = (function (_super) {
|
|
7
7
|
__extends(CreateResolverCommand, _super);
|
|
@@ -20,8 +20,8 @@ var CreateResolverCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: CreateResolverRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateResolverResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { CreateTypeRequestFilterSensitiveLog, CreateTypeResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1CreateTypeCommand, serializeAws_restJson1CreateTypeCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var CreateTypeCommand = (function (_super) {
|
|
7
7
|
__extends(CreateTypeCommand, _super);
|
|
@@ -20,8 +20,8 @@ var CreateTypeCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: CreateTypeRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateTypeResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DeleteApiCacheRequestFilterSensitiveLog, DeleteApiCacheResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1DeleteApiCacheCommand, serializeAws_restJson1DeleteApiCacheCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var DeleteApiCacheCommand = (function (_super) {
|
|
7
7
|
__extends(DeleteApiCacheCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DeleteApiCacheCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DeleteApiCacheRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteApiCacheResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DeleteApiKeyRequestFilterSensitiveLog, DeleteApiKeyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1DeleteApiKeyCommand, serializeAws_restJson1DeleteApiKeyCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var DeleteApiKeyCommand = (function (_super) {
|
|
7
7
|
__extends(DeleteApiKeyCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DeleteApiKeyCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DeleteApiKeyRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteApiKeyResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DeleteDataSourceRequestFilterSensitiveLog, DeleteDataSourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1DeleteDataSourceCommand, serializeAws_restJson1DeleteDataSourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var DeleteDataSourceCommand = (function (_super) {
|
|
7
7
|
__extends(DeleteDataSourceCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DeleteDataSourceCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DeleteDataSourceRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteDataSourceResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DeleteDomainNameRequestFilterSensitiveLog, DeleteDomainNameResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1DeleteDomainNameCommand, serializeAws_restJson1DeleteDomainNameCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var DeleteDomainNameCommand = (function (_super) {
|
|
7
7
|
__extends(DeleteDomainNameCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DeleteDomainNameCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DeleteDomainNameRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteDomainNameResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DeleteFunctionRequestFilterSensitiveLog, DeleteFunctionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1DeleteFunctionCommand, serializeAws_restJson1DeleteFunctionCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var DeleteFunctionCommand = (function (_super) {
|
|
7
7
|
__extends(DeleteFunctionCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DeleteFunctionCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DeleteFunctionRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteFunctionResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DeleteGraphqlApiRequestFilterSensitiveLog, DeleteGraphqlApiResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1DeleteGraphqlApiCommand, serializeAws_restJson1DeleteGraphqlApiCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var DeleteGraphqlApiCommand = (function (_super) {
|
|
7
7
|
__extends(DeleteGraphqlApiCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DeleteGraphqlApiCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DeleteGraphqlApiRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteGraphqlApiResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DeleteResolverRequestFilterSensitiveLog, DeleteResolverResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1DeleteResolverCommand, serializeAws_restJson1DeleteResolverCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var DeleteResolverCommand = (function (_super) {
|
|
7
7
|
__extends(DeleteResolverCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DeleteResolverCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DeleteResolverRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteResolverResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DeleteTypeRequestFilterSensitiveLog, DeleteTypeResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1DeleteTypeCommand, serializeAws_restJson1DeleteTypeCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var DeleteTypeCommand = (function (_super) {
|
|
7
7
|
__extends(DeleteTypeCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DeleteTypeCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DeleteTypeRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteTypeResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DisassociateApiRequestFilterSensitiveLog, DisassociateApiResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1DisassociateApiCommand, serializeAws_restJson1DisassociateApiCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var DisassociateApiCommand = (function (_super) {
|
|
7
7
|
__extends(DisassociateApiCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DisassociateApiCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DisassociateApiRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DisassociateApiResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { EvaluateMappingTemplateRequestFilterSensitiveLog, EvaluateMappingTemplateResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1EvaluateMappingTemplateCommand, serializeAws_restJson1EvaluateMappingTemplateCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var EvaluateMappingTemplateCommand = (function (_super) {
|
|
7
|
+
__extends(EvaluateMappingTemplateCommand, _super);
|
|
8
|
+
function EvaluateMappingTemplateCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
EvaluateMappingTemplateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "AppSyncClient";
|
|
18
|
+
var commandName = "EvaluateMappingTemplateCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: EvaluateMappingTemplateRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: EvaluateMappingTemplateResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
EvaluateMappingTemplateCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1EvaluateMappingTemplateCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
EvaluateMappingTemplateCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1EvaluateMappingTemplateCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return EvaluateMappingTemplateCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { EvaluateMappingTemplateCommand };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { FlushApiCacheRequestFilterSensitiveLog, FlushApiCacheResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1FlushApiCacheCommand, serializeAws_restJson1FlushApiCacheCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var FlushApiCacheCommand = (function (_super) {
|
|
7
7
|
__extends(FlushApiCacheCommand, _super);
|
|
@@ -20,8 +20,8 @@ var FlushApiCacheCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: FlushApiCacheRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: FlushApiCacheResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { GetApiAssociationRequestFilterSensitiveLog, GetApiAssociationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1GetApiAssociationCommand, serializeAws_restJson1GetApiAssociationCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var GetApiAssociationCommand = (function (_super) {
|
|
7
7
|
__extends(GetApiAssociationCommand, _super);
|
|
@@ -20,8 +20,8 @@ var GetApiAssociationCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: GetApiAssociationRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetApiAssociationResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|