@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/CHANGELOG.md +32 -0
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_json1_1.js +34 -34
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/protocols/Aws_json1_1.js +35 -35
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/package.json +31 -31
- package/protocols/Aws_json1_1.ts +37 -36
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,38 @@
|
|
|
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.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-cloudwatch-logs
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.31.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.30.0...v3.31.0) (2021-09-11)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-cloudwatch-logs
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.30.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.29.0...v3.30.0) (2021-09-07)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/client-cloudwatch-logs
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [3.29.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.28.0...v3.29.0) (2021-09-02)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @aws-sdk/client-cloudwatch-logs
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
6
38
|
# [3.28.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.27.0...v3.28.0) (2021-08-27)
|
|
7
39
|
|
|
8
40
|
|
package/dist/cjs/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.
|
|
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.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
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.
|
|
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.
|
|
68
|
+
"typescript": "~4.3.5"
|
|
69
69
|
},
|
|
70
70
|
"engines": {
|
|
71
71
|
"node": ">=10.0.0"
|
|
@@ -3792,7 +3792,7 @@ const deserializeAws_json1_1Destination = (output, context) => {
|
|
|
3792
3792
|
return {
|
|
3793
3793
|
accessPolicy: smithy_client_1.expectString(output.accessPolicy),
|
|
3794
3794
|
arn: smithy_client_1.expectString(output.arn),
|
|
3795
|
-
creationTime: smithy_client_1.
|
|
3795
|
+
creationTime: smithy_client_1.expectLong(output.creationTime),
|
|
3796
3796
|
destinationName: smithy_client_1.expectString(output.destinationName),
|
|
3797
3797
|
roleArn: smithy_client_1.expectString(output.roleArn),
|
|
3798
3798
|
targetArn: smithy_client_1.expectString(output.targetArn),
|
|
@@ -3826,20 +3826,20 @@ const deserializeAws_json1_1ExportTask = (output, context) => {
|
|
|
3826
3826
|
executionInfo: output.executionInfo !== undefined && output.executionInfo !== null
|
|
3827
3827
|
? deserializeAws_json1_1ExportTaskExecutionInfo(output.executionInfo, context)
|
|
3828
3828
|
: undefined,
|
|
3829
|
-
from: smithy_client_1.
|
|
3829
|
+
from: smithy_client_1.expectLong(output.from),
|
|
3830
3830
|
logGroupName: smithy_client_1.expectString(output.logGroupName),
|
|
3831
3831
|
status: output.status !== undefined && output.status !== null
|
|
3832
3832
|
? deserializeAws_json1_1ExportTaskStatus(output.status, context)
|
|
3833
3833
|
: undefined,
|
|
3834
3834
|
taskId: smithy_client_1.expectString(output.taskId),
|
|
3835
3835
|
taskName: smithy_client_1.expectString(output.taskName),
|
|
3836
|
-
to: smithy_client_1.
|
|
3836
|
+
to: smithy_client_1.expectLong(output.to),
|
|
3837
3837
|
};
|
|
3838
3838
|
};
|
|
3839
3839
|
const deserializeAws_json1_1ExportTaskExecutionInfo = (output, context) => {
|
|
3840
3840
|
return {
|
|
3841
|
-
completionTime: smithy_client_1.
|
|
3842
|
-
creationTime: smithy_client_1.
|
|
3841
|
+
completionTime: smithy_client_1.expectLong(output.completionTime),
|
|
3842
|
+
creationTime: smithy_client_1.expectLong(output.creationTime),
|
|
3843
3843
|
};
|
|
3844
3844
|
};
|
|
3845
3845
|
const deserializeAws_json1_1ExportTasks = (output, context) => {
|
|
@@ -3872,10 +3872,10 @@ const deserializeAws_json1_1ExtractedValues = (output, context) => {
|
|
|
3872
3872
|
const deserializeAws_json1_1FilteredLogEvent = (output, context) => {
|
|
3873
3873
|
return {
|
|
3874
3874
|
eventId: smithy_client_1.expectString(output.eventId),
|
|
3875
|
-
ingestionTime: smithy_client_1.
|
|
3875
|
+
ingestionTime: smithy_client_1.expectLong(output.ingestionTime),
|
|
3876
3876
|
logStreamName: smithy_client_1.expectString(output.logStreamName),
|
|
3877
3877
|
message: smithy_client_1.expectString(output.message),
|
|
3878
|
-
timestamp: smithy_client_1.
|
|
3878
|
+
timestamp: smithy_client_1.expectLong(output.timestamp),
|
|
3879
3879
|
};
|
|
3880
3880
|
};
|
|
3881
3881
|
const deserializeAws_json1_1FilteredLogEvents = (output, context) => {
|
|
@@ -3962,18 +3962,18 @@ const deserializeAws_json1_1ListTagsLogGroupResponse = (output, context) => {
|
|
|
3962
3962
|
const deserializeAws_json1_1LogGroup = (output, context) => {
|
|
3963
3963
|
return {
|
|
3964
3964
|
arn: smithy_client_1.expectString(output.arn),
|
|
3965
|
-
creationTime: smithy_client_1.
|
|
3965
|
+
creationTime: smithy_client_1.expectLong(output.creationTime),
|
|
3966
3966
|
kmsKeyId: smithy_client_1.expectString(output.kmsKeyId),
|
|
3967
3967
|
logGroupName: smithy_client_1.expectString(output.logGroupName),
|
|
3968
|
-
metricFilterCount: smithy_client_1.
|
|
3969
|
-
retentionInDays: smithy_client_1.
|
|
3970
|
-
storedBytes: smithy_client_1.
|
|
3968
|
+
metricFilterCount: smithy_client_1.expectInt32(output.metricFilterCount),
|
|
3969
|
+
retentionInDays: smithy_client_1.expectInt32(output.retentionInDays),
|
|
3970
|
+
storedBytes: smithy_client_1.expectLong(output.storedBytes),
|
|
3971
3971
|
};
|
|
3972
3972
|
};
|
|
3973
3973
|
const deserializeAws_json1_1LogGroupField = (output, context) => {
|
|
3974
3974
|
return {
|
|
3975
3975
|
name: smithy_client_1.expectString(output.name),
|
|
3976
|
-
percent: smithy_client_1.
|
|
3976
|
+
percent: smithy_client_1.expectInt32(output.percent),
|
|
3977
3977
|
};
|
|
3978
3978
|
};
|
|
3979
3979
|
const deserializeAws_json1_1LogGroupFieldList = (output, context) => {
|
|
@@ -4020,12 +4020,12 @@ const deserializeAws_json1_1LogRecord = (output, context) => {
|
|
|
4020
4020
|
const deserializeAws_json1_1LogStream = (output, context) => {
|
|
4021
4021
|
return {
|
|
4022
4022
|
arn: smithy_client_1.expectString(output.arn),
|
|
4023
|
-
creationTime: smithy_client_1.
|
|
4024
|
-
firstEventTimestamp: smithy_client_1.
|
|
4025
|
-
lastEventTimestamp: smithy_client_1.
|
|
4026
|
-
lastIngestionTime: smithy_client_1.
|
|
4023
|
+
creationTime: smithy_client_1.expectLong(output.creationTime),
|
|
4024
|
+
firstEventTimestamp: smithy_client_1.expectLong(output.firstEventTimestamp),
|
|
4025
|
+
lastEventTimestamp: smithy_client_1.expectLong(output.lastEventTimestamp),
|
|
4026
|
+
lastIngestionTime: smithy_client_1.expectLong(output.lastIngestionTime),
|
|
4027
4027
|
logStreamName: smithy_client_1.expectString(output.logStreamName),
|
|
4028
|
-
storedBytes: smithy_client_1.
|
|
4028
|
+
storedBytes: smithy_client_1.expectLong(output.storedBytes),
|
|
4029
4029
|
uploadSequenceToken: smithy_client_1.expectString(output.uploadSequenceToken),
|
|
4030
4030
|
};
|
|
4031
4031
|
};
|
|
@@ -4049,7 +4049,7 @@ const deserializeAws_json1_1MalformedQueryException = (output, context) => {
|
|
|
4049
4049
|
};
|
|
4050
4050
|
const deserializeAws_json1_1MetricFilter = (output, context) => {
|
|
4051
4051
|
return {
|
|
4052
|
-
creationTime: smithy_client_1.
|
|
4052
|
+
creationTime: smithy_client_1.expectLong(output.creationTime),
|
|
4053
4053
|
filterName: smithy_client_1.expectString(output.filterName),
|
|
4054
4054
|
filterPattern: smithy_client_1.expectString(output.filterPattern),
|
|
4055
4055
|
logGroupName: smithy_client_1.expectString(output.logGroupName),
|
|
@@ -4071,7 +4071,7 @@ const deserializeAws_json1_1MetricFilterMatches = (output, context) => {
|
|
|
4071
4071
|
const deserializeAws_json1_1MetricFilterMatchRecord = (output, context) => {
|
|
4072
4072
|
return {
|
|
4073
4073
|
eventMessage: smithy_client_1.expectString(output.eventMessage),
|
|
4074
|
-
eventNumber: smithy_client_1.
|
|
4074
|
+
eventNumber: smithy_client_1.expectLong(output.eventNumber),
|
|
4075
4075
|
extractedValues: output.extractedValues !== undefined && output.extractedValues !== null
|
|
4076
4076
|
? deserializeAws_json1_1ExtractedValues(output.extractedValues, context)
|
|
4077
4077
|
: undefined,
|
|
@@ -4089,7 +4089,7 @@ const deserializeAws_json1_1MetricFilters = (output, context) => {
|
|
|
4089
4089
|
};
|
|
4090
4090
|
const deserializeAws_json1_1MetricTransformation = (output, context) => {
|
|
4091
4091
|
return {
|
|
4092
|
-
defaultValue: smithy_client_1.
|
|
4092
|
+
defaultValue: smithy_client_1.limitedParseDouble(output.defaultValue),
|
|
4093
4093
|
dimensions: output.dimensions !== undefined && output.dimensions !== null
|
|
4094
4094
|
? deserializeAws_json1_1Dimensions(output.dimensions, context)
|
|
4095
4095
|
: undefined,
|
|
@@ -4116,9 +4116,9 @@ const deserializeAws_json1_1OperationAbortedException = (output, context) => {
|
|
|
4116
4116
|
};
|
|
4117
4117
|
const deserializeAws_json1_1OutputLogEvent = (output, context) => {
|
|
4118
4118
|
return {
|
|
4119
|
-
ingestionTime: smithy_client_1.
|
|
4119
|
+
ingestionTime: smithy_client_1.expectLong(output.ingestionTime),
|
|
4120
4120
|
message: smithy_client_1.expectString(output.message),
|
|
4121
|
-
timestamp: smithy_client_1.
|
|
4121
|
+
timestamp: smithy_client_1.expectLong(output.timestamp),
|
|
4122
4122
|
};
|
|
4123
4123
|
};
|
|
4124
4124
|
const deserializeAws_json1_1OutputLogEvents = (output, context) => {
|
|
@@ -4168,13 +4168,13 @@ const deserializeAws_json1_1QueryCompileError = (output, context) => {
|
|
|
4168
4168
|
};
|
|
4169
4169
|
const deserializeAws_json1_1QueryCompileErrorLocation = (output, context) => {
|
|
4170
4170
|
return {
|
|
4171
|
-
endCharOffset: smithy_client_1.
|
|
4172
|
-
startCharOffset: smithy_client_1.
|
|
4171
|
+
endCharOffset: smithy_client_1.expectInt32(output.endCharOffset),
|
|
4172
|
+
startCharOffset: smithy_client_1.expectInt32(output.startCharOffset),
|
|
4173
4173
|
};
|
|
4174
4174
|
};
|
|
4175
4175
|
const deserializeAws_json1_1QueryDefinition = (output, context) => {
|
|
4176
4176
|
return {
|
|
4177
|
-
lastModified: smithy_client_1.
|
|
4177
|
+
lastModified: smithy_client_1.expectLong(output.lastModified),
|
|
4178
4178
|
logGroupNames: output.logGroupNames !== undefined && output.logGroupNames !== null
|
|
4179
4179
|
? deserializeAws_json1_1LogGroupNames(output.logGroupNames, context)
|
|
4180
4180
|
: undefined,
|
|
@@ -4195,7 +4195,7 @@ const deserializeAws_json1_1QueryDefinitionList = (output, context) => {
|
|
|
4195
4195
|
};
|
|
4196
4196
|
const deserializeAws_json1_1QueryInfo = (output, context) => {
|
|
4197
4197
|
return {
|
|
4198
|
-
createTime: smithy_client_1.
|
|
4198
|
+
createTime: smithy_client_1.expectLong(output.createTime),
|
|
4199
4199
|
logGroupName: smithy_client_1.expectString(output.logGroupName),
|
|
4200
4200
|
queryId: smithy_client_1.expectString(output.queryId),
|
|
4201
4201
|
queryString: smithy_client_1.expectString(output.queryString),
|
|
@@ -4224,16 +4224,16 @@ const deserializeAws_json1_1QueryResults = (output, context) => {
|
|
|
4224
4224
|
};
|
|
4225
4225
|
const deserializeAws_json1_1QueryStatistics = (output, context) => {
|
|
4226
4226
|
return {
|
|
4227
|
-
bytesScanned: smithy_client_1.
|
|
4228
|
-
recordsMatched: smithy_client_1.
|
|
4229
|
-
recordsScanned: smithy_client_1.
|
|
4227
|
+
bytesScanned: smithy_client_1.limitedParseDouble(output.bytesScanned),
|
|
4228
|
+
recordsMatched: smithy_client_1.limitedParseDouble(output.recordsMatched),
|
|
4229
|
+
recordsScanned: smithy_client_1.limitedParseDouble(output.recordsScanned),
|
|
4230
4230
|
};
|
|
4231
4231
|
};
|
|
4232
4232
|
const deserializeAws_json1_1RejectedLogEventsInfo = (output, context) => {
|
|
4233
4233
|
return {
|
|
4234
|
-
expiredLogEventEndIndex: smithy_client_1.
|
|
4235
|
-
tooNewLogEventStartIndex: smithy_client_1.
|
|
4236
|
-
tooOldLogEventEndIndex: smithy_client_1.
|
|
4234
|
+
expiredLogEventEndIndex: smithy_client_1.expectInt32(output.expiredLogEventEndIndex),
|
|
4235
|
+
tooNewLogEventStartIndex: smithy_client_1.expectInt32(output.tooNewLogEventStartIndex),
|
|
4236
|
+
tooOldLogEventEndIndex: smithy_client_1.expectInt32(output.tooOldLogEventEndIndex),
|
|
4237
4237
|
};
|
|
4238
4238
|
};
|
|
4239
4239
|
const deserializeAws_json1_1ResourceAlreadyExistsException = (output, context) => {
|
|
@@ -4258,7 +4258,7 @@ const deserializeAws_json1_1ResourcePolicies = (output, context) => {
|
|
|
4258
4258
|
};
|
|
4259
4259
|
const deserializeAws_json1_1ResourcePolicy = (output, context) => {
|
|
4260
4260
|
return {
|
|
4261
|
-
lastUpdatedTime: smithy_client_1.
|
|
4261
|
+
lastUpdatedTime: smithy_client_1.expectLong(output.lastUpdatedTime),
|
|
4262
4262
|
policyDocument: smithy_client_1.expectString(output.policyDocument),
|
|
4263
4263
|
policyName: smithy_client_1.expectString(output.policyName),
|
|
4264
4264
|
};
|
|
@@ -4312,7 +4312,7 @@ const deserializeAws_json1_1StopQueryResponse = (output, context) => {
|
|
|
4312
4312
|
};
|
|
4313
4313
|
const deserializeAws_json1_1SubscriptionFilter = (output, context) => {
|
|
4314
4314
|
return {
|
|
4315
|
-
creationTime: smithy_client_1.
|
|
4315
|
+
creationTime: smithy_client_1.expectLong(output.creationTime),
|
|
4316
4316
|
destinationArn: smithy_client_1.expectString(output.destinationArn),
|
|
4317
4317
|
distribution: smithy_client_1.expectString(output.distribution),
|
|
4318
4318
|
filterName: smithy_client_1.expectString(output.filterName),
|