@aws-sdk/client-auto-scaling 3.40.0 → 3.45.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.
Files changed (72) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/dist-cjs/endpoints.js +9 -0
  3. package/dist-cjs/models/models_0.js +44 -8
  4. package/dist-cjs/protocols/Aws_query.js +247 -0
  5. package/dist-es/endpoints.js +9 -0
  6. package/dist-es/models/models_0.js +28 -4
  7. package/dist-es/protocols/Aws_query.js +355 -87
  8. package/dist-types/AutoScaling.d.ts +25 -20
  9. package/dist-types/commands/AttachInstancesCommand.d.ts +1 -1
  10. package/dist-types/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +3 -1
  11. package/dist-types/commands/AttachLoadBalancersCommand.d.ts +3 -1
  12. package/dist-types/commands/BatchDeleteScheduledActionCommand.d.ts +1 -1
  13. package/dist-types/commands/BatchPutScheduledUpdateGroupActionCommand.d.ts +1 -1
  14. package/dist-types/commands/CancelInstanceRefreshCommand.d.ts +1 -1
  15. package/dist-types/commands/CompleteLifecycleActionCommand.d.ts +7 -6
  16. package/dist-types/commands/CreateAutoScalingGroupCommand.d.ts +1 -1
  17. package/dist-types/commands/CreateLaunchConfigurationCommand.d.ts +1 -1
  18. package/dist-types/commands/CreateOrUpdateTagsCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteAutoScalingGroupCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteLaunchConfigurationCommand.d.ts +1 -1
  21. package/dist-types/commands/DeleteLifecycleHookCommand.d.ts +1 -1
  22. package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +1 -1
  23. package/dist-types/commands/DeletePolicyCommand.d.ts +1 -1
  24. package/dist-types/commands/DeleteScheduledActionCommand.d.ts +1 -1
  25. package/dist-types/commands/DeleteTagsCommand.d.ts +1 -1
  26. package/dist-types/commands/DeleteWarmPoolCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeAdjustmentTypesCommand.d.ts +1 -1
  29. package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +1 -1
  30. package/dist-types/commands/DescribeAutoScalingInstancesCommand.d.ts +1 -1
  31. package/dist-types/commands/DescribeAutoScalingNotificationTypesCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeInstanceRefreshesCommand.d.ts +1 -1
  33. package/dist-types/commands/DescribeLaunchConfigurationsCommand.d.ts +1 -1
  34. package/dist-types/commands/DescribeLifecycleHookTypesCommand.d.ts +1 -1
  35. package/dist-types/commands/DescribeLifecycleHooksCommand.d.ts +1 -1
  36. package/dist-types/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +1 -1
  37. package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeMetricCollectionTypesCommand.d.ts +1 -1
  39. package/dist-types/commands/DescribeNotificationConfigurationsCommand.d.ts +1 -1
  40. package/dist-types/commands/DescribePoliciesCommand.d.ts +1 -1
  41. package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +1 -1
  42. package/dist-types/commands/DescribeScalingProcessTypesCommand.d.ts +1 -1
  43. package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +1 -1
  44. package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
  45. package/dist-types/commands/DescribeTerminationPolicyTypesCommand.d.ts +1 -1
  46. package/dist-types/commands/DescribeWarmPoolCommand.d.ts +1 -1
  47. package/dist-types/commands/DetachInstancesCommand.d.ts +1 -1
  48. package/dist-types/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +1 -1
  49. package/dist-types/commands/DetachLoadBalancersCommand.d.ts +1 -1
  50. package/dist-types/commands/DisableMetricsCollectionCommand.d.ts +1 -1
  51. package/dist-types/commands/EnableMetricsCollectionCommand.d.ts +1 -1
  52. package/dist-types/commands/EnterStandbyCommand.d.ts +1 -1
  53. package/dist-types/commands/ExecutePolicyCommand.d.ts +1 -1
  54. package/dist-types/commands/ExitStandbyCommand.d.ts +1 -1
  55. package/dist-types/commands/GetPredictiveScalingForecastCommand.d.ts +1 -1
  56. package/dist-types/commands/PutLifecycleHookCommand.d.ts +9 -9
  57. package/dist-types/commands/PutNotificationConfigurationCommand.d.ts +1 -1
  58. package/dist-types/commands/PutScalingPolicyCommand.d.ts +1 -1
  59. package/dist-types/commands/PutScheduledUpdateGroupActionCommand.d.ts +1 -1
  60. package/dist-types/commands/PutWarmPoolCommand.d.ts +1 -1
  61. package/dist-types/commands/RecordLifecycleActionHeartbeatCommand.d.ts +6 -7
  62. package/dist-types/commands/ResumeProcessesCommand.d.ts +1 -1
  63. package/dist-types/commands/SetDesiredCapacityCommand.d.ts +1 -1
  64. package/dist-types/commands/SetInstanceHealthCommand.d.ts +1 -1
  65. package/dist-types/commands/SetInstanceProtectionCommand.d.ts +3 -2
  66. package/dist-types/commands/StartInstanceRefreshCommand.d.ts +1 -1
  67. package/dist-types/commands/SuspendProcessesCommand.d.ts +1 -1
  68. package/dist-types/commands/TerminateInstanceInAutoScalingGroupCommand.d.ts +1 -1
  69. package/dist-types/commands/UpdateAutoScalingGroupCommand.d.ts +1 -1
  70. package/dist-types/models/models_0.d.ts +273 -100
  71. package/dist-types/ts3.4/models/models_0.d.ts +87 -11
  72. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -3,6 +3,47 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
