@aws-sdk/client-devops-guru 3.43.0 → 3.44.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.
@@ -1455,6 +1455,7 @@ const deserializeAws_restJson1DescribeResourceCollectionHealthCommand = async (o
1455
1455
  CloudFormation: undefined,
1456
1456
  NextToken: undefined,
1457
1457
  Service: undefined,
1458
+ Tags: undefined,
1458
1459
  };
1459
1460
  const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1460
1461
  if (data.CloudFormation !== undefined && data.CloudFormation !== null) {
@@ -1466,6 +1467,9 @@ const deserializeAws_restJson1DescribeResourceCollectionHealthCommand = async (o
1466
1467
  if (data.Service !== undefined && data.Service !== null) {
1467
1468
  contents.Service = deserializeAws_restJson1ServiceHealths(data.Service, context);
1468
1469
  }
1470
+ if (data.Tags !== undefined && data.Tags !== null) {
1471
+ contents.Tags = deserializeAws_restJson1TagHealths(data.Tags, context);
1472
+ }
1469
1473
  return Promise.resolve(contents);
1470
1474
  };
1471
1475
  exports.deserializeAws_restJson1DescribeResourceCollectionHealthCommand = deserializeAws_restJson1DescribeResourceCollectionHealthCommand;
@@ -2999,6 +3003,10 @@ const serializeAws_restJson1CostEstimationResourceCollectionFilter = (input, con
2999
3003
  input.CloudFormation !== null && {
3000
3004
  CloudFormation: serializeAws_restJson1CloudFormationCostEstimationResourceCollectionFilter(input.CloudFormation, context),
3001
3005
  }),
3006
+ ...(input.Tags !== undefined &&
3007
+ input.Tags !== null && {
3008
+ Tags: serializeAws_restJson1TagCostEstimationResourceCollectionFilters(input.Tags, context),
3009
+ }),
3002
3010
  };
3003
3011
  };
3004
3012
  const serializeAws_restJson1CostEstimationStackNames = (input, context) => {
@@ -3011,6 +3019,16 @@ const serializeAws_restJson1CostEstimationStackNames = (input, context) => {
3011
3019
  return entry;
3012
3020
  });
3013
3021
  };
3022
+ const serializeAws_restJson1CostEstimationTagValues = (input, context) => {
3023
+ return input
3024
+ .filter((e) => e != null)
3025
+ .map((entry) => {
3026
+ if (entry === null) {
3027
+ return null;
3028
+ }
3029
+ return entry;
3030
+ });
3031
+ };
3014
3032
  const serializeAws_restJson1EndTimeRange = (input, context) => {
3015
3033
  return {
3016
3034
  ...(input.FromTime !== undefined &&
@@ -3147,6 +3165,8 @@ const serializeAws_restJson1ResourceCollection = (input, context) => {
3147
3165
  input.CloudFormation !== null && {
3148
3166
  CloudFormation: serializeAws_restJson1CloudFormationCollection(input.CloudFormation, context),
3149
3167
  }),
3168
+ ...(input.Tags !== undefined &&
3169
+ input.Tags !== null && { Tags: serializeAws_restJson1TagCollections(input.Tags, context) }),
3150
3170
  };
3151
3171
  };
3152
3172
  const serializeAws_restJson1SearchInsightsAccountIdList = (input, context) => {
@@ -3229,6 +3249,54 @@ const serializeAws_restJson1StartTimeRange = (input, context) => {
3229
3249
  ...(input.ToTime !== undefined && input.ToTime !== null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }),
3230
3250
  };
3231
3251
  };
3252
+ const serializeAws_restJson1TagCollection = (input, context) => {
3253
+ return {
3254
+ ...(input.AppBoundaryKey !== undefined &&
3255
+ input.AppBoundaryKey !== null && { AppBoundaryKey: input.AppBoundaryKey }),
3256
+ ...(input.TagValues !== undefined &&
3257
+ input.TagValues !== null && { TagValues: serializeAws_restJson1TagValues(input.TagValues, context) }),
3258
+ };
3259
+ };
3260
+ const serializeAws_restJson1TagCollections = (input, context) => {
3261
+ return input
3262
+ .filter((e) => e != null)
3263
+ .map((entry) => {
3264
+ if (entry === null) {
3265
+ return null;
3266
+ }
3267
+ return serializeAws_restJson1TagCollection(entry, context);
3268
+ });
3269
+ };
3270
+ const serializeAws_restJson1TagCostEstimationResourceCollectionFilter = (input, context) => {
3271
+ return {
3272
+ ...(input.AppBoundaryKey !== undefined &&
3273
+ input.AppBoundaryKey !== null && { AppBoundaryKey: input.AppBoundaryKey }),
3274
+ ...(input.TagValues !== undefined &&
3275
+ input.TagValues !== null && {
3276
+ TagValues: serializeAws_restJson1CostEstimationTagValues(input.TagValues, context),
3277
+ }),
3278
+ };
3279
+ };
3280
+ const serializeAws_restJson1TagCostEstimationResourceCollectionFilters = (input, context) => {
3281
+ return input
3282
+ .filter((e) => e != null)
3283
+ .map((entry) => {
3284
+ if (entry === null) {
3285
+ return null;
3286
+ }
3287
+ return serializeAws_restJson1TagCostEstimationResourceCollectionFilter(entry, context);
3288
+ });
3289
+ };
3290
+ const serializeAws_restJson1TagValues = (input, context) => {
3291
+ return input
3292
+ .filter((e) => e != null)
3293
+ .map((entry) => {
3294
+ if (entry === null) {
3295
+ return null;
3296
+ }
3297
+ return entry;
3298
+ });
3299
+ };
3232
3300
  const serializeAws_restJson1UpdateCloudFormationCollectionFilter = (input, context) => {
3233
3301
  return {
3234
3302
  ...(input.StackNames !== undefined &&
@@ -3241,6 +3309,8 @@ const serializeAws_restJson1UpdateResourceCollectionFilter = (input, context) =>
3241
3309
  input.CloudFormation !== null && {
3242
3310
  CloudFormation: serializeAws_restJson1UpdateCloudFormationCollectionFilter(input.CloudFormation, context),
3243
3311
  }),
3312
+ ...(input.Tags !== undefined &&
3313
+ input.Tags !== null && { Tags: serializeAws_restJson1UpdateTagCollectionFilters(input.Tags, context) }),
3244
3314
  };
3245
3315
  };
