@aws-sdk/client-cloudwatch 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 +32 -32
- package/dist/cjs/protocols/Aws_query.js +23 -23
- package/dist/cjs/protocols/Aws_query.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/package.json +32 -32
- package/dist/es/protocols/Aws_query.js +24 -24
- package/dist/es/protocols/Aws_query.js.map +1 -1
- package/package.json +32 -32
- package/protocols/Aws_query.ts +31 -24
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
|
|
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
|
|
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
|
|
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
|
|
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",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudwatch 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,48 +27,48 @@
|
|
|
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.
|
|
58
|
-
"@aws-sdk/util-waiter": "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
|
+
"@aws-sdk/util-waiter": "3.32.0",
|
|
59
59
|
"entities": "2.2.0",
|
|
60
60
|
"fast-xml-parser": "3.19.0",
|
|
61
61
|
"tslib": "^2.3.0"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
64
|
+
"@aws-sdk/client-documentation-generator": "3.32.0",
|
|
65
65
|
"@types/node": "^12.7.5",
|
|
66
66
|
"downlevel-dts": "0.7.0",
|
|
67
67
|
"jest": "^26.1.0",
|
|
68
68
|
"rimraf": "^3.0.0",
|
|
69
69
|
"ts-jest": "^26.4.1",
|
|
70
70
|
"typedoc": "^0.19.2",
|
|
71
|
-
"typescript": "~4.3.
|
|
71
|
+
"typescript": "~4.3.5"
|
|
72
72
|
},
|
|
73
73
|
"engines": {
|
|
74
74
|
"node": ">=10.0.0"
|
|
@@ -3886,7 +3886,7 @@ const deserializeAws_queryAlarmHistoryItem = (output, context) => {
|
|
|
3886
3886
|
contents.AlarmType = smithy_client_1.expectString(output["AlarmType"]);
|
|
3887
3887
|
}
|
|
3888
3888
|
if (output["Timestamp"] !== undefined) {
|
|
3889
|
-
contents.Timestamp =
|
|
3889
|
+
contents.Timestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["Timestamp"]));
|
|
3890
3890
|
}
|
|
3891
3891
|
if (output["HistoryItemType"] !== undefined) {
|
|
3892
3892
|
contents.HistoryItemType = smithy_client_1.expectString(output["HistoryItemType"]);
|
|
@@ -4016,7 +4016,7 @@ const deserializeAws_queryCompositeAlarm = (output, context) => {
|
|
|
4016
4016
|
contents.AlarmArn = smithy_client_1.expectString(output["AlarmArn"]);
|
|
4017
4017
|
}
|
|
4018
4018
|
if (output["AlarmConfigurationUpdatedTimestamp"] !== undefined) {
|
|
4019
|
-
contents.AlarmConfigurationUpdatedTimestamp =
|
|
4019
|
+
contents.AlarmConfigurationUpdatedTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["AlarmConfigurationUpdatedTimestamp"]));
|
|
4020
4020
|
}
|
|
4021
4021
|
if (output["AlarmDescription"] !== undefined) {
|
|
4022
4022
|
contents.AlarmDescription = smithy_client_1.expectString(output["AlarmDescription"]);
|
|
@@ -4046,7 +4046,7 @@ const deserializeAws_queryCompositeAlarm = (output, context) => {
|
|
|
4046
4046
|
contents.StateReasonData = smithy_client_1.expectString(output["StateReasonData"]);
|
|
4047
4047
|
}
|
|
4048
4048
|
if (output["StateUpdatedTimestamp"] !== undefined) {
|
|
4049
|
-
contents.StateUpdatedTimestamp =
|
|
4049
|
+
contents.StateUpdatedTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["StateUpdatedTimestamp"]));
|
|
4050
4050
|
}
|
|
4051
4051
|
if (output["StateValue"] !== undefined) {
|
|
4052
4052
|
contents.StateValue = smithy_client_1.expectString(output["StateValue"]);
|
|
@@ -4096,10 +4096,10 @@ const deserializeAws_queryDashboardEntry = (output, context) => {
|
|
|
4096
4096
|
contents.DashboardArn = smithy_client_1.expectString(output["DashboardArn"]);
|
|
4097
4097
|
}
|
|
4098
4098
|
if (output["LastModified"] !== undefined) {
|
|
4099
|
-
contents.LastModified =
|
|
4099
|
+
contents.LastModified = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastModified"]));
|
|
4100
4100
|
}
|
|
4101
4101
|
if (output["Size"] !== undefined) {
|
|
4102
|
-
contents.Size = smithy_client_1.
|
|
4102
|
+
contents.Size = smithy_client_1.strictParseLong(output["Size"]);
|
|
4103
4103
|
}
|
|
4104
4104
|
return contents;
|
|
4105
4105
|
};
|
|
@@ -4164,7 +4164,7 @@ const deserializeAws_queryDatapoint = (output, context) => {
|
|
|
4164
4164
|
ExtendedStatistics: undefined,
|
|
4165
4165
|
};
|
|
4166
4166
|
if (output["Timestamp"] !== undefined) {
|
|
4167
|
-
contents.Timestamp =
|
|
4167
|
+
contents.Timestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["Timestamp"]));
|
|
4168
4168
|
}
|
|
4169
4169
|
if (output["SampleCount"] !== undefined) {
|
|
4170
4170
|
contents.SampleCount = smithy_client_1.strictParseFloat(output["SampleCount"]);
|
|
@@ -4416,7 +4416,7 @@ const deserializeAws_queryGetInsightRuleReportOutput = (output, context) => {
|
|
|
4416
4416
|
contents.AggregateValue = smithy_client_1.strictParseFloat(output["AggregateValue"]);
|
|
4417
4417
|
}
|
|
4418
4418
|
if (output["ApproximateUniqueCount"] !== undefined) {
|
|
4419
|
-
contents.ApproximateUniqueCount = smithy_client_1.
|
|
4419
|
+
contents.ApproximateUniqueCount = smithy_client_1.strictParseLong(output["ApproximateUniqueCount"]);
|
|
4420
4420
|
}
|
|
4421
4421
|
if (output.Contributors === "") {
|
|
4422
4422
|
contents.Contributors = [];
|
|
@@ -4512,10 +4512,10 @@ const deserializeAws_queryGetMetricStreamOutput = (output, context) => {
|
|
|
4512
4512
|
contents.State = smithy_client_1.expectString(output["State"]);
|
|
4513
4513
|
}
|
|
4514
4514
|
if (output["CreationDate"] !== undefined) {
|
|
4515
|
-
contents.CreationDate =
|
|
4515
|
+
contents.CreationDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreationDate"]));
|
|
4516
4516
|
}
|
|
4517
4517
|
if (output["LastUpdateDate"] !== undefined) {
|
|
4518
|
-
contents.LastUpdateDate =
|
|
4518
|
+
contents.LastUpdateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastUpdateDate"]));
|
|
4519
4519
|
}
|
|
4520
4520
|
if (output["OutputFormat"] !== undefined) {
|
|
4521
4521
|
contents.OutputFormat = smithy_client_1.expectString(output["OutputFormat"]);
|
|
@@ -4581,7 +4581,7 @@ const deserializeAws_queryInsightRuleContributorDatapoint = (output, context) =>
|
|
|
4581
4581
|
ApproximateValue: undefined,
|
|
4582
4582
|
};
|
|
4583
4583
|
if (output["Timestamp"] !== undefined) {
|
|
4584
|
-
contents.Timestamp =
|
|
4584
|
+
contents.Timestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["Timestamp"]));
|
|
4585
4585
|
}
|
|
4586
4586
|
if (output["ApproximateValue"] !== undefined) {
|
|
4587
4587
|
contents.ApproximateValue = smithy_client_1.strictParseFloat(output["ApproximateValue"]);
|
|
@@ -4640,7 +4640,7 @@ const deserializeAws_queryInsightRuleMetricDatapoint = (output, context) => {
|
|
|
4640
4640
|
Maximum: undefined,
|
|
4641
4641
|
};
|
|
4642
4642
|
if (output["Timestamp"] !== undefined) {
|
|
4643
|
-
contents.Timestamp =
|
|
4643
|
+
contents.Timestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["Timestamp"]));
|
|
4644
4644
|
}
|
|
4645
4645
|
if (output["UniqueContributors"] !== undefined) {
|
|
4646
4646
|
contents.UniqueContributors = smithy_client_1.strictParseFloat(output["UniqueContributors"]);
|
|
@@ -4881,7 +4881,7 @@ const deserializeAws_queryMetricAlarm = (output, context) => {
|
|
|
4881
4881
|
contents.AlarmDescription = smithy_client_1.expectString(output["AlarmDescription"]);
|
|
4882
4882
|
}
|
|
4883
4883
|
if (output["AlarmConfigurationUpdatedTimestamp"] !== undefined) {
|
|
4884
|
-
contents.AlarmConfigurationUpdatedTimestamp =
|
|
4884
|
+
contents.AlarmConfigurationUpdatedTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["AlarmConfigurationUpdatedTimestamp"]));
|
|
4885
4885
|
}
|
|
4886
4886
|
if (output["ActionsEnabled"] !== undefined) {
|
|
4887
4887
|
contents.ActionsEnabled = smithy_client_1.parseBoolean(output["ActionsEnabled"]);
|
|
@@ -4914,7 +4914,7 @@ const deserializeAws_queryMetricAlarm = (output, context) => {
|
|
|
4914
4914
|
contents.StateReasonData = smithy_client_1.expectString(output["StateReasonData"]);
|
|
4915
4915
|
}
|
|
4916
4916
|
if (output["StateUpdatedTimestamp"] !== undefined) {
|
|
4917
|
-
contents.StateUpdatedTimestamp =
|
|
4917
|
+
contents.StateUpdatedTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["StateUpdatedTimestamp"]));
|
|
4918
4918
|
}
|
|
4919
4919
|
if (output["MetricName"] !== undefined) {
|
|
4920
4920
|
contents.MetricName = smithy_client_1.expectString(output["MetricName"]);
|
|
@@ -4935,16 +4935,16 @@ const deserializeAws_queryMetricAlarm = (output, context) => {
|
|
|
4935
4935
|
contents.Dimensions = deserializeAws_queryDimensions(smithy_client_1.getArrayIfSingleItem(output["Dimensions"]["member"]), context);
|
|
4936
4936
|
}
|
|
4937
4937
|
if (output["Period"] !== undefined) {
|
|
4938
|
-
contents.Period = smithy_client_1.
|
|
4938
|
+
contents.Period = smithy_client_1.strictParseInt32(output["Period"]);
|
|
4939
4939
|
}
|
|
4940
4940
|
if (output["Unit"] !== undefined) {
|
|
4941
4941
|
contents.Unit = smithy_client_1.expectString(output["Unit"]);
|
|
4942
4942
|
}
|
|
4943
4943
|
if (output["EvaluationPeriods"] !== undefined) {
|
|
4944
|
-
contents.EvaluationPeriods = smithy_client_1.
|
|
4944
|
+
contents.EvaluationPeriods = smithy_client_1.strictParseInt32(output["EvaluationPeriods"]);
|
|
4945
4945
|
}
|
|
4946
4946
|
if (output["DatapointsToAlarm"] !== undefined) {
|
|
4947
|
-
contents.DatapointsToAlarm = smithy_client_1.
|
|
4947
|
+
contents.DatapointsToAlarm = smithy_client_1.strictParseInt32(output["DatapointsToAlarm"]);
|
|
4948
4948
|
}
|
|
4949
4949
|
if (output["Threshold"] !== undefined) {
|
|
4950
4950
|
contents.Threshold = smithy_client_1.strictParseFloat(output["Threshold"]);
|
|
@@ -5015,7 +5015,7 @@ const deserializeAws_queryMetricDataQuery = (output, context) => {
|
|
|
5015
5015
|
contents.ReturnData = smithy_client_1.parseBoolean(output["ReturnData"]);
|
|
5016
5016
|
}
|
|
5017
5017
|
if (output["Period"] !== undefined) {
|
|
5018
|
-
contents.Period = smithy_client_1.
|
|
5018
|
+
contents.Period = smithy_client_1.strictParseInt32(output["Period"]);
|
|
5019
5019
|
}
|
|
5020
5020
|
if (output["AccountId"] !== undefined) {
|
|
5021
5021
|
contents.AccountId = smithy_client_1.expectString(output["AccountId"]);
|
|
@@ -5101,7 +5101,7 @@ const deserializeAws_queryMetricStat = (output, context) => {
|
|
|
5101
5101
|
contents.Metric = deserializeAws_queryMetric(output["Metric"], context);
|
|
5102
5102
|
}
|
|
5103
5103
|
if (output["Period"] !== undefined) {
|
|
5104
|
-
contents.Period = smithy_client_1.
|
|
5104
|
+
contents.Period = smithy_client_1.strictParseInt32(output["Period"]);
|
|
5105
5105
|
}
|
|
5106
5106
|
if (output["Stat"] !== undefined) {
|
|
5107
5107
|
contents.Stat = smithy_client_1.expectString(output["Stat"]);
|
|
@@ -5135,10 +5135,10 @@ const deserializeAws_queryMetricStreamEntry = (output, context) => {
|
|
|
5135
5135
|
contents.Arn = smithy_client_1.expectString(output["Arn"]);
|
|
5136
5136
|
}
|
|
5137
5137
|
if (output["CreationDate"] !== undefined) {
|
|
5138
|
-
contents.CreationDate =
|
|
5138
|
+
contents.CreationDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreationDate"]));
|
|
5139
5139
|
}
|
|
5140
5140
|
if (output["LastUpdateDate"] !== undefined) {
|
|
5141
|
-
contents.LastUpdateDate =
|
|
5141
|
+
contents.LastUpdateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastUpdateDate"]));
|
|
5142
5142
|
}
|
|
5143
5143
|
if (output["Name"] !== undefined) {
|
|
5144
5144
|
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
@@ -5239,10 +5239,10 @@ const deserializeAws_queryRange = (output, context) => {
|
|
|
5239
5239
|
EndTime: undefined,
|
|
5240
5240
|
};
|
|
5241
5241
|
if (output["StartTime"] !== undefined) {
|
|
5242
|
-
contents.StartTime =
|
|
5242
|
+
contents.StartTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["StartTime"]));
|
|
5243
5243
|
}
|
|
5244
5244
|
if (output["EndTime"] !== undefined) {
|
|
5245
|
-
contents.EndTime =
|
|
5245
|
+
contents.EndTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["EndTime"]));
|
|
5246
5246
|
}
|
|
5247
5247
|
return contents;
|
|
5248
5248
|
};
|
|
@@ -5324,7 +5324,7 @@ const deserializeAws_queryTimestamps = (output, context) => {
|
|
|
5324
5324
|
if (entry === null) {
|
|
5325
5325
|
return null;
|
|
5326
5326
|
}
|
|
5327
|
-
return
|
|
5327
|
+
return smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(entry));
|
|
5328
5328
|
});
|
|
5329
5329
|
};
|
|
5330
5330
|
const deserializeAws_queryUntagResourceOutput = (output, context) => {
|