18
+
19
+
20
+ ### Features
21
+
22
+ * **clients:** update clients as of 11/28/2021 ([#3072](https://github.com/aws/aws-sdk-js-v3/issues/3072)) ([2ad1622](https://github.com/aws/aws-sdk-js-v3/commit/2ad1622ba8586b926fe508055211803bb29e3976))
23
+
24
+
25
+
26
+
27
+
28
+ # [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
29
+
30
+ **Note:** Version bump only for package @aws-sdk/client-auto-scaling
31
+
32
+
33
+
34
+
35
+
36
+ # [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
37
+
38
+
39
+ ### Features
40
+
41
+ * **clients:** update clients as of 2021/11/11 ([#3015](https://github.com/aws/aws-sdk-js-v3/issues/3015)) ([3d82c4e](https://github.com/aws/aws-sdk-js-v3/commit/3d82c4e3c4d174533f46ce35495cf5cffabdb35a))
42
+
43
+
44
+
45
+
46
+
6
47
  # [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
7
48
 
8
49
 
@@ -14,6 +14,7 @@ const partitionHash = {
14
14
  "ap-south-1",
15
15
  "ap-southeast-1",
16
16
  "ap-southeast-2",
17
+ "ap-southeast-3",
17
18
  "ca-central-1",
18
19
  "eu-central-1",
19
20
  "eu-north-1",
@@ -78,6 +79,10 @@ const partitionHash = {
78
79
  hostname: "autoscaling.{region}.c2s.ic.gov",
79
80
  tags: [],
80
81
  },
82
+ {
83
+ hostname: "autoscaling-fips.{region}.c2s.ic.gov",
84
+ tags: ["fips"],
85
+ },
81
86
  ],
82
87
  },
83
88
  "aws-iso-b": {
@@ -88,6 +93,10 @@ const partitionHash = {
88
93
  hostname: "autoscaling.{region}.sc2s.sgov.gov",
89
94
  tags: [],
90
95
  },
96
+ {
97
+ hostname: "autoscaling-fips.{region}.sc2s.sgov.gov",
98
+ tags: ["fips"],
99
+ },
91
100
  ],
92
101
  },
93
102
  "aws-us-gov": {
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MixedInstancesPolicy = exports.LaunchTemplate = exports.LaunchTemplateOverrides = exports.InstanceRequirements = exports.VCpuCountRequest = exports.TotalLocalStorageGBRequest = exports.NetworkInterfaceCountRequest = exports.MemoryMiBRequest = exports.MemoryGiBPerVCpuRequest = exports.LocalStorageType = exports.LocalStorage = exports.InstanceGeneration = exports.CpuManufacturer = exports.BurstablePerformance = exports.BaselineEbsBandwidthMbpsRequest = exports.BareMetal = exports.InstancesDistribution = exports.LifecycleHookSpecification = exports.LaunchTemplateSpecification = exports.CompleteLifecycleActionType = exports.CompleteLifecycleActionAnswer = exports.CancelInstanceRefreshType = exports.CancelInstanceRefreshAnswer = exports.LimitExceededFault = exports.BatchPutScheduledUpdateGroupActionType = exports.ScheduledUpdateGroupActionRequest = exports.BatchPutScheduledUpdateGroupActionAnswer = exports.BatchDeleteScheduledActionType = exports.BatchDeleteScheduledActionAnswer = exports.FailedScheduledUpdateGroupActionRequest = exports.AttachLoadBalancerTargetGroupsType = exports.AttachLoadBalancerTargetGroupsResultType = exports.AttachLoadBalancersType = exports.AttachLoadBalancersResultType = exports.ServiceLinkedRoleFailure = exports.ResourceContentionFault = exports.AttachInstancesQuery = exports.AlreadyExistsFault = exports.Alarm = exports.AdjustmentType = exports.ActivityType = exports.ActivitiesType = exports.Activity = exports.ScalingActivityStatusCode = exports.ActiveInstanceRefreshNotFoundFault = exports.AcceleratorType = exports.AcceleratorTotalMemoryMiBRequest = exports.AcceleratorName = exports.AcceleratorManufacturer = exports.AcceleratorCountRequest = void 0;
4
4
  exports.DescribeInstanceRefreshesType = exports.DescribeInstanceRefreshesAnswer = exports.InstanceRefresh = exports.InstanceRefreshStatus = exports.InstanceRefreshProgressDetails = exports.InstanceRefreshWarmPoolProgress = exports.InstanceRefreshLivePoolProgress = exports.RefreshPreferences = exports.DesiredConfiguration = exports.DescribeAutoScalingNotificationTypesAnswer = exports.DescribeAutoScalingInstancesType = exports.AutoScalingInstancesType = exports.AutoScalingInstanceDetails = exports.InvalidNextToken = exports.AutoScalingGroupsType = exports.AutoScalingGroup = exports.WarmPoolConfiguration = exports.WarmPoolStatus = exports.WarmPoolState = exports.TagDescription = exports.SuspendedProcess = exports.Instance = exports.LifecycleState = exports.EnabledMetric = exports.AutoScalingGroupNamesType = exports.Filter = exports.DescribeAdjustmentTypesAnswer = exports.DescribeAccountLimitsAnswer = exports.DeleteWarmPoolType = exports.DeleteWarmPoolAnswer = exports.DeleteTagsType = exports.DeleteScheduledActionType = exports.DeletePolicyType = exports.DeleteNotificationConfigurationType = exports.DeleteLifecycleHookType = exports.DeleteLifecycleHookAnswer = exports.LaunchConfigurationNameType = exports.ScalingActivityInProgressFault = exports.DeleteAutoScalingGroupType = exports.ResourceInUseFault = exports.CreateOrUpdateTagsType = exports.CreateLaunchConfigurationType = exports.InstanceMetadataOptions = exports.InstanceMetadataHttpTokensState = exports.InstanceMetadataEndpointState = exports.InstanceMonitoring = exports.BlockDeviceMapping = exports.Ebs = exports.CreateAutoScalingGroupType = exports.Tag = void 0;
5
- exports.DescribeWarmPoolType = exports.DescribeWarmPoolAnswer = exports.DescribeTerminationPolicyTypesAnswer = exports.TagsType = exports.DescribeTagsType = exports.ScheduledActionsType = exports.ScheduledUpdateGroupAction = exports.DescribeScheduledActionsType = exports.ProcessesType = exports.ProcessType = exports.DescribeScalingActivitiesType = exports.PoliciesType = exports.ScalingPolicy = exports.TargetTrackingConfiguration = exports.PredefinedMetricSpecification = exports.MetricType = exports.CustomizedMetricSpecification = exports.MetricStatistic = exports.MetricDimension = exports.StepAdjustment = exports.PredictiveScalingConfiguration = exports.PredictiveScalingMode = exports.PredictiveScalingMetricSpecification = exports.PredictiveScalingPredefinedScalingMetric = exports.PredefinedScalingMetricType = exports.PredictiveScalingPredefinedMetricPair = exports.PredefinedMetricPairType = exports.PredictiveScalingPredefinedLoadMetric = exports.PredefinedLoadMetricType = exports.PredictiveScalingMaxCapacityBreachBehavior = exports.DescribePoliciesType = exports.DescribeNotificationConfigurationsType = exports.DescribeNotificationConfigurationsAnswer = exports.NotificationConfiguration = exports.DescribeMetricCollectionTypesAnswer = exports.MetricCollectionType = exports.MetricGranularityType = exports.DescribeLoadBalancerTargetGroupsResponse = exports.LoadBalancerTargetGroupState = exports.DescribeLoadBalancerTargetGroupsRequest = exports.DescribeLoadBalancersResponse = exports.LoadBalancerState = exports.DescribeLoadBalancersRequest = exports.DescribeLifecycleHookTypesAnswer = exports.DescribeLifecycleHooksType = exports.DescribeLifecycleHooksAnswer = exports.LifecycleHook = exports.LaunchConfigurationsType = exports.LaunchConfiguration = exports.LaunchConfigurationNamesType = void 0;
6
- exports.UpdateAutoScalingGroupType = exports.TerminateInstanceInAutoScalingGroupType = exports.StartInstanceRefreshType = exports.RefreshStrategy = exports.StartInstanceRefreshAnswer = exports.InstanceRefreshInProgressFault = exports.SetInstanceProtectionQuery = exports.SetInstanceProtectionAnswer = exports.SetInstanceHealthQuery = exports.SetDesiredCapacityType = exports.ScalingProcessQuery = exports.RecordLifecycleActionHeartbeatType = exports.RecordLifecycleActionHeartbeatAnswer = exports.PutWarmPoolType = exports.PutWarmPoolAnswer = exports.PutScheduledUpdateGroupActionType = exports.PutScalingPolicyType = exports.PolicyARNType = exports.PutNotificationConfigurationType = exports.PutLifecycleHookType = exports.PutLifecycleHookAnswer = exports.GetPredictiveScalingForecastType = exports.GetPredictiveScalingForecastAnswer = exports.LoadForecast = exports.CapacityForecast = exports.ExitStandbyQuery = exports.ExitStandbyAnswer = exports.ExecutePolicyType = exports.EnterStandbyQuery = exports.EnterStandbyAnswer = exports.EnableMetricsCollectionQuery = exports.DisableMetricsCollectionQuery = exports.DetachLoadBalancerTargetGroupsType = exports.DetachLoadBalancerTargetGroupsResultType = exports.DetachLoadBalancersType = exports.DetachLoadBalancersResultType = exports.DetachInstancesQuery = exports.DetachInstancesAnswer = void 0;
5
+ exports.ScheduledUpdateGroupAction = exports.DescribeScheduledActionsType = exports.ProcessesType = exports.ProcessType = exports.DescribeScalingActivitiesType = exports.PoliciesType = exports.ScalingPolicy = exports.TargetTrackingConfiguration = exports.PredefinedMetricSpecification = exports.MetricType = exports.CustomizedMetricSpecification = exports.MetricStatistic = exports.StepAdjustment = exports.PredictiveScalingConfiguration = exports.PredictiveScalingMode = exports.PredictiveScalingMetricSpecification = exports.PredictiveScalingPredefinedScalingMetric = exports.PredefinedScalingMetricType = exports.PredictiveScalingPredefinedMetricPair = exports.PredefinedMetricPairType = exports.PredictiveScalingPredefinedLoadMetric = exports.PredefinedLoadMetricType = exports.PredictiveScalingCustomizedScalingMetric = exports.PredictiveScalingCustomizedLoadMetric = exports.PredictiveScalingCustomizedCapacityMetric = exports.MetricDataQuery = exports.MetricStat = exports.Metric = exports.MetricDimension = exports.PredictiveScalingMaxCapacityBreachBehavior = exports.DescribePoliciesType = exports.DescribeNotificationConfigurationsType = exports.DescribeNotificationConfigurationsAnswer = exports.NotificationConfiguration = exports.DescribeMetricCollectionTypesAnswer = exports.MetricCollectionType = exports.MetricGranularityType = exports.DescribeLoadBalancerTargetGroupsResponse = exports.LoadBalancerTargetGroupState = exports.DescribeLoadBalancerTargetGroupsRequest = exports.DescribeLoadBalancersResponse = exports.LoadBalancerState = exports.DescribeLoadBalancersRequest = exports.DescribeLifecycleHookTypesAnswer = exports.DescribeLifecycleHooksType = exports.DescribeLifecycleHooksAnswer = exports.LifecycleHook = exports.LaunchConfigurationsType = exports.LaunchConfiguration = exports.LaunchConfigurationNamesType = void 0;
6
+ exports.UpdateAutoScalingGroupType = exports.TerminateInstanceInAutoScalingGroupType = exports.StartInstanceRefreshType = exports.RefreshStrategy = exports.StartInstanceRefreshAnswer = exports.InstanceRefreshInProgressFault = exports.SetInstanceProtectionQuery = exports.SetInstanceProtectionAnswer = exports.SetInstanceHealthQuery = exports.SetDesiredCapacityType = exports.ScalingProcessQuery = exports.RecordLifecycleActionHeartbeatType = exports.RecordLifecycleActionHeartbeatAnswer = exports.PutWarmPoolType = exports.PutWarmPoolAnswer = exports.PutScheduledUpdateGroupActionType = exports.PutScalingPolicyType = exports.PolicyARNType = exports.PutNotificationConfigurationType = exports.PutLifecycleHookType = exports.PutLifecycleHookAnswer = exports.GetPredictiveScalingForecastType = exports.GetPredictiveScalingForecastAnswer = exports.LoadForecast = exports.CapacityForecast = exports.ExitStandbyQuery = exports.ExitStandbyAnswer = exports.ExecutePolicyType = exports.EnterStandbyQuery = exports.EnterStandbyAnswer = exports.EnableMetricsCollectionQuery = exports.DisableMetricsCollectionQuery = exports.DetachLoadBalancerTargetGroupsType = exports.DetachLoadBalancerTargetGroupsResultType = exports.DetachLoadBalancersType = exports.DetachLoadBalancersResultType = exports.DetachInstancesQuery = exports.DetachInstancesAnswer = exports.DescribeWarmPoolType = exports.DescribeWarmPoolAnswer = exports.DescribeTerminationPolicyTypesAnswer = exports.TagsType = exports.DescribeTagsType = exports.ScheduledActionsType = void 0;
7
7
  var AcceleratorCountRequest;
8
8
  (function (AcceleratorCountRequest) {
9
9
  AcceleratorCountRequest.filterSensitiveLog = (obj) => ({
@@ -758,6 +758,48 @@ var PredictiveScalingMaxCapacityBreachBehavior;
758
758
  PredictiveScalingMaxCapacityBreachBehavior["HonorMaxCapacity"] = "HonorMaxCapacity";
759
759
  PredictiveScalingMaxCapacityBreachBehavior["IncreaseMaxCapacity"] = "IncreaseMaxCapacity";
760
760
  })(PredictiveScalingMaxCapacityBreachBehavior = exports.PredictiveScalingMaxCapacityBreachBehavior || (exports.PredictiveScalingMaxCapacityBreachBehavior = {}));
761
+ var MetricDimension;
762
+ (function (MetricDimension) {
763
+ MetricDimension.filterSensitiveLog = (obj) => ({
764
+ ...obj,
765
+ });
766
+ })(MetricDimension = exports.MetricDimension || (exports.MetricDimension = {}));
767
+ var Metric;
768
+ (function (Metric) {
769
+ Metric.filterSensitiveLog = (obj) => ({
770
+ ...obj,
771
+ });
772
+ })(Metric = exports.Metric || (exports.Metric = {}));
773
+ var MetricStat;
774
+ (function (MetricStat) {
775
+ MetricStat.filterSensitiveLog = (obj) => ({
776
+ ...obj,
777
+ });
778
+ })(MetricStat = exports.MetricStat || (exports.MetricStat = {}));
779
+ var MetricDataQuery;
780
+ (function (MetricDataQuery) {
781
+ MetricDataQuery.filterSensitiveLog = (obj) => ({
782
+ ...obj,
783
+ });
784
+ })(MetricDataQuery = exports.MetricDataQuery || (exports.MetricDataQuery = {}));
785
+ var PredictiveScalingCustomizedCapacityMetric;
786
+ (function (PredictiveScalingCustomizedCapacityMetric) {
787
+ PredictiveScalingCustomizedCapacityMetric.filterSensitiveLog = (obj) => ({
788
+ ...obj,
789
+ });
790
+ })(PredictiveScalingCustomizedCapacityMetric = exports.PredictiveScalingCustomizedCapacityMetric || (exports.PredictiveScalingCustomizedCapacityMetric = {}));
791
+ var PredictiveScalingCustomizedLoadMetric;
792
+ (function (PredictiveScalingCustomizedLoadMetric) {
793
+ PredictiveScalingCustomizedLoadMetric.filterSensitiveLog = (obj) => ({
794
+ ...obj,
795
+ });
796
+ })(PredictiveScalingCustomizedLoadMetric = exports.PredictiveScalingCustomizedLoadMetric || (exports.PredictiveScalingCustomizedLoadMetric = {}));
797
+ var PredictiveScalingCustomizedScalingMetric;
798
+ (function (PredictiveScalingCustomizedScalingMetric) {
799
+ PredictiveScalingCustomizedScalingMetric.filterSensitiveLog = (obj) => ({
800
+ ...obj,
801
+ });
802
+ })(PredictiveScalingCustomizedScalingMetric = exports.PredictiveScalingCustomizedScalingMetric || (exports.PredictiveScalingCustomizedScalingMetric = {}));
761
803
  var PredefinedLoadMetricType;
762
804
  (function (PredefinedLoadMetricType) {
763
805
  PredefinedLoadMetricType["ALBTargetGroupRequestCount"] = "ALBTargetGroupRequestCount";
@@ -820,12 +862,6 @@ var StepAdjustment;
820
862
  ...obj,
821
863
  });
822
864
  })(StepAdjustment = exports.StepAdjustment || (exports.StepAdjustment = {}));
823
- var MetricDimension;
824
- (function (MetricDimension) {
825
- MetricDimension.filterSensitiveLog = (obj) => ({
826
- ...obj,
827
- });
828
- })(MetricDimension = exports.MetricDimension || (exports.MetricDimension = {}));
829
865
  var MetricStatistic;
830
866
  (function (MetricStatistic) {
831
867
  MetricStatistic["Average"] = "Average";
@@ -5554,6 +5554,61 @@ const serializeAws_queryMemoryMiBRequest = (input, context) => {
5554
5554
  }
5555
5555
  return entries;
5556
5556
  };
5557
+ const serializeAws_queryMetric = (input, context) => {
5558
+ const entries = {};
5559
+ if (input.Namespace !== undefined && input.Namespace !== null) {
5560
+ entries["Namespace"] = input.Namespace;
5561
+ }
5562
+ if (input.MetricName !== undefined && input.MetricName !== null) {
5563
+ entries["MetricName"] = input.MetricName;
5564
+ }
5565
+ if (input.Dimensions !== undefined && input.Dimensions !== null) {
5566
+ const memberEntries = serializeAws_queryMetricDimensions(input.Dimensions, context);
5567
+ Object.entries(memberEntries).forEach(([key, value]) => {
5568
+ const loc = `Dimensions.${key}`;
5569
+ entries[loc] = value;
5570
+ });
5571
+ }
5572
+ return entries;
5573
+ };
5574
+ const serializeAws_queryMetricDataQueries = (input, context) => {
5575
+ const entries = {};
5576
+ let counter = 1;
5577
+ for (const entry of input) {
5578
+ if (entry === null) {
5579
+ continue;
5580
+ }
5581
+ const memberEntries = serializeAws_queryMetricDataQuery(entry, context);
5582
+ Object.entries(memberEntries).forEach(([key, value]) => {
5583
+ entries[`member.${counter}.${key}`] = value;
5584
+ });
5585
+ counter++;
5586
+ }
5587
+ return entries;
5588
+ };
5589
+ const serializeAws_queryMetricDataQuery = (input, context) => {
5590
+ const entries = {};
5591
+ if (input.Id !== undefined && input.Id !== null) {
5592
+ entries["Id"] = input.Id;
5593
+ }
5594
+ if (input.Expression !== undefined && input.Expression !== null) {
5595
+ entries["Expression"] = input.Expression;
5596
+ }
5597
+ if (input.MetricStat !== undefined && input.MetricStat !== null) {
5598
+ const memberEntries = serializeAws_queryMetricStat(input.MetricStat, context);
5599
+ Object.entries(memberEntries).forEach(([key, value]) => {
5600
+ const loc = `MetricStat.${key}`;
5601
+ entries[loc] = value;
5602
+ });
5603
+ }
5604
+ if (input.Label !== undefined && input.Label !== null) {
5605
+ entries["Label"] = input.Label;
5606
+ }
5607
+ if (input.ReturnData !== undefined && input.ReturnData !== null) {
5608
+ entries["ReturnData"] = input.ReturnData;
5609
+ }
5610
+ return entries;
5611
+ };
5557
5612
  const serializeAws_queryMetricDimension = (input, context) => {
5558
5613
  const entries = {};
5559
5614
  if (input.Name !== undefined && input.Name !== null) {
@@ -5591,6 +5646,23 @@ const serializeAws_queryMetrics = (input, context) => {
5591
5646
  }
5592
5647
  return entries;
5593
5648
  };
5649
+ const serializeAws_queryMetricStat = (input, context) => {
5650
+ const entries = {};
5651
+ if (input.Metric !== undefined && input.Metric !== null) {
5652
+ const memberEntries = serializeAws_queryMetric(input.Metric, context);
5653
+ Object.entries(memberEntries).forEach(([key, value]) => {
5654
+ const loc = `Metric.${key}`;
5655
+ entries[loc] = value;
5656
+ });
5657
+ }
5658
+ if (input.Stat !== undefined && input.Stat !== null) {
5659
+ entries["Stat"] = input.Stat;
5660
+ }
5661
+ if (input.Unit !== undefined && input.Unit !== null) {
5662
+ entries["Unit"] = input.Unit;
5663
+ }
5664
+ return entries;
5665
+ };
5594
5666
  const serializeAws_queryMixedInstancesPolicy = (input, context) => {
5595
5667
  const entries = {};
5596
5668
  if (input.LaunchTemplate !== undefined && input.LaunchTemplate !== null) {
@@ -5691,6 +5763,39 @@ const serializeAws_queryPredictiveScalingConfiguration = (input, context) => {
5691
5763
  }
5692
5764
  return entries;
5693
5765
  };
5766
+ const serializeAws_queryPredictiveScalingCustomizedCapacityMetric = (input, context) => {
5767
+ const entries = {};
5768
+ if (input.MetricDataQueries !== undefined && input.MetricDataQueries !== null) {
5769
+ const memberEntries = serializeAws_queryMetricDataQueries(input.MetricDataQueries, context);
5770
+ Object.entries(memberEntries).forEach(([key, value]) => {
5771
+ const loc = `MetricDataQueries.${key}`;
5772
+ entries[loc] = value;
5773
+ });
5774
+ }
5775
+ return entries;
5776
+ };
5777
+ const serializeAws_queryPredictiveScalingCustomizedLoadMetric = (input, context) => {
5778
+ const entries = {};
5779
+ if (input.MetricDataQueries !== undefined && input.MetricDataQueries !== null) {
5780
+ const memberEntries = serializeAws_queryMetricDataQueries(input.MetricDataQueries, context);
5781
+ Object.entries(memberEntries).forEach(([key, value]) => {
5782
+ const loc = `MetricDataQueries.${key}`;
5783
+ entries[loc] = value;
5784
+ });
5785
+ }
5786
+ return entries;
5787
+ };
5788
+ const serializeAws_queryPredictiveScalingCustomizedScalingMetric = (input, context) => {
5789
+ const entries = {};
5790
+ if (input.MetricDataQueries !== undefined && input.MetricDataQueries !== null) {
5791
+ const memberEntries = serializeAws_queryMetricDataQueries(input.MetricDataQueries, context);
5792
+ Object.entries(memberEntries).forEach(([key, value]) => {
5793
+ const loc = `MetricDataQueries.${key}`;
5794
+ entries[loc] = value;
5795
+ });
5796
+ }
5797
+ return entries;
5798
+ };
5694
5799
  const serializeAws_queryPredictiveScalingMetricSpecification = (input, context) => {
5695
5800
  const entries = {};
5696
5801
  if (input.TargetValue !== undefined && input.TargetValue !== null) {
@@ -5717,6 +5822,28 @@ const serializeAws_queryPredictiveScalingMetricSpecification = (input, context)
5717
5822
  entries[loc] = value;
5718
5823
  });
5719
5824
  }
5825
+ if (input.CustomizedScalingMetricSpecification !== undefined && input.CustomizedScalingMetricSpecification !== null) {
5826
+ const memberEntries = serializeAws_queryPredictiveScalingCustomizedScalingMetric(input.CustomizedScalingMetricSpecification, context);
5827
+ Object.entries(memberEntries).forEach(([key, value]) => {
5828
+ const loc = `CustomizedScalingMetricSpecification.${key}`;
5829
+ entries[loc] = value;
5830
+ });
5831
+ }
5832
+ if (input.CustomizedLoadMetricSpecification !== undefined && input.CustomizedLoadMetricSpecification !== null) {
5833
+ const memberEntries = serializeAws_queryPredictiveScalingCustomizedLoadMetric(input.CustomizedLoadMetricSpecification, context);
5834
+ Object.entries(memberEntries).forEach(([key, value]) => {
5835
+ const loc = `CustomizedLoadMetricSpecification.${key}`;
5836
+ entries[loc] = value;
5837
+ });
5838
+ }
5839
+ if (input.CustomizedCapacityMetricSpecification !== undefined &&
5840
+ input.CustomizedCapacityMetricSpecification !== null) {
5841
+ const memberEntries = serializeAws_queryPredictiveScalingCustomizedCapacityMetric(input.CustomizedCapacityMetricSpecification, context);
5842
+ Object.entries(memberEntries).forEach(([key, value]) => {
5843
+ const loc = `CustomizedCapacityMetricSpecification.${key}`;
5844
+ entries[loc] = value;
5845
+ });
5846
+ }
5720
5847
  return entries;
5721
5848
  };
5722
5849
  const serializeAws_queryPredictiveScalingMetricSpecifications = (input, context) => {
@@ -8059,6 +8186,26 @@ const deserializeAws_queryMemoryMiBRequest = (output, context) => {
8059
8186
  }
8060
8187
  return contents;
8061
8188
  };
8189
+ const deserializeAws_queryMetric = (output, context) => {
8190
+ const contents = {
8191
+ Namespace: undefined,
8192
+ MetricName: undefined,
8193
+ Dimensions: undefined,
8194
+ };
8195
+ if (output["Namespace"] !== undefined) {
8196
+ contents.Namespace = smithy_client_1.expectString(output["Namespace"]);
8197
+ }
8198
+ if (output["MetricName"] !== undefined) {
8199
+ contents.MetricName = smithy_client_1.expectString(output["MetricName"]);
8200
+ }
8201
+ if (output.Dimensions === "") {
8202
+ contents.Dimensions = [];
8203
+ }
8204
+ if (output["Dimensions"] !== undefined && output["Dimensions"]["member"] !== undefined) {
8205
+ contents.Dimensions = deserializeAws_queryMetricDimensions(smithy_client_1.getArrayIfSingleItem(output["Dimensions"]["member"]), context);
8206
+ }
8207
+ return contents;
8208
+ };
8062
8209
  const deserializeAws_queryMetricCollectionType = (output, context) => {
8063
8210
  const contents = {
8064
8211
  Metric: undefined,
@@ -8078,6 +8225,41 @@ const deserializeAws_queryMetricCollectionTypes = (output, context) => {
8078
8225
  return deserializeAws_queryMetricCollectionType(entry, context);
8079
8226
  });
8080
8227
  };
8228
+ const deserializeAws_queryMetricDataQueries = (output, context) => {
8229
+ return (output || [])
8230
+ .filter((e) => e != null)
8231
+ .map((entry) => {
8232
+ if (entry === null) {
8233
+ return null;
8234
+ }
8235
+ return deserializeAws_queryMetricDataQuery(entry, context);
8236
+ });
8237
+ };
8238
+ const deserializeAws_queryMetricDataQuery = (output, context) => {
8239
+ const contents = {
8240
+ Id: undefined,
8241
+ Expression: undefined,
8242
+ MetricStat: undefined,
8243
+ Label: undefined,
8244
+ ReturnData: undefined,
8245
+ };
8246
+ if (output["Id"] !== undefined) {
8247
+ contents.Id = smithy_client_1.expectString(output["Id"]);
8248
+ }
8249
+ if (output["Expression"] !== undefined) {
8250
+ contents.Expression = smithy_client_1.expectString(output["Expression"]);
8251
+ }
8252
+ if (output["MetricStat"] !== undefined) {
8253
+ contents.MetricStat = deserializeAws_queryMetricStat(output["MetricStat"], context);
8254
+ }
8255
+ if (output["Label"] !== undefined) {
8256
+ contents.Label = smithy_client_1.expectString(output["Label"]);
8257
+ }
8258
+ if (output["ReturnData"] !== undefined) {
8259
+ contents.ReturnData = smithy_client_1.parseBoolean(output["ReturnData"]);
8260
+ }
8261
+ return contents;
8262
+ };
8081
8263
  const deserializeAws_queryMetricDimension = (output, context) => {
8082
8264
  const contents = {
8083
8265
  Name: undefined,
@@ -8120,6 +8302,23 @@ const deserializeAws_queryMetricGranularityTypes = (output, context) => {
8120
8302
  return deserializeAws_queryMetricGranularityType(entry, context);
8121
8303
  });
8122
8304
  };
8305
+ const deserializeAws_queryMetricStat = (output, context) => {
8306
+ const contents = {
8307
+ Metric: undefined,
8308
+ Stat: undefined,
8309
+ Unit: undefined,
8310
+ };
8311
+ if (output["Metric"] !== undefined) {
8312
+ contents.Metric = deserializeAws_queryMetric(output["Metric"], context);
8313
+ }
8314
+ if (output["Stat"] !== undefined) {
8315
+ contents.Stat = smithy_client_1.expectString(output["Stat"]);
8316
+ }
8317
+ if (output["Unit"] !== undefined) {
8318
+ contents.Unit = smithy_client_1.expectString(output["Unit"]);
8319
+ }
8320
+ return contents;
8321
+ };
8123
8322
  const deserializeAws_queryMixedInstancesPolicy = (output, context) => {
8124
8323
  const contents = {
8125
8324
  LaunchTemplate: undefined,
@@ -8256,6 +8455,42 @@ const deserializeAws_queryPredictiveScalingConfiguration = (output, context) =>
8256
8455
  }
8257
8456
  return contents;
8258
8457
  };
8458
+ const deserializeAws_queryPredictiveScalingCustomizedCapacityMetric = (output, context) => {
8459
+ const contents = {
8460
+ MetricDataQueries: undefined,
8461
+ };
8462
+ if (output.MetricDataQueries === "") {
8463
+ contents.MetricDataQueries = [];
8464
+ }
8465
+ if (output["MetricDataQueries"] !== undefined && output["MetricDataQueries"]["member"] !== undefined) {
8466
+ contents.MetricDataQueries = deserializeAws_queryMetricDataQueries(smithy_client_1.getArrayIfSingleItem(output["MetricDataQueries"]["member"]), context);
8467
+ }
8468
+ return contents;
8469
+ };
8470
+ const deserializeAws_queryPredictiveScalingCustomizedLoadMetric = (output, context) => {
8471
+ const contents = {
8472
+ MetricDataQueries: undefined,
8473
+ };
8474
+ if (output.MetricDataQueries === "") {
8475
+ contents.MetricDataQueries = [];
8476
+ }
8477
+ if (output["MetricDataQueries"] !== undefined && output["MetricDataQueries"]["member"] !== undefined) {
8478
+ contents.MetricDataQueries = deserializeAws_queryMetricDataQueries(smithy_client_1.getArrayIfSingleItem(output["MetricDataQueries"]["member"]), context);
8479
+ }
8480
+ return contents;
8481
+ };
8482
+ const deserializeAws_queryPredictiveScalingCustomizedScalingMetric = (output, context) => {
8483
+ const contents = {
8484
+ MetricDataQueries: undefined,
8485
+ };
8486
+ if (output.MetricDataQueries === "") {
8487
+ contents.MetricDataQueries = [];
8488
+ }
8489
+ if (output["MetricDataQueries"] !== undefined && output["MetricDataQueries"]["member"] !== undefined) {
8490
+ contents.MetricDataQueries = deserializeAws_queryMetricDataQueries(smithy_client_1.getArrayIfSingleItem(output["MetricDataQueries"]["member"]), context);
8491
+ }
8492
+ return contents;
8493
+ };
8259
8494
  const deserializeAws_queryPredictiveScalingForecastTimestamps = (output, context) => {
8260
8495
  return (output || [])
8261
8496
  .filter((e) => e != null)
@@ -8282,6 +8517,9 @@ const deserializeAws_queryPredictiveScalingMetricSpecification = (output, contex
8282
8517
  PredefinedMetricPairSpecification: undefined,
8283
8518
  PredefinedScalingMetricSpecification: undefined,
8284
8519
  PredefinedLoadMetricSpecification: undefined,
8520
+ CustomizedScalingMetricSpecification: undefined,
8521
+ CustomizedLoadMetricSpecification: undefined,
8522
+ CustomizedCapacityMetricSpecification: undefined,
8285
8523
  };
8286
8524
  if (output["TargetValue"] !== undefined) {
8287
8525
  contents.TargetValue = smithy_client_1.strictParseFloat(output["TargetValue"]);
@@ -8295,6 +8533,15 @@ const deserializeAws_queryPredictiveScalingMetricSpecification = (output, contex
8295
8533
  if (output["PredefinedLoadMetricSpecification"] !== undefined) {
8296
8534
  contents.PredefinedLoadMetricSpecification = deserializeAws_queryPredictiveScalingPredefinedLoadMetric(output["PredefinedLoadMetricSpecification"], context);
8297
8535
  }
8536
+ if (output["CustomizedScalingMetricSpecification"] !== undefined) {
8537
+ contents.CustomizedScalingMetricSpecification = deserializeAws_queryPredictiveScalingCustomizedScalingMetric(output["CustomizedScalingMetricSpecification"], context);
8538
+ }
8539
+ if (output["CustomizedLoadMetricSpecification"] !== undefined) {
8540
+ contents.CustomizedLoadMetricSpecification = deserializeAws_queryPredictiveScalingCustomizedLoadMetric(output["CustomizedLoadMetricSpecification"], context);
8541
+ }
8542
+ if (output["CustomizedCapacityMetricSpecification"] !== undefined) {
8543
+ contents.CustomizedCapacityMetricSpecification = deserializeAws_queryPredictiveScalingCustomizedCapacityMetric(output["CustomizedCapacityMetricSpecification"], context);
8544
+ }
8298
8545
  return contents;
8299
8546
  };
8300
8547
  const deserializeAws_queryPredictiveScalingMetricSpecifications = (output, context) => {
@@ -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",
@@ -76,6 +77,10 @@ var partitionHash = {
76
77
  hostname: "autoscaling.{region}.c2s.ic.gov",
77
78
  tags: [],
78
79
  },
80
+ {
81
+ hostname: "autoscaling-fips.{region}.c2s.ic.gov",
82
+ tags: ["fips"],
83
+ },
79
84
  ],
80
85
  },
81
86
  "aws-iso-b": {
@@ -86,6 +91,10 @@ var partitionHash = {
86
91
  hostname: "autoscaling.{region}.sc2s.sgov.gov",
87
92
  tags: [],
88
93
  },
94
+ {
95
+ hostname: "autoscaling-fips.{region}.sc2s.sgov.gov",
96
+ tags: ["fips"],
97
+ },
89
98
  ],
90
99
  },
91
100
  "aws-us-gov": {
@@ -545,6 +545,34 @@ export var PredictiveScalingMaxCapacityBreachBehavior;
545
545
  PredictiveScalingMaxCapacityBreachBehavior["HonorMaxCapacity"] = "HonorMaxCapacity";
546
546
  PredictiveScalingMaxCapacityBreachBehavior["IncreaseMaxCapacity"] = "IncreaseMaxCapacity";
547
547
  })(PredictiveScalingMaxCapacityBreachBehavior || (PredictiveScalingMaxCapacityBreachBehavior = {}));
548
+ export var MetricDimension;
549
+ (function (MetricDimension) {
550
+ MetricDimension.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
551
+ })(MetricDimension || (MetricDimension = {}));
552
+ export var Metric;
553
+ (function (Metric) {
554
+ Metric.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
555
+ })(Metric || (Metric = {}));
556
+ export var MetricStat;
557
+ (function (MetricStat) {
558
+ MetricStat.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
559
+ })(MetricStat || (MetricStat = {}));
560
+ export var MetricDataQuery;
561
+ (function (MetricDataQuery) {
562
+ MetricDataQuery.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
563
+ })(MetricDataQuery || (MetricDataQuery = {}));
564
+ export var PredictiveScalingCustomizedCapacityMetric;
565
+ (function (PredictiveScalingCustomizedCapacityMetric) {
566
+ PredictiveScalingCustomizedCapacityMetric.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
567
+ })(PredictiveScalingCustomizedCapacityMetric || (PredictiveScalingCustomizedCapacityMetric = {}));
568
+ export var PredictiveScalingCustomizedLoadMetric;
569
+ (function (PredictiveScalingCustomizedLoadMetric) {
570
+ PredictiveScalingCustomizedLoadMetric.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
571
+ })(PredictiveScalingCustomizedLoadMetric || (PredictiveScalingCustomizedLoadMetric = {}));
572
+ export var PredictiveScalingCustomizedScalingMetric;
573
+ (function (PredictiveScalingCustomizedScalingMetric) {
574
+ PredictiveScalingCustomizedScalingMetric.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
575
+ })(PredictiveScalingCustomizedScalingMetric || (PredictiveScalingCustomizedScalingMetric = {}));
548
576
  export var PredefinedLoadMetricType;
549
577
  (function (PredefinedLoadMetricType) {
550
578
  PredefinedLoadMetricType["ALBTargetGroupRequestCount"] = "ALBTargetGroupRequestCount";
@@ -595,10 +623,6 @@ export var StepAdjustment;
595
623
  (function (StepAdjustment) {
596
624
  StepAdjustment.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
597
625
  })(StepAdjustment || (StepAdjustment = {}));
598
- export var MetricDimension;
599
- (function (MetricDimension) {
600
- MetricDimension.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
601
- })(MetricDimension || (MetricDimension = {}));
602
626
  export var MetricStatistic;
603
627
  (function (MetricStatistic) {
604
628
  MetricStatistic["Average"] = "Average";