3246
3316
  const serializeAws_restJson1UpdateServiceIntegrationConfig = (input, context) => {
@@ -3261,6 +3331,34 @@ const serializeAws_restJson1UpdateStackNames = (input, context) => {
3261
3331
  return entry;
3262
3332
  });
3263
3333
  };
3334
+ const serializeAws_restJson1UpdateTagCollectionFilter = (input, context) => {
3335
+ return {
3336
+ ...(input.AppBoundaryKey !== undefined &&
3337
+ input.AppBoundaryKey !== null && { AppBoundaryKey: input.AppBoundaryKey }),
3338
+ ...(input.TagValues !== undefined &&
3339
+ input.TagValues !== null && { TagValues: serializeAws_restJson1UpdateTagValues(input.TagValues, context) }),
3340
+ };
3341
+ };
3342
+ const serializeAws_restJson1UpdateTagCollectionFilters = (input, context) => {
3343
+ return input
3344
+ .filter((e) => e != null)
3345
+ .map((entry) => {
3346
+ if (entry === null) {
3347
+ return null;
3348
+ }
3349
+ return serializeAws_restJson1UpdateTagCollectionFilter(entry, context);
3350
+ });
3351
+ };
3352
+ const serializeAws_restJson1UpdateTagValues = (input, context) => {
3353
+ return input
3354
+ .filter((e) => e != null)
3355
+ .map((entry) => {
3356
+ if (entry === null) {
3357
+ return null;
3358
+ }
3359
+ return entry;
3360
+ });
3361
+ };
3264
3362
  const deserializeAws_restJson1AccountHealth = (output, context) => {
3265
3363
  return {
3266
3364
  AccountId: smithy_client_1.expectString(output.AccountId),
@@ -3295,11 +3393,30 @@ const deserializeAws_restJson1AnomalyReportedTimeRange = (output, context) => {
3295
3393
  : undefined,
3296
3394
  };
3297
3395
  };
3396
+ const deserializeAws_restJson1AnomalyResource = (output, context) => {
3397
+ return {
3398
+ Name: smithy_client_1.expectString(output.Name),
3399
+ Type: smithy_client_1.expectString(output.Type),
3400
+ };
3401
+ };
3402
+ const deserializeAws_restJson1AnomalyResources = (output, context) => {
3403
+ return (output || [])
3404
+ .filter((e) => e != null)
3405
+ .map((entry) => {
3406
+ if (entry === null) {
3407
+ return null;
3408
+ }
3409
+ return deserializeAws_restJson1AnomalyResource(entry, context);
3410
+ });
3411
+ };
3298
3412
  const deserializeAws_restJson1AnomalySourceDetails = (output, context) => {
3299
3413
  return {
3300
3414
  CloudWatchMetrics: output.CloudWatchMetrics !== undefined && output.CloudWatchMetrics !== null
3301
3415
  ? deserializeAws_restJson1CloudWatchMetricsDetails(output.CloudWatchMetrics, context)
3302
3416
  : undefined,
3417
+ PerformanceInsightsMetrics: output.PerformanceInsightsMetrics !== undefined && output.PerformanceInsightsMetrics !== null
3418
+ ? deserializeAws_restJson1PerformanceInsightsMetricsDetails(output.PerformanceInsightsMetrics, context)
3419
+ : undefined,
3303
3420
  };
3304
3421
  };
3305
3422
  const deserializeAws_restJson1AnomalyTimeRange = (output, context) => {
@@ -3312,6 +3429,16 @@ const deserializeAws_restJson1AnomalyTimeRange = (output, context) => {
3312
3429
  : undefined,
3313
3430
  };
3314
3431
  };
3432
+ const deserializeAws_restJson1AssociatedResourceArns = (output, context) => {
3433
+ return (output || [])
3434
+ .filter((e) => e != null)
3435
+ .map((entry) => {
3436
+ if (entry === null) {
3437
+ return null;
3438
+ }
3439
+ return smithy_client_1.expectString(entry);
3440
+ });
3441
+ };
3315
3442
  const deserializeAws_restJson1Channels = (output, context) => {
3316
3443
  return (output || [])
3317
3444
  .filter((e) => e != null)
@@ -3415,6 +3542,9 @@ const deserializeAws_restJson1CostEstimationResourceCollectionFilter = (output,
3415
3542
  CloudFormation: output.CloudFormation !== undefined && output.CloudFormation !== null
3416
3543
  ? deserializeAws_restJson1CloudFormationCostEstimationResourceCollectionFilter(output.CloudFormation, context)
3417
3544
  : undefined,
3545
+ Tags: output.Tags !== undefined && output.Tags !== null
3546
+ ? deserializeAws_restJson1TagCostEstimationResourceCollectionFilters(output.Tags, context)
3547
+ : undefined,
3418
3548
  };
3419
3549
  };
3420
3550
  const deserializeAws_restJson1CostEstimationStackNames = (output, context) => {
@@ -3427,6 +3557,16 @@ const deserializeAws_restJson1CostEstimationStackNames = (output, context) => {
3427
3557
  return smithy_client_1.expectString(entry);
3428
3558
  });
3429
3559
  };
