@aws-sdk/client-devops-guru 3.43.0 → 3.47.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.
@@ -1372,6 +1372,7 @@ const deserializeAws_restJson1DescribeOrganizationResourceCollectionHealthComman
1372
1372
  CloudFormation: undefined,
1373
1373
  NextToken: undefined,
1374
1374
  Service: undefined,
1375
+ Tags: undefined,
1375
1376
  };
1376
1377
  const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1377
1378
  if (data.Account !== undefined && data.Account !== null) {
@@ -1386,6 +1387,9 @@ const deserializeAws_restJson1DescribeOrganizationResourceCollectionHealthComman
1386
1387
  if (data.Service !== undefined && data.Service !== null) {
1387
1388
  contents.Service = deserializeAws_restJson1ServiceHealths(data.Service, context);
1388
1389
  }
1390
+ if (data.Tags !== undefined && data.Tags !== null) {
1391
+ contents.Tags = deserializeAws_restJson1TagHealths(data.Tags, context);
1392
+ }
1389
1393
  return Promise.resolve(contents);
1390
1394
  };
1391
1395
  exports.deserializeAws_restJson1DescribeOrganizationResourceCollectionHealthCommand = deserializeAws_restJson1DescribeOrganizationResourceCollectionHealthCommand;
@@ -1455,6 +1459,7 @@ const deserializeAws_restJson1DescribeResourceCollectionHealthCommand = async (o
1455
1459
  CloudFormation: undefined,
1456
1460
  NextToken: undefined,
1457
1461
  Service: undefined,
1462
+ Tags: undefined,
1458
1463
  };
1459
1464
  const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1460
1465
  if (data.CloudFormation !== undefined && data.CloudFormation !== null) {
@@ -1466,6 +1471,9 @@ const deserializeAws_restJson1DescribeResourceCollectionHealthCommand = async (o
1466
1471
  if (data.Service !== undefined && data.Service !== null) {
1467
1472
  contents.Service = deserializeAws_restJson1ServiceHealths(data.Service, context);
1468
1473
  }
1474
+ if (data.Tags !== undefined && data.Tags !== null) {
1475
+ contents.Tags = deserializeAws_restJson1TagHealths(data.Tags, context);
1476
+ }
1469
1477
  return Promise.resolve(contents);
1470
1478
  };
1471
1479
  exports.deserializeAws_restJson1DescribeResourceCollectionHealthCommand = deserializeAws_restJson1DescribeResourceCollectionHealthCommand;
@@ -2999,6 +3007,10 @@ const serializeAws_restJson1CostEstimationResourceCollectionFilter = (input, con
2999
3007
  input.CloudFormation !== null && {
3000
3008
  CloudFormation: serializeAws_restJson1CloudFormationCostEstimationResourceCollectionFilter(input.CloudFormation, context),
3001
3009
  }),
3010
+ ...(input.Tags !== undefined &&
3011
+ input.Tags !== null && {
3012
+ Tags: serializeAws_restJson1TagCostEstimationResourceCollectionFilters(input.Tags, context),
3013
+ }),
3002
3014
  };
3003
3015
  };
3004
3016
  const serializeAws_restJson1CostEstimationStackNames = (input, context) => {
@@ -3011,6 +3023,16 @@ const serializeAws_restJson1CostEstimationStackNames = (input, context) => {
3011
3023
  return entry;
3012
3024
  });
3013
3025
  };
3026
+ const serializeAws_restJson1CostEstimationTagValues = (input, context) => {
3027
+ return input
3028
+ .filter((e) => e != null)
3029
+ .map((entry) => {
3030
+ if (entry === null) {
3031
+ return null;
3032
+ }
3033
+ return entry;
3034
+ });
3035
+ };
3014
3036
  const serializeAws_restJson1EndTimeRange = (input, context) => {
3015
3037
  return {
3016
3038
  ...(input.FromTime !== undefined &&
@@ -3147,6 +3169,8 @@ const serializeAws_restJson1ResourceCollection = (input, context) => {
3147
3169
  input.CloudFormation !== null && {
3148
3170
  CloudFormation: serializeAws_restJson1CloudFormationCollection(input.CloudFormation, context),
3149
3171
  }),
3172
+ ...(input.Tags !== undefined &&
3173
+ input.Tags !== null && { Tags: serializeAws_restJson1TagCollections(input.Tags, context) }),
3150
3174
  };
3151
3175
  };
3152
3176
  const serializeAws_restJson1SearchInsightsAccountIdList = (input, context) => {
@@ -3229,6 +3253,54 @@ const serializeAws_restJson1StartTimeRange = (input, context) => {
3229
3253
  ...(input.ToTime !== undefined && input.ToTime !== null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }),
3230
3254
  };
3231
3255
  };
