@alicloud/ess20220222 1.8.12 → 1.8.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.js CHANGED
@@ -40,13 +40,13 @@ exports.CreateScalingConfigurationRequestSecurityOptions = exports.CreateScaling
40
40
  exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration = exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationVolumes = exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationVolumesConfigFileVolumeConfigFileToPaths = exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationTags = exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationSecurityContextSysCtls = exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainers = exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainersInitContainerVolumeMounts = exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainersInitContainerPorts = exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainersInitContainerEnvironmentVars = exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationImageRegistryCredentials = exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationHostAliases = exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationDnsConfigOptions = exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers = exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainersVolumeMounts = exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainersPorts = exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainersEnvironmentVars = exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationAcrRegistryInfos = exports.DescribeDiagnoseReportsResponseBodyReports = exports.DescribeDiagnoseReportsResponseBodyReportsDetails = exports.DescribeAlarmsResponseBodyAlarmList = exports.DescribeAlarmsResponseBodyAlarmListHybridMetrics = exports.DescribeAlarmsResponseBodyAlarmListHybridMetricsDimensions = exports.DescribeAlarmsResponseBodyAlarmListExpressions = exports.DescribeAlarmsResponseBodyAlarmListDimensions = exports.CreateScalingRuleRequestStepAdjustments = exports.CreateScalingRuleRequestHybridMetrics = exports.CreateScalingRuleRequestHybridMetricsDimensions = exports.CreateScalingRuleRequestAlarmDimensions = exports.CreateScalingGroupRequestVServerGroups = exports.CreateScalingGroupRequestVServerGroupsVServerGroupAttributes = exports.CreateScalingGroupRequestTags = exports.CreateScalingGroupRequestServerGroups = exports.CreateScalingGroupRequestLoadBalancerConfigs = exports.CreateScalingGroupRequestLifecycleHooks = exports.CreateScalingGroupRequestLaunchTemplateOverrides = exports.CreateScalingGroupRequestDBInstances = exports.CreateScalingGroupRequestCapacityOptions = exports.CreateScalingGroupRequestAlbServerGroups = exports.CreateScalingConfigurationShrinkRequestSpotPriceLimits = exports.CreateScalingConfigurationShrinkRequestSecurityOptions = exports.CreateScalingConfigurationShrinkRequestResourcePoolOptions = exports.CreateScalingConfigurationShrinkRequestNetworkInterfaces = exports.CreateScalingConfigurationShrinkRequestInstanceTypeOverrides = exports.CreateScalingConfigurationShrinkRequestInstancePatternInfos = exports.CreateScalingConfigurationShrinkRequestDataDisks = exports.CreateScalingConfigurationShrinkRequestCustomPriorities = exports.CreateScalingConfigurationShrinkRequestSystemDisk = exports.CreateScalingConfigurationShrinkRequestPrivatePoolOptions = exports.CreateScalingConfigurationShrinkRequestImageOptions = exports.CreateScalingConfigurationRequestSpotPriceLimits = void 0;
41
41
  exports.DescribeScalingGroupDetailResponseBodyScalingGroup = exports.DescribeScalingGroupDetailResponseBodyScalingGroupVServerGroups = exports.DescribeScalingGroupDetailResponseBodyScalingGroupVServerGroupsVServerGroupAttributes = exports.DescribeScalingGroupDetailResponseBodyScalingGroupTags = exports.DescribeScalingGroupDetailResponseBodyScalingGroupServerGroups = exports.DescribeScalingGroupDetailResponseBodyScalingGroupLoadBalancerConfigs = exports.DescribeScalingGroupDetailResponseBodyScalingGroupLaunchTemplateOverrides = exports.DescribeScalingGroupDetailResponseBodyScalingGroupAlbServerGroups = exports.DescribeScalingConfigurationsResponseBodyScalingConfigurations = exports.DescribeScalingConfigurationsResponseBodyScalingConfigurationsTags = exports.DescribeScalingConfigurationsResponseBodyScalingConfigurationsSpotPriceLimits = exports.DescribeScalingConfigurationsResponseBodyScalingConfigurationsSecurityOptions = exports.DescribeScalingConfigurationsResponseBodyScalingConfigurationsSchedulerOptions = exports.DescribeScalingConfigurationsResponseBodyScalingConfigurationsResourcePoolOptions = exports.DescribeScalingConfigurationsResponseBodyScalingConfigurationsNetworkInterfaces = exports.DescribeScalingConfigurationsResponseBodyScalingConfigurationsInstancePatternInfos = exports.DescribeScalingConfigurationsResponseBodyScalingConfigurationsDataDisks = exports.DescribeScalingConfigurationsResponseBodyScalingConfigurationsCustomPriorities = exports.DescribeScalingActivitiesResponseBodyScalingActivities = exports.DescribeScalingActivitiesResponseBodyScalingActivitiesLifecycleHookContext = exports.DescribeScalingActivitiesResponseBodyScalingActivitiesErrorMessages = exports.DescribeRegionsResponseBodyRegions = exports.DescribePatternTypesResponseBodyPatternTypes = exports.DescribeNotificationConfigurationsResponseBodyNotificationConfigurationModels = exports.DescribeLifecycleHooksResponseBodyLifecycleHooks = exports.DescribeLifecycleActionsResponseBodyLifecycleActions = exports.DescribeInstanceRefreshesResponseBodyInstanceRefreshTasks = exports.DescribeInstanceRefreshesResponseBodyInstanceRefreshTasksDesiredConfiguration = exports.DescribeElasticStrengthResponseBodyResourcePools = exports.DescribeElasticStrengthResponseBodyResourcePoolsInventoryHealth = exports.DescribeElasticStrengthResponseBodyElasticStrengthModels = exports.DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePools = exports.DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePoolsInventoryHealth = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurations = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsVolumes = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsVolumesConfigFileVolumeConfigFileToPaths = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsTags = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsSecurityContextSysCtls = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsInitContainers = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsInitContainersInitContainerVolumeMounts = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsInitContainersInitContainerPorts = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsInitContainersInitContainerEnvironmentVars = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsImageRegistryCredentials = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsHostAliases = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsDnsConfigOptions = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsContainers = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsContainersVolumeMounts = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsContainersPorts = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsContainersEnvironmentVars = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsAcrRegistryInfos = void 0;
42
42
  exports.ModifyEciScalingConfigurationRequestInitContainersSecurityContextCapability = exports.ModifyEciScalingConfigurationRequestImageRegistryCredentials = exports.ModifyEciScalingConfigurationRequestHostAliases = exports.ModifyEciScalingConfigurationRequestDnsConfigOptions = exports.ModifyEciScalingConfigurationRequestContainers = exports.ModifyEciScalingConfigurationRequestContainersVolumeMounts = exports.ModifyEciScalingConfigurationRequestContainersPorts = exports.ModifyEciScalingConfigurationRequestContainersEnvironmentVars = exports.ModifyEciScalingConfigurationRequestContainersEnvironmentVarsFieldRef = exports.ModifyEciScalingConfigurationRequestContainersSecurityContext = exports.ModifyEciScalingConfigurationRequestContainersSecurityContextCapability = exports.ModifyEciScalingConfigurationRequestContainersReadinessProbe = exports.ModifyEciScalingConfigurationRequestContainersReadinessProbeTcpSocket = exports.ModifyEciScalingConfigurationRequestContainersReadinessProbeHttpGet = exports.ModifyEciScalingConfigurationRequestContainersReadinessProbeExec = exports.ModifyEciScalingConfigurationRequestContainersLivenessProbe = exports.ModifyEciScalingConfigurationRequestContainersLivenessProbeTcpSocket = exports.ModifyEciScalingConfigurationRequestContainersLivenessProbeHttpGet = exports.ModifyEciScalingConfigurationRequestContainersLivenessProbeExec = exports.ModifyEciScalingConfigurationRequestAcrRegistryInfos = exports.ModifyAlarmRequestExpressions = exports.ModifyAlarmRequestDimensions = exports.ListTagResourcesResponseBodyTagResources = exports.ListTagResourcesRequestTags = exports.EnableScalingGroupRequestLaunchTemplateOverrides = exports.DetachVServerGroupsRequestVServerGroups = exports.DetachVServerGroupsRequestVServerGroupsVServerGroupAttributes = exports.DetachServerGroupsRequestServerGroups = exports.DetachAlbServerGroupsRequestAlbServerGroups = exports.DescribeScheduledTasksResponseBodyScheduledTasks = exports.DescribeScalingRulesResponseBodyScalingRules = exports.DescribeScalingRulesResponseBodyScalingRulesStepAdjustments = exports.DescribeScalingRulesResponseBodyScalingRulesHybridMetrics = exports.DescribeScalingRulesResponseBodyScalingRulesHybridMetricsDimensions = exports.DescribeScalingRulesResponseBodyScalingRulesAlarms = exports.DescribeScalingRulesResponseBodyScalingRulesAlarmsDimensions = exports.DescribeScalingRulesResponseBodyScalingRulesAlarmDimensions = exports.DescribeScalingInstancesResponseBodyScalingInstances = exports.DescribeScalingGroupsResponseBodyScalingGroups = exports.DescribeScalingGroupsResponseBodyScalingGroupsVServerGroups = exports.DescribeScalingGroupsResponseBodyScalingGroupsVServerGroupsVServerGroupAttributes = exports.DescribeScalingGroupsResponseBodyScalingGroupsTags = exports.DescribeScalingGroupsResponseBodyScalingGroupsServerGroups = exports.DescribeScalingGroupsResponseBodyScalingGroupsLoadBalancerConfigs = exports.DescribeScalingGroupsResponseBodyScalingGroupsLaunchTemplateOverrides = exports.DescribeScalingGroupsResponseBodyScalingGroupsDBInstances = exports.DescribeScalingGroupsResponseBodyScalingGroupsCapacityOptions = exports.DescribeScalingGroupsResponseBodyScalingGroupsAlbServerGroups = exports.DescribeScalingGroupsRequestTags = exports.DescribeScalingGroupDiagnoseDetailsResponseBodyDetails = void 0;