3560
+ const deserializeAws_restJson1CostEstimationTagValues = (output, context) => {
3561
+ return (output || [])
3562
+ .filter((e) => e != null)
3563
+ .map((entry) => {
3564
+ if (entry === null) {
3565
+ return null;
3566
+ }
3567
+ return smithy_client_1.expectString(entry);
3568
+ });
3569
+ };
3430
3570
  const deserializeAws_restJson1CostEstimationTimeRange = (output, context) => {
3431
3571
  return {
3432
3572
  EndTime: output.EndTime !== undefined && output.EndTime !== null
@@ -3525,6 +3665,131 @@ const deserializeAws_restJson1OpsCenterIntegration = (output, context) => {
3525
3665
  OptInStatus: smithy_client_1.expectString(output.OptInStatus),
3526
3666
  };
3527
3667
  };
3668
+ const deserializeAws_restJson1PerformanceInsightsMetricDimensionGroup = (output, context) => {
3669
+ return {
3670
+ Dimensions: output.Dimensions !== undefined && output.Dimensions !== null
3671
+ ? deserializeAws_restJson1PerformanceInsightsMetricDimensions(output.Dimensions, context)
3672
+ : undefined,
3673
+ Group: smithy_client_1.expectString(output.Group),
3674
+ Limit: smithy_client_1.expectInt32(output.Limit),
3675
+ };
3676
+ };
3677
+ const deserializeAws_restJson1PerformanceInsightsMetricDimensions = (output, context) => {
3678
+ return (output || [])
3679
+ .filter((e) => e != null)
3680
+ .map((entry) => {
3681
+ if (entry === null) {
3682
+ return null;
3683
+ }
3684
+ return smithy_client_1.expectString(entry);
3685
+ });
3686
+ };
3687
+ const deserializeAws_restJson1PerformanceInsightsMetricFilterMap = (output, context) => {
3688
+ return Object.entries(output).reduce((acc, [key, value]) => {
3689
+ if (value === null) {
3690
+ return acc;
3691
+ }
3692
+ return {
3693
+ ...acc,
3694
+ [key]: smithy_client_1.expectString(value),
3695
+ };
3696
+ }, {});
3697
+ };
3698
+ const deserializeAws_restJson1PerformanceInsightsMetricQuery = (output, context) => {
3699
+ return {
3700
+ Filter: output.Filter !== undefined && output.Filter !== null
3701
+ ? deserializeAws_restJson1PerformanceInsightsMetricFilterMap(output.Filter, context)
3702
+ : undefined,
3703
+ GroupBy: output.GroupBy !== undefined && output.GroupBy !== null
3704
+ ? deserializeAws_restJson1PerformanceInsightsMetricDimensionGroup(output.GroupBy, context)
3705
+ : undefined,
3706
+ Metric: smithy_client_1.expectString(output.Metric),
3707
+ };
3708
+ };
3709
+ const deserializeAws_restJson1PerformanceInsightsMetricsDetail = (output, context) => {
3710
+ return {
3711
+ MetricDisplayName: smithy_client_1.expectString(output.MetricDisplayName),
3712
+ MetricQuery: output.MetricQuery !== undefined && output.MetricQuery !== null
3713
+ ? deserializeAws_restJson1PerformanceInsightsMetricQuery(output.MetricQuery, context)
3714
+ : undefined,
3715
+ ReferenceData: output.ReferenceData !== undefined && output.ReferenceData !== null
3716
+ ? deserializeAws_restJson1PerformanceInsightsReferenceDataList(output.ReferenceData, context)
3717
+ : undefined,
3718
+ StatsAtAnomaly: output.StatsAtAnomaly !== undefined && output.StatsAtAnomaly !== null
3719
+ ? deserializeAws_restJson1PerformanceInsightsStats(output.StatsAtAnomaly, context)
3720
+ : undefined,
3721
+ StatsAtBaseline: output.StatsAtBaseline !== undefined && output.StatsAtBaseline !== null
3722
+ ? deserializeAws_restJson1PerformanceInsightsStats(output.StatsAtBaseline, context)
3723
+ : undefined,
3724
+ Unit: smithy_client_1.expectString(output.Unit),
3725
+ };
3726
+ };
3727
+ const deserializeAws_restJson1PerformanceInsightsMetricsDetails = (output, context) => {
3728
+ return (output || [])
3729
+ .filter((e) => e != null)
3730
+ .map((entry) => {
3731
+ if (entry === null) {
3732
+ return null;
3733
+ }
3734
+ return deserializeAws_restJson1PerformanceInsightsMetricsDetail(entry, context);
3735
+ });
3736
+ };
3737
+ const deserializeAws_restJson1PerformanceInsightsReferenceComparisonValues = (output, context) => {
3738
+ return {
3739
+ ReferenceMetric: output.ReferenceMetric !== undefined && output.ReferenceMetric !== null
3740
+ ? deserializeAws_restJson1PerformanceInsightsReferenceMetric(output.ReferenceMetric, context)
3741
+ : undefined,
3742
+ ReferenceScalar: output.ReferenceScalar !== undefined && output.ReferenceScalar !== null
3743
+ ? deserializeAws_restJson1PerformanceInsightsReferenceScalar(output.ReferenceScalar, context)
3744
+ : undefined,
3745
+ };
3746
+ };
3747
+ const deserializeAws_restJson1PerformanceInsightsReferenceData = (output, context) => {
3748
+ return {
3749
+ ComparisonValues: output.ComparisonValues !== undefined && output.ComparisonValues !== null
3750
+ ? deserializeAws_restJson1PerformanceInsightsReferenceComparisonValues(output.ComparisonValues, context)
3751
+ : undefined,
3752
+ Name: smithy_client_1.expectString(output.Name),
3753
+ };
3754
+ };
3755
+ const deserializeAws_restJson1PerformanceInsightsReferenceDataList = (output, context) => {
3756
+ return (output || [])
3757
+ .filter((e) => e != null)
3758
+ .map((entry) => {
3759
+ if (entry === null) {
3760
+ return null;
3761
+ }
3762
+ return deserializeAws_restJson1PerformanceInsightsReferenceData(entry, context);
3763
+ });
3764
+ };
3765
+ const deserializeAws_restJson1PerformanceInsightsReferenceMetric = (output, context) => {
3766
+ return {
3767
+ MetricQuery: output.MetricQuery !== undefined && output.MetricQuery !== null
3768
+ ? deserializeAws_restJson1PerformanceInsightsMetricQuery(output.MetricQuery, context)
3769
+ : undefined,
3770
+ };
3771
+ };
3772
+ const deserializeAws_restJson1PerformanceInsightsReferenceScalar = (output, context) => {
3773
+ return {
3774
+ Value: smithy_client_1.limitedParseDouble(output.Value),
3775
+ };
3776
+ };
3777
+ const deserializeAws_restJson1PerformanceInsightsStat = (output, context) => {
3778
+ return {
3779
+ Type: smithy_client_1.expectString(output.Type),
3780
+ Value: smithy_client_1.limitedParseDouble(output.Value),
3781
+ };
3782
+ };
3783
+ const deserializeAws_restJson1PerformanceInsightsStats = (output, context) => {
3784
+ return (output || [])
3785
+ .filter((e) => e != null)
3786
+ .map((entry) => {
3787
+ if (entry === null) {
3788
+ return null;
3789
+ }
3790
+ return deserializeAws_restJson1PerformanceInsightsStat(entry, context);
3791
+ });
3792
+ };
3528
3793
  const deserializeAws_restJson1PredictionTimeRange = (output, context) => {
3529
3794
  return {
3530
3795
  EndTime: output.EndTime !== undefined && output.EndTime !== null
@@ -3629,6 +3894,9 @@ const deserializeAws_restJson1ProactiveInsights = (output, context) => {
3629
3894
  };
3630
3895
  const deserializeAws_restJson1ProactiveInsightSummary = (output, context) => {
3631
3896
  return {
3897
+ AssociatedResourceArns: output.AssociatedResourceArns !== undefined && output.AssociatedResourceArns !== null
3898
+ ? deserializeAws_restJson1AssociatedResourceArns(output.AssociatedResourceArns, context)
3899
+ : undefined,
3632
3900
  Id: smithy_client_1.expectString(output.Id),
3633
3901
  InsightTimeRange: output.InsightTimeRange !== undefined && output.InsightTimeRange !== null
3634
3902
  ? deserializeAws_restJson1InsightTimeRange(output.InsightTimeRange, context)
@@ -3694,11 +3962,17 @@ const deserializeAws_restJson1ReactiveAnomaly = (output, context) => {
3694
3962
  AnomalyReportedTimeRange: output.AnomalyReportedTimeRange !== undefined && output.AnomalyReportedTimeRange !== null
3695
3963
  ? deserializeAws_restJson1AnomalyReportedTimeRange(output.AnomalyReportedTimeRange, context)
3696
3964
  : undefined,
3965
+ AnomalyResources: output.AnomalyResources !== undefined && output.AnomalyResources !== null
3966
+ ? deserializeAws_restJson1AnomalyResources(output.AnomalyResources, context)
3967
+ : undefined,
3697
3968
  AnomalyTimeRange: output.AnomalyTimeRange !== undefined && output.AnomalyTimeRange !== null
3698
3969
  ? deserializeAws_restJson1AnomalyTimeRange(output.AnomalyTimeRange, context)
3699
3970
  : undefined,
3700
3971
  AssociatedInsightId: smithy_client_1.expectString(output.AssociatedInsightId),
3972
+ CausalAnomalyId: smithy_client_1.expectString(output.CausalAnomalyId),
3973
+ Description: smithy_client_1.expectString(output.Description),
3701
3974
  Id: smithy_client_1.expectString(output.Id),
3975
+ Name: smithy_client_1.expectString(output.Name),
3702
3976
  ResourceCollection: output.ResourceCollection !== undefined && output.ResourceCollection !== null
3703
3977
  ? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
3704
3978
  : undefined,
@@ -3707,6 +3981,7 @@ const deserializeAws_restJson1ReactiveAnomaly = (output, context) => {
3707
3981
  ? deserializeAws_restJson1AnomalySourceDetails(output.SourceDetails, context)
3708
3982
  : undefined,
3709
3983
  Status: smithy_client_1.expectString(output.Status),
3984
+ Type: smithy_client_1.expectString(output.Type),
3710
3985
  };
3711
3986
  };
3712
3987
  const deserializeAws_restJson1ReactiveAnomalySummary = (output, context) => {
@@ -3714,11 +3989,17 @@ const deserializeAws_restJson1ReactiveAnomalySummary = (output, context) => {
3714
3989
  AnomalyReportedTimeRange: output.AnomalyReportedTimeRange !== undefined && output.AnomalyReportedTimeRange !== null
3715
3990
  ? deserializeAws_restJson1AnomalyReportedTimeRange(output.AnomalyReportedTimeRange, context)
3716
3991
  : undefined,
3992
+ AnomalyResources: output.AnomalyResources !== undefined && output.AnomalyResources !== null
3993
+ ? deserializeAws_restJson1AnomalyResources(output.AnomalyResources, context)
3994
+ : undefined,
3717
3995
  AnomalyTimeRange: output.AnomalyTimeRange !== undefined && output.AnomalyTimeRange !== null
3718
3996
  ? deserializeAws_restJson1AnomalyTimeRange(output.AnomalyTimeRange, context)
3719
3997
  : undefined,
3720
3998
  AssociatedInsightId: smithy_client_1.expectString(output.AssociatedInsightId),
3999
+ CausalAnomalyId: smithy_client_1.expectString(output.CausalAnomalyId),
4000
+ Description: smithy_client_1.expectString(output.Description),
3721
4001
  Id: smithy_client_1.expectString(output.Id),
4002
+ Name: smithy_client_1.expectString(output.Name),
3722
4003
  ResourceCollection: output.ResourceCollection !== undefined && output.ResourceCollection !== null
3723
4004
  ? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
3724
4005
  : undefined,
@@ -3727,6 +4008,7 @@ const deserializeAws_restJson1ReactiveAnomalySummary = (output, context) => {
3727
4008
  ? deserializeAws_restJson1AnomalySourceDetails(output.SourceDetails, context)
3728
4009
  : undefined,
3729
4010
  Status: smithy_client_1.expectString(output.Status),
4011
+ Type: smithy_client_1.expectString(output.Type),
3730
4012
  };
3731
4013
  };
3732
4014
  const deserializeAws_restJson1ReactiveInsight = (output, context) => {
@@ -3756,6 +4038,9 @@ const deserializeAws_restJson1ReactiveInsights = (output, context) => {
3756
4038
  };
3757
4039
  const deserializeAws_restJson1ReactiveInsightSummary = (output, context) => {
3758
4040
  return {
4041
+ AssociatedResourceArns: output.AssociatedResourceArns !== undefined && output.AssociatedResourceArns !== null
4042
+ ? deserializeAws_restJson1AssociatedResourceArns(output.AssociatedResourceArns, context)
4043
+ : undefined,
3759
4044
  Id: smithy_client_1.expectString(output.Id),
3760
4045
  InsightTimeRange: output.InsightTimeRange !== undefined && output.InsightTimeRange !== null
3761
4046
  ? deserializeAws_restJson1InsightTimeRange(output.InsightTimeRange, context)
@@ -3826,6 +4111,7 @@ const deserializeAws_restJson1RecommendationRelatedAnomalies = (output, context)
3826
4111
  };
3827
4112
  const deserializeAws_restJson1RecommendationRelatedAnomaly = (output, context) => {
3828
4113
  return {
4114
+ AnomalyId: smithy_client_1.expectString(output.AnomalyId),
3829
4115
  Resources: output.Resources !== undefined && output.Resources !== null
3830
4116
  ? deserializeAws_restJson1RecommendationRelatedAnomalyResources(output.Resources, context)
3831
4117
  : undefined,
@@ -3932,6 +4218,9 @@ const deserializeAws_restJson1ResourceCollection = (output, context) => {
3932
4218
  CloudFormation: output.CloudFormation !== undefined && output.CloudFormation !== null
3933
4219
  ? deserializeAws_restJson1CloudFormationCollection(output.CloudFormation, context)
3934
4220
  : undefined,
4221
+ Tags: output.Tags !== undefined && output.Tags !== null
4222
+ ? deserializeAws_restJson1TagCollections(output.Tags, context)
4223
+ : undefined,
3935
4224
  };
3936
4225
  };
3937
4226
  const deserializeAws_restJson1ResourceCollectionFilter = (output, context) => {
@@ -3939,6 +4228,9 @@ const deserializeAws_restJson1ResourceCollectionFilter = (output, context) => {
3939
4228
  CloudFormation: output.CloudFormation !== undefined && output.CloudFormation !== null
3940
4229
  ? deserializeAws_restJson1CloudFormationCollectionFilter(output.CloudFormation, context)
3941
4230
  : undefined,
4231
+ Tags: output.Tags !== undefined && output.Tags !== null
4232
+ ? deserializeAws_restJson1TagCollectionFilters(output.Tags, context)
4233
+ : undefined,
3942
4234
  };
3943
4235
  };
3944
4236
  const deserializeAws_restJson1ServiceCollection = (output, context) => {
@@ -4023,6 +4315,89 @@ const deserializeAws_restJson1StackNames = (output, context) => {
4023
4315
  return smithy_client_1.expectString(entry);
4024
4316
  });
4025
4317
  };
4318
+ const deserializeAws_restJson1TagCollection = (output, context) => {
4319
+ return {
4320
+ AppBoundaryKey: smithy_client_1.expectString(output.AppBoundaryKey),
4321
+ TagValues: output.TagValues !== undefined && output.TagValues !== null
4322
+ ? deserializeAws_restJson1TagValues(output.TagValues, context)
4323
+ : undefined,
4324
+ };
4325
+ };
4326
+ const deserializeAws_restJson1TagCollectionFilter = (output, context) => {
4327
+ return {
4328
+ AppBoundaryKey: smithy_client_1.expectString(output.AppBoundaryKey),
4329
+ TagValues: output.TagValues !== undefined && output.TagValues !== null
4330
+ ? deserializeAws_restJson1TagValues(output.TagValues, context)
4331
+ : undefined,
4332
+ };
4333
+ };
4334
+ const deserializeAws_restJson1TagCollectionFilters = (output, context) => {
4335
+ return (output || [])
4336
+ .filter((e) => e != null)
4337
+ .map((entry) => {
4338
+ if (entry === null) {
4339
+ return null;
4340
+ }
4341
+ return deserializeAws_restJson1TagCollectionFilter(entry, context);
4342
+ });
4343
+ };
4344
+ const deserializeAws_restJson1TagCollections = (output, context) => {
4345
+ return (output || [])
4346
+ .filter((e) => e != null)
4347
+ .map((entry) => {
4348
+ if (entry === null) {
4349
+ return null;
4350
+ }
4351
+ return deserializeAws_restJson1TagCollection(entry, context);
4352
+ });
4353
+ };
4354
+ const deserializeAws_restJson1TagCostEstimationResourceCollectionFilter = (output, context) => {
4355
+ return {
4356
+ AppBoundaryKey: smithy_client_1.expectString(output.AppBoundaryKey),
4357
+ TagValues: output.TagValues !== undefined && output.TagValues !== null
4358
+ ? deserializeAws_restJson1CostEstimationTagValues(output.TagValues, context)
4359
+ : undefined,
4360
+ };
4361
+ };
4362
+ const deserializeAws_restJson1TagCostEstimationResourceCollectionFilters = (output, context) => {
4363
+ return (output || [])
4364
+ .filter((e) => e != null)
4365
+ .map((entry) => {
4366
+ if (entry === null) {
4367
+ return null;
4368
+ }
4369
+ return deserializeAws_restJson1TagCostEstimationResourceCollectionFilter(entry, context);
4370
+ });
4371
+ };
4372
+ const deserializeAws_restJson1TagHealth = (output, context) => {
4373
+ return {
4374
+ AppBoundaryKey: smithy_client_1.expectString(output.AppBoundaryKey),
4375
+ Insight: output.Insight !== undefined && output.Insight !== null
4376
+ ? deserializeAws_restJson1InsightHealth(output.Insight, context)
4377
+ : undefined,
4378
+ TagValue: smithy_client_1.expectString(output.TagValue),
4379
+ };
4380
+ };
4381
+ const deserializeAws_restJson1TagHealths = (output, context) => {
4382
+ return (output || [])
4383
+ .filter((e) => e != null)
4384
+ .map((entry) => {
4385
+ if (entry === null) {
4386
+ return null;
4387
+ }
4388
+ return deserializeAws_restJson1TagHealth(entry, context);
4389
+ });
4390
+ };
4391
+ const deserializeAws_restJson1TagValues = (output, context) => {
4392
+ return (output || [])
4393
+ .filter((e) => e != null)
4394
+ .map((entry) => {
4395
+ if (entry === null) {
4396
+ return null;
4397
+ }
4398
+ return smithy_client_1.expectString(entry);
4399
+ });
4400
+ };
4026
4401
  const deserializeAws_restJson1TimestampMetricValuePair = (output, context) => {
4027
4402
  return {
4028
4403
  MetricValue: smithy_client_1.limitedParseDouble(output.MetricValue),
@@ -55,7 +55,9 @@ export var ValidationExceptionReason;
55
55
  (function (ValidationExceptionReason) {
56
56
  ValidationExceptionReason["CANNOT_PARSE"] = "CANNOT_PARSE";
57
57
  ValidationExceptionReason["FIELD_VALIDATION_FAILED"] = "FIELD_VALIDATION_FAILED";
58
+ ValidationExceptionReason["INVALID_PARAMETER_COMBINATION"] = "INVALID_PARAMETER_COMBINATION";
58
59
  ValidationExceptionReason["OTHER"] = "OTHER";
60
+ ValidationExceptionReason["PARAMETER_INCONSISTENT_WITH_SERVICE_STATE"] = "PARAMETER_INCONSISTENT_WITH_SERVICE_STATE";
59
61
  ValidationExceptionReason["UNKNOWN_OPERATION"] = "UNKNOWN_OPERATION";
60
62
  })(ValidationExceptionReason || (ValidationExceptionReason = {}));
61
63
  export var ValidationException;
@@ -66,6 +68,10 @@ export var AnomalyReportedTimeRange;
66
68
  (function (AnomalyReportedTimeRange) {
67
69
  AnomalyReportedTimeRange.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
68
70
  })(AnomalyReportedTimeRange || (AnomalyReportedTimeRange = {}));
71
+ export var AnomalyResource;
72
+ (function (AnomalyResource) {
73
+ AnomalyResource.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
74
+ })(AnomalyResource || (AnomalyResource = {}));
69
75
  export var AnomalySeverity;
70
76
  (function (AnomalySeverity) {
71
77
  AnomalySeverity["HIGH"] = "HIGH";
@@ -105,6 +111,38 @@ export var CloudWatchMetricsDetail;
105
111
  (function (CloudWatchMetricsDetail) {
106
112
  CloudWatchMetricsDetail.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
107
113
  })(CloudWatchMetricsDetail || (CloudWatchMetricsDetail = {}));
114
+ export var PerformanceInsightsMetricDimensionGroup;
115
+ (function (PerformanceInsightsMetricDimensionGroup) {
116
+ PerformanceInsightsMetricDimensionGroup.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
117
+ })(PerformanceInsightsMetricDimensionGroup || (PerformanceInsightsMetricDimensionGroup = {}));
118
+ export var PerformanceInsightsMetricQuery;
119
+ (function (PerformanceInsightsMetricQuery) {
120
+ PerformanceInsightsMetricQuery.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
121
+ })(PerformanceInsightsMetricQuery || (PerformanceInsightsMetricQuery = {}));
122
+ export var PerformanceInsightsReferenceMetric;
123
+ (function (PerformanceInsightsReferenceMetric) {
124
+ PerformanceInsightsReferenceMetric.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
125
+ })(PerformanceInsightsReferenceMetric || (PerformanceInsightsReferenceMetric = {}));
126
+ export var PerformanceInsightsReferenceScalar;
127
+ (function (PerformanceInsightsReferenceScalar) {
128
+ PerformanceInsightsReferenceScalar.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
129
+ })(PerformanceInsightsReferenceScalar || (PerformanceInsightsReferenceScalar = {}));
130
+ export var PerformanceInsightsReferenceComparisonValues;
131
+ (function (PerformanceInsightsReferenceComparisonValues) {
132
+ PerformanceInsightsReferenceComparisonValues.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
133
+ })(PerformanceInsightsReferenceComparisonValues || (PerformanceInsightsReferenceComparisonValues = {}));
134
+ export var PerformanceInsightsReferenceData;
135
+ (function (PerformanceInsightsReferenceData) {
136
+ PerformanceInsightsReferenceData.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
137
+ })(PerformanceInsightsReferenceData || (PerformanceInsightsReferenceData = {}));
138
+ export var PerformanceInsightsStat;
139
+ (function (PerformanceInsightsStat) {
140
+ PerformanceInsightsStat.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
141
+ })(PerformanceInsightsStat || (PerformanceInsightsStat = {}));
142
+ export var PerformanceInsightsMetricsDetail;
143
+ (function (PerformanceInsightsMetricsDetail) {
144
+ PerformanceInsightsMetricsDetail.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
145
+ })(PerformanceInsightsMetricsDetail || (PerformanceInsightsMetricsDetail = {}));
108
146
  export var AnomalySourceDetails;
109
147
  (function (AnomalySourceDetails) {
110
148
  AnomalySourceDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -118,6 +156,11 @@ export var AnomalyTimeRange;
118
156
  (function (AnomalyTimeRange) {
119
157
  AnomalyTimeRange.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
120
158
  })(AnomalyTimeRange || (AnomalyTimeRange = {}));
159
+ export var AnomalyType;
160
+ (function (AnomalyType) {
161
+ AnomalyType["CAUSAL"] = "CAUSAL";
162
+ AnomalyType["CONTEXTUAL"] = "CONTEXTUAL";
163
+ })(AnomalyType || (AnomalyType = {}));
121
164
  export var DescribeAccountHealthRequest;
122
165
  (function (DescribeAccountHealthRequest) {
123
166
  DescribeAccountHealthRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -146,6 +189,10 @@ export var CloudFormationCollection;
146
189
  (function (CloudFormationCollection) {
147
190
  CloudFormationCollection.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
148
191
  })(CloudFormationCollection || (CloudFormationCollection = {}));
192
+ export var TagCollection;
193
+ (function (TagCollection) {
194
+ TagCollection.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
195
+ })(TagCollection || (TagCollection = {}));
149
196
  export var ResourceCollection;
150
197
  (function (ResourceCollection) {
151
198
  ResourceCollection.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -291,11 +338,16 @@ export var ResourceCollectionType;
291
338
  (function (ResourceCollectionType) {
292
339
  ResourceCollectionType["AWS_CLOUD_FORMATION"] = "AWS_CLOUD_FORMATION";
293
340
  ResourceCollectionType["AWS_SERVICE"] = "AWS_SERVICE";
341
+ ResourceCollectionType["AWS_TAGS"] = "AWS_TAGS";
294
342
  })(ResourceCollectionType || (ResourceCollectionType = {}));
295
343
  export var DescribeResourceCollectionHealthRequest;
296
344
  (function (DescribeResourceCollectionHealthRequest) {
297
345
  DescribeResourceCollectionHealthRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
298
346
  })(DescribeResourceCollectionHealthRequest || (DescribeResourceCollectionHealthRequest = {}));
347
+ export var TagHealth;
348
+ (function (TagHealth) {
349
+ TagHealth.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
350
+ })(TagHealth || (TagHealth = {}));
299
351
  export var DescribeResourceCollectionHealthResponse;
300
352
  (function (DescribeResourceCollectionHealthResponse) {
301
353
  DescribeResourceCollectionHealthResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -338,6 +390,10 @@ export var CloudFormationCostEstimationResourceCollectionFilter;
338
390
  (function (CloudFormationCostEstimationResourceCollectionFilter) {
339
391
  CloudFormationCostEstimationResourceCollectionFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
340
392
  })(CloudFormationCostEstimationResourceCollectionFilter || (CloudFormationCostEstimationResourceCollectionFilter = {}));
393
+ export var TagCostEstimationResourceCollectionFilter;
394
+ (function (TagCostEstimationResourceCollectionFilter) {
395
+ TagCostEstimationResourceCollectionFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
396
+ })(TagCostEstimationResourceCollectionFilter || (TagCostEstimationResourceCollectionFilter = {}));
341
397
  export var CostEstimationResourceCollectionFilter;
342
398
  (function (CostEstimationResourceCollectionFilter) {
343
399
  CostEstimationResourceCollectionFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -363,6 +419,10 @@ export var CloudFormationCollectionFilter;
363
419
  (function (CloudFormationCollectionFilter) {
364
420
  CloudFormationCollectionFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
365
421
  })(CloudFormationCollectionFilter || (CloudFormationCollectionFilter = {}));
422
+ export var TagCollectionFilter;
423
+ (function (TagCollectionFilter) {
424
+ TagCollectionFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
425
+ })(TagCollectionFilter || (TagCollectionFilter = {}));
366
426
  export var ResourceCollectionFilter;
367
427
  (function (ResourceCollectionFilter) {
368
428
  ResourceCollectionFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -608,6 +668,10 @@ export var UpdateCloudFormationCollectionFilter;
608
668
  (function (UpdateCloudFormationCollectionFilter) {
609
669
  UpdateCloudFormationCollectionFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
610
670
  })(UpdateCloudFormationCollectionFilter || (UpdateCloudFormationCollectionFilter = {}));
671
+ export var UpdateTagCollectionFilter;
672
+ (function (UpdateTagCollectionFilter) {
673
+ UpdateTagCollectionFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
674
+ })(UpdateTagCollectionFilter || (UpdateTagCollectionFilter = {}));
611
675
  export var UpdateResourceCollectionFilter;
612
676
  (function (UpdateResourceCollectionFilter) {
613
677
  UpdateResourceCollectionFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };