@aws-sdk/client-appsync 3.45.0 → 3.46.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 +18 -0
- package/dist-cjs/protocols/Aws_restJson1.js +6 -0
- package/dist-cjs/runtimeConfig.js +0 -2
- package/dist-es/protocols/Aws_restJson1.js +10 -8
- package/dist-es/runtimeConfig.js +0 -2
- package/dist-types/models/models_0.d.ts +24 -0
- package/dist-types/ts3.4/models/models_0.d.ts +12 -0
- package/package.json +36 -43
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,24 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
|
|
17
|
+
* **clients:** update clients as of 2021/01/07 ([#3163](https://github.com/aws/aws-sdk-js-v3/issues/3163)) ([6648b07](https://github.com/aws/aws-sdk-js-v3/commit/6648b07ea97691d2fed55eab49831646543b648b))
|
|
18
|
+
* end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
6
24
|
# [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
|
|
7
25
|
|
|
8
26
|
|
|
@@ -211,6 +211,7 @@ const serializeAws_restJson1CreateFunctionCommand = async (input, context) => {
|
|
|
211
211
|
...(input.description !== undefined && input.description !== null && { description: input.description }),
|
|
212
212
|
...(input.functionVersion !== undefined &&
|
|
213
213
|
input.functionVersion !== null && { functionVersion: input.functionVersion }),
|
|
214
|
+
...(input.maxBatchSize !== undefined && input.maxBatchSize !== null && { maxBatchSize: input.maxBatchSize }),
|
|
214
215
|
...(input.name !== undefined && input.name !== null && { name: input.name }),
|
|
215
216
|
...(input.requestMappingTemplate !== undefined &&
|
|
216
217
|
input.requestMappingTemplate !== null && { requestMappingTemplate: input.requestMappingTemplate }),
|
|
@@ -310,6 +311,7 @@ const serializeAws_restJson1CreateResolverCommand = async (input, context) => {
|
|
|
310
311
|
input.dataSourceName !== null && { dataSourceName: input.dataSourceName }),
|
|
311
312
|
...(input.fieldName !== undefined && input.fieldName !== null && { fieldName: input.fieldName }),
|
|
312
313
|
...(input.kind !== undefined && input.kind !== null && { kind: input.kind }),
|
|
314
|
+
...(input.maxBatchSize !== undefined && input.maxBatchSize !== null && { maxBatchSize: input.maxBatchSize }),
|
|
313
315
|
...(input.pipelineConfig !== undefined &&
|
|
314
316
|
input.pipelineConfig !== null && {
|
|
315
317
|
pipelineConfig: serializeAws_restJson1PipelineConfig(input.pipelineConfig, context),
|
|
@@ -1583,6 +1585,7 @@ const serializeAws_restJson1UpdateFunctionCommand = async (input, context) => {
|
|
|
1583
1585
|
...(input.description !== undefined && input.description !== null && { description: input.description }),
|
|
1584
1586
|
...(input.functionVersion !== undefined &&
|
|
1585
1587
|
input.functionVersion !== null && { functionVersion: input.functionVersion }),
|
|
1588
|
+
...(input.maxBatchSize !== undefined && input.maxBatchSize !== null && { maxBatchSize: input.maxBatchSize }),
|
|
1586
1589
|
...(input.name !== undefined && input.name !== null && { name: input.name }),
|
|
1587
1590
|
...(input.requestMappingTemplate !== undefined &&
|
|
1588
1591
|
input.requestMappingTemplate !== null && { requestMappingTemplate: input.requestMappingTemplate }),
|
|
@@ -1700,6 +1703,7 @@ const serializeAws_restJson1UpdateResolverCommand = async (input, context) => {
|
|
|
1700
1703
|
...(input.dataSourceName !== undefined &&
|
|
1701
1704
|
input.dataSourceName !== null && { dataSourceName: input.dataSourceName }),
|
|
1702
1705
|
...(input.kind !== undefined && input.kind !== null && { kind: input.kind }),
|
|
1706
|
+
...(input.maxBatchSize !== undefined && input.maxBatchSize !== null && { maxBatchSize: input.maxBatchSize }),
|
|
1703
1707
|
...(input.pipelineConfig !== undefined &&
|
|
1704
1708
|
input.pipelineConfig !== null && {
|
|
1705
1709
|
pipelineConfig: serializeAws_restJson1PipelineConfig(input.pipelineConfig, context),
|
|
@@ -6079,6 +6083,7 @@ const deserializeAws_restJson1FunctionConfiguration = (output, context) => {
|
|
|
6079
6083
|
functionArn: smithy_client_1.expectString(output.functionArn),
|
|
6080
6084
|
functionId: smithy_client_1.expectString(output.functionId),
|
|
6081
6085
|
functionVersion: smithy_client_1.expectString(output.functionVersion),
|
|
6086
|
+
maxBatchSize: smithy_client_1.expectInt32(output.maxBatchSize),
|
|
6082
6087
|
name: smithy_client_1.expectString(output.name),
|
|
6083
6088
|
requestMappingTemplate: smithy_client_1.expectString(output.requestMappingTemplate),
|
|
6084
6089
|
responseMappingTemplate: smithy_client_1.expectString(output.responseMappingTemplate),
|
|
@@ -6237,6 +6242,7 @@ const deserializeAws_restJson1Resolver = (output, context) => {
|
|
|
6237
6242
|
dataSourceName: smithy_client_1.expectString(output.dataSourceName),
|
|
6238
6243
|
fieldName: smithy_client_1.expectString(output.fieldName),
|
|
6239
6244
|
kind: smithy_client_1.expectString(output.kind),
|
|
6245
|
+
maxBatchSize: smithy_client_1.expectInt32(output.maxBatchSize),
|
|
6240
6246
|
pipelineConfig: output.pipelineConfig !== undefined && output.pipelineConfig !== null
|
|
6241
6247
|
? deserializeAws_restJson1PipelineConfig(output.pipelineConfig, context)
|
|
6242
6248
|
: undefined,
|
|
@@ -15,10 +15,8 @@ const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
|
15
15
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
|
-
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
18
|
const getRuntimeConfig = (config) => {
|
|
20
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
|
-
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
22
20
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
21
|
return {
|
|
24
22
|
...clientSharedValues,
|
|
@@ -205,9 +205,9 @@ export var serializeAws_restJson1CreateFunctionCommand = function (input, contex
|
|
|
205
205
|
else {
|
|
206
206
|
throw new Error("No value provided for input HTTP label: apiId.");
|
|
207
207
|
}
|
|
208
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.dataSourceName !== undefined &&
|
|
208
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.dataSourceName !== undefined &&
|
|
209
209
|
input.dataSourceName !== null && { dataSourceName: input.dataSourceName })), (input.description !== undefined && input.description !== null && { description: input.description })), (input.functionVersion !== undefined &&
|
|
210
|
-
input.functionVersion !== null && { functionVersion: input.functionVersion })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.requestMappingTemplate !== undefined &&
|
|
210
|
+
input.functionVersion !== null && { functionVersion: input.functionVersion })), (input.maxBatchSize !== undefined && input.maxBatchSize !== null && { maxBatchSize: input.maxBatchSize })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.requestMappingTemplate !== undefined &&
|
|
211
211
|
input.requestMappingTemplate !== null && { requestMappingTemplate: input.requestMappingTemplate })), (input.responseMappingTemplate !== undefined &&
|
|
212
212
|
input.responseMappingTemplate !== null && { responseMappingTemplate: input.responseMappingTemplate })), (input.syncConfig !== undefined &&
|
|
213
213
|
input.syncConfig !== null && { syncConfig: serializeAws_restJson1SyncConfig(input.syncConfig, context) })));
|
|
@@ -293,11 +293,11 @@ export var serializeAws_restJson1CreateResolverCommand = function (input, contex
|
|
|
293
293
|
else {
|
|
294
294
|
throw new Error("No value provided for input HTTP label: typeName.");
|
|
295
295
|
}
|
|
296
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.cachingConfig !== undefined &&
|
|
296
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.cachingConfig !== undefined &&
|
|
297
297
|
input.cachingConfig !== null && {
|
|
298
298
|
cachingConfig: serializeAws_restJson1CachingConfig(input.cachingConfig, context),
|
|
299
299
|
})), (input.dataSourceName !== undefined &&
|
|
300
|
-
input.dataSourceName !== null && { dataSourceName: input.dataSourceName })), (input.fieldName !== undefined && input.fieldName !== null && { fieldName: input.fieldName })), (input.kind !== undefined && input.kind !== null && { kind: input.kind })), (input.pipelineConfig !== undefined &&
|
|
300
|
+
input.dataSourceName !== null && { dataSourceName: input.dataSourceName })), (input.fieldName !== undefined && input.fieldName !== null && { fieldName: input.fieldName })), (input.kind !== undefined && input.kind !== null && { kind: input.kind })), (input.maxBatchSize !== undefined && input.maxBatchSize !== null && { maxBatchSize: input.maxBatchSize })), (input.pipelineConfig !== undefined &&
|
|
301
301
|
input.pipelineConfig !== null && {
|
|
302
302
|
pipelineConfig: serializeAws_restJson1PipelineConfig(input.pipelineConfig, context),
|
|
303
303
|
})), (input.requestMappingTemplate !== undefined &&
|
|
@@ -1692,9 +1692,9 @@ export var serializeAws_restJson1UpdateFunctionCommand = function (input, contex
|
|
|
1692
1692
|
else {
|
|
1693
1693
|
throw new Error("No value provided for input HTTP label: functionId.");
|
|
1694
1694
|
}
|
|
1695
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.dataSourceName !== undefined &&
|
|
1695
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.dataSourceName !== undefined &&
|
|
1696
1696
|
input.dataSourceName !== null && { dataSourceName: input.dataSourceName })), (input.description !== undefined && input.description !== null && { description: input.description })), (input.functionVersion !== undefined &&
|
|
1697
|
-
input.functionVersion !== null && { functionVersion: input.functionVersion })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.requestMappingTemplate !== undefined &&
|
|
1697
|
+
input.functionVersion !== null && { functionVersion: input.functionVersion })), (input.maxBatchSize !== undefined && input.maxBatchSize !== null && { maxBatchSize: input.maxBatchSize })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.requestMappingTemplate !== undefined &&
|
|
1698
1698
|
input.requestMappingTemplate !== null && { requestMappingTemplate: input.requestMappingTemplate })), (input.responseMappingTemplate !== undefined &&
|
|
1699
1699
|
input.responseMappingTemplate !== null && { responseMappingTemplate: input.responseMappingTemplate })), (input.syncConfig !== undefined &&
|
|
1700
1700
|
input.syncConfig !== null && { syncConfig: serializeAws_restJson1SyncConfig(input.syncConfig, context) })));
|
|
@@ -1800,11 +1800,11 @@ export var serializeAws_restJson1UpdateResolverCommand = function (input, contex
|
|
|
1800
1800
|
else {
|
|
1801
1801
|
throw new Error("No value provided for input HTTP label: fieldName.");
|
|
1802
1802
|
}
|
|
1803
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.cachingConfig !== undefined &&
|
|
1803
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.cachingConfig !== undefined &&
|
|
1804
1804
|
input.cachingConfig !== null && {
|
|
1805
1805
|
cachingConfig: serializeAws_restJson1CachingConfig(input.cachingConfig, context),
|
|
1806
1806
|
})), (input.dataSourceName !== undefined &&
|
|
1807
|
-
input.dataSourceName !== null && { dataSourceName: input.dataSourceName })), (input.kind !== undefined && input.kind !== null && { kind: input.kind })), (input.pipelineConfig !== undefined &&
|
|
1807
|
+
input.dataSourceName !== null && { dataSourceName: input.dataSourceName })), (input.kind !== undefined && input.kind !== null && { kind: input.kind })), (input.maxBatchSize !== undefined && input.maxBatchSize !== null && { maxBatchSize: input.maxBatchSize })), (input.pipelineConfig !== undefined &&
|
|
1808
1808
|
input.pipelineConfig !== null && {
|
|
1809
1809
|
pipelineConfig: serializeAws_restJson1PipelineConfig(input.pipelineConfig, context),
|
|
1810
1810
|
})), (input.requestMappingTemplate !== undefined &&
|
|
@@ -6800,6 +6800,7 @@ var deserializeAws_restJson1FunctionConfiguration = function (output, context) {
|
|
|
6800
6800
|
functionArn: __expectString(output.functionArn),
|
|
6801
6801
|
functionId: __expectString(output.functionId),
|
|
6802
6802
|
functionVersion: __expectString(output.functionVersion),
|
|
6803
|
+
maxBatchSize: __expectInt32(output.maxBatchSize),
|
|
6803
6804
|
name: __expectString(output.name),
|
|
6804
6805
|
requestMappingTemplate: __expectString(output.requestMappingTemplate),
|
|
6805
6806
|
responseMappingTemplate: __expectString(output.responseMappingTemplate),
|
|
@@ -6957,6 +6958,7 @@ var deserializeAws_restJson1Resolver = function (output, context) {
|
|
|
6957
6958
|
dataSourceName: __expectString(output.dataSourceName),
|
|
6958
6959
|
fieldName: __expectString(output.fieldName),
|
|
6959
6960
|
kind: __expectString(output.kind),
|
|
6961
|
+
maxBatchSize: __expectInt32(output.maxBatchSize),
|
|
6960
6962
|
pipelineConfig: output.pipelineConfig !== undefined && output.pipelineConfig !== null
|
|
6961
6963
|
? deserializeAws_restJson1PipelineConfig(output.pipelineConfig, context)
|
|
6962
6964
|
: undefined,
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -12,10 +12,8 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
-
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
16
15
|
export var getRuntimeConfig = function (config) {
|
|
17
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
|
-
emitWarningIfUnsupportedVersion(process.version);
|
|
19
17
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
18
|
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
21
19
|
};
|
|
@@ -1395,6 +1395,10 @@ export interface CreateFunctionRequest {
|
|
|
1395
1395
|
* resolver is invoked.</p>
|
|
1396
1396
|
*/
|
|
1397
1397
|
syncConfig?: SyncConfig;
|
|
1398
|
+
/**
|
|
1399
|
+
* <p>The maximum batching size for a resolver.</p>
|
|
1400
|
+
*/
|
|
1401
|
+
maxBatchSize?: number;
|
|
1398
1402
|
}
|
|
1399
1403
|
export declare namespace CreateFunctionRequest {
|
|
1400
1404
|
/**
|
|
@@ -1447,6 +1451,10 @@ export interface FunctionConfiguration {
|
|
|
1447
1451
|
* resolver is invoked.</p>
|
|
1448
1452
|
*/
|
|
1449
1453
|
syncConfig?: SyncConfig;
|
|
1454
|
+
/**
|
|
1455
|
+
* <p>The maximum batching size for a resolver.</p>
|
|
1456
|
+
*/
|
|
1457
|
+
maxBatchSize?: number;
|
|
1450
1458
|
}
|
|
1451
1459
|
export declare namespace FunctionConfiguration {
|
|
1452
1460
|
/**
|
|
@@ -1801,6 +1809,10 @@ export interface CreateResolverRequest {
|
|
|
1801
1809
|
* <p>The caching configuration for the resolver.</p>
|
|
1802
1810
|
*/
|
|
1803
1811
|
cachingConfig?: CachingConfig;
|
|
1812
|
+
/**
|
|
1813
|
+
* <p>The maximum batching size for a resolver.</p>
|
|
1814
|
+
*/
|
|
1815
|
+
maxBatchSize?: number;
|
|
1804
1816
|
}
|
|
1805
1817
|
export declare namespace CreateResolverRequest {
|
|
1806
1818
|
/**
|
|
@@ -1867,6 +1879,10 @@ export interface Resolver {
|
|
|
1867
1879
|
* <p>The caching configuration for the resolver.</p>
|
|
1868
1880
|
*/
|
|
1869
1881
|
cachingConfig?: CachingConfig;
|
|
1882
|
+
/**
|
|
1883
|
+
* <p>The maximum batching size for a resolver.</p>
|
|
1884
|
+
*/
|
|
1885
|
+
maxBatchSize?: number;
|
|
1870
1886
|
}
|
|
1871
1887
|
export declare namespace Resolver {
|
|
1872
1888
|
/**
|
|
@@ -3213,6 +3229,10 @@ export interface UpdateFunctionRequest {
|
|
|
3213
3229
|
* resolver is invoked.</p>
|
|
3214
3230
|
*/
|
|
3215
3231
|
syncConfig?: SyncConfig;
|
|
3232
|
+
/**
|
|
3233
|
+
* <p>The maximum batching size for a resolver.</p>
|
|
3234
|
+
*/
|
|
3235
|
+
maxBatchSize?: number;
|
|
3216
3236
|
}
|
|
3217
3237
|
export declare namespace UpdateFunctionRequest {
|
|
3218
3238
|
/**
|
|
@@ -3353,6 +3373,10 @@ export interface UpdateResolverRequest {
|
|
|
3353
3373
|
* <p>The caching configuration for the resolver.</p>
|
|
3354
3374
|
*/
|
|
3355
3375
|
cachingConfig?: CachingConfig;
|
|
3376
|
+
/**
|
|
3377
|
+
* <p>The maximum batching size for a resolver.</p>
|
|
3378
|
+
*/
|
|
3379
|
+
maxBatchSize?: number;
|
|
3356
3380
|
}
|
|
3357
3381
|
export declare namespace UpdateResolverRequest {
|
|
3358
3382
|
/**
|
|
@@ -598,6 +598,8 @@ export interface CreateFunctionRequest {
|
|
|
598
598
|
functionVersion: string | undefined;
|
|
599
599
|
|
|
600
600
|
syncConfig?: SyncConfig;
|
|
601
|
+
|
|
602
|
+
maxBatchSize?: number;
|
|
601
603
|
}
|
|
602
604
|
export declare namespace CreateFunctionRequest {
|
|
603
605
|
|
|
@@ -623,6 +625,8 @@ export interface FunctionConfiguration {
|
|
|
623
625
|
functionVersion?: string;
|
|
624
626
|
|
|
625
627
|
syncConfig?: SyncConfig;
|
|
628
|
+
|
|
629
|
+
maxBatchSize?: number;
|
|
626
630
|
}
|
|
627
631
|
export declare namespace FunctionConfiguration {
|
|
628
632
|
|
|
@@ -789,6 +793,8 @@ export interface CreateResolverRequest {
|
|
|
789
793
|
syncConfig?: SyncConfig;
|
|
790
794
|
|
|
791
795
|
cachingConfig?: CachingConfig;
|
|
796
|
+
|
|
797
|
+
maxBatchSize?: number;
|
|
792
798
|
}
|
|
793
799
|
export declare namespace CreateResolverRequest {
|
|
794
800
|
|
|
@@ -816,6 +822,8 @@ export interface Resolver {
|
|
|
816
822
|
syncConfig?: SyncConfig;
|
|
817
823
|
|
|
818
824
|
cachingConfig?: CachingConfig;
|
|
825
|
+
|
|
826
|
+
maxBatchSize?: number;
|
|
819
827
|
}
|
|
820
828
|
export declare namespace Resolver {
|
|
821
829
|
|
|
@@ -1595,6 +1603,8 @@ export interface UpdateFunctionRequest {
|
|
|
1595
1603
|
functionVersion: string | undefined;
|
|
1596
1604
|
|
|
1597
1605
|
syncConfig?: SyncConfig;
|
|
1606
|
+
|
|
1607
|
+
maxBatchSize?: number;
|
|
1598
1608
|
}
|
|
1599
1609
|
export declare namespace UpdateFunctionRequest {
|
|
1600
1610
|
|
|
@@ -1661,6 +1671,8 @@ export interface UpdateResolverRequest {
|
|
|
1661
1671
|
syncConfig?: SyncConfig;
|
|
1662
1672
|
|
|
1663
1673
|
cachingConfig?: CachingConfig;
|
|
1674
|
+
|
|
1675
|
+
maxBatchSize?: number;
|
|
1664
1676
|
}
|
|
1665
1677
|
export declare namespace UpdateResolverRequest {
|
|
1666
1678
|
|
package/package.json
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-appsync",
|
|
3
3
|
"description": "AWS SDK for JavaScript Appsync Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.46.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
8
|
-
"build:docs": "
|
|
8
|
+
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
11
12
|
"clean": "yarn clean:dist && yarn clean:docs",
|
|
12
|
-
"clean:dist": "rimraf ./dist",
|
|
13
|
-
"clean:docs": "rimraf ./docs"
|
|
14
|
-
"downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
|
|
15
|
-
"test": "exit 0"
|
|
13
|
+
"clean:dist": "rimraf ./dist-*",
|
|
14
|
+
"clean:docs": "rimraf ./docs"
|
|
16
15
|
},
|
|
17
16
|
"main": "./dist-cjs/index.js",
|
|
18
17
|
"types": "./dist-types/index.d.ts",
|
|
@@ -21,48 +20,42 @@
|
|
|
21
20
|
"dependencies": {
|
|
22
21
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
22
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
45
|
-
"@aws-sdk/util-base64-node": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
51
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.46.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.46.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.46.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.46.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.46.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.46.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.46.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.46.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.46.0",
|
|
32
|
+
"@aws-sdk/middleware-retry": "3.46.0",
|
|
33
|
+
"@aws-sdk/middleware-serde": "3.46.0",
|
|
34
|
+
"@aws-sdk/middleware-signing": "3.46.0",
|
|
35
|
+
"@aws-sdk/middleware-stack": "3.46.0",
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "3.46.0",
|
|
37
|
+
"@aws-sdk/node-config-provider": "3.46.0",
|
|
38
|
+
"@aws-sdk/node-http-handler": "3.46.0",
|
|
39
|
+
"@aws-sdk/protocol-http": "3.46.0",
|
|
40
|
+
"@aws-sdk/smithy-client": "3.46.0",
|
|
41
|
+
"@aws-sdk/types": "3.46.0",
|
|
42
|
+
"@aws-sdk/url-parser": "3.46.0",
|
|
43
|
+
"@aws-sdk/util-base64-browser": "3.46.0",
|
|
44
|
+
"@aws-sdk/util-base64-node": "3.46.0",
|
|
45
|
+
"@aws-sdk/util-body-length-browser": "3.46.0",
|
|
46
|
+
"@aws-sdk/util-body-length-node": "3.46.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.46.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.46.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.46.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.46.0",
|
|
52
51
|
"tslib": "^2.3.0"
|
|
53
52
|
},
|
|
54
53
|
"devDependencies": {
|
|
55
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
56
|
-
"@types/node": "^12.7.5"
|
|
57
|
-
"downlevel-dts": "0.7.0",
|
|
58
|
-
"jest": "^26.1.0",
|
|
59
|
-
"rimraf": "^3.0.0",
|
|
60
|
-
"ts-jest": "^26.4.1",
|
|
61
|
-
"typedoc": "^0.19.2",
|
|
62
|
-
"typescript": "~4.3.5"
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.46.0",
|
|
55
|
+
"@types/node": "^12.7.5"
|
|
63
56
|
},
|
|
64
57
|
"engines": {
|
|
65
|
-
"node": ">=
|
|
58
|
+
"node": ">=12.0.0"
|
|
66
59
|
},
|
|
67
60
|
"typesVersions": {
|
|
68
61
|
"<4.0": {
|