@aws-sdk/client-cost-and-usage-report-service 3.121.0 → 3.127.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist-cjs/protocols/Aws_json1_1.js +21 -28
- package/dist-es/protocols/Aws_json1_1.js +11 -18
- package/package.json +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-cost-and-usage-report-service
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
|
|
7
15
|
|
|
8
16
|
|
|
@@ -256,55 +256,48 @@ const serializeAws_json1_1AdditionalArtifactList = (input, context) => {
|
|
|
256
256
|
};
|
|
257
257
|
const serializeAws_json1_1DeleteReportDefinitionRequest = (input, context) => {
|
|
258
258
|
return {
|
|
259
|
-
...(input.ReportName
|
|
259
|
+
...(input.ReportName != null && { ReportName: input.ReportName }),
|
|
260
260
|
};
|
|
261
261
|
};
|
|
262
262
|
const serializeAws_json1_1DescribeReportDefinitionsRequest = (input, context) => {
|
|
263
263
|
return {
|
|
264
|
-
...(input.MaxResults
|
|
265
|
-
...(input.NextToken
|
|
264
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
265
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
266
266
|
};
|
|
267
267
|
};
|
|
268
268
|
const serializeAws_json1_1ModifyReportDefinitionRequest = (input, context) => {
|
|
269
269
|
return {
|
|
270
|
-
...(input.ReportDefinition
|
|
271
|
-
input.ReportDefinition !== null && {
|
|
270
|
+
...(input.ReportDefinition != null && {
|
|
272
271
|
ReportDefinition: serializeAws_json1_1ReportDefinition(input.ReportDefinition, context),
|
|
273
272
|
}),
|
|
274
|
-
...(input.ReportName
|
|
273
|
+
...(input.ReportName != null && { ReportName: input.ReportName }),
|
|
275
274
|
};
|
|
276
275
|
};
|
|
277
276
|
const serializeAws_json1_1PutReportDefinitionRequest = (input, context) => {
|
|
278
277
|
return {
|
|
279
|
-
...(input.ReportDefinition
|
|
280
|
-
input.ReportDefinition !== null && {
|
|
278
|
+
...(input.ReportDefinition != null && {
|
|
281
279
|
ReportDefinition: serializeAws_json1_1ReportDefinition(input.ReportDefinition, context),
|
|
282
280
|
}),
|
|
283
281
|
};
|
|
284
282
|
};
|
|
285
283
|
const serializeAws_json1_1ReportDefinition = (input, context) => {
|
|
286
284
|
return {
|
|
287
|
-
...(input.AdditionalArtifacts
|
|
288
|
-
input.AdditionalArtifacts !== null && {
|
|
285
|
+
...(input.AdditionalArtifacts != null && {
|
|
289
286
|
AdditionalArtifacts: serializeAws_json1_1AdditionalArtifactList(input.AdditionalArtifacts, context),
|
|
290
287
|
}),
|
|
291
|
-
...(input.AdditionalSchemaElements
|
|
292
|
-
input.AdditionalSchemaElements !== null && {
|
|
288
|
+
...(input.AdditionalSchemaElements != null && {
|
|
293
289
|
AdditionalSchemaElements: serializeAws_json1_1SchemaElementList(input.AdditionalSchemaElements, context),
|
|
294
290
|
}),
|
|
295
|
-
...(input.BillingViewArn
|
|
296
|
-
|
|
297
|
-
...(input.
|
|
298
|
-
...(input.
|
|
299
|
-
...(input.
|
|
300
|
-
|
|
301
|
-
...(input.
|
|
302
|
-
...(input.
|
|
303
|
-
|
|
304
|
-
...(input.
|
|
305
|
-
...(input.S3Prefix !== undefined && input.S3Prefix !== null && { S3Prefix: input.S3Prefix }),
|
|
306
|
-
...(input.S3Region !== undefined && input.S3Region !== null && { S3Region: input.S3Region }),
|
|
307
|
-
...(input.TimeUnit !== undefined && input.TimeUnit !== null && { TimeUnit: input.TimeUnit }),
|
|
291
|
+
...(input.BillingViewArn != null && { BillingViewArn: input.BillingViewArn }),
|
|
292
|
+
...(input.Compression != null && { Compression: input.Compression }),
|
|
293
|
+
...(input.Format != null && { Format: input.Format }),
|
|
294
|
+
...(input.RefreshClosedReports != null && { RefreshClosedReports: input.RefreshClosedReports }),
|
|
295
|
+
...(input.ReportName != null && { ReportName: input.ReportName }),
|
|
296
|
+
...(input.ReportVersioning != null && { ReportVersioning: input.ReportVersioning }),
|
|
297
|
+
...(input.S3Bucket != null && { S3Bucket: input.S3Bucket }),
|
|
298
|
+
...(input.S3Prefix != null && { S3Prefix: input.S3Prefix }),
|
|
299
|
+
...(input.S3Region != null && { S3Region: input.S3Region }),
|
|
300
|
+
...(input.TimeUnit != null && { TimeUnit: input.TimeUnit }),
|
|
308
301
|
};
|
|
309
302
|
};
|
|
310
303
|
const serializeAws_json1_1SchemaElementList = (input, context) => {
|
|
@@ -336,7 +329,7 @@ const deserializeAws_json1_1DeleteReportDefinitionResponse = (output, context) =
|
|
|
336
329
|
const deserializeAws_json1_1DescribeReportDefinitionsResponse = (output, context) => {
|
|
337
330
|
return {
|
|
338
331
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
339
|
-
ReportDefinitions: output.ReportDefinitions
|
|
332
|
+
ReportDefinitions: output.ReportDefinitions != null
|
|
340
333
|
? deserializeAws_json1_1ReportDefinitionList(output.ReportDefinitions, context)
|
|
341
334
|
: undefined,
|
|
342
335
|
};
|
|
@@ -359,10 +352,10 @@ const deserializeAws_json1_1PutReportDefinitionResponse = (output, context) => {
|
|
|
359
352
|
};
|
|
360
353
|
const deserializeAws_json1_1ReportDefinition = (output, context) => {
|
|
361
354
|
return {
|
|
362
|
-
AdditionalArtifacts: output.AdditionalArtifacts
|
|
355
|
+
AdditionalArtifacts: output.AdditionalArtifacts != null
|
|
363
356
|
? deserializeAws_json1_1AdditionalArtifactList(output.AdditionalArtifacts, context)
|
|
364
357
|
: undefined,
|
|
365
|
-
AdditionalSchemaElements: output.AdditionalSchemaElements
|
|
358
|
+
AdditionalSchemaElements: output.AdditionalSchemaElements != null
|
|
366
359
|
? deserializeAws_json1_1SchemaElementList(output.AdditionalSchemaElements, context)
|
|
367
360
|
: undefined,
|
|
368
361
|
BillingViewArn: (0, smithy_client_1.expectString)(output.BillingViewArn),
|
|
@@ -318,34 +318,27 @@ var serializeAws_json1_1AdditionalArtifactList = function (input, context) {
|
|
|
318
318
|
});
|
|
319
319
|
};
|
|
320
320
|
var serializeAws_json1_1DeleteReportDefinitionRequest = function (input, context) {
|
|
321
|
-
return __assign({}, (input.ReportName
|
|
321
|
+
return __assign({}, (input.ReportName != null && { ReportName: input.ReportName }));
|
|
322
322
|
};
|
|
323
323
|
var serializeAws_json1_1DescribeReportDefinitionsRequest = function (input, context) {
|
|
324
|
-
return __assign(__assign({}, (input.MaxResults
|
|
324
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
325
325
|
};
|
|
326
326
|
var serializeAws_json1_1ModifyReportDefinitionRequest = function (input, context) {
|
|
327
|
-
return __assign(__assign({}, (input.ReportDefinition
|
|
328
|
-
input.ReportDefinition !== null && {
|
|
327
|
+
return __assign(__assign({}, (input.ReportDefinition != null && {
|
|
329
328
|
ReportDefinition: serializeAws_json1_1ReportDefinition(input.ReportDefinition, context),
|
|
330
|
-
})), (input.ReportName
|
|
329
|
+
})), (input.ReportName != null && { ReportName: input.ReportName }));
|
|
331
330
|
};
|
|
332
331
|
var serializeAws_json1_1PutReportDefinitionRequest = function (input, context) {
|
|
333
|
-
return __assign({}, (input.ReportDefinition
|
|
334
|
-
input.ReportDefinition !== null && {
|
|
332
|
+
return __assign({}, (input.ReportDefinition != null && {
|
|
335
333
|
ReportDefinition: serializeAws_json1_1ReportDefinition(input.ReportDefinition, context),
|
|
336
334
|
}));
|
|
337
335
|
};
|
|
338
336
|
var serializeAws_json1_1ReportDefinition = function (input, context) {
|
|
339
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdditionalArtifacts
|
|
340
|
-
input.AdditionalArtifacts !== null && {
|
|
337
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdditionalArtifacts != null && {
|
|
341
338
|
AdditionalArtifacts: serializeAws_json1_1AdditionalArtifactList(input.AdditionalArtifacts, context),
|
|
342
|
-
})), (input.AdditionalSchemaElements
|
|
343
|
-
input.AdditionalSchemaElements !== null && {
|
|
339
|
+
})), (input.AdditionalSchemaElements != null && {
|
|
344
340
|
AdditionalSchemaElements: serializeAws_json1_1SchemaElementList(input.AdditionalSchemaElements, context),
|
|
345
|
-
})), (input.BillingViewArn
|
|
346
|
-
input.BillingViewArn !== null && { BillingViewArn: input.BillingViewArn })), (input.Compression !== undefined && input.Compression !== null && { Compression: input.Compression })), (input.Format !== undefined && input.Format !== null && { Format: input.Format })), (input.RefreshClosedReports !== undefined &&
|
|
347
|
-
input.RefreshClosedReports !== null && { RefreshClosedReports: input.RefreshClosedReports })), (input.ReportName !== undefined && input.ReportName !== null && { ReportName: input.ReportName })), (input.ReportVersioning !== undefined &&
|
|
348
|
-
input.ReportVersioning !== null && { ReportVersioning: input.ReportVersioning })), (input.S3Bucket !== undefined && input.S3Bucket !== null && { S3Bucket: input.S3Bucket })), (input.S3Prefix !== undefined && input.S3Prefix !== null && { S3Prefix: input.S3Prefix })), (input.S3Region !== undefined && input.S3Region !== null && { S3Region: input.S3Region })), (input.TimeUnit !== undefined && input.TimeUnit !== null && { TimeUnit: input.TimeUnit }));
|
|
341
|
+
})), (input.BillingViewArn != null && { BillingViewArn: input.BillingViewArn })), (input.Compression != null && { Compression: input.Compression })), (input.Format != null && { Format: input.Format })), (input.RefreshClosedReports != null && { RefreshClosedReports: input.RefreshClosedReports })), (input.ReportName != null && { ReportName: input.ReportName })), (input.ReportVersioning != null && { ReportVersioning: input.ReportVersioning })), (input.S3Bucket != null && { S3Bucket: input.S3Bucket })), (input.S3Prefix != null && { S3Prefix: input.S3Prefix })), (input.S3Region != null && { S3Region: input.S3Region })), (input.TimeUnit != null && { TimeUnit: input.TimeUnit }));
|
|
349
342
|
};
|
|
350
343
|
var serializeAws_json1_1SchemaElementList = function (input, context) {
|
|
351
344
|
return input
|
|
@@ -376,7 +369,7 @@ var deserializeAws_json1_1DeleteReportDefinitionResponse = function (output, con
|
|
|
376
369
|
var deserializeAws_json1_1DescribeReportDefinitionsResponse = function (output, context) {
|
|
377
370
|
return {
|
|
378
371
|
NextToken: __expectString(output.NextToken),
|
|
379
|
-
ReportDefinitions: output.ReportDefinitions
|
|
372
|
+
ReportDefinitions: output.ReportDefinitions != null
|
|
380
373
|
? deserializeAws_json1_1ReportDefinitionList(output.ReportDefinitions, context)
|
|
381
374
|
: undefined,
|
|
382
375
|
};
|
|
@@ -399,10 +392,10 @@ var deserializeAws_json1_1PutReportDefinitionResponse = function (output, contex
|
|
|
399
392
|
};
|
|
400
393
|
var deserializeAws_json1_1ReportDefinition = function (output, context) {
|
|
401
394
|
return {
|
|
402
|
-
AdditionalArtifacts: output.AdditionalArtifacts
|
|
395
|
+
AdditionalArtifacts: output.AdditionalArtifacts != null
|
|
403
396
|
? deserializeAws_json1_1AdditionalArtifactList(output.AdditionalArtifacts, context)
|
|
404
397
|
: undefined,
|
|
405
|
-
AdditionalSchemaElements: output.AdditionalSchemaElements
|
|
398
|
+
AdditionalSchemaElements: output.AdditionalSchemaElements != null
|
|
406
399
|
? deserializeAws_json1_1SchemaElementList(output.AdditionalSchemaElements, context)
|
|
407
400
|
: undefined,
|
|
408
401
|
BillingViewArn: __expectString(output.BillingViewArn),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cost-and-usage-report-service",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cost And Usage Report Service Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.127.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,35 +18,35 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-retry": "3.
|
|
32
|
-
"@aws-sdk/middleware-serde": "3.
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
34
|
-
"@aws-sdk/middleware-stack": "3.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
-
"@aws-sdk/node-config-provider": "3.
|
|
37
|
-
"@aws-sdk/node-http-handler": "3.
|
|
38
|
-
"@aws-sdk/protocol-http": "3.
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
41
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.127.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.127.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.127.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.127.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.127.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.127.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.127.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.127.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.127.0",
|
|
31
|
+
"@aws-sdk/middleware-retry": "3.127.0",
|
|
32
|
+
"@aws-sdk/middleware-serde": "3.127.0",
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.127.0",
|
|
34
|
+
"@aws-sdk/middleware-stack": "3.127.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.127.0",
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.127.0",
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.127.0",
|
|
38
|
+
"@aws-sdk/protocol-http": "3.127.0",
|
|
39
|
+
"@aws-sdk/smithy-client": "3.127.0",
|
|
40
|
+
"@aws-sdk/types": "3.127.0",
|
|
41
|
+
"@aws-sdk/url-parser": "3.127.0",
|
|
42
42
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.127.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.127.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
51
51
|
"@aws-sdk/util-utf8-node": "3.109.0",
|
|
52
52
|
"tslib": "^2.3.1"
|