@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.
@@ -1,4 +1,4 @@
1
- import { __assign, __awaiter, __generator } from "tslib";
1
+ import { __assign, __awaiter, __generator, __read } from "tslib";
2
2
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
3
3
  import { expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, strictParseInt32 as __strictParseInt32, } from "@aws-sdk/smithy-client";
4
4
  import { v4 as generateIdempotencyToken } from "uuid";
@@ -1631,6 +1631,7 @@ export var deserializeAws_restJson1DescribeResourceCollectionHealthCommand = fun
1631
1631
  CloudFormation: undefined,
1632
1632
  NextToken: undefined,
1633
1633
  Service: undefined,
1634
+ Tags: undefined,
1634
1635
  };
1635
1636
  _a = __expectNonNull;
1636
1637
  _b = __expectObject;
@@ -1646,6 +1647,9 @@ export var deserializeAws_restJson1DescribeResourceCollectionHealthCommand = fun
1646
1647
  if (data.Service !== undefined && data.Service !== null) {
1647
1648
  contents.Service = deserializeAws_restJson1ServiceHealths(data.Service, context);
1648
1649
  }
1650
+ if (data.Tags !== undefined && data.Tags !== null) {
1651
+ contents.Tags = deserializeAws_restJson1TagHealths(data.Tags, context);
1652
+ }
1649
1653
  return [2, Promise.resolve(contents)];
1650
1654
  }
1651
1655
  });
@@ -3411,9 +3415,12 @@ var serializeAws_restJson1CloudFormationCostEstimationResourceCollectionFilter =
3411
3415
  }));
3412
3416
  };
3413
3417
  var serializeAws_restJson1CostEstimationResourceCollectionFilter = function (input, context) {
3414
- return __assign({}, (input.CloudFormation !== undefined &&
3418
+ return __assign(__assign({}, (input.CloudFormation !== undefined &&
3415
3419
  input.CloudFormation !== null && {
3416
3420
  CloudFormation: serializeAws_restJson1CloudFormationCostEstimationResourceCollectionFilter(input.CloudFormation, context),
3421
+ })), (input.Tags !== undefined &&
3422
+ input.Tags !== null && {
3423
+ Tags: serializeAws_restJson1TagCostEstimationResourceCollectionFilters(input.Tags, context),
3417
3424
  }));
3418
3425
  };
3419
3426
  var serializeAws_restJson1CostEstimationStackNames = function (input, context) {
@@ -3426,6 +3433,16 @@ var serializeAws_restJson1CostEstimationStackNames = function (input, context) {
3426
3433
  return entry;
3427
3434
  });
3428
3435
  };
3436
+ var serializeAws_restJson1CostEstimationTagValues = function (input, context) {
3437
+ return input
3438
+ .filter(function (e) { return e != null; })
3439
+ .map(function (entry) {
3440
+ if (entry === null) {
3441
+ return null;
3442
+ }
3443
+ return entry;
3444
+ });
3445
+ };
3429
3446
  var serializeAws_restJson1EndTimeRange = function (input, context) {
3430
3447
  return __assign(__assign({}, (input.FromTime !== undefined &&
3431
3448
  input.FromTime !== null && { FromTime: Math.round(input.FromTime.getTime() / 1000) })), (input.ToTime !== undefined && input.ToTime !== null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }));
@@ -3525,10 +3542,11 @@ var serializeAws_restJson1OrganizationalUnitIdList = function (input, context) {
3525
3542
  });
3526
3543
  };
3527
3544
  var serializeAws_restJson1ResourceCollection = function (input, context) {
3528
- return __assign({}, (input.CloudFormation !== undefined &&
3545
+ return __assign(__assign({}, (input.CloudFormation !== undefined &&
3529
3546
  input.CloudFormation !== null && {
3530
3547
  CloudFormation: serializeAws_restJson1CloudFormationCollection(input.CloudFormation, context),
3531
- }));
3548
+ })), (input.Tags !== undefined &&
3549
+ input.Tags !== null && { Tags: serializeAws_restJson1TagCollections(input.Tags, context) }));
3532
3550
  };
3533
3551
  var serializeAws_restJson1SearchInsightsAccountIdList = function (input, context) {
3534
3552
  return input
@@ -3593,15 +3611,58 @@ var serializeAws_restJson1StartTimeRange = function (input, context) {
3593
3611
  return __assign(__assign({}, (input.FromTime !== undefined &&
3594
3612
  input.FromTime !== null && { FromTime: Math.round(input.FromTime.getTime() / 1000) })), (input.ToTime !== undefined && input.ToTime !== null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }));
3595
3613
  };