43
- exports.ApplyEciScalingConfigurationRequest = exports.TagResourcesRequestTags = exports.StartInstanceRefreshRequestDesiredConfiguration = exports.ScaleWithAdjustmentRequestOverrides = exports.ScaleWithAdjustmentRequestOverridesContainerOverrides = exports.ScaleWithAdjustmentRequestOverridesContainerOverridesEnvironmentVars = exports.ScaleWithAdjustmentRequestLifecycleHookContext = exports.ModifyScalingRuleRequestStepAdjustments = exports.ModifyScalingRuleRequestHybridMetrics = exports.ModifyScalingRuleRequestHybridMetricsDimensions = exports.ModifyScalingRuleRequestAlarmDimensions = exports.ModifyScalingGroupRequestLaunchTemplateOverrides = exports.ModifyScalingGroupRequestCapacityOptions = exports.ModifyScalingConfigurationShrinkRequestSpotPriceLimits = exports.ModifyScalingConfigurationShrinkRequestSecurityOptions = exports.ModifyScalingConfigurationShrinkRequestResourcePoolOptions = exports.ModifyScalingConfigurationShrinkRequestNetworkInterfaces = exports.ModifyScalingConfigurationShrinkRequestInstanceTypeOverrides = exports.ModifyScalingConfigurationShrinkRequestInstancePatternInfos = exports.ModifyScalingConfigurationShrinkRequestDataDisks = exports.ModifyScalingConfigurationShrinkRequestCustomPriorities = exports.ModifyScalingConfigurationShrinkRequestSystemDisk = exports.ModifyScalingConfigurationShrinkRequestPrivatePoolOptions = exports.ModifyScalingConfigurationShrinkRequestImageOptions = exports.ModifyScalingConfigurationRequestSpotPriceLimits = exports.ModifyScalingConfigurationRequestSecurityOptions = exports.ModifyScalingConfigurationRequestResourcePoolOptions = exports.ModifyScalingConfigurationRequestNetworkInterfaces = exports.ModifyScalingConfigurationRequestInstanceTypeOverrides = exports.ModifyScalingConfigurationRequestInstancePatternInfos = exports.ModifyScalingConfigurationRequestDataDisks = exports.ModifyScalingConfigurationRequestCustomPriorities = exports.ModifyScalingConfigurationRequestSystemDisk = exports.ModifyScalingConfigurationRequestPrivatePoolOptions = exports.ModifyScalingConfigurationRequestImageOptions = exports.ModifyEciScalingConfigurationRequestVolumes = exports.ModifyEciScalingConfigurationRequestVolumesConfigFileVolumeConfigFileToPath = exports.ModifyEciScalingConfigurationRequestVolumesNFSVolume = exports.ModifyEciScalingConfigurationRequestVolumesHostPathVolume = exports.ModifyEciScalingConfigurationRequestVolumesFlexVolume = exports.ModifyEciScalingConfigurationRequestVolumesEmptyDirVolume = exports.ModifyEciScalingConfigurationRequestVolumesDiskVolume = exports.ModifyEciScalingConfigurationRequestTags = exports.ModifyEciScalingConfigurationRequestSecurityContextSysCtls = exports.ModifyEciScalingConfigurationRequestInitContainers = exports.ModifyEciScalingConfigurationRequestInitContainersInitContainerVolumeMounts = exports.ModifyEciScalingConfigurationRequestInitContainersInitContainerPorts = exports.ModifyEciScalingConfigurationRequestInitContainersInitContainerEnvironmentVars = exports.ModifyEciScalingConfigurationRequestInitContainersInitContainerEnvironmentVarsFieldRef = exports.ModifyEciScalingConfigurationRequestInitContainersSecurityContext = void 0;
44
- exports.CreateScalingConfigurationResponseBody = exports.CreateScalingConfigurationShrinkRequest = exports.CreateScalingConfigurationRequest = exports.CreateNotificationConfigurationResponse = exports.CreateNotificationConfigurationResponseBody = exports.CreateNotificationConfigurationRequest = exports.CreateLifecycleHookResponse = exports.CreateLifecycleHookResponseBody = exports.CreateLifecycleHookRequest = exports.CreateEciScalingConfigurationResponse = exports.CreateEciScalingConfigurationResponseBody = exports.CreateEciScalingConfigurationRequest = exports.CreateDiagnoseReportResponse = exports.CreateDiagnoseReportResponseBody = exports.CreateDiagnoseReportRequest = exports.CreateAlarmResponse = exports.CreateAlarmResponseBody = exports.CreateAlarmRequest = exports.CompleteLifecycleActionResponse = exports.CompleteLifecycleActionResponseBody = exports.CompleteLifecycleActionRequest = exports.ChangeResourceGroupResponse = exports.ChangeResourceGroupResponseBody = exports.ChangeResourceGroupRequest = exports.CancelInstanceRefreshResponse = exports.CancelInstanceRefreshResponseBody = exports.CancelInstanceRefreshRequest = exports.AttachVServerGroupsResponse = exports.AttachVServerGroupsResponseBody = exports.AttachVServerGroupsRequest = exports.AttachServerGroupsResponse = exports.AttachServerGroupsResponseBody = exports.AttachServerGroupsRequest = exports.AttachLoadBalancersResponse = exports.AttachLoadBalancersResponseBody = exports.AttachLoadBalancersRequest = exports.AttachInstancesResponse = exports.AttachInstancesResponseBody = exports.AttachInstancesRequest = exports.AttachDBInstancesResponse = exports.AttachDBInstancesResponseBody = exports.AttachDBInstancesRequest = exports.AttachAlbServerGroupsResponse = exports.AttachAlbServerGroupsResponseBody = exports.AttachAlbServerGroupsRequest = exports.ApplyScalingGroupResponse = exports.ApplyScalingGroupResponseBody = exports.ApplyScalingGroupRequest = exports.ApplyEciScalingConfigurationResponse = exports.ApplyEciScalingConfigurationResponseBody = void 0;
45
- exports.DescribeEciScalingConfigurationsRequest = exports.DescribeEciScalingConfigurationDetailResponse = exports.DescribeEciScalingConfigurationDetailResponseBody = exports.DescribeEciScalingConfigurationDetailRequest = exports.DescribeDiagnoseReportsResponse = exports.DescribeDiagnoseReportsResponseBody = exports.DescribeDiagnoseReportsRequest = exports.DescribeAlertConfigurationResponse = exports.DescribeAlertConfigurationResponseBody = exports.DescribeAlertConfigurationRequest = exports.DescribeAlarmsResponse = exports.DescribeAlarmsResponseBody = exports.DescribeAlarmsRequest = exports.DeleteScheduledTaskResponse = exports.DeleteScheduledTaskResponseBody = exports.DeleteScheduledTaskRequest = exports.DeleteScalingRuleResponse = exports.DeleteScalingRuleResponseBody = exports.DeleteScalingRuleRequest = exports.DeleteScalingGroupResponse = exports.DeleteScalingGroupResponseBody = exports.DeleteScalingGroupRequest = exports.DeleteScalingConfigurationResponse = exports.DeleteScalingConfigurationResponseBody = exports.DeleteScalingConfigurationRequest = exports.DeleteNotificationConfigurationResponse = exports.DeleteNotificationConfigurationResponseBody = exports.DeleteNotificationConfigurationRequest = exports.DeleteLifecycleHookResponse = exports.DeleteLifecycleHookResponseBody = exports.DeleteLifecycleHookRequest = exports.DeleteEciScalingConfigurationResponse = exports.DeleteEciScalingConfigurationResponseBody = exports.DeleteEciScalingConfigurationRequest = exports.DeleteAlarmResponse = exports.DeleteAlarmResponseBody = exports.DeleteAlarmRequest = exports.DeactivateScalingConfigurationResponse = exports.DeactivateScalingConfigurationResponseBody = exports.DeactivateScalingConfigurationRequest = exports.CreateScheduledTaskResponse = exports.CreateScheduledTaskResponseBody = exports.CreateScheduledTaskRequest = exports.CreateScalingRuleResponse = exports.CreateScalingRuleResponseBody = exports.CreateScalingRuleRequest = exports.CreateScalingGroupResponse = exports.CreateScalingGroupResponseBody = exports.CreateScalingGroupRequest = exports.CreateScalingConfigurationResponse = void 0;
46
- exports.DescribeScalingInstancesResponse = exports.DescribeScalingInstancesResponseBody = exports.DescribeScalingInstancesRequest = exports.DescribeScalingGroupsResponse = exports.DescribeScalingGroupsResponseBody = exports.DescribeScalingGroupsRequest = exports.DescribeScalingGroupDiagnoseDetailsResponse = exports.DescribeScalingGroupDiagnoseDetailsResponseBody = exports.DescribeScalingGroupDiagnoseDetailsRequest = exports.DescribeScalingGroupDetailResponse = exports.DescribeScalingGroupDetailResponseBody = exports.DescribeScalingGroupDetailRequest = exports.DescribeScalingConfigurationsResponse = exports.DescribeScalingConfigurationsResponseBody = exports.DescribeScalingConfigurationsRequest = exports.DescribeScalingActivityDetailResponse = exports.DescribeScalingActivityDetailResponseBody = exports.DescribeScalingActivityDetailRequest = exports.DescribeScalingActivitiesResponse = exports.DescribeScalingActivitiesResponseBody = exports.DescribeScalingActivitiesRequest = exports.DescribeRegionsResponse = exports.DescribeRegionsResponseBody = exports.DescribeRegionsRequest = exports.DescribePatternTypesResponse = exports.DescribePatternTypesResponseBody = exports.DescribePatternTypesRequest = exports.DescribeNotificationTypesResponse = exports.DescribeNotificationTypesResponseBody = exports.DescribeNotificationTypesRequest = exports.DescribeNotificationConfigurationsResponse = exports.DescribeNotificationConfigurationsResponseBody = exports.DescribeNotificationConfigurationsRequest = exports.DescribeLimitationResponse = exports.DescribeLimitationResponseBody = exports.DescribeLimitationRequest = exports.DescribeLifecycleHooksResponse = exports.DescribeLifecycleHooksResponseBody = exports.DescribeLifecycleHooksRequest = exports.DescribeLifecycleActionsResponse = exports.DescribeLifecycleActionsResponseBody = exports.DescribeLifecycleActionsRequest = exports.DescribeInstanceRefreshesResponse = exports.DescribeInstanceRefreshesResponseBody = exports.DescribeInstanceRefreshesRequest = exports.DescribeElasticStrengthResponse = exports.DescribeElasticStrengthResponseBody = exports.DescribeElasticStrengthRequest = exports.DescribeEciScalingConfigurationsResponse = exports.DescribeEciScalingConfigurationsResponseBody = void 0;
47
- exports.ListTagResourcesResponseBody = exports.ListTagResourcesRequest = exports.ListTagKeysResponse = exports.ListTagKeysResponseBody = exports.ListTagKeysRequest = exports.ExitStandbyResponse = exports.ExitStandbyResponseBody = exports.ExitStandbyRequest = exports.ExecuteScalingRuleResponse = exports.ExecuteScalingRuleResponseBody = exports.ExecuteScalingRuleRequest = exports.EnterStandbyResponse = exports.EnterStandbyResponseBody = exports.EnterStandbyRequest = exports.EnableScalingGroupResponse = exports.EnableScalingGroupResponseBody = exports.EnableScalingGroupRequest = exports.EnableAlarmResponse = exports.EnableAlarmResponseBody = exports.EnableAlarmRequest = exports.DisableScalingGroupResponse = exports.DisableScalingGroupResponseBody = exports.DisableScalingGroupRequest = exports.DisableAlarmResponse = exports.DisableAlarmResponseBody = exports.DisableAlarmRequest = exports.DetachVServerGroupsResponse = exports.DetachVServerGroupsResponseBody = exports.DetachVServerGroupsRequest = exports.DetachServerGroupsResponse = exports.DetachServerGroupsResponseBody = exports.DetachServerGroupsRequest = exports.DetachLoadBalancersResponse = exports.DetachLoadBalancersResponseBody = exports.DetachLoadBalancersRequest = exports.DetachInstancesResponse = exports.DetachInstancesResponseBody = exports.DetachInstancesRequest = exports.DetachDBInstancesResponse = exports.DetachDBInstancesResponseBody = exports.DetachDBInstancesRequest = exports.DetachAlbServerGroupsResponse = exports.DetachAlbServerGroupsResponseBody = exports.DetachAlbServerGroupsRequest = exports.DescribeScheduledTasksResponse = exports.DescribeScheduledTasksResponseBody = exports.DescribeScheduledTasksRequest = exports.DescribeScalingRulesResponse = exports.DescribeScalingRulesResponseBody = exports.DescribeScalingRulesRequest = void 0;
48
- exports.ResumeProcessesResponse = exports.ResumeProcessesResponseBody = exports.ResumeProcessesRequest = exports.ResumeInstanceRefreshResponse = exports.ResumeInstanceRefreshResponseBody = exports.ResumeInstanceRefreshRequest = exports.RemoveInstancesResponse = exports.RemoveInstancesResponseBody = exports.RemoveInstancesRequest = exports.RecordLifecycleActionHeartbeatResponse = exports.RecordLifecycleActionHeartbeatResponseBody = exports.RecordLifecycleActionHeartbeatRequest = exports.RebalanceInstancesResponse = exports.RebalanceInstancesResponseBody = exports.RebalanceInstancesRequest = exports.ModifyScheduledTaskResponse = exports.ModifyScheduledTaskResponseBody = exports.ModifyScheduledTaskRequest = exports.ModifyScalingRuleResponse = exports.ModifyScalingRuleResponseBody = exports.ModifyScalingRuleRequest = exports.ModifyScalingGroupResponse = exports.ModifyScalingGroupResponseBody = exports.ModifyScalingGroupRequest = exports.ModifyScalingConfigurationResponse = exports.ModifyScalingConfigurationResponseBody = exports.ModifyScalingConfigurationShrinkRequest = exports.ModifyScalingConfigurationRequest = exports.ModifyNotificationConfigurationResponse = exports.ModifyNotificationConfigurationResponseBody = exports.ModifyNotificationConfigurationRequest = exports.ModifyLifecycleHookResponse = exports.ModifyLifecycleHookResponseBody = exports.ModifyLifecycleHookRequest = exports.ModifyInstanceAttributeResponse = exports.ModifyInstanceAttributeResponseBody = exports.ModifyInstanceAttributeRequest = exports.ModifyEciScalingConfigurationResponse = exports.ModifyEciScalingConfigurationResponseBody = exports.ModifyEciScalingConfigurationRequest = exports.ModifyAlertConfigurationResponse = exports.ModifyAlertConfigurationResponseBody = exports.ModifyAlertConfigurationRequest = exports.ModifyAlarmResponse = exports.ModifyAlarmResponseBody = exports.ModifyAlarmRequest = exports.ListTagValuesResponse = exports.ListTagValuesResponseBody = exports.ListTagValuesRequest = exports.ListTagResourcesResponse = void 0;
49
- exports.VerifyUserResponse = exports.VerifyUserResponseBody = exports.VerifyUserRequest = exports.VerifyAuthenticationResponse = exports.VerifyAuthenticationResponseBody = exports.VerifyAuthenticationRequest = exports.UntagResourcesResponse = exports.UntagResourcesResponseBody = exports.UntagResourcesRequest = exports.TagResourcesResponse = exports.TagResourcesResponseBody = exports.TagResourcesRequest = exports.SuspendProcessesResponse = exports.SuspendProcessesResponseBody = exports.SuspendProcessesRequest = exports.SuspendInstanceRefreshResponse = exports.SuspendInstanceRefreshResponseBody = exports.SuspendInstanceRefreshRequest = exports.StartInstanceRefreshResponse = exports.StartInstanceRefreshResponseBody = exports.StartInstanceRefreshRequest = exports.SetInstancesProtectionResponse = exports.SetInstancesProtectionResponseBody = exports.SetInstancesProtectionRequest = exports.SetInstanceHealthResponse = exports.SetInstanceHealthResponseBody = exports.SetInstanceHealthRequest = exports.SetGroupDeletionProtectionResponse = exports.SetGroupDeletionProtectionResponseBody = exports.SetGroupDeletionProtectionRequest = exports.ScaleWithAdjustmentResponse = exports.ScaleWithAdjustmentResponseBody = exports.ScaleWithAdjustmentShrinkRequest = exports.ScaleWithAdjustmentRequest = exports.RollbackInstanceRefreshResponse = exports.RollbackInstanceRefreshResponseBody = exports.RollbackInstanceRefreshRequest = void 0;
43
+ exports.TagResourcesRequestTags = exports.StartInstanceRefreshRequestDesiredConfiguration = exports.ScaleWithAdjustmentRequestOverrides = exports.ScaleWithAdjustmentRequestOverridesContainerOverrides = exports.ScaleWithAdjustmentRequestOverridesContainerOverridesEnvironmentVars = exports.ScaleWithAdjustmentRequestLifecycleHookContext = exports.RemoveInstancesRequestLifecycleHookContext = exports.ModifyScalingRuleRequestStepAdjustments = exports.ModifyScalingRuleRequestHybridMetrics = exports.ModifyScalingRuleRequestHybridMetricsDimensions = exports.ModifyScalingRuleRequestAlarmDimensions = exports.ModifyScalingGroupRequestLaunchTemplateOverrides = exports.ModifyScalingGroupRequestCapacityOptions = exports.ModifyScalingConfigurationShrinkRequestSpotPriceLimits = exports.ModifyScalingConfigurationShrinkRequestSecurityOptions = exports.ModifyScalingConfigurationShrinkRequestResourcePoolOptions = exports.ModifyScalingConfigurationShrinkRequestNetworkInterfaces = exports.ModifyScalingConfigurationShrinkRequestInstanceTypeOverrides = exports.ModifyScalingConfigurationShrinkRequestInstancePatternInfos = exports.ModifyScalingConfigurationShrinkRequestDataDisks = exports.ModifyScalingConfigurationShrinkRequestCustomPriorities = exports.ModifyScalingConfigurationShrinkRequestSystemDisk = exports.ModifyScalingConfigurationShrinkRequestPrivatePoolOptions = exports.ModifyScalingConfigurationShrinkRequestImageOptions = exports.ModifyScalingConfigurationRequestSpotPriceLimits = exports.ModifyScalingConfigurationRequestSecurityOptions = exports.ModifyScalingConfigurationRequestResourcePoolOptions = exports.ModifyScalingConfigurationRequestNetworkInterfaces = exports.ModifyScalingConfigurationRequestInstanceTypeOverrides = exports.ModifyScalingConfigurationRequestInstancePatternInfos = exports.ModifyScalingConfigurationRequestDataDisks = exports.ModifyScalingConfigurationRequestCustomPriorities = exports.ModifyScalingConfigurationRequestSystemDisk = exports.ModifyScalingConfigurationRequestPrivatePoolOptions = exports.ModifyScalingConfigurationRequestImageOptions = exports.ModifyEciScalingConfigurationRequestVolumes = exports.ModifyEciScalingConfigurationRequestVolumesConfigFileVolumeConfigFileToPath = exports.ModifyEciScalingConfigurationRequestVolumesNFSVolume = exports.ModifyEciScalingConfigurationRequestVolumesHostPathVolume = exports.ModifyEciScalingConfigurationRequestVolumesFlexVolume = exports.ModifyEciScalingConfigurationRequestVolumesEmptyDirVolume = exports.ModifyEciScalingConfigurationRequestVolumesDiskVolume = exports.ModifyEciScalingConfigurationRequestTags = exports.ModifyEciScalingConfigurationRequestSecurityContextSysCtls = exports.ModifyEciScalingConfigurationRequestInitContainers = exports.ModifyEciScalingConfigurationRequestInitContainersInitContainerVolumeMounts = exports.ModifyEciScalingConfigurationRequestInitContainersInitContainerPorts = exports.ModifyEciScalingConfigurationRequestInitContainersInitContainerEnvironmentVars = exports.ModifyEciScalingConfigurationRequestInitContainersInitContainerEnvironmentVarsFieldRef = exports.ModifyEciScalingConfigurationRequestInitContainersSecurityContext = void 0;
44
+ exports.CreateScalingConfigurationShrinkRequest = exports.CreateScalingConfigurationRequest = exports.CreateNotificationConfigurationResponse = exports.CreateNotificationConfigurationResponseBody = exports.CreateNotificationConfigurationRequest = exports.CreateLifecycleHookResponse = exports.CreateLifecycleHookResponseBody = exports.CreateLifecycleHookRequest = exports.CreateEciScalingConfigurationResponse = exports.CreateEciScalingConfigurationResponseBody = exports.CreateEciScalingConfigurationRequest = exports.CreateDiagnoseReportResponse = exports.CreateDiagnoseReportResponseBody = exports.CreateDiagnoseReportRequest = exports.CreateAlarmResponse = exports.CreateAlarmResponseBody = exports.CreateAlarmRequest = exports.CompleteLifecycleActionResponse = exports.CompleteLifecycleActionResponseBody = exports.CompleteLifecycleActionRequest = exports.ChangeResourceGroupResponse = exports.ChangeResourceGroupResponseBody = exports.ChangeResourceGroupRequest = exports.CancelInstanceRefreshResponse = exports.CancelInstanceRefreshResponseBody = exports.CancelInstanceRefreshRequest = exports.AttachVServerGroupsResponse = exports.AttachVServerGroupsResponseBody = exports.AttachVServerGroupsRequest = exports.AttachServerGroupsResponse = exports.AttachServerGroupsResponseBody = exports.AttachServerGroupsRequest = exports.AttachLoadBalancersResponse = exports.AttachLoadBalancersResponseBody = exports.AttachLoadBalancersRequest = exports.AttachInstancesResponse = exports.AttachInstancesResponseBody = exports.AttachInstancesRequest = exports.AttachDBInstancesResponse = exports.AttachDBInstancesResponseBody = exports.AttachDBInstancesRequest = exports.AttachAlbServerGroupsResponse = exports.AttachAlbServerGroupsResponseBody = exports.AttachAlbServerGroupsRequest = exports.ApplyScalingGroupResponse = exports.ApplyScalingGroupResponseBody = exports.ApplyScalingGroupRequest = exports.ApplyEciScalingConfigurationResponse = exports.ApplyEciScalingConfigurationResponseBody = exports.ApplyEciScalingConfigurationRequest = void 0;
45
+ exports.DescribeEciScalingConfigurationDetailResponse = exports.DescribeEciScalingConfigurationDetailResponseBody = exports.DescribeEciScalingConfigurationDetailRequest = exports.DescribeDiagnoseReportsResponse = exports.DescribeDiagnoseReportsResponseBody = exports.DescribeDiagnoseReportsRequest = exports.DescribeAlertConfigurationResponse = exports.DescribeAlertConfigurationResponseBody = exports.DescribeAlertConfigurationRequest = exports.DescribeAlarmsResponse = exports.DescribeAlarmsResponseBody = exports.DescribeAlarmsRequest = exports.DeleteScheduledTaskResponse = exports.DeleteScheduledTaskResponseBody = exports.DeleteScheduledTaskRequest = exports.DeleteScalingRuleResponse = exports.DeleteScalingRuleResponseBody = exports.DeleteScalingRuleRequest = exports.DeleteScalingGroupResponse = exports.DeleteScalingGroupResponseBody = exports.DeleteScalingGroupRequest = exports.DeleteScalingConfigurationResponse = exports.DeleteScalingConfigurationResponseBody = exports.DeleteScalingConfigurationRequest = exports.DeleteNotificationConfigurationResponse = exports.DeleteNotificationConfigurationResponseBody = exports.DeleteNotificationConfigurationRequest = exports.DeleteLifecycleHookResponse = exports.DeleteLifecycleHookResponseBody = exports.DeleteLifecycleHookRequest = exports.DeleteEciScalingConfigurationResponse = exports.DeleteEciScalingConfigurationResponseBody = exports.DeleteEciScalingConfigurationRequest = exports.DeleteAlarmResponse = exports.DeleteAlarmResponseBody = exports.DeleteAlarmRequest = exports.DeactivateScalingConfigurationResponse = exports.DeactivateScalingConfigurationResponseBody = exports.DeactivateScalingConfigurationRequest = exports.CreateScheduledTaskResponse = exports.CreateScheduledTaskResponseBody = exports.CreateScheduledTaskRequest = exports.CreateScalingRuleResponse = exports.CreateScalingRuleResponseBody = exports.CreateScalingRuleRequest = exports.CreateScalingGroupResponse = exports.CreateScalingGroupResponseBody = exports.CreateScalingGroupRequest = exports.CreateScalingConfigurationResponse = exports.CreateScalingConfigurationResponseBody = void 0;
46
+ exports.DescribeScalingInstancesResponseBody = exports.DescribeScalingInstancesRequest = exports.DescribeScalingGroupsResponse = exports.DescribeScalingGroupsResponseBody = exports.DescribeScalingGroupsRequest = exports.DescribeScalingGroupDiagnoseDetailsResponse = exports.DescribeScalingGroupDiagnoseDetailsResponseBody = exports.DescribeScalingGroupDiagnoseDetailsRequest = exports.DescribeScalingGroupDetailResponse = exports.DescribeScalingGroupDetailResponseBody = exports.DescribeScalingGroupDetailRequest = exports.DescribeScalingConfigurationsResponse = exports.DescribeScalingConfigurationsResponseBody = exports.DescribeScalingConfigurationsRequest = exports.DescribeScalingActivityDetailResponse = exports.DescribeScalingActivityDetailResponseBody = exports.DescribeScalingActivityDetailRequest = exports.DescribeScalingActivitiesResponse = exports.DescribeScalingActivitiesResponseBody = exports.DescribeScalingActivitiesRequest = exports.DescribeRegionsResponse = exports.DescribeRegionsResponseBody = exports.DescribeRegionsRequest = exports.DescribePatternTypesResponse = exports.DescribePatternTypesResponseBody = exports.DescribePatternTypesRequest = exports.DescribeNotificationTypesResponse = exports.DescribeNotificationTypesResponseBody = exports.DescribeNotificationTypesRequest = exports.DescribeNotificationConfigurationsResponse = exports.DescribeNotificationConfigurationsResponseBody = exports.DescribeNotificationConfigurationsRequest = exports.DescribeLimitationResponse = exports.DescribeLimitationResponseBody = exports.DescribeLimitationRequest = exports.DescribeLifecycleHooksResponse = exports.DescribeLifecycleHooksResponseBody = exports.DescribeLifecycleHooksRequest = exports.DescribeLifecycleActionsResponse = exports.DescribeLifecycleActionsResponseBody = exports.DescribeLifecycleActionsRequest = exports.DescribeInstanceRefreshesResponse = exports.DescribeInstanceRefreshesResponseBody = exports.DescribeInstanceRefreshesRequest = exports.DescribeElasticStrengthResponse = exports.DescribeElasticStrengthResponseBody = exports.DescribeElasticStrengthRequest = exports.DescribeEciScalingConfigurationsResponse = exports.DescribeEciScalingConfigurationsResponseBody = exports.DescribeEciScalingConfigurationsRequest = void 0;
47
+ exports.ListTagResourcesRequest = exports.ListTagKeysResponse = exports.ListTagKeysResponseBody = exports.ListTagKeysRequest = exports.ExitStandbyResponse = exports.ExitStandbyResponseBody = exports.ExitStandbyRequest = exports.ExecuteScalingRuleResponse = exports.ExecuteScalingRuleResponseBody = exports.ExecuteScalingRuleRequest = exports.EnterStandbyResponse = exports.EnterStandbyResponseBody = exports.EnterStandbyRequest = exports.EnableScalingGroupResponse = exports.EnableScalingGroupResponseBody = exports.EnableScalingGroupRequest = exports.EnableAlarmResponse = exports.EnableAlarmResponseBody = exports.EnableAlarmRequest = exports.DisableScalingGroupResponse = exports.DisableScalingGroupResponseBody = exports.DisableScalingGroupRequest = exports.DisableAlarmResponse = exports.DisableAlarmResponseBody = exports.DisableAlarmRequest = exports.DetachVServerGroupsResponse = exports.DetachVServerGroupsResponseBody = exports.DetachVServerGroupsRequest = exports.DetachServerGroupsResponse = exports.DetachServerGroupsResponseBody = exports.DetachServerGroupsRequest = exports.DetachLoadBalancersResponse = exports.DetachLoadBalancersResponseBody = exports.DetachLoadBalancersRequest = exports.DetachInstancesResponse = exports.DetachInstancesResponseBody = exports.DetachInstancesRequest = exports.DetachDBInstancesResponse = exports.DetachDBInstancesResponseBody = exports.DetachDBInstancesRequest = exports.DetachAlbServerGroupsResponse = exports.DetachAlbServerGroupsResponseBody = exports.DetachAlbServerGroupsRequest = exports.DescribeScheduledTasksResponse = exports.DescribeScheduledTasksResponseBody = exports.DescribeScheduledTasksRequest = exports.DescribeScalingRulesResponse = exports.DescribeScalingRulesResponseBody = exports.DescribeScalingRulesRequest = exports.DescribeScalingInstancesResponse = void 0;
48
+ exports.ResumeProcessesRequest = exports.ResumeInstanceRefreshResponse = exports.ResumeInstanceRefreshResponseBody = exports.ResumeInstanceRefreshRequest = exports.RemoveInstancesResponse = exports.RemoveInstancesResponseBody = exports.RemoveInstancesShrinkRequest = exports.RemoveInstancesRequest = exports.RecordLifecycleActionHeartbeatResponse = exports.RecordLifecycleActionHeartbeatResponseBody = exports.RecordLifecycleActionHeartbeatRequest = exports.RebalanceInstancesResponse = exports.RebalanceInstancesResponseBody = exports.RebalanceInstancesRequest = exports.ModifyScheduledTaskResponse = exports.ModifyScheduledTaskResponseBody = exports.ModifyScheduledTaskRequest = exports.ModifyScalingRuleResponse = exports.ModifyScalingRuleResponseBody = exports.ModifyScalingRuleRequest = exports.ModifyScalingGroupResponse = exports.ModifyScalingGroupResponseBody = exports.ModifyScalingGroupRequest = exports.ModifyScalingConfigurationResponse = exports.ModifyScalingConfigurationResponseBody = exports.ModifyScalingConfigurationShrinkRequest = exports.ModifyScalingConfigurationRequest = exports.ModifyNotificationConfigurationResponse = exports.ModifyNotificationConfigurationResponseBody = exports.ModifyNotificationConfigurationRequest = exports.ModifyLifecycleHookResponse = exports.ModifyLifecycleHookResponseBody = exports.ModifyLifecycleHookRequest = exports.ModifyInstanceAttributeResponse = exports.ModifyInstanceAttributeResponseBody = exports.ModifyInstanceAttributeRequest = exports.ModifyEciScalingConfigurationResponse = exports.ModifyEciScalingConfigurationResponseBody = exports.ModifyEciScalingConfigurationRequest = exports.ModifyAlertConfigurationResponse = exports.ModifyAlertConfigurationResponseBody = exports.ModifyAlertConfigurationRequest = exports.ModifyAlarmResponse = exports.ModifyAlarmResponseBody = exports.ModifyAlarmRequest = exports.ListTagValuesResponse = exports.ListTagValuesResponseBody = exports.ListTagValuesRequest = exports.ListTagResourcesResponse = exports.ListTagResourcesResponseBody = void 0;
49
+ exports.VerifyUserResponse = exports.VerifyUserResponseBody = exports.VerifyUserRequest = exports.VerifyAuthenticationResponse = exports.VerifyAuthenticationResponseBody = exports.VerifyAuthenticationRequest = exports.UntagResourcesResponse = exports.UntagResourcesResponseBody = exports.UntagResourcesRequest = exports.TagResourcesResponse = exports.TagResourcesResponseBody = exports.TagResourcesRequest = exports.SuspendProcessesResponse = exports.SuspendProcessesResponseBody = exports.SuspendProcessesRequest = exports.SuspendInstanceRefreshResponse = exports.SuspendInstanceRefreshResponseBody = exports.SuspendInstanceRefreshRequest = exports.StartInstanceRefreshResponse = exports.StartInstanceRefreshResponseBody = exports.StartInstanceRefreshRequest = exports.SetInstancesProtectionResponse = exports.SetInstancesProtectionResponseBody = exports.SetInstancesProtectionRequest = exports.SetInstanceHealthResponse = exports.SetInstanceHealthResponseBody = exports.SetInstanceHealthRequest = exports.SetGroupDeletionProtectionResponse = exports.SetGroupDeletionProtectionResponseBody = exports.SetGroupDeletionProtectionRequest = exports.ScaleWithAdjustmentResponse = exports.ScaleWithAdjustmentResponseBody = exports.ScaleWithAdjustmentShrinkRequest = exports.ScaleWithAdjustmentRequest = exports.RollbackInstanceRefreshResponse = exports.RollbackInstanceRefreshResponseBody = exports.RollbackInstanceRefreshRequest = exports.ResumeProcessesResponse = exports.ResumeProcessesResponseBody = void 0;
50
50
  // This file is auto-generated, don't edit it
