@aws-sdk/client-cost-and-usage-report-service 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 +505 -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/CostAndUsageReportServiceServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -71
- 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 -238
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_1Protocol } = require("@aws-sdk/core/protocols");
|
|
16
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
17
|
+
|
|
18
|
+
const defaultCostAndUsageReportServiceHttpAuthSchemeParametersProvider = 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: "cur",
|
|
31
|
+
region: authParameters.region,
|
|
32
|
+
},
|
|
33
|
+
propertiesExtractor: (config, context) => ({
|
|
34
|
+
signingProperties: {
|
|
35
|
+
config,
|
|
36
|
+
context,
|
|
37
|
+
},
|
|
38
|
+
}),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
const defaultCostAndUsageReportServiceHttpAuthSchemeProvider = (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, {
|
|
@@ -31,6 +68,422 @@ const commonParams = {
|
|
|
31
68
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
32
69
|
};
|
|
33
70
|
|
|
71
|
+
var version = "3.1076.0";
|
|
72
|
+
var packageInfo = {
|
|
73
|
+
version: version};
|
|
74
|
+
|
|
75
|
+
const k = "ref";
|
|
76
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
77
|
+
const _data = {
|
|
78
|
+
conditions: [
|
|
79
|
+
[c, [g]],
|
|
80
|
+
[c, j],
|
|
81
|
+
["aws.partition", j, d],
|
|
82
|
+
[e, [{ [k]: "UseFIPS" }, b]],
|
|
83
|
+
[e, [{ [k]: "UseDualStack" }, b]],
|
|
84
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
85
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
|
|
86
|
+
],
|
|
87
|
+
results: [
|
|
88
|
+
[a],
|
|
89
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
90
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
91
|
+
[g, i],
|
|
92
|
+
["https://cur-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
93
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
94
|
+
["https://cur-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
95
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
96
|
+
["https://cur.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
97
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
98
|
+
["https://cur.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
99
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
100
|
+
]
|
|
101
|
+
};
|
|
102
|
+
const root = 2;
|
|
103
|
+
const r = 100_000_000;
|
|
104
|
+
const nodes = new Int32Array([
|
|
105
|
+
-1, 1, -1,
|
|
106
|
+
0, 12, 3,
|
|
107
|
+
1, 4, r + 11,
|
|
108
|
+
2, 5, r + 11,
|
|
109
|
+
3, 8, 6,
|
|
110
|
+
4, 7, r + 10,
|
|
111
|
+
5, r + 8, r + 9,
|
|
112
|
+
4, 10, 9,
|
|
113
|
+
6, r + 6, r + 7,
|
|
114
|
+
5, 11, r + 5,
|
|
115
|
+
6, r + 4, r + 5,
|
|
116
|
+
3, r + 1, 13,
|
|
117
|
+
4, r + 2, r + 3,
|
|
118
|
+
]);
|
|
119
|
+
const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
120
|
+
|
|
121
|
+
const cache = new EndpointCache({
|
|
122
|
+
size: 50,
|
|
123
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
124
|
+
});
|
|
125
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
126
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
127
|
+
endpointParams: endpointParams,
|
|
128
|
+
logger: context.logger,
|
|
129
|
+
}));
|
|
130
|
+
};
|
|
131
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
132
|
+
|
|
133
|
+
class CostAndUsageReportServiceServiceException extends ServiceException {
|
|
134
|
+
constructor(options) {
|
|
135
|
+
super(options);
|
|
136
|
+
Object.setPrototypeOf(this, CostAndUsageReportServiceServiceException.prototype);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
class InternalErrorException extends CostAndUsageReportServiceServiceException {
|
|
141
|
+
name = "InternalErrorException";
|
|
142
|
+
$fault = "server";
|
|
143
|
+
Message;
|
|
144
|
+
constructor(opts) {
|
|
145
|
+
super({
|
|
146
|
+
name: "InternalErrorException",
|
|
147
|
+
$fault: "server",
|
|
148
|
+
...opts,
|
|
149
|
+
});
|
|
150
|
+
Object.setPrototypeOf(this, InternalErrorException.prototype);
|
|
151
|
+
this.Message = opts.Message;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
class ValidationException extends CostAndUsageReportServiceServiceException {
|
|
155
|
+
name = "ValidationException";
|
|
156
|
+
$fault = "client";
|
|
157
|
+
Message;
|
|
158
|
+
constructor(opts) {
|
|
159
|
+
super({
|
|
160
|
+
name: "ValidationException",
|
|
161
|
+
$fault: "client",
|
|
162
|
+
...opts,
|
|
163
|
+
});
|
|
164
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
165
|
+
this.Message = opts.Message;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
class ResourceNotFoundException extends CostAndUsageReportServiceServiceException {
|
|
169
|
+
name = "ResourceNotFoundException";
|
|
170
|
+
$fault = "client";
|
|
171
|
+
Message;
|
|
172
|
+
constructor(opts) {
|
|
173
|
+
super({
|
|
174
|
+
name: "ResourceNotFoundException",
|
|
175
|
+
$fault: "client",
|
|
176
|
+
...opts,
|
|
177
|
+
});
|
|
178
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
179
|
+
this.Message = opts.Message;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
class DuplicateReportNameException extends CostAndUsageReportServiceServiceException {
|
|
183
|
+
name = "DuplicateReportNameException";
|
|
184
|
+
$fault = "client";
|
|
185
|
+
Message;
|
|
186
|
+
constructor(opts) {
|
|
187
|
+
super({
|
|
188
|
+
name: "DuplicateReportNameException",
|
|
189
|
+
$fault: "client",
|
|
190
|
+
...opts,
|
|
191
|
+
});
|
|
192
|
+
Object.setPrototypeOf(this, DuplicateReportNameException.prototype);
|
|
193
|
+
this.Message = opts.Message;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
class ReportLimitReachedException extends CostAndUsageReportServiceServiceException {
|
|
197
|
+
name = "ReportLimitReachedException";
|
|
198
|
+
$fault = "client";
|
|
199
|
+
Message;
|
|
200
|
+
constructor(opts) {
|
|
201
|
+
super({
|
|
202
|
+
name: "ReportLimitReachedException",
|
|
203
|
+
$fault: "client",
|
|
204
|
+
...opts,
|
|
205
|
+
});
|
|
206
|
+
Object.setPrototypeOf(this, ReportLimitReachedException.prototype);
|
|
207
|
+
this.Message = opts.Message;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
const _AA = "AdditionalArtifacts";
|
|
212
|
+
const _ASE = "AdditionalSchemaElements";
|
|
213
|
+
const _BVA = "BillingViewArn";
|
|
214
|
+
const _C = "Compression";
|
|
215
|
+
const _DRD = "DeleteReportDefinition";
|
|
216
|
+
const _DRDR = "DeleteReportDefinitionRequest";
|
|
217
|
+
const _DRDRe = "DeleteReportDefinitionResponse";
|
|
218
|
+
const _DRDRes = "DescribeReportDefinitionsRequest";
|
|
219
|
+
const _DRDResc = "DescribeReportDefinitionsResponse";
|
|
220
|
+
const _DRDe = "DescribeReportDefinitions";
|
|
221
|
+
const _DRNE = "DuplicateReportNameException";
|
|
222
|
+
const _F = "Format";
|
|
223
|
+
const _IEE = "InternalErrorException";
|
|
224
|
+
const _K = "Key";
|
|
225
|
+
const _LTFR = "ListTagsForResource";
|
|
226
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
227
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
228
|
+
const _M = "Message";
|
|
229
|
+
const _MR = "MaxResults";
|
|
230
|
+
const _MRD = "ModifyReportDefinition";
|
|
231
|
+
const _MRDR = "ModifyReportDefinitionRequest";
|
|
232
|
+
const _MRDRo = "ModifyReportDefinitionResponse";
|
|
233
|
+
const _NT = "NextToken";
|
|
234
|
+
const _PRD = "PutReportDefinition";
|
|
235
|
+
const _PRDR = "PutReportDefinitionRequest";
|
|
236
|
+
const _PRDRu = "PutReportDefinitionResponse";
|
|
237
|
+
const _RCR = "RefreshClosedReports";
|
|
238
|
+
const _RD = "ReportDefinitions";
|
|
239
|
+
const _RDL = "ReportDefinitionList";
|
|
240
|
+
const _RDe = "ReportDefinition";
|
|
241
|
+
const _RLRE = "ReportLimitReachedException";
|
|
242
|
+
const _RM = "ResponseMessage";
|
|
243
|
+
const _RN = "ReportName";
|
|
244
|
+
const _RNFE = "ResourceNotFoundException";
|
|
245
|
+
const _RS = "ReportStatus";
|
|
246
|
+
const _RV = "ReportVersioning";
|
|
247
|
+
const _SB = "S3Bucket";
|
|
248
|
+
const _SP = "S3Prefix";
|
|
249
|
+
const _SR = "S3Region";
|
|
250
|
+
const _T = "Tags";
|
|
251
|
+
const _TK = "TagKeys";
|
|
252
|
+
const _TL = "TagList";
|
|
253
|
+
const _TR = "TagResource";
|
|
254
|
+
const _TRR = "TagResourceRequest";
|
|
255
|
+
const _TRRa = "TagResourceResponse";
|
|
256
|
+
const _TU = "TimeUnit";
|
|
257
|
+
const _Ta = "Tag";
|
|
258
|
+
const _UR = "UntagResource";
|
|
259
|
+
const _URR = "UntagResourceRequest";
|
|
260
|
+
const _URRn = "UntagResourceResponse";
|
|
261
|
+
const _V = "Value";
|
|
262
|
+
const _VE = "ValidationException";
|
|
263
|
+
const _c = "client";
|
|
264
|
+
const _e = "error";
|
|
265
|
+
const _lD = "lastDelivery";
|
|
266
|
+
const _lS = "lastStatus";
|
|
267
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.costandusagereportservice";
|
|
268
|
+
const _se = "server";
|
|
269
|
+
const n0 = "com.amazonaws.costandusagereportservice";
|
|
270
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
271
|
+
var CostAndUsageReportServiceServiceException$ = [-3, _s, "CostAndUsageReportServiceServiceException", 0, [], []];
|
|
272
|
+
_s_registry.registerError(CostAndUsageReportServiceServiceException$, CostAndUsageReportServiceServiceException);
|
|
273
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
274
|
+
var DuplicateReportNameException$ = [-3, n0, _DRNE,
|
|
275
|
+
{ [_e]: _c },
|
|
276
|
+
[_M],
|
|
277
|
+
[0]
|
|
278
|
+
];
|
|
279
|
+
n0_registry.registerError(DuplicateReportNameException$, DuplicateReportNameException);
|
|
280
|
+
var InternalErrorException$ = [-3, n0, _IEE,
|
|
281
|
+
{ [_e]: _se },
|
|
282
|
+
[_M],
|
|
283
|
+
[0]
|
|
284
|
+
];
|
|
285
|
+
n0_registry.registerError(InternalErrorException$, InternalErrorException);
|
|
286
|
+
var ReportLimitReachedException$ = [-3, n0, _RLRE,
|
|
287
|
+
{ [_e]: _c },
|
|
288
|
+
[_M],
|
|
289
|
+
[0]
|
|
290
|
+
];
|
|
291
|
+
n0_registry.registerError(ReportLimitReachedException$, ReportLimitReachedException);
|
|
292
|
+
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
293
|
+
{ [_e]: _c },
|
|
294
|
+
[_M],
|
|
295
|
+
[0]
|
|
296
|
+
];
|
|
297
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
298
|
+
var ValidationException$ = [-3, n0, _VE,
|
|
299
|
+
{ [_e]: _c },
|
|
300
|
+
[_M],
|
|
301
|
+
[0]
|
|
302
|
+
];
|
|
303
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
304
|
+
const errorTypeRegistries = [
|
|
305
|
+
_s_registry,
|
|
306
|
+
n0_registry,
|
|
307
|
+
];
|
|
308
|
+
var DeleteReportDefinitionRequest$ = [3, n0, _DRDR,
|
|
309
|
+
0,
|
|
310
|
+
[_RN],
|
|
311
|
+
[0], 1
|
|
312
|
+
];
|
|
313
|
+
var DeleteReportDefinitionResponse$ = [3, n0, _DRDRe,
|
|
314
|
+
0,
|
|
315
|
+
[_RM],
|
|
316
|
+
[0]
|
|
317
|
+
];
|
|
318
|
+
var DescribeReportDefinitionsRequest$ = [3, n0, _DRDRes,
|
|
319
|
+
0,
|
|
320
|
+
[_MR, _NT],
|
|
321
|
+
[1, 0]
|
|
322
|
+
];
|
|
323
|
+
var DescribeReportDefinitionsResponse$ = [3, n0, _DRDResc,
|
|
324
|
+
0,
|
|
325
|
+
[_RD, _NT],
|
|
326
|
+
[() => ReportDefinitionList, 0]
|
|
327
|
+
];
|
|
328
|
+
var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
329
|
+
0,
|
|
330
|
+
[_RN],
|
|
331
|
+
[0], 1
|
|
332
|
+
];
|
|
333
|
+
var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
334
|
+
0,
|
|
335
|
+
[_T],
|
|
336
|
+
[() => TagList]
|
|
337
|
+
];
|
|
338
|
+
var ModifyReportDefinitionRequest$ = [3, n0, _MRDR,
|
|
339
|
+
0,
|
|
340
|
+
[_RN, _RDe],
|
|
341
|
+
[0, () => ReportDefinition$], 2
|
|
342
|
+
];
|
|
343
|
+
var ModifyReportDefinitionResponse$ = [3, n0, _MRDRo,
|
|
344
|
+
0,
|
|
345
|
+
[],
|
|
346
|
+
[]
|
|
347
|
+
];
|
|
348
|
+
var PutReportDefinitionRequest$ = [3, n0, _PRDR,
|
|
349
|
+
0,
|
|
350
|
+
[_RDe, _T],
|
|
351
|
+
[() => ReportDefinition$, () => TagList], 1
|
|
352
|
+
];
|
|
353
|
+
var PutReportDefinitionResponse$ = [3, n0, _PRDRu,
|
|
354
|
+
0,
|
|
355
|
+
[],
|
|
356
|
+
[]
|
|
357
|
+
];
|
|
358
|
+
var ReportDefinition$ = [3, n0, _RDe,
|
|
359
|
+
0,
|
|
360
|
+
[_RN, _TU, _F, _C, _ASE, _SB, _SP, _SR, _AA, _RCR, _RV, _BVA, _RS],
|
|
361
|
+
[0, 0, 0, 0, 64 | 0, 0, 0, 0, 64 | 0, 2, 0, 0, () => ReportStatus$], 8
|
|
362
|
+
];
|
|
363
|
+
var ReportStatus$ = [3, n0, _RS,
|
|
364
|
+
0,
|
|
365
|
+
[_lD, _lS],
|
|
366
|
+
[0, 0]
|
|
367
|
+
];
|
|
368
|
+
var Tag$ = [3, n0, _Ta,
|
|
369
|
+
0,
|
|
370
|
+
[_K, _V],
|
|
371
|
+
[0, 0], 2
|
|
372
|
+
];
|
|
373
|
+
var TagResourceRequest$ = [3, n0, _TRR,
|
|
374
|
+
0,
|
|
375
|
+
[_RN, _T],
|
|
376
|
+
[0, () => TagList], 2
|
|
377
|
+
];
|
|
378
|
+
var TagResourceResponse$ = [3, n0, _TRRa,
|
|
379
|
+
0,
|
|
380
|
+
[],
|
|
381
|
+
[]
|
|
382
|
+
];
|
|
383
|
+
var UntagResourceRequest$ = [3, n0, _URR,
|
|
384
|
+
0,
|
|
385
|
+
[_RN, _TK],
|
|
386
|
+
[0, 64 | 0], 2
|
|
387
|
+
];
|
|
388
|
+
var UntagResourceResponse$ = [3, n0, _URRn,
|
|
389
|
+
0,
|
|
390
|
+
[],
|
|
391
|
+
[]
|
|
392
|
+
];
|
|
393
|
+
var ReportDefinitionList = [1, n0, _RDL,
|
|
394
|
+
0, () => ReportDefinition$
|
|
395
|
+
];
|
|
396
|
+
var TagList = [1, n0, _TL,
|
|
397
|
+
0, () => Tag$
|
|
398
|
+
];
|
|
399
|
+
var DeleteReportDefinition$ = [9, n0, _DRD,
|
|
400
|
+
0, () => DeleteReportDefinitionRequest$, () => DeleteReportDefinitionResponse$
|
|
401
|
+
];
|
|
402
|
+
var DescribeReportDefinitions$ = [9, n0, _DRDe,
|
|
403
|
+
0, () => DescribeReportDefinitionsRequest$, () => DescribeReportDefinitionsResponse$
|
|
404
|
+
];
|
|
405
|
+
var ListTagsForResource$ = [9, n0, _LTFR,
|
|
406
|
+
0, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
|
|
407
|
+
];
|
|
408
|
+
var ModifyReportDefinition$ = [9, n0, _MRD,
|
|
409
|
+
0, () => ModifyReportDefinitionRequest$, () => ModifyReportDefinitionResponse$
|
|
410
|
+
];
|
|
411
|
+
var PutReportDefinition$ = [9, n0, _PRD,
|
|
412
|
+
0, () => PutReportDefinitionRequest$, () => PutReportDefinitionResponse$
|
|
413
|
+
];
|
|
414
|
+
var TagResource$ = [9, n0, _TR,
|
|
415
|
+
0, () => TagResourceRequest$, () => TagResourceResponse$
|
|
416
|
+
];
|
|
417
|
+
var UntagResource$ = [9, n0, _UR,
|
|
418
|
+
0, () => UntagResourceRequest$, () => UntagResourceResponse$
|
|
419
|
+
];
|
|
420
|
+
|
|
421
|
+
const getRuntimeConfig$1 = (config) => {
|
|
422
|
+
return {
|
|
423
|
+
apiVersion: "2017-01-06",
|
|
424
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
425
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
426
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
427
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
428
|
+
extensions: config?.extensions ?? [],
|
|
429
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultCostAndUsageReportServiceHttpAuthSchemeProvider,
|
|
430
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
431
|
+
{
|
|
432
|
+
schemeId: "aws.auth#sigv4",
|
|
433
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
434
|
+
signer: new AwsSdkSigV4Signer(),
|
|
435
|
+
},
|
|
436
|
+
],
|
|
437
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
438
|
+
protocol: config?.protocol ?? AwsJson1_1Protocol,
|
|
439
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
440
|
+
defaultNamespace: "com.amazonaws.costandusagereportservice",
|
|
441
|
+
errorTypeRegistries,
|
|
442
|
+
version: "2017-01-06",
|
|
443
|
+
serviceTarget: "AWSOrigamiServiceGatewayService",
|
|
444
|
+
},
|
|
445
|
+
serviceId: config?.serviceId ?? "Cost and Usage Report Service",
|
|
446
|
+
sha256: config?.sha256 ?? Sha256,
|
|
447
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
448
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
449
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
450
|
+
};
|
|
451
|
+
};
|
|
452
|
+
|
|
453
|
+
const getRuntimeConfig = (config) => {
|
|
454
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
455
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
456
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
457
|
+
const clientSharedValues = getRuntimeConfig$1(config);
|
|
458
|
+
emitWarningIfUnsupportedVersion$1(process.version);
|
|
459
|
+
const loaderConfig = {
|
|
460
|
+
profile: config?.profile,
|
|
461
|
+
logger: clientSharedValues.logger,
|
|
462
|
+
};
|
|
463
|
+
return {
|
|
464
|
+
...clientSharedValues,
|
|
465
|
+
...config,
|
|
466
|
+
runtime: "node",
|
|
467
|
+
defaultsMode,
|
|
468
|
+
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
469
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
470
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
471
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
472
|
+
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
473
|
+
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
474
|
+
requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
475
|
+
retryMode: config?.retryMode ??
|
|
476
|
+
loadConfig({
|
|
477
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
478
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
479
|
+
}, config),
|
|
480
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
481
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
482
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
483
|
+
userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
484
|
+
};
|
|
485
|
+
};
|
|
486
|
+
|
|
34
487
|
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
488
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
489
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -282,16 +735,53 @@ exports.AdditionalArtifact = AdditionalArtifact;
|
|
|
282
735
|
exports.CompressionFormat = CompressionFormat;
|
|
283
736
|
exports.CostAndUsageReportService = CostAndUsageReportService;
|
|
284
737
|
exports.CostAndUsageReportServiceClient = CostAndUsageReportServiceClient;
|
|
738
|
+
exports.CostAndUsageReportServiceServiceException = CostAndUsageReportServiceServiceException;
|
|
739
|
+
exports.CostAndUsageReportServiceServiceException$ = CostAndUsageReportServiceServiceException$;
|
|
740
|
+
exports.DeleteReportDefinition$ = DeleteReportDefinition$;
|
|
285
741
|
exports.DeleteReportDefinitionCommand = DeleteReportDefinitionCommand;
|
|
742
|
+
exports.DeleteReportDefinitionRequest$ = DeleteReportDefinitionRequest$;
|
|
743
|
+
exports.DeleteReportDefinitionResponse$ = DeleteReportDefinitionResponse$;
|
|
744
|
+
exports.DescribeReportDefinitions$ = DescribeReportDefinitions$;
|
|
286
745
|
exports.DescribeReportDefinitionsCommand = DescribeReportDefinitionsCommand;
|
|
746
|
+
exports.DescribeReportDefinitionsRequest$ = DescribeReportDefinitionsRequest$;
|
|
747
|
+
exports.DescribeReportDefinitionsResponse$ = DescribeReportDefinitionsResponse$;
|
|
748
|
+
exports.DuplicateReportNameException = DuplicateReportNameException;
|
|
749
|
+
exports.DuplicateReportNameException$ = DuplicateReportNameException$;
|
|
750
|
+
exports.InternalErrorException = InternalErrorException;
|
|
751
|
+
exports.InternalErrorException$ = InternalErrorException$;
|
|
287
752
|
exports.LastStatus = LastStatus;
|
|
753
|
+
exports.ListTagsForResource$ = ListTagsForResource$;
|
|
288
754
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
755
|
+
exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
|
|
756
|
+
exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
|
|
757
|
+
exports.ModifyReportDefinition$ = ModifyReportDefinition$;
|
|
289
758
|
exports.ModifyReportDefinitionCommand = ModifyReportDefinitionCommand;
|
|
759
|
+
exports.ModifyReportDefinitionRequest$ = ModifyReportDefinitionRequest$;
|
|
760
|
+
exports.ModifyReportDefinitionResponse$ = ModifyReportDefinitionResponse$;
|
|
761
|
+
exports.PutReportDefinition$ = PutReportDefinition$;
|
|
290
762
|
exports.PutReportDefinitionCommand = PutReportDefinitionCommand;
|
|
763
|
+
exports.PutReportDefinitionRequest$ = PutReportDefinitionRequest$;
|
|
764
|
+
exports.PutReportDefinitionResponse$ = PutReportDefinitionResponse$;
|
|
765
|
+
exports.ReportDefinition$ = ReportDefinition$;
|
|
291
766
|
exports.ReportFormat = ReportFormat;
|
|
767
|
+
exports.ReportLimitReachedException = ReportLimitReachedException;
|
|
768
|
+
exports.ReportLimitReachedException$ = ReportLimitReachedException$;
|
|
769
|
+
exports.ReportStatus$ = ReportStatus$;
|
|
292
770
|
exports.ReportVersioning = ReportVersioning;
|
|
771
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
772
|
+
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
293
773
|
exports.SchemaElement = SchemaElement;
|
|
774
|
+
exports.Tag$ = Tag$;
|
|
775
|
+
exports.TagResource$ = TagResource$;
|
|
294
776
|
exports.TagResourceCommand = TagResourceCommand;
|
|
777
|
+
exports.TagResourceRequest$ = TagResourceRequest$;
|
|
778
|
+
exports.TagResourceResponse$ = TagResourceResponse$;
|
|
295
779
|
exports.TimeUnit = TimeUnit;
|
|
780
|
+
exports.UntagResource$ = UntagResource$;
|
|
296
781
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
782
|
+
exports.UntagResourceRequest$ = UntagResourceRequest$;
|
|
783
|
+
exports.UntagResourceResponse$ = UntagResourceResponse$;
|
|
784
|
+
exports.ValidationException = ValidationException;
|
|
785
|
+
exports.ValidationException$ = ValidationException$;
|
|
786
|
+
exports.errorTypeRegistries = errorTypeRegistries;
|
|
297
787
|
exports.paginateDescribeReportDefinitions = paginateDescribeReportDefinitions;
|
|
@@ -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_1Protocol } 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: "AWSOrigamiServiceGatewayService",
|
|
32
33
|
},
|
|
33
34
|
serviceId: config?.serviceId ?? "Cost and Usage Report Service",
|
|
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: CostAndUsageReportServiceClientC
|
|
|
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: CostAndUsageReportServiceClientC
|
|
|
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: CostAndUsageReportServiceClientC
|
|
|
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: CostAndUsageReportServiceClientC
|
|
|
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 { CostAndUsageReportServiceClientConfig } from "./CostAndUsageReport
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const getRuntimeConfig: (config: CostAndUsageReportServiceClientConfig) => {
|
|
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_1Protocol;
|
|
@@ -13,9 +12,10 @@ export declare const getRuntimeConfig: (config: CostAndUsageReportServiceClientC
|
|
|
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;
|