3256
+ const serializeAws_restJson1TagCollection = (input, context) => {
3257
+ return {
3258
+ ...(input.AppBoundaryKey !== undefined &&
3259
+ input.AppBoundaryKey !== null && { AppBoundaryKey: input.AppBoundaryKey }),
3260
+ ...(input.TagValues !== undefined &&
3261
+ input.TagValues !== null && { TagValues: serializeAws_restJson1TagValues(input.TagValues, context) }),
3262
+ };
3263
+ };
3264
+ const serializeAws_restJson1TagCollections = (input, context) => {
3265
+ return input
3266
+ .filter((e) => e != null)
3267
+ .map((entry) => {
3268
+ if (entry === null) {
3269
+ return null;
3270
+ }
3271
+ return serializeAws_restJson1TagCollection(entry, context);
3272
+ });
3273
+ };
3274
+ const serializeAws_restJson1TagCostEstimationResourceCollectionFilter = (input, context) => {
3275
+ return {
3276
+ ...(input.AppBoundaryKey !== undefined &&
3277
+ input.AppBoundaryKey !== null && { AppBoundaryKey: input.AppBoundaryKey }),
3278
+ ...(input.TagValues !== undefined &&
3279
+ input.TagValues !== null && {
3280
+ TagValues: serializeAws_restJson1CostEstimationTagValues(input.TagValues, context),
3281
+ }),
3282
+ };
3283
+ };
3284
+ const serializeAws_restJson1TagCostEstimationResourceCollectionFilters = (input, context) => {
3285
+ return input
3286
+ .filter((e) => e != null)
3287
+ .map((entry) => {
3288
+ if (entry === null) {
3289
+ return null;
3290
+ }
3291
+ return serializeAws_restJson1TagCostEstimationResourceCollectionFilter(entry, context);
3292
+ });
3293
+ };
3294
+ const serializeAws_restJson1TagValues = (input, context) => {
3295
+ return input
3296
+ .filter((e) => e != null)
3297
+ .map((entry) => {
3298
+ if (entry === null) {
3299
+ return null;
3300
+ }
3301
+ return entry;
3302
+ });
3303
+ };
3232
3304
  const serializeAws_restJson1UpdateCloudFormationCollectionFilter = (input, context) => {
3233
3305
  return {
3234
3306
  ...(input.StackNames !== undefined &&
@@ -3241,6 +3313,8 @@ const serializeAws_restJson1UpdateResourceCollectionFilter = (input, context) =>
3241
3313
  input.CloudFormation !== null && {
3242
3314
  CloudFormation: serializeAws_restJson1UpdateCloudFormationCollectionFilter(input.CloudFormation, context),
3243
3315
  }),
3316
+ ...(input.Tags !== undefined &&
3317
+ input.Tags !== null && { Tags: serializeAws_restJson1UpdateTagCollectionFilters(input.Tags, context) }),
3244
3318
  };
3245
3319
  };
3246
3320
  const serializeAws_restJson1UpdateServiceIntegrationConfig = (input, context) => {
@@ -3261,6 +3335,34 @@ const serializeAws_restJson1UpdateStackNames = (input, context) => {
3261
3335
  return entry;
3262
3336
  });
3263
3337
  };