51
51
  /**
52
52
  */
@@ -8050,6 +8050,30 @@ class ModifyScalingRuleRequestStepAdjustments extends $dara.Model {
8050
8050
  }
8051
8051
  }
8052
8052
  exports.ModifyScalingRuleRequestStepAdjustments = ModifyScalingRuleRequestStepAdjustments;
8053
+ class RemoveInstancesRequestLifecycleHookContext extends $dara.Model {
8054
+ static names() {
8055
+ return {
8056
+ disableLifecycleHook: 'DisableLifecycleHook',
8057
+ ignoredLifecycleHookIds: 'IgnoredLifecycleHookIds',
8058
+ };
8059
+ }
8060
+ static types() {
8061
+ return {
8062
+ disableLifecycleHook: 'boolean',
8063
+ ignoredLifecycleHookIds: { 'type': 'array', 'itemType': 'string' },
8064
+ };
8065
+ }
8066
+ validate() {
8067
+ if (Array.isArray(this.ignoredLifecycleHookIds)) {
8068
+ $dara.Model.validateArray(this.ignoredLifecycleHookIds);
8069
+ }
8070
+ super.validate();
8071
+ }
8072
+ constructor(map) {
8073
+ super(map);
8074
+ }
8075
+ }
8076
+ exports.RemoveInstancesRequestLifecycleHookContext = RemoveInstancesRequestLifecycleHookContext;
8053
8077
  class ScaleWithAdjustmentRequestLifecycleHookContext extends $dara.Model {
8054
8078
  static names() {
8055
8079
  return {
@@ -15172,6 +15196,7 @@ class ModifyInstanceAttributeRequest extends $dara.Model {
15172
15196
  return {
15173
15197
  entrusted: 'Entrusted',
15174
15198
  instanceId: 'InstanceId',
15199
+ instanceIds: 'InstanceIds',
15175
15200
  ownerId: 'OwnerId',
15176
15201
  regionId: 'RegionId',
15177
15202
  resourceOwnerAccount: 'ResourceOwnerAccount',
@@ -15182,6 +15207,7 @@ class ModifyInstanceAttributeRequest extends $dara.Model {
15182
15207
  return {
15183
15208
  entrusted: 'boolean',
15184
15209
  instanceId: 'string',
15210
+ instanceIds: { 'type': 'array', 'itemType': 'string' },
15185
15211
  ownerId: 'number',
15186
15212
  regionId: 'string',
15187
15213
  resourceOwnerAccount: 'string',
@@ -15189,6 +15215,9 @@ class ModifyInstanceAttributeRequest extends $dara.Model {
15189
15215
  };
15190
15216
  }
15191
15217
  validate() {
15218
+ if (Array.isArray(this.instanceIds)) {
15219
+ $dara.Model.validateArray(this.instanceIds);
15220
+ }
15192
15221
  super.validate();
15193
15222
  }
15194
15223
  constructor(map) {
@@ -16364,6 +16393,7 @@ class RemoveInstancesRequest extends $dara.Model {
16364
16393
  decreaseDesiredCapacity: 'DecreaseDesiredCapacity',
16365
16394
  ignoreInvalidInstance: 'IgnoreInvalidInstance',
16366
16395
  instanceIds: 'InstanceIds',
16396
+ lifecycleHookContext: 'LifecycleHookContext',
16367
16397
  ownerAccount: 'OwnerAccount',
16368
16398
  ownerId: 'OwnerId',
16369
16399
  regionId: 'RegionId',
@@ -16380,6 +16410,7 @@ class RemoveInstancesRequest extends $dara.Model {
16380
16410
  decreaseDesiredCapacity: 'boolean',
16381
16411
  ignoreInvalidInstance: 'boolean',
16382
16412
  instanceIds: { 'type': 'array', 'itemType': 'string' },
16413
+ lifecycleHookContext: RemoveInstancesRequestLifecycleHookContext,
16383
16414
  ownerAccount: 'string',
16384
16415
  ownerId: 'number',
16385
16416
  regionId: 'string',
@@ -16394,6 +16425,9 @@ class RemoveInstancesRequest extends $dara.Model {
16394
16425
  if (Array.isArray(this.instanceIds)) {
16395
16426
  $dara.Model.validateArray(this.instanceIds);
16396
16427
  }
16428
+ if (this.lifecycleHookContext && typeof this.lifecycleHookContext.validate === 'function') {
16429
+ this.lifecycleHookContext.validate();
16430
+ }
16397
16431
  super.validate();
16398
16432
  }
16399
16433
  constructor(map) {
@@ -16401,6 +16435,52 @@ class RemoveInstancesRequest extends $dara.Model {
16401
16435
  }
16402
16436
  }
16403
16437
  exports.RemoveInstancesRequest = RemoveInstancesRequest;
16438
+ class RemoveInstancesShrinkRequest extends $dara.Model {
16439
+ static names() {
16440
+ return {
16441
+ clientToken: 'ClientToken',
16442
+ decreaseDesiredCapacity: 'DecreaseDesiredCapacity',
16443
+ ignoreInvalidInstance: 'IgnoreInvalidInstance',
16444
+ instanceIds: 'InstanceIds',
16445
+ lifecycleHookContextShrink: 'LifecycleHookContext',
16446
+ ownerAccount: 'OwnerAccount',
16447
+ ownerId: 'OwnerId',
16448
+ regionId: 'RegionId',
16449
+ removePolicy: 'RemovePolicy',
16450
+ resourceOwnerAccount: 'ResourceOwnerAccount',
16451
+ resourceOwnerId: 'ResourceOwnerId',
16452
+ scalingGroupId: 'ScalingGroupId',
16453
+ stopInstanceTimeout: 'StopInstanceTimeout',
16454
+ };
16455
+ }
16456
+ static types() {
16457
+ return {
16458
+ clientToken: 'string',
16459
+ decreaseDesiredCapacity: 'boolean',
16460
+ ignoreInvalidInstance: 'boolean',
16461
+ instanceIds: { 'type': 'array', 'itemType': 'string' },
16462
+ lifecycleHookContextShrink: 'string',
16463
+ ownerAccount: 'string',
16464
+ ownerId: 'number',
16465
+ regionId: 'string',
16466
+ removePolicy: 'string',
16467
+ resourceOwnerAccount: 'string',
16468
+ resourceOwnerId: 'number',
16469
+ scalingGroupId: 'string',
16470
+ stopInstanceTimeout: 'number',
16471
+ };
16472
+ }
16473
+ validate() {
16474
+ if (Array.isArray(this.instanceIds)) {
16475
+ $dara.Model.validateArray(this.instanceIds);
16476
+ }
16477
+ super.validate();
16478
+ }
16479
+ constructor(map) {
16480
+ super(map);
16481
+ }
16482
+ }
16483
+ exports.RemoveInstancesShrinkRequest = RemoveInstancesShrinkRequest;
16404
16484
  class RemoveInstancesResponseBody extends $dara.Model {
16405
16485
  static names() {
16406
16486
  return {
@@ -17708,12 +17788,7 @@ class Client extends openapi_core_1.default {
17708
17788
  reqBodyType: "formData",
17709
17789
  bodyType: "json",
17710
17790
  });
17711
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
17712
- return $dara.cast(await this.callApi(params, req, runtime), new ApplyEciScalingConfigurationResponse({}));
17713
- }
17714
- else {
17715
- return $dara.cast(await this.execute(params, req, runtime), new ApplyEciScalingConfigurationResponse({}));
17716
- }
17791
+ return $dara.cast(await this.callApi(params, req, runtime), new ApplyEciScalingConfigurationResponse({}));
17717
17792
  }
17718
17793
  /**
17719
17794
  * Applies a scaling configuration of the Elastic Container Instance type. If you want to create and manage scaling configurations of the Elastic Container Instance type by using a configuration file, you can call the ApplyEciScalingConfiguration operation.
@@ -17797,12 +17872,7 @@ class Client extends openapi_core_1.default {
17797
17872
  reqBodyType: "formData",
17798
17873
  bodyType: "json",
17799
17874
  });
17800
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
17801
- return $dara.cast(await this.callApi(params, req, runtime), new ApplyScalingGroupResponse({}));
17802
- }
17803
- else {
17804
- return $dara.cast(await this.execute(params, req, runtime), new ApplyScalingGroupResponse({}));
17805
- }
17875
+ return $dara.cast(await this.callApi(params, req, runtime), new ApplyScalingGroupResponse({}));
17806
17876
  }
17807
17877
  /**
17808
17878
  * Creates and manages scaling groups by using configuration files. You can call the ApplyScalingGroup operation to create and manage scaling groups by using configuration files with efficiency.
@@ -17898,12 +17968,7 @@ class Client extends openapi_core_1.default {
17898
17968
  reqBodyType: "formData",
17899
17969
  bodyType: "json",
17900
17970
  });
17901
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
17902
- return $dara.cast(await this.callApi(params, req, runtime), new AttachAlbServerGroupsResponse({}));
17903
- }
17904
- else {
17905
- return $dara.cast(await this.execute(params, req, runtime), new AttachAlbServerGroupsResponse({}));
17906
- }
17971
+ return $dara.cast(await this.callApi(params, req, runtime), new AttachAlbServerGroupsResponse({}));
17907
17972
  }
17908
17973
  /**
17909
17974
  * Attaches Application Load Balancer (ALB) server groups to a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the AttachAlbServerGroups operation. By attaching ALB server groups to your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
@@ -17980,12 +18045,7 @@ class Client extends openapi_core_1.default {
17980
18045
  reqBodyType: "formData",
17981
18046
  bodyType: "json",
17982
18047
  });
17983
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
17984
- return $dara.cast(await this.callApi(params, req, runtime), new AttachDBInstancesResponse({}));
17985
- }
17986
- else {
17987
- return $dara.cast(await this.execute(params, req, runtime), new AttachDBInstancesResponse({}));
17988
- }
18048
+ return $dara.cast(await this.callApi(params, req, runtime), new AttachDBInstancesResponse({}));
17989
18049
  }
17990
18050
  /**
17991
18051
  * Associates one or more ApsaraDB RDS instances with a scaling group.
@@ -18082,12 +18142,7 @@ class Client extends openapi_core_1.default {
18082
18142
  reqBodyType: "formData",
18083
18143
  bodyType: "json",
18084
18144
  });
18085
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18086
- return $dara.cast(await this.callApi(params, req, runtime), new AttachInstancesResponse({}));
18087
- }
18088
- else {
18089
- return $dara.cast(await this.execute(params, req, runtime), new AttachInstancesResponse({}));
18090
- }
18145
+ return $dara.cast(await this.callApi(params, req, runtime), new AttachInstancesResponse({}));
18091
18146
  }
18092
18147
  /**
18093
18148
  * Adds instances to a scaling group to provide services or restarts Elastic Compute Service (ECS) instances stopped in Economical Mode to provide services. You can call the AttachInstances operation to add ECS instances, elastic container instances, or third-party instances managed by Alibaba Cloud to your scaling group to provide services. You can also call this operation to restart ECS instances stopped in Economical Mode in your scaling group to provide services.
@@ -18172,12 +18227,7 @@ class Client extends openapi_core_1.default {
18172
18227
  reqBodyType: "formData",
18173
18228
  bodyType: "json",
18174
18229
  });
18175
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18176
- return $dara.cast(await this.callApi(params, req, runtime), new AttachLoadBalancersResponse({}));
18177
- }
18178
- else {
18179
- return $dara.cast(await this.execute(params, req, runtime), new AttachLoadBalancersResponse({}));
18180
- }
18230
+ return $dara.cast(await this.callApi(params, req, runtime), new AttachLoadBalancersResponse({}));
18181
18231
  }
18182
18232
  /**
18183
18233
  * Attaches load balancers to a scaling group. Auto Scaling supports the attachment of load balancers to scaling groups. Load balancers help distribute the access traffic to the instances in scaling groups, which effectively improves the service performance of the scaling groups. You can call the AttachLoadBalancers operation to attach one or more load balancers to your scaling group.
@@ -18243,12 +18293,7 @@ class Client extends openapi_core_1.default {
18243
18293
  reqBodyType: "formData",
18244
18294
  bodyType: "json",
18245
18295
  });
18246
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18247
- return $dara.cast(await this.callApi(params, req, runtime), new AttachServerGroupsResponse({}));
18248
- }
18249
- else {
18250
- return $dara.cast(await this.execute(params, req, runtime), new AttachServerGroupsResponse({}));
18251
- }
18296
+ return $dara.cast(await this.callApi(params, req, runtime), new AttachServerGroupsResponse({}));
18252
18297
  }
18253
18298
  /**
18254
18299
  * Attaches server groups to a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the AttachServerGroups operation. By attaching Application Load Balancer (ALB) or Network Load Balancer (NLB) server groups to your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
@@ -18322,12 +18367,7 @@ class Client extends openapi_core_1.default {
18322
18367
  reqBodyType: "formData",
18323
18368
  bodyType: "json",
18324
18369
  });
18325
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18326
- return $dara.cast(await this.callApi(params, req, runtime), new AttachVServerGroupsResponse({}));
18327
- }
18328
- else {
18329
- return $dara.cast(await this.execute(params, req, runtime), new AttachVServerGroupsResponse({}));
18330
- }
18370
+ return $dara.cast(await this.callApi(params, req, runtime), new AttachVServerGroupsResponse({}));
18331
18371
  }
18332
18372
  /**
18333
18373
  * Attaches vServer groups to a scaling group. After a Classic Load Balancer (CLB) instance is attached to your scaling group, the instances in the scaling group are automatically added as backend servers of the CLB instance. These servers then handle requests forwarded by the CLB instance, streamlining the processing of incoming traffic. To direct varying access requests to separate backend servers or to distribute requests based on domain names or URLs, you can call the AttachVServerGroups operation. This operation enables the addition of multiple vServer groups, allowing for efficient management of various backend server configurations tailored to your routing preferences.
@@ -18398,12 +18438,7 @@ class Client extends openapi_core_1.default {
18398
18438
  reqBodyType: "formData",
18399
18439
  bodyType: "json",
18400
18440
  });
18401
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18402
- return $dara.cast(await this.callApi(params, req, runtime), new CancelInstanceRefreshResponse({}));
18403
- }
18404
- else {
18405
- return $dara.cast(await this.execute(params, req, runtime), new CancelInstanceRefreshResponse({}));
18406
- }
18441
+ return $dara.cast(await this.callApi(params, req, runtime), new CancelInstanceRefreshResponse({}));
18407
18442
  }
18408
18443
  /**
18409
18444
  * Cancels an instance refresh task. Take note that instances whose configurations were already updated by running an instance refresh task remain intact even after you cancel the task.
@@ -18464,12 +18499,7 @@ class Client extends openapi_core_1.default {
18464
18499
  reqBodyType: "formData",
18465
18500
  bodyType: "json",
18466
18501
  });
18467
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18468
- return $dara.cast(await this.callApi(params, req, runtime), new ChangeResourceGroupResponse({}));
18469
- }
18470
- else {
18471
- return $dara.cast(await this.execute(params, req, runtime), new ChangeResourceGroupResponse({}));
18472
- }
18502
+ return $dara.cast(await this.callApi(params, req, runtime), new ChangeResourceGroupResponse({}));
18473
18503
  }
18474
18504
  /**
18475
18505
  * Changes a resource group. Resource groups are a means to categorize and manage cloud resources, such as scaling groups, based on specific objectives, permissions, or ownership. In large, multifaceted organizations that manage numerous projects and users, this feature adopts a tiered management approach, simplifying management tasks and improving the effectiveness and oversight of resource allocation. You can call the ChangeResourceGroup operation to move your scaling groups from one resource group to another resource group, which facilitates streamlined monitoring and management within the context of the new group. This operation eliminates the need for repetitive and time-consuming cross-service resource queries, thereby enhancing operational efficiency.
@@ -18536,12 +18566,7 @@ class Client extends openapi_core_1.default {
18536
18566
  reqBodyType: "formData",
18537
18567
  bodyType: "json",
18538
18568
  });
18539
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18540
- return $dara.cast(await this.callApi(params, req, runtime), new CompleteLifecycleActionResponse({}));
18541
- }
18542
- else {
18543
- return $dara.cast(await this.execute(params, req, runtime), new CompleteLifecycleActionResponse({}));
18544
- }
18569
+ return $dara.cast(await this.callApi(params, req, runtime), new CompleteLifecycleActionResponse({}));
18545
18570
  }
18546
18571
  /**
18547
18572
  * Ends the timeout period of a lifecycle hook ahead of schedule. If you have created a lifecycle hook for your scaling group, you can call the CompleteLifecycleAction operation to end the timeout period of the lifecycle hook ahead of schedule based on your business requirements.
@@ -18644,12 +18669,7 @@ class Client extends openapi_core_1.default {
18644
18669
  reqBodyType: "formData",
18645
18670
  bodyType: "json",
18646
18671
  });
18647
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18648
- return $dara.cast(await this.callApi(params, req, runtime), new CreateAlarmResponse({}));
18649
- }
18650
- else {
18651
- return $dara.cast(await this.execute(params, req, runtime), new CreateAlarmResponse({}));
18652
- }
18672
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateAlarmResponse({}));
18653
18673
  }
18654
18674
  /**
18655
18675
  * Creates event-triggered tasks. If your business encounters unexpected traffic surges or has no specific patterns, you can call the CreateAlarm operation to create an event-triggered task and associate a CloudMonitor metric with the task. This allows you to dynamically adjust the number of Elastic Compute Service (ECS) instances or elastic container instances in your scaling group and keep updated on the real-time metric data, which facilitates cloud resource management and maintenance.
@@ -18692,12 +18712,7 @@ class Client extends openapi_core_1.default {
18692
18712
  reqBodyType: "formData",
18693
18713
  bodyType: "json",
18694
18714
  });
18695
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18696
- return $dara.cast(await this.callApi(params, req, runtime), new CreateDiagnoseReportResponse({}));
18697
- }
18698
- else {
18699
- return $dara.cast(await this.execute(params, req, runtime), new CreateDiagnoseReportResponse({}));
18700
- }
18715
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateDiagnoseReportResponse({}));
18701
18716
  }
18702
18717
  /**
18703
18718
  * Creates a diagnostic report.
@@ -18887,12 +18902,7 @@ class Client extends openapi_core_1.default {
18887
18902
  reqBodyType: "formData",
18888
18903
  bodyType: "json",
18889
18904
  });
18890
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18891
- return $dara.cast(await this.callApi(params, req, runtime), new CreateEciScalingConfigurationResponse({}));
18892
- }
18893
- else {
18894
- return $dara.cast(await this.execute(params, req, runtime), new CreateEciScalingConfigurationResponse({}));
18895
- }
18905
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateEciScalingConfigurationResponse({}));
18896
18906
  }
18897
18907
  /**
18898
18908
  * Creates a scaling configuration of the Elastic Container Instance type. Auto Scaling uses the scaling configuration as a template to create elastic container instances to meet your business requirements during scale-out events.
@@ -18968,12 +18978,7 @@ class Client extends openapi_core_1.default {
18968
18978
  reqBodyType: "formData",
18969
18979
  bodyType: "json",
18970
18980
  });
18971
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18972
- return $dara.cast(await this.callApi(params, req, runtime), new CreateLifecycleHookResponse({}));
18973
- }
18974
- else {
18975
- return $dara.cast(await this.execute(params, req, runtime), new CreateLifecycleHookResponse({}));
18976
- }
18981
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateLifecycleHookResponse({}));
18977
18982
  }
18978
18983
  /**
18979
18984
  * Creates one or more lifecycle hooks in a scaling group. A lifecycle hook allows you to execute custom actions like sending notifications or automating script execution at critical stages (such as instance startup and termination) in the lifecycle of an instance. Implementing the lifecycle hook feature allows for finer control and management of instances. For example, you can verify configurations, set up custom tasks, or back up data on your instances when lifecycle hooks take effect, thus enhancing the flexibility and reliability of application deployment.
@@ -19041,12 +19046,7 @@ class Client extends openapi_core_1.default {
19041
19046
  reqBodyType: "formData",
19042
19047
  bodyType: "json",
19043
19048
  });
19044
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19045
- return $dara.cast(await this.callApi(params, req, runtime), new CreateNotificationConfigurationResponse({}));
19046
- }
19047
- else {
19048
- return $dara.cast(await this.execute(params, req, runtime), new CreateNotificationConfigurationResponse({}));
19049
- }
19049
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateNotificationConfigurationResponse({}));
19050
19050
  }
19051
19051
  /**
19052
19052
  * Creates a notification rule. You can call the CreateNotificationConfiguration operation to create a notification rule to stay informed about scaling events or resource changes. This helps you learn about the dynamic status of your scaling group in real time and further automates the management of scaling events.
@@ -19284,12 +19284,7 @@ class Client extends openapi_core_1.default {
19284
19284
  reqBodyType: "formData",
19285
19285
  bodyType: "json",
19286
19286
  });
19287
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19288
- return $dara.cast(await this.callApi(params, req, runtime), new CreateScalingConfigurationResponse({}));
19289
- }
19290
- else {
19291
- return $dara.cast(await this.execute(params, req, runtime), new CreateScalingConfigurationResponse({}));
19292
- }
19287
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateScalingConfigurationResponse({}));
19293
19288
  }
19294
19289
  /**
19295
19290
  * Creates scaling configurations. When you call the CreateScalingConfiguration operation, you can specify the scaling group ID, instance type, and image to create a scaling configuration of the Elastic Compute Service (ECS) type.
@@ -19499,12 +19494,7 @@ class Client extends openapi_core_1.default {
19499
19494
  reqBodyType: "formData",
19500
19495
  bodyType: "json",
19501
19496
  });
19502
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19503
- return $dara.cast(await this.callApi(params, req, runtime), new CreateScalingGroupResponse({}));
19504
- }
19505
- else {
19506
- return $dara.cast(await this.execute(params, req, runtime), new CreateScalingGroupResponse({}));
19507
- }
19497
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateScalingGroupResponse({}));
19508
19498
  }
19509
19499
  /**
19510
19500
  * Creates a scaling group. You can call the CreateScalingGroup operation to automate the adjustment of computing power of a specific type based on your business requirements and scaling polices.
@@ -19659,12 +19649,7 @@ class Client extends openapi_core_1.default {
19659
19649
  reqBodyType: "formData",
19660
19650
  bodyType: "json",
19661
19651
  });
19662
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19663
- return $dara.cast(await this.callApi(params, req, runtime), new CreateScalingRuleResponse({}));
19664
- }
19665
- else {
19666
- return $dara.cast(await this.execute(params, req, runtime), new CreateScalingRuleResponse({}));
19667
- }
19652
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateScalingRuleResponse({}));
19668
19653
  }
19669
19654
  /**
19670
19655
  * Creates a scaling rule. The purpose of a scaling rule varies based on its type. You can use a scaling rule to trigger a scaling activity or adjust the boundary values for a scaling group. You can call the CreateScalingRule operation to create different types of scaling rules based on your business requirements. For example, if your business requires only automatic adjustment of the boundary values for your scaling group, you can call this operation to create a predictive scaling rule.
@@ -19776,12 +19761,7 @@ class Client extends openapi_core_1.default {
19776
19761
  reqBodyType: "formData",
19777
19762
  bodyType: "json",
19778
19763
  });
19779
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19780
- return $dara.cast(await this.callApi(params, req, runtime), new CreateScheduledTaskResponse({}));
19781
- }
19782
- else {
19783
- return $dara.cast(await this.execute(params, req, runtime), new CreateScheduledTaskResponse({}));
19784
- }
19764
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateScheduledTaskResponse({}));
19785
19765
  }
19786
19766
  /**
19787
19767
  * Creates a scheduled task. A scheduled task is a type of scaling task that enables automatic execution of a specific scaling rule at a specified point in time. You can call the CreateScheduledTask operation to create a scheduled task to implement automatic scaling of computing resources. This ensures your business continuity and minimizes resource costs.
@@ -19843,12 +19823,7 @@ class Client extends openapi_core_1.default {
19843
19823
  reqBodyType: "formData",
19844
19824
  bodyType: "json",
19845
19825
  });
19846
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19847
- return $dara.cast(await this.callApi(params, req, runtime), new DeactivateScalingConfigurationResponse({}));
19848
- }
19849
- else {
19850
- return $dara.cast(await this.execute(params, req, runtime), new DeactivateScalingConfigurationResponse({}));
19851
- }
19826
+ return $dara.cast(await this.callApi(params, req, runtime), new DeactivateScalingConfigurationResponse({}));
19852
19827
  }
19853
19828
  /**
19854
19829
  * Deactivates a scaling configuration.
@@ -19899,12 +19874,7 @@ class Client extends openapi_core_1.default {
19899
19874
  reqBodyType: "formData",
19900
19875
  bodyType: "json",
19901
19876
  });
19902
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19903
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteAlarmResponse({}));
19904
- }
19905
- else {
19906
- return $dara.cast(await this.execute(params, req, runtime), new DeleteAlarmResponse({}));
19907
- }
19877
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteAlarmResponse({}));
19908
19878
  }
19909
19879
  /**
19910
19880
  * Deletes an event-triggered task. If your business pattern is unpredictable or prone to unforeseen traffic spikes, you can create event-triggered tasks by associating CloudMonitor metrics to effectively monitor fluctuations in your business workload. Upon detecting that the criteria for alerts, as specified in event-triggered tasks, are fulfilled, Auto Scaling promptly issues alerts and executes the scaling rules predefined within those tasks. This process occurs within the predefined effective time windows of the tasks, thereby facilitating the automatic increase or decrease of Elastic Compute Service (ECS) instances or elastic container instances within your scaling groups. Ultimately, this mechanism ensures the dynamic optimization of resources based on real-time workload demands. If you no longer need an event-triggered task, you can call the DeleteAlarm operation to delete it.
@@ -19960,12 +19930,7 @@ class Client extends openapi_core_1.default {
19960
19930
  reqBodyType: "formData",
19961
19931
  bodyType: "json",
19962
19932
  });
19963
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19964
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteEciScalingConfigurationResponse({}));
19965
- }
19966
- else {
19967
- return $dara.cast(await this.execute(params, req, runtime), new DeleteEciScalingConfigurationResponse({}));
19968
- }
19933
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteEciScalingConfigurationResponse({}));
19969
19934
  }
19970
19935
  /**
19971
19936
  * Deletes a scaling configuration of the Elastic Container Instance type. If the scaling configuration of a scaling group is in the Inactive state and the scaling group contains no elastic container instances created from the scaling configuration, you can call the DeleteEciScalingConfiguration operation to delete the scaling configuration to free up the scaling configuration quota.
@@ -20032,12 +19997,7 @@ class Client extends openapi_core_1.default {
20032
19997
  reqBodyType: "formData",
20033
19998
  bodyType: "json",
20034
19999
  });
20035
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20036
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteLifecycleHookResponse({}));
20037
- }
20038
- else {
20039
- return $dara.cast(await this.execute(params, req, runtime), new DeleteLifecycleHookResponse({}));
20040
- }
20000
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteLifecycleHookResponse({}));
20041
20001
  }
20042
20002
  /**
20043
20003
  * Deletes a lifecycle hook. If you no longer require a lifecycle hook, you can call the DeleteLifecycleHook operation to delete it, which frees up the lifecycle hook quota.
@@ -20093,12 +20053,7 @@ class Client extends openapi_core_1.default {
20093
20053
  reqBodyType: "formData",
20094
20054
  bodyType: "json",
20095
20055
  });
20096
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20097
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteNotificationConfigurationResponse({}));
20098
- }
20099
- else {
20100
- return $dara.cast(await this.execute(params, req, runtime), new DeleteNotificationConfigurationResponse({}));
20101
- }
20056
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteNotificationConfigurationResponse({}));
20102
20057
  }
20103
20058
  /**
20104
20059
  * Deletes event notification rules. The event notification feature facilitates efficient issue identification and event management by automatically forwarding notifications from Auto Scaling to designated endpoints such as CloudMonitor or Message Service (MNS) topics and queues. If you no longer require an event notification rule, you can call the DeleteNotificationConfiguration operation to delete it.
@@ -20151,12 +20106,7 @@ class Client extends openapi_core_1.default {
20151
20106
  reqBodyType: "formData",
20152
20107
  bodyType: "json",
20153
20108
  });
20154
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20155
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteScalingConfigurationResponse({}));
20156
- }
20157
- else {
20158
- return $dara.cast(await this.execute(params, req, runtime), new DeleteScalingConfigurationResponse({}));
20159
- }
20109
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteScalingConfigurationResponse({}));
20160
20110
  }
20161
20111
  /**
20162
20112
  * Deletes a scaling configuration that is used to create Elastic Compute Service (ECS) instances.
@@ -20227,12 +20177,7 @@ class Client extends openapi_core_1.default {
20227
20177
  reqBodyType: "formData",
20228
20178
  bodyType: "json",
20229
20179
  });
20230
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20231
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteScalingGroupResponse({}));
20232
- }
20233
- else {
20234
- return $dara.cast(await this.execute(params, req, runtime), new DeleteScalingGroupResponse({}));
20235
- }
20180
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteScalingGroupResponse({}));
20236
20181
  }
20237
20182
  /**
20238
20183
  * Deletes a scaling group. If you want to enable policy-based automatic addition or removal of instances of a specific type to meet evolving business requirements, you can create scaling groups to manage your computing power with ease. The computing power refers to the instances that provide the computing capability. If you no longer require a scaling group, you can call the DeleteScalingGroup operation to delete it to free up the scaling group quota.
@@ -20295,12 +20240,7 @@ class Client extends openapi_core_1.default {
20295
20240
  reqBodyType: "formData",
20296
20241
  bodyType: "json",
20297
20242
  });
20298
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20299
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteScalingRuleResponse({}));
20300
- }
20301
- else {
20302
- return $dara.cast(await this.execute(params, req, runtime), new DeleteScalingRuleResponse({}));
20303
- }
20243
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteScalingRuleResponse({}));
20304
20244
  }
20305
20245
  /**
20306
20246
  * Deletes a scaling rule.
@@ -20351,12 +20291,7 @@ class Client extends openapi_core_1.default {
20351
20291
  reqBodyType: "formData",
20352
20292
  bodyType: "json",
20353
20293
  });
20354
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20355
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteScheduledTaskResponse({}));
20356
- }
20357
- else {
20358
- return $dara.cast(await this.execute(params, req, runtime), new DeleteScheduledTaskResponse({}));
20359
- }
20294
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteScheduledTaskResponse({}));
20360
20295
  }
20361
20296
  /**
20362
20297
  * Deletes scheduled tasks. For workloads with predictable patterns, you can create scheduled tasks to align with your business requirements and optimize resource utilization for cost savings. These tasks automatically ensure that sufficient computing resources are provisioned in anticipation of peak hours and efficiently release unused resources during off-peak hours, thereby streamlining operational efficiency and reducing expenses. If you no longer require a scheduled task, you can call the DeleteScheduledTask operation to delete it.
@@ -20425,12 +20360,7 @@ class Client extends openapi_core_1.default {
20425
20360
  reqBodyType: "formData",
20426
20361
  bodyType: "json",
20427
20362
  });
20428
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20429
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeAlarmsResponse({}));
20430
- }
20431
- else {
20432
- return $dara.cast(await this.execute(params, req, runtime), new DescribeAlarmsResponse({}));
20433
- }
20363
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeAlarmsResponse({}));
20434
20364
  }
20435
20365
  /**
20436
20366
  * Queries event-triggered tasks. You can call the DescribeAlarms operation to learn about the configurations of event-triggered tasks and keep updated on monitoring data changes. This helps you troubleshoot system resource issues at the earliest opportunity and ensures system stability and reliability.
@@ -20478,12 +20408,7 @@ class Client extends openapi_core_1.default {
20478
20408
  reqBodyType: "formData",
20479
20409
  bodyType: "json",
20480
20410
  });
20481
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20482
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeAlertConfigurationResponse({}));
20483
- }
20484
- else {
20485
- return $dara.cast(await this.execute(params, req, runtime), new DescribeAlertConfigurationResponse({}));
20486
- }
20411
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeAlertConfigurationResponse({}));
20487
20412
  }
20488
20413
  /**
20489
20414
  * Queries the status of scaling activities that trigger text message, internal message, or email-based notifications. When you call the DescribeAlertConfiguration operation, you must specify the scaling group ID and region ID to query the status of the desired scaling activities. A scaling activity can be in one of the following states: Successful, Failed, and Rejected.
@@ -20519,12 +20444,7 @@ class Client extends openapi_core_1.default {
20519
20444
  reqBodyType: "formData",
20520
20445
  bodyType: "json",
20521
20446
  });
20522
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20523
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeDiagnoseReportsResponse({}));
20524
- }
20525
- else {
20526
- return $dara.cast(await this.execute(params, req, runtime), new DescribeDiagnoseReportsResponse({}));
20527
- }
20447
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeDiagnoseReportsResponse({}));
20528
20448
  }
20529
20449
  /**
20530
20450
  * Queries the diagnostic reports.
@@ -20572,12 +20492,7 @@ class Client extends openapi_core_1.default {
20572
20492
  reqBodyType: "formData",
20573
20493
  bodyType: "json",
20574
20494
  });
20575
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20576
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationDetailResponse({}));
20577
- }
20578
- else {
20579
- return $dara.cast(await this.execute(params, req, runtime), new DescribeEciScalingConfigurationDetailResponse({}));
20580
- }
20495
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationDetailResponse({}));
20581
20496
  }
20582
20497
  /**
20583
20498
  * Queries the details of a scaling configuration. You can query a scaling configuration by its ID to learn about its details such as the temporary storage size, number of IPv6 addresses, and bandwidth of the elastic IP address (EIP). The scaling configuration details can be obtained as a YAML file.
@@ -20643,12 +20558,7 @@ class Client extends openapi_core_1.default {
20643
20558
  reqBodyType: "formData",
20644
20559
  bodyType: "json",
20645
20560
  });
20646
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20647
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationsResponse({}));
20648
- }
20649
- else {
20650
- return $dara.cast(await this.execute(params, req, runtime), new DescribeEciScalingConfigurationsResponse({}));
20651
- }
20561
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationsResponse({}));
20652
20562
  }
20653
20563
  /**
20654
20564
  * Queries scaling configurations of the Elastic Container Instance type. When you call the DescribeEciScalingConfigurations operation, you can specify ScalingGroupId, ScalingConfigurationIds, or ScalingConfigurationNames to query details about the desired scaling configurations, such as the instance bidding policy, instance type, image pulling policy, and load balancing weight of each elastic container instance. This can help you select a suitable template for creating elastic container instances or reference existing scaling configurations before you modify the automatic scaling policy for elastic container instances.
@@ -20684,12 +20594,7 @@ class Client extends openapi_core_1.default {
20684
20594
  reqBodyType: "formData",
20685
20595
  bodyType: "json",
20686
20596
  });
20687
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20688
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeElasticStrengthResponse({}));
20689
- }
20690
- else {
20691
- return $dara.cast(await this.execute(params, req, runtime), new DescribeElasticStrengthResponse({}));
20692
- }
20597
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeElasticStrengthResponse({}));
20693
20598
  }
20694
20599
  /**
20695
20600
  * Queries the scaling strength of a scaling configuration. The success rate of scale-out events depends on the scaling strength of the scaling configuration that you want to use. By checking the scaling strength of a scaling configuration, you can enable Auto Scaling to measure its performance and improve specific configurations.
@@ -20752,12 +20657,7 @@ class Client extends openapi_core_1.default {
20752
20657
  reqBodyType: "formData",
20753
20658
  bodyType: "json",
20754
20659
  });
20755
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20756
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeInstanceRefreshesResponse({}));
20757
- }
20758
- else {
20759
- return $dara.cast(await this.execute(params, req, runtime), new DescribeInstanceRefreshesResponse({}));
20760
- }
20660
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeInstanceRefreshesResponse({}));
20761
20661
  }
20762
20662
  /**
20763
20663
  * Queries instance refresh tasks. If you want to view the basic information and execution progress of an instance refresh task, you can call the DescribeInstanceRefreshes operation.
@@ -20821,12 +20721,7 @@ class Client extends openapi_core_1.default {
20821
20721
  reqBodyType: "formData",
20822
20722
  bodyType: "json",
20823
20723
  });
20824
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20825
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeLifecycleActionsResponse({}));
20826
- }
20827
- else {
20828
- return $dara.cast(await this.execute(params, req, runtime), new DescribeLifecycleActionsResponse({}));
20829
- }
20724
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeLifecycleActionsResponse({}));
20830
20725
  }
20831
20726
  /**
20832
20727
  * Queries lifecycle hook actions. When you call the DescribeLifecycleActions operation, you can specify parameters such as ScalingActivityId, NextToken, and MaxResults to query the details such as the action status and ID of a lifecycle hook. You can also call this operation to query the IDs of Elastic Compute Service (ECS) instances on which the lifecycle hook takes effect.
@@ -20902,12 +20797,7 @@ class Client extends openapi_core_1.default {
20902
20797
  reqBodyType: "formData",
20903
20798
  bodyType: "json",
20904
20799
  });
20905
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20906
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeLifecycleHooksResponse({}));
20907
- }
20908
- else {
20909
- return $dara.cast(await this.execute(params, req, runtime), new DescribeLifecycleHooksResponse({}));
20910
- }
20800
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeLifecycleHooksResponse({}));
20911
20801
  }
20912
20802
  /**
20913
20803
  * Queries lifecycle hooks. When you call this operation, you can specify the lifecycle hook ID or scaling group ID to query the details of the desired lifecycle hook, such as the default action after the lifecycle hook times out, scaling activity that corresponds to the lifecycle hook, Alibaba Cloud Resource Name (ARN) of the notification recipient, and effective period of the lifecycle hook.
@@ -20955,12 +20845,7 @@ class Client extends openapi_core_1.default {
20955
20845
  reqBodyType: "formData",
20956
20846
  bodyType: "json",
20957
20847
  });
20958
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20959
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeLimitationResponse({}));
20960
- }
20961
- else {
20962
- return $dara.cast(await this.execute(params, req, runtime), new DescribeLimitationResponse({}));
20963
- }
20848
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeLimitationResponse({}));
20964
20849
  }
20965
20850
  /**
20966
20851
  * Queries resource quotas. For example, you can call the DescribeLimitation operation to query the maximum numbers of scheduled tasks that you can create in a scaling group, load balancers that you can attach to a scaling group, instances that you can add to a scaling group, and scaling configurations that you can create in a scaling group.
@@ -21008,12 +20893,7 @@ class Client extends openapi_core_1.default {
21008
20893
  reqBodyType: "formData",
21009
20894
  bodyType: "json",
21010
20895
  });
21011
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21012
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeNotificationConfigurationsResponse({}));
21013
- }
21014
- else {
21015
- return $dara.cast(await this.execute(params, req, runtime), new DescribeNotificationConfigurationsResponse({}));
21016
- }
20896
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeNotificationConfigurationsResponse({}));
21017
20897
  }
21018
20898
  /**
21019
20899
  * Queries notification settings. You can call the DescribeNotificationConfiguration operation to query notification settings of scaling events or resource changes, including the notification types and methods.
@@ -21055,12 +20935,7 @@ class Client extends openapi_core_1.default {
21055
20935
  reqBodyType: "formData",
21056
20936
  bodyType: "json",
21057
20937
  });
21058
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21059
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeNotificationTypesResponse({}));
21060
- }
21061
- else {
21062
- return $dara.cast(await this.execute(params, req, runtime), new DescribeNotificationTypesResponse({}));
21063
- }
20938
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeNotificationTypesResponse({}));
21064
20939
  }
21065
20940
  /**
21066
20941
  * Queries notification types. You can call the DescribeNotificationTypes operation to query the types of notifications on scaling events or resource changes occurred in your scaling groups. Notifications are triggered in scenarios such as successful scale-out events, successful scale-in events, expiration of scheduled tasks, and partially successful scale-out events.
@@ -21096,12 +20971,7 @@ class Client extends openapi_core_1.default {
21096
20971
  reqBodyType: "formData",
21097
20972
  bodyType: "json",
21098
20973
  });
21099
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21100
- return $dara.cast(await this.callApi(params, req, runtime), new DescribePatternTypesResponse({}));
21101
- }
21102
- else {
21103
- return $dara.cast(await this.execute(params, req, runtime), new DescribePatternTypesResponse({}));
21104
- }
20974
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribePatternTypesResponse({}));
21105
20975
  }
21106
20976
  /**
21107
20977
  * Queries instance types. When you call the DescribePatternTypes operation, you can specify attributes such as the vSwitch ID, number of vCPUs, memory size, instance family, and maximum acceptable price to filer instance types that meet your business requirements.
@@ -21149,12 +21019,7 @@ class Client extends openapi_core_1.default {
21149
21019
  reqBodyType: "formData",
21150
21020
  bodyType: "json",
21151
21021
  });
21152
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21153
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
21154
- }
21155
- else {
21156
- return $dara.cast(await this.execute(params, req, runtime), new DescribeRegionsResponse({}));
21157
- }
21022
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
21158
21023
  }
21159
21024
  /**
21160
21025
  * Queries regions. Before you activate Auto Scaling, you can call the DescribeRegions operation to query the regions where Auto Scaling is officially launched. This preliminary step facilitates the strategic selection of both the optimal region and availability zones for activating Auto Scaling, thereby guaranteeing the finest access speeds and operational efficiency within your chosen geographical area.
@@ -21228,12 +21093,7 @@ class Client extends openapi_core_1.default {
21228
21093
  reqBodyType: "formData",
21229
21094
  bodyType: "json",
21230
21095
  });
21231
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21232
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeScalingActivitiesResponse({}));
21233
- }
21234
- else {
21235
- return $dara.cast(await this.execute(params, req, runtime), new DescribeScalingActivitiesResponse({}));
21236
- }
21096
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeScalingActivitiesResponse({}));
21237
21097
  }
21238
21098
  /**
21239
21099
  * Queries scaling activities. You can call the DescribeScalingActivities operation to query the results of scaling activities triggered by scheduled tasks, event-triggered tasks, or manual execution of scaling rules. For example, you can query the status and cause of a scaling activity. You can also query the total number of instances after a scaling activity is complete.
@@ -21286,12 +21146,7 @@ class Client extends openapi_core_1.default {
21286
21146
  reqBodyType: "formData",
21287
21147
  bodyType: "json",
21288
21148
  });
21289
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21290
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeScalingActivityDetailResponse({}));
21291
- }
21292
- else {
21293
- return $dara.cast(await this.execute(params, req, runtime), new DescribeScalingActivityDetailResponse({}));
21294
- }
21149
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeScalingActivityDetailResponse({}));
21295
21150
  }
21296
21151
  /**
21297
21152
  * Queries the details of a scaling activity. You can query a scaling activity by its ID. The scaling activity details include the scaling activity status, error code, and error message. You can efficiently troubleshoot issues and analyze service performance based on the error message.
@@ -21357,12 +21212,7 @@ class Client extends openapi_core_1.default {
21357
21212
  reqBodyType: "formData",
21358
21213
  bodyType: "json",
21359
21214
  });
21360
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21361
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeScalingConfigurationsResponse({}));
21362
- }
21363
- else {
21364
- return $dara.cast(await this.execute(params, req, runtime), new DescribeScalingConfigurationsResponse({}));
21365
- }
21215
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeScalingConfigurationsResponse({}));
21366
21216
  }
21367
21217
  /**
21368
21218
  * Queries scaling configurations.
@@ -21410,12 +21260,7 @@ class Client extends openapi_core_1.default {
21410
21260
  reqBodyType: "formData",
21411
21261
  bodyType: "json",
21412
21262
  });
21413
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21414
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeScalingGroupDetailResponse({}));
21415
- }
21416
- else {
21417
- return $dara.cast(await this.execute(params, req, runtime), new DescribeScalingGroupDetailResponse({}));
21418
- }
21263
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeScalingGroupDetailResponse({}));
21419
21264
  }
21420
21265
  /**
21421
21266
  * Queries a scaling group. You can call the DescribeScalingGroupDetail operation to query the basic information, instances, and scaling configurations of a scaling group. If you set OutputFormat to YAML for a scaling group of the Elastic Container Instance type, the output is a Kubernetes Deployment file in the YAML format.
@@ -21451,12 +21296,7 @@ class Client extends openapi_core_1.default {
21451
21296
  reqBodyType: "formData",
21452
21297
  bodyType: "json",
21453
21298
  });
21454
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21455
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeScalingGroupDiagnoseDetailsResponse({}));
21456
- }
21457
- else {
21458
- return $dara.cast(await this.execute(params, req, runtime), new DescribeScalingGroupDiagnoseDetailsResponse({}));
21459
- }
21299
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeScalingGroupDiagnoseDetailsResponse({}));
21460
21300
  }
21461
21301
  /**
21462
21302
  * Queries the latest diagnosis details for a scaling group. Diagnosis details are only returned in the presence of exceptions.
@@ -21531,12 +21371,7 @@ class Client extends openapi_core_1.default {
21531
21371
  reqBodyType: "formData",
21532
21372
  bodyType: "json",
21533
21373
  });
21534
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21535
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeScalingGroupsResponse({}));
21536
- }
21537
- else {
21538
- return $dara.cast(await this.execute(params, req, runtime), new DescribeScalingGroupsResponse({}));
21539
- }
21374
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeScalingGroupsResponse({}));
21540
21375
  }
21541
21376
  /**
21542
21377
  * Queries information about scaling groups, such as the basic information, instances, and scaling configurations.
@@ -21620,12 +21455,7 @@ class Client extends openapi_core_1.default {
21620
21455
  reqBodyType: "formData",
21621
21456
  bodyType: "json",
21622
21457
  });
21623
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21624
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeScalingInstancesResponse({}));
21625
- }
21626
- else {
21627
- return $dara.cast(await this.execute(params, req, runtime), new DescribeScalingInstancesResponse({}));
21628
- }
21458
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeScalingInstancesResponse({}));
21629
21459
  }
21630
21460
  /**
21631
21461
  * Queries instances in a scaling group. You can call the DescribeScalingInstances operation to query instance details, such as the number of preemptible instances in the Running state, the number of Elastic Compute Service (ECS) instances, the warm-up status of ECS instances, and the lifecycle status of ECS instances in a scaling group. You can specify the scaling group whose instances you want to query by scaling group ID. If you want to filter instances based on conditions, such as the instance health status, lifecycle status, or creation method, you can also call this operation.
@@ -21703,12 +21533,7 @@ class Client extends openapi_core_1.default {
21703
21533
  reqBodyType: "formData",
21704
21534
  bodyType: "json",
21705
21535
  });
21706
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21707
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeScalingRulesResponse({}));
21708
- }
21709
- else {
21710
- return $dara.cast(await this.execute(params, req, runtime), new DescribeScalingRulesResponse({}));
21711
- }
21536
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeScalingRulesResponse({}));
21712
21537
  }
21713
21538
  /**
21714
21539
  * Queries scaling rules. When you call this operation, you can specify the ID, name, or Alibaba Cloud Resource Name (ARN) of a scaling rule to query the details of the scaling rule. For example, you can query the adjustment method, instance warm-up period, and associated event-triggered tasks of the desired scaling rule.
@@ -21795,12 +21620,7 @@ class Client extends openapi_core_1.default {
21795
21620
  reqBodyType: "formData",
21796
21621
  bodyType: "json",
21797
21622
  });
21798
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21799
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeScheduledTasksResponse({}));
21800
- }
21801
- else {
21802
- return $dara.cast(await this.execute(params, req, runtime), new DescribeScheduledTasksResponse({}));
21803
- }
21623
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeScheduledTasksResponse({}));
21804
21624
  }
21805
21625
  /**
21806
21626
  * Queries scheduled tasks. A scheduled task is a predefined task that triggers the automatic execution of a scaling rule at the specified point in time. It ensures an automatic scaling of computing resources to fulfill your business demands at a minimum cost. After you create a scheduled task, you can call the DescribeScheduledTasks operation to query the details of the task, such as the execution time point and the scaling group ID. You can also call this operation to query the total number of existing scheduled tasks.
@@ -21860,12 +21680,7 @@ class Client extends openapi_core_1.default {
21860
21680
  reqBodyType: "formData",
21861
21681
  bodyType: "json",
21862
21682
  });
21863
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21864
- return $dara.cast(await this.callApi(params, req, runtime), new DetachAlbServerGroupsResponse({}));
21865
- }
21866
- else {
21867
- return $dara.cast(await this.execute(params, req, runtime), new DetachAlbServerGroupsResponse({}));
21868
- }
21683
+ return $dara.cast(await this.callApi(params, req, runtime), new DetachAlbServerGroupsResponse({}));
21869
21684
  }
21870
21685
  /**
21871
21686
  * Detaches Application Load Balancer (ALB) server groups from a scaling group. When you call the DetachAlbServerGroups operation, you can specify the scaling group ID, ALB server group ID, and port used by Elastic Compute Service (ECS) instances in the desired ALB server group to detach one or more ALB server groups from your scaling group.
@@ -21925,12 +21740,7 @@ class Client extends openapi_core_1.default {
21925
21740
  reqBodyType: "formData",
21926
21741
  bodyType: "json",
21927
21742
  });
21928
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21929
- return $dara.cast(await this.callApi(params, req, runtime), new DetachDBInstancesResponse({}));
21930
- }
21931
- else {
21932
- return $dara.cast(await this.execute(params, req, runtime), new DetachDBInstancesResponse({}));
21933
- }
21743
+ return $dara.cast(await this.callApi(params, req, runtime), new DetachDBInstancesResponse({}));
21934
21744
  }
21935
21745
  /**
21936
21746
  * Detaches one or more ApsaraDB RDS instances from a scaling group. If you want to decrease the number of ApsaraDB RDS instances attached to your scaling group, you can call the DetachDBInstance operation. This operation liberates ApsaraDB RDS instances from your scaling group, thereby significantly boosting the agility and efficiency in managing and allocating your resources.
@@ -22011,12 +21821,7 @@ class Client extends openapi_core_1.default {
22011
21821
  reqBodyType: "formData",
22012
21822
  bodyType: "json",
22013
21823
  });
22014
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22015
- return $dara.cast(await this.callApi(params, req, runtime), new DetachInstancesResponse({}));
22016
- }
22017
- else {
22018
- return $dara.cast(await this.execute(params, req, runtime), new DetachInstancesResponse({}));
22019
- }
21824
+ return $dara.cast(await this.callApi(params, req, runtime), new DetachInstancesResponse({}));
22020
21825
  }
22021
21826
  /**
22022
21827
  * Removes instances from a scaling group. If an enabled scaling group has no ongoing scaling activities, you can call the DetachInstances operation to remove one or more Elastic Compute Service (ECS) instances, elastic container instances, or Alibaba Cloud-hosted third-party instances from the scaling group.
@@ -22088,12 +21893,7 @@ class Client extends openapi_core_1.default {
22088
21893
  reqBodyType: "formData",
22089
21894
  bodyType: "json",
22090
21895
  });
22091
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22092
- return $dara.cast(await this.callApi(params, req, runtime), new DetachLoadBalancersResponse({}));
22093
- }
22094
- else {
22095
- return $dara.cast(await this.execute(params, req, runtime), new DetachLoadBalancersResponse({}));
22096
- }
21896
+ return $dara.cast(await this.callApi(params, req, runtime), new DetachLoadBalancersResponse({}));
22097
21897
  }
22098
21898
  /**
22099
21899
  * Detaches Classic Load Balancer (CLB, formerly known as Server Load Balancer or SLB) instances from a scaling group. If the current CLB instance no longer meets your business requirements, you can call the DetachLoadBalancers operation to detach it from your scaling group. When you call this operation, you can use ScalingGroupId, LoadBalancer.N, and ForceDetach to specify one or more CLB instances to detach. You can also determine whether to call this operation asynchronously and whether to remove the Elastic Compute Service (ECS) instances acting as backend servers from the backend server groups of the CLB instance. You can call this operation to detach only CLB instances from a scaling group.
@@ -22150,12 +21950,7 @@ class Client extends openapi_core_1.default {
22150
21950
  reqBodyType: "formData",
22151
21951
  bodyType: "json",
22152
21952
  });
22153
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22154
- return $dara.cast(await this.callApi(params, req, runtime), new DetachServerGroupsResponse({}));
22155
- }
22156
- else {
22157
- return $dara.cast(await this.execute(params, req, runtime), new DetachServerGroupsResponse({}));
22158
- }
21953
+ return $dara.cast(await this.callApi(params, req, runtime), new DetachServerGroupsResponse({}));
22159
21954
  }
22160
21955
  /**
22161
21956
  * Detach server groups from a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the DetachServerGroups operation. By detaching Application Load Balancer (ALB) or Network Load Balancer (NLB) server groups from your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
@@ -22220,12 +22015,7 @@ class Client extends openapi_core_1.default {
22220
22015
  reqBodyType: "formData",
22221
22016
  bodyType: "json",
22222
22017
  });
22223
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22224
- return $dara.cast(await this.callApi(params, req, runtime), new DetachVServerGroupsResponse({}));
22225
- }
22226
- else {
22227
- return $dara.cast(await this.execute(params, req, runtime), new DetachVServerGroupsResponse({}));
22228
- }
22018
+ return $dara.cast(await this.callApi(params, req, runtime), new DetachVServerGroupsResponse({}));
22229
22019
  }
22230
22020
  /**
22231
22021
  * Detaches vServer groups from a scaling group. Auto Scaling supports the attachment of load balancers to scaling groups to improve service performance. If the load balancer currently attached to your scaling group is no longer needed to distribute the access traffic to the instances in your scaling group, you can call the DetachVServerGroups operation to detach one or more vServer groups of this load balancer from the scaling group.
@@ -22284,12 +22074,7 @@ class Client extends openapi_core_1.default {
22284
22074
  reqBodyType: "formData",
22285
22075
  bodyType: "json",
22286
22076
  });
22287
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22288
- return $dara.cast(await this.callApi(params, req, runtime), new DisableAlarmResponse({}));
22289
- }
22290
- else {
22291
- return $dara.cast(await this.execute(params, req, runtime), new DisableAlarmResponse({}));
22292
- }
22077
+ return $dara.cast(await this.callApi(params, req, runtime), new DisableAlarmResponse({}));
22293
22078
  }
22294
22079
  /**
22295
22080
  * Disables an event-triggered task. If your business pattern is unpredictable or prone to unforeseen traffic spikes, you can create event-triggered tasks by associating CloudMonitor metrics to effectively monitor fluctuations in your business workload. Upon detecting that the criteria for alerts, as specified in event-triggered tasks, are fulfilled, Auto Scaling promptly issues alerts and executes the scaling rules predefined within those tasks. This process occurs within the predefined effective time windows of the tasks, thereby facilitating the automatic increase or decrease of Elastic Compute Service (ECS) instances or elastic container instances within your scaling groups. Ultimately, this mechanism ensures the dynamic optimization of resources based on real-time workload demands. If you currently do not need an event-triggered task, you can call the DisableAlarm operation to disable it.
@@ -22348,12 +22133,7 @@ class Client extends openapi_core_1.default {
22348
22133
  reqBodyType: "formData",
22349
22134
  bodyType: "json",
22350
22135
  });
22351
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22352
- return $dara.cast(await this.callApi(params, req, runtime), new DisableScalingGroupResponse({}));
22353
- }
22354
- else {
22355
- return $dara.cast(await this.execute(params, req, runtime), new DisableScalingGroupResponse({}));
22356
- }
22136
+ return $dara.cast(await this.callApi(params, req, runtime), new DisableScalingGroupResponse({}));
22357
22137
  }
22358
22138
  /**
22359
22139
  * Disables a scaling group. If you temporarily do not require a scaling group that is in the Enabled state, you can call the DisableScalingGroup operation to disable it.
@@ -22406,12 +22186,7 @@ class Client extends openapi_core_1.default {
22406
22186
  reqBodyType: "formData",
22407
22187
  bodyType: "json",
22408
22188
  });
22409
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22410
- return $dara.cast(await this.callApi(params, req, runtime), new EnableAlarmResponse({}));
22411
- }
22412
- else {
22413
- return $dara.cast(await this.execute(params, req, runtime), new EnableAlarmResponse({}));
22414
- }
22189
+ return $dara.cast(await this.callApi(params, req, runtime), new EnableAlarmResponse({}));
22415
22190
  }
22416
22191
  /**
22417
22192
  * Enables an event-triggered task. If your business pattern is unpredictable or prone to unforeseen traffic spikes, you can create event-triggered tasks by associating CloudMonitor metrics to effectively monitor fluctuations in your business workload. Upon detecting that the criteria for alerts, as specified in event-triggered tasks, are fulfilled, Auto Scaling promptly issues alerts and executes the scaling rules predefined within those tasks. This process occurs within the predefined effective time windows of the tasks, thereby facilitating the automatic increase or decrease of Elastic Compute Service (ECS) instances or elastic container instances within your scaling groups. Ultimately, this mechanism ensures the dynamic optimization of resources based on real-time workload demands. If you want to reuse an event-triggered task that is in the Disabled state, you can call the EnableAlarm operation to enable it.
@@ -22491,12 +22266,7 @@ class Client extends openapi_core_1.default {
22491
22266
  reqBodyType: "formData",
22492
22267
  bodyType: "json",
22493
22268
  });
22494
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22495
- return $dara.cast(await this.callApi(params, req, runtime), new EnableScalingGroupResponse({}));
22496
- }
22497
- else {
22498
- return $dara.cast(await this.execute(params, req, runtime), new EnableScalingGroupResponse({}));
22499
- }
22269
+ return $dara.cast(await this.callApi(params, req, runtime), new EnableScalingGroupResponse({}));
22500
22270
  }
22501
22271
  /**
22502
22272
  * Enables a scaling group. If a scaling group is in the Disabled state and contains an instance configuration source such as a launch template or a scaling configuration, you can call the EnableScalingGroup operation to enable the scaling group. This operation permits Auto Scaling to dynamically adjust the computing power (also known as the number of instances) in the scaling group based on your business requirements.
@@ -22565,12 +22335,7 @@ class Client extends openapi_core_1.default {
22565
22335
  reqBodyType: "formData",
22566
22336
  bodyType: "json",
22567
22337
  });
22568
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22569
- return $dara.cast(await this.callApi(params, req, runtime), new EnterStandbyResponse({}));
22570
- }
22571
- else {
22572
- return $dara.cast(await this.execute(params, req, runtime), new EnterStandbyResponse({}));
22573
- }
22338
+ return $dara.cast(await this.callApi(params, req, runtime), new EnterStandbyResponse({}));
22574
22339
  }
22575
22340
  /**
22576
22341
  * Puts an Elastic Compute Service (ECS) instance into the Standby state.
@@ -22650,12 +22415,7 @@ class Client extends openapi_core_1.default {
22650
22415
  reqBodyType: "formData",
22651
22416
  bodyType: "json",
22652
22417
  });
22653
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22654
- return $dara.cast(await this.callApi(params, req, runtime), new ExecuteScalingRuleResponse({}));
22655
- }
22656
- else {
22657
- return $dara.cast(await this.execute(params, req, runtime), new ExecuteScalingRuleResponse({}));
22658
- }
22418
+ return $dara.cast(await this.callApi(params, req, runtime), new ExecuteScalingRuleResponse({}));
22659
22419
  }
22660
22420
  /**
22661
22421
  * Executes a scaling rule. To adjust the number of Elastic Compute Service (ECS) instances or elastic container instances, you can manually execute a scaling rule or enable Auto Scaling to execute a scaling rule. You can call the ExecuteScalingRule operation to execute simple scaling rules or step scaling rules. Auto Scaling automatically executes target tracking scaling rules and predictive scaling rules on your behalf without requiring explicit execution calls.
@@ -22729,12 +22489,7 @@ class Client extends openapi_core_1.default {
22729
22489
  reqBodyType: "formData",
22730
22490
  bodyType: "json",
22731
22491
  });
22732
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22733
- return $dara.cast(await this.callApi(params, req, runtime), new ExitStandbyResponse({}));
22734
- }
22735
- else {
22736
- return $dara.cast(await this.execute(params, req, runtime), new ExitStandbyResponse({}));
22737
- }
22492
+ return $dara.cast(await this.callApi(params, req, runtime), new ExitStandbyResponse({}));
22738
22493
  }
22739
22494
  /**
22740
22495
  * Removes an instance from the Standby state. When a scale-in event is triggered in a scaling group, Auto Scaling does not remove Elastic Compute Service (ECS) instances or elastic container instances that are in the Standby state from the scaling group. If you want to restart the instances that are in the Standby state, you can call the ExitStandby operation to remove the instances from the Standby state and put them into the In Service state.
@@ -22795,12 +22550,7 @@ class Client extends openapi_core_1.default {
22795
22550
  reqBodyType: "formData",
22796
22551
  bodyType: "json",
22797
22552
  });
22798
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22799
- return $dara.cast(await this.callApi(params, req, runtime), new ListTagKeysResponse({}));
22800
- }
22801
- else {
22802
- return $dara.cast(await this.execute(params, req, runtime), new ListTagKeysResponse({}));
22803
- }
22553
+ return $dara.cast(await this.callApi(params, req, runtime), new ListTagKeysResponse({}));
22804
22554
  }
22805
22555
  /**
22806
22556
  * Queries the tag keys added to Auto Scaling resources. Querying tag keys facilitates easier classification, identification, and monitoring of your Auto Scaling resources, thereby enhancing the flexibility and convenience of your resource management processes.
@@ -22861,12 +22611,7 @@ class Client extends openapi_core_1.default {
22861
22611
  reqBodyType: "formData",
22862
22612
  bodyType: "json",
22863
22613
  });
22864
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22865
- return $dara.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
22866
- }
22867
- else {
22868
- return $dara.cast(await this.execute(params, req, runtime), new ListTagResourcesResponse({}));
22869
- }
22614
+ return $dara.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
22870
22615
  }
22871
22616
  /**
22872
22617
  * Queries tags. You can call the ListTagResources operation to query tags that are added to Auto Scaling resources, thereby clarifying resource utilization and facilitating efficient resource management. This operation aids in the automation of resource categorization and permission management processes.
@@ -22927,12 +22672,7 @@ class Client extends openapi_core_1.default {
22927
22672
  reqBodyType: "formData",
22928
22673
  bodyType: "json",
22929
22674
  });
22930
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22931
- return $dara.cast(await this.callApi(params, req, runtime), new ListTagValuesResponse({}));
22932
- }
22933
- else {
22934
- return $dara.cast(await this.execute(params, req, runtime), new ListTagValuesResponse({}));
22935
- }
22675
+ return $dara.cast(await this.callApi(params, req, runtime), new ListTagValuesResponse({}));
22936
22676
  }
22937
22677
  /**
22938
22678
  * Queries the tag keys associated with Auto Scaling resources to facilitate a deeper comprehension of those resources. By doing so, you can categorize and manage your Auto Scaling resources more efficiently.
@@ -23032,12 +22772,7 @@ class Client extends openapi_core_1.default {
23032
22772
  reqBodyType: "formData",
23033
22773
  bodyType: "json",
23034
22774
  });
23035
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23036
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyAlarmResponse({}));
23037
- }
23038
- else {
23039
- return $dara.cast(await this.execute(params, req, runtime), new ModifyAlarmResponse({}));
23040
- }
22775
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyAlarmResponse({}));
23041
22776
  }
23042
22777
  /**
23043
22778
  * Modifies an event-triggered task.
@@ -23095,12 +22830,7 @@ class Client extends openapi_core_1.default {
23095
22830
  reqBodyType: "formData",
23096
22831
  bodyType: "json",
23097
22832
  });
23098
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23099
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyAlertConfigurationResponse({}));
23100
- }
23101
- else {
23102
- return $dara.cast(await this.execute(params, req, runtime), new ModifyAlertConfigurationResponse({}));
23103
- }
22833
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyAlertConfigurationResponse({}));
23104
22834
  }
23105
22835
  /**
23106
22836
  * Sets the status of scaling activities that prompt text message or email notifications.
@@ -23293,12 +23023,7 @@ class Client extends openapi_core_1.default {
23293
23023
  reqBodyType: "formData",
23294
23024
  bodyType: "json",
23295
23025
  });
23296
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23297
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyEciScalingConfigurationResponse({}));
23298
- }
23299
- else {
23300
- return $dara.cast(await this.execute(params, req, runtime), new ModifyEciScalingConfigurationResponse({}));
23301
- }
23026
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyEciScalingConfigurationResponse({}));
23302
23027
  }
23303
23028
  /**
23304
23029
  * Modifies a scaling configuration of the Elastic Container Instance type. When you call the ModifyEciScalingConfiguration operation, you can specify the ID, name, and instance properties of the scaling configuration whose information you want to modify. You can modify the instance restart policy, instance bidding policy, and elastic IP address (EIP) bandwidth.
@@ -23330,6 +23055,9 @@ class Client extends openapi_core_1.default {
23330
23055
  if (!$dara.isNull(request.instanceId)) {
23331
23056
  query["InstanceId"] = request.instanceId;
23332
23057
  }
23058
+ if (!$dara.isNull(request.instanceIds)) {
23059
+ query["InstanceIds"] = request.instanceIds;
23060
+ }
23333
23061
  if (!$dara.isNull(request.ownerId)) {
23334
23062
  query["OwnerId"] = request.ownerId;
23335
23063
  }
@@ -23356,12 +23084,7 @@ class Client extends openapi_core_1.default {
23356
23084
  reqBodyType: "formData",
23357
23085
  bodyType: "json",
23358
23086
  });
23359
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23360
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyInstanceAttributeResponse({}));
23361
- }
23362
- else {
23363
- return $dara.cast(await this.execute(params, req, runtime), new ModifyInstanceAttributeResponse({}));
23364
- }
23087
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyInstanceAttributeResponse({}));
23365
23088
  }
23366
23089
  /**
23367
23090
  * Modifies the information of an Elastic Compute Service (ECS) instance. When you call the ModifyInstanceAttribute operation, you can specify attributes such as the instance ID, scaling group ID, and region ID to modify the attributes of an ECS instance in a scaling group. You can modify only the hosting attributes of instances that are manually added to scaling groups.
@@ -23441,12 +23164,7 @@ class Client extends openapi_core_1.default {
23441
23164
  reqBodyType: "formData",
23442
23165
  bodyType: "json",
23443
23166
  });
23444
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23445
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyLifecycleHookResponse({}));
23446
- }
23447
- else {
23448
- return $dara.cast(await this.execute(params, req, runtime), new ModifyLifecycleHookResponse({}));
23449
- }
23167
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyLifecycleHookResponse({}));
23450
23168
  }
23451
23169
  /**
23452
23170
  * Modifies a lifecycle hook. If an existing lifecycle hook does not meet your business requirements anymore, you can call the ModifyLifecycleHook operation to modify the information such as the scaling event, timeout period, and default action of the lifecycle hook. Before you modify a lifecycle hook, you can locate the lifecycle hook by its ID, name, or scaling group.
@@ -23508,12 +23226,7 @@ class Client extends openapi_core_1.default {
23508
23226
  reqBodyType: "formData",
23509
23227
  bodyType: "json",
23510
23228
  });
23511
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23512
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyNotificationConfigurationResponse({}));
23513
- }
23514
- else {
23515
- return $dara.cast(await this.execute(params, req, runtime), new ModifyNotificationConfigurationResponse({}));
23516
- }
23229
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyNotificationConfigurationResponse({}));
23517
23230
  }
23518
23231
  /**
23519
23232
  * Modifies event notification rules. Event notification rules support automatic sending of notifications to CloudMonitor, Message Service (MNS) topics, or MNS queues when a specified type of events occur. This helps you learn about the dynamics of your scaling group at the earliest opportunity and further automate resource management. If an existing event notification rule does not meet your business requirements, you can call the ModifyNotificationConfiguration operation to modify the event notification rule, without the need to create a new rule. Take not that you cannot modify the notification method of an event notification rule by calling this operation.
@@ -23737,12 +23450,7 @@ class Client extends openapi_core_1.default {
23737
23450
  reqBodyType: "formData",
23738
23451
  bodyType: "json",
23739
23452
  });
23740
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23741
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyScalingConfigurationResponse({}));
23742
- }
23743
- else {
23744
- return $dara.cast(await this.execute(params, req, runtime), new ModifyScalingConfigurationResponse({}));
23745
- }
23453
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyScalingConfigurationResponse({}));
23746
23454
  }
23747
23455
  /**
23748
23456
  * Modifies a scaling configuration.
@@ -23901,12 +23609,7 @@ class Client extends openapi_core_1.default {
23901
23609
  reqBodyType: "formData",
23902
23610
  bodyType: "json",
23903
23611
  });
23904
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23905
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyScalingGroupResponse({}));
23906
- }
23907
- else {
23908
- return $dara.cast(await this.execute(params, req, runtime), new ModifyScalingGroupResponse({}));
23909
- }
23612
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyScalingGroupResponse({}));
23910
23613
  }
23911
23614
  /**
23912
23615
  * Modifies a scaling group. If you want to enable policy-based automatic addition or removal of instances of a specific type to meet evolving business requirements, you can modify scaling groups to adjust your computing power with ease. The computing power refers to the instances that provide the computing capability. When your scaling group cannot meet your business requirements, you can call the ModifyScalingGroup operation to modify scaling group attributes such as the maximum, minimum, and expected numbers of instances. This prevents repeated creation and configuration of scaling groups, which saves you a lot of time and resource costs.
@@ -24035,12 +23738,7 @@ class Client extends openapi_core_1.default {
24035
23738
  reqBodyType: "formData",
24036
23739
  bodyType: "json",
24037
23740
  });
24038
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24039
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyScalingRuleResponse({}));
24040
- }
24041
- else {
24042
- return $dara.cast(await this.execute(params, req, runtime), new ModifyScalingRuleResponse({}));
24043
- }
23741
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyScalingRuleResponse({}));
24044
23742
  }
24045
23743
  /**
24046
23744
  * Modifies a scaling rule. If an existing scaling rule cannot meet your business requirements, you can call the ModifyScalingRule operation to modify the scaling rule, without the need to create a new one. This streamlines your workflow, enhancing operational efficiency while also contributing to cost optimization by avoiding redundant steps.
@@ -24139,12 +23837,7 @@ class Client extends openapi_core_1.default {
24139
23837
  reqBodyType: "formData",
24140
23838
  bodyType: "json",
24141
23839
  });
24142
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24143
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyScheduledTaskResponse({}));
24144
- }
24145
- else {
24146
- return $dara.cast(await this.execute(params, req, runtime), new ModifyScheduledTaskResponse({}));
24147
- }
23840
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyScheduledTaskResponse({}));
24148
23841
  }
24149
23842
  /**
24150
23843
  * Modifies a scheduled task. If an existing scheduled task cannot meet your business requirements, you can call the ModifyScheduledTask operation to adjust its parameter settings including the scaling rule to execute and the boundary values of your scaling group, without the need to create a new scheduled task. This operation provides a flexible way to optimize scheduled tasks.
@@ -24213,12 +23906,7 @@ class Client extends openapi_core_1.default {
24213
23906
  reqBodyType: "formData",
24214
23907
  bodyType: "json",
24215
23908
  });
24216
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24217
- return $dara.cast(await this.callApi(params, req, runtime), new RebalanceInstancesResponse({}));
24218
- }
24219
- else {
24220
- return $dara.cast(await this.execute(params, req, runtime), new RebalanceInstancesResponse({}));
24221
- }
23909
+ return $dara.cast(await this.callApi(params, req, runtime), new RebalanceInstancesResponse({}));
24222
23910
  }
24223
23911
  /**
24224
23912
  * Rebalances the distribution of Elastic Compute Service (ECS) instances across zones. If ECS instances are unevenly distributed across multiple zones, you can call the RebalanceInstances operation to rebalance the distribution of the ECS instances across the zones.
@@ -24288,12 +23976,7 @@ class Client extends openapi_core_1.default {
24288
23976
  reqBodyType: "formData",
24289
23977
  bodyType: "json",
24290
23978
  });
24291
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24292
- return $dara.cast(await this.callApi(params, req, runtime), new RecordLifecycleActionHeartbeatResponse({}));
24293
- }
24294
- else {
24295
- return $dara.cast(await this.execute(params, req, runtime), new RecordLifecycleActionHeartbeatResponse({}));
24296
- }
23979
+ return $dara.cast(await this.callApi(params, req, runtime), new RecordLifecycleActionHeartbeatResponse({}));
24297
23980
  }
24298
23981
  /**
24299
23982
  * Extends the time window during which Elastic Compute Service (ECS) instances stay in a Pending state. If the current time window during which an ECS instance stays in a Pending state is not sufficient for you to complete custom operations on the ECS instance, you can call the RecordLifecycleActionHeartbeat operation to extend the time window. When you call this operation, you can specify lifecycleHookId, lifecycleActionToken, and heartbeatTimeout to extend the time window for the desired ECS instance.
@@ -24322,12 +24005,17 @@ class Client extends openapi_core_1.default {
24322
24005
  * * If the difference between the number of existing ECS instances specified by the TotalCapacity parameter and the number of ECS instances that you call this operation to remove is less than the value of the MinSize parameter, the call fails.
24323
24006
  * A successful call only means that Auto Scaling accepts the request. The scaling activity may still fail. You can obtain the status of a scaling activity based on the value of the ScalingActivityId parameter in the response.
24324
24007
  *
24325
- * @param request - RemoveInstancesRequest
24008
+ * @param tmpReq - RemoveInstancesRequest
24326
24009
  * @param runtime - runtime options for this request RuntimeOptions
24327
24010
  * @returns RemoveInstancesResponse
24328
24011
  */
24329
- async removeInstancesWithOptions(request, runtime) {
24330
- request.validate();
24012
+ async removeInstancesWithOptions(tmpReq, runtime) {
24013
+ tmpReq.validate();
24014
+ let request = new RemoveInstancesShrinkRequest({});
24015
+ openapi_core_2.OpenApiUtil.convert(tmpReq, request);
24016
+ if (!$dara.isNull(tmpReq.lifecycleHookContext)) {
24017
+ request.lifecycleHookContextShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.lifecycleHookContext, "LifecycleHookContext", "json");
24018
+ }
24331
24019
  let query = {};
24332
24020
  if (!$dara.isNull(request.clientToken)) {
24333
24021
  query["ClientToken"] = request.clientToken;
@@ -24341,6 +24029,9 @@ class Client extends openapi_core_1.default {
24341
24029
  if (!$dara.isNull(request.instanceIds)) {
24342
24030
  query["InstanceIds"] = request.instanceIds;
24343
24031
  }
24032
+ if (!$dara.isNull(request.lifecycleHookContextShrink)) {
24033
+ query["LifecycleHookContext"] = request.lifecycleHookContextShrink;
24034
+ }
24344
24035
  if (!$dara.isNull(request.ownerAccount)) {
24345
24036
  query["OwnerAccount"] = request.ownerAccount;
24346
24037
  }
@@ -24379,12 +24070,7 @@ class Client extends openapi_core_1.default {
24379
24070
  reqBodyType: "formData",
24380
24071
  bodyType: "json",
24381
24072
  });
24382
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24383
- return $dara.cast(await this.callApi(params, req, runtime), new RemoveInstancesResponse({}));
24384
- }
24385
- else {
24386
- return $dara.cast(await this.execute(params, req, runtime), new RemoveInstancesResponse({}));
24387
- }
24073
+ return $dara.cast(await this.callApi(params, req, runtime), new RemoveInstancesResponse({}));
24388
24074
  }
24389
24075
  /**
24390
24076
  * Removes one or more instances from a scaling group. If your scaling group is enabled and contains no ongoing scaling activities, you can call the RemoveInstances operation to remove instances that you no longer require from the scaling group.
@@ -24445,12 +24131,7 @@ class Client extends openapi_core_1.default {
24445
24131
  reqBodyType: "formData",
24446
24132
  bodyType: "json",
24447
24133
  });
24448
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24449
- return $dara.cast(await this.callApi(params, req, runtime), new ResumeInstanceRefreshResponse({}));
24450
- }
24451
- else {
24452
- return $dara.cast(await this.execute(params, req, runtime), new ResumeInstanceRefreshResponse({}));
24453
- }
24134
+ return $dara.cast(await this.callApi(params, req, runtime), new ResumeInstanceRefreshResponse({}));
24454
24135
  }
24455
24136
  /**
24456
24137
  * Resumes an instance refresh task.
@@ -24504,12 +24185,7 @@ class Client extends openapi_core_1.default {
24504
24185
  reqBodyType: "formData",
24505
24186
  bodyType: "json",
24506
24187
  });
24507
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24508
- return $dara.cast(await this.callApi(params, req, runtime), new ResumeProcessesResponse({}));
24509
- }
24510
- else {
24511
- return $dara.cast(await this.execute(params, req, runtime), new ResumeProcessesResponse({}));
24512
- }
24188
+ return $dara.cast(await this.callApi(params, req, runtime), new ResumeProcessesResponse({}));
24513
24189
  }
24514
24190
  /**
24515
24191
  * Resumes suspended processes in a scaling group. This operation allows Auto Scaling to proceed with executing these processes according to their predefined rules and logic. For example, if you resume the health check process in your scaling group, Auto Scaling automatically detects and removes any instances deemed unhealthy from the scaling group.
@@ -24560,12 +24236,7 @@ class Client extends openapi_core_1.default {
24560
24236
  reqBodyType: "formData",
24561
24237
  bodyType: "json",
24562
24238
  });
24563
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24564
- return $dara.cast(await this.callApi(params, req, runtime), new RollbackInstanceRefreshResponse({}));
24565
- }
24566
- else {
24567
- return $dara.cast(await this.execute(params, req, runtime), new RollbackInstanceRefreshResponse({}));
24568
- }
24239
+ return $dara.cast(await this.callApi(params, req, runtime), new RollbackInstanceRefreshResponse({}));
24569
24240
  }
24570
24241
  /**
24571
24242
  * Rolls back an instance refresh task. If an instance refresh task cannot meet your business requirements, you can call the RollbackInstanceRefresh operation. When you roll back an instance refresh task, Auto Scaling creates new instances based on the active scaling configuration to replace the instances whose configurations are already updated by running the task.
@@ -24651,12 +24322,7 @@ class Client extends openapi_core_1.default {
24651
24322
  reqBodyType: "formData",
24652
24323
  bodyType: "json",
24653
24324
  });
24654
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24655
- return $dara.cast(await this.callApi(params, req, runtime), new ScaleWithAdjustmentResponse({}));
24656
- }
24657
- else {
24658
- return $dara.cast(await this.execute(params, req, runtime), new ScaleWithAdjustmentResponse({}));
24659
- }
24325
+ return $dara.cast(await this.callApi(params, req, runtime), new ScaleWithAdjustmentResponse({}));
24660
24326
  }
24661
24327
  /**
24662
24328
  * Scales instances. The ScaleWithAdjustment operation differs from the ExecuteScalingRule operation in that ScaleWithAdjust can directly scale instances without requiring you to create a scaling rule in advance.
@@ -24716,12 +24382,7 @@ class Client extends openapi_core_1.default {
24716
24382
  reqBodyType: "formData",
24717
24383
  bodyType: "json",
24718
24384
  });
24719
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24720
- return $dara.cast(await this.callApi(params, req, runtime), new SetGroupDeletionProtectionResponse({}));
24721
- }
24722
- else {
24723
- return $dara.cast(await this.execute(params, req, runtime), new SetGroupDeletionProtectionResponse({}));
24724
- }
24385
+ return $dara.cast(await this.callApi(params, req, runtime), new SetGroupDeletionProtectionResponse({}));
24725
24386
  }
24726
24387
  /**
24727
24388
  * Sets deletion protection for a scaling group. If you enable deletion protection for a scaling group, you cannot delete the scaling group. If you disable deletion protection for a scaling group, you can directly delete the scaling group. You can call the SetGroupDeletionProtection operation to enable or disable deletion protection.
@@ -24772,12 +24433,7 @@ class Client extends openapi_core_1.default {
24772
24433
  reqBodyType: "formData",
24773
24434
  bodyType: "json",
24774
24435
  });
24775
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24776
- return $dara.cast(await this.callApi(params, req, runtime), new SetInstanceHealthResponse({}));
24777
- }
24778
- else {
24779
- return $dara.cast(await this.execute(params, req, runtime), new SetInstanceHealthResponse({}));
24780
- }
24436
+ return $dara.cast(await this.callApi(params, req, runtime), new SetInstanceHealthResponse({}));
24781
24437
  }
24782
24438
  /**
24783
24439
  * Sets instance health. At times, the automatic health check system might not sufficiently determine the precise health status of your Elastic Compute Service (ECS) instances or elastic container instances. To overcome this, you can call the SetInstanceHealth operation to swiftly pinpoint problematic instances and resolve issues. This operation is designed to more precisely align with real-world business requirements and tackle O\\&M hurdles efficiently.
@@ -24837,12 +24493,7 @@ class Client extends openapi_core_1.default {
24837
24493
  reqBodyType: "formData",
24838
24494
  bodyType: "json",
24839
24495
  });
24840
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24841
- return $dara.cast(await this.callApi(params, req, runtime), new SetInstancesProtectionResponse({}));
24842
- }
24843
- else {
24844
- return $dara.cast(await this.execute(params, req, runtime), new SetInstancesProtectionResponse({}));
24845
- }
24496
+ return $dara.cast(await this.callApi(params, req, runtime), new SetInstancesProtectionResponse({}));
24846
24497
  }
24847
24498
  /**
24848
24499
  * Puts or removes Elastic Compute Service (ECS) instances into or from the Protected state. After you put an ECS instance into the Protected state, the ECS instance will not be stopped or released when a scale-in event is triggered. In this case, you can manually delete the ECS instance in the Auto Scaling console or by calling the RemoveInstances operation.
@@ -24917,12 +24568,7 @@ class Client extends openapi_core_1.default {
24917
24568
  reqBodyType: "formData",
24918
24569
  bodyType: "json",
24919
24570
  });
24920
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24921
- return $dara.cast(await this.callApi(params, req, runtime), new StartInstanceRefreshResponse({}));
24922
- }
24923
- else {
24924
- return $dara.cast(await this.execute(params, req, runtime), new StartInstanceRefreshResponse({}));
24925
- }
24571
+ return $dara.cast(await this.callApi(params, req, runtime), new StartInstanceRefreshResponse({}));
24926
24572
  }
24927
24573
  /**
24928
24574
  * Starts an instance refresh task. If you want to apply a new scaling configuration in a scaling group or update the image specified in a scaling configuration, you can call the StartInstanceRefresh operation.
@@ -24982,12 +24628,7 @@ class Client extends openapi_core_1.default {
24982
24628
  reqBodyType: "formData",
24983
24629
  bodyType: "json",
24984
24630
  });
24985
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24986
- return $dara.cast(await this.callApi(params, req, runtime), new SuspendInstanceRefreshResponse({}));
24987
- }
24988
- else {
24989
- return $dara.cast(await this.execute(params, req, runtime), new SuspendInstanceRefreshResponse({}));
24990
- }
24631
+ return $dara.cast(await this.callApi(params, req, runtime), new SuspendInstanceRefreshResponse({}));
24991
24632
  }
24992
24633
  /**
24993
24634
  * Suspends an instance refresh task. If you are not sure that you want to roll back an ongoing instance refresh task whose configurations you think has an issue, you can call the SuspendInstanceRefresh operation to suspend the task.
@@ -25044,12 +24685,7 @@ class Client extends openapi_core_1.default {
25044
24685
  reqBodyType: "formData",
25045
24686
  bodyType: "json",
25046
24687
  });
25047
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25048
- return $dara.cast(await this.callApi(params, req, runtime), new SuspendProcessesResponse({}));
25049
- }
25050
- else {
25051
- return $dara.cast(await this.execute(params, req, runtime), new SuspendProcessesResponse({}));
25052
- }
24688
+ return $dara.cast(await this.callApi(params, req, runtime), new SuspendProcessesResponse({}));
25053
24689
  }
25054
24690
  /**
25055
24691
  * Suspends scaling processes. This operation empowers you to selectively pause distinct scaling processes within a particular scaling group, enabling you to carry out alternative tasks and achieve more granular management over your scaling operations.
@@ -25112,12 +24748,7 @@ class Client extends openapi_core_1.default {
25112
24748
  reqBodyType: "formData",
25113
24749
  bodyType: "json",
25114
24750
  });
25115
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25116
- return $dara.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
25117
- }
25118
- else {
25119
- return $dara.cast(await this.execute(params, req, runtime), new TagResourcesResponse({}));
25120
- }
24751
+ return $dara.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
25121
24752
  }
25122
24753
  /**
25123
24754
  * Creates and adds tags. You can call the TagResources operation to uniformly create and attach tags to your Auto Scaling resources, streamlining resource management. This capability empowers you to categorize resources based on tags, thereby enhancing the overall efficiency of resource allocation and utilization.
@@ -25183,12 +24814,7 @@ class Client extends openapi_core_1.default {
25183
24814
  reqBodyType: "formData",
25184
24815
  bodyType: "json",
25185
24816
  });
25186
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25187
- return $dara.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
25188
- }
25189
- else {
25190
- return $dara.cast(await this.execute(params, req, runtime), new UntagResourcesResponse({}));
25191
- }
24817
+ return $dara.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
25192
24818
  }
25193
24819
  /**
25194
24820
  * Removes tags from Auto Scaling resources simultaneously. This operation streamlines resource management activities, enhances system efficiency, and mitigates potential security vulnerabilities. Once a tag is removed from a particular resource, and if it is not re-added to any other resource, the system will automatically delete the unused tag.
@@ -25239,12 +24865,7 @@ class Client extends openapi_core_1.default {
25239
24865
  reqBodyType: "formData",
25240
24866
  bodyType: "json",
25241
24867
  });
25242
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25243
- return $dara.cast(await this.callApi(params, req, runtime), new VerifyAuthenticationResponse({}));
25244
- }
25245
- else {
25246
- return $dara.cast(await this.execute(params, req, runtime), new VerifyAuthenticationResponse({}));
25247
- }
24868
+ return $dara.cast(await this.callApi(params, req, runtime), new VerifyAuthenticationResponse({}));
25248
24869
  }
25249
24870
  /**
25250
24871
  * Checks whether the specified Alibaba Cloud account assumes the AliyunServiceRoleForAutoScaling service-linked role. An account can be used to operate Elastic Compute Service (ECS) instances and elastic container instances only after it assumes the service-linked role.
@@ -25292,12 +24913,7 @@ class Client extends openapi_core_1.default {
25292
24913
  reqBodyType: "formData",
25293
24914
  bodyType: "json",
25294
24915
  });
25295
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25296
- return $dara.cast(await this.callApi(params, req, runtime), new VerifyUserResponse({}));
25297
- }
25298
- else {
25299
- return $dara.cast(await this.execute(params, req, runtime), new VerifyUserResponse({}));
25300
- }
24916
+ return $dara.cast(await this.callApi(params, req, runtime), new VerifyUserResponse({}));
25301
24917
  }
25302
24918
  /**
25303
24919
  * Verifies whether Auto Scaling is activated. This operation guarantees that in response to shifts in business workloads or variations in incoming traffic, the system will automatically adjust resource provisioning. This auto-scaling capability enhances the overall system performance, ensuring high availability and improved flexibility to accommodate dynamic demands.