3614
+ var serializeAws_restJson1TagCollection = function (input, context) {
3615
+ return __assign(__assign({}, (input.AppBoundaryKey !== undefined &&
3616
+ input.AppBoundaryKey !== null && { AppBoundaryKey: input.AppBoundaryKey })), (input.TagValues !== undefined &&
3617
+ input.TagValues !== null && { TagValues: serializeAws_restJson1TagValues(input.TagValues, context) }));
3618
+ };
3619
+ var serializeAws_restJson1TagCollections = function (input, context) {
3620
+ return input
3621
+ .filter(function (e) { return e != null; })
3622
+ .map(function (entry) {
3623
+ if (entry === null) {
3624
+ return null;
3625
+ }
3626
+ return serializeAws_restJson1TagCollection(entry, context);
3627
+ });
3628
+ };
3629
+ var serializeAws_restJson1TagCostEstimationResourceCollectionFilter = function (input, context) {
3630
+ return __assign(__assign({}, (input.AppBoundaryKey !== undefined &&
3631
+ input.AppBoundaryKey !== null && { AppBoundaryKey: input.AppBoundaryKey })), (input.TagValues !== undefined &&
3632
+ input.TagValues !== null && {
3633
+ TagValues: serializeAws_restJson1CostEstimationTagValues(input.TagValues, context),
3634
+ }));
3635
+ };
3636
+ var serializeAws_restJson1TagCostEstimationResourceCollectionFilters = function (input, context) {
3637
+ return input
3638
+ .filter(function (e) { return e != null; })
3639
+ .map(function (entry) {
3640
+ if (entry === null) {
3641
+ return null;
3642
+ }
3643
+ return serializeAws_restJson1TagCostEstimationResourceCollectionFilter(entry, context);
3644
+ });
3645
+ };
3646
+ var serializeAws_restJson1TagValues = function (input, context) {
3647
+ return input
3648
+ .filter(function (e) { return e != null; })
3649
+ .map(function (entry) {
3650
+ if (entry === null) {
3651
+ return null;
3652
+ }
3653
+ return entry;
3654
+ });
3655
+ };
3596
3656
  var serializeAws_restJson1UpdateCloudFormationCollectionFilter = function (input, context) {
3597
3657
  return __assign({}, (input.StackNames !== undefined &&
3598
3658
  input.StackNames !== null && { StackNames: serializeAws_restJson1UpdateStackNames(input.StackNames, context) }));
3599
3659
  };
3600
3660
  var serializeAws_restJson1UpdateResourceCollectionFilter = function (input, context) {
3601
- return __assign({}, (input.CloudFormation !== undefined &&
3661
+ return __assign(__assign({}, (input.CloudFormation !== undefined &&
3602
3662
  input.CloudFormation !== null && {
3603
3663
  CloudFormation: serializeAws_restJson1UpdateCloudFormationCollectionFilter(input.CloudFormation, context),
3604
- }));
3664
+ })), (input.Tags !== undefined &&
3665
+ input.Tags !== null && { Tags: serializeAws_restJson1UpdateTagCollectionFilters(input.Tags, context) }));
3605
3666
  };