3338
+ const serializeAws_restJson1UpdateTagCollectionFilter = (input, context) => {
3339
+ return {
3340
+ ...(input.AppBoundaryKey !== undefined &&
3341
+ input.AppBoundaryKey !== null && { AppBoundaryKey: input.AppBoundaryKey }),
3342
+ ...(input.TagValues !== undefined &&
3343
+ input.TagValues !== null && { TagValues: serializeAws_restJson1UpdateTagValues(input.TagValues, context) }),
3344
+ };
3345
+ };
3346
+ const serializeAws_restJson1UpdateTagCollectionFilters = (input, context) => {
3347
+ return input
3348
+ .filter((e) => e != null)
3349
+ .map((entry) => {
3350
+ if (entry === null) {
3351
+ return null;
3352
+ }
3353
+ return serializeAws_restJson1UpdateTagCollectionFilter(entry, context);
3354
+ });
3355
+ };
3356
+ const serializeAws_restJson1UpdateTagValues = (input, context) => {
3357
+ return input
3358
+ .filter((e) => e != null)
3359
+ .map((entry) => {
3360
+ if (entry === null) {
3361
+ return null;
3362
+ }
3363
+ return entry;
3364
+ });
3365
+ };
3264
3366
  const deserializeAws_restJson1AccountHealth = (output, context) => {
3265
3367
  return {
3266
3368
  AccountId: smithy_client_1.expectString(output.AccountId),
@@ -3295,11 +3397,30 @@ const deserializeAws_restJson1AnomalyReportedTimeRange = (output, context) => {
3295
3397
  : undefined,
3296
3398
  };
3297
3399
  };
3400
+ const deserializeAws_restJson1AnomalyResource = (output, context) => {
3401
+ return {
3402
+ Name: smithy_client_1.expectString(output.Name),
3403
+ Type: smithy_client_1.expectString(output.Type),
3404
+ };
3405
+ };
3406
+ const deserializeAws_restJson1AnomalyResources = (output, context) => {
3407
+ return (output || [])
3408
+ .filter((e) => e != null)
3409
+ .map((entry) => {
3410
+ if (entry === null) {
3411
+ return null;
3412
+ }
3413
+ return deserializeAws_restJson1AnomalyResource(entry, context);
3414
+ });
3415
+ };
3298
3416
  const deserializeAws_restJson1AnomalySourceDetails = (output, context) => {
3299
3417
  return {
3300
3418
  CloudWatchMetrics: output.CloudWatchMetrics !== undefined && output.CloudWatchMetrics !== null
3301
3419
  ? deserializeAws_restJson1CloudWatchMetricsDetails(output.CloudWatchMetrics, context)
3302
3420
  : undefined,
3421
+ PerformanceInsightsMetrics: output.PerformanceInsightsMetrics !== undefined && output.PerformanceInsightsMetrics !== null
3422
+ ? deserializeAws_restJson1PerformanceInsightsMetricsDetails(output.PerformanceInsightsMetrics, context)
3423
+ : undefined,
3303
3424
  };
3304
3425
  };
3305
3426
  const deserializeAws_restJson1AnomalyTimeRange = (output, context) => {
@@ -3312,6 +3433,16 @@ const deserializeAws_restJson1AnomalyTimeRange = (output, context) => {
3312
3433
  : undefined,
3313
3434
  };
3314
3435
  };
3436
+ const deserializeAws_restJson1AssociatedResourceArns = (output, context) => {
3437
+ return (output || [])
3438
+ .filter((e) => e != null)
3439
+ .map((entry) => {
3440
+ if (entry === null) {
3441
+ return null;
3442
+ }
3443
+ return smithy_client_1.expectString(entry);
3444
+ });
3445
+ };
3315
3446
  const deserializeAws_restJson1Channels = (output, context) => {
3316
3447
  return (output || [])
3317
3448
  .filter((e) => e != null)
@@ -3415,6 +3546,9 @@ const deserializeAws_restJson1CostEstimationResourceCollectionFilter = (output,
3415
3546
  CloudFormation: output.CloudFormation !== undefined && output.CloudFormation !== null
3416
3547
  ? deserializeAws_restJson1CloudFormationCostEstimationResourceCollectionFilter(output.CloudFormation, context)
3417
3548
  : undefined,
3549
+ Tags: output.Tags !== undefined && output.Tags !== null
3550
+ ? deserializeAws_restJson1TagCostEstimationResourceCollectionFilters(output.Tags, context)
3551
+ : undefined,
3418
3552
  };
3419
3553
  };
3420
3554
  const deserializeAws_restJson1CostEstimationStackNames = (output, context) => {
@@ -3427,6 +3561,16 @@ const deserializeAws_restJson1CostEstimationStackNames = (output, context) => {
3427
3561
  return smithy_client_1.expectString(entry);
3428
3562
  });
3429
3563
  };
