@aws-sdk/client-cloudwatch-logs 3.28.0 → 3.32.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudwatch-logs",
3
3
  "description": "AWS SDK for JavaScript Cloudwatch Logs Client for Node.js, Browser and React Native",
4
- "version": "3.28.0",
4
+ "version": "3.32.0",
5
5
  "scripts": {
6
6
  "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
7
7
  "build-documentation": "yarn remove-documentation && typedoc ./",
@@ -27,45 +27,45 @@
27
27
  "dependencies": {
28
28
  "@aws-crypto/sha256-browser": "^1.0.0",
29
29
  "@aws-crypto/sha256-js": "^1.0.0",
30
- "@aws-sdk/client-sts": "3.28.0",
31
- "@aws-sdk/config-resolver": "3.28.0",
32
- "@aws-sdk/credential-provider-node": "3.28.0",
33
- "@aws-sdk/fetch-http-handler": "3.25.0",
34
- "@aws-sdk/hash-node": "3.25.0",
35
- "@aws-sdk/invalid-dependency": "3.25.0",
36
- "@aws-sdk/middleware-content-length": "3.25.0",
37
- "@aws-sdk/middleware-host-header": "3.25.0",
38
- "@aws-sdk/middleware-logger": "3.25.0",
39
- "@aws-sdk/middleware-retry": "3.28.0",
40
- "@aws-sdk/middleware-serde": "3.25.0",
41
- "@aws-sdk/middleware-signing": "3.28.0",
42
- "@aws-sdk/middleware-stack": "3.25.0",
43
- "@aws-sdk/middleware-user-agent": "3.25.0",
44
- "@aws-sdk/node-config-provider": "3.28.0",
45
- "@aws-sdk/node-http-handler": "3.25.0",
46
- "@aws-sdk/protocol-http": "3.25.0",
47
- "@aws-sdk/smithy-client": "3.28.0",
48
- "@aws-sdk/types": "3.25.0",
49
- "@aws-sdk/url-parser": "3.25.0",
50
- "@aws-sdk/util-base64-browser": "3.23.0",
51
- "@aws-sdk/util-base64-node": "3.23.0",
52
- "@aws-sdk/util-body-length-browser": "3.23.0",
53
- "@aws-sdk/util-body-length-node": "3.23.0",
54
- "@aws-sdk/util-user-agent-browser": "3.25.0",
55
- "@aws-sdk/util-user-agent-node": "3.28.0",
56
- "@aws-sdk/util-utf8-browser": "3.23.0",
57
- "@aws-sdk/util-utf8-node": "3.23.0",
30
+ "@aws-sdk/client-sts": "3.32.0",
31
+ "@aws-sdk/config-resolver": "3.32.0",
32
+ "@aws-sdk/credential-provider-node": "3.32.0",
33
+ "@aws-sdk/fetch-http-handler": "3.32.0",
34
+ "@aws-sdk/hash-node": "3.32.0",
35
+ "@aws-sdk/invalid-dependency": "3.32.0",
36
+ "@aws-sdk/middleware-content-length": "3.32.0",
37
+ "@aws-sdk/middleware-host-header": "3.32.0",
38
+ "@aws-sdk/middleware-logger": "3.32.0",
39
+ "@aws-sdk/middleware-retry": "3.32.0",
40
+ "@aws-sdk/middleware-serde": "3.32.0",
41
+ "@aws-sdk/middleware-signing": "3.32.0",
42
+ "@aws-sdk/middleware-stack": "3.32.0",
43
+ "@aws-sdk/middleware-user-agent": "3.32.0",
44
+ "@aws-sdk/node-config-provider": "3.32.0",
45
+ "@aws-sdk/node-http-handler": "3.32.0",
46
+ "@aws-sdk/protocol-http": "3.32.0",
47
+ "@aws-sdk/smithy-client": "3.32.0",
48
+ "@aws-sdk/types": "3.32.0",
49
+ "@aws-sdk/url-parser": "3.32.0",
50
+ "@aws-sdk/util-base64-browser": "3.32.0",
51
+ "@aws-sdk/util-base64-node": "3.32.0",
52
+ "@aws-sdk/util-body-length-browser": "3.32.0",
53
+ "@aws-sdk/util-body-length-node": "3.32.0",
54
+ "@aws-sdk/util-user-agent-browser": "3.32.0",
55
+ "@aws-sdk/util-user-agent-node": "3.32.0",
56
+ "@aws-sdk/util-utf8-browser": "3.32.0",
57
+ "@aws-sdk/util-utf8-node": "3.32.0",
58
58
  "tslib": "^2.3.0"
59
59
  },
60
60
  "devDependencies": {
61
- "@aws-sdk/client-documentation-generator": "3.23.0",
61
+ "@aws-sdk/client-documentation-generator": "3.32.0",
62
62
  "@types/node": "^12.7.5",
63
63
  "downlevel-dts": "0.7.0",
64
64
  "jest": "^26.1.0",
65
65
  "rimraf": "^3.0.0",
66
66
  "ts-jest": "^26.4.1",
67
67
  "typedoc": "^0.19.2",
68
- "typescript": "~4.3.2"
68
+ "typescript": "~4.3.5"
69
69
  },
70
70
  "engines": {
71
71
  "node": ">=10.0.0"
@@ -181,9 +181,10 @@ import {
181
181
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
182
182
  import {
183
183
  expectBoolean as __expectBoolean,
184
- expectInt as __expectInt,
184
+ expectInt32 as __expectInt32,
185
+ expectLong as __expectLong,
185
186
  expectString as __expectString,
186
- limitedParseFloat as __limitedParseFloat,
187
+ limitedParseDouble as __limitedParseDouble,
187
188
  serializeFloat as __serializeFloat,
188
189
  } from "@aws-sdk/smithy-client";
189
190
  import {
@@ -4619,7 +4620,7 @@ const deserializeAws_json1_1Destination = (output: any, context: __SerdeContext)
4619
4620
  return {
4620
4621
  accessPolicy: __expectString(output.accessPolicy),
4621
4622
  arn: __expectString(output.arn),
4622
- creationTime: __expectInt(output.creationTime),
4623
+ creationTime: __expectLong(output.creationTime),
4623
4624
  destinationName: __expectString(output.destinationName),
4624
4625
  roleArn: __expectString(output.roleArn),
4625
4626
  targetArn: __expectString(output.targetArn),
@@ -4657,7 +4658,7 @@ const deserializeAws_json1_1ExportTask = (output: any, context: __SerdeContext):
4657
4658
  output.executionInfo !== undefined && output.executionInfo !== null
4658
4659
  ? deserializeAws_json1_1ExportTaskExecutionInfo(output.executionInfo, context)
4659
4660
  : undefined,
4660
- from: __expectInt(output.from),
4661
+ from: __expectLong(output.from),
4661
4662
  logGroupName: __expectString(output.logGroupName),
4662
4663
  status:
4663
4664
  output.status !== undefined && output.status !== null
@@ -4665,7 +4666,7 @@ const deserializeAws_json1_1ExportTask = (output: any, context: __SerdeContext):
4665
4666
  : undefined,
4666
4667
  taskId: __expectString(output.taskId),
4667
4668
  taskName: __expectString(output.taskName),
4668
- to: __expectInt(output.to),
4669
+ to: __expectLong(output.to),
4669
4670
  } as any;
4670
4671
  };
4671
4672
 
@@ -4674,8 +4675,8 @@ const deserializeAws_json1_1ExportTaskExecutionInfo = (
4674
4675
  context: __SerdeContext
4675
4676
  ): ExportTaskExecutionInfo => {
4676
4677
  return {
4677
- completionTime: __expectInt(output.completionTime),
4678
- creationTime: __expectInt(output.creationTime),
4678
+ completionTime: __expectLong(output.completionTime),
4679
+ creationTime: __expectLong(output.creationTime),
4679
4680
  } as any;
4680
4681
  };
4681
4682
 
@@ -4712,10 +4713,10 @@ const deserializeAws_json1_1ExtractedValues = (output: any, context: __SerdeCont
4712
4713
  const deserializeAws_json1_1FilteredLogEvent = (output: any, context: __SerdeContext): FilteredLogEvent => {
4713
4714
  return {
4714
4715
  eventId: __expectString(output.eventId),
4715
- ingestionTime: __expectInt(output.ingestionTime),
4716
+ ingestionTime: __expectLong(output.ingestionTime),
4716
4717
  logStreamName: __expectString(output.logStreamName),
4717
4718
  message: __expectString(output.message),
4718
- timestamp: __expectInt(output.timestamp),
4719
+ timestamp: __expectLong(output.timestamp),
4719
4720
  } as any;
4720
4721
  };
4721
4722
 
@@ -4843,19 +4844,19 @@ const deserializeAws_json1_1ListTagsLogGroupResponse = (
4843
4844
  const deserializeAws_json1_1LogGroup = (output: any, context: __SerdeContext): LogGroup => {
4844
4845
  return {
4845
4846
  arn: __expectString(output.arn),
4846
- creationTime: __expectInt(output.creationTime),
4847
+ creationTime: __expectLong(output.creationTime),
4847
4848
  kmsKeyId: __expectString(output.kmsKeyId),
4848
4849
  logGroupName: __expectString(output.logGroupName),
4849
- metricFilterCount: __expectInt(output.metricFilterCount),
4850
- retentionInDays: __expectInt(output.retentionInDays),
4851
- storedBytes: __expectInt(output.storedBytes),
4850
+ metricFilterCount: __expectInt32(output.metricFilterCount),
4851
+ retentionInDays: __expectInt32(output.retentionInDays),
4852
+ storedBytes: __expectLong(output.storedBytes),
4852
4853
  } as any;
4853
4854
  };
4854
4855
 
4855
4856
  const deserializeAws_json1_1LogGroupField = (output: any, context: __SerdeContext): LogGroupField => {
4856
4857
  return {
4857
4858
  name: __expectString(output.name),
4858
- percent: __expectInt(output.percent),
4859
+ percent: __expectInt32(output.percent),
4859
4860
  } as any;
4860
4861
  };
4861
4862
 
@@ -4907,12 +4908,12 @@ const deserializeAws_json1_1LogRecord = (output: any, context: __SerdeContext):
4907
4908
  const deserializeAws_json1_1LogStream = (output: any, context: __SerdeContext): LogStream => {
4908
4909
  return {
4909
4910
  arn: __expectString(output.arn),
4910
- creationTime: __expectInt(output.creationTime),
4911
- firstEventTimestamp: __expectInt(output.firstEventTimestamp),
4912
- lastEventTimestamp: __expectInt(output.lastEventTimestamp),
4913
- lastIngestionTime: __expectInt(output.lastIngestionTime),
4911
+ creationTime: __expectLong(output.creationTime),
4912
+ firstEventTimestamp: __expectLong(output.firstEventTimestamp),
4913
+ lastEventTimestamp: __expectLong(output.lastEventTimestamp),
4914
+ lastIngestionTime: __expectLong(output.lastIngestionTime),
4914
4915
  logStreamName: __expectString(output.logStreamName),
4915
- storedBytes: __expectInt(output.storedBytes),
4916
+ storedBytes: __expectLong(output.storedBytes),
4916
4917
  uploadSequenceToken: __expectString(output.uploadSequenceToken),
4917
4918
  } as any;
4918
4919
  };
@@ -4943,7 +4944,7 @@ const deserializeAws_json1_1MalformedQueryException = (
4943
4944
 
4944
4945
  const deserializeAws_json1_1MetricFilter = (output: any, context: __SerdeContext): MetricFilter => {
4945
4946
  return {
4946
- creationTime: __expectInt(output.creationTime),
4947
+ creationTime: __expectLong(output.creationTime),
4947
4948
  filterName: __expectString(output.filterName),
4948
4949
  filterPattern: __expectString(output.filterPattern),
4949
4950
  logGroupName: __expectString(output.logGroupName),
@@ -4971,7 +4972,7 @@ const deserializeAws_json1_1MetricFilterMatchRecord = (
4971
4972
  ): MetricFilterMatchRecord => {
4972
4973
  return {
4973
4974
  eventMessage: __expectString(output.eventMessage),
4974
- eventNumber: __expectInt(output.eventNumber),
4975
+ eventNumber: __expectLong(output.eventNumber),
4975
4976
  extractedValues:
4976
4977
  output.extractedValues !== undefined && output.extractedValues !== null
4977
4978
  ? deserializeAws_json1_1ExtractedValues(output.extractedValues, context)
@@ -4992,7 +4993,7 @@ const deserializeAws_json1_1MetricFilters = (output: any, context: __SerdeContex
4992
4993
 
4993
4994
  const deserializeAws_json1_1MetricTransformation = (output: any, context: __SerdeContext): MetricTransformation => {
4994
4995
  return {
4995
- defaultValue: __limitedParseFloat(output.defaultValue),
4996
+ defaultValue: __limitedParseDouble(output.defaultValue),
4996
4997
  dimensions:
4997
4998
  output.dimensions !== undefined && output.dimensions !== null
4998
4999
  ? deserializeAws_json1_1Dimensions(output.dimensions, context)
@@ -5026,9 +5027,9 @@ const deserializeAws_json1_1OperationAbortedException = (
5026
5027
 
5027
5028
  const deserializeAws_json1_1OutputLogEvent = (output: any, context: __SerdeContext): OutputLogEvent => {
5028
5029
  return {
5029
- ingestionTime: __expectInt(output.ingestionTime),
5030
+ ingestionTime: __expectLong(output.ingestionTime),
5030
5031
  message: __expectString(output.message),
5031
- timestamp: __expectInt(output.timestamp),
5032
+ timestamp: __expectLong(output.timestamp),
5032
5033
  } as any;
5033
5034
  };
5034
5035
 
@@ -5098,14 +5099,14 @@ const deserializeAws_json1_1QueryCompileErrorLocation = (
5098
5099
  context: __SerdeContext
5099
5100
  ): QueryCompileErrorLocation => {
5100
5101
  return {
5101
- endCharOffset: __expectInt(output.endCharOffset),
5102
- startCharOffset: __expectInt(output.startCharOffset),
5102
+ endCharOffset: __expectInt32(output.endCharOffset),
5103
+ startCharOffset: __expectInt32(output.startCharOffset),
5103
5104
  } as any;
5104
5105
  };
5105
5106
 
5106
5107
  const deserializeAws_json1_1QueryDefinition = (output: any, context: __SerdeContext): QueryDefinition => {
5107
5108
  return {
5108
- lastModified: __expectInt(output.lastModified),
5109
+ lastModified: __expectLong(output.lastModified),
5109
5110
  logGroupNames:
5110
5111
  output.logGroupNames !== undefined && output.logGroupNames !== null
5111
5112
  ? deserializeAws_json1_1LogGroupNames(output.logGroupNames, context)
@@ -5129,7 +5130,7 @@ const deserializeAws_json1_1QueryDefinitionList = (output: any, context: __Serde
5129
5130
 
5130
5131
  const deserializeAws_json1_1QueryInfo = (output: any, context: __SerdeContext): QueryInfo => {
5131
5132
  return {
5132
- createTime: __expectInt(output.createTime),
5133
+ createTime: __expectLong(output.createTime),
5133
5134
  logGroupName: __expectString(output.logGroupName),
5134
5135
  queryId: __expectString(output.queryId),
5135
5136
  queryString: __expectString(output.queryString),
@@ -5161,17 +5162,17 @@ const deserializeAws_json1_1QueryResults = (output: any, context: __SerdeContext
5161
5162
 
5162
5163
  const deserializeAws_json1_1QueryStatistics = (output: any, context: __SerdeContext): QueryStatistics => {
5163
5164
  return {
5164
- bytesScanned: __limitedParseFloat(output.bytesScanned),
5165
- recordsMatched: __limitedParseFloat(output.recordsMatched),
5166
- recordsScanned: __limitedParseFloat(output.recordsScanned),
5165
+ bytesScanned: __limitedParseDouble(output.bytesScanned),
5166
+ recordsMatched: __limitedParseDouble(output.recordsMatched),
5167
+ recordsScanned: __limitedParseDouble(output.recordsScanned),
5167
5168
  } as any;
5168
5169
  };
5169
5170
 
5170
5171
  const deserializeAws_json1_1RejectedLogEventsInfo = (output: any, context: __SerdeContext): RejectedLogEventsInfo => {
5171
5172
  return {
5172
- expiredLogEventEndIndex: __expectInt(output.expiredLogEventEndIndex),
5173
- tooNewLogEventStartIndex: __expectInt(output.tooNewLogEventStartIndex),
5174
- tooOldLogEventEndIndex: __expectInt(output.tooOldLogEventEndIndex),
5173
+ expiredLogEventEndIndex: __expectInt32(output.expiredLogEventEndIndex),
5174
+ tooNewLogEventStartIndex: __expectInt32(output.tooNewLogEventStartIndex),
5175
+ tooOldLogEventEndIndex: __expectInt32(output.tooOldLogEventEndIndex),
5175
5176
  } as any;
5176
5177
  };
5177
5178
 
@@ -5206,7 +5207,7 @@ const deserializeAws_json1_1ResourcePolicies = (output: any, context: __SerdeCon
5206
5207
 
5207
5208
  const deserializeAws_json1_1ResourcePolicy = (output: any, context: __SerdeContext): ResourcePolicy => {
5208
5209
  return {
5209
- lastUpdatedTime: __expectInt(output.lastUpdatedTime),
5210
+ lastUpdatedTime: __expectLong(output.lastUpdatedTime),
5210
5211
  policyDocument: __expectString(output.policyDocument),
5211
5212
  policyName: __expectString(output.policyName),
5212
5213
  } as any;
@@ -5271,7 +5272,7 @@ const deserializeAws_json1_1StopQueryResponse = (output: any, context: __SerdeCo
5271
5272
 
5272
5273
  const deserializeAws_json1_1SubscriptionFilter = (output: any, context: __SerdeContext): SubscriptionFilter => {
5273
5274
  return {
5274
- creationTime: __expectInt(output.creationTime),
5275
+ creationTime: __expectLong(output.creationTime),
5275
5276
  destinationArn: __expectString(output.destinationArn),
5276
5277
  distribution: __expectString(output.distribution),
5277
5278
  filterName: __expectString(output.filterName),