@aws-sdk/client-cloudfront-keyvaluestore 3.1074.0 → 3.1076.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/dist-cjs/index.js +611 -15
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
- package/package.json +9 -9
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -122
- package/dist-cjs/endpoint/bdd.js +0 -56
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/CloudFrontKeyValueStoreServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -85
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -46
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -45
- package/dist-cjs/schemas/schemas_0.js +0 -231
package/dist-cjs/index.js
CHANGED
|
@@ -1,21 +1,205 @@
|
|
|
1
|
-
|
|
2
|
-
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
1
|
+
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
3
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
-
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
5
4
|
exports.$Command = Command;
|
|
6
5
|
exports.__Client = Client;
|
|
7
|
-
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
-
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
-
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
-
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
-
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
-
const {
|
|
13
|
-
const {
|
|
14
|
-
const {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
const {
|
|
18
|
-
|
|
6
|
+
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
|
+
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveParams, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
8
|
+
const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
9
|
+
const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
10
|
+
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
|
+
const { resolveAwsSdkSigV4Config, resolveAwsSdkSigV4AConfig, AwsSdkSigV4Signer, AwsSdkSigV4ASigner, NODE_SIGV4A_CONFIG_OPTIONS, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
|
+
const { SignatureV4MultiRegion } = require("@aws-sdk/signature-v4-multi-region");
|
|
13
|
+
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
14
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
|
|
15
|
+
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
16
|
+
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
17
|
+
|
|
18
|
+
const o = "ref";
|
|
19
|
+
const a = -1, b = "isSet", c = "parsedArn", d = "stringEquals", e = "getAttr", f = "arnType", g = "partitionResult", h = { [o]: c }, i = { [o]: f }, j = { "fn": e, "argv": [h, "partition"] }, k = { "authSchemes": [{ "name": "sigv4a", "signingName": "cloudfront-keyvaluestore", "signingRegionSet": ["*"] }] }, l = [{ [o]: "KvsARN" }], m = [{ [o]: "Region" }], n = [{ [o]: "Endpoint" }];
|
|
20
|
+
const _data = {
|
|
21
|
+
conditions: [
|
|
22
|
+
["booleanEquals", [{ [o]: "UseFIPS" }, true]],
|
|
23
|
+
[b, l],
|
|
24
|
+
["aws.parseArn", l, c],
|
|
25
|
+
[d, [{ fn: e, argv: [h, "service"] }, "cloudfront"]],
|
|
26
|
+
[d, [{ fn: e, argv: [h, "region"] }, ""]],
|
|
27
|
+
[e, [h, "resourceId[0]"], f],
|
|
28
|
+
[d, [i, ""]],
|
|
29
|
+
[d, [i, "key-value-store"]],
|
|
30
|
+
[d, [j, "aws"]],
|
|
31
|
+
[b, m],
|
|
32
|
+
["aws.partition", m, g],
|
|
33
|
+
[d, [j, { fn: e, argv: [{ [o]: g }, "name"] }]],
|
|
34
|
+
[b, n],
|
|
35
|
+
["parseURL", n, "url"]
|
|
36
|
+
],
|
|
37
|
+
results: [
|
|
38
|
+
[a],
|
|
39
|
+
["{url#scheme}://{parsedArn#accountId}.{url#authority}{url#path}", k],
|
|
40
|
+
[a, "Provided endpoint is not a valid URL"],
|
|
41
|
+
["https://{parsedArn#accountId}.cloudfront-kvs.global.api.aws", k],
|
|
42
|
+
[a, "Client was configured for partition `{partitionResult#name}` but Kvs ARN has `{parsedArn#partition}`"],
|
|
43
|
+
[a, "CloudFront-KeyValueStore is not supported in partition `{parsedArn#partition}`"],
|
|
44
|
+
[a, "ARN resource type is invalid. Expected `key-value-store`, found: `{arnType}`"],
|
|
45
|
+
[a, "No resource type found in the KVS ARN. Resource type must be `key-value-store`."],
|
|
46
|
+
[a, "Provided ARN must be a global resource ARN. Found: `{parsedArn#region}`"],
|
|
47
|
+
[a, "Provided ARN is not a valid CloudFront Service ARN. Found: `{parsedArn#service}`"],
|
|
48
|
+
[a, "KVS ARN must be a valid ARN"],
|
|
49
|
+
[a, "KVS ARN must be provided to use this service"],
|
|
50
|
+
[a, "Invalid Configuration: FIPS is not supported with CloudFront-KeyValueStore."]
|
|
51
|
+
]
|
|
52
|
+
};
|
|
53
|
+
const root = 2;
|
|
54
|
+
const r = 100_000_000;
|
|
55
|
+
const nodes = new Int32Array([
|
|
56
|
+
-1, 1, -1,
|
|
57
|
+
0, r + 12, 3,
|
|
58
|
+
1, 4, r + 11,
|
|
59
|
+
2, 5, r + 10,
|
|
60
|
+
3, 6, r + 9,
|
|
61
|
+
4, 7, r + 8,
|
|
62
|
+
5, 8, r + 7,
|
|
63
|
+
6, r + 7, 9,
|
|
64
|
+
7, 10, r + 6,
|
|
65
|
+
8, 11, r + 5,
|
|
66
|
+
9, 12, 14,
|
|
67
|
+
10, 13, 14,
|
|
68
|
+
11, 14, r + 4,
|
|
69
|
+
12, 15, r + 3,
|
|
70
|
+
13, r + 1, r + 2,
|
|
71
|
+
]);
|
|
72
|
+
const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
73
|
+
|
|
74
|
+
const cache = new EndpointCache({
|
|
75
|
+
size: 50,
|
|
76
|
+
params: ["Endpoint", "KvsARN", "Region", "UseFIPS"],
|
|
77
|
+
});
|
|
78
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
79
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
80
|
+
endpointParams: endpointParams,
|
|
81
|
+
logger: context.logger,
|
|
82
|
+
}));
|
|
83
|
+
};
|
|
84
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
85
|
+
|
|
86
|
+
const createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSchemeParametersProvider) => async (config, context, input) => {
|
|
87
|
+
if (!input) {
|
|
88
|
+
throw new Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");
|
|
89
|
+
}
|
|
90
|
+
const defaultParameters = await defaultHttpAuthSchemeParametersProvider(config, context, input);
|
|
91
|
+
const instructionsFn = getSmithyContext(context)?.commandInstance?.constructor
|
|
92
|
+
?.getEndpointParameterInstructions;
|
|
93
|
+
if (!instructionsFn) {
|
|
94
|
+
throw new Error(`getEndpointParameterInstructions() is not defined on '${context.commandName}'`);
|
|
95
|
+
}
|
|
96
|
+
const endpointParameters = await resolveParams(input, { getEndpointParameterInstructions: instructionsFn }, config);
|
|
97
|
+
return Object.assign(defaultParameters, endpointParameters);
|
|
98
|
+
};
|
|
99
|
+
const _defaultCloudFrontKeyValueStoreHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
100
|
+
return {
|
|
101
|
+
operation: getSmithyContext(context).operation,
|
|
102
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
103
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
104
|
+
})(),
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
const defaultCloudFrontKeyValueStoreHttpAuthSchemeParametersProvider = createEndpointRuleSetHttpAuthSchemeParametersProvider(_defaultCloudFrontKeyValueStoreHttpAuthSchemeParametersProvider);
|
|
108
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
109
|
+
return {
|
|
110
|
+
schemeId: "aws.auth#sigv4",
|
|
111
|
+
signingProperties: {
|
|
112
|
+
name: "cloudfront-keyvaluestore",
|
|
113
|
+
region: authParameters.region,
|
|
114
|
+
},
|
|
115
|
+
propertiesExtractor: (config, context) => ({
|
|
116
|
+
signingProperties: {
|
|
117
|
+
config,
|
|
118
|
+
context,
|
|
119
|
+
},
|
|
120
|
+
}),
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
function createAwsAuthSigv4aHttpAuthOption(authParameters) {
|
|
124
|
+
return {
|
|
125
|
+
schemeId: "aws.auth#sigv4a",
|
|
126
|
+
signingProperties: {
|
|
127
|
+
name: "cloudfront-keyvaluestore",
|
|
128
|
+
region: authParameters.region,
|
|
129
|
+
},
|
|
130
|
+
propertiesExtractor: (config, context) => ({
|
|
131
|
+
signingProperties: {
|
|
132
|
+
config,
|
|
133
|
+
context,
|
|
134
|
+
},
|
|
135
|
+
}),
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
const createEndpointRuleSetHttpAuthSchemeProvider = (defaultEndpointResolver, defaultHttpAuthSchemeResolver, createHttpAuthOptionFunctions) => {
|
|
139
|
+
const endpointRuleSetHttpAuthSchemeProvider = (authParameters) => {
|
|
140
|
+
const endpoint = defaultEndpointResolver(authParameters);
|
|
141
|
+
const authSchemes = endpoint.properties?.authSchemes;
|
|
142
|
+
if (!authSchemes) {
|
|
143
|
+
return defaultHttpAuthSchemeResolver(authParameters);
|
|
144
|
+
}
|
|
145
|
+
const options = [];
|
|
146
|
+
for (const scheme of authSchemes) {
|
|
147
|
+
const { name: resolvedName, properties = {}, ...rest } = scheme;
|
|
148
|
+
const name = resolvedName.toLowerCase();
|
|
149
|
+
if (resolvedName !== name) {
|
|
150
|
+
console.warn(`HttpAuthScheme has been normalized with lowercasing: '${resolvedName}' to '${name}'`);
|
|
151
|
+
}
|
|
152
|
+
let schemeId;
|
|
153
|
+
if (name === "sigv4a") {
|
|
154
|
+
schemeId = "aws.auth#sigv4a";
|
|
155
|
+
const sigv4Present = authSchemes.find((s) => {
|
|
156
|
+
const name = s.name.toLowerCase();
|
|
157
|
+
return name !== "sigv4a" && name.startsWith("sigv4");
|
|
158
|
+
});
|
|
159
|
+
if (SignatureV4MultiRegion.sigv4aDependency() === "none" && sigv4Present) {
|
|
160
|
+
continue;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
else if (name.startsWith("sigv4")) {
|
|
164
|
+
schemeId = "aws.auth#sigv4";
|
|
165
|
+
}
|
|
166
|
+
else {
|
|
167
|
+
throw new Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${name}'`);
|
|
168
|
+
}
|
|
169
|
+
const createOption = createHttpAuthOptionFunctions[schemeId];
|
|
170
|
+
if (!createOption) {
|
|
171
|
+
throw new Error(`Could not find HttpAuthOption create function for '${schemeId}'`);
|
|
172
|
+
}
|
|
173
|
+
const option = createOption(authParameters);
|
|
174
|
+
option.schemeId = schemeId;
|
|
175
|
+
option.signingProperties = { ...(option.signingProperties || {}), ...rest, ...properties };
|
|
176
|
+
options.push(option);
|
|
177
|
+
}
|
|
178
|
+
return options;
|
|
179
|
+
};
|
|
180
|
+
return endpointRuleSetHttpAuthSchemeProvider;
|
|
181
|
+
};
|
|
182
|
+
const _defaultCloudFrontKeyValueStoreHttpAuthSchemeProvider = (authParameters) => {
|
|
183
|
+
const options = [];
|
|
184
|
+
switch (authParameters.operation) {
|
|
185
|
+
default: {
|
|
186
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
187
|
+
options.push(createAwsAuthSigv4aHttpAuthOption(authParameters));
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
return options;
|
|
191
|
+
};
|
|
192
|
+
const defaultCloudFrontKeyValueStoreHttpAuthSchemeProvider = createEndpointRuleSetHttpAuthSchemeProvider(defaultEndpointResolver, _defaultCloudFrontKeyValueStoreHttpAuthSchemeProvider, {
|
|
193
|
+
"aws.auth#sigv4": createAwsAuthSigv4HttpAuthOption,
|
|
194
|
+
"aws.auth#sigv4a": createAwsAuthSigv4aHttpAuthOption,
|
|
195
|
+
});
|
|
196
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
197
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
198
|
+
const config_1 = resolveAwsSdkSigV4AConfig(config_0);
|
|
199
|
+
return Object.assign(config_1, {
|
|
200
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
201
|
+
});
|
|
202
|
+
};
|
|
19
203
|
|
|
20
204
|
const resolveClientEndpointParameters = (options) => {
|
|
21
205
|
return Object.assign(options, {
|
|
@@ -29,6 +213,382 @@ const commonParams = {
|
|
|
29
213
|
Region: { type: "builtInParams", name: "region" },
|
|
30
214
|
};
|
|
31
215
|
|
|
216
|
+
var version = "3.1075.0";
|
|
217
|
+
var packageInfo = {
|
|
218
|
+
version: version};
|
|
219
|
+
|
|
220
|
+
class CloudFrontKeyValueStoreServiceException extends ServiceException {
|
|
221
|
+
constructor(options) {
|
|
222
|
+
super(options);
|
|
223
|
+
Object.setPrototypeOf(this, CloudFrontKeyValueStoreServiceException.prototype);
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
class AccessDeniedException extends CloudFrontKeyValueStoreServiceException {
|
|
228
|
+
name = "AccessDeniedException";
|
|
229
|
+
$fault = "client";
|
|
230
|
+
Message;
|
|
231
|
+
constructor(opts) {
|
|
232
|
+
super({
|
|
233
|
+
name: "AccessDeniedException",
|
|
234
|
+
$fault: "client",
|
|
235
|
+
...opts,
|
|
236
|
+
});
|
|
237
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
238
|
+
this.Message = opts.Message;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
class ConflictException extends CloudFrontKeyValueStoreServiceException {
|
|
242
|
+
name = "ConflictException";
|
|
243
|
+
$fault = "client";
|
|
244
|
+
Message;
|
|
245
|
+
constructor(opts) {
|
|
246
|
+
super({
|
|
247
|
+
name: "ConflictException",
|
|
248
|
+
$fault: "client",
|
|
249
|
+
...opts,
|
|
250
|
+
});
|
|
251
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
252
|
+
this.Message = opts.Message;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
class InternalServerException extends CloudFrontKeyValueStoreServiceException {
|
|
256
|
+
name = "InternalServerException";
|
|
257
|
+
$fault = "server";
|
|
258
|
+
Message;
|
|
259
|
+
constructor(opts) {
|
|
260
|
+
super({
|
|
261
|
+
name: "InternalServerException",
|
|
262
|
+
$fault: "server",
|
|
263
|
+
...opts,
|
|
264
|
+
});
|
|
265
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
266
|
+
this.Message = opts.Message;
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
class ResourceNotFoundException extends CloudFrontKeyValueStoreServiceException {
|
|
270
|
+
name = "ResourceNotFoundException";
|
|
271
|
+
$fault = "client";
|
|
272
|
+
Message;
|
|
273
|
+
constructor(opts) {
|
|
274
|
+
super({
|
|
275
|
+
name: "ResourceNotFoundException",
|
|
276
|
+
$fault: "client",
|
|
277
|
+
...opts,
|
|
278
|
+
});
|
|
279
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
280
|
+
this.Message = opts.Message;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
class ServiceQuotaExceededException extends CloudFrontKeyValueStoreServiceException {
|
|
284
|
+
name = "ServiceQuotaExceededException";
|
|
285
|
+
$fault = "client";
|
|
286
|
+
Message;
|
|
287
|
+
constructor(opts) {
|
|
288
|
+
super({
|
|
289
|
+
name: "ServiceQuotaExceededException",
|
|
290
|
+
$fault: "client",
|
|
291
|
+
...opts,
|
|
292
|
+
});
|
|
293
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
294
|
+
this.Message = opts.Message;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
class ValidationException extends CloudFrontKeyValueStoreServiceException {
|
|
298
|
+
name = "ValidationException";
|
|
299
|
+
$fault = "client";
|
|
300
|
+
Message;
|
|
301
|
+
constructor(opts) {
|
|
302
|
+
super({
|
|
303
|
+
name: "ValidationException",
|
|
304
|
+
$fault: "client",
|
|
305
|
+
...opts,
|
|
306
|
+
});
|
|
307
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
308
|
+
this.Message = opts.Message;
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
const _ADE = "AccessDeniedException";
|
|
313
|
+
const _C = "Created";
|
|
314
|
+
const _CE = "ConflictException";
|
|
315
|
+
const _D = "Deletes";
|
|
316
|
+
const _DK = "DeleteKey";
|
|
317
|
+
const _DKR = "DeleteKeyRequest";
|
|
318
|
+
const _DKRL = "DeleteKeyRequestsList";
|
|
319
|
+
const _DKRLI = "DeleteKeyRequestListItem";
|
|
320
|
+
const _DKRe = "DeleteKeyResponse";
|
|
321
|
+
const _DKVS = "DescribeKeyValueStore";
|
|
322
|
+
const _DKVSR = "DescribeKeyValueStoreRequest";
|
|
323
|
+
const _DKVSRe = "DescribeKeyValueStoreResponse";
|
|
324
|
+
const _ET = "ETag";
|
|
325
|
+
const _FR = "FailureReason";
|
|
326
|
+
const _GK = "GetKey";
|
|
327
|
+
const _GKR = "GetKeyRequest";
|
|
328
|
+
const _GKRe = "GetKeyResponse";
|
|
329
|
+
const _I = "Items";
|
|
330
|
+
const _IC = "ItemCount";
|
|
331
|
+
const _IM = "IfMatch";
|
|
332
|
+
const _IM_ = "If-Match";
|
|
333
|
+
const _ISE = "InternalServerException";
|
|
334
|
+
const _K = "Key";
|
|
335
|
+
const _KARN = "KvsARN";
|
|
336
|
+
const _LK = "ListKeys";
|
|
337
|
+
const _LKR = "ListKeysRequest";
|
|
338
|
+
const _LKRL = "ListKeysResponseList";
|
|
339
|
+
const _LKRLI = "ListKeysResponseListItem";
|
|
340
|
+
const _LKRi = "ListKeysResponse";
|
|
341
|
+
const _LM = "LastModified";
|
|
342
|
+
const _M = "Message";
|
|
343
|
+
const _MR = "MaxResults";
|
|
344
|
+
const _NT = "NextToken";
|
|
345
|
+
const _P = "Puts";
|
|
346
|
+
const _PK = "PutKey";
|
|
347
|
+
const _PKR = "PutKeyRequest";
|
|
348
|
+
const _PKRL = "PutKeyRequestsList";
|
|
349
|
+
const _PKRLI = "PutKeyRequestListItem";
|
|
350
|
+
const _PKRu = "PutKeyResponse";
|
|
351
|
+
const _RNFE = "ResourceNotFoundException";
|
|
352
|
+
const _S = "Status";
|
|
353
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
354
|
+
const _TSIB = "TotalSizeInBytes";
|
|
355
|
+
const _UK = "UpdateKeys";
|
|
356
|
+
const _UKR = "UpdateKeysRequest";
|
|
357
|
+
const _UKRp = "UpdateKeysResponse";
|
|
358
|
+
const _V = "Value";
|
|
359
|
+
const _VE = "ValidationException";
|
|
360
|
+
const _c = "client";
|
|
361
|
+
const _e = "error";
|
|
362
|
+
const _h = "http";
|
|
363
|
+
const _hE = "httpError";
|
|
364
|
+
const _hH = "httpHeader";
|
|
365
|
+
const _hQ = "httpQuery";
|
|
366
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.cloudfrontkeyvaluestore";
|
|
367
|
+
const _se = "server";
|
|
368
|
+
const n0 = "com.amazonaws.cloudfrontkeyvaluestore";
|
|
369
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
370
|
+
var CloudFrontKeyValueStoreServiceException$ = [-3, _s, "CloudFrontKeyValueStoreServiceException", 0, [], []];
|
|
371
|
+
_s_registry.registerError(CloudFrontKeyValueStoreServiceException$, CloudFrontKeyValueStoreServiceException);
|
|
372
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
373
|
+
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
374
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
375
|
+
[_M],
|
|
376
|
+
[0]
|
|
377
|
+
];
|
|
378
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
379
|
+
var ConflictException$ = [-3, n0, _CE,
|
|
380
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
381
|
+
[_M],
|
|
382
|
+
[0]
|
|
383
|
+
];
|
|
384
|
+
n0_registry.registerError(ConflictException$, ConflictException);
|
|
385
|
+
var InternalServerException$ = [-3, n0, _ISE,
|
|
386
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
387
|
+
[_M],
|
|
388
|
+
[0]
|
|
389
|
+
];
|
|
390
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
391
|
+
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
392
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
393
|
+
[_M],
|
|
394
|
+
[0]
|
|
395
|
+
];
|
|
396
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
397
|
+
var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
398
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
399
|
+
[_M],
|
|
400
|
+
[0]
|
|
401
|
+
];
|
|
402
|
+
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
403
|
+
var ValidationException$ = [-3, n0, _VE,
|
|
404
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
405
|
+
[_M],
|
|
406
|
+
[0]
|
|
407
|
+
];
|
|
408
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
409
|
+
const errorTypeRegistries = [
|
|
410
|
+
_s_registry,
|
|
411
|
+
n0_registry,
|
|
412
|
+
];
|
|
413
|
+
var Value = [0, n0, _V, 8, 0];
|
|
414
|
+
var DeleteKeyRequest$ = [3, n0, _DKR,
|
|
415
|
+
0,
|
|
416
|
+
[_KARN, _K, _IM],
|
|
417
|
+
[[0, 1], [0, 1], [0, { [_hH]: _IM_ }]], 3
|
|
418
|
+
];
|
|
419
|
+
var DeleteKeyRequestListItem$ = [3, n0, _DKRLI,
|
|
420
|
+
0,
|
|
421
|
+
[_K],
|
|
422
|
+
[0], 1
|
|
423
|
+
];
|
|
424
|
+
var DeleteKeyResponse$ = [3, n0, _DKRe,
|
|
425
|
+
0,
|
|
426
|
+
[_IC, _TSIB, _ET],
|
|
427
|
+
[1, 1, [0, { [_hH]: _ET }]], 3
|
|
428
|
+
];
|
|
429
|
+
var DescribeKeyValueStoreRequest$ = [3, n0, _DKVSR,
|
|
430
|
+
0,
|
|
431
|
+
[_KARN],
|
|
432
|
+
[[0, 1]], 1
|
|
433
|
+
];
|
|
434
|
+
var DescribeKeyValueStoreResponse$ = [3, n0, _DKVSRe,
|
|
435
|
+
0,
|
|
436
|
+
[_IC, _TSIB, _KARN, _C, _ET, _LM, _S, _FR],
|
|
437
|
+
[1, 1, 0, 4, [0, { [_hH]: _ET }], 4, 0, 0], 5
|
|
438
|
+
];
|
|
439
|
+
var GetKeyRequest$ = [3, n0, _GKR,
|
|
440
|
+
0,
|
|
441
|
+
[_KARN, _K],
|
|
442
|
+
[[0, 1], [0, 1]], 2
|
|
443
|
+
];
|
|
444
|
+
var GetKeyResponse$ = [3, n0, _GKRe,
|
|
445
|
+
0,
|
|
446
|
+
[_K, _V, _IC, _TSIB],
|
|
447
|
+
[0, [() => Value, 0], 1, 1], 4
|
|
448
|
+
];
|
|
449
|
+
var ListKeysRequest$ = [3, n0, _LKR,
|
|
450
|
+
0,
|
|
451
|
+
[_KARN, _NT, _MR],
|
|
452
|
+
[[0, 1], [0, { [_hQ]: _NT }], [1, { [_hQ]: _MR }]], 1
|
|
453
|
+
];
|
|
454
|
+
var ListKeysResponse$ = [3, n0, _LKRi,
|
|
455
|
+
0,
|
|
456
|
+
[_NT, _I],
|
|
457
|
+
[0, [() => ListKeysResponseList, 0]]
|
|
458
|
+
];
|
|
459
|
+
var ListKeysResponseListItem$ = [3, n0, _LKRLI,
|
|
460
|
+
0,
|
|
461
|
+
[_K, _V],
|
|
462
|
+
[0, [() => Value, 0]], 2
|
|
463
|
+
];
|
|
464
|
+
var PutKeyRequest$ = [3, n0, _PKR,
|
|
465
|
+
0,
|
|
466
|
+
[_K, _V, _KARN, _IM],
|
|
467
|
+
[[0, 1], [() => Value, 0], [0, 1], [0, { [_hH]: _IM_ }]], 4
|
|
468
|
+
];
|
|
469
|
+
var PutKeyRequestListItem$ = [3, n0, _PKRLI,
|
|
470
|
+
0,
|
|
471
|
+
[_K, _V],
|
|
472
|
+
[0, [() => Value, 0]], 2
|
|
473
|
+
];
|
|
474
|
+
var PutKeyResponse$ = [3, n0, _PKRu,
|
|
475
|
+
0,
|
|
476
|
+
[_IC, _TSIB, _ET],
|
|
477
|
+
[1, 1, [0, { [_hH]: _ET }]], 3
|
|
478
|
+
];
|
|
479
|
+
var UpdateKeysRequest$ = [3, n0, _UKR,
|
|
480
|
+
0,
|
|
481
|
+
[_KARN, _IM, _P, _D],
|
|
482
|
+
[[0, 1], [0, { [_hH]: _IM_ }], [() => PutKeyRequestsList, 0], () => DeleteKeyRequestsList], 2
|
|
483
|
+
];
|
|
484
|
+
var UpdateKeysResponse$ = [3, n0, _UKRp,
|
|
485
|
+
0,
|
|
486
|
+
[_IC, _TSIB, _ET],
|
|
487
|
+
[1, 1, [0, { [_hH]: _ET }]], 3
|
|
488
|
+
];
|
|
489
|
+
var DeleteKeyRequestsList = [1, n0, _DKRL,
|
|
490
|
+
0, () => DeleteKeyRequestListItem$
|
|
491
|
+
];
|
|
492
|
+
var ListKeysResponseList = [1, n0, _LKRL,
|
|
493
|
+
0, [() => ListKeysResponseListItem$,
|
|
494
|
+
0]
|
|
495
|
+
];
|
|
496
|
+
var PutKeyRequestsList = [1, n0, _PKRL,
|
|
497
|
+
0, [() => PutKeyRequestListItem$,
|
|
498
|
+
0]
|
|
499
|
+
];
|
|
500
|
+
var DeleteKey$ = [9, n0, _DK,
|
|
501
|
+
{ [_h]: ["DELETE", "/key-value-stores/{KvsARN}/keys/{Key}", 200] }, () => DeleteKeyRequest$, () => DeleteKeyResponse$
|
|
502
|
+
];
|
|
503
|
+
var DescribeKeyValueStore$ = [9, n0, _DKVS,
|
|
504
|
+
{ [_h]: ["GET", "/key-value-stores/{KvsARN}", 200] }, () => DescribeKeyValueStoreRequest$, () => DescribeKeyValueStoreResponse$
|
|
505
|
+
];
|
|
506
|
+
var GetKey$ = [9, n0, _GK,
|
|
507
|
+
{ [_h]: ["GET", "/key-value-stores/{KvsARN}/keys/{Key}", 200] }, () => GetKeyRequest$, () => GetKeyResponse$
|
|
508
|
+
];
|
|
509
|
+
var ListKeys$ = [9, n0, _LK,
|
|
510
|
+
{ [_h]: ["GET", "/key-value-stores/{KvsARN}/keys", 200] }, () => ListKeysRequest$, () => ListKeysResponse$
|
|
511
|
+
];
|
|
512
|
+
var PutKey$ = [9, n0, _PK,
|
|
513
|
+
{ [_h]: ["PUT", "/key-value-stores/{KvsARN}/keys/{Key}", 200] }, () => PutKeyRequest$, () => PutKeyResponse$
|
|
514
|
+
];
|
|
515
|
+
var UpdateKeys$ = [9, n0, _UK,
|
|
516
|
+
{ [_h]: ["POST", "/key-value-stores/{KvsARN}/keys", 200] }, () => UpdateKeysRequest$, () => UpdateKeysResponse$
|
|
517
|
+
];
|
|
518
|
+
|
|
519
|
+
const getRuntimeConfig$1 = (config) => {
|
|
520
|
+
return {
|
|
521
|
+
apiVersion: "2022-07-26",
|
|
522
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
523
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
524
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
525
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
526
|
+
extensions: config?.extensions ?? [],
|
|
527
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultCloudFrontKeyValueStoreHttpAuthSchemeProvider,
|
|
528
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
529
|
+
{
|
|
530
|
+
schemeId: "aws.auth#sigv4",
|
|
531
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
532
|
+
signer: new AwsSdkSigV4Signer(),
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
schemeId: "aws.auth#sigv4a",
|
|
536
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4a"),
|
|
537
|
+
signer: new AwsSdkSigV4ASigner(),
|
|
538
|
+
},
|
|
539
|
+
],
|
|
540
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
541
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
542
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
543
|
+
defaultNamespace: "com.amazonaws.cloudfrontkeyvaluestore",
|
|
544
|
+
errorTypeRegistries,
|
|
545
|
+
version: "2022-07-26",
|
|
546
|
+
serviceTarget: "CloudFrontKeyValueStore",
|
|
547
|
+
},
|
|
548
|
+
serviceId: config?.serviceId ?? "CloudFront KeyValueStore",
|
|
549
|
+
signerConstructor: config?.signerConstructor ?? SignatureV4MultiRegion,
|
|
550
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
551
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
552
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
553
|
+
};
|
|
554
|
+
};
|
|
555
|
+
|
|
556
|
+
const getRuntimeConfig = (config) => {
|
|
557
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
558
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
559
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
560
|
+
const clientSharedValues = getRuntimeConfig$1(config);
|
|
561
|
+
emitWarningIfUnsupportedVersion$1(process.version);
|
|
562
|
+
const loaderConfig = {
|
|
563
|
+
profile: config?.profile,
|
|
564
|
+
logger: clientSharedValues.logger,
|
|
565
|
+
};
|
|
566
|
+
return {
|
|
567
|
+
...clientSharedValues,
|
|
568
|
+
...config,
|
|
569
|
+
runtime: "node",
|
|
570
|
+
defaultsMode,
|
|
571
|
+
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
572
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
573
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
574
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
575
|
+
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
576
|
+
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
577
|
+
requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
578
|
+
retryMode: config?.retryMode ??
|
|
579
|
+
loadConfig({
|
|
580
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
581
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
582
|
+
}, config),
|
|
583
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
584
|
+
sigv4aSigningRegionSet: config?.sigv4aSigningRegionSet ?? loadConfig(NODE_SIGV4A_CONFIG_OPTIONS, loaderConfig),
|
|
585
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
586
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
587
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
588
|
+
userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
589
|
+
};
|
|
590
|
+
};
|
|
591
|
+
|
|
32
592
|
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
33
593
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
34
594
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -217,12 +777,48 @@ class CloudFrontKeyValueStore extends CloudFrontKeyValueStoreClient {
|
|
|
217
777
|
}
|
|
218
778
|
createAggregatedClient(commands, CloudFrontKeyValueStore, { paginators });
|
|
219
779
|
|
|
780
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
781
|
+
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
220
782
|
exports.CloudFrontKeyValueStore = CloudFrontKeyValueStore;
|
|
221
783
|
exports.CloudFrontKeyValueStoreClient = CloudFrontKeyValueStoreClient;
|
|
784
|
+
exports.CloudFrontKeyValueStoreServiceException = CloudFrontKeyValueStoreServiceException;
|
|
785
|
+
exports.CloudFrontKeyValueStoreServiceException$ = CloudFrontKeyValueStoreServiceException$;
|
|
786
|
+
exports.ConflictException = ConflictException;
|
|
787
|
+
exports.ConflictException$ = ConflictException$;
|
|
788
|
+
exports.DeleteKey$ = DeleteKey$;
|
|
222
789
|
exports.DeleteKeyCommand = DeleteKeyCommand;
|
|
790
|
+
exports.DeleteKeyRequest$ = DeleteKeyRequest$;
|
|
791
|
+
exports.DeleteKeyRequestListItem$ = DeleteKeyRequestListItem$;
|
|
792
|
+
exports.DeleteKeyResponse$ = DeleteKeyResponse$;
|
|
793
|
+
exports.DescribeKeyValueStore$ = DescribeKeyValueStore$;
|
|
223
794
|
exports.DescribeKeyValueStoreCommand = DescribeKeyValueStoreCommand;
|
|
795
|
+
exports.DescribeKeyValueStoreRequest$ = DescribeKeyValueStoreRequest$;
|
|
796
|
+
exports.DescribeKeyValueStoreResponse$ = DescribeKeyValueStoreResponse$;
|
|
797
|
+
exports.GetKey$ = GetKey$;
|
|
224
798
|
exports.GetKeyCommand = GetKeyCommand;
|
|
799
|
+
exports.GetKeyRequest$ = GetKeyRequest$;
|
|
800
|
+
exports.GetKeyResponse$ = GetKeyResponse$;
|
|
801
|
+
exports.InternalServerException = InternalServerException;
|
|
802
|
+
exports.InternalServerException$ = InternalServerException$;
|
|
803
|
+
exports.ListKeys$ = ListKeys$;
|
|
225
804
|
exports.ListKeysCommand = ListKeysCommand;
|
|
805
|
+
exports.ListKeysRequest$ = ListKeysRequest$;
|
|
806
|
+
exports.ListKeysResponse$ = ListKeysResponse$;
|
|
807
|
+
exports.ListKeysResponseListItem$ = ListKeysResponseListItem$;
|
|
808
|
+
exports.PutKey$ = PutKey$;
|
|
226
809
|
exports.PutKeyCommand = PutKeyCommand;
|
|
810
|
+
exports.PutKeyRequest$ = PutKeyRequest$;
|
|
811
|
+
exports.PutKeyRequestListItem$ = PutKeyRequestListItem$;
|
|
812
|
+
exports.PutKeyResponse$ = PutKeyResponse$;
|
|
813
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
814
|
+
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
815
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
816
|
+
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
817
|
+
exports.UpdateKeys$ = UpdateKeys$;
|
|
227
818
|
exports.UpdateKeysCommand = UpdateKeysCommand;
|
|
819
|
+
exports.UpdateKeysRequest$ = UpdateKeysRequest$;
|
|
820
|
+
exports.UpdateKeysResponse$ = UpdateKeysResponse$;
|
|
821
|
+
exports.ValidationException = ValidationException;
|
|
822
|
+
exports.ValidationException$ = ValidationException$;
|
|
823
|
+
exports.errorTypeRegistries = errorTypeRegistries;
|
|
228
824
|
exports.paginateListKeys = paginateListKeys;
|
|
@@ -14,7 +14,7 @@ export declare const getRuntimeConfig: (config: CloudFrontKeyValueStoreClientCon
|
|
|
14
14
|
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
15
15
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
16
|
sha256: import("@smithy/types").HashConstructor;
|
|
17
|
-
streamCollector: import("
|
|
17
|
+
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
18
18
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
19
19
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
20
20
|
cacheMiddleware?: boolean | undefined;
|
|
@@ -16,7 +16,7 @@ export declare const getRuntimeConfig: (config: CloudFrontKeyValueStoreClientCon
|
|
|
16
16
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
17
17
|
sha256: import("@smithy/types").HashConstructor;
|
|
18
18
|
sigv4aSigningRegionSet: string[] | import("@smithy/types").Provider<string[] | undefined>;
|
|
19
|
-
streamCollector: import("
|
|
19
|
+
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
20
20
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
22
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -15,7 +15,7 @@ export declare const getRuntimeConfig: (config: CloudFrontKeyValueStoreClientCon
|
|
|
15
15
|
apiVersion: string;
|
|
16
16
|
urlParser: import("@smithy/types").UrlParser;
|
|
17
17
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
18
|
-
streamCollector: import("
|
|
18
|
+
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
19
19
|
base64Decoder: import("@smithy/types").Decoder;
|
|
20
20
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
21
21
|
utf8Decoder: import("@smithy/types").Decoder;
|