@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 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 !== undefined && input.ReportName !== null && { ReportName: 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 !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }),
265
- ...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: 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 !== undefined &&
271
- input.ReportDefinition !== null && {
270
+ ...(input.ReportDefinition != null && {
272
271
  ReportDefinition: serializeAws_json1_1ReportDefinition(input.ReportDefinition, context),
273
272
  }),
274
- ...(input.ReportName !== undefined && input.ReportName !== null && { ReportName: 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 !== undefined &&
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 !== undefined &&
288
- input.AdditionalArtifacts !== null && {
285
+ ...(input.AdditionalArtifacts != null && {
289
286
  AdditionalArtifacts: serializeAws_json1_1AdditionalArtifactList(input.AdditionalArtifacts, context),
290
287
  }),
291
- ...(input.AdditionalSchemaElements !== undefined &&
292
- input.AdditionalSchemaElements !== null && {
288
+ ...(input.AdditionalSchemaElements != null && {
293
289
  AdditionalSchemaElements: serializeAws_json1_1SchemaElementList(input.AdditionalSchemaElements, context),
294
290
  }),
295
- ...(input.BillingViewArn !== undefined &&
296
- input.BillingViewArn !== null && { BillingViewArn: input.BillingViewArn }),
297
- ...(input.Compression !== undefined && input.Compression !== null && { Compression: input.Compression }),
298
- ...(input.Format !== undefined && input.Format !== null && { Format: input.Format }),
299
- ...(input.RefreshClosedReports !== undefined &&
300
- input.RefreshClosedReports !== null && { RefreshClosedReports: input.RefreshClosedReports }),
301
- ...(input.ReportName !== undefined && input.ReportName !== null && { ReportName: input.ReportName }),
302
- ...(input.ReportVersioning !== undefined &&
303
- input.ReportVersioning !== null && { ReportVersioning: input.ReportVersioning }),
304
- ...(input.S3Bucket !== undefined && input.S3Bucket !== null && { S3Bucket: input.S3Bucket }),
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 !== undefined && output.ReportDefinitions !== null
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 !== undefined && output.AdditionalArtifacts !== null
355
+ AdditionalArtifacts: output.AdditionalArtifacts != null
363
356
  ? deserializeAws_json1_1AdditionalArtifactList(output.AdditionalArtifacts, context)
364
357
  : undefined,
365
- AdditionalSchemaElements: output.AdditionalSchemaElements !== undefined && output.AdditionalSchemaElements !== null
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 !== undefined && input.ReportName !== null && { ReportName: 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 !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
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 !== undefined &&
328
- input.ReportDefinition !== null && {
327
+ return __assign(__assign({}, (input.ReportDefinition != null && {
329
328
  ReportDefinition: serializeAws_json1_1ReportDefinition(input.ReportDefinition, context),
330
- })), (input.ReportName !== undefined && input.ReportName !== null && { ReportName: 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 !== undefined &&
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 !== undefined &&
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 !== undefined &&
343
- input.AdditionalSchemaElements !== null && {
339
+ })), (input.AdditionalSchemaElements != null && {
344
340
  AdditionalSchemaElements: serializeAws_json1_1SchemaElementList(input.AdditionalSchemaElements, context),
345
- })), (input.BillingViewArn !== undefined &&
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 !== undefined && output.ReportDefinitions !== null
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 !== undefined && output.AdditionalArtifacts !== null
395
+ AdditionalArtifacts: output.AdditionalArtifacts != null
403
396
  ? deserializeAws_json1_1AdditionalArtifactList(output.AdditionalArtifacts, context)
404
397
  : undefined,
405
- AdditionalSchemaElements: output.AdditionalSchemaElements !== undefined && output.AdditionalSchemaElements !== null
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.121.0",
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.121.0",
22
- "@aws-sdk/config-resolver": "3.110.0",
23
- "@aws-sdk/credential-provider-node": "3.121.0",
24
- "@aws-sdk/fetch-http-handler": "3.110.0",
25
- "@aws-sdk/hash-node": "3.110.0",
26
- "@aws-sdk/invalid-dependency": "3.110.0",
27
- "@aws-sdk/middleware-content-length": "3.110.0",
28
- "@aws-sdk/middleware-host-header": "3.110.0",
29
- "@aws-sdk/middleware-logger": "3.110.0",
30
- "@aws-sdk/middleware-recursion-detection": "3.110.0",
31
- "@aws-sdk/middleware-retry": "3.118.1",
32
- "@aws-sdk/middleware-serde": "3.110.0",
33
- "@aws-sdk/middleware-signing": "3.110.0",
34
- "@aws-sdk/middleware-stack": "3.110.0",
35
- "@aws-sdk/middleware-user-agent": "3.110.0",
36
- "@aws-sdk/node-config-provider": "3.110.0",
37
- "@aws-sdk/node-http-handler": "3.118.1",
38
- "@aws-sdk/protocol-http": "3.110.0",
39
- "@aws-sdk/smithy-client": "3.110.0",
40
- "@aws-sdk/types": "3.110.0",
41
- "@aws-sdk/url-parser": "3.110.0",
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.110.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.110.0",
48
- "@aws-sdk/util-user-agent-browser": "3.110.0",
49
- "@aws-sdk/util-user-agent-node": "3.118.0",
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"