@aws-sdk/client-freetier 3.1075.0 → 3.1077.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 +501 -15
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -46
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/FreeTierServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -61
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -38
- package/dist-cjs/schemas/schemas_0.js +0 -246
package/dist-cjs/index.js
CHANGED
|
@@ -1,21 +1,58 @@
|
|
|
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, 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, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
|
+
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
|
+
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
|
+
const { AwsJson1_0Protocol } = require("@aws-sdk/core/protocols");
|
|
16
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
17
|
+
|
|
18
|
+
const defaultFreeTierHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
19
|
+
return {
|
|
20
|
+
operation: getSmithyContext(context).operation,
|
|
21
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
22
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
23
|
+
})(),
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
27
|
+
return {
|
|
28
|
+
schemeId: "aws.auth#sigv4",
|
|
29
|
+
signingProperties: {
|
|
30
|
+
name: "freetier",
|
|
31
|
+
region: authParameters.region,
|
|
32
|
+
},
|
|
33
|
+
propertiesExtractor: (config, context) => ({
|
|
34
|
+
signingProperties: {
|
|
35
|
+
config,
|
|
36
|
+
context,
|
|
37
|
+
},
|
|
38
|
+
}),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
const defaultFreeTierHttpAuthSchemeProvider = (authParameters) => {
|
|
42
|
+
const options = [];
|
|
43
|
+
switch (authParameters.operation) {
|
|
44
|
+
default: {
|
|
45
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
return options;
|
|
49
|
+
};
|
|
50
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
51
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
52
|
+
return Object.assign(config_0, {
|
|
53
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
54
|
+
});
|
|
55
|
+
};
|
|
19
56
|
|
|
20
57
|
const resolveClientEndpointParameters = (options) => {
|
|
21
58
|
return Object.assign(options, {
|
|
@@ -29,6 +66,421 @@ const commonParams = {
|
|
|
29
66
|
Region: { type: "builtInParams", name: "region" },
|
|
30
67
|
};
|
|
31
68
|
|
|
69
|
+
var version = "3.1076.0";
|
|
70
|
+
var packageInfo = {
|
|
71
|
+
version: version};
|
|
72
|
+
|
|
73
|
+
const n = "ref";
|
|
74
|
+
const a = true, b = "isSet", c = "PartitionResult", d = "booleanEquals", e = "getAttr", f = "stringEquals", g = "sigv4", h = "freetier", i = { [n]: "Endpoint" }, j = { [n]: c }, k = { [n]: "Region" }, l = {}, m = [k];
|
|
75
|
+
const _data = {
|
|
76
|
+
conditions: [
|
|
77
|
+
[b, [i]],
|
|
78
|
+
[b, m],
|
|
79
|
+
["aws.partition", m, c],
|
|
80
|
+
[d, [{ [n]: "UseFIPS" }, a]],
|
|
81
|
+
[d, [{ fn: e, argv: [j, "supportsFIPS"] }, a]],
|
|
82
|
+
[f, [{ fn: e, argv: [j, "name"] }, "aws"]],
|
|
83
|
+
[f, [k, "aws-cn-global"]],
|
|
84
|
+
[d, [{ fn: e, argv: [j, "supportsDualStack"] }, a]]
|
|
85
|
+
],
|
|
86
|
+
results: [
|
|
87
|
+
[-1],
|
|
88
|
+
[-1, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
89
|
+
[i, l],
|
|
90
|
+
["https://freetier-fips.{Region}.api.aws", l],
|
|
91
|
+
[-1, "FIPS is enabled but this partition does not support FIPS"],
|
|
92
|
+
["https://freetier.us-east-1.api.aws", { authSchemes: [{ name: g, signingName: h, signingRegion: "us-east-1" }] }],
|
|
93
|
+
["https://freetier-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", l],
|
|
94
|
+
["https://freetier.cn-northwest-1.api.amazonwebservices.com.cn", { authSchemes: [{ name: g, signingName: h, signingRegion: "cn-northwest-1" }] }],
|
|
95
|
+
["https://freetier.{Region}.{PartitionResult#dualStackDnsSuffix}", l],
|
|
96
|
+
["https://freetier-fips.{Region}.{PartitionResult#dnsSuffix}", l],
|
|
97
|
+
["https://freetier.{Region}.{PartitionResult#dnsSuffix}", l],
|
|
98
|
+
[-1, "Invalid Configuration: Missing Region"]
|
|
99
|
+
]
|
|
100
|
+
};
|
|
101
|
+
const root = 2;
|
|
102
|
+
const r = 100_000_000;
|
|
103
|
+
const nodes = new Int32Array([
|
|
104
|
+
-1, 1, -1,
|
|
105
|
+
0, 12, 3,
|
|
106
|
+
1, 4, r + 11,
|
|
107
|
+
2, 5, r + 11,
|
|
108
|
+
3, 9, 6,
|
|
109
|
+
5, r + 5, 7,
|
|
110
|
+
6, r + 7, 8,
|
|
111
|
+
7, r + 8, r + 10,
|
|
112
|
+
4, 10, r + 4,
|
|
113
|
+
5, r + 3, 11,
|
|
114
|
+
7, r + 6, r + 9,
|
|
115
|
+
3, r + 1, r + 2,
|
|
116
|
+
]);
|
|
117
|
+
const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
118
|
+
|
|
119
|
+
const cache = new EndpointCache({
|
|
120
|
+
size: 50,
|
|
121
|
+
params: ["Endpoint", "Region", "UseFIPS"],
|
|
122
|
+
});
|
|
123
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
124
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
125
|
+
endpointParams: endpointParams,
|
|
126
|
+
logger: context.logger,
|
|
127
|
+
}));
|
|
128
|
+
};
|
|
129
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
130
|
+
|
|
131
|
+
class FreeTierServiceException extends ServiceException {
|
|
132
|
+
constructor(options) {
|
|
133
|
+
super(options);
|
|
134
|
+
Object.setPrototypeOf(this, FreeTierServiceException.prototype);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
class AccessDeniedException extends FreeTierServiceException {
|
|
139
|
+
name = "AccessDeniedException";
|
|
140
|
+
$fault = "client";
|
|
141
|
+
constructor(opts) {
|
|
142
|
+
super({
|
|
143
|
+
name: "AccessDeniedException",
|
|
144
|
+
$fault: "client",
|
|
145
|
+
...opts,
|
|
146
|
+
});
|
|
147
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
class InternalServerException extends FreeTierServiceException {
|
|
151
|
+
name = "InternalServerException";
|
|
152
|
+
$fault = "server";
|
|
153
|
+
constructor(opts) {
|
|
154
|
+
super({
|
|
155
|
+
name: "InternalServerException",
|
|
156
|
+
$fault: "server",
|
|
157
|
+
...opts,
|
|
158
|
+
});
|
|
159
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
class ResourceNotFoundException extends FreeTierServiceException {
|
|
163
|
+
name = "ResourceNotFoundException";
|
|
164
|
+
$fault = "client";
|
|
165
|
+
constructor(opts) {
|
|
166
|
+
super({
|
|
167
|
+
name: "ResourceNotFoundException",
|
|
168
|
+
$fault: "client",
|
|
169
|
+
...opts,
|
|
170
|
+
});
|
|
171
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
class ThrottlingException extends FreeTierServiceException {
|
|
175
|
+
name = "ThrottlingException";
|
|
176
|
+
$fault = "client";
|
|
177
|
+
constructor(opts) {
|
|
178
|
+
super({
|
|
179
|
+
name: "ThrottlingException",
|
|
180
|
+
$fault: "client",
|
|
181
|
+
...opts,
|
|
182
|
+
});
|
|
183
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
class ValidationException extends FreeTierServiceException {
|
|
187
|
+
name = "ValidationException";
|
|
188
|
+
$fault = "client";
|
|
189
|
+
constructor(opts) {
|
|
190
|
+
super({
|
|
191
|
+
name: "ValidationException",
|
|
192
|
+
$fault: "client",
|
|
193
|
+
...opts,
|
|
194
|
+
});
|
|
195
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
const _A = "And";
|
|
200
|
+
const _ADE = "AccessDeniedException";
|
|
201
|
+
const _AR = "ActivityReward";
|
|
202
|
+
const _AS = "ActivitySummary";
|
|
203
|
+
const _Ac = "Activities";
|
|
204
|
+
const _D = "Dimensions";
|
|
205
|
+
const _DV = "DimensionValues";
|
|
206
|
+
const _E = "Expression";
|
|
207
|
+
const _Ex = "Expressions";
|
|
208
|
+
const _FTU = "FreeTierUsage";
|
|
209
|
+
const _FTUr = "FreeTierUsages";
|
|
210
|
+
const _GAA = "GetAccountActivity";
|
|
211
|
+
const _GAAR = "GetAccountActivityRequest";
|
|
212
|
+
const _GAARe = "GetAccountActivityResponse";
|
|
213
|
+
const _GAPS = "GetAccountPlanState";
|
|
214
|
+
const _GAPSR = "GetAccountPlanStateRequest";
|
|
215
|
+
const _GAPSRe = "GetAccountPlanStateResponse";
|
|
216
|
+
const _GFTU = "GetFreeTierUsage";
|
|
217
|
+
const _GFTUR = "GetFreeTierUsageRequest";
|
|
218
|
+
const _GFTURe = "GetFreeTierUsageResponse";
|
|
219
|
+
const _ISE = "InternalServerException";
|
|
220
|
+
const _K = "Key";
|
|
221
|
+
const _LAA = "ListAccountActivities";
|
|
222
|
+
const _LAAR = "ListAccountActivitiesRequest";
|
|
223
|
+
const _LAARi = "ListAccountActivitiesResponse";
|
|
224
|
+
const _MA = "MonetaryAmount";
|
|
225
|
+
const _MO = "MatchOptions";
|
|
226
|
+
const _N = "Not";
|
|
227
|
+
const _O = "Or";
|
|
228
|
+
const _RNFE = "ResourceNotFoundException";
|
|
229
|
+
const _TE = "ThrottlingException";
|
|
230
|
+
const _UAP = "UpgradeAccountPlan";
|
|
231
|
+
const _UAPR = "UpgradeAccountPlanRequest";
|
|
232
|
+
const _UAPRp = "UpgradeAccountPlanResponse";
|
|
233
|
+
const _V = "Values";
|
|
234
|
+
const _VE = "ValidationException";
|
|
235
|
+
const _a = "activities";
|
|
236
|
+
const _aI = "activityId";
|
|
237
|
+
const _aIc = "accountId";
|
|
238
|
+
const _aPED = "accountPlanExpirationDate";
|
|
239
|
+
const _aPRC = "accountPlanRemainingCredits";
|
|
240
|
+
const _aPS = "accountPlanStatus";
|
|
241
|
+
const _aPT = "accountPlanType";
|
|
242
|
+
const _aUA = "actualUsageAmount";
|
|
243
|
+
const _am = "amount";
|
|
244
|
+
const _c = "client";
|
|
245
|
+
const _cA = "completedAt";
|
|
246
|
+
const _cr = "credit";
|
|
247
|
+
const _d = "description";
|
|
248
|
+
const _e = "error";
|
|
249
|
+
const _eA = "expiresAt";
|
|
250
|
+
const _eTTCIM = "estimatedTimeToCompleteInMinutes";
|
|
251
|
+
const _f = "filter";
|
|
252
|
+
const _fAS = "filterActivityStatuses";
|
|
253
|
+
const _fTT = "freeTierType";
|
|
254
|
+
const _fTU = "freeTierUsages";
|
|
255
|
+
const _fUA = "forecastedUsageAmount";
|
|
256
|
+
const _hE = "httpError";
|
|
257
|
+
const _iU = "instructionsUrl";
|
|
258
|
+
const _l = "limit";
|
|
259
|
+
const _lC = "languageCode";
|
|
260
|
+
const _m = "message";
|
|
261
|
+
const _mR = "maxResults";
|
|
262
|
+
const _nT = "nextToken";
|
|
263
|
+
const _o = "operation";
|
|
264
|
+
const _r = "reward";
|
|
265
|
+
const _re = "region";
|
|
266
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.freetier";
|
|
267
|
+
const _sA = "startedAt";
|
|
268
|
+
const _se = "server";
|
|
269
|
+
const _ser = "service";
|
|
270
|
+
const _st = "status";
|
|
271
|
+
const _t = "title";
|
|
272
|
+
const _u = "unit";
|
|
273
|
+
const _uT = "usageType";
|
|
274
|
+
const n0 = "com.amazonaws.freetier";
|
|
275
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
276
|
+
var FreeTierServiceException$ = [-3, _s, "FreeTierServiceException", 0, [], []];
|
|
277
|
+
_s_registry.registerError(FreeTierServiceException$, FreeTierServiceException);
|
|
278
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
279
|
+
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
280
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
281
|
+
[_m],
|
|
282
|
+
[0], 1
|
|
283
|
+
];
|
|
284
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
285
|
+
var InternalServerException$ = [-3, n0, _ISE,
|
|
286
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
287
|
+
[_m],
|
|
288
|
+
[0], 1
|
|
289
|
+
];
|
|
290
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
291
|
+
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
292
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
293
|
+
[_m],
|
|
294
|
+
[0], 1
|
|
295
|
+
];
|
|
296
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
297
|
+
var ThrottlingException$ = [-3, n0, _TE,
|
|
298
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
299
|
+
[_m],
|
|
300
|
+
[0], 1
|
|
301
|
+
];
|
|
302
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
303
|
+
var ValidationException$ = [-3, n0, _VE,
|
|
304
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
305
|
+
[_m],
|
|
306
|
+
[0], 1
|
|
307
|
+
];
|
|
308
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
309
|
+
const errorTypeRegistries = [
|
|
310
|
+
_s_registry,
|
|
311
|
+
n0_registry,
|
|
312
|
+
];
|
|
313
|
+
var ActivitySummary$ = [3, n0, _AS,
|
|
314
|
+
0,
|
|
315
|
+
[_aI, _t, _r, _st],
|
|
316
|
+
[0, 0, () => ActivityReward$, 0], 4
|
|
317
|
+
];
|
|
318
|
+
var DimensionValues$ = [3, n0, _DV,
|
|
319
|
+
0,
|
|
320
|
+
[_K, _V, _MO],
|
|
321
|
+
[0, 64 | 0, 64 | 0], 3
|
|
322
|
+
];
|
|
323
|
+
var Expression$ = [3, n0, _E,
|
|
324
|
+
0,
|
|
325
|
+
[_O, _A, _N, _D],
|
|
326
|
+
[() => Expressions, () => Expressions, () => Expression$, () => DimensionValues$]
|
|
327
|
+
];
|
|
328
|
+
var FreeTierUsage$ = [3, n0, _FTU,
|
|
329
|
+
0,
|
|
330
|
+
[_ser, _o, _uT, _re, _aUA, _fUA, _l, _u, _d, _fTT],
|
|
331
|
+
[0, 0, 0, 0, 1, 1, 1, 0, 0, 0]
|
|
332
|
+
];
|
|
333
|
+
var GetAccountActivityRequest$ = [3, n0, _GAAR,
|
|
334
|
+
0,
|
|
335
|
+
[_aI, _lC],
|
|
336
|
+
[0, 0], 1
|
|
337
|
+
];
|
|
338
|
+
var GetAccountActivityResponse$ = [3, n0, _GAARe,
|
|
339
|
+
0,
|
|
340
|
+
[_aI, _t, _d, _st, _iU, _r, _eTTCIM, _eA, _sA, _cA],
|
|
341
|
+
[0, 0, 0, 0, 0, () => ActivityReward$, 1, 5, 5, 5], 6
|
|
342
|
+
];
|
|
343
|
+
var GetAccountPlanStateRequest$ = [3, n0, _GAPSR,
|
|
344
|
+
0,
|
|
345
|
+
[],
|
|
346
|
+
[]
|
|
347
|
+
];
|
|
348
|
+
var GetAccountPlanStateResponse$ = [3, n0, _GAPSRe,
|
|
349
|
+
0,
|
|
350
|
+
[_aIc, _aPT, _aPS, _aPRC, _aPED],
|
|
351
|
+
[0, 0, 0, () => MonetaryAmount$, 5], 3
|
|
352
|
+
];
|
|
353
|
+
var GetFreeTierUsageRequest$ = [3, n0, _GFTUR,
|
|
354
|
+
0,
|
|
355
|
+
[_f, _mR, _nT],
|
|
356
|
+
[() => Expression$, 1, 0]
|
|
357
|
+
];
|
|
358
|
+
var GetFreeTierUsageResponse$ = [3, n0, _GFTURe,
|
|
359
|
+
0,
|
|
360
|
+
[_fTU, _nT],
|
|
361
|
+
[() => FreeTierUsages, 0], 1
|
|
362
|
+
];
|
|
363
|
+
var ListAccountActivitiesRequest$ = [3, n0, _LAAR,
|
|
364
|
+
0,
|
|
365
|
+
[_fAS, _nT, _mR, _lC],
|
|
366
|
+
[64 | 0, 0, 1, 0]
|
|
367
|
+
];
|
|
368
|
+
var ListAccountActivitiesResponse$ = [3, n0, _LAARi,
|
|
369
|
+
0,
|
|
370
|
+
[_a, _nT],
|
|
371
|
+
[() => Activities, 0], 1
|
|
372
|
+
];
|
|
373
|
+
var MonetaryAmount$ = [3, n0, _MA,
|
|
374
|
+
0,
|
|
375
|
+
[_am, _u],
|
|
376
|
+
[1, 0], 2
|
|
377
|
+
];
|
|
378
|
+
var UpgradeAccountPlanRequest$ = [3, n0, _UAPR,
|
|
379
|
+
0,
|
|
380
|
+
[_aPT],
|
|
381
|
+
[0], 1
|
|
382
|
+
];
|
|
383
|
+
var UpgradeAccountPlanResponse$ = [3, n0, _UAPRp,
|
|
384
|
+
0,
|
|
385
|
+
[_aIc, _aPT, _aPS],
|
|
386
|
+
[0, 0, 0], 3
|
|
387
|
+
];
|
|
388
|
+
var Activities = [1, n0, _Ac,
|
|
389
|
+
0, () => ActivitySummary$
|
|
390
|
+
];
|
|
391
|
+
var Expressions = [1, n0, _Ex,
|
|
392
|
+
0, () => Expression$
|
|
393
|
+
];
|
|
394
|
+
var FreeTierUsages = [1, n0, _FTUr,
|
|
395
|
+
0, () => FreeTierUsage$
|
|
396
|
+
];
|
|
397
|
+
var ActivityReward$ = [4, n0, _AR,
|
|
398
|
+
0,
|
|
399
|
+
[_cr],
|
|
400
|
+
[() => MonetaryAmount$]
|
|
401
|
+
];
|
|
402
|
+
var GetAccountActivity$ = [9, n0, _GAA,
|
|
403
|
+
0, () => GetAccountActivityRequest$, () => GetAccountActivityResponse$
|
|
404
|
+
];
|
|
405
|
+
var GetAccountPlanState$ = [9, n0, _GAPS,
|
|
406
|
+
0, () => GetAccountPlanStateRequest$, () => GetAccountPlanStateResponse$
|
|
407
|
+
];
|
|
408
|
+
var GetFreeTierUsage$ = [9, n0, _GFTU,
|
|
409
|
+
0, () => GetFreeTierUsageRequest$, () => GetFreeTierUsageResponse$
|
|
410
|
+
];
|
|
411
|
+
var ListAccountActivities$ = [9, n0, _LAA,
|
|
412
|
+
0, () => ListAccountActivitiesRequest$, () => ListAccountActivitiesResponse$
|
|
413
|
+
];
|
|
414
|
+
var UpgradeAccountPlan$ = [9, n0, _UAP,
|
|
415
|
+
0, () => UpgradeAccountPlanRequest$, () => UpgradeAccountPlanResponse$
|
|
416
|
+
];
|
|
417
|
+
|
|
418
|
+
const getRuntimeConfig$1 = (config) => {
|
|
419
|
+
return {
|
|
420
|
+
apiVersion: "2023-09-07",
|
|
421
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
422
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
423
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
424
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
425
|
+
extensions: config?.extensions ?? [],
|
|
426
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultFreeTierHttpAuthSchemeProvider,
|
|
427
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
428
|
+
{
|
|
429
|
+
schemeId: "aws.auth#sigv4",
|
|
430
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
431
|
+
signer: new AwsSdkSigV4Signer(),
|
|
432
|
+
},
|
|
433
|
+
],
|
|
434
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
435
|
+
protocol: config?.protocol ?? AwsJson1_0Protocol,
|
|
436
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
437
|
+
defaultNamespace: "com.amazonaws.freetier",
|
|
438
|
+
errorTypeRegistries,
|
|
439
|
+
version: "2023-09-07",
|
|
440
|
+
serviceTarget: "AWSFreeTierService",
|
|
441
|
+
},
|
|
442
|
+
serviceId: config?.serviceId ?? "FreeTier",
|
|
443
|
+
sha256: config?.sha256 ?? Sha256,
|
|
444
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
445
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
446
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
447
|
+
};
|
|
448
|
+
};
|
|
449
|
+
|
|
450
|
+
const getRuntimeConfig = (config) => {
|
|
451
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
452
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
453
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
454
|
+
const clientSharedValues = getRuntimeConfig$1(config);
|
|
455
|
+
emitWarningIfUnsupportedVersion$1(process.version);
|
|
456
|
+
const loaderConfig = {
|
|
457
|
+
profile: config?.profile,
|
|
458
|
+
logger: clientSharedValues.logger,
|
|
459
|
+
};
|
|
460
|
+
return {
|
|
461
|
+
...clientSharedValues,
|
|
462
|
+
...config,
|
|
463
|
+
runtime: "node",
|
|
464
|
+
defaultsMode,
|
|
465
|
+
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
466
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
467
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
468
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
469
|
+
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
470
|
+
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
471
|
+
requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
472
|
+
retryMode: config?.retryMode ??
|
|
473
|
+
loadConfig({
|
|
474
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
475
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
476
|
+
}, config),
|
|
477
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
478
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
479
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
480
|
+
userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
481
|
+
};
|
|
482
|
+
};
|
|
483
|
+
|
|
32
484
|
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
33
485
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
34
486
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -238,19 +690,53 @@ const MatchOption = {
|
|
|
238
690
|
STARTS_WITH: "STARTS_WITH",
|
|
239
691
|
};
|
|
240
692
|
|
|
693
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
694
|
+
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
241
695
|
exports.AccountPlanStatus = AccountPlanStatus;
|
|
242
696
|
exports.AccountPlanType = AccountPlanType;
|
|
697
|
+
exports.ActivityReward$ = ActivityReward$;
|
|
243
698
|
exports.ActivityStatus = ActivityStatus;
|
|
699
|
+
exports.ActivitySummary$ = ActivitySummary$;
|
|
244
700
|
exports.CurrencyCode = CurrencyCode;
|
|
245
701
|
exports.Dimension = Dimension;
|
|
702
|
+
exports.DimensionValues$ = DimensionValues$;
|
|
703
|
+
exports.Expression$ = Expression$;
|
|
246
704
|
exports.FreeTier = FreeTier;
|
|
247
705
|
exports.FreeTierClient = FreeTierClient;
|
|
706
|
+
exports.FreeTierServiceException = FreeTierServiceException;
|
|
707
|
+
exports.FreeTierServiceException$ = FreeTierServiceException$;
|
|
708
|
+
exports.FreeTierUsage$ = FreeTierUsage$;
|
|
709
|
+
exports.GetAccountActivity$ = GetAccountActivity$;
|
|
248
710
|
exports.GetAccountActivityCommand = GetAccountActivityCommand;
|
|
711
|
+
exports.GetAccountActivityRequest$ = GetAccountActivityRequest$;
|
|
712
|
+
exports.GetAccountActivityResponse$ = GetAccountActivityResponse$;
|
|
713
|
+
exports.GetAccountPlanState$ = GetAccountPlanState$;
|
|
249
714
|
exports.GetAccountPlanStateCommand = GetAccountPlanStateCommand;
|
|
715
|
+
exports.GetAccountPlanStateRequest$ = GetAccountPlanStateRequest$;
|
|
716
|
+
exports.GetAccountPlanStateResponse$ = GetAccountPlanStateResponse$;
|
|
717
|
+
exports.GetFreeTierUsage$ = GetFreeTierUsage$;
|
|
250
718
|
exports.GetFreeTierUsageCommand = GetFreeTierUsageCommand;
|
|
719
|
+
exports.GetFreeTierUsageRequest$ = GetFreeTierUsageRequest$;
|
|
720
|
+
exports.GetFreeTierUsageResponse$ = GetFreeTierUsageResponse$;
|
|
721
|
+
exports.InternalServerException = InternalServerException;
|
|
722
|
+
exports.InternalServerException$ = InternalServerException$;
|
|
251
723
|
exports.LanguageCode = LanguageCode;
|
|
724
|
+
exports.ListAccountActivities$ = ListAccountActivities$;
|
|
252
725
|
exports.ListAccountActivitiesCommand = ListAccountActivitiesCommand;
|
|
726
|
+
exports.ListAccountActivitiesRequest$ = ListAccountActivitiesRequest$;
|
|
727
|
+
exports.ListAccountActivitiesResponse$ = ListAccountActivitiesResponse$;
|
|
253
728
|
exports.MatchOption = MatchOption;
|
|
729
|
+
exports.MonetaryAmount$ = MonetaryAmount$;
|
|
730
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
731
|
+
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
732
|
+
exports.ThrottlingException = ThrottlingException;
|
|
733
|
+
exports.ThrottlingException$ = ThrottlingException$;
|
|
734
|
+
exports.UpgradeAccountPlan$ = UpgradeAccountPlan$;
|
|
254
735
|
exports.UpgradeAccountPlanCommand = UpgradeAccountPlanCommand;
|
|
736
|
+
exports.UpgradeAccountPlanRequest$ = UpgradeAccountPlanRequest$;
|
|
737
|
+
exports.UpgradeAccountPlanResponse$ = UpgradeAccountPlanResponse$;
|
|
738
|
+
exports.ValidationException = ValidationException;
|
|
739
|
+
exports.ValidationException$ = ValidationException$;
|
|
740
|
+
exports.errorTypeRegistries = errorTypeRegistries;
|
|
255
741
|
exports.paginateGetFreeTierUsage = paginateGetFreeTierUsage;
|
|
256
742
|
exports.paginateListAccountActivities = paginateListAccountActivities;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
24
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
25
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
26
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
27
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
|
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
6
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
8
|
-
import { calculateBodyLength
|
|
8
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
11
|
export const getRuntimeConfig = (config) => {
|
|
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
35
35
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
36
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
37
|
}, config),
|
|
38
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
38
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
39
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
41
40
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
2
|
export const getRuntimeConfig = (config) => {
|
|
4
3
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
6
5
|
...browserDefaults,
|
|
7
6
|
...config,
|
|
8
7
|
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
8
|
};
|
|
11
9
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { Sha256 } from "@smithy/core/checksum";
|
|
3
4
|
import { NoOpLogger } from "@smithy/core/client";
|
|
4
5
|
import { parseUrl } from "@smithy/core/protocols";
|
|
5
6
|
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
31
32
|
serviceTarget: "AWSFreeTierService",
|
|
32
33
|
},
|
|
33
34
|
serviceId: config?.serviceId ?? "FreeTier",
|
|
35
|
+
sha256: config?.sha256 ?? Sha256,
|
|
34
36
|
urlParser: config?.urlParser ?? parseUrl,
|
|
35
37
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
36
38
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -13,8 +13,7 @@ export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
|
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
14
14
|
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
15
15
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
|
-
|
|
17
|
-
streamCollector: import("@smithy/types").StreamCollector;
|
|
16
|
+
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
18
17
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
19
18
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
20
19
|
cacheMiddleware?: boolean | undefined;
|
|
@@ -24,6 +23,7 @@ export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
|
|
|
24
23
|
[setting: string]: unknown;
|
|
25
24
|
};
|
|
26
25
|
apiVersion: string;
|
|
26
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
27
27
|
urlParser: import("@smithy/types").UrlParser;
|
|
28
28
|
base64Decoder: import("@smithy/types").Decoder;
|
|
29
29
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -14,8 +14,7 @@ export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
|
|
|
14
14
|
region: string | import("@smithy/types").Provider<string>;
|
|
15
15
|
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
16
16
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
17
|
-
|
|
18
|
-
streamCollector: import("@smithy/types").StreamCollector;
|
|
17
|
+
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
19
18
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
19
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
20
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -26,6 +25,7 @@ export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
|
|
|
26
25
|
[setting: string]: unknown;
|
|
27
26
|
};
|
|
28
27
|
apiVersion: string;
|
|
28
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
29
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
30
30
|
base64Decoder: import("@smithy/types").Decoder;
|
|
31
31
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -4,7 +4,6 @@ import type { FreeTierClientConfig } from "./FreeTierClient";
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
|
|
6
6
|
runtime: string;
|
|
7
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
8
7
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
8
|
cacheMiddleware?: boolean;
|
|
10
9
|
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_0Protocol;
|
|
@@ -13,9 +12,10 @@ export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
|
|
|
13
12
|
[setting: string]: unknown;
|
|
14
13
|
};
|
|
15
14
|
apiVersion: string;
|
|
15
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
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;
|
|
@@ -21,6 +21,7 @@ export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
|
|
|
21
21
|
defaultNamespace?: string;
|
|
22
22
|
};
|
|
23
23
|
serviceId: string;
|
|
24
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
24
25
|
urlParser: import("@smithy/types").UrlParser;
|
|
25
26
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
26
27
|
utf8Encoder: (input: Uint8Array | string) => string;
|