3606
3667
  var serializeAws_restJson1UpdateServiceIntegrationConfig = function (input, context) {
3607
3668
  return __assign({}, (input.OpsCenter !== undefined &&
@@ -3619,6 +3680,31 @@ var serializeAws_restJson1UpdateStackNames = function (input, context) {
3619
3680
  return entry;
3620
3681
  });
3621
3682
  };
3683
+ var serializeAws_restJson1UpdateTagCollectionFilter = function (input, context) {
3684
+ return __assign(__assign({}, (input.AppBoundaryKey !== undefined &&
3685
+ input.AppBoundaryKey !== null && { AppBoundaryKey: input.AppBoundaryKey })), (input.TagValues !== undefined &&
3686
+ input.TagValues !== null && { TagValues: serializeAws_restJson1UpdateTagValues(input.TagValues, context) }));
3687
+ };
3688
+ var serializeAws_restJson1UpdateTagCollectionFilters = function (input, context) {
3689
+ return input
3690
+ .filter(function (e) { return e != null; })
3691
+ .map(function (entry) {
3692
+ if (entry === null) {
3693
+ return null;
3694
+ }
3695
+ return serializeAws_restJson1UpdateTagCollectionFilter(entry, context);
3696
+ });
3697
+ };
3698
+ var serializeAws_restJson1UpdateTagValues = function (input, context) {
3699
+ return input
3700
+ .filter(function (e) { return e != null; })
3701
+ .map(function (entry) {
3702
+ if (entry === null) {
3703
+ return null;
3704
+ }
3705
+ return entry;
3706
+ });
3707
+ };
3622
3708
  var deserializeAws_restJson1AccountHealth = function (output, context) {
3623
3709
  return {
3624
3710
  AccountId: __expectString(output.AccountId),
@@ -3653,11 +3739,30 @@ var deserializeAws_restJson1AnomalyReportedTimeRange = function (output, context
3653
3739
  : undefined,
3654
3740
  };
3655
3741
  };
3742
+ var deserializeAws_restJson1AnomalyResource = function (output, context) {
3743
+ return {
3744
+ Name: __expectString(output.Name),
3745
+ Type: __expectString(output.Type),
3746
+ };
3747
+ };
3748
+ var deserializeAws_restJson1AnomalyResources = function (output, context) {
3749
+ return (output || [])
3750
+ .filter(function (e) { return e != null; })
3751
+ .map(function (entry) {
3752
+ if (entry === null) {
3753
+ return null;
3754
+ }
3755
+ return deserializeAws_restJson1AnomalyResource(entry, context);
3756
+ });
3757
+ };
3656
3758
  var deserializeAws_restJson1AnomalySourceDetails = function (output, context) {
3657
3759
  return {
3658
3760
  CloudWatchMetrics: output.CloudWatchMetrics !== undefined && output.CloudWatchMetrics !== null
3659
3761
  ? deserializeAws_restJson1CloudWatchMetricsDetails(output.CloudWatchMetrics, context)
3660
3762
  : undefined,
3763
+ PerformanceInsightsMetrics: output.PerformanceInsightsMetrics !== undefined && output.PerformanceInsightsMetrics !== null
3764
+ ? deserializeAws_restJson1PerformanceInsightsMetricsDetails(output.PerformanceInsightsMetrics, context)
3765
+ : undefined,
3661
3766
  };
3662
3767
  };
3663
3768
  var deserializeAws_restJson1AnomalyTimeRange = function (output, context) {
@@ -3670,6 +3775,16 @@ var deserializeAws_restJson1AnomalyTimeRange = function (output, context) {
3670
3775
  : undefined,
3671
3776
  };
3672
3777
  };
3778
+ var deserializeAws_restJson1AssociatedResourceArns = function (output, context) {
3779
+ return (output || [])
3780
+ .filter(function (e) { return e != null; })
3781
+ .map(function (entry) {
3782
+ if (entry === null) {
3783
+ return null;
3784
+ }
3785
+ return __expectString(entry);
3786
+ });
3787
+ };
3673
3788
  var deserializeAws_restJson1Channels = function (output, context) {
3674
3789
  return (output || [])
3675
3790
  .filter(function (e) { return e != null; })
@@ -3773,6 +3888,9 @@ var deserializeAws_restJson1CostEstimationResourceCollectionFilter = function (o
3773
3888
  CloudFormation: output.CloudFormation !== undefined && output.CloudFormation !== null
3774
3889
  ? deserializeAws_restJson1CloudFormationCostEstimationResourceCollectionFilter(output.CloudFormation, context)
3775
3890
  : undefined,
3891
+ Tags: output.Tags !== undefined && output.Tags !== null
3892
+ ? deserializeAws_restJson1TagCostEstimationResourceCollectionFilters(output.Tags, context)
3893
+ : undefined,
3776
3894
  };
3777
3895
  };
3778
3896
  var deserializeAws_restJson1CostEstimationStackNames = function (output, context) {
@@ -3785,6 +3903,16 @@ var deserializeAws_restJson1CostEstimationStackNames = function (output, context
3785
3903
  return __expectString(entry);
3786
3904
  });
3787
3905
  };
3906
+ var deserializeAws_restJson1CostEstimationTagValues = function (output, context) {
3907
+ return (output || [])
3908
+ .filter(function (e) { return e != null; })
3909
+ .map(function (entry) {
3910
+ if (entry === null) {
3911
+ return null;
3912
+ }
3913
+ return __expectString(entry);
3914
+ });
3915
+ };
3788
3916
  var deserializeAws_restJson1CostEstimationTimeRange = function (output, context) {
3789
3917
  return {
3790
3918
  EndTime: output.EndTime !== undefined && output.EndTime !== null
@@ -3883,6 +4011,130 @@ var deserializeAws_restJson1OpsCenterIntegration = function (output, context) {
3883
4011
  OptInStatus: __expectString(output.OptInStatus),
3884
4012
  };
3885
4013
  };
4014
+ var deserializeAws_restJson1PerformanceInsightsMetricDimensionGroup = function (output, context) {
4015
+ return {
4016
+ Dimensions: output.Dimensions !== undefined && output.Dimensions !== null
4017
+ ? deserializeAws_restJson1PerformanceInsightsMetricDimensions(output.Dimensions, context)
4018
+ : undefined,
4019
+ Group: __expectString(output.Group),
4020
+ Limit: __expectInt32(output.Limit),
4021
+ };
4022
+ };
4023
+ var deserializeAws_restJson1PerformanceInsightsMetricDimensions = function (output, context) {
4024
+ return (output || [])
4025
+ .filter(function (e) { return e != null; })
4026
+ .map(function (entry) {
4027
+ if (entry === null) {
4028
+ return null;
4029
+ }
4030
+ return __expectString(entry);
4031
+ });
4032
+ };
4033
+ var deserializeAws_restJson1PerformanceInsightsMetricFilterMap = function (output, context) {
4034
+ return Object.entries(output).reduce(function (acc, _a) {
4035
+ var _b;
4036
+ var _c = __read(_a, 2), key = _c[0], value = _c[1];
4037
+ if (value === null) {
4038
+ return acc;
4039
+ }
4040
+ return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectString(value), _b));
4041
+ }, {});
4042
+ };
4043
+ var deserializeAws_restJson1PerformanceInsightsMetricQuery = function (output, context) {
4044
+ return {
4045
+ Filter: output.Filter !== undefined && output.Filter !== null
4046
+ ? deserializeAws_restJson1PerformanceInsightsMetricFilterMap(output.Filter, context)
4047
+ : undefined,
4048
+ GroupBy: output.GroupBy !== undefined && output.GroupBy !== null
4049
+ ? deserializeAws_restJson1PerformanceInsightsMetricDimensionGroup(output.GroupBy, context)
4050
+ : undefined,
4051
+ Metric: __expectString(output.Metric),
4052
+ };
4053
+ };
4054
+ var deserializeAws_restJson1PerformanceInsightsMetricsDetail = function (output, context) {
4055
+ return {
4056
+ MetricDisplayName: __expectString(output.MetricDisplayName),
4057
+ MetricQuery: output.MetricQuery !== undefined && output.MetricQuery !== null
4058
+ ? deserializeAws_restJson1PerformanceInsightsMetricQuery(output.MetricQuery, context)
4059
+ : undefined,
4060
+ ReferenceData: output.ReferenceData !== undefined && output.ReferenceData !== null
4061
+ ? deserializeAws_restJson1PerformanceInsightsReferenceDataList(output.ReferenceData, context)
4062
+ : undefined,
4063
+ StatsAtAnomaly: output.StatsAtAnomaly !== undefined && output.StatsAtAnomaly !== null
4064
+ ? deserializeAws_restJson1PerformanceInsightsStats(output.StatsAtAnomaly, context)
4065
+ : undefined,
4066
+ StatsAtBaseline: output.StatsAtBaseline !== undefined && output.StatsAtBaseline !== null
4067
+ ? deserializeAws_restJson1PerformanceInsightsStats(output.StatsAtBaseline, context)
4068
+ : undefined,
4069
+ Unit: __expectString(output.Unit),
4070
+ };
4071
+ };
4072
+ var deserializeAws_restJson1PerformanceInsightsMetricsDetails = function (output, context) {
4073
+ return (output || [])
4074
+ .filter(function (e) { return e != null; })
4075
+ .map(function (entry) {
4076
+ if (entry === null) {
4077
+ return null;
4078
+ }
4079
+ return deserializeAws_restJson1PerformanceInsightsMetricsDetail(entry, context);
4080
+ });
4081
+ };
4082
+ var deserializeAws_restJson1PerformanceInsightsReferenceComparisonValues = function (output, context) {
4083
+ return {
4084
+ ReferenceMetric: output.ReferenceMetric !== undefined && output.ReferenceMetric !== null
4085
+ ? deserializeAws_restJson1PerformanceInsightsReferenceMetric(output.ReferenceMetric, context)
4086
+ : undefined,
4087
+ ReferenceScalar: output.ReferenceScalar !== undefined && output.ReferenceScalar !== null
4088
+ ? deserializeAws_restJson1PerformanceInsightsReferenceScalar(output.ReferenceScalar, context)
4089
+ : undefined,
4090
+ };
4091
+ };
4092
+ var deserializeAws_restJson1PerformanceInsightsReferenceData = function (output, context) {
4093
+ return {
4094
+ ComparisonValues: output.ComparisonValues !== undefined && output.ComparisonValues !== null
4095
+ ? deserializeAws_restJson1PerformanceInsightsReferenceComparisonValues(output.ComparisonValues, context)
4096
+ : undefined,
4097
+ Name: __expectString(output.Name),
4098
+ };
4099
+ };
4100
+ var deserializeAws_restJson1PerformanceInsightsReferenceDataList = function (output, context) {
4101
+ return (output || [])
4102
+ .filter(function (e) { return e != null; })
4103
+ .map(function (entry) {
4104
+ if (entry === null) {
4105
+ return null;
4106
+ }
4107
+ return deserializeAws_restJson1PerformanceInsightsReferenceData(entry, context);
4108
+ });
4109
+ };
4110
+ var deserializeAws_restJson1PerformanceInsightsReferenceMetric = function (output, context) {
4111
+ return {
4112
+ MetricQuery: output.MetricQuery !== undefined && output.MetricQuery !== null
4113
+ ? deserializeAws_restJson1PerformanceInsightsMetricQuery(output.MetricQuery, context)
4114
+ : undefined,
4115
+ };
4116
+ };
4117
+ var deserializeAws_restJson1PerformanceInsightsReferenceScalar = function (output, context) {
4118
+ return {
4119
+ Value: __limitedParseDouble(output.Value),
4120
+ };
4121
+ };
4122
+ var deserializeAws_restJson1PerformanceInsightsStat = function (output, context) {
4123
+ return {
4124
+ Type: __expectString(output.Type),
4125
+ Value: __limitedParseDouble(output.Value),
4126
+ };
4127
+ };
4128
+ var deserializeAws_restJson1PerformanceInsightsStats = function (output, context) {
4129
+ return (output || [])
4130
+ .filter(function (e) { return e != null; })
4131
+ .map(function (entry) {
4132
+ if (entry === null) {
4133
+ return null;
4134
+ }
4135
+ return deserializeAws_restJson1PerformanceInsightsStat(entry, context);
4136
+ });
4137
+ };
3886
4138
  var deserializeAws_restJson1PredictionTimeRange = function (output, context) {
3887
4139
  return {
3888
4140
  EndTime: output.EndTime !== undefined && output.EndTime !== null
@@ -3987,6 +4239,9 @@ var deserializeAws_restJson1ProactiveInsights = function (output, context) {
3987
4239
  };
3988
4240
  var deserializeAws_restJson1ProactiveInsightSummary = function (output, context) {
3989
4241
  return {
4242
+ AssociatedResourceArns: output.AssociatedResourceArns !== undefined && output.AssociatedResourceArns !== null
4243
+ ? deserializeAws_restJson1AssociatedResourceArns(output.AssociatedResourceArns, context)
4244
+ : undefined,
3990
4245
  Id: __expectString(output.Id),
3991
4246
  InsightTimeRange: output.InsightTimeRange !== undefined && output.InsightTimeRange !== null
3992
4247
  ? deserializeAws_restJson1InsightTimeRange(output.InsightTimeRange, context)
@@ -4052,11 +4307,17 @@ var deserializeAws_restJson1ReactiveAnomaly = function (output, context) {
4052
4307
  AnomalyReportedTimeRange: output.AnomalyReportedTimeRange !== undefined && output.AnomalyReportedTimeRange !== null
4053
4308
  ? deserializeAws_restJson1AnomalyReportedTimeRange(output.AnomalyReportedTimeRange, context)
4054
4309
  : undefined,
4310
+ AnomalyResources: output.AnomalyResources !== undefined && output.AnomalyResources !== null
4311
+ ? deserializeAws_restJson1AnomalyResources(output.AnomalyResources, context)
4312
+ : undefined,
4055
4313
  AnomalyTimeRange: output.AnomalyTimeRange !== undefined && output.AnomalyTimeRange !== null
4056
4314
  ? deserializeAws_restJson1AnomalyTimeRange(output.AnomalyTimeRange, context)
4057
4315
  : undefined,
4058
4316
  AssociatedInsightId: __expectString(output.AssociatedInsightId),
4317
+ CausalAnomalyId: __expectString(output.CausalAnomalyId),
4318
+ Description: __expectString(output.Description),
4059
4319
  Id: __expectString(output.Id),
4320
+ Name: __expectString(output.Name),
4060
4321
  ResourceCollection: output.ResourceCollection !== undefined && output.ResourceCollection !== null
4061
4322
  ? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
4062
4323
  : undefined,
@@ -4065,6 +4326,7 @@ var deserializeAws_restJson1ReactiveAnomaly = function (output, context) {
4065
4326
  ? deserializeAws_restJson1AnomalySourceDetails(output.SourceDetails, context)
4066
4327
  : undefined,
4067
4328
  Status: __expectString(output.Status),
4329
+ Type: __expectString(output.Type),
4068
4330
  };
4069
4331
  };
4070
4332
  var deserializeAws_restJson1ReactiveAnomalySummary = function (output, context) {
@@ -4072,11 +4334,17 @@ var deserializeAws_restJson1ReactiveAnomalySummary = function (output, context)
4072
4334
  AnomalyReportedTimeRange: output.AnomalyReportedTimeRange !== undefined && output.AnomalyReportedTimeRange !== null
4073
4335
  ? deserializeAws_restJson1AnomalyReportedTimeRange(output.AnomalyReportedTimeRange, context)
4074
4336
  : undefined,
4337
+ AnomalyResources: output.AnomalyResources !== undefined && output.AnomalyResources !== null
4338
+ ? deserializeAws_restJson1AnomalyResources(output.AnomalyResources, context)
4339
+ : undefined,
4075
4340
  AnomalyTimeRange: output.AnomalyTimeRange !== undefined && output.AnomalyTimeRange !== null
4076
4341
  ? deserializeAws_restJson1AnomalyTimeRange(output.AnomalyTimeRange, context)
4077
4342
  : undefined,
4078
4343
  AssociatedInsightId: __expectString(output.AssociatedInsightId),
4344
+ CausalAnomalyId: __expectString(output.CausalAnomalyId),
4345
+ Description: __expectString(output.Description),
4079
4346
  Id: __expectString(output.Id),
4347
+ Name: __expectString(output.Name),
4080
4348
  ResourceCollection: output.ResourceCollection !== undefined && output.ResourceCollection !== null
4081
4349
  ? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
4082
4350
  : undefined,
@@ -4085,6 +4353,7 @@ var deserializeAws_restJson1ReactiveAnomalySummary = function (output, context)
4085
4353
  ? deserializeAws_restJson1AnomalySourceDetails(output.SourceDetails, context)
4086
4354
  : undefined,
4087
4355
  Status: __expectString(output.Status),
4356
+ Type: __expectString(output.Type),
4088
4357
  };
4089
4358
  };
4090
4359
  var deserializeAws_restJson1ReactiveInsight = function (output, context) {
@@ -4114,6 +4383,9 @@ var deserializeAws_restJson1ReactiveInsights = function (output, context) {
4114
4383
  };
4115
4384
  var deserializeAws_restJson1ReactiveInsightSummary = function (output, context) {
4116
4385
  return {
4386
+ AssociatedResourceArns: output.AssociatedResourceArns !== undefined && output.AssociatedResourceArns !== null
4387
+ ? deserializeAws_restJson1AssociatedResourceArns(output.AssociatedResourceArns, context)
4388
+ : undefined,
4117
4389
  Id: __expectString(output.Id),
4118
4390
  InsightTimeRange: output.InsightTimeRange !== undefined && output.InsightTimeRange !== null
4119
4391
  ? deserializeAws_restJson1InsightTimeRange(output.InsightTimeRange, context)
@@ -4184,6 +4456,7 @@ var deserializeAws_restJson1RecommendationRelatedAnomalies = function (output, c
4184
4456
  };
4185
4457
  var deserializeAws_restJson1RecommendationRelatedAnomaly = function (output, context) {
4186
4458
  return {
4459
+ AnomalyId: __expectString(output.AnomalyId),
4187
4460
  Resources: output.Resources !== undefined && output.Resources !== null
4188
4461
  ? deserializeAws_restJson1RecommendationRelatedAnomalyResources(output.Resources, context)
4189
4462
  : undefined,
@@ -4290,6 +4563,9 @@ var deserializeAws_restJson1ResourceCollection = function (output, context) {
4290
4563
  CloudFormation: output.CloudFormation !== undefined && output.CloudFormation !== null
4291
4564
  ? deserializeAws_restJson1CloudFormationCollection(output.CloudFormation, context)
4292
4565
  : undefined,
4566
+ Tags: output.Tags !== undefined && output.Tags !== null
4567
+ ? deserializeAws_restJson1TagCollections(output.Tags, context)
4568
+ : undefined,
4293
4569
  };
4294
4570
  };
4295
4571
  var deserializeAws_restJson1ResourceCollectionFilter = function (output, context) {
@@ -4297,6 +4573,9 @@ var deserializeAws_restJson1ResourceCollectionFilter = function (output, context
4297
4573
  CloudFormation: output.CloudFormation !== undefined && output.CloudFormation !== null
4298
4574
  ? deserializeAws_restJson1CloudFormationCollectionFilter(output.CloudFormation, context)
4299
4575
  : undefined,
4576
+ Tags: output.Tags !== undefined && output.Tags !== null
4577
+ ? deserializeAws_restJson1TagCollectionFilters(output.Tags, context)
4578
+ : undefined,
4300
4579
  };
4301
4580
  };
4302
4581
  var deserializeAws_restJson1ServiceCollection = function (output, context) {
@@ -4381,6 +4660,89 @@ var deserializeAws_restJson1StackNames = function (output, context) {
4381
4660
  return __expectString(entry);
4382
4661
  });
4383
4662
  };
4663
+ var deserializeAws_restJson1TagCollection = function (output, context) {
4664
+ return {
4665
+ AppBoundaryKey: __expectString(output.AppBoundaryKey),
4666
+ TagValues: output.TagValues !== undefined && output.TagValues !== null
4667
+ ? deserializeAws_restJson1TagValues(output.TagValues, context)
4668
+ : undefined,
4669
+ };
4670
+ };
4671
+ var deserializeAws_restJson1TagCollectionFilter = function (output, context) {
4672
+ return {
4673
+ AppBoundaryKey: __expectString(output.AppBoundaryKey),
4674
+ TagValues: output.TagValues !== undefined && output.TagValues !== null
4675
+ ? deserializeAws_restJson1TagValues(output.TagValues, context)
4676
+ : undefined,
4677
+ };
4678
+ };
4679
+ var deserializeAws_restJson1TagCollectionFilters = function (output, context) {
4680
+ return (output || [])
4681
+ .filter(function (e) { return e != null; })
4682
+ .map(function (entry) {
4683
+ if (entry === null) {
4684
+ return null;
4685
+ }
4686
+ return deserializeAws_restJson1TagCollectionFilter(entry, context);
4687
+ });
4688
+ };
4689
+ var deserializeAws_restJson1TagCollections = function (output, context) {
4690
+ return (output || [])
4691
+ .filter(function (e) { return e != null; })
4692
+ .map(function (entry) {
4693
+ if (entry === null) {
4694
+ return null;
4695
+ }
4696
+ return deserializeAws_restJson1TagCollection(entry, context);
4697
+ });
4698
+ };
4699
+ var deserializeAws_restJson1TagCostEstimationResourceCollectionFilter = function (output, context) {
4700
+ return {
4701
+ AppBoundaryKey: __expectString(output.AppBoundaryKey),
4702
+ TagValues: output.TagValues !== undefined && output.TagValues !== null
4703
+ ? deserializeAws_restJson1CostEstimationTagValues(output.TagValues, context)
4704
+ : undefined,
4705
+ };
4706
+ };
4707
+ var deserializeAws_restJson1TagCostEstimationResourceCollectionFilters = function (output, context) {
4708
+ return (output || [])
4709
+ .filter(function (e) { return e != null; })
4710
+ .map(function (entry) {
4711
+ if (entry === null) {
4712
+ return null;
4713
+ }
4714
+ return deserializeAws_restJson1TagCostEstimationResourceCollectionFilter(entry, context);
4715
+ });
4716
+ };
4717
+ var deserializeAws_restJson1TagHealth = function (output, context) {
4718
+ return {
4719
+ AppBoundaryKey: __expectString(output.AppBoundaryKey),
4720
+ Insight: output.Insight !== undefined && output.Insight !== null
4721
+ ? deserializeAws_restJson1InsightHealth(output.Insight, context)
4722
+ : undefined,
4723
+ TagValue: __expectString(output.TagValue),
4724
+ };
4725
+ };
4726
+ var deserializeAws_restJson1TagHealths = function (output, context) {
4727
+ return (output || [])
4728
+ .filter(function (e) { return e != null; })
4729
+ .map(function (entry) {
4730
+ if (entry === null) {
4731
+ return null;
4732
+ }
4733
+ return deserializeAws_restJson1TagHealth(entry, context);
4734
+ });
4735
+ };
4736
+ var deserializeAws_restJson1TagValues = function (output, context) {
4737
+ return (output || [])
4738
+ .filter(function (e) { return e != null; })
4739
+ .map(function (entry) {
4740
+ if (entry === null) {
4741
+ return null;
4742
+ }
4743
+ return __expectString(entry);
4744
+ });
4745
+ };
4384
4746
  var deserializeAws_restJson1TimestampMetricValuePair = function (output, context) {
4385
4747
  return {
4386
4748
  MetricValue: __limitedParseDouble(output.MetricValue),
@@ -117,8 +117,9 @@ export declare class DevOpsGuru extends DevOpsGuruClient {
117
117
  /**
118
118
  * <p> Returns the number of open proactive insights, open reactive insights, and the Mean Time to Recover (MTTR)
119
119
  * for all closed insights in resource collections in your account. You specify the type of
120
- * Amazon Web Services resources collection. The one type of Amazon Web Services resource collection supported is Amazon Web Services CloudFormation stacks. DevOps Guru can be configured to analyze
121
- * only the Amazon Web Services resources that are defined in the stacks. You can specify up to 500 Amazon Web Services CloudFormation stacks. </p>
120
+ * Amazon Web Services resources collection. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and
121
+ * Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze
122
+ * the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag <i>key</i>. You can specify up to 500 Amazon Web Services CloudFormation stacks. </p>
122
123
  */
123
124
  describeResourceCollectionHealth(args: DescribeResourceCollectionHealthCommandInput, options?: __HttpHandlerOptions): Promise<DescribeResourceCollectionHealthCommandOutput>;
124
125
  describeResourceCollectionHealth(args: DescribeResourceCollectionHealthCommandInput, cb: (err: any, data?: DescribeResourceCollectionHealthCommandOutput) => void): void;
@@ -143,8 +144,9 @@ export declare class DevOpsGuru extends DevOpsGuruClient {
143
144
  getCostEstimation(args: GetCostEstimationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCostEstimationCommandOutput) => void): void;
144
145
  /**
145
146
  * <p> Returns lists Amazon Web Services resources that are of the specified resource collection type.
146
- * The one type of Amazon Web Services resource collection supported is Amazon Web Services CloudFormation stacks. DevOps Guru can be configured to analyze
147
- * only the Amazon Web Services resources that are defined in the stacks. You can specify up to 500 Amazon Web Services CloudFormation stacks. </p>
147
+ * The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and
148
+ * Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze
149
+ * the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag <i>key</i>. You can specify up to 500 Amazon Web Services CloudFormation stacks. </p>
148
150
  */
149
151
  getResourceCollection(args: GetResourceCollectionCommandInput, options?: __HttpHandlerOptions): Promise<GetResourceCollectionCommandOutput>;
150
152
  getResourceCollection(args: GetResourceCollectionCommandInput, cb: (err: any, data?: GetResourceCollectionCommandOutput) => void): void;
@@ -223,12 +225,12 @@ export declare class DevOpsGuru extends DevOpsGuruClient {
223
225
  /**
224
226
  * <p> Returns a list of insights in your organization. You can specify which insights are
225
227
  * returned by their start time, one or more statuses (<code>ONGOING</code>,
226
- * <code>CLOSED</code>, and <code>CLOSED</code>), one or more severities
227
- * (<code>LOW</code>, <code>MEDIUM</code>, and <code>HIGH</code>), and type
228
- * (<code>REACTIVE</code> or <code>PROACTIVE</code>). </p>
228
+ * <code>CLOSED</code>, and <code>CLOSED</code>), one or more severities
229
+ * (<code>LOW</code>, <code>MEDIUM</code>, and <code>HIGH</code>), and type
230
+ * (<code>REACTIVE</code> or <code>PROACTIVE</code>). </p>
229
231
  * <p> Use the <code>Filters</code> parameter to specify status and severity search
230
232
  * parameters. Use the <code>Type</code> parameter to specify <code>REACTIVE</code> or
231
- * <code>PROACTIVE</code> in your search. </p>
233
+ * <code>PROACTIVE</code> in your search. </p>
232
234
  */
233
235
  searchOrganizationInsights(args: SearchOrganizationInsightsCommandInput, options?: __HttpHandlerOptions): Promise<SearchOrganizationInsightsCommandOutput>;
234
236
  searchOrganizationInsights(args: SearchOrganizationInsightsCommandInput, cb: (err: any, data?: SearchOrganizationInsightsCommandOutput) => void): void;
@@ -242,8 +244,9 @@ export declare class DevOpsGuru extends DevOpsGuruClient {
242
244
  startCostEstimation(args: StartCostEstimationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartCostEstimationCommandOutput) => void): void;
243
245
  /**
244
246
  * <p> Updates the collection of resources that DevOps Guru analyzes.
245
- * The one type of Amazon Web Services resource collection supported is Amazon Web Services CloudFormation stacks. DevOps Guru can be configured to analyze
246
- * only the Amazon Web Services resources that are defined in the stacks. You can specify up to 500 Amazon Web Services CloudFormation stacks. This method also creates the IAM role required for
247
+ * The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and
248
+ * Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze
249
+ * the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag <i>key</i>. You can specify up to 500 Amazon Web Services CloudFormation stacks. This method also creates the IAM role required for
247
250
  * you to use DevOps Guru. </p>
248
251
  */
249
252
  updateResourceCollection(args: UpdateResourceCollectionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateResourceCollectionCommandOutput>;
@@ -9,8 +9,9 @@ export interface DescribeResourceCollectionHealthCommandOutput extends DescribeR
9
9
  /**
10
10
  * <p> Returns the number of open proactive insights, open reactive insights, and the Mean Time to Recover (MTTR)
11
11
  * for all closed insights in resource collections in your account. You specify the type of
12
- * Amazon Web Services resources collection. The one type of Amazon Web Services resource collection supported is Amazon Web Services CloudFormation stacks. DevOps Guru can be configured to analyze
13
- * only the Amazon Web Services resources that are defined in the stacks. You can specify up to 500 Amazon Web Services CloudFormation stacks. </p>
12
+ * Amazon Web Services resources collection. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and
13
+ * Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze
14
+ * the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag <i>key</i>. You can specify up to 500 Amazon Web Services CloudFormation stacks. </p>
14
15
  * @example
15
16
  * Use a bare-bones client and the command you need to make an API call.
16
17
  * ```javascript
@@ -8,8 +8,9 @@ export interface GetResourceCollectionCommandOutput extends GetResourceCollectio
8
8
  }
9
9
  /**
10
10
  * <p> Returns lists Amazon Web Services resources that are of the specified resource collection type.
11
- * The one type of Amazon Web Services resource collection supported is Amazon Web Services CloudFormation stacks. DevOps Guru can be configured to analyze
12
- * only the Amazon Web Services resources that are defined in the stacks. You can specify up to 500 Amazon Web Services CloudFormation stacks. </p>
11
+ * The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and
12
+ * Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze
13
+ * the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag <i>key</i>. You can specify up to 500 Amazon Web Services CloudFormation stacks. </p>
13
14
  * @example
14
15
  * Use a bare-bones client and the command you need to make an API call.
15
16
  * ```javascript
@@ -9,12 +9,12 @@ export interface SearchOrganizationInsightsCommandOutput extends SearchOrganizat
9
9
  /**
10
10
  * <p> Returns a list of insights in your organization. You can specify which insights are
11
11
  * returned by their start time, one or more statuses (<code>ONGOING</code>,
12
- * <code>CLOSED</code>, and <code>CLOSED</code>), one or more severities
13
- * (<code>LOW</code>, <code>MEDIUM</code>, and <code>HIGH</code>), and type
14
- * (<code>REACTIVE</code> or <code>PROACTIVE</code>). </p>
12
+ * <code>CLOSED</code>, and <code>CLOSED</code>), one or more severities
13
+ * (<code>LOW</code>, <code>MEDIUM</code>, and <code>HIGH</code>), and type
14
+ * (<code>REACTIVE</code> or <code>PROACTIVE</code>). </p>
15
15
  * <p> Use the <code>Filters</code> parameter to specify status and severity search
16
16
  * parameters. Use the <code>Type</code> parameter to specify <code>REACTIVE</code> or
17
- * <code>PROACTIVE</code> in your search. </p>
17
+ * <code>PROACTIVE</code> in your search. </p>
18
18
  * @example
19
19
  * Use a bare-bones client and the command you need to make an API call.
20
20
  * ```javascript