@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/dist/es/endpoints.js
CHANGED
|
@@ -76,8 +76,7 @@ var partitionHash = {
|
|
|
76
76
|
};
|
|
77
77
|
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
78
78
|
return __generator(this, function (_a) {
|
|
79
|
-
return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "monitoring", regionHash: regionHash,
|
|
80
|
-
partitionHash: partitionHash }))];
|
|
79
|
+
return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "monitoring", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
81
80
|
});
|
|
82
81
|
}); };
|
|
83
82
|
//# sourceMappingURL=endpoints.js.map
|
package/dist/es/endpoints.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../endpoints.ts"],"names":[],"mappings":";AAAA,OAAO,EAA6B,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAGpF,IAAM,UAAU,GAAe;IAC7B,gBAAgB,EAAE;QAChB,QAAQ,EAAE,yCAAyC;QACnD,aAAa,EAAE,WAAW;KAC3B;IACD,gBAAgB,EAAE;QAChB,QAAQ,EAAE,yCAAyC;QACnD,aAAa,EAAE,WAAW;KAC3B;IACD,oBAAoB,EAAE;QACpB,QAAQ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AC;QAC1B,QAAQ,EAAE,gCAAgC;KAC3C;IACD,WAAW,EAAE;QACX,OAAO,EAAE,CAAC,gBAAgB,CAAC;QAC3B,QAAQ,EAAE,mCAAmC;KAC9C;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,CAAC,oBAAoB,EAAE,oBAAoB,EAAE,eAAe,EAAE,eAAe,CAAC;QACvF,QAAQ,EAAE,mCAAmC;KAC9C;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,yBAAyB,GAAuB,UAAO,MAAc,EAAE,OAAa;;QAC/F,sBAAA,aAAa,CAAC,MAAM,wBACf,OAAO,KACV,cAAc,EAAE,YAAY,EAC5B,UAAU,YAAA,EACV,aAAa,eAAA,IACb,EAAA;;KAAA,CAAC"}
|
package/dist/es/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"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator, __read, __values } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, serializeFloat as __serializeFloat, strictParseFloat as __strictParseFloat,
|
|
3
|
+
import { expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTime as __parseRfc3339DateTime, serializeFloat as __serializeFloat, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { decodeHTML } from "entities";
|
|
5
5
|
import { parse as xmlParse } from "fast-xml-parser";
|
|
6
6
|
export var serializeAws_queryDeleteAlarmsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -4343,7 +4343,7 @@ var deserializeAws_queryAlarmHistoryItem = function (output, context) {
|
|
|
4343
4343
|
contents.AlarmType = __expectString(output["AlarmType"]);
|
|
4344
4344
|
}
|
|
4345
4345
|
if (output["Timestamp"] !== undefined) {
|
|
4346
|
-
contents.Timestamp =
|
|
4346
|
+
contents.Timestamp = __expectNonNull(__parseRfc3339DateTime(output["Timestamp"]));
|
|
4347
4347
|
}
|
|
4348
4348
|
if (output["HistoryItemType"] !== undefined) {
|
|
4349
4349
|
contents.HistoryItemType = __expectString(output["HistoryItemType"]);
|
|
@@ -4473,7 +4473,7 @@ var deserializeAws_queryCompositeAlarm = function (output, context) {
|
|
|
4473
4473
|
contents.AlarmArn = __expectString(output["AlarmArn"]);
|
|
4474
4474
|
}
|
|
4475
4475
|
if (output["AlarmConfigurationUpdatedTimestamp"] !== undefined) {
|
|
4476
|
-
contents.AlarmConfigurationUpdatedTimestamp =
|
|
4476
|
+
contents.AlarmConfigurationUpdatedTimestamp = __expectNonNull(__parseRfc3339DateTime(output["AlarmConfigurationUpdatedTimestamp"]));
|
|
4477
4477
|
}
|
|
4478
4478
|
if (output["AlarmDescription"] !== undefined) {
|
|
4479
4479
|
contents.AlarmDescription = __expectString(output["AlarmDescription"]);
|
|
@@ -4503,7 +4503,7 @@ var deserializeAws_queryCompositeAlarm = function (output, context) {
|
|
|
4503
4503
|
contents.StateReasonData = __expectString(output["StateReasonData"]);
|
|
4504
4504
|
}
|
|
4505
4505
|
if (output["StateUpdatedTimestamp"] !== undefined) {
|
|
4506
|
-
contents.StateUpdatedTimestamp =
|
|
4506
|
+
contents.StateUpdatedTimestamp = __expectNonNull(__parseRfc3339DateTime(output["StateUpdatedTimestamp"]));
|
|
4507
4507
|
}
|
|
4508
4508
|
if (output["StateValue"] !== undefined) {
|
|
4509
4509
|
contents.StateValue = __expectString(output["StateValue"]);
|
|
@@ -4553,10 +4553,10 @@ var deserializeAws_queryDashboardEntry = function (output, context) {
|
|
|
4553
4553
|
contents.DashboardArn = __expectString(output["DashboardArn"]);
|
|
4554
4554
|
}
|
|
4555
4555
|
if (output["LastModified"] !== undefined) {
|
|
4556
|
-
contents.LastModified =
|
|
4556
|
+
contents.LastModified = __expectNonNull(__parseRfc3339DateTime(output["LastModified"]));
|
|
4557
4557
|
}
|
|
4558
4558
|
if (output["Size"] !== undefined) {
|
|
4559
|
-
contents.Size =
|
|
4559
|
+
contents.Size = __strictParseLong(output["Size"]);
|
|
4560
4560
|
}
|
|
4561
4561
|
return contents;
|
|
4562
4562
|
};
|
|
@@ -4621,7 +4621,7 @@ var deserializeAws_queryDatapoint = function (output, context) {
|
|
|
4621
4621
|
ExtendedStatistics: undefined,
|
|
4622
4622
|
};
|
|
4623
4623
|
if (output["Timestamp"] !== undefined) {
|
|
4624
|
-
contents.Timestamp =
|
|
4624
|
+
contents.Timestamp = __expectNonNull(__parseRfc3339DateTime(output["Timestamp"]));
|
|
4625
4625
|
}
|
|
4626
4626
|
if (output["SampleCount"] !== undefined) {
|
|
4627
4627
|
contents.SampleCount = __strictParseFloat(output["SampleCount"]);
|
|
@@ -4871,7 +4871,7 @@ var deserializeAws_queryGetInsightRuleReportOutput = function (output, context)
|
|
|
4871
4871
|
contents.AggregateValue = __strictParseFloat(output["AggregateValue"]);
|
|
4872
4872
|
}
|
|
4873
4873
|
if (output["ApproximateUniqueCount"] !== undefined) {
|
|
4874
|
-
contents.ApproximateUniqueCount =
|
|
4874
|
+
contents.ApproximateUniqueCount = __strictParseLong(output["ApproximateUniqueCount"]);
|
|
4875
4875
|
}
|
|
4876
4876
|
if (output.Contributors === "") {
|
|
4877
4877
|
contents.Contributors = [];
|
|
@@ -4967,10 +4967,10 @@ var deserializeAws_queryGetMetricStreamOutput = function (output, context) {
|
|
|
4967
4967
|
contents.State = __expectString(output["State"]);
|
|
4968
4968
|
}
|
|
4969
4969
|
if (output["CreationDate"] !== undefined) {
|
|
4970
|
-
contents.CreationDate =
|
|
4970
|
+
contents.CreationDate = __expectNonNull(__parseRfc3339DateTime(output["CreationDate"]));
|
|
4971
4971
|
}
|
|
4972
4972
|
if (output["LastUpdateDate"] !== undefined) {
|
|
4973
|
-
contents.LastUpdateDate =
|
|
4973
|
+
contents.LastUpdateDate = __expectNonNull(__parseRfc3339DateTime(output["LastUpdateDate"]));
|
|
4974
4974
|
}
|
|
4975
4975
|
if (output["OutputFormat"] !== undefined) {
|
|
4976
4976
|
contents.OutputFormat = __expectString(output["OutputFormat"]);
|
|
@@ -5036,7 +5036,7 @@ var deserializeAws_queryInsightRuleContributorDatapoint = function (output, cont
|
|
|
5036
5036
|
ApproximateValue: undefined,
|
|
5037
5037
|
};
|
|
5038
5038
|
if (output["Timestamp"] !== undefined) {
|
|
5039
|
-
contents.Timestamp =
|
|
5039
|
+
contents.Timestamp = __expectNonNull(__parseRfc3339DateTime(output["Timestamp"]));
|
|
5040
5040
|
}
|
|
5041
5041
|
if (output["ApproximateValue"] !== undefined) {
|
|
5042
5042
|
contents.ApproximateValue = __strictParseFloat(output["ApproximateValue"]);
|
|
@@ -5095,7 +5095,7 @@ var deserializeAws_queryInsightRuleMetricDatapoint = function (output, context)
|
|
|
5095
5095
|
Maximum: undefined,
|
|
5096
5096
|
};
|
|
5097
5097
|
if (output["Timestamp"] !== undefined) {
|
|
5098
|
-
contents.Timestamp =
|
|
5098
|
+
contents.Timestamp = __expectNonNull(__parseRfc3339DateTime(output["Timestamp"]));
|
|
5099
5099
|
}
|
|
5100
5100
|
if (output["UniqueContributors"] !== undefined) {
|
|
5101
5101
|
contents.UniqueContributors = __strictParseFloat(output["UniqueContributors"]);
|
|
@@ -5336,7 +5336,7 @@ var deserializeAws_queryMetricAlarm = function (output, context) {
|
|
|
5336
5336
|
contents.AlarmDescription = __expectString(output["AlarmDescription"]);
|
|
5337
5337
|
}
|
|
5338
5338
|
if (output["AlarmConfigurationUpdatedTimestamp"] !== undefined) {
|
|
5339
|
-
contents.AlarmConfigurationUpdatedTimestamp =
|
|
5339
|
+
contents.AlarmConfigurationUpdatedTimestamp = __expectNonNull(__parseRfc3339DateTime(output["AlarmConfigurationUpdatedTimestamp"]));
|
|
5340
5340
|
}
|
|
5341
5341
|
if (output["ActionsEnabled"] !== undefined) {
|
|
5342
5342
|
contents.ActionsEnabled = __parseBoolean(output["ActionsEnabled"]);
|
|
@@ -5369,7 +5369,7 @@ var deserializeAws_queryMetricAlarm = function (output, context) {
|
|
|
5369
5369
|
contents.StateReasonData = __expectString(output["StateReasonData"]);
|
|
5370
5370
|
}
|
|
5371
5371
|
if (output["StateUpdatedTimestamp"] !== undefined) {
|
|
5372
|
-
contents.StateUpdatedTimestamp =
|
|
5372
|
+
contents.StateUpdatedTimestamp = __expectNonNull(__parseRfc3339DateTime(output["StateUpdatedTimestamp"]));
|
|
5373
5373
|
}
|
|
5374
5374
|
if (output["MetricName"] !== undefined) {
|
|
5375
5375
|
contents.MetricName = __expectString(output["MetricName"]);
|
|
@@ -5390,16 +5390,16 @@ var deserializeAws_queryMetricAlarm = function (output, context) {
|
|
|
5390
5390
|
contents.Dimensions = deserializeAws_queryDimensions(__getArrayIfSingleItem(output["Dimensions"]["member"]), context);
|
|
5391
5391
|
}
|
|
5392
5392
|
if (output["Period"] !== undefined) {
|
|
5393
|
-
contents.Period =
|
|
5393
|
+
contents.Period = __strictParseInt32(output["Period"]);
|
|
5394
5394
|
}
|
|
5395
5395
|
if (output["Unit"] !== undefined) {
|
|
5396
5396
|
contents.Unit = __expectString(output["Unit"]);
|
|
5397
5397
|
}
|
|
5398
5398
|
if (output["EvaluationPeriods"] !== undefined) {
|
|
5399
|
-
contents.EvaluationPeriods =
|
|
5399
|
+
contents.EvaluationPeriods = __strictParseInt32(output["EvaluationPeriods"]);
|
|
5400
5400
|
}
|
|
5401
5401
|
if (output["DatapointsToAlarm"] !== undefined) {
|
|
5402
|
-
contents.DatapointsToAlarm =
|
|
5402
|
+
contents.DatapointsToAlarm = __strictParseInt32(output["DatapointsToAlarm"]);
|
|
5403
5403
|
}
|
|
5404
5404
|
if (output["Threshold"] !== undefined) {
|
|
5405
5405
|
contents.Threshold = __strictParseFloat(output["Threshold"]);
|
|
@@ -5470,7 +5470,7 @@ var deserializeAws_queryMetricDataQuery = function (output, context) {
|
|
|
5470
5470
|
contents.ReturnData = __parseBoolean(output["ReturnData"]);
|
|
5471
5471
|
}
|
|
5472
5472
|
if (output["Period"] !== undefined) {
|
|
5473
|
-
contents.Period =
|
|
5473
|
+
contents.Period = __strictParseInt32(output["Period"]);
|
|
5474
5474
|
}
|
|
5475
5475
|
if (output["AccountId"] !== undefined) {
|
|
5476
5476
|
contents.AccountId = __expectString(output["AccountId"]);
|
|
@@ -5556,7 +5556,7 @@ var deserializeAws_queryMetricStat = function (output, context) {
|
|
|
5556
5556
|
contents.Metric = deserializeAws_queryMetric(output["Metric"], context);
|
|
5557
5557
|
}
|
|
5558
5558
|
if (output["Period"] !== undefined) {
|
|
5559
|
-
contents.Period =
|
|
5559
|
+
contents.Period = __strictParseInt32(output["Period"]);
|
|
5560
5560
|
}
|
|
5561
5561
|
if (output["Stat"] !== undefined) {
|
|
5562
5562
|
contents.Stat = __expectString(output["Stat"]);
|
|
@@ -5590,10 +5590,10 @@ var deserializeAws_queryMetricStreamEntry = function (output, context) {
|
|
|
5590
5590
|
contents.Arn = __expectString(output["Arn"]);
|
|
5591
5591
|
}
|
|
5592
5592
|
if (output["CreationDate"] !== undefined) {
|
|
5593
|
-
contents.CreationDate =
|
|
5593
|
+
contents.CreationDate = __expectNonNull(__parseRfc3339DateTime(output["CreationDate"]));
|
|
5594
5594
|
}
|
|
5595
5595
|
if (output["LastUpdateDate"] !== undefined) {
|
|
5596
|
-
contents.LastUpdateDate =
|
|
5596
|
+
contents.LastUpdateDate = __expectNonNull(__parseRfc3339DateTime(output["LastUpdateDate"]));
|
|
5597
5597
|
}
|
|
5598
5598
|
if (output["Name"] !== undefined) {
|
|
5599
5599
|
contents.Name = __expectString(output["Name"]);
|
|
@@ -5694,10 +5694,10 @@ var deserializeAws_queryRange = function (output, context) {
|
|
|
5694
5694
|
EndTime: undefined,
|
|
5695
5695
|
};
|
|
5696
5696
|
if (output["StartTime"] !== undefined) {
|
|
5697
|
-
contents.StartTime =
|
|
5697
|
+
contents.StartTime = __expectNonNull(__parseRfc3339DateTime(output["StartTime"]));
|
|
5698
5698
|
}
|
|
5699
5699
|
if (output["EndTime"] !== undefined) {
|
|
5700
|
-
contents.EndTime =
|
|
5700
|
+
contents.EndTime = __expectNonNull(__parseRfc3339DateTime(output["EndTime"]));
|
|
5701
5701
|
}
|
|
5702
5702
|
return contents;
|
|
5703
5703
|
};
|
|
@@ -5779,7 +5779,7 @@ var deserializeAws_queryTimestamps = function (output, context) {
|
|
|
5779
5779
|
if (entry === null) {
|
|
5780
5780
|
return null;
|
|
5781
5781
|
}
|
|
5782
|
-
return
|
|
5782
|
+
return __expectNonNull(__parseRfc3339DateTime(entry));
|
|
5783
5783
|
});
|
|
5784
5784
|
};
|
|
5785
5785
|
var deserializeAws_queryUntagResourceOutput = function (output, context) {
|