@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
|
@@ -3528,14 +3528,7 @@ const serializeAws_queryValues = (input, context) => {
|
|
|
3528
3528
|
return entries;
|
|
3529
3529
|
};
|
|
3530
3530
|
const deserializeAws_queryAlarmHistoryItem = (output, context) => {
|
|
3531
|
-
const contents = {
|
|
3532
|
-
AlarmName: undefined,
|
|
3533
|
-
AlarmType: undefined,
|
|
3534
|
-
Timestamp: undefined,
|
|
3535
|
-
HistoryItemType: undefined,
|
|
3536
|
-
HistorySummary: undefined,
|
|
3537
|
-
HistoryData: undefined,
|
|
3538
|
-
};
|
|
3531
|
+
const contents = {};
|
|
3539
3532
|
if (output["AlarmName"] !== undefined) {
|
|
3540
3533
|
contents.AlarmName = __expectString(output["AlarmName"]);
|
|
3541
3534
|
}
|
|
@@ -3564,16 +3557,7 @@ const deserializeAws_queryAlarmHistoryItems = (output, context) => {
|
|
|
3564
3557
|
});
|
|
3565
3558
|
};
|
|
3566
3559
|
const deserializeAws_queryAnomalyDetector = (output, context) => {
|
|
3567
|
-
const contents = {
|
|
3568
|
-
Namespace: undefined,
|
|
3569
|
-
MetricName: undefined,
|
|
3570
|
-
Dimensions: undefined,
|
|
3571
|
-
Stat: undefined,
|
|
3572
|
-
Configuration: undefined,
|
|
3573
|
-
StateValue: undefined,
|
|
3574
|
-
SingleMetricAnomalyDetector: undefined,
|
|
3575
|
-
MetricMathAnomalyDetector: undefined,
|
|
3576
|
-
};
|
|
3560
|
+
const contents = {};
|
|
3577
3561
|
if (output["Namespace"] !== undefined) {
|
|
3578
3562
|
contents.Namespace = __expectString(output["Namespace"]);
|
|
3579
3563
|
}
|
|
@@ -3604,10 +3588,7 @@ const deserializeAws_queryAnomalyDetector = (output, context) => {
|
|
|
3604
3588
|
return contents;
|
|
3605
3589
|
};
|
|
3606
3590
|
const deserializeAws_queryAnomalyDetectorConfiguration = (output, context) => {
|
|
3607
|
-
const contents = {
|
|
3608
|
-
ExcludedTimeRanges: undefined,
|
|
3609
|
-
MetricTimezone: undefined,
|
|
3610
|
-
};
|
|
3591
|
+
const contents = {};
|
|
3611
3592
|
if (output.ExcludedTimeRanges === "") {
|
|
3612
3593
|
contents.ExcludedTimeRanges = [];
|
|
3613
3594
|
}
|
|
@@ -3641,27 +3622,7 @@ const deserializeAws_queryBatchFailures = (output, context) => {
|
|
|
3641
3622
|
});
|
|
3642
3623
|
};
|
|
3643
3624
|
const deserializeAws_queryCompositeAlarm = (output, context) => {
|
|
3644
|
-
const contents = {
|
|
3645
|
-
ActionsEnabled: undefined,
|
|
3646
|
-
AlarmActions: undefined,
|
|
3647
|
-
AlarmArn: undefined,
|
|
3648
|
-
AlarmConfigurationUpdatedTimestamp: undefined,
|
|
3649
|
-
AlarmDescription: undefined,
|
|
3650
|
-
AlarmName: undefined,
|
|
3651
|
-
AlarmRule: undefined,
|
|
3652
|
-
InsufficientDataActions: undefined,
|
|
3653
|
-
OKActions: undefined,
|
|
3654
|
-
StateReason: undefined,
|
|
3655
|
-
StateReasonData: undefined,
|
|
3656
|
-
StateUpdatedTimestamp: undefined,
|
|
3657
|
-
StateValue: undefined,
|
|
3658
|
-
StateTransitionedTimestamp: undefined,
|
|
3659
|
-
ActionsSuppressedBy: undefined,
|
|
3660
|
-
ActionsSuppressedReason: undefined,
|
|
3661
|
-
ActionsSuppressor: undefined,
|
|
3662
|
-
ActionsSuppressorWaitPeriod: undefined,
|
|
3663
|
-
ActionsSuppressorExtensionPeriod: undefined,
|
|
3664
|
-
};
|
|
3625
|
+
const contents = {};
|
|
3665
3626
|
if (output["ActionsEnabled"] !== undefined) {
|
|
3666
3627
|
contents.ActionsEnabled = __parseBoolean(output["ActionsEnabled"]);
|
|
3667
3628
|
}
|
|
@@ -3739,9 +3700,7 @@ const deserializeAws_queryCompositeAlarms = (output, context) => {
|
|
|
3739
3700
|
});
|
|
3740
3701
|
};
|
|
3741
3702
|
const deserializeAws_queryConcurrentModificationException = (output, context) => {
|
|
3742
|
-
const contents = {
|
|
3743
|
-
Message: undefined,
|
|
3744
|
-
};
|
|
3703
|
+
const contents = {};
|
|
3745
3704
|
if (output["Message"] !== undefined) {
|
|
3746
3705
|
contents.Message = __expectString(output["Message"]);
|
|
3747
3706
|
}
|
|
@@ -3755,12 +3714,7 @@ const deserializeAws_queryDashboardEntries = (output, context) => {
|
|
|
3755
3714
|
});
|
|
3756
3715
|
};
|
|
3757
3716
|
const deserializeAws_queryDashboardEntry = (output, context) => {
|
|
3758
|
-
const contents = {
|
|
3759
|
-
DashboardName: undefined,
|
|
3760
|
-
DashboardArn: undefined,
|
|
3761
|
-
LastModified: undefined,
|
|
3762
|
-
Size: undefined,
|
|
3763
|
-
};
|
|
3717
|
+
const contents = {};
|
|
3764
3718
|
if (output["DashboardName"] !== undefined) {
|
|
3765
3719
|
contents.DashboardName = __expectString(output["DashboardName"]);
|
|
3766
3720
|
}
|
|
@@ -3776,10 +3730,7 @@ const deserializeAws_queryDashboardEntry = (output, context) => {
|
|
|
3776
3730
|
return contents;
|
|
3777
3731
|
};
|
|
3778
3732
|
const deserializeAws_queryDashboardInvalidInputError = (output, context) => {
|
|
3779
|
-
const contents = {
|
|
3780
|
-
message: undefined,
|
|
3781
|
-
dashboardValidationMessages: undefined,
|
|
3782
|
-
};
|
|
3733
|
+
const contents = {};
|
|
3783
3734
|
if (output["message"] !== undefined) {
|
|
3784
3735
|
contents.message = __expectString(output["message"]);
|
|
3785
3736
|
}
|
|
@@ -3793,19 +3744,14 @@ const deserializeAws_queryDashboardInvalidInputError = (output, context) => {
|
|
|
3793
3744
|
return contents;
|
|
3794
3745
|
};
|
|
3795
3746
|
const deserializeAws_queryDashboardNotFoundError = (output, context) => {
|
|
3796
|
-
const contents = {
|
|
3797
|
-
message: undefined,
|
|
3798
|
-
};
|
|
3747
|
+
const contents = {};
|
|
3799
3748
|
if (output["message"] !== undefined) {
|
|
3800
3749
|
contents.message = __expectString(output["message"]);
|
|
3801
3750
|
}
|
|
3802
3751
|
return contents;
|
|
3803
3752
|
};
|
|
3804
3753
|
const deserializeAws_queryDashboardValidationMessage = (output, context) => {
|
|
3805
|
-
const contents = {
|
|
3806
|
-
DataPath: undefined,
|
|
3807
|
-
Message: undefined,
|
|
3808
|
-
};
|
|
3754
|
+
const contents = {};
|
|
3809
3755
|
if (output["DataPath"] !== undefined) {
|
|
3810
3756
|
contents.DataPath = __expectString(output["DataPath"]);
|
|
3811
3757
|
}
|
|
@@ -3822,16 +3768,7 @@ const deserializeAws_queryDashboardValidationMessages = (output, context) => {
|
|
|
3822
3768
|
});
|
|
3823
3769
|
};
|
|
3824
3770
|
const deserializeAws_queryDatapoint = (output, context) => {
|
|
3825
|
-
const contents = {
|
|
3826
|
-
Timestamp: undefined,
|
|
3827
|
-
SampleCount: undefined,
|
|
3828
|
-
Average: undefined,
|
|
3829
|
-
Sum: undefined,
|
|
3830
|
-
Minimum: undefined,
|
|
3831
|
-
Maximum: undefined,
|
|
3832
|
-
Unit: undefined,
|
|
3833
|
-
ExtendedStatistics: undefined,
|
|
3834
|
-
};
|
|
3771
|
+
const contents = {};
|
|
3835
3772
|
if (output["Timestamp"] !== undefined) {
|
|
3836
3773
|
contents.Timestamp = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["Timestamp"]));
|
|
3837
3774
|
}
|
|
@@ -3893,9 +3830,7 @@ const deserializeAws_queryDeleteDashboardsOutput = (output, context) => {
|
|
|
3893
3830
|
return contents;
|
|
3894
3831
|
};
|
|
3895
3832
|
const deserializeAws_queryDeleteInsightRulesOutput = (output, context) => {
|
|
3896
|
-
const contents = {
|
|
3897
|
-
Failures: undefined,
|
|
3898
|
-
};
|
|
3833
|
+
const contents = {};
|
|
3899
3834
|
if (output.Failures === "") {
|
|
3900
3835
|
contents.Failures = [];
|
|
3901
3836
|
}
|
|
@@ -3909,10 +3844,7 @@ const deserializeAws_queryDeleteMetricStreamOutput = (output, context) => {
|
|
|
3909
3844
|
return contents;
|
|
3910
3845
|
};
|
|
3911
3846
|
const deserializeAws_queryDescribeAlarmHistoryOutput = (output, context) => {
|
|
3912
|
-
const contents = {
|
|
3913
|
-
AlarmHistoryItems: undefined,
|
|
3914
|
-
NextToken: undefined,
|
|
3915
|
-
};
|
|
3847
|
+
const contents = {};
|
|
3916
3848
|
if (output.AlarmHistoryItems === "") {
|
|
3917
3849
|
contents.AlarmHistoryItems = [];
|
|
3918
3850
|
}
|
|
@@ -3925,9 +3857,7 @@ const deserializeAws_queryDescribeAlarmHistoryOutput = (output, context) => {
|
|
|
3925
3857
|
return contents;
|
|
3926
3858
|
};
|
|
3927
3859
|
const deserializeAws_queryDescribeAlarmsForMetricOutput = (output, context) => {
|
|
3928
|
-
const contents = {
|
|
3929
|
-
MetricAlarms: undefined,
|
|
3930
|
-
};
|
|
3860
|
+
const contents = {};
|
|
3931
3861
|
if (output.MetricAlarms === "") {
|
|
3932
3862
|
contents.MetricAlarms = [];
|
|
3933
3863
|
}
|
|
@@ -3937,11 +3867,7 @@ const deserializeAws_queryDescribeAlarmsForMetricOutput = (output, context) => {
|
|
|
3937
3867
|
return contents;
|
|
3938
3868
|
};
|
|
3939
3869
|
const deserializeAws_queryDescribeAlarmsOutput = (output, context) => {
|
|
3940
|
-
const contents = {
|
|
3941
|
-
CompositeAlarms: undefined,
|
|
3942
|
-
MetricAlarms: undefined,
|
|
3943
|
-
NextToken: undefined,
|
|
3944
|
-
};
|
|
3870
|
+
const contents = {};
|
|
3945
3871
|
if (output.CompositeAlarms === "") {
|
|
3946
3872
|
contents.CompositeAlarms = [];
|
|
3947
3873
|
}
|
|
@@ -3960,10 +3886,7 @@ const deserializeAws_queryDescribeAlarmsOutput = (output, context) => {
|
|
|
3960
3886
|
return contents;
|
|
3961
3887
|
};
|
|
3962
3888
|
const deserializeAws_queryDescribeAnomalyDetectorsOutput = (output, context) => {
|
|
3963
|
-
const contents = {
|
|
3964
|
-
AnomalyDetectors: undefined,
|
|
3965
|
-
NextToken: undefined,
|
|
3966
|
-
};
|
|
3889
|
+
const contents = {};
|
|
3967
3890
|
if (output.AnomalyDetectors === "") {
|
|
3968
3891
|
contents.AnomalyDetectors = [];
|
|
3969
3892
|
}
|
|
@@ -3976,10 +3899,7 @@ const deserializeAws_queryDescribeAnomalyDetectorsOutput = (output, context) =>
|
|
|
3976
3899
|
return contents;
|
|
3977
3900
|
};
|
|
3978
3901
|
const deserializeAws_queryDescribeInsightRulesOutput = (output, context) => {
|
|
3979
|
-
const contents = {
|
|
3980
|
-
NextToken: undefined,
|
|
3981
|
-
InsightRules: undefined,
|
|
3982
|
-
};
|
|
3902
|
+
const contents = {};
|
|
3983
3903
|
if (output["NextToken"] !== undefined) {
|
|
3984
3904
|
contents.NextToken = __expectString(output["NextToken"]);
|
|
3985
3905
|
}
|
|
@@ -3992,10 +3912,7 @@ const deserializeAws_queryDescribeInsightRulesOutput = (output, context) => {
|
|
|
3992
3912
|
return contents;
|
|
3993
3913
|
};
|
|
3994
3914
|
const deserializeAws_queryDimension = (output, context) => {
|
|
3995
|
-
const contents = {
|
|
3996
|
-
Name: undefined,
|
|
3997
|
-
Value: undefined,
|
|
3998
|
-
};
|
|
3915
|
+
const contents = {};
|
|
3999
3916
|
if (output["Name"] !== undefined) {
|
|
4000
3917
|
contents.Name = __expectString(output["Name"]);
|
|
4001
3918
|
}
|
|
@@ -4012,9 +3929,7 @@ const deserializeAws_queryDimensions = (output, context) => {
|
|
|
4012
3929
|
});
|
|
4013
3930
|
};
|
|
4014
3931
|
const deserializeAws_queryDisableInsightRulesOutput = (output, context) => {
|
|
4015
|
-
const contents = {
|
|
4016
|
-
Failures: undefined,
|
|
4017
|
-
};
|
|
3932
|
+
const contents = {};
|
|
4018
3933
|
if (output.Failures === "") {
|
|
4019
3934
|
contents.Failures = [];
|
|
4020
3935
|
}
|
|
@@ -4024,9 +3939,7 @@ const deserializeAws_queryDisableInsightRulesOutput = (output, context) => {
|
|
|
4024
3939
|
return contents;
|
|
4025
3940
|
};
|
|
4026
3941
|
const deserializeAws_queryEnableInsightRulesOutput = (output, context) => {
|
|
4027
|
-
const contents = {
|
|
4028
|
-
Failures: undefined,
|
|
4029
|
-
};
|
|
3942
|
+
const contents = {};
|
|
4030
3943
|
if (output.Failures === "") {
|
|
4031
3944
|
contents.Failures = [];
|
|
4032
3945
|
}
|
|
@@ -4036,11 +3949,7 @@ const deserializeAws_queryEnableInsightRulesOutput = (output, context) => {
|
|
|
4036
3949
|
return contents;
|
|
4037
3950
|
};
|
|
4038
3951
|
const deserializeAws_queryGetDashboardOutput = (output, context) => {
|
|
4039
|
-
const contents = {
|
|
4040
|
-
DashboardArn: undefined,
|
|
4041
|
-
DashboardBody: undefined,
|
|
4042
|
-
DashboardName: undefined,
|
|
4043
|
-
};
|
|
3952
|
+
const contents = {};
|
|
4044
3953
|
if (output["DashboardArn"] !== undefined) {
|
|
4045
3954
|
contents.DashboardArn = __expectString(output["DashboardArn"]);
|
|
4046
3955
|
}
|
|
@@ -4053,14 +3962,7 @@ const deserializeAws_queryGetDashboardOutput = (output, context) => {
|
|
|
4053
3962
|
return contents;
|
|
4054
3963
|
};
|
|
4055
3964
|
const deserializeAws_queryGetInsightRuleReportOutput = (output, context) => {
|
|
4056
|
-
const contents = {
|
|
4057
|
-
KeyLabels: undefined,
|
|
4058
|
-
AggregationStatistic: undefined,
|
|
4059
|
-
AggregateValue: undefined,
|
|
4060
|
-
ApproximateUniqueCount: undefined,
|
|
4061
|
-
Contributors: undefined,
|
|
4062
|
-
MetricDatapoints: undefined,
|
|
4063
|
-
};
|
|
3965
|
+
const contents = {};
|
|
4064
3966
|
if (output.KeyLabels === "") {
|
|
4065
3967
|
contents.KeyLabels = [];
|
|
4066
3968
|
}
|
|
@@ -4091,11 +3993,7 @@ const deserializeAws_queryGetInsightRuleReportOutput = (output, context) => {
|
|
|
4091
3993
|
return contents;
|
|
4092
3994
|
};
|
|
4093
3995
|
const deserializeAws_queryGetMetricDataOutput = (output, context) => {
|
|
4094
|
-
const contents = {
|
|
4095
|
-
MetricDataResults: undefined,
|
|
4096
|
-
NextToken: undefined,
|
|
4097
|
-
Messages: undefined,
|
|
4098
|
-
};
|
|
3996
|
+
const contents = {};
|
|
4099
3997
|
if (output.MetricDataResults === "") {
|
|
4100
3998
|
contents.MetricDataResults = [];
|
|
4101
3999
|
}
|
|
@@ -4114,10 +4012,7 @@ const deserializeAws_queryGetMetricDataOutput = (output, context) => {
|
|
|
4114
4012
|
return contents;
|
|
4115
4013
|
};
|
|
4116
4014
|
const deserializeAws_queryGetMetricStatisticsOutput = (output, context) => {
|
|
4117
|
-
const contents = {
|
|
4118
|
-
Label: undefined,
|
|
4119
|
-
Datapoints: undefined,
|
|
4120
|
-
};
|
|
4015
|
+
const contents = {};
|
|
4121
4016
|
if (output["Label"] !== undefined) {
|
|
4122
4017
|
contents.Label = __expectString(output["Label"]);
|
|
4123
4018
|
}
|
|
@@ -4130,20 +4025,7 @@ const deserializeAws_queryGetMetricStatisticsOutput = (output, context) => {
|
|
|
4130
4025
|
return contents;
|
|
4131
4026
|
};
|
|
4132
4027
|
const deserializeAws_queryGetMetricStreamOutput = (output, context) => {
|
|
4133
|
-
const contents = {
|
|
4134
|
-
Arn: undefined,
|
|
4135
|
-
Name: undefined,
|
|
4136
|
-
IncludeFilters: undefined,
|
|
4137
|
-
ExcludeFilters: undefined,
|
|
4138
|
-
FirehoseArn: undefined,
|
|
4139
|
-
RoleArn: undefined,
|
|
4140
|
-
State: undefined,
|
|
4141
|
-
CreationDate: undefined,
|
|
4142
|
-
LastUpdateDate: undefined,
|
|
4143
|
-
OutputFormat: undefined,
|
|
4144
|
-
StatisticsConfigurations: undefined,
|
|
4145
|
-
IncludeLinkedAccountsMetrics: undefined,
|
|
4146
|
-
};
|
|
4028
|
+
const contents = {};
|
|
4147
4029
|
if (output["Arn"] !== undefined) {
|
|
4148
4030
|
contents.Arn = __expectString(output["Arn"]);
|
|
4149
4031
|
}
|
|
@@ -4193,22 +4075,14 @@ const deserializeAws_queryGetMetricStreamOutput = (output, context) => {
|
|
|
4193
4075
|
return contents;
|
|
4194
4076
|
};
|
|
4195
4077
|
const deserializeAws_queryGetMetricWidgetImageOutput = (output, context) => {
|
|
4196
|
-
const contents = {
|
|
4197
|
-
MetricWidgetImage: undefined,
|
|
4198
|
-
};
|
|
4078
|
+
const contents = {};
|
|
4199
4079
|
if (output["MetricWidgetImage"] !== undefined) {
|
|
4200
4080
|
contents.MetricWidgetImage = context.base64Decoder(output["MetricWidgetImage"]);
|
|
4201
4081
|
}
|
|
4202
4082
|
return contents;
|
|
4203
4083
|
};
|
|
4204
4084
|
const deserializeAws_queryInsightRule = (output, context) => {
|
|
4205
|
-
const contents = {
|
|
4206
|
-
Name: undefined,
|
|
4207
|
-
State: undefined,
|
|
4208
|
-
Schema: undefined,
|
|
4209
|
-
Definition: undefined,
|
|
4210
|
-
ManagedRule: undefined,
|
|
4211
|
-
};
|
|
4085
|
+
const contents = {};
|
|
4212
4086
|
if (output["Name"] !== undefined) {
|
|
4213
4087
|
contents.Name = __expectString(output["Name"]);
|
|
4214
4088
|
}
|
|
@@ -4227,11 +4101,7 @@ const deserializeAws_queryInsightRule = (output, context) => {
|
|
|
4227
4101
|
return contents;
|
|
4228
4102
|
};
|
|
4229
4103
|
const deserializeAws_queryInsightRuleContributor = (output, context) => {
|
|
4230
|
-
const contents = {
|
|
4231
|
-
Keys: undefined,
|
|
4232
|
-
ApproximateAggregateValue: undefined,
|
|
4233
|
-
Datapoints: undefined,
|
|
4234
|
-
};
|
|
4104
|
+
const contents = {};
|
|
4235
4105
|
if (output.Keys === "") {
|
|
4236
4106
|
contents.Keys = [];
|
|
4237
4107
|
}
|
|
@@ -4250,10 +4120,7 @@ const deserializeAws_queryInsightRuleContributor = (output, context) => {
|
|
|
4250
4120
|
return contents;
|
|
4251
4121
|
};
|
|
4252
4122
|
const deserializeAws_queryInsightRuleContributorDatapoint = (output, context) => {
|
|
4253
|
-
const contents = {
|
|
4254
|
-
Timestamp: undefined,
|
|
4255
|
-
ApproximateValue: undefined,
|
|
4256
|
-
};
|
|
4123
|
+
const contents = {};
|
|
4257
4124
|
if (output["Timestamp"] !== undefined) {
|
|
4258
4125
|
contents.Timestamp = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["Timestamp"]));
|
|
4259
4126
|
}
|
|
@@ -4291,16 +4158,7 @@ const deserializeAws_queryInsightRuleContributors = (output, context) => {
|
|
|
4291
4158
|
});
|
|
4292
4159
|
};
|
|
4293
4160
|
const deserializeAws_queryInsightRuleMetricDatapoint = (output, context) => {
|
|
4294
|
-
const contents = {
|
|
4295
|
-
Timestamp: undefined,
|
|
4296
|
-
UniqueContributors: undefined,
|
|
4297
|
-
MaxContributorValue: undefined,
|
|
4298
|
-
SampleCount: undefined,
|
|
4299
|
-
Average: undefined,
|
|
4300
|
-
Sum: undefined,
|
|
4301
|
-
Minimum: undefined,
|
|
4302
|
-
Maximum: undefined,
|
|
4303
|
-
};
|
|
4161
|
+
const contents = {};
|
|
4304
4162
|
if (output["Timestamp"] !== undefined) {
|
|
4305
4163
|
contents.Timestamp = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["Timestamp"]));
|
|
4306
4164
|
}
|
|
@@ -4342,73 +4200,56 @@ const deserializeAws_queryInsightRules = (output, context) => {
|
|
|
4342
4200
|
});
|
|
4343
4201
|
};
|
|
4344
4202
|
const deserializeAws_queryInternalServiceFault = (output, context) => {
|
|
4345
|
-
const contents = {
|
|
4346
|
-
Message: undefined,
|
|
4347
|
-
};
|
|
4203
|
+
const contents = {};
|
|
4348
4204
|
if (output["Message"] !== undefined) {
|
|
4349
4205
|
contents.Message = __expectString(output["Message"]);
|
|
4350
4206
|
}
|
|
4351
4207
|
return contents;
|
|
4352
4208
|
};
|
|
4353
4209
|
const deserializeAws_queryInvalidFormatFault = (output, context) => {
|
|
4354
|
-
const contents = {
|
|
4355
|
-
message: undefined,
|
|
4356
|
-
};
|
|
4210
|
+
const contents = {};
|
|
4357
4211
|
if (output["message"] !== undefined) {
|
|
4358
4212
|
contents.message = __expectString(output["message"]);
|
|
4359
4213
|
}
|
|
4360
4214
|
return contents;
|
|
4361
4215
|
};
|
|
4362
4216
|
const deserializeAws_queryInvalidNextToken = (output, context) => {
|
|
4363
|
-
const contents = {
|
|
4364
|
-
message: undefined,
|
|
4365
|
-
};
|
|
4217
|
+
const contents = {};
|
|
4366
4218
|
if (output["message"] !== undefined) {
|
|
4367
4219
|
contents.message = __expectString(output["message"]);
|
|
4368
4220
|
}
|
|
4369
4221
|
return contents;
|
|
4370
4222
|
};
|
|
4371
4223
|
const deserializeAws_queryInvalidParameterCombinationException = (output, context) => {
|
|
4372
|
-
const contents = {
|
|
4373
|
-
message: undefined,
|
|
4374
|
-
};
|
|
4224
|
+
const contents = {};
|
|
4375
4225
|
if (output["message"] !== undefined) {
|
|
4376
4226
|
contents.message = __expectString(output["message"]);
|
|
4377
4227
|
}
|
|
4378
4228
|
return contents;
|
|
4379
4229
|
};
|
|
4380
4230
|
const deserializeAws_queryInvalidParameterValueException = (output, context) => {
|
|
4381
|
-
const contents = {
|
|
4382
|
-
message: undefined,
|
|
4383
|
-
};
|
|
4231
|
+
const contents = {};
|
|
4384
4232
|
if (output["message"] !== undefined) {
|
|
4385
4233
|
contents.message = __expectString(output["message"]);
|
|
4386
4234
|
}
|
|
4387
4235
|
return contents;
|
|
4388
4236
|
};
|
|
4389
4237
|
const deserializeAws_queryLimitExceededException = (output, context) => {
|
|
4390
|
-
const contents = {
|
|
4391
|
-
Message: undefined,
|
|
4392
|
-
};
|
|
4238
|
+
const contents = {};
|
|
4393
4239
|
if (output["Message"] !== undefined) {
|
|
4394
4240
|
contents.Message = __expectString(output["Message"]);
|
|
4395
4241
|
}
|
|
4396
4242
|
return contents;
|
|
4397
4243
|
};
|
|
4398
4244
|
const deserializeAws_queryLimitExceededFault = (output, context) => {
|
|
4399
|
-
const contents = {
|
|
4400
|
-
message: undefined,
|
|
4401
|
-
};
|
|
4245
|
+
const contents = {};
|
|
4402
4246
|
if (output["message"] !== undefined) {
|
|
4403
4247
|
contents.message = __expectString(output["message"]);
|
|
4404
4248
|
}
|
|
4405
4249
|
return contents;
|
|
4406
4250
|
};
|
|
4407
4251
|
const deserializeAws_queryListDashboardsOutput = (output, context) => {
|
|
4408
|
-
const contents = {
|
|
4409
|
-
DashboardEntries: undefined,
|
|
4410
|
-
NextToken: undefined,
|
|
4411
|
-
};
|
|
4252
|
+
const contents = {};
|
|
4412
4253
|
if (output.DashboardEntries === "") {
|
|
4413
4254
|
contents.DashboardEntries = [];
|
|
4414
4255
|
}
|
|
@@ -4421,10 +4262,7 @@ const deserializeAws_queryListDashboardsOutput = (output, context) => {
|
|
|
4421
4262
|
return contents;
|
|
4422
4263
|
};
|
|
4423
4264
|
const deserializeAws_queryListManagedInsightRulesOutput = (output, context) => {
|
|
4424
|
-
const contents = {
|
|
4425
|
-
ManagedRules: undefined,
|
|
4426
|
-
NextToken: undefined,
|
|
4427
|
-
};
|
|
4265
|
+
const contents = {};
|
|
4428
4266
|
if (output.ManagedRules === "") {
|
|
4429
4267
|
contents.ManagedRules = [];
|
|
4430
4268
|
}
|
|
@@ -4437,11 +4275,7 @@ const deserializeAws_queryListManagedInsightRulesOutput = (output, context) => {
|
|
|
4437
4275
|
return contents;
|
|
4438
4276
|
};
|
|
4439
4277
|
const deserializeAws_queryListMetricsOutput = (output, context) => {
|
|
4440
|
-
const contents = {
|
|
4441
|
-
Metrics: undefined,
|
|
4442
|
-
NextToken: undefined,
|
|
4443
|
-
OwningAccounts: undefined,
|
|
4444
|
-
};
|
|
4278
|
+
const contents = {};
|
|
4445
4279
|
if (output.Metrics === "") {
|
|
4446
4280
|
contents.Metrics = [];
|
|
4447
4281
|
}
|
|
@@ -4460,10 +4294,7 @@ const deserializeAws_queryListMetricsOutput = (output, context) => {
|
|
|
4460
4294
|
return contents;
|
|
4461
4295
|
};
|
|
4462
4296
|
const deserializeAws_queryListMetricStreamsOutput = (output, context) => {
|
|
4463
|
-
const contents = {
|
|
4464
|
-
NextToken: undefined,
|
|
4465
|
-
Entries: undefined,
|
|
4466
|
-
};
|
|
4297
|
+
const contents = {};
|
|
4467
4298
|
if (output["NextToken"] !== undefined) {
|
|
4468
4299
|
contents.NextToken = __expectString(output["NextToken"]);
|
|
4469
4300
|
}
|
|
@@ -4476,9 +4307,7 @@ const deserializeAws_queryListMetricStreamsOutput = (output, context) => {
|
|
|
4476
4307
|
return contents;
|
|
4477
4308
|
};
|
|
4478
4309
|
const deserializeAws_queryListTagsForResourceOutput = (output, context) => {
|
|
4479
|
-
const contents = {
|
|
4480
|
-
Tags: undefined,
|
|
4481
|
-
};
|
|
4310
|
+
const contents = {};
|
|
4482
4311
|
if (output.Tags === "") {
|
|
4483
4312
|
contents.Tags = [];
|
|
4484
4313
|
}
|
|
@@ -4488,11 +4317,7 @@ const deserializeAws_queryListTagsForResourceOutput = (output, context) => {
|
|
|
4488
4317
|
return contents;
|
|
4489
4318
|
};
|
|
4490
4319
|
const deserializeAws_queryManagedRuleDescription = (output, context) => {
|
|
4491
|
-
const contents = {
|
|
4492
|
-
TemplateName: undefined,
|
|
4493
|
-
ResourceARN: undefined,
|
|
4494
|
-
RuleState: undefined,
|
|
4495
|
-
};
|
|
4320
|
+
const contents = {};
|
|
4496
4321
|
if (output["TemplateName"] !== undefined) {
|
|
4497
4322
|
contents.TemplateName = __expectString(output["TemplateName"]);
|
|
4498
4323
|
}
|
|
@@ -4512,10 +4337,7 @@ const deserializeAws_queryManagedRuleDescriptions = (output, context) => {
|
|
|
4512
4337
|
});
|
|
4513
4338
|
};
|
|
4514
4339
|
const deserializeAws_queryManagedRuleState = (output, context) => {
|
|
4515
|
-
const contents = {
|
|
4516
|
-
RuleName: undefined,
|
|
4517
|
-
State: undefined,
|
|
4518
|
-
};
|
|
4340
|
+
const contents = {};
|
|
4519
4341
|
if (output["RuleName"] !== undefined) {
|
|
4520
4342
|
contents.RuleName = __expectString(output["RuleName"]);
|
|
4521
4343
|
}
|
|
@@ -4525,10 +4347,7 @@ const deserializeAws_queryManagedRuleState = (output, context) => {
|
|
|
4525
4347
|
return contents;
|
|
4526
4348
|
};
|
|
4527
4349
|
const deserializeAws_queryMessageData = (output, context) => {
|
|
4528
|
-
const contents = {
|
|
4529
|
-
Code: undefined,
|
|
4530
|
-
Value: undefined,
|
|
4531
|
-
};
|
|
4350
|
+
const contents = {};
|
|
4532
4351
|
if (output["Code"] !== undefined) {
|
|
4533
4352
|
contents.Code = __expectString(output["Code"]);
|
|
4534
4353
|
}
|
|
@@ -4538,11 +4357,7 @@ const deserializeAws_queryMessageData = (output, context) => {
|
|
|
4538
4357
|
return contents;
|
|
4539
4358
|
};
|
|
4540
4359
|
const deserializeAws_queryMetric = (output, context) => {
|
|
4541
|
-
const contents = {
|
|
4542
|
-
Namespace: undefined,
|
|
4543
|
-
MetricName: undefined,
|
|
4544
|
-
Dimensions: undefined,
|
|
4545
|
-
};
|
|
4360
|
+
const contents = {};
|
|
4546
4361
|
if (output["Namespace"] !== undefined) {
|
|
4547
4362
|
contents.Namespace = __expectString(output["Namespace"]);
|
|
4548
4363
|
}
|
|
@@ -4558,37 +4373,7 @@ const deserializeAws_queryMetric = (output, context) => {
|
|
|
4558
4373
|
return contents;
|
|
4559
4374
|
};
|
|
4560
4375
|
const deserializeAws_queryMetricAlarm = (output, context) => {
|
|
4561
|
-
const contents = {
|
|
4562
|
-
AlarmName: undefined,
|
|
4563
|
-
AlarmArn: undefined,
|
|
4564
|
-
AlarmDescription: undefined,
|
|
4565
|
-
AlarmConfigurationUpdatedTimestamp: undefined,
|
|
4566
|
-
ActionsEnabled: undefined,
|
|
4567
|
-
OKActions: undefined,
|
|
4568
|
-
AlarmActions: undefined,
|
|
4569
|
-
InsufficientDataActions: undefined,
|
|
4570
|
-
StateValue: undefined,
|
|
4571
|
-
StateReason: undefined,
|
|
4572
|
-
StateReasonData: undefined,
|
|
4573
|
-
StateUpdatedTimestamp: undefined,
|
|
4574
|
-
MetricName: undefined,
|
|
4575
|
-
Namespace: undefined,
|
|
4576
|
-
Statistic: undefined,
|
|
4577
|
-
ExtendedStatistic: undefined,
|
|
4578
|
-
Dimensions: undefined,
|
|
4579
|
-
Period: undefined,
|
|
4580
|
-
Unit: undefined,
|
|
4581
|
-
EvaluationPeriods: undefined,
|
|
4582
|
-
DatapointsToAlarm: undefined,
|
|
4583
|
-
Threshold: undefined,
|
|
4584
|
-
ComparisonOperator: undefined,
|
|
4585
|
-
TreatMissingData: undefined,
|
|
4586
|
-
EvaluateLowSampleCountPercentile: undefined,
|
|
4587
|
-
Metrics: undefined,
|
|
4588
|
-
ThresholdMetricId: undefined,
|
|
4589
|
-
EvaluationState: undefined,
|
|
4590
|
-
StateTransitionedTimestamp: undefined,
|
|
4591
|
-
};
|
|
4376
|
+
const contents = {};
|
|
4592
4377
|
if (output["AlarmName"] !== undefined) {
|
|
4593
4378
|
contents.AlarmName = __expectString(output["AlarmName"]);
|
|
4594
4379
|
}
|
|
@@ -4709,15 +4494,7 @@ const deserializeAws_queryMetricDataQueries = (output, context) => {
|
|
|
4709
4494
|
});
|
|
4710
4495
|
};
|
|
4711
4496
|
const deserializeAws_queryMetricDataQuery = (output, context) => {
|
|
4712
|
-
const contents = {
|
|
4713
|
-
Id: undefined,
|
|
4714
|
-
MetricStat: undefined,
|
|
4715
|
-
Expression: undefined,
|
|
4716
|
-
Label: undefined,
|
|
4717
|
-
ReturnData: undefined,
|
|
4718
|
-
Period: undefined,
|
|
4719
|
-
AccountId: undefined,
|
|
4720
|
-
};
|
|
4497
|
+
const contents = {};
|
|
4721
4498
|
if (output["Id"] !== undefined) {
|
|
4722
4499
|
contents.Id = __expectString(output["Id"]);
|
|
4723
4500
|
}
|
|
@@ -4742,14 +4519,7 @@ const deserializeAws_queryMetricDataQuery = (output, context) => {
|
|
|
4742
4519
|
return contents;
|
|
4743
4520
|
};
|
|
4744
4521
|
const deserializeAws_queryMetricDataResult = (output, context) => {
|
|
4745
|
-
const contents = {
|
|
4746
|
-
Id: undefined,
|
|
4747
|
-
Label: undefined,
|
|
4748
|
-
Timestamps: undefined,
|
|
4749
|
-
Values: undefined,
|
|
4750
|
-
StatusCode: undefined,
|
|
4751
|
-
Messages: undefined,
|
|
4752
|
-
};
|
|
4522
|
+
const contents = {};
|
|
4753
4523
|
if (output["Id"] !== undefined) {
|
|
4754
4524
|
contents.Id = __expectString(output["Id"]);
|
|
4755
4525
|
}
|
|
@@ -4794,9 +4564,7 @@ const deserializeAws_queryMetricDataResults = (output, context) => {
|
|
|
4794
4564
|
});
|
|
4795
4565
|
};
|
|
4796
4566
|
const deserializeAws_queryMetricMathAnomalyDetector = (output, context) => {
|
|
4797
|
-
const contents = {
|
|
4798
|
-
MetricDataQueries: undefined,
|
|
4799
|
-
};
|
|
4567
|
+
const contents = {};
|
|
4800
4568
|
if (output.MetricDataQueries === "") {
|
|
4801
4569
|
contents.MetricDataQueries = [];
|
|
4802
4570
|
}
|
|
@@ -4813,12 +4581,7 @@ const deserializeAws_queryMetrics = (output, context) => {
|
|
|
4813
4581
|
});
|
|
4814
4582
|
};
|
|
4815
4583
|
const deserializeAws_queryMetricStat = (output, context) => {
|
|
4816
|
-
const contents = {
|
|
4817
|
-
Metric: undefined,
|
|
4818
|
-
Period: undefined,
|
|
4819
|
-
Stat: undefined,
|
|
4820
|
-
Unit: undefined,
|
|
4821
|
-
};
|
|
4584
|
+
const contents = {};
|
|
4822
4585
|
if (output["Metric"] !== undefined) {
|
|
4823
4586
|
contents.Metric = deserializeAws_queryMetric(output["Metric"], context);
|
|
4824
4587
|
}
|
|
@@ -4841,15 +4604,7 @@ const deserializeAws_queryMetricStreamEntries = (output, context) => {
|
|
|
4841
4604
|
});
|
|
4842
4605
|
};
|
|
4843
4606
|
const deserializeAws_queryMetricStreamEntry = (output, context) => {
|
|
4844
|
-
const contents = {
|
|
4845
|
-
Arn: undefined,
|
|
4846
|
-
CreationDate: undefined,
|
|
4847
|
-
LastUpdateDate: undefined,
|
|
4848
|
-
Name: undefined,
|
|
4849
|
-
FirehoseArn: undefined,
|
|
4850
|
-
State: undefined,
|
|
4851
|
-
OutputFormat: undefined,
|
|
4852
|
-
};
|
|
4607
|
+
const contents = {};
|
|
4853
4608
|
if (output["Arn"] !== undefined) {
|
|
4854
4609
|
contents.Arn = __expectString(output["Arn"]);
|
|
4855
4610
|
}
|
|
@@ -4874,9 +4629,7 @@ const deserializeAws_queryMetricStreamEntry = (output, context) => {
|
|
|
4874
4629
|
return contents;
|
|
4875
4630
|
};
|
|
4876
4631
|
const deserializeAws_queryMetricStreamFilter = (output, context) => {
|
|
4877
|
-
const contents = {
|
|
4878
|
-
Namespace: undefined,
|
|
4879
|
-
};
|
|
4632
|
+
const contents = {};
|
|
4880
4633
|
if (output["Namespace"] !== undefined) {
|
|
4881
4634
|
contents.Namespace = __expectString(output["Namespace"]);
|
|
4882
4635
|
}
|
|
@@ -4897,10 +4650,7 @@ const deserializeAws_queryMetricStreamStatisticsAdditionalStatistics = (output,
|
|
|
4897
4650
|
});
|
|
4898
4651
|
};
|
|
4899
4652
|
const deserializeAws_queryMetricStreamStatisticsConfiguration = (output, context) => {
|
|
4900
|
-
const contents = {
|
|
4901
|
-
IncludeMetrics: undefined,
|
|
4902
|
-
AdditionalStatistics: undefined,
|
|
4903
|
-
};
|
|
4653
|
+
const contents = {};
|
|
4904
4654
|
if (output.IncludeMetrics === "") {
|
|
4905
4655
|
contents.IncludeMetrics = [];
|
|
4906
4656
|
}
|
|
@@ -4930,10 +4680,7 @@ const deserializeAws_queryMetricStreamStatisticsIncludeMetrics = (output, contex
|
|
|
4930
4680
|
});
|
|
4931
4681
|
};
|
|
4932
4682
|
const deserializeAws_queryMetricStreamStatisticsMetric = (output, context) => {
|
|
4933
|
-
const contents = {
|
|
4934
|
-
Namespace: undefined,
|
|
4935
|
-
MetricName: undefined,
|
|
4936
|
-
};
|
|
4683
|
+
const contents = {};
|
|
4937
4684
|
if (output["Namespace"] !== undefined) {
|
|
4938
4685
|
contents.Namespace = __expectString(output["Namespace"]);
|
|
4939
4686
|
}
|
|
@@ -4943,9 +4690,7 @@ const deserializeAws_queryMetricStreamStatisticsMetric = (output, context) => {
|
|
|
4943
4690
|
return contents;
|
|
4944
4691
|
};
|
|
4945
4692
|
const deserializeAws_queryMissingRequiredParameterException = (output, context) => {
|
|
4946
|
-
const contents = {
|
|
4947
|
-
message: undefined,
|
|
4948
|
-
};
|
|
4693
|
+
const contents = {};
|
|
4949
4694
|
if (output["message"] !== undefined) {
|
|
4950
4695
|
contents.message = __expectString(output["message"]);
|
|
4951
4696
|
}
|
|
@@ -4959,12 +4704,7 @@ const deserializeAws_queryOwningAccounts = (output, context) => {
|
|
|
4959
4704
|
});
|
|
4960
4705
|
};
|
|
4961
4706
|
const deserializeAws_queryPartialFailure = (output, context) => {
|
|
4962
|
-
const contents = {
|
|
4963
|
-
FailureResource: undefined,
|
|
4964
|
-
ExceptionType: undefined,
|
|
4965
|
-
FailureCode: undefined,
|
|
4966
|
-
FailureDescription: undefined,
|
|
4967
|
-
};
|
|
4707
|
+
const contents = {};
|
|
4968
4708
|
if (output["FailureResource"] !== undefined) {
|
|
4969
4709
|
contents.FailureResource = __expectString(output["FailureResource"]);
|
|
4970
4710
|
}
|
|
@@ -4984,9 +4724,7 @@ const deserializeAws_queryPutAnomalyDetectorOutput = (output, context) => {
|
|
|
4984
4724
|
return contents;
|
|
4985
4725
|
};
|
|
4986
4726
|
const deserializeAws_queryPutDashboardOutput = (output, context) => {
|
|
4987
|
-
const contents = {
|
|
4988
|
-
DashboardValidationMessages: undefined,
|
|
4989
|
-
};
|
|
4727
|
+
const contents = {};
|
|
4990
4728
|
if (output.DashboardValidationMessages === "") {
|
|
4991
4729
|
contents.DashboardValidationMessages = [];
|
|
4992
4730
|
}
|
|
@@ -5001,9 +4739,7 @@ const deserializeAws_queryPutInsightRuleOutput = (output, context) => {
|
|
|
5001
4739
|
return contents;
|
|
5002
4740
|
};
|
|
5003
4741
|
const deserializeAws_queryPutManagedInsightRulesOutput = (output, context) => {
|
|
5004
|
-
const contents = {
|
|
5005
|
-
Failures: undefined,
|
|
5006
|
-
};
|
|
4742
|
+
const contents = {};
|
|
5007
4743
|
if (output.Failures === "") {
|
|
5008
4744
|
contents.Failures = [];
|
|
5009
4745
|
}
|
|
@@ -5013,19 +4749,14 @@ const deserializeAws_queryPutManagedInsightRulesOutput = (output, context) => {
|
|
|
5013
4749
|
return contents;
|
|
5014
4750
|
};
|
|
5015
4751
|
const deserializeAws_queryPutMetricStreamOutput = (output, context) => {
|
|
5016
|
-
const contents = {
|
|
5017
|
-
Arn: undefined,
|
|
5018
|
-
};
|
|
4752
|
+
const contents = {};
|
|
5019
4753
|
if (output["Arn"] !== undefined) {
|
|
5020
4754
|
contents.Arn = __expectString(output["Arn"]);
|
|
5021
4755
|
}
|
|
5022
4756
|
return contents;
|
|
5023
4757
|
};
|
|
5024
4758
|
const deserializeAws_queryRange = (output, context) => {
|
|
5025
|
-
const contents = {
|
|
5026
|
-
StartTime: undefined,
|
|
5027
|
-
EndTime: undefined,
|
|
5028
|
-
};
|
|
4759
|
+
const contents = {};
|
|
5029
4760
|
if (output["StartTime"] !== undefined) {
|
|
5030
4761
|
contents.StartTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["StartTime"]));
|
|
5031
4762
|
}
|
|
@@ -5042,20 +4773,14 @@ const deserializeAws_queryResourceList = (output, context) => {
|
|
|
5042
4773
|
});
|
|
5043
4774
|
};
|
|
5044
4775
|
const deserializeAws_queryResourceNotFound = (output, context) => {
|
|
5045
|
-
const contents = {
|
|
5046
|
-
message: undefined,
|
|
5047
|
-
};
|
|
4776
|
+
const contents = {};
|
|
5048
4777
|
if (output["message"] !== undefined) {
|
|
5049
4778
|
contents.message = __expectString(output["message"]);
|
|
5050
4779
|
}
|
|
5051
4780
|
return contents;
|
|
5052
4781
|
};
|
|
5053
4782
|
const deserializeAws_queryResourceNotFoundException = (output, context) => {
|
|
5054
|
-
const contents = {
|
|
5055
|
-
ResourceType: undefined,
|
|
5056
|
-
ResourceId: undefined,
|
|
5057
|
-
Message: undefined,
|
|
5058
|
-
};
|
|
4783
|
+
const contents = {};
|
|
5059
4784
|
if (output["ResourceType"] !== undefined) {
|
|
5060
4785
|
contents.ResourceType = __expectString(output["ResourceType"]);
|
|
5061
4786
|
}
|
|
@@ -5068,12 +4793,7 @@ const deserializeAws_queryResourceNotFoundException = (output, context) => {
|
|
|
5068
4793
|
return contents;
|
|
5069
4794
|
};
|
|
5070
4795
|
const deserializeAws_querySingleMetricAnomalyDetector = (output, context) => {
|
|
5071
|
-
const contents = {
|
|
5072
|
-
Namespace: undefined,
|
|
5073
|
-
MetricName: undefined,
|
|
5074
|
-
Dimensions: undefined,
|
|
5075
|
-
Stat: undefined,
|
|
5076
|
-
};
|
|
4796
|
+
const contents = {};
|
|
5077
4797
|
if (output["Namespace"] !== undefined) {
|
|
5078
4798
|
contents.Namespace = __expectString(output["Namespace"]);
|
|
5079
4799
|
}
|
|
@@ -5100,10 +4820,7 @@ const deserializeAws_queryStopMetricStreamsOutput = (output, context) => {
|
|
|
5100
4820
|
return contents;
|
|
5101
4821
|
};
|
|
5102
4822
|
const deserializeAws_queryTag = (output, context) => {
|
|
5103
|
-
const contents = {
|
|
5104
|
-
Key: undefined,
|
|
5105
|
-
Value: undefined,
|
|
5106
|
-
};
|
|
4823
|
+
const contents = {};
|
|
5107
4824
|
if (output["Key"] !== undefined) {
|
|
5108
4825
|
contents.Key = __expectString(output["Key"]);
|
|
5109
4826
|
}
|