3564
+ const deserializeAws_restJson1CostEstimationTagValues = (output, context) => {
3565
+ return (output || [])
3566
+ .filter((e) => e != null)
3567
+ .map((entry) => {
3568
+ if (entry === null) {
3569
+ return null;
3570
+ }
3571
+ return smithy_client_1.expectString(entry);
3572
+ });
3573
+ };
3430
3574
  const deserializeAws_restJson1CostEstimationTimeRange = (output, context) => {
3431
3575
  return {
3432
3576
  EndTime: output.EndTime !== undefined && output.EndTime !== null
@@ -3525,6 +3669,131 @@ const deserializeAws_restJson1OpsCenterIntegration = (output, context) => {
3525
3669
  OptInStatus: smithy_client_1.expectString(output.OptInStatus),
3526
3670
  };
3527
3671
  };
3672
+ const deserializeAws_restJson1PerformanceInsightsMetricDimensionGroup = (output, context) => {
3673
+ return {
3674
+ Dimensions: output.Dimensions !== undefined && output.Dimensions !== null
3675
+ ? deserializeAws_restJson1PerformanceInsightsMetricDimensions(output.Dimensions, context)
3676
+ : undefined,
3677
+ Group: smithy_client_1.expectString(output.Group),
3678
+ Limit: smithy_client_1.expectInt32(output.Limit),
3679
+ };
3680
+ };
3681
+ const deserializeAws_restJson1PerformanceInsightsMetricDimensions = (output, context) => {
3682
+ return (output || [])
3683
+ .filter((e) => e != null)
3684
+ .map((entry) => {
3685
+ if (entry === null) {
3686
+ return null;
3687
+ }
3688
+ return smithy_client_1.expectString(entry);
3689
+ });
3690
+ };
3691
+ const deserializeAws_restJson1PerformanceInsightsMetricFilterMap = (output, context) => {
3692
+ return Object.entries(output).reduce((acc, [key, value]) => {
3693
+ if (value === null) {
3694
+ return acc;
3695
+ }
3696
+ return {
3697
+ ...acc,
3698
+ [key]: smithy_client_1.expectString(value),
3699
+ };
3700
+ }, {});
3701
+ };
3702
+ const deserializeAws_restJson1PerformanceInsightsMetricQuery = (output, context) => {
3703
+ return {
3704
+ Filter: output.Filter !== undefined && output.Filter !== null
3705
+ ? deserializeAws_restJson1PerformanceInsightsMetricFilterMap(output.Filter, context)
3706
+ : undefined,
3707
+ GroupBy: output.GroupBy !== undefined && output.GroupBy !== null
3708
+ ? deserializeAws_restJson1PerformanceInsightsMetricDimensionGroup(output.GroupBy, context)
3709
+ : undefined,
3710
+ Metric: smithy_client_1.expectString(output.Metric),
3711
+ };
3712
+ };
3713
+ const deserializeAws_restJson1PerformanceInsightsMetricsDetail = (output, context) => {
3714
+ return {
3715
+ MetricDisplayName: smithy_client_1.expectString(output.MetricDisplayName),
3716
+ MetricQuery: output.MetricQuery !== undefined && output.MetricQuery !== null
3717
+ ? deserializeAws_restJson1PerformanceInsightsMetricQuery(output.MetricQuery, context)
3718
+ : undefined,
3719
+ ReferenceData: output.ReferenceData !== undefined && output.ReferenceData !== null
3720
+ ? deserializeAws_restJson1PerformanceInsightsReferenceDataList(output.ReferenceData, context)
3721
+ : undefined,
3722
+ StatsAtAnomaly: output.StatsAtAnomaly !== undefined && output.StatsAtAnomaly !== null
3723
+ ? deserializeAws_restJson1PerformanceInsightsStats(output.StatsAtAnomaly, context)
3724
+ : undefined,
3725
+ StatsAtBaseline: output.StatsAtBaseline !== undefined && output.StatsAtBaseline !== null
3726
+ ? deserializeAws_restJson1PerformanceInsightsStats(output.StatsAtBaseline, context)
3727
+ : undefined,
3728
+ Unit: smithy_client_1.expectString(output.Unit),
3729
+ };
3730
+ };
3731
+ const deserializeAws_restJson1PerformanceInsightsMetricsDetails = (output, context) => {
3732
+ return (output || [])
3733
+ .filter((e) => e != null)
3734
+ .map((entry) => {
3735
+ if (entry === null) {
3736
+ return null;
3737
+ }
3738
+ return deserializeAws_restJson1PerformanceInsightsMetricsDetail(entry, context);
3739
+ });
3740
+ };
3741
+ const deserializeAws_restJson1PerformanceInsightsReferenceComparisonValues = (output, context) => {
3742
+ return {
3743
+ ReferenceMetric: output.ReferenceMetric !== undefined && output.ReferenceMetric !== null
3744
+ ? deserializeAws_restJson1PerformanceInsightsReferenceMetric(output.ReferenceMetric, context)
3745
+ : undefined,
3746
+ ReferenceScalar: output.ReferenceScalar !== undefined && output.ReferenceScalar !== null
3747
+ ? deserializeAws_restJson1PerformanceInsightsReferenceScalar(output.ReferenceScalar, context)
3748
+ : undefined,
3749
+ };
3750
+ };
3751
+ const deserializeAws_restJson1PerformanceInsightsReferenceData = (output, context) => {
3752
+ return {
3753
+ ComparisonValues: output.ComparisonValues !== undefined && output.ComparisonValues !== null
3754
+ ? deserializeAws_restJson1PerformanceInsightsReferenceComparisonValues(output.ComparisonValues, context)
3755
+ : undefined,
3756
+ Name: smithy_client_1.expectString(output.Name),
3757
+ };
3758
+ };
3759
+ const deserializeAws_restJson1PerformanceInsightsReferenceDataList = (output, context) => {
3760
+ return (output || [])
3761
+ .filter((e) => e != null)
3762
+ .map((entry) => {
3763
+ if (entry === null) {
3764
+ return null;
3765
+ }
3766
+ return deserializeAws_restJson1PerformanceInsightsReferenceData(entry, context);
3767
+ });
3768
+ };
3769
+ const deserializeAws_restJson1PerformanceInsightsReferenceMetric = (output, context) => {
3770
+ return {
3771
+ MetricQuery: output.MetricQuery !== undefined && output.MetricQuery !== null
3772
+ ? deserializeAws_restJson1PerformanceInsightsMetricQuery(output.MetricQuery, context)
3773
+ : undefined,
3774
+ };
3775
+ };
3776
+ const deserializeAws_restJson1PerformanceInsightsReferenceScalar = (output, context) => {
3777
+ return {
3778
+ Value: smithy_client_1.limitedParseDouble(output.Value),
3779
+ };
3780
+ };
3781
+ const deserializeAws_restJson1PerformanceInsightsStat = (output, context) => {
3782
+ return {
3783
+ Type: smithy_client_1.expectString(output.Type),
3784
+ Value: smithy_client_1.limitedParseDouble(output.Value),
3785
+ };
3786
+ };
3787
+ const deserializeAws_restJson1PerformanceInsightsStats = (output, context) => {
3788
+ return (output || [])
3789
+ .filter((e) => e != null)
3790
+ .map((entry) => {
3791
+ if (entry === null) {
3792
+ return null;
3793
+ }
3794
+ return deserializeAws_restJson1PerformanceInsightsStat(entry, context);
3795
+ });
3796
+ };
3528
3797
  const deserializeAws_restJson1PredictionTimeRange = (output, context) => {
3529
3798
  return {
3530
3799
  EndTime: output.EndTime !== undefined && output.EndTime !== null
@@ -3629,6 +3898,9 @@ const deserializeAws_restJson1ProactiveInsights = (output, context) => {
3629
3898
  };
3630
3899
  const deserializeAws_restJson1ProactiveInsightSummary = (output, context) => {
3631
3900
  return {
3901
+ AssociatedResourceArns: output.AssociatedResourceArns !== undefined && output.AssociatedResourceArns !== null
3902
+ ? deserializeAws_restJson1AssociatedResourceArns(output.AssociatedResourceArns, context)
3903
+ : undefined,
3632
3904
  Id: smithy_client_1.expectString(output.Id),
3633
3905
  InsightTimeRange: output.InsightTimeRange !== undefined && output.InsightTimeRange !== null
3634
3906
  ? deserializeAws_restJson1InsightTimeRange(output.InsightTimeRange, context)
@@ -3694,11 +3966,17 @@ const deserializeAws_restJson1ReactiveAnomaly = (output, context) => {
3694
3966
  AnomalyReportedTimeRange: output.AnomalyReportedTimeRange !== undefined && output.AnomalyReportedTimeRange !== null
3695
3967
  ? deserializeAws_restJson1AnomalyReportedTimeRange(output.AnomalyReportedTimeRange, context)
3696
3968
  : undefined,
3969
+ AnomalyResources: output.AnomalyResources !== undefined && output.AnomalyResources !== null
3970
+ ? deserializeAws_restJson1AnomalyResources(output.AnomalyResources, context)
3971
+ : undefined,
3697
3972
  AnomalyTimeRange: output.AnomalyTimeRange !== undefined && output.AnomalyTimeRange !== null
3698
3973
  ? deserializeAws_restJson1AnomalyTimeRange(output.AnomalyTimeRange, context)
3699
3974
  : undefined,
3700
3975
  AssociatedInsightId: smithy_client_1.expectString(output.AssociatedInsightId),
3976
+ CausalAnomalyId: smithy_client_1.expectString(output.CausalAnomalyId),
3977
+ Description: smithy_client_1.expectString(output.Description),
3701
3978
  Id: smithy_client_1.expectString(output.Id),
3979
+ Name: smithy_client_1.expectString(output.Name),
3702
3980
  ResourceCollection: output.ResourceCollection !== undefined && output.ResourceCollection !== null
3703
3981
  ? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
3704
3982
  : undefined,
@@ -3707,6 +3985,7 @@ const deserializeAws_restJson1ReactiveAnomaly = (output, context) => {
3707
3985
  ? deserializeAws_restJson1AnomalySourceDetails(output.SourceDetails, context)
3708
3986
  : undefined,
3709
3987
  Status: smithy_client_1.expectString(output.Status),
3988
+ Type: smithy_client_1.expectString(output.Type),
3710
3989
  };
3711
3990
  };
3712
3991
  const deserializeAws_restJson1ReactiveAnomalySummary = (output, context) => {
@@ -3714,11 +3993,17 @@ const deserializeAws_restJson1ReactiveAnomalySummary = (output, context) => {
3714
3993
  AnomalyReportedTimeRange: output.AnomalyReportedTimeRange !== undefined && output.AnomalyReportedTimeRange !== null
3715
3994
  ? deserializeAws_restJson1AnomalyReportedTimeRange(output.AnomalyReportedTimeRange, context)
3716
3995
  : undefined,
3996
+ AnomalyResources: output.AnomalyResources !== undefined && output.AnomalyResources !== null
3997
+ ? deserializeAws_restJson1AnomalyResources(output.AnomalyResources, context)
3998
+ : undefined,
3717
3999
  AnomalyTimeRange: output.AnomalyTimeRange !== undefined && output.AnomalyTimeRange !== null
3718
4000
  ? deserializeAws_restJson1AnomalyTimeRange(output.AnomalyTimeRange, context)
3719
4001
  : undefined,
3720
4002
  AssociatedInsightId: smithy_client_1.expectString(output.AssociatedInsightId),
4003
+ CausalAnomalyId: smithy_client_1.expectString(output.CausalAnomalyId),
4004
+ Description: smithy_client_1.expectString(output.Description),
3721
4005
  Id: smithy_client_1.expectString(output.Id),
4006
+ Name: smithy_client_1.expectString(output.Name),
3722
4007
  ResourceCollection: output.ResourceCollection !== undefined && output.ResourceCollection !== null
3723
4008
  ? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
3724
4009
  : undefined,
@@ -3727,6 +4012,7 @@ const deserializeAws_restJson1ReactiveAnomalySummary = (output, context) => {
3727
4012
  ? deserializeAws_restJson1AnomalySourceDetails(output.SourceDetails, context)
3728
4013
  : undefined,
3729
4014
  Status: smithy_client_1.expectString(output.Status),
4015
+ Type: smithy_client_1.expectString(output.Type),
3730
4016
  };
3731
4017
  };
3732
4018
  const deserializeAws_restJson1ReactiveInsight = (output, context) => {
@@ -3756,6 +4042,9 @@ const deserializeAws_restJson1ReactiveInsights = (output, context) => {
3756
4042
  };
3757
4043
  const deserializeAws_restJson1ReactiveInsightSummary = (output, context) => {
3758
4044
  return {
4045
+ AssociatedResourceArns: output.AssociatedResourceArns !== undefined && output.AssociatedResourceArns !== null
4046
+ ? deserializeAws_restJson1AssociatedResourceArns(output.AssociatedResourceArns, context)
4047
+ : undefined,
3759
4048
  Id: smithy_client_1.expectString(output.Id),
3760
4049
  InsightTimeRange: output.InsightTimeRange !== undefined && output.InsightTimeRange !== null
3761
4050
  ? deserializeAws_restJson1InsightTimeRange(output.InsightTimeRange, context)
@@ -3826,6 +4115,7 @@ const deserializeAws_restJson1RecommendationRelatedAnomalies = (output, context)
3826
4115
  };
3827
4116
  const deserializeAws_restJson1RecommendationRelatedAnomaly = (output, context) => {
3828
4117
  return {
4118
+ AnomalyId: smithy_client_1.expectString(output.AnomalyId),
3829
4119
  Resources: output.Resources !== undefined && output.Resources !== null
3830
4120
  ? deserializeAws_restJson1RecommendationRelatedAnomalyResources(output.Resources, context)
3831
4121
  : undefined,
@@ -3932,6 +4222,9 @@ const deserializeAws_restJson1ResourceCollection = (output, context) => {
3932
4222
  CloudFormation: output.CloudFormation !== undefined && output.CloudFormation !== null
3933
4223
  ? deserializeAws_restJson1CloudFormationCollection(output.CloudFormation, context)
3934
4224
  : undefined,
4225
+ Tags: output.Tags !== undefined && output.Tags !== null
4226
+ ? deserializeAws_restJson1TagCollections(output.Tags, context)
4227
+ : undefined,
3935
4228
  };
3936
4229
  };
3937
4230
  const deserializeAws_restJson1ResourceCollectionFilter = (output, context) => {
@@ -3939,6 +4232,9 @@ const deserializeAws_restJson1ResourceCollectionFilter = (output, context) => {
3939
4232
  CloudFormation: output.CloudFormation !== undefined && output.CloudFormation !== null
3940
4233
  ? deserializeAws_restJson1CloudFormationCollectionFilter(output.CloudFormation, context)
3941
4234
  : undefined,
4235
+ Tags: output.Tags !== undefined && output.Tags !== null
4236
+ ? deserializeAws_restJson1TagCollectionFilters(output.Tags, context)
4237
+ : undefined,
3942
4238
  };
3943
4239
  };
3944
4240
  const deserializeAws_restJson1ServiceCollection = (output, context) => {
@@ -4023,6 +4319,89 @@ const deserializeAws_restJson1StackNames = (output, context) => {
4023
4319
  return smithy_client_1.expectString(entry);
4024
4320
  });
4025
4321
  };
4322
+ const deserializeAws_restJson1TagCollection = (output, context) => {
4323
+ return {
4324
+ AppBoundaryKey: smithy_client_1.expectString(output.AppBoundaryKey),
4325
+ TagValues: output.TagValues !== undefined && output.TagValues !== null
4326
+ ? deserializeAws_restJson1TagValues(output.TagValues, context)
4327
+ : undefined,
4328
+ };
4329
+ };
4330
+ const deserializeAws_restJson1TagCollectionFilter = (output, context) => {
4331
+ return {
4332
+ AppBoundaryKey: smithy_client_1.expectString(output.AppBoundaryKey),
4333
+ TagValues: output.TagValues !== undefined && output.TagValues !== null
4334
+ ? deserializeAws_restJson1TagValues(output.TagValues, context)
4335
+ : undefined,
4336
+ };
4337
+ };
4338
+ const deserializeAws_restJson1TagCollectionFilters = (output, context) => {
4339
+ return (output || [])
4340
+ .filter((e) => e != null)
4341
+ .map((entry) => {
4342
+ if (entry === null) {
4343
+ return null;
4344
+ }
4345
+ return deserializeAws_restJson1TagCollectionFilter(entry, context);
4346
+ });
4347
+ };
4348
+ const deserializeAws_restJson1TagCollections = (output, context) => {
4349
+ return (output || [])
4350
+ .filter((e) => e != null)
4351
+ .map((entry) => {
4352
+ if (entry === null) {
4353
+ return null;
4354
+ }
4355
+ return deserializeAws_restJson1TagCollection(entry, context);
4356
+ });
4357
+ };
4358
+ const deserializeAws_restJson1TagCostEstimationResourceCollectionFilter = (output, context) => {
4359
+ return {
4360
+ AppBoundaryKey: smithy_client_1.expectString(output.AppBoundaryKey),
4361
+ TagValues: output.TagValues !== undefined && output.TagValues !== null
4362
+ ? deserializeAws_restJson1CostEstimationTagValues(output.TagValues, context)
4363
+ : undefined,
4364
+ };
4365
+ };
4366
+ const deserializeAws_restJson1TagCostEstimationResourceCollectionFilters = (output, context) => {
4367
+ return (output || [])
4368
+ .filter((e) => e != null)
4369
+ .map((entry) => {
4370
+ if (entry === null) {
4371
+ return null;
4372
+ }
4373
+ return deserializeAws_restJson1TagCostEstimationResourceCollectionFilter(entry, context);
4374
+ });
4375
+ };
4376
+ const deserializeAws_restJson1TagHealth = (output, context) => {
4377
+ return {
4378
+ AppBoundaryKey: smithy_client_1.expectString(output.AppBoundaryKey),
4379
+ Insight: output.Insight !== undefined && output.Insight !== null
4380
+ ? deserializeAws_restJson1InsightHealth(output.Insight, context)
4381
+ : undefined,
4382
+ TagValue: smithy_client_1.expectString(output.TagValue),
4383
+ };
4384
+ };
4385
+ const deserializeAws_restJson1TagHealths = (output, context) => {
4386
+ return (output || [])
4387
+ .filter((e) => e != null)
4388
+ .map((entry) => {
4389
+ if (entry === null) {
4390
+ return null;
4391
+ }
4392
+ return deserializeAws_restJson1TagHealth(entry, context);
4393
+ });
4394
+ };
4395
+ const deserializeAws_restJson1TagValues = (output, context) => {
4396
+ return (output || [])
4397
+ .filter((e) => e != null)
4398
+ .map((entry) => {
4399
+ if (entry === null) {
4400
+ return null;
4401
+ }
4402
+ return smithy_client_1.expectString(entry);
4403
+ });
4404
+ };
4026
4405
  const deserializeAws_restJson1TimestampMetricValuePair = (output, context) => {
4027
4406
  return {
4028
4407
  MetricValue: smithy_client_1.limitedParseDouble(output.MetricValue),
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
13
13
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
14
14
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
15
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
17
+ const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
16
18
  const getRuntimeConfig = (config) => {
17
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
+ const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
21
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
18
22
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
19
23
  return {
20
24
  ...clientSharedValues,
21
25
  ...config,
22
26
  runtime: "browser",
27
+ defaultsMode,
23
28
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
24
29
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
25
30
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
27
32
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
28
33
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
29
34
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
30
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
31
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
35
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
36
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
32
37
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
33
38
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
34
39
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
@@ -16,14 +16,17 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
16
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
+ const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
19
20
  const getRuntimeConfig = (config) => {
20
21
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
21
- smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
22
+ const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
23
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
22
24
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
23
25
  return {
24
26
  ...clientSharedValues,
25
27
  ...config,
26
28
  runtime: "node",
29
+ defaultsMode,
27
30
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
28
31
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
29
32
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
@@ -31,8 +34,11 @@ const getRuntimeConfig = (config) => {
31
34
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
32
35
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
33
36
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
34
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
35
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
37
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
38
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
39
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
40
+ default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
41
+ }),
36
42
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
37
43
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
38
44
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
@@ -12,6 +12,7 @@ var partitionHash = {
12
12
  "ap-south-1",
13
13
  "ap-southeast-1",
14
14
  "ap-southeast-2",
15
+ "ap-southeast-3",
15
16
  "ca-central-1",
16
17
  "eu-central-1",
17
18
  "eu-north-1",