@aws-sdk/client-cloudwatch 3.296.0 → 3.297.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/dist-cjs/protocols/Aws_query.js +64 -347
- package/dist-es/protocols/Aws_query.js +64 -347
- package/dist-types/CloudWatch.d.ts +39 -0
- package/dist-types/CloudWatchClient.d.ts +24 -4
- package/dist-types/commands/DeleteAlarmsCommand.d.ts +16 -0
- package/dist-types/commands/DeleteAnomalyDetectorCommand.d.ts +16 -0
- package/dist-types/commands/DeleteDashboardsCommand.d.ts +16 -0
- package/dist-types/commands/DeleteInsightRulesCommand.d.ts +16 -0
- package/dist-types/commands/DeleteMetricStreamCommand.d.ts +16 -0
- package/dist-types/commands/DescribeAlarmHistoryCommand.d.ts +16 -0
- package/dist-types/commands/DescribeAlarmsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeAlarmsForMetricCommand.d.ts +16 -0
- package/dist-types/commands/DescribeAnomalyDetectorsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeInsightRulesCommand.d.ts +16 -0
- package/dist-types/commands/DisableAlarmActionsCommand.d.ts +16 -0
- package/dist-types/commands/DisableInsightRulesCommand.d.ts +16 -0
- package/dist-types/commands/EnableAlarmActionsCommand.d.ts +16 -0
- package/dist-types/commands/EnableInsightRulesCommand.d.ts +16 -0
- package/dist-types/commands/GetDashboardCommand.d.ts +16 -0
- package/dist-types/commands/GetInsightRuleReportCommand.d.ts +16 -0
- package/dist-types/commands/GetMetricDataCommand.d.ts +16 -0
- package/dist-types/commands/GetMetricStatisticsCommand.d.ts +16 -0
- package/dist-types/commands/GetMetricStreamCommand.d.ts +16 -0
- package/dist-types/commands/GetMetricWidgetImageCommand.d.ts +16 -0
- package/dist-types/commands/ListDashboardsCommand.d.ts +16 -0
- package/dist-types/commands/ListManagedInsightRulesCommand.d.ts +16 -0
- package/dist-types/commands/ListMetricStreamsCommand.d.ts +16 -0
- package/dist-types/commands/ListMetricsCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/PutAnomalyDetectorCommand.d.ts +16 -0
- package/dist-types/commands/PutCompositeAlarmCommand.d.ts +16 -0
- package/dist-types/commands/PutDashboardCommand.d.ts +16 -0
- package/dist-types/commands/PutInsightRuleCommand.d.ts +16 -0
- package/dist-types/commands/PutManagedInsightRulesCommand.d.ts +16 -0
- package/dist-types/commands/PutMetricAlarmCommand.d.ts +16 -0
- package/dist-types/commands/PutMetricDataCommand.d.ts +16 -0
- package/dist-types/commands/PutMetricStreamCommand.d.ts +16 -0
- package/dist-types/commands/SetAlarmStateCommand.d.ts +16 -0
- package/dist-types/commands/StartMetricStreamsCommand.d.ts +16 -0
- package/dist-types/commands/StopMetricStreamsCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/models/CloudWatchServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +298 -2
- package/dist-types/pagination/DescribeAlarmHistoryPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeAlarmsPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeAnomalyDetectorsPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeInsightRulesPaginator.d.ts +3 -0
- package/dist-types/pagination/GetMetricDataPaginator.d.ts +3 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListDashboardsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListManagedInsightRulesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListMetricStreamsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListMetricsPaginator.d.ts +3 -0
- package/package.json +3 -3
|
@@ -3608,14 +3608,7 @@ const serializeAws_queryValues = (input, context) => {
|
|
|
3608
3608
|
return entries;
|
|
3609
3609
|
};
|
|
3610
3610
|
const deserializeAws_queryAlarmHistoryItem = (output, context) => {
|
|
3611
|
-
const contents = {
|
|
3612
|
-
AlarmName: undefined,
|
|
3613
|
-
AlarmType: undefined,
|
|
3614
|
-
Timestamp: undefined,
|
|
3615
|
-
HistoryItemType: undefined,
|
|
3616
|
-
HistorySummary: undefined,
|
|
3617
|
-
HistoryData: undefined,
|
|
3618
|
-
};
|
|
3611
|
+
const contents = {};
|
|
3619
3612
|
if (output["AlarmName"] !== undefined) {
|
|
3620
3613
|
contents.AlarmName = (0, smithy_client_1.expectString)(output["AlarmName"]);
|
|
3621
3614
|
}
|
|
@@ -3644,16 +3637,7 @@ const deserializeAws_queryAlarmHistoryItems = (output, context) => {
|
|
|
3644
3637
|
});
|
|
3645
3638
|
};
|
|
3646
3639
|
const deserializeAws_queryAnomalyDetector = (output, context) => {
|
|
3647
|
-
const contents = {
|
|
3648
|
-
Namespace: undefined,
|
|
3649
|
-
MetricName: undefined,
|
|
3650
|
-
Dimensions: undefined,
|
|
3651
|
-
Stat: undefined,
|
|
3652
|
-
Configuration: undefined,
|
|
3653
|
-
StateValue: undefined,
|
|
3654
|
-
SingleMetricAnomalyDetector: undefined,
|
|
3655
|
-
MetricMathAnomalyDetector: undefined,
|
|
3656
|
-
};
|
|
3640
|
+
const contents = {};
|
|
3657
3641
|
if (output["Namespace"] !== undefined) {
|
|
3658
3642
|
contents.Namespace = (0, smithy_client_1.expectString)(output["Namespace"]);
|
|
3659
3643
|
}
|
|
@@ -3684,10 +3668,7 @@ const deserializeAws_queryAnomalyDetector = (output, context) => {
|
|
|
3684
3668
|
return contents;
|
|
3685
3669
|
};
|
|
3686
3670
|
const deserializeAws_queryAnomalyDetectorConfiguration = (output, context) => {
|
|
3687
|
-
const contents = {
|
|
3688
|
-
ExcludedTimeRanges: undefined,
|
|
3689
|
-
MetricTimezone: undefined,
|
|
3690
|
-
};
|
|
3671
|
+
const contents = {};
|
|
3691
3672
|
if (output.ExcludedTimeRanges === "") {
|
|
3692
3673
|
contents.ExcludedTimeRanges = [];
|
|
3693
3674
|
}
|
|
@@ -3721,27 +3702,7 @@ const deserializeAws_queryBatchFailures = (output, context) => {
|
|
|
3721
3702
|
});
|
|
3722
3703
|
};
|
|
3723
3704
|
const deserializeAws_queryCompositeAlarm = (output, context) => {
|
|
3724
|
-
const contents = {
|
|
3725
|
-
ActionsEnabled: undefined,
|
|
3726
|
-
AlarmActions: undefined,
|
|
3727
|
-
AlarmArn: undefined,
|
|
3728
|
-
AlarmConfigurationUpdatedTimestamp: undefined,
|
|
3729
|
-
AlarmDescription: undefined,
|
|
3730
|
-
AlarmName: undefined,
|
|
3731
|
-
AlarmRule: undefined,
|
|
3732
|
-
InsufficientDataActions: undefined,
|
|
3733
|
-
OKActions: undefined,
|
|
3734
|
-
StateReason: undefined,
|
|
3735
|
-
StateReasonData: undefined,
|
|
3736
|
-
StateUpdatedTimestamp: undefined,
|
|
3737
|
-
StateValue: undefined,
|
|
3738
|
-
StateTransitionedTimestamp: undefined,
|
|
3739
|
-
ActionsSuppressedBy: undefined,
|
|
3740
|
-
ActionsSuppressedReason: undefined,
|
|
3741
|
-
ActionsSuppressor: undefined,
|
|
3742
|
-
ActionsSuppressorWaitPeriod: undefined,
|
|
3743
|
-
ActionsSuppressorExtensionPeriod: undefined,
|
|
3744
|
-
};
|
|
3705
|
+
const contents = {};
|
|
3745
3706
|
if (output["ActionsEnabled"] !== undefined) {
|
|
3746
3707
|
contents.ActionsEnabled = (0, smithy_client_1.parseBoolean)(output["ActionsEnabled"]);
|
|
3747
3708
|
}
|
|
@@ -3819,9 +3780,7 @@ const deserializeAws_queryCompositeAlarms = (output, context) => {
|
|
|
3819
3780
|
});
|
|
3820
3781
|
};
|
|
3821
3782
|
const deserializeAws_queryConcurrentModificationException = (output, context) => {
|
|
3822
|
-
const contents = {
|
|
3823
|
-
Message: undefined,
|
|
3824
|
-
};
|
|
3783
|
+
const contents = {};
|
|
3825
3784
|
if (output["Message"] !== undefined) {
|
|
3826
3785
|
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
3827
3786
|
}
|
|
@@ -3835,12 +3794,7 @@ const deserializeAws_queryDashboardEntries = (output, context) => {
|
|
|
3835
3794
|
});
|
|
3836
3795
|
};
|
|
3837
3796
|
const deserializeAws_queryDashboardEntry = (output, context) => {
|
|
3838
|
-
const contents = {
|
|
3839
|
-
DashboardName: undefined,
|
|
3840
|
-
DashboardArn: undefined,
|
|
3841
|
-
LastModified: undefined,
|
|
3842
|
-
Size: undefined,
|
|
3843
|
-
};
|
|
3797
|
+
const contents = {};
|
|
3844
3798
|
if (output["DashboardName"] !== undefined) {
|
|
3845
3799
|
contents.DashboardName = (0, smithy_client_1.expectString)(output["DashboardName"]);
|
|
3846
3800
|
}
|
|
@@ -3856,10 +3810,7 @@ const deserializeAws_queryDashboardEntry = (output, context) => {
|
|
|
3856
3810
|
return contents;
|
|
3857
3811
|
};
|
|
3858
3812
|
const deserializeAws_queryDashboardInvalidInputError = (output, context) => {
|
|
3859
|
-
const contents = {
|
|
3860
|
-
message: undefined,
|
|
3861
|
-
dashboardValidationMessages: undefined,
|
|
3862
|
-
};
|
|
3813
|
+
const contents = {};
|
|
3863
3814
|
if (output["message"] !== undefined) {
|
|
3864
3815
|
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
3865
3816
|
}
|
|
@@ -3873,19 +3824,14 @@ const deserializeAws_queryDashboardInvalidInputError = (output, context) => {
|
|
|
3873
3824
|
return contents;
|
|
3874
3825
|
};
|
|
3875
3826
|
const deserializeAws_queryDashboardNotFoundError = (output, context) => {
|
|
3876
|
-
const contents = {
|
|
3877
|
-
message: undefined,
|
|
3878
|
-
};
|
|
3827
|
+
const contents = {};
|
|
3879
3828
|
if (output["message"] !== undefined) {
|
|
3880
3829
|
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
3881
3830
|
}
|
|
3882
3831
|
return contents;
|
|
3883
3832
|
};
|
|
3884
3833
|
const deserializeAws_queryDashboardValidationMessage = (output, context) => {
|
|
3885
|
-
const contents = {
|
|
3886
|
-
DataPath: undefined,
|
|
3887
|
-
Message: undefined,
|
|
3888
|
-
};
|
|
3834
|
+
const contents = {};
|
|
3889
3835
|
if (output["DataPath"] !== undefined) {
|
|
3890
3836
|
contents.DataPath = (0, smithy_client_1.expectString)(output["DataPath"]);
|
|
3891
3837
|
}
|
|
@@ -3902,16 +3848,7 @@ const deserializeAws_queryDashboardValidationMessages = (output, context) => {
|
|
|
3902
3848
|
});
|
|
3903
3849
|
};
|
|
3904
3850
|
const deserializeAws_queryDatapoint = (output, context) => {
|
|
3905
|
-
const contents = {
|
|
3906
|
-
Timestamp: undefined,
|
|
3907
|
-
SampleCount: undefined,
|
|
3908
|
-
Average: undefined,
|
|
3909
|
-
Sum: undefined,
|
|
3910
|
-
Minimum: undefined,
|
|
3911
|
-
Maximum: undefined,
|
|
3912
|
-
Unit: undefined,
|
|
3913
|
-
ExtendedStatistics: undefined,
|
|
3914
|
-
};
|
|
3851
|
+
const contents = {};
|
|
3915
3852
|
if (output["Timestamp"] !== undefined) {
|
|
3916
3853
|
contents.Timestamp = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["Timestamp"]));
|
|
3917
3854
|
}
|
|
@@ -3973,9 +3910,7 @@ const deserializeAws_queryDeleteDashboardsOutput = (output, context) => {
|
|
|
3973
3910
|
return contents;
|
|
3974
3911
|
};
|
|
3975
3912
|
const deserializeAws_queryDeleteInsightRulesOutput = (output, context) => {
|
|
3976
|
-
const contents = {
|
|
3977
|
-
Failures: undefined,
|
|
3978
|
-
};
|
|
3913
|
+
const contents = {};
|
|
3979
3914
|
if (output.Failures === "") {
|
|
3980
3915
|
contents.Failures = [];
|
|
3981
3916
|
}
|
|
@@ -3989,10 +3924,7 @@ const deserializeAws_queryDeleteMetricStreamOutput = (output, context) => {
|
|
|
3989
3924
|
return contents;
|
|
3990
3925
|
};
|
|
3991
3926
|
const deserializeAws_queryDescribeAlarmHistoryOutput = (output, context) => {
|
|
3992
|
-
const contents = {
|
|
3993
|
-
AlarmHistoryItems: undefined,
|
|
3994
|
-
NextToken: undefined,
|
|
3995
|
-
};
|
|
3927
|
+
const contents = {};
|
|
3996
3928
|
if (output.AlarmHistoryItems === "") {
|
|
3997
3929
|
contents.AlarmHistoryItems = [];
|
|
3998
3930
|
}
|
|
@@ -4005,9 +3937,7 @@ const deserializeAws_queryDescribeAlarmHistoryOutput = (output, context) => {
|
|
|
4005
3937
|
return contents;
|
|
4006
3938
|
};
|
|
4007
3939
|
const deserializeAws_queryDescribeAlarmsForMetricOutput = (output, context) => {
|
|
4008
|
-
const contents = {
|
|
4009
|
-
MetricAlarms: undefined,
|
|
4010
|
-
};
|
|
3940
|
+
const contents = {};
|
|
4011
3941
|
if (output.MetricAlarms === "") {
|
|
4012
3942
|
contents.MetricAlarms = [];
|
|
4013
3943
|
}
|
|
@@ -4017,11 +3947,7 @@ const deserializeAws_queryDescribeAlarmsForMetricOutput = (output, context) => {
|
|
|
4017
3947
|
return contents;
|
|
4018
3948
|
};
|
|
4019
3949
|
const deserializeAws_queryDescribeAlarmsOutput = (output, context) => {
|
|
4020
|
-
const contents = {
|
|
4021
|
-
CompositeAlarms: undefined,
|
|
4022
|
-
MetricAlarms: undefined,
|
|
4023
|
-
NextToken: undefined,
|
|
4024
|
-
};
|
|
3950
|
+
const contents = {};
|
|
4025
3951
|
if (output.CompositeAlarms === "") {
|
|
4026
3952
|
contents.CompositeAlarms = [];
|
|
4027
3953
|
}
|
|
@@ -4040,10 +3966,7 @@ const deserializeAws_queryDescribeAlarmsOutput = (output, context) => {
|
|
|
4040
3966
|
return contents;
|
|
4041
3967
|
};
|
|
4042
3968
|
const deserializeAws_queryDescribeAnomalyDetectorsOutput = (output, context) => {
|
|
4043
|
-
const contents = {
|
|
4044
|
-
AnomalyDetectors: undefined,
|
|
4045
|
-
NextToken: undefined,
|
|
4046
|
-
};
|
|
3969
|
+
const contents = {};
|
|
4047
3970
|
if (output.AnomalyDetectors === "") {
|
|
4048
3971
|
contents.AnomalyDetectors = [];
|
|
4049
3972
|
}
|
|
@@ -4056,10 +3979,7 @@ const deserializeAws_queryDescribeAnomalyDetectorsOutput = (output, context) =>
|
|
|
4056
3979
|
return contents;
|
|
4057
3980
|
};
|
|
4058
3981
|
const deserializeAws_queryDescribeInsightRulesOutput = (output, context) => {
|
|
4059
|
-
const contents = {
|
|
4060
|
-
NextToken: undefined,
|
|
4061
|
-
InsightRules: undefined,
|
|
4062
|
-
};
|
|
3982
|
+
const contents = {};
|
|
4063
3983
|
if (output["NextToken"] !== undefined) {
|
|
4064
3984
|
contents.NextToken = (0, smithy_client_1.expectString)(output["NextToken"]);
|
|
4065
3985
|
}
|
|
@@ -4072,10 +3992,7 @@ const deserializeAws_queryDescribeInsightRulesOutput = (output, context) => {
|
|
|
4072
3992
|
return contents;
|
|
4073
3993
|
};
|
|
4074
3994
|
const deserializeAws_queryDimension = (output, context) => {
|
|
4075
|
-
const contents = {
|
|
4076
|
-
Name: undefined,
|
|
4077
|
-
Value: undefined,
|
|
4078
|
-
};
|
|
3995
|
+
const contents = {};
|
|
4079
3996
|
if (output["Name"] !== undefined) {
|
|
4080
3997
|
contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
|
|
4081
3998
|
}
|
|
@@ -4092,9 +4009,7 @@ const deserializeAws_queryDimensions = (output, context) => {
|
|
|
4092
4009
|
});
|
|
4093
4010
|
};
|
|
4094
4011
|
const deserializeAws_queryDisableInsightRulesOutput = (output, context) => {
|
|
4095
|
-
const contents = {
|
|
4096
|
-
Failures: undefined,
|
|
4097
|
-
};
|
|
4012
|
+
const contents = {};
|
|
4098
4013
|
if (output.Failures === "") {
|
|
4099
4014
|
contents.Failures = [];
|
|
4100
4015
|
}
|
|
@@ -4104,9 +4019,7 @@ const deserializeAws_queryDisableInsightRulesOutput = (output, context) => {
|
|
|
4104
4019
|
return contents;
|
|
4105
4020
|
};
|
|
4106
4021
|
const deserializeAws_queryEnableInsightRulesOutput = (output, context) => {
|
|
4107
|
-
const contents = {
|
|
4108
|
-
Failures: undefined,
|
|
4109
|
-
};
|
|
4022
|
+
const contents = {};
|
|
4110
4023
|
if (output.Failures === "") {
|
|
4111
4024
|
contents.Failures = [];
|
|
4112
4025
|
}
|
|
@@ -4116,11 +4029,7 @@ const deserializeAws_queryEnableInsightRulesOutput = (output, context) => {
|
|
|
4116
4029
|
return contents;
|
|
4117
4030
|
};
|
|
4118
4031
|
const deserializeAws_queryGetDashboardOutput = (output, context) => {
|
|
4119
|
-
const contents = {
|
|
4120
|
-
DashboardArn: undefined,
|
|
4121
|
-
DashboardBody: undefined,
|
|
4122
|
-
DashboardName: undefined,
|
|
4123
|
-
};
|
|
4032
|
+
const contents = {};
|
|
4124
4033
|
if (output["DashboardArn"] !== undefined) {
|
|
4125
4034
|
contents.DashboardArn = (0, smithy_client_1.expectString)(output["DashboardArn"]);
|
|
4126
4035
|
}
|
|
@@ -4133,14 +4042,7 @@ const deserializeAws_queryGetDashboardOutput = (output, context) => {
|
|
|
4133
4042
|
return contents;
|
|
4134
4043
|
};
|
|
4135
4044
|
const deserializeAws_queryGetInsightRuleReportOutput = (output, context) => {
|
|
4136
|
-
const contents = {
|
|
4137
|
-
KeyLabels: undefined,
|
|
4138
|
-
AggregationStatistic: undefined,
|
|
4139
|
-
AggregateValue: undefined,
|
|
4140
|
-
ApproximateUniqueCount: undefined,
|
|
4141
|
-
Contributors: undefined,
|
|
4142
|
-
MetricDatapoints: undefined,
|
|
4143
|
-
};
|
|
4045
|
+
const contents = {};
|
|
4144
4046
|
if (output.KeyLabels === "") {
|
|
4145
4047
|
contents.KeyLabels = [];
|
|
4146
4048
|
}
|
|
@@ -4171,11 +4073,7 @@ const deserializeAws_queryGetInsightRuleReportOutput = (output, context) => {
|
|
|
4171
4073
|
return contents;
|
|
4172
4074
|
};
|
|
4173
4075
|
const deserializeAws_queryGetMetricDataOutput = (output, context) => {
|
|
4174
|
-
const contents = {
|
|
4175
|
-
MetricDataResults: undefined,
|
|
4176
|
-
NextToken: undefined,
|
|
4177
|
-
Messages: undefined,
|
|
4178
|
-
};
|
|
4076
|
+
const contents = {};
|
|
4179
4077
|
if (output.MetricDataResults === "") {
|
|
4180
4078
|
contents.MetricDataResults = [];
|
|
4181
4079
|
}
|
|
@@ -4194,10 +4092,7 @@ const deserializeAws_queryGetMetricDataOutput = (output, context) => {
|
|
|
4194
4092
|
return contents;
|
|
4195
4093
|
};
|
|
4196
4094
|
const deserializeAws_queryGetMetricStatisticsOutput = (output, context) => {
|
|
4197
|
-
const contents = {
|
|
4198
|
-
Label: undefined,
|
|
4199
|
-
Datapoints: undefined,
|
|
4200
|
-
};
|
|
4095
|
+
const contents = {};
|
|
4201
4096
|
if (output["Label"] !== undefined) {
|
|
4202
4097
|
contents.Label = (0, smithy_client_1.expectString)(output["Label"]);
|
|
4203
4098
|
}
|
|
@@ -4210,20 +4105,7 @@ const deserializeAws_queryGetMetricStatisticsOutput = (output, context) => {
|
|
|
4210
4105
|
return contents;
|
|
4211
4106
|
};
|
|
4212
4107
|
const deserializeAws_queryGetMetricStreamOutput = (output, context) => {
|
|
4213
|
-
const contents = {
|
|
4214
|
-
Arn: undefined,
|
|
4215
|
-
Name: undefined,
|
|
4216
|
-
IncludeFilters: undefined,
|
|
4217
|
-
ExcludeFilters: undefined,
|
|
4218
|
-
FirehoseArn: undefined,
|
|
4219
|
-
RoleArn: undefined,
|
|
4220
|
-
State: undefined,
|
|
4221
|
-
CreationDate: undefined,
|
|
4222
|
-
LastUpdateDate: undefined,
|
|
4223
|
-
OutputFormat: undefined,
|
|
4224
|
-
StatisticsConfigurations: undefined,
|
|
4225
|
-
IncludeLinkedAccountsMetrics: undefined,
|
|
4226
|
-
};
|
|
4108
|
+
const contents = {};
|
|
4227
4109
|
if (output["Arn"] !== undefined) {
|
|
4228
4110
|
contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
|
|
4229
4111
|
}
|
|
@@ -4273,22 +4155,14 @@ const deserializeAws_queryGetMetricStreamOutput = (output, context) => {
|
|
|
4273
4155
|
return contents;
|
|
4274
4156
|
};
|
|
4275
4157
|
const deserializeAws_queryGetMetricWidgetImageOutput = (output, context) => {
|
|
4276
|
-
const contents = {
|
|
4277
|
-
MetricWidgetImage: undefined,
|
|
4278
|
-
};
|
|
4158
|
+
const contents = {};
|
|
4279
4159
|
if (output["MetricWidgetImage"] !== undefined) {
|
|
4280
4160
|
contents.MetricWidgetImage = context.base64Decoder(output["MetricWidgetImage"]);
|
|
4281
4161
|
}
|
|
4282
4162
|
return contents;
|
|
4283
4163
|
};
|
|
4284
4164
|
const deserializeAws_queryInsightRule = (output, context) => {
|
|
4285
|
-
const contents = {
|
|
4286
|
-
Name: undefined,
|
|
4287
|
-
State: undefined,
|
|
4288
|
-
Schema: undefined,
|
|
4289
|
-
Definition: undefined,
|
|
4290
|
-
ManagedRule: undefined,
|
|
4291
|
-
};
|
|
4165
|
+
const contents = {};
|
|
4292
4166
|
if (output["Name"] !== undefined) {
|
|
4293
4167
|
contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
|
|
4294
4168
|
}
|
|
@@ -4307,11 +4181,7 @@ const deserializeAws_queryInsightRule = (output, context) => {
|
|
|
4307
4181
|
return contents;
|
|
4308
4182
|
};
|
|
4309
4183
|
const deserializeAws_queryInsightRuleContributor = (output, context) => {
|
|
4310
|
-
const contents = {
|
|
4311
|
-
Keys: undefined,
|
|
4312
|
-
ApproximateAggregateValue: undefined,
|
|
4313
|
-
Datapoints: undefined,
|
|
4314
|
-
};
|
|
4184
|
+
const contents = {};
|
|
4315
4185
|
if (output.Keys === "") {
|
|
4316
4186
|
contents.Keys = [];
|
|
4317
4187
|
}
|
|
@@ -4330,10 +4200,7 @@ const deserializeAws_queryInsightRuleContributor = (output, context) => {
|
|
|
4330
4200
|
return contents;
|
|
4331
4201
|
};
|
|
4332
4202
|
const deserializeAws_queryInsightRuleContributorDatapoint = (output, context) => {
|
|
4333
|
-
const contents = {
|
|
4334
|
-
Timestamp: undefined,
|
|
4335
|
-
ApproximateValue: undefined,
|
|
4336
|
-
};
|
|
4203
|
+
const contents = {};
|
|
4337
4204
|
if (output["Timestamp"] !== undefined) {
|
|
4338
4205
|
contents.Timestamp = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["Timestamp"]));
|
|
4339
4206
|
}
|
|
@@ -4371,16 +4238,7 @@ const deserializeAws_queryInsightRuleContributors = (output, context) => {
|
|
|
4371
4238
|
});
|
|
4372
4239
|
};
|
|
4373
4240
|
const deserializeAws_queryInsightRuleMetricDatapoint = (output, context) => {
|
|
4374
|
-
const contents = {
|
|
4375
|
-
Timestamp: undefined,
|
|
4376
|
-
UniqueContributors: undefined,
|
|
4377
|
-
MaxContributorValue: undefined,
|
|
4378
|
-
SampleCount: undefined,
|
|
4379
|
-
Average: undefined,
|
|
4380
|
-
Sum: undefined,
|
|
4381
|
-
Minimum: undefined,
|
|
4382
|
-
Maximum: undefined,
|
|
4383
|
-
};
|
|
4241
|
+
const contents = {};
|
|
4384
4242
|
if (output["Timestamp"] !== undefined) {
|
|
4385
4243
|
contents.Timestamp = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["Timestamp"]));
|
|
4386
4244
|
}
|
|
@@ -4422,73 +4280,56 @@ const deserializeAws_queryInsightRules = (output, context) => {
|
|
|
4422
4280
|
});
|
|
4423
4281
|
};
|
|
4424
4282
|
const deserializeAws_queryInternalServiceFault = (output, context) => {
|
|
4425
|
-
const contents = {
|
|
4426
|
-
Message: undefined,
|
|
4427
|
-
};
|
|
4283
|
+
const contents = {};
|
|
4428
4284
|
if (output["Message"] !== undefined) {
|
|
4429
4285
|
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
4430
4286
|
}
|
|
4431
4287
|
return contents;
|
|
4432
4288
|
};
|
|
4433
4289
|
const deserializeAws_queryInvalidFormatFault = (output, context) => {
|
|
4434
|
-
const contents = {
|
|
4435
|
-
message: undefined,
|
|
4436
|
-
};
|
|
4290
|
+
const contents = {};
|
|
4437
4291
|
if (output["message"] !== undefined) {
|
|
4438
4292
|
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
4439
4293
|
}
|
|
4440
4294
|
return contents;
|
|
4441
4295
|
};
|
|
4442
4296
|
const deserializeAws_queryInvalidNextToken = (output, context) => {
|
|
4443
|
-
const contents = {
|
|
4444
|
-
message: undefined,
|
|
4445
|
-
};
|
|
4297
|
+
const contents = {};
|
|
4446
4298
|
if (output["message"] !== undefined) {
|
|
4447
4299
|
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
4448
4300
|
}
|
|
4449
4301
|
return contents;
|
|
4450
4302
|
};
|
|
4451
4303
|
const deserializeAws_queryInvalidParameterCombinationException = (output, context) => {
|
|
4452
|
-
const contents = {
|
|
4453
|
-
message: undefined,
|
|
4454
|
-
};
|
|
4304
|
+
const contents = {};
|
|
4455
4305
|
if (output["message"] !== undefined) {
|
|
4456
4306
|
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
4457
4307
|
}
|
|
4458
4308
|
return contents;
|
|
4459
4309
|
};
|
|
4460
4310
|
const deserializeAws_queryInvalidParameterValueException = (output, context) => {
|
|
4461
|
-
const contents = {
|
|
4462
|
-
message: undefined,
|
|
4463
|
-
};
|
|
4311
|
+
const contents = {};
|
|
4464
4312
|
if (output["message"] !== undefined) {
|
|
4465
4313
|
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
4466
4314
|
}
|
|
4467
4315
|
return contents;
|
|
4468
4316
|
};
|
|
4469
4317
|
const deserializeAws_queryLimitExceededException = (output, context) => {
|
|
4470
|
-
const contents = {
|
|
4471
|
-
Message: undefined,
|
|
4472
|
-
};
|
|
4318
|
+
const contents = {};
|
|
4473
4319
|
if (output["Message"] !== undefined) {
|
|
4474
4320
|
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
4475
4321
|
}
|
|
4476
4322
|
return contents;
|
|
4477
4323
|
};
|
|
4478
4324
|
const deserializeAws_queryLimitExceededFault = (output, context) => {
|
|
4479
|
-
const contents = {
|
|
4480
|
-
message: undefined,
|
|
4481
|
-
};
|
|
4325
|
+
const contents = {};
|
|
4482
4326
|
if (output["message"] !== undefined) {
|
|
4483
4327
|
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
4484
4328
|
}
|
|
4485
4329
|
return contents;
|
|
4486
4330
|
};
|
|
4487
4331
|
const deserializeAws_queryListDashboardsOutput = (output, context) => {
|
|
4488
|
-
const contents = {
|
|
4489
|
-
DashboardEntries: undefined,
|
|
4490
|
-
NextToken: undefined,
|
|
4491
|
-
};
|
|
4332
|
+
const contents = {};
|
|
4492
4333
|
if (output.DashboardEntries === "") {
|
|
4493
4334
|
contents.DashboardEntries = [];
|
|
4494
4335
|
}
|
|
@@ -4501,10 +4342,7 @@ const deserializeAws_queryListDashboardsOutput = (output, context) => {
|
|
|
4501
4342
|
return contents;
|
|
4502
4343
|
};
|
|
4503
4344
|
const deserializeAws_queryListManagedInsightRulesOutput = (output, context) => {
|
|
4504
|
-
const contents = {
|
|
4505
|
-
ManagedRules: undefined,
|
|
4506
|
-
NextToken: undefined,
|
|
4507
|
-
};
|
|
4345
|
+
const contents = {};
|
|
4508
4346
|
if (output.ManagedRules === "") {
|
|
4509
4347
|
contents.ManagedRules = [];
|
|
4510
4348
|
}
|
|
@@ -4517,11 +4355,7 @@ const deserializeAws_queryListManagedInsightRulesOutput = (output, context) => {
|
|
|
4517
4355
|
return contents;
|
|
4518
4356
|
};
|
|
4519
4357
|
const deserializeAws_queryListMetricsOutput = (output, context) => {
|
|
4520
|
-
const contents = {
|
|
4521
|
-
Metrics: undefined,
|
|
4522
|
-
NextToken: undefined,
|
|
4523
|
-
OwningAccounts: undefined,
|
|
4524
|
-
};
|
|
4358
|
+
const contents = {};
|
|
4525
4359
|
if (output.Metrics === "") {
|
|
4526
4360
|
contents.Metrics = [];
|
|
4527
4361
|
}
|
|
@@ -4540,10 +4374,7 @@ const deserializeAws_queryListMetricsOutput = (output, context) => {
|
|
|
4540
4374
|
return contents;
|
|
4541
4375
|
};
|
|
4542
4376
|
const deserializeAws_queryListMetricStreamsOutput = (output, context) => {
|
|
4543
|
-
const contents = {
|
|
4544
|
-
NextToken: undefined,
|
|
4545
|
-
Entries: undefined,
|
|
4546
|
-
};
|
|
4377
|
+
const contents = {};
|
|
4547
4378
|
if (output["NextToken"] !== undefined) {
|
|
4548
4379
|
contents.NextToken = (0, smithy_client_1.expectString)(output["NextToken"]);
|
|
4549
4380
|
}
|
|
@@ -4556,9 +4387,7 @@ const deserializeAws_queryListMetricStreamsOutput = (output, context) => {
|
|
|
4556
4387
|
return contents;
|
|
4557
4388
|
};
|
|
4558
4389
|
const deserializeAws_queryListTagsForResourceOutput = (output, context) => {
|
|
4559
|
-
const contents = {
|
|
4560
|
-
Tags: undefined,
|
|
4561
|
-
};
|
|
4390
|
+
const contents = {};
|
|
4562
4391
|
if (output.Tags === "") {
|
|
4563
4392
|
contents.Tags = [];
|
|
4564
4393
|
}
|
|
@@ -4568,11 +4397,7 @@ const deserializeAws_queryListTagsForResourceOutput = (output, context) => {
|
|
|
4568
4397
|
return contents;
|
|
4569
4398
|
};
|
|
4570
4399
|
const deserializeAws_queryManagedRuleDescription = (output, context) => {
|
|
4571
|
-
const contents = {
|
|
4572
|
-
TemplateName: undefined,
|
|
4573
|
-
ResourceARN: undefined,
|
|
4574
|
-
RuleState: undefined,
|
|
4575
|
-
};
|
|
4400
|
+
const contents = {};
|
|
4576
4401
|
if (output["TemplateName"] !== undefined) {
|
|
4577
4402
|
contents.TemplateName = (0, smithy_client_1.expectString)(output["TemplateName"]);
|
|
4578
4403
|
}
|
|
@@ -4592,10 +4417,7 @@ const deserializeAws_queryManagedRuleDescriptions = (output, context) => {
|
|
|
4592
4417
|
});
|
|
4593
4418
|
};
|
|
4594
4419
|
const deserializeAws_queryManagedRuleState = (output, context) => {
|
|
4595
|
-
const contents = {
|
|
4596
|
-
RuleName: undefined,
|
|
4597
|
-
State: undefined,
|
|
4598
|
-
};
|
|
4420
|
+
const contents = {};
|
|
4599
4421
|
if (output["RuleName"] !== undefined) {
|
|
4600
4422
|
contents.RuleName = (0, smithy_client_1.expectString)(output["RuleName"]);
|
|
4601
4423
|
}
|
|
@@ -4605,10 +4427,7 @@ const deserializeAws_queryManagedRuleState = (output, context) => {
|
|
|
4605
4427
|
return contents;
|
|
4606
4428
|
};
|
|
4607
4429
|
const deserializeAws_queryMessageData = (output, context) => {
|
|
4608
|
-
const contents = {
|
|
4609
|
-
Code: undefined,
|
|
4610
|
-
Value: undefined,
|
|
4611
|
-
};
|
|
4430
|
+
const contents = {};
|
|
4612
4431
|
if (output["Code"] !== undefined) {
|
|
4613
4432
|
contents.Code = (0, smithy_client_1.expectString)(output["Code"]);
|
|
4614
4433
|
}
|
|
@@ -4618,11 +4437,7 @@ const deserializeAws_queryMessageData = (output, context) => {
|
|
|
4618
4437
|
return contents;
|
|
4619
4438
|
};
|
|
4620
4439
|
const deserializeAws_queryMetric = (output, context) => {
|
|
4621
|
-
const contents = {
|
|
4622
|
-
Namespace: undefined,
|
|
4623
|
-
MetricName: undefined,
|
|
4624
|
-
Dimensions: undefined,
|
|
4625
|
-
};
|
|
4440
|
+
const contents = {};
|
|
4626
4441
|
if (output["Namespace"] !== undefined) {
|
|
4627
4442
|
contents.Namespace = (0, smithy_client_1.expectString)(output["Namespace"]);
|
|
4628
4443
|
}
|
|
@@ -4638,37 +4453,7 @@ const deserializeAws_queryMetric = (output, context) => {
|
|
|
4638
4453
|
return contents;
|
|
4639
4454
|
};
|
|
4640
4455
|
const deserializeAws_queryMetricAlarm = (output, context) => {
|
|
4641
|
-
const contents = {
|
|
4642
|
-
AlarmName: undefined,
|
|
4643
|
-
AlarmArn: undefined,
|
|
4644
|
-
AlarmDescription: undefined,
|
|
4645
|
-
AlarmConfigurationUpdatedTimestamp: undefined,
|
|
4646
|
-
ActionsEnabled: undefined,
|
|
4647
|
-
OKActions: undefined,
|
|
4648
|
-
AlarmActions: undefined,
|
|
4649
|
-
InsufficientDataActions: undefined,
|
|
4650
|
-
StateValue: undefined,
|
|
4651
|
-
StateReason: undefined,
|
|
4652
|
-
StateReasonData: undefined,
|
|
4653
|
-
StateUpdatedTimestamp: undefined,
|
|
4654
|
-
MetricName: undefined,
|
|
4655
|
-
Namespace: undefined,
|
|
4656
|
-
Statistic: undefined,
|
|
4657
|
-
ExtendedStatistic: undefined,
|
|
4658
|
-
Dimensions: undefined,
|
|
4659
|
-
Period: undefined,
|
|
4660
|
-
Unit: undefined,
|
|
4661
|
-
EvaluationPeriods: undefined,
|
|
4662
|
-
DatapointsToAlarm: undefined,
|
|
4663
|
-
Threshold: undefined,
|
|
4664
|
-
ComparisonOperator: undefined,
|
|
4665
|
-
TreatMissingData: undefined,
|
|
4666
|
-
EvaluateLowSampleCountPercentile: undefined,
|
|
4667
|
-
Metrics: undefined,
|
|
4668
|
-
ThresholdMetricId: undefined,
|
|
4669
|
-
EvaluationState: undefined,
|
|
4670
|
-
StateTransitionedTimestamp: undefined,
|
|
4671
|
-
};
|
|
4456
|
+
const contents = {};
|
|
4672
4457
|
if (output["AlarmName"] !== undefined) {
|
|
4673
4458
|
contents.AlarmName = (0, smithy_client_1.expectString)(output["AlarmName"]);
|
|
4674
4459
|
}
|
|
@@ -4789,15 +4574,7 @@ const deserializeAws_queryMetricDataQueries = (output, context) => {
|
|
|
4789
4574
|
});
|
|
4790
4575
|
};
|
|
4791
4576
|
const deserializeAws_queryMetricDataQuery = (output, context) => {
|
|
4792
|
-
const contents = {
|
|
4793
|
-
Id: undefined,
|
|
4794
|
-
MetricStat: undefined,
|
|
4795
|
-
Expression: undefined,
|
|
4796
|
-
Label: undefined,
|
|
4797
|
-
ReturnData: undefined,
|
|
4798
|
-
Period: undefined,
|
|
4799
|
-
AccountId: undefined,
|
|
4800
|
-
};
|
|
4577
|
+
const contents = {};
|
|
4801
4578
|
if (output["Id"] !== undefined) {
|
|
4802
4579
|
contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
|
|
4803
4580
|
}
|
|
@@ -4822,14 +4599,7 @@ const deserializeAws_queryMetricDataQuery = (output, context) => {
|
|
|
4822
4599
|
return contents;
|
|
4823
4600
|
};
|
|
4824
4601
|
const deserializeAws_queryMetricDataResult = (output, context) => {
|
|
4825
|
-
const contents = {
|
|
4826
|
-
Id: undefined,
|
|
4827
|
-
Label: undefined,
|
|
4828
|
-
Timestamps: undefined,
|
|
4829
|
-
Values: undefined,
|
|
4830
|
-
StatusCode: undefined,
|
|
4831
|
-
Messages: undefined,
|
|
4832
|
-
};
|
|
4602
|
+
const contents = {};
|
|
4833
4603
|
if (output["Id"] !== undefined) {
|
|
4834
4604
|
contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
|
|
4835
4605
|
}
|
|
@@ -4874,9 +4644,7 @@ const deserializeAws_queryMetricDataResults = (output, context) => {
|
|
|
4874
4644
|
});
|
|
4875
4645
|
};
|
|
4876
4646
|
const deserializeAws_queryMetricMathAnomalyDetector = (output, context) => {
|
|
4877
|
-
const contents = {
|
|
4878
|
-
MetricDataQueries: undefined,
|
|
4879
|
-
};
|
|
4647
|
+
const contents = {};
|
|
4880
4648
|
if (output.MetricDataQueries === "") {
|
|
4881
4649
|
contents.MetricDataQueries = [];
|
|
4882
4650
|
}
|
|
@@ -4893,12 +4661,7 @@ const deserializeAws_queryMetrics = (output, context) => {
|
|
|
4893
4661
|
});
|
|
4894
4662
|
};
|
|
4895
4663
|
const deserializeAws_queryMetricStat = (output, context) => {
|
|
4896
|
-
const contents = {
|
|
4897
|
-
Metric: undefined,
|
|
4898
|
-
Period: undefined,
|
|
4899
|
-
Stat: undefined,
|
|
4900
|
-
Unit: undefined,
|
|
4901
|
-
};
|
|
4664
|
+
const contents = {};
|
|
4902
4665
|
if (output["Metric"] !== undefined) {
|
|
4903
4666
|
contents.Metric = deserializeAws_queryMetric(output["Metric"], context);
|
|
4904
4667
|
}
|
|
@@ -4921,15 +4684,7 @@ const deserializeAws_queryMetricStreamEntries = (output, context) => {
|
|
|
4921
4684
|
});
|
|
4922
4685
|
};
|
|
4923
4686
|
const deserializeAws_queryMetricStreamEntry = (output, context) => {
|
|
4924
|
-
const contents = {
|
|
4925
|
-
Arn: undefined,
|
|
4926
|
-
CreationDate: undefined,
|
|
4927
|
-
LastUpdateDate: undefined,
|
|
4928
|
-
Name: undefined,
|
|
4929
|
-
FirehoseArn: undefined,
|
|
4930
|
-
State: undefined,
|
|
4931
|
-
OutputFormat: undefined,
|
|
4932
|
-
};
|
|
4687
|
+
const contents = {};
|
|
4933
4688
|
if (output["Arn"] !== undefined) {
|
|
4934
4689
|
contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
|
|
4935
4690
|
}
|
|
@@ -4954,9 +4709,7 @@ const deserializeAws_queryMetricStreamEntry = (output, context) => {
|
|
|
4954
4709
|
return contents;
|
|
4955
4710
|
};
|
|
4956
4711
|
const deserializeAws_queryMetricStreamFilter = (output, context) => {
|
|
4957
|
-
const contents = {
|
|
4958
|
-
Namespace: undefined,
|
|
4959
|
-
};
|
|
4712
|
+
const contents = {};
|
|
4960
4713
|
if (output["Namespace"] !== undefined) {
|
|
4961
4714
|
contents.Namespace = (0, smithy_client_1.expectString)(output["Namespace"]);
|
|
4962
4715
|
}
|
|
@@ -4977,10 +4730,7 @@ const deserializeAws_queryMetricStreamStatisticsAdditionalStatistics = (output,
|
|
|
4977
4730
|
});
|
|
4978
4731
|
};
|
|
4979
4732
|
const deserializeAws_queryMetricStreamStatisticsConfiguration = (output, context) => {
|
|
4980
|
-
const contents = {
|
|
4981
|
-
IncludeMetrics: undefined,
|
|
4982
|
-
AdditionalStatistics: undefined,
|
|
4983
|
-
};
|
|
4733
|
+
const contents = {};
|
|
4984
4734
|
if (output.IncludeMetrics === "") {
|
|
4985
4735
|
contents.IncludeMetrics = [];
|
|
4986
4736
|
}
|
|
@@ -5010,10 +4760,7 @@ const deserializeAws_queryMetricStreamStatisticsIncludeMetrics = (output, contex
|
|
|
5010
4760
|
});
|
|
5011
4761
|
};
|
|
5012
4762
|
const deserializeAws_queryMetricStreamStatisticsMetric = (output, context) => {
|
|
5013
|
-
const contents = {
|
|
5014
|
-
Namespace: undefined,
|
|
5015
|
-
MetricName: undefined,
|
|
5016
|
-
};
|
|
4763
|
+
const contents = {};
|
|
5017
4764
|
if (output["Namespace"] !== undefined) {
|
|
5018
4765
|
contents.Namespace = (0, smithy_client_1.expectString)(output["Namespace"]);
|
|
5019
4766
|
}
|
|
@@ -5023,9 +4770,7 @@ const deserializeAws_queryMetricStreamStatisticsMetric = (output, context) => {
|
|
|
5023
4770
|
return contents;
|
|
5024
4771
|
};
|
|
5025
4772
|
const deserializeAws_queryMissingRequiredParameterException = (output, context) => {
|
|
5026
|
-
const contents = {
|
|
5027
|
-
message: undefined,
|
|
5028
|
-
};
|
|
4773
|
+
const contents = {};
|
|
5029
4774
|
if (output["message"] !== undefined) {
|
|
5030
4775
|
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
5031
4776
|
}
|
|
@@ -5039,12 +4784,7 @@ const deserializeAws_queryOwningAccounts = (output, context) => {
|
|
|
5039
4784
|
});
|
|
5040
4785
|
};
|
|
5041
4786
|
const deserializeAws_queryPartialFailure = (output, context) => {
|
|
5042
|
-
const contents = {
|
|
5043
|
-
FailureResource: undefined,
|
|
5044
|
-
ExceptionType: undefined,
|
|
5045
|
-
FailureCode: undefined,
|
|
5046
|
-
FailureDescription: undefined,
|
|
5047
|
-
};
|
|
4787
|
+
const contents = {};
|
|
5048
4788
|
if (output["FailureResource"] !== undefined) {
|
|
5049
4789
|
contents.FailureResource = (0, smithy_client_1.expectString)(output["FailureResource"]);
|
|
5050
4790
|
}
|
|
@@ -5064,9 +4804,7 @@ const deserializeAws_queryPutAnomalyDetectorOutput = (output, context) => {
|
|
|
5064
4804
|
return contents;
|
|
5065
4805
|
};
|
|
5066
4806
|
const deserializeAws_queryPutDashboardOutput = (output, context) => {
|
|
5067
|
-
const contents = {
|
|
5068
|
-
DashboardValidationMessages: undefined,
|
|
5069
|
-
};
|
|
4807
|
+
const contents = {};
|
|
5070
4808
|
if (output.DashboardValidationMessages === "") {
|
|
5071
4809
|
contents.DashboardValidationMessages = [];
|
|
5072
4810
|
}
|
|
@@ -5081,9 +4819,7 @@ const deserializeAws_queryPutInsightRuleOutput = (output, context) => {
|
|
|
5081
4819
|
return contents;
|
|
5082
4820
|
};
|
|
5083
4821
|
const deserializeAws_queryPutManagedInsightRulesOutput = (output, context) => {
|
|
5084
|
-
const contents = {
|
|
5085
|
-
Failures: undefined,
|
|
5086
|
-
};
|
|
4822
|
+
const contents = {};
|
|
5087
4823
|
if (output.Failures === "") {
|
|
5088
4824
|
contents.Failures = [];
|
|
5089
4825
|
}
|
|
@@ -5093,19 +4829,14 @@ const deserializeAws_queryPutManagedInsightRulesOutput = (output, context) => {
|
|
|
5093
4829
|
return contents;
|
|
5094
4830
|
};
|
|
5095
4831
|
const deserializeAws_queryPutMetricStreamOutput = (output, context) => {
|
|
5096
|
-
const contents = {
|
|
5097
|
-
Arn: undefined,
|
|
5098
|
-
};
|
|
4832
|
+
const contents = {};
|
|
5099
4833
|
if (output["Arn"] !== undefined) {
|
|
5100
4834
|
contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
|
|
5101
4835
|
}
|
|
5102
4836
|
return contents;
|
|
5103
4837
|
};
|
|
5104
4838
|
const deserializeAws_queryRange = (output, context) => {
|
|
5105
|
-
const contents = {
|
|
5106
|
-
StartTime: undefined,
|
|
5107
|
-
EndTime: undefined,
|
|
5108
|
-
};
|
|
4839
|
+
const contents = {};
|
|
5109
4840
|
if (output["StartTime"] !== undefined) {
|
|
5110
4841
|
contents.StartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["StartTime"]));
|
|
5111
4842
|
}
|
|
@@ -5122,20 +4853,14 @@ const deserializeAws_queryResourceList = (output, context) => {
|
|
|
5122
4853
|
});
|
|
5123
4854
|
};
|
|
5124
4855
|
const deserializeAws_queryResourceNotFound = (output, context) => {
|
|
5125
|
-
const contents = {
|
|
5126
|
-
message: undefined,
|
|
5127
|
-
};
|
|
4856
|
+
const contents = {};
|
|
5128
4857
|
if (output["message"] !== undefined) {
|
|
5129
4858
|
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
5130
4859
|
}
|
|
5131
4860
|
return contents;
|
|
5132
4861
|
};
|
|
5133
4862
|
const deserializeAws_queryResourceNotFoundException = (output, context) => {
|
|
5134
|
-
const contents = {
|
|
5135
|
-
ResourceType: undefined,
|
|
5136
|
-
ResourceId: undefined,
|
|
5137
|
-
Message: undefined,
|
|
5138
|
-
};
|
|
4863
|
+
const contents = {};
|
|
5139
4864
|
if (output["ResourceType"] !== undefined) {
|
|
5140
4865
|
contents.ResourceType = (0, smithy_client_1.expectString)(output["ResourceType"]);
|
|
5141
4866
|
}
|
|
@@ -5148,12 +4873,7 @@ const deserializeAws_queryResourceNotFoundException = (output, context) => {
|
|
|
5148
4873
|
return contents;
|
|
5149
4874
|
};
|
|
5150
4875
|
const deserializeAws_querySingleMetricAnomalyDetector = (output, context) => {
|
|
5151
|
-
const contents = {
|
|
5152
|
-
Namespace: undefined,
|
|
5153
|
-
MetricName: undefined,
|
|
5154
|
-
Dimensions: undefined,
|
|
5155
|
-
Stat: undefined,
|
|
5156
|
-
};
|
|
4876
|
+
const contents = {};
|
|
5157
4877
|
if (output["Namespace"] !== undefined) {
|
|
5158
4878
|
contents.Namespace = (0, smithy_client_1.expectString)(output["Namespace"]);
|
|
5159
4879
|
}
|
|
@@ -5180,10 +4900,7 @@ const deserializeAws_queryStopMetricStreamsOutput = (output, context) => {
|
|
|
5180
4900
|
return contents;
|
|
5181
4901
|
};
|
|
5182
4902
|
const deserializeAws_queryTag = (output, context) => {
|
|
5183
|
-
const contents = {
|
|
5184
|
-
Key: undefined,
|
|
5185
|
-
Value: undefined,
|
|
5186
|
-
};
|
|
4903
|
+
const contents = {};
|
|
5187
4904
|
if (output["Key"] !== undefined) {
|
|
5188
4905
|
contents.Key = (0, smithy_client_1.expectString)(output["Key"]);
|
|
5189
4906
|
}
|