@aws-sdk/client-auto-scaling 3.35.0 → 3.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist-cjs/AutoScaling.js +0 -1
- package/dist-cjs/AutoScalingClient.js +0 -1
- package/dist-cjs/commands/AttachInstancesCommand.js +0 -1
- package/dist-cjs/commands/AttachLoadBalancerTargetGroupsCommand.js +0 -1
- package/dist-cjs/commands/AttachLoadBalancersCommand.js +0 -1
- package/dist-cjs/commands/BatchDeleteScheduledActionCommand.js +0 -1
- package/dist-cjs/commands/BatchPutScheduledUpdateGroupActionCommand.js +0 -1
- package/dist-cjs/commands/CancelInstanceRefreshCommand.js +0 -1
- package/dist-cjs/commands/CompleteLifecycleActionCommand.js +0 -1
- package/dist-cjs/commands/CreateAutoScalingGroupCommand.js +0 -1
- package/dist-cjs/commands/CreateLaunchConfigurationCommand.js +0 -1
- package/dist-cjs/commands/CreateOrUpdateTagsCommand.js +0 -1
- package/dist-cjs/commands/DeleteAutoScalingGroupCommand.js +0 -1
- package/dist-cjs/commands/DeleteLaunchConfigurationCommand.js +0 -1
- package/dist-cjs/commands/DeleteLifecycleHookCommand.js +0 -1
- package/dist-cjs/commands/DeleteNotificationConfigurationCommand.js +0 -1
- package/dist-cjs/commands/DeletePolicyCommand.js +0 -1
- package/dist-cjs/commands/DeleteScheduledActionCommand.js +0 -1
- package/dist-cjs/commands/DeleteTagsCommand.js +0 -1
- package/dist-cjs/commands/DeleteWarmPoolCommand.js +0 -1
- package/dist-cjs/commands/DescribeAccountLimitsCommand.js +0 -1
- package/dist-cjs/commands/DescribeAdjustmentTypesCommand.js +0 -1
- package/dist-cjs/commands/DescribeAutoScalingGroupsCommand.js +0 -1
- package/dist-cjs/commands/DescribeAutoScalingInstancesCommand.js +0 -1
- package/dist-cjs/commands/DescribeAutoScalingNotificationTypesCommand.js +0 -1
- package/dist-cjs/commands/DescribeInstanceRefreshesCommand.js +0 -1
- package/dist-cjs/commands/DescribeLaunchConfigurationsCommand.js +0 -1
- package/dist-cjs/commands/DescribeLifecycleHookTypesCommand.js +0 -1
- package/dist-cjs/commands/DescribeLifecycleHooksCommand.js +0 -1
- package/dist-cjs/commands/DescribeLoadBalancerTargetGroupsCommand.js +0 -1
- package/dist-cjs/commands/DescribeLoadBalancersCommand.js +0 -1
- package/dist-cjs/commands/DescribeMetricCollectionTypesCommand.js +0 -1
- package/dist-cjs/commands/DescribeNotificationConfigurationsCommand.js +0 -1
- package/dist-cjs/commands/DescribePoliciesCommand.js +0 -1
- package/dist-cjs/commands/DescribeScalingActivitiesCommand.js +0 -1
- package/dist-cjs/commands/DescribeScalingProcessTypesCommand.js +0 -1
- package/dist-cjs/commands/DescribeScheduledActionsCommand.js +0 -1
- package/dist-cjs/commands/DescribeTagsCommand.js +0 -1
- package/dist-cjs/commands/DescribeTerminationPolicyTypesCommand.js +0 -1
- package/dist-cjs/commands/DescribeWarmPoolCommand.js +0 -1
- package/dist-cjs/commands/DetachInstancesCommand.js +0 -1
- package/dist-cjs/commands/DetachLoadBalancerTargetGroupsCommand.js +0 -1
- package/dist-cjs/commands/DetachLoadBalancersCommand.js +0 -1
- package/dist-cjs/commands/DisableMetricsCollectionCommand.js +0 -1
- package/dist-cjs/commands/EnableMetricsCollectionCommand.js +0 -1
- package/dist-cjs/commands/EnterStandbyCommand.js +0 -1
- package/dist-cjs/commands/ExecutePolicyCommand.js +0 -1
- package/dist-cjs/commands/ExitStandbyCommand.js +0 -1
- package/dist-cjs/commands/GetPredictiveScalingForecastCommand.js +0 -1
- package/dist-cjs/commands/PutLifecycleHookCommand.js +0 -1
- package/dist-cjs/commands/PutNotificationConfigurationCommand.js +0 -1
- package/dist-cjs/commands/PutScalingPolicyCommand.js +0 -1
- package/dist-cjs/commands/PutScheduledUpdateGroupActionCommand.js +0 -1
- package/dist-cjs/commands/PutWarmPoolCommand.js +0 -1
- package/dist-cjs/commands/RecordLifecycleActionHeartbeatCommand.js +0 -1
- package/dist-cjs/commands/ResumeProcessesCommand.js +0 -1
- package/dist-cjs/commands/SetDesiredCapacityCommand.js +0 -1
- package/dist-cjs/commands/SetInstanceHealthCommand.js +0 -1
- package/dist-cjs/commands/SetInstanceProtectionCommand.js +0 -1
- package/dist-cjs/commands/StartInstanceRefreshCommand.js +0 -1
- package/dist-cjs/commands/SuspendProcessesCommand.js +0 -1
- package/dist-cjs/commands/TerminateInstanceInAutoScalingGroupCommand.js +0 -1
- package/dist-cjs/commands/UpdateAutoScalingGroupCommand.js +0 -1
- package/dist-cjs/endpoints.js +0 -1
- package/dist-cjs/index.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/DescribeAutoScalingGroupsPaginator.js +0 -1
- package/dist-cjs/pagination/DescribeAutoScalingInstancesPaginator.js +0 -1
- package/dist-cjs/pagination/DescribeLaunchConfigurationsPaginator.js +0 -1
- package/dist-cjs/pagination/DescribeNotificationConfigurationsPaginator.js +0 -1
- package/dist-cjs/pagination/DescribePoliciesPaginator.js +0 -1
- package/dist-cjs/pagination/DescribeScalingActivitiesPaginator.js +0 -1
- package/dist-cjs/pagination/DescribeScheduledActionsPaginator.js +0 -1
- package/dist-cjs/pagination/DescribeTagsPaginator.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/protocols/Aws_query.js +0 -1
- package/dist-cjs/runtimeConfig.browser.js +2 -3
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-cjs/runtimeConfig.native.js +0 -1
- package/dist-cjs/runtimeConfig.shared.js +0 -1
- package/dist-cjs/waiters/waitForGroupExists.js +0 -1
- package/dist-cjs/waiters/waitForGroupInService.js +0 -1
- package/dist-cjs/waiters/waitForGroupNotExists.js +0 -1
- package/dist-es/AutoScaling.js +0 -1
- package/dist-es/AutoScalingClient.js +0 -1
- package/dist-es/commands/AttachInstancesCommand.js +0 -1
- package/dist-es/commands/AttachLoadBalancerTargetGroupsCommand.js +0 -1
- package/dist-es/commands/AttachLoadBalancersCommand.js +0 -1
- package/dist-es/commands/BatchDeleteScheduledActionCommand.js +0 -1
- package/dist-es/commands/BatchPutScheduledUpdateGroupActionCommand.js +0 -1
- package/dist-es/commands/CancelInstanceRefreshCommand.js +0 -1
- package/dist-es/commands/CompleteLifecycleActionCommand.js +0 -1
- package/dist-es/commands/CreateAutoScalingGroupCommand.js +0 -1
- package/dist-es/commands/CreateLaunchConfigurationCommand.js +0 -1
- package/dist-es/commands/CreateOrUpdateTagsCommand.js +0 -1
- package/dist-es/commands/DeleteAutoScalingGroupCommand.js +0 -1
- package/dist-es/commands/DeleteLaunchConfigurationCommand.js +0 -1
- package/dist-es/commands/DeleteLifecycleHookCommand.js +0 -1
- package/dist-es/commands/DeleteNotificationConfigurationCommand.js +0 -1
- package/dist-es/commands/DeletePolicyCommand.js +0 -1
- package/dist-es/commands/DeleteScheduledActionCommand.js +0 -1
- package/dist-es/commands/DeleteTagsCommand.js +0 -1
- package/dist-es/commands/DeleteWarmPoolCommand.js +0 -1
- package/dist-es/commands/DescribeAccountLimitsCommand.js +0 -1
- package/dist-es/commands/DescribeAdjustmentTypesCommand.js +0 -1
- package/dist-es/commands/DescribeAutoScalingGroupsCommand.js +0 -1
- package/dist-es/commands/DescribeAutoScalingInstancesCommand.js +0 -1
- package/dist-es/commands/DescribeAutoScalingNotificationTypesCommand.js +0 -1
- package/dist-es/commands/DescribeInstanceRefreshesCommand.js +0 -1
- package/dist-es/commands/DescribeLaunchConfigurationsCommand.js +0 -1
- package/dist-es/commands/DescribeLifecycleHookTypesCommand.js +0 -1
- package/dist-es/commands/DescribeLifecycleHooksCommand.js +0 -1
- package/dist-es/commands/DescribeLoadBalancerTargetGroupsCommand.js +0 -1
- package/dist-es/commands/DescribeLoadBalancersCommand.js +0 -1
- package/dist-es/commands/DescribeMetricCollectionTypesCommand.js +0 -1
- package/dist-es/commands/DescribeNotificationConfigurationsCommand.js +0 -1
- package/dist-es/commands/DescribePoliciesCommand.js +0 -1
- package/dist-es/commands/DescribeScalingActivitiesCommand.js +0 -1
- package/dist-es/commands/DescribeScalingProcessTypesCommand.js +0 -1
- package/dist-es/commands/DescribeScheduledActionsCommand.js +0 -1
- package/dist-es/commands/DescribeTagsCommand.js +0 -1
- package/dist-es/commands/DescribeTerminationPolicyTypesCommand.js +0 -1
- package/dist-es/commands/DescribeWarmPoolCommand.js +0 -1
- package/dist-es/commands/DetachInstancesCommand.js +0 -1
- package/dist-es/commands/DetachLoadBalancerTargetGroupsCommand.js +0 -1
- package/dist-es/commands/DetachLoadBalancersCommand.js +0 -1
- package/dist-es/commands/DisableMetricsCollectionCommand.js +0 -1
- package/dist-es/commands/EnableMetricsCollectionCommand.js +0 -1
- package/dist-es/commands/EnterStandbyCommand.js +0 -1
- package/dist-es/commands/ExecutePolicyCommand.js +0 -1
- package/dist-es/commands/ExitStandbyCommand.js +0 -1
- package/dist-es/commands/GetPredictiveScalingForecastCommand.js +0 -1
- package/dist-es/commands/PutLifecycleHookCommand.js +0 -1
- package/dist-es/commands/PutNotificationConfigurationCommand.js +0 -1
- package/dist-es/commands/PutScalingPolicyCommand.js +0 -1
- package/dist-es/commands/PutScheduledUpdateGroupActionCommand.js +0 -1
- package/dist-es/commands/PutWarmPoolCommand.js +0 -1
- package/dist-es/commands/RecordLifecycleActionHeartbeatCommand.js +0 -1
- package/dist-es/commands/ResumeProcessesCommand.js +0 -1
- package/dist-es/commands/SetDesiredCapacityCommand.js +0 -1
- package/dist-es/commands/SetInstanceHealthCommand.js +0 -1
- package/dist-es/commands/SetInstanceProtectionCommand.js +0 -1
- package/dist-es/commands/StartInstanceRefreshCommand.js +0 -1
- package/dist-es/commands/SuspendProcessesCommand.js +0 -1
- package/dist-es/commands/TerminateInstanceInAutoScalingGroupCommand.js +0 -1
- package/dist-es/commands/UpdateAutoScalingGroupCommand.js +0 -1
- package/dist-es/endpoints.js +0 -1
- package/dist-es/index.js +0 -1
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/DescribeAutoScalingGroupsPaginator.js +0 -1
- package/dist-es/pagination/DescribeAutoScalingInstancesPaginator.js +0 -1
- package/dist-es/pagination/DescribeLaunchConfigurationsPaginator.js +0 -1
- package/dist-es/pagination/DescribeNotificationConfigurationsPaginator.js +0 -1
- package/dist-es/pagination/DescribePoliciesPaginator.js +0 -1
- package/dist-es/pagination/DescribeScalingActivitiesPaginator.js +0 -1
- package/dist-es/pagination/DescribeScheduledActionsPaginator.js +0 -1
- package/dist-es/pagination/DescribeTagsPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/protocols/Aws_query.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-es/waiters/waitForGroupExists.js +0 -1
- package/dist-es/waiters/waitForGroupInService.js +0 -1
- package/dist-es/waiters/waitForGroupNotExists.js +0 -1
- package/package.json +34 -31
- package/dist-cjs/AutoScaling.js.map +0 -1
- package/dist-cjs/AutoScalingClient.js.map +0 -1
- package/dist-cjs/commands/AttachInstancesCommand.js.map +0 -1
- package/dist-cjs/commands/AttachLoadBalancerTargetGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/AttachLoadBalancersCommand.js.map +0 -1
- package/dist-cjs/commands/BatchDeleteScheduledActionCommand.js.map +0 -1
- package/dist-cjs/commands/BatchPutScheduledUpdateGroupActionCommand.js.map +0 -1
- package/dist-cjs/commands/CancelInstanceRefreshCommand.js.map +0 -1
- package/dist-cjs/commands/CompleteLifecycleActionCommand.js.map +0 -1
- package/dist-cjs/commands/CreateAutoScalingGroupCommand.js.map +0 -1
- package/dist-cjs/commands/CreateLaunchConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/CreateOrUpdateTagsCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteAutoScalingGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteLaunchConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteLifecycleHookCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteNotificationConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/DeletePolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteScheduledActionCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteTagsCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteWarmPoolCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeAccountLimitsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeAdjustmentTypesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeAutoScalingGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeAutoScalingInstancesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeAutoScalingNotificationTypesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeInstanceRefreshesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeLaunchConfigurationsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeLifecycleHookTypesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeLifecycleHooksCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeLoadBalancerTargetGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeLoadBalancersCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeMetricCollectionTypesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeNotificationConfigurationsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribePoliciesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeScalingActivitiesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeScalingProcessTypesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeScheduledActionsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeTagsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeTerminationPolicyTypesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeWarmPoolCommand.js.map +0 -1
- package/dist-cjs/commands/DetachInstancesCommand.js.map +0 -1
- package/dist-cjs/commands/DetachLoadBalancerTargetGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/DetachLoadBalancersCommand.js.map +0 -1
- package/dist-cjs/commands/DisableMetricsCollectionCommand.js.map +0 -1
- package/dist-cjs/commands/EnableMetricsCollectionCommand.js.map +0 -1
- package/dist-cjs/commands/EnterStandbyCommand.js.map +0 -1
- package/dist-cjs/commands/ExecutePolicyCommand.js.map +0 -1
- package/dist-cjs/commands/ExitStandbyCommand.js.map +0 -1
- package/dist-cjs/commands/GetPredictiveScalingForecastCommand.js.map +0 -1
- package/dist-cjs/commands/PutLifecycleHookCommand.js.map +0 -1
- package/dist-cjs/commands/PutNotificationConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/PutScalingPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/PutScheduledUpdateGroupActionCommand.js.map +0 -1
- package/dist-cjs/commands/PutWarmPoolCommand.js.map +0 -1
- package/dist-cjs/commands/RecordLifecycleActionHeartbeatCommand.js.map +0 -1
- package/dist-cjs/commands/ResumeProcessesCommand.js.map +0 -1
- package/dist-cjs/commands/SetDesiredCapacityCommand.js.map +0 -1
- package/dist-cjs/commands/SetInstanceHealthCommand.js.map +0 -1
- package/dist-cjs/commands/SetInstanceProtectionCommand.js.map +0 -1
- package/dist-cjs/commands/StartInstanceRefreshCommand.js.map +0 -1
- package/dist-cjs/commands/SuspendProcessesCommand.js.map +0 -1
- package/dist-cjs/commands/TerminateInstanceInAutoScalingGroupCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateAutoScalingGroupCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/DescribeAutoScalingGroupsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeAutoScalingInstancesPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeLaunchConfigurationsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeNotificationConfigurationsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribePoliciesPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeScalingActivitiesPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeScheduledActionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeTagsPaginator.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/protocols/Aws_query.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-cjs/waiters/waitForGroupExists.js.map +0 -1
- package/dist-cjs/waiters/waitForGroupInService.js.map +0 -1
- package/dist-cjs/waiters/waitForGroupNotExists.js.map +0 -1
- package/dist-es/AutoScaling.js.map +0 -1
- package/dist-es/AutoScalingClient.js.map +0 -1
- package/dist-es/commands/AttachInstancesCommand.js.map +0 -1
- package/dist-es/commands/AttachLoadBalancerTargetGroupsCommand.js.map +0 -1
- package/dist-es/commands/AttachLoadBalancersCommand.js.map +0 -1
- package/dist-es/commands/BatchDeleteScheduledActionCommand.js.map +0 -1
- package/dist-es/commands/BatchPutScheduledUpdateGroupActionCommand.js.map +0 -1
- package/dist-es/commands/CancelInstanceRefreshCommand.js.map +0 -1
- package/dist-es/commands/CompleteLifecycleActionCommand.js.map +0 -1
- package/dist-es/commands/CreateAutoScalingGroupCommand.js.map +0 -1
- package/dist-es/commands/CreateLaunchConfigurationCommand.js.map +0 -1
- package/dist-es/commands/CreateOrUpdateTagsCommand.js.map +0 -1
- package/dist-es/commands/DeleteAutoScalingGroupCommand.js.map +0 -1
- package/dist-es/commands/DeleteLaunchConfigurationCommand.js.map +0 -1
- package/dist-es/commands/DeleteLifecycleHookCommand.js.map +0 -1
- package/dist-es/commands/DeleteNotificationConfigurationCommand.js.map +0 -1
- package/dist-es/commands/DeletePolicyCommand.js.map +0 -1
- package/dist-es/commands/DeleteScheduledActionCommand.js.map +0 -1
- package/dist-es/commands/DeleteTagsCommand.js.map +0 -1
- package/dist-es/commands/DeleteWarmPoolCommand.js.map +0 -1
- package/dist-es/commands/DescribeAccountLimitsCommand.js.map +0 -1
- package/dist-es/commands/DescribeAdjustmentTypesCommand.js.map +0 -1
- package/dist-es/commands/DescribeAutoScalingGroupsCommand.js.map +0 -1
- package/dist-es/commands/DescribeAutoScalingInstancesCommand.js.map +0 -1
- package/dist-es/commands/DescribeAutoScalingNotificationTypesCommand.js.map +0 -1
- package/dist-es/commands/DescribeInstanceRefreshesCommand.js.map +0 -1
- package/dist-es/commands/DescribeLaunchConfigurationsCommand.js.map +0 -1
- package/dist-es/commands/DescribeLifecycleHookTypesCommand.js.map +0 -1
- package/dist-es/commands/DescribeLifecycleHooksCommand.js.map +0 -1
- package/dist-es/commands/DescribeLoadBalancerTargetGroupsCommand.js.map +0 -1
- package/dist-es/commands/DescribeLoadBalancersCommand.js.map +0 -1
- package/dist-es/commands/DescribeMetricCollectionTypesCommand.js.map +0 -1
- package/dist-es/commands/DescribeNotificationConfigurationsCommand.js.map +0 -1
- package/dist-es/commands/DescribePoliciesCommand.js.map +0 -1
- package/dist-es/commands/DescribeScalingActivitiesCommand.js.map +0 -1
- package/dist-es/commands/DescribeScalingProcessTypesCommand.js.map +0 -1
- package/dist-es/commands/DescribeScheduledActionsCommand.js.map +0 -1
- package/dist-es/commands/DescribeTagsCommand.js.map +0 -1
- package/dist-es/commands/DescribeTerminationPolicyTypesCommand.js.map +0 -1
- package/dist-es/commands/DescribeWarmPoolCommand.js.map +0 -1
- package/dist-es/commands/DetachInstancesCommand.js.map +0 -1
- package/dist-es/commands/DetachLoadBalancerTargetGroupsCommand.js.map +0 -1
- package/dist-es/commands/DetachLoadBalancersCommand.js.map +0 -1
- package/dist-es/commands/DisableMetricsCollectionCommand.js.map +0 -1
- package/dist-es/commands/EnableMetricsCollectionCommand.js.map +0 -1
- package/dist-es/commands/EnterStandbyCommand.js.map +0 -1
- package/dist-es/commands/ExecutePolicyCommand.js.map +0 -1
- package/dist-es/commands/ExitStandbyCommand.js.map +0 -1
- package/dist-es/commands/GetPredictiveScalingForecastCommand.js.map +0 -1
- package/dist-es/commands/PutLifecycleHookCommand.js.map +0 -1
- package/dist-es/commands/PutNotificationConfigurationCommand.js.map +0 -1
- package/dist-es/commands/PutScalingPolicyCommand.js.map +0 -1
- package/dist-es/commands/PutScheduledUpdateGroupActionCommand.js.map +0 -1
- package/dist-es/commands/PutWarmPoolCommand.js.map +0 -1
- package/dist-es/commands/RecordLifecycleActionHeartbeatCommand.js.map +0 -1
- package/dist-es/commands/ResumeProcessesCommand.js.map +0 -1
- package/dist-es/commands/SetDesiredCapacityCommand.js.map +0 -1
- package/dist-es/commands/SetInstanceHealthCommand.js.map +0 -1
- package/dist-es/commands/SetInstanceProtectionCommand.js.map +0 -1
- package/dist-es/commands/StartInstanceRefreshCommand.js.map +0 -1
- package/dist-es/commands/SuspendProcessesCommand.js.map +0 -1
- package/dist-es/commands/TerminateInstanceInAutoScalingGroupCommand.js.map +0 -1
- package/dist-es/commands/UpdateAutoScalingGroupCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/DescribeAutoScalingGroupsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeAutoScalingInstancesPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeLaunchConfigurationsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeNotificationConfigurationsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribePoliciesPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeScalingActivitiesPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeScheduledActionsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeTagsPaginator.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/protocols/Aws_query.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/dist-es/waiters/waitForGroupExists.js.map +0 -1
- package/dist-es/waiters/waitForGroupInService.js.map +0 -1
- package/dist-es/waiters/waitForGroupNotExists.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/AutoScaling.ts +0 -2733
- package/src/AutoScalingClient.ts +0 -558
- package/src/commands/AttachInstancesCommand.ts +0 -104
- package/src/commands/AttachLoadBalancerTargetGroupsCommand.ts +0 -121
- package/src/commands/AttachLoadBalancersCommand.ts +0 -105
- package/src/commands/BatchDeleteScheduledActionCommand.ts +0 -98
- package/src/commands/BatchPutScheduledUpdateGroupActionCommand.ts +0 -103
- package/src/commands/CancelInstanceRefreshCommand.ts +0 -100
- package/src/commands/CompleteLifecycleActionCommand.ts +0 -126
- package/src/commands/CreateAutoScalingGroupCommand.ts +0 -113
- package/src/commands/CreateLaunchConfigurationCommand.ts +0 -104
- package/src/commands/CreateOrUpdateTagsCommand.ts +0 -99
- package/src/commands/DeleteAutoScalingGroupCommand.ts +0 -104
- package/src/commands/DeleteLaunchConfigurationCommand.ts +0 -100
- package/src/commands/DeleteLifecycleHookCommand.ts +0 -98
- package/src/commands/DeleteNotificationConfigurationCommand.ts +0 -101
- package/src/commands/DeletePolicyCommand.ts +0 -97
- package/src/commands/DeleteScheduledActionCommand.ts +0 -95
- package/src/commands/DeleteTagsCommand.ts +0 -92
- package/src/commands/DeleteWarmPoolCommand.ts +0 -97
- package/src/commands/DescribeAccountLimitsCommand.ts +0 -99
- package/src/commands/DescribeAdjustmentTypesCommand.ts +0 -114
- package/src/commands/DescribeAutoScalingGroupsCommand.ts +0 -100
- package/src/commands/DescribeAutoScalingInstancesCommand.ts +0 -98
- package/src/commands/DescribeAutoScalingNotificationTypesCommand.ts +0 -103
- package/src/commands/DescribeInstanceRefreshesCommand.ts +0 -136
- package/src/commands/DescribeLaunchConfigurationsCommand.ts +0 -98
- package/src/commands/DescribeLifecycleHookTypesCommand.ts +0 -111
- package/src/commands/DescribeLifecycleHooksCommand.ts +0 -95
- package/src/commands/DescribeLoadBalancerTargetGroupsCommand.ts +0 -122
- package/src/commands/DescribeLoadBalancersCommand.ts +0 -116
- package/src/commands/DescribeMetricCollectionTypesCommand.ts +0 -102
- package/src/commands/DescribeNotificationConfigurationsCommand.ts +0 -104
- package/src/commands/DescribePoliciesCommand.ts +0 -95
- package/src/commands/DescribeScalingActivitiesCommand.ts +0 -106
- package/src/commands/DescribeScalingProcessTypesCommand.ts +0 -99
- package/src/commands/DescribeScheduledActionsCommand.ts +0 -98
- package/src/commands/DescribeTagsCommand.ts +0 -100
- package/src/commands/DescribeTerminationPolicyTypesCommand.ts +0 -106
- package/src/commands/DescribeWarmPoolCommand.ts +0 -97
- package/src/commands/DetachInstancesCommand.ts +0 -104
- package/src/commands/DetachLoadBalancerTargetGroupsCommand.ts +0 -103
- package/src/commands/DetachLoadBalancersCommand.ts +0 -100
- package/src/commands/DisableMetricsCollectionCommand.ts +0 -95
- package/src/commands/EnableMetricsCollectionCommand.ts +0 -96
- package/src/commands/EnterStandbyCommand.ts +0 -101
- package/src/commands/ExecutePolicyCommand.ts +0 -96
- package/src/commands/ExitStandbyCommand.ts +0 -97
- package/src/commands/GetPredictiveScalingForecastCommand.ts +0 -108
- package/src/commands/PutLifecycleHookCommand.ts +0 -132
- package/src/commands/PutNotificationConfigurationCommand.ts +0 -106
- package/src/commands/PutScalingPolicyCommand.ts +0 -104
- package/src/commands/PutScheduledUpdateGroupActionCommand.ts +0 -102
- package/src/commands/PutWarmPoolCommand.ts +0 -101
- package/src/commands/RecordLifecycleActionHeartbeatCommand.ts +0 -135
- package/src/commands/ResumeProcessesCommand.ts +0 -98
- package/src/commands/SetDesiredCapacityCommand.ts +0 -100
- package/src/commands/SetInstanceHealthCommand.ts +0 -97
- package/src/commands/SetInstanceProtectionCommand.ts +0 -101
- package/src/commands/StartInstanceRefreshCommand.ts +0 -109
- package/src/commands/SuspendProcessesCommand.ts +0 -101
- package/src/commands/TerminateInstanceInAutoScalingGroupCommand.ts +0 -112
- package/src/commands/UpdateAutoScalingGroupCommand.ts +0 -139
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -76
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -6663
- package/src/pagination/DescribeAutoScalingGroupsPaginator.ts +0 -59
- package/src/pagination/DescribeAutoScalingInstancesPaginator.ts +0 -59
- package/src/pagination/DescribeLaunchConfigurationsPaginator.ts +0 -59
- package/src/pagination/DescribeNotificationConfigurationsPaginator.ts +0 -59
- package/src/pagination/DescribePoliciesPaginator.ts +0 -59
- package/src/pagination/DescribeScalingActivitiesPaginator.ts +0 -59
- package/src/pagination/DescribeScheduledActionsPaginator.ts +0 -59
- package/src/pagination/DescribeTagsPaginator.ts +0 -59
- package/src/pagination/Interfaces.ts +0 -8
- package/src/protocols/Aws_query.ts +0 -10045
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/src/waiters/waitForGroupExists.ts +0 -61
- package/src/waiters/waitForGroupInService.ts +0 -83
- package/src/waiters/waitForGroupNotExists.ts +0 -61
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
package/src/AutoScaling.ts
DELETED
|
@@ -1,2733 +0,0 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { AutoScalingClient } from "./AutoScalingClient";
|
|
4
|
-
import {
|
|
5
|
-
AttachInstancesCommand,
|
|
6
|
-
AttachInstancesCommandInput,
|
|
7
|
-
AttachInstancesCommandOutput,
|
|
8
|
-
} from "./commands/AttachInstancesCommand";
|
|
9
|
-
import {
|
|
10
|
-
AttachLoadBalancersCommand,
|
|
11
|
-
AttachLoadBalancersCommandInput,
|
|
12
|
-
AttachLoadBalancersCommandOutput,
|
|
13
|
-
} from "./commands/AttachLoadBalancersCommand";
|
|
14
|
-
import {
|
|
15
|
-
AttachLoadBalancerTargetGroupsCommand,
|
|
16
|
-
AttachLoadBalancerTargetGroupsCommandInput,
|
|
17
|
-
AttachLoadBalancerTargetGroupsCommandOutput,
|
|
18
|
-
} from "./commands/AttachLoadBalancerTargetGroupsCommand";
|
|
19
|
-
import {
|
|
20
|
-
BatchDeleteScheduledActionCommand,
|
|
21
|
-
BatchDeleteScheduledActionCommandInput,
|
|
22
|
-
BatchDeleteScheduledActionCommandOutput,
|
|
23
|
-
} from "./commands/BatchDeleteScheduledActionCommand";
|
|
24
|
-
import {
|
|
25
|
-
BatchPutScheduledUpdateGroupActionCommand,
|
|
26
|
-
BatchPutScheduledUpdateGroupActionCommandInput,
|
|
27
|
-
BatchPutScheduledUpdateGroupActionCommandOutput,
|
|
28
|
-
} from "./commands/BatchPutScheduledUpdateGroupActionCommand";
|
|
29
|
-
import {
|
|
30
|
-
CancelInstanceRefreshCommand,
|
|
31
|
-
CancelInstanceRefreshCommandInput,
|
|
32
|
-
CancelInstanceRefreshCommandOutput,
|
|
33
|
-
} from "./commands/CancelInstanceRefreshCommand";
|
|
34
|
-
import {
|
|
35
|
-
CompleteLifecycleActionCommand,
|
|
36
|
-
CompleteLifecycleActionCommandInput,
|
|
37
|
-
CompleteLifecycleActionCommandOutput,
|
|
38
|
-
} from "./commands/CompleteLifecycleActionCommand";
|
|
39
|
-
import {
|
|
40
|
-
CreateAutoScalingGroupCommand,
|
|
41
|
-
CreateAutoScalingGroupCommandInput,
|
|
42
|
-
CreateAutoScalingGroupCommandOutput,
|
|
43
|
-
} from "./commands/CreateAutoScalingGroupCommand";
|
|
44
|
-
import {
|
|
45
|
-
CreateLaunchConfigurationCommand,
|
|
46
|
-
CreateLaunchConfigurationCommandInput,
|
|
47
|
-
CreateLaunchConfigurationCommandOutput,
|
|
48
|
-
} from "./commands/CreateLaunchConfigurationCommand";
|
|
49
|
-
import {
|
|
50
|
-
CreateOrUpdateTagsCommand,
|
|
51
|
-
CreateOrUpdateTagsCommandInput,
|
|
52
|
-
CreateOrUpdateTagsCommandOutput,
|
|
53
|
-
} from "./commands/CreateOrUpdateTagsCommand";
|
|
54
|
-
import {
|
|
55
|
-
DeleteAutoScalingGroupCommand,
|
|
56
|
-
DeleteAutoScalingGroupCommandInput,
|
|
57
|
-
DeleteAutoScalingGroupCommandOutput,
|
|
58
|
-
} from "./commands/DeleteAutoScalingGroupCommand";
|
|
59
|
-
import {
|
|
60
|
-
DeleteLaunchConfigurationCommand,
|
|
61
|
-
DeleteLaunchConfigurationCommandInput,
|
|
62
|
-
DeleteLaunchConfigurationCommandOutput,
|
|
63
|
-
} from "./commands/DeleteLaunchConfigurationCommand";
|
|
64
|
-
import {
|
|
65
|
-
DeleteLifecycleHookCommand,
|
|
66
|
-
DeleteLifecycleHookCommandInput,
|
|
67
|
-
DeleteLifecycleHookCommandOutput,
|
|
68
|
-
} from "./commands/DeleteLifecycleHookCommand";
|
|
69
|
-
import {
|
|
70
|
-
DeleteNotificationConfigurationCommand,
|
|
71
|
-
DeleteNotificationConfigurationCommandInput,
|
|
72
|
-
DeleteNotificationConfigurationCommandOutput,
|
|
73
|
-
} from "./commands/DeleteNotificationConfigurationCommand";
|
|
74
|
-
import {
|
|
75
|
-
DeletePolicyCommand,
|
|
76
|
-
DeletePolicyCommandInput,
|
|
77
|
-
DeletePolicyCommandOutput,
|
|
78
|
-
} from "./commands/DeletePolicyCommand";
|
|
79
|
-
import {
|
|
80
|
-
DeleteScheduledActionCommand,
|
|
81
|
-
DeleteScheduledActionCommandInput,
|
|
82
|
-
DeleteScheduledActionCommandOutput,
|
|
83
|
-
} from "./commands/DeleteScheduledActionCommand";
|
|
84
|
-
import { DeleteTagsCommand, DeleteTagsCommandInput, DeleteTagsCommandOutput } from "./commands/DeleteTagsCommand";
|
|
85
|
-
import {
|
|
86
|
-
DeleteWarmPoolCommand,
|
|
87
|
-
DeleteWarmPoolCommandInput,
|
|
88
|
-
DeleteWarmPoolCommandOutput,
|
|
89
|
-
} from "./commands/DeleteWarmPoolCommand";
|
|
90
|
-
import {
|
|
91
|
-
DescribeAccountLimitsCommand,
|
|
92
|
-
DescribeAccountLimitsCommandInput,
|
|
93
|
-
DescribeAccountLimitsCommandOutput,
|
|
94
|
-
} from "./commands/DescribeAccountLimitsCommand";
|
|
95
|
-
import {
|
|
96
|
-
DescribeAdjustmentTypesCommand,
|
|
97
|
-
DescribeAdjustmentTypesCommandInput,
|
|
98
|
-
DescribeAdjustmentTypesCommandOutput,
|
|
99
|
-
} from "./commands/DescribeAdjustmentTypesCommand";
|
|
100
|
-
import {
|
|
101
|
-
DescribeAutoScalingGroupsCommand,
|
|
102
|
-
DescribeAutoScalingGroupsCommandInput,
|
|
103
|
-
DescribeAutoScalingGroupsCommandOutput,
|
|
104
|
-
} from "./commands/DescribeAutoScalingGroupsCommand";
|
|
105
|
-
import {
|
|
106
|
-
DescribeAutoScalingInstancesCommand,
|
|
107
|
-
DescribeAutoScalingInstancesCommandInput,
|
|
108
|
-
DescribeAutoScalingInstancesCommandOutput,
|
|
109
|
-
} from "./commands/DescribeAutoScalingInstancesCommand";
|
|
110
|
-
import {
|
|
111
|
-
DescribeAutoScalingNotificationTypesCommand,
|
|
112
|
-
DescribeAutoScalingNotificationTypesCommandInput,
|
|
113
|
-
DescribeAutoScalingNotificationTypesCommandOutput,
|
|
114
|
-
} from "./commands/DescribeAutoScalingNotificationTypesCommand";
|
|
115
|
-
import {
|
|
116
|
-
DescribeInstanceRefreshesCommand,
|
|
117
|
-
DescribeInstanceRefreshesCommandInput,
|
|
118
|
-
DescribeInstanceRefreshesCommandOutput,
|
|
119
|
-
} from "./commands/DescribeInstanceRefreshesCommand";
|
|
120
|
-
import {
|
|
121
|
-
DescribeLaunchConfigurationsCommand,
|
|
122
|
-
DescribeLaunchConfigurationsCommandInput,
|
|
123
|
-
DescribeLaunchConfigurationsCommandOutput,
|
|
124
|
-
} from "./commands/DescribeLaunchConfigurationsCommand";
|
|
125
|
-
import {
|
|
126
|
-
DescribeLifecycleHooksCommand,
|
|
127
|
-
DescribeLifecycleHooksCommandInput,
|
|
128
|
-
DescribeLifecycleHooksCommandOutput,
|
|
129
|
-
} from "./commands/DescribeLifecycleHooksCommand";
|
|
130
|
-
import {
|
|
131
|
-
DescribeLifecycleHookTypesCommand,
|
|
132
|
-
DescribeLifecycleHookTypesCommandInput,
|
|
133
|
-
DescribeLifecycleHookTypesCommandOutput,
|
|
134
|
-
} from "./commands/DescribeLifecycleHookTypesCommand";
|
|
135
|
-
import {
|
|
136
|
-
DescribeLoadBalancersCommand,
|
|
137
|
-
DescribeLoadBalancersCommandInput,
|
|
138
|
-
DescribeLoadBalancersCommandOutput,
|
|
139
|
-
} from "./commands/DescribeLoadBalancersCommand";
|
|
140
|
-
import {
|
|
141
|
-
DescribeLoadBalancerTargetGroupsCommand,
|
|
142
|
-
DescribeLoadBalancerTargetGroupsCommandInput,
|
|
143
|
-
DescribeLoadBalancerTargetGroupsCommandOutput,
|
|
144
|
-
} from "./commands/DescribeLoadBalancerTargetGroupsCommand";
|
|
145
|
-
import {
|
|
146
|
-
DescribeMetricCollectionTypesCommand,
|
|
147
|
-
DescribeMetricCollectionTypesCommandInput,
|
|
148
|
-
DescribeMetricCollectionTypesCommandOutput,
|
|
149
|
-
} from "./commands/DescribeMetricCollectionTypesCommand";
|
|
150
|
-
import {
|
|
151
|
-
DescribeNotificationConfigurationsCommand,
|
|
152
|
-
DescribeNotificationConfigurationsCommandInput,
|
|
153
|
-
DescribeNotificationConfigurationsCommandOutput,
|
|
154
|
-
} from "./commands/DescribeNotificationConfigurationsCommand";
|
|
155
|
-
import {
|
|
156
|
-
DescribePoliciesCommand,
|
|
157
|
-
DescribePoliciesCommandInput,
|
|
158
|
-
DescribePoliciesCommandOutput,
|
|
159
|
-
} from "./commands/DescribePoliciesCommand";
|
|
160
|
-
import {
|
|
161
|
-
DescribeScalingActivitiesCommand,
|
|
162
|
-
DescribeScalingActivitiesCommandInput,
|
|
163
|
-
DescribeScalingActivitiesCommandOutput,
|
|
164
|
-
} from "./commands/DescribeScalingActivitiesCommand";
|
|
165
|
-
import {
|
|
166
|
-
DescribeScalingProcessTypesCommand,
|
|
167
|
-
DescribeScalingProcessTypesCommandInput,
|
|
168
|
-
DescribeScalingProcessTypesCommandOutput,
|
|
169
|
-
} from "./commands/DescribeScalingProcessTypesCommand";
|
|
170
|
-
import {
|
|
171
|
-
DescribeScheduledActionsCommand,
|
|
172
|
-
DescribeScheduledActionsCommandInput,
|
|
173
|
-
DescribeScheduledActionsCommandOutput,
|
|
174
|
-
} from "./commands/DescribeScheduledActionsCommand";
|
|
175
|
-
import {
|
|
176
|
-
DescribeTagsCommand,
|
|
177
|
-
DescribeTagsCommandInput,
|
|
178
|
-
DescribeTagsCommandOutput,
|
|
179
|
-
} from "./commands/DescribeTagsCommand";
|
|
180
|
-
import {
|
|
181
|
-
DescribeTerminationPolicyTypesCommand,
|
|
182
|
-
DescribeTerminationPolicyTypesCommandInput,
|
|
183
|
-
DescribeTerminationPolicyTypesCommandOutput,
|
|
184
|
-
} from "./commands/DescribeTerminationPolicyTypesCommand";
|
|
185
|
-
import {
|
|
186
|
-
DescribeWarmPoolCommand,
|
|
187
|
-
DescribeWarmPoolCommandInput,
|
|
188
|
-
DescribeWarmPoolCommandOutput,
|
|
189
|
-
} from "./commands/DescribeWarmPoolCommand";
|
|
190
|
-
import {
|
|
191
|
-
DetachInstancesCommand,
|
|
192
|
-
DetachInstancesCommandInput,
|
|
193
|
-
DetachInstancesCommandOutput,
|
|
194
|
-
} from "./commands/DetachInstancesCommand";
|
|
195
|
-
import {
|
|
196
|
-
DetachLoadBalancersCommand,
|
|
197
|
-
DetachLoadBalancersCommandInput,
|
|
198
|
-
DetachLoadBalancersCommandOutput,
|
|
199
|
-
} from "./commands/DetachLoadBalancersCommand";
|
|
200
|
-
import {
|
|
201
|
-
DetachLoadBalancerTargetGroupsCommand,
|
|
202
|
-
DetachLoadBalancerTargetGroupsCommandInput,
|
|
203
|
-
DetachLoadBalancerTargetGroupsCommandOutput,
|
|
204
|
-
} from "./commands/DetachLoadBalancerTargetGroupsCommand";
|
|
205
|
-
import {
|
|
206
|
-
DisableMetricsCollectionCommand,
|
|
207
|
-
DisableMetricsCollectionCommandInput,
|
|
208
|
-
DisableMetricsCollectionCommandOutput,
|
|
209
|
-
} from "./commands/DisableMetricsCollectionCommand";
|
|
210
|
-
import {
|
|
211
|
-
EnableMetricsCollectionCommand,
|
|
212
|
-
EnableMetricsCollectionCommandInput,
|
|
213
|
-
EnableMetricsCollectionCommandOutput,
|
|
214
|
-
} from "./commands/EnableMetricsCollectionCommand";
|
|
215
|
-
import {
|
|
216
|
-
EnterStandbyCommand,
|
|
217
|
-
EnterStandbyCommandInput,
|
|
218
|
-
EnterStandbyCommandOutput,
|
|
219
|
-
} from "./commands/EnterStandbyCommand";
|
|
220
|
-
import {
|
|
221
|
-
ExecutePolicyCommand,
|
|
222
|
-
ExecutePolicyCommandInput,
|
|
223
|
-
ExecutePolicyCommandOutput,
|
|
224
|
-
} from "./commands/ExecutePolicyCommand";
|
|
225
|
-
import { ExitStandbyCommand, ExitStandbyCommandInput, ExitStandbyCommandOutput } from "./commands/ExitStandbyCommand";
|
|
226
|
-
import {
|
|
227
|
-
GetPredictiveScalingForecastCommand,
|
|
228
|
-
GetPredictiveScalingForecastCommandInput,
|
|
229
|
-
GetPredictiveScalingForecastCommandOutput,
|
|
230
|
-
} from "./commands/GetPredictiveScalingForecastCommand";
|
|
231
|
-
import {
|
|
232
|
-
PutLifecycleHookCommand,
|
|
233
|
-
PutLifecycleHookCommandInput,
|
|
234
|
-
PutLifecycleHookCommandOutput,
|
|
235
|
-
} from "./commands/PutLifecycleHookCommand";
|
|
236
|
-
import {
|
|
237
|
-
PutNotificationConfigurationCommand,
|
|
238
|
-
PutNotificationConfigurationCommandInput,
|
|
239
|
-
PutNotificationConfigurationCommandOutput,
|
|
240
|
-
} from "./commands/PutNotificationConfigurationCommand";
|
|
241
|
-
import {
|
|
242
|
-
PutScalingPolicyCommand,
|
|
243
|
-
PutScalingPolicyCommandInput,
|
|
244
|
-
PutScalingPolicyCommandOutput,
|
|
245
|
-
} from "./commands/PutScalingPolicyCommand";
|
|
246
|
-
import {
|
|
247
|
-
PutScheduledUpdateGroupActionCommand,
|
|
248
|
-
PutScheduledUpdateGroupActionCommandInput,
|
|
249
|
-
PutScheduledUpdateGroupActionCommandOutput,
|
|
250
|
-
} from "./commands/PutScheduledUpdateGroupActionCommand";
|
|
251
|
-
import { PutWarmPoolCommand, PutWarmPoolCommandInput, PutWarmPoolCommandOutput } from "./commands/PutWarmPoolCommand";
|
|
252
|
-
import {
|
|
253
|
-
RecordLifecycleActionHeartbeatCommand,
|
|
254
|
-
RecordLifecycleActionHeartbeatCommandInput,
|
|
255
|
-
RecordLifecycleActionHeartbeatCommandOutput,
|
|
256
|
-
} from "./commands/RecordLifecycleActionHeartbeatCommand";
|
|
257
|
-
import {
|
|
258
|
-
ResumeProcessesCommand,
|
|
259
|
-
ResumeProcessesCommandInput,
|
|
260
|
-
ResumeProcessesCommandOutput,
|
|
261
|
-
} from "./commands/ResumeProcessesCommand";
|
|
262
|
-
import {
|
|
263
|
-
SetDesiredCapacityCommand,
|
|
264
|
-
SetDesiredCapacityCommandInput,
|
|
265
|
-
SetDesiredCapacityCommandOutput,
|
|
266
|
-
} from "./commands/SetDesiredCapacityCommand";
|
|
267
|
-
import {
|
|
268
|
-
SetInstanceHealthCommand,
|
|
269
|
-
SetInstanceHealthCommandInput,
|
|
270
|
-
SetInstanceHealthCommandOutput,
|
|
271
|
-
} from "./commands/SetInstanceHealthCommand";
|
|
272
|
-
import {
|
|
273
|
-
SetInstanceProtectionCommand,
|
|
274
|
-
SetInstanceProtectionCommandInput,
|
|
275
|
-
SetInstanceProtectionCommandOutput,
|
|
276
|
-
} from "./commands/SetInstanceProtectionCommand";
|
|
277
|
-
import {
|
|
278
|
-
StartInstanceRefreshCommand,
|
|
279
|
-
StartInstanceRefreshCommandInput,
|
|
280
|
-
StartInstanceRefreshCommandOutput,
|
|
281
|
-
} from "./commands/StartInstanceRefreshCommand";
|
|
282
|
-
import {
|
|
283
|
-
SuspendProcessesCommand,
|
|
284
|
-
SuspendProcessesCommandInput,
|
|
285
|
-
SuspendProcessesCommandOutput,
|
|
286
|
-
} from "./commands/SuspendProcessesCommand";
|
|
287
|
-
import {
|
|
288
|
-
TerminateInstanceInAutoScalingGroupCommand,
|
|
289
|
-
TerminateInstanceInAutoScalingGroupCommandInput,
|
|
290
|
-
TerminateInstanceInAutoScalingGroupCommandOutput,
|
|
291
|
-
} from "./commands/TerminateInstanceInAutoScalingGroupCommand";
|
|
292
|
-
import {
|
|
293
|
-
UpdateAutoScalingGroupCommand,
|
|
294
|
-
UpdateAutoScalingGroupCommandInput,
|
|
295
|
-
UpdateAutoScalingGroupCommandOutput,
|
|
296
|
-
} from "./commands/UpdateAutoScalingGroupCommand";
|
|
297
|
-
|
|
298
|
-
/**
|
|
299
|
-
* <fullname>Amazon EC2 Auto Scaling</fullname>
|
|
300
|
-
*
|
|
301
|
-
*
|
|
302
|
-
*
|
|
303
|
-
*
|
|
304
|
-
*
|
|
305
|
-
*
|
|
306
|
-
*
|
|
307
|
-
* <p>Amazon EC2 Auto Scaling is designed to automatically launch or terminate EC2 instances
|
|
308
|
-
* based on user-defined scaling policies, scheduled actions, and health checks.</p>
|
|
309
|
-
* <p>For more information about Amazon EC2 Auto Scaling, see the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/what-is-amazon-ec2-auto-scaling.html">Amazon EC2 Auto Scaling User Guide</a>. For information about granting IAM users required
|
|
310
|
-
* permissions for calls to Amazon EC2 Auto Scaling, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/ec2-auto-scaling-api-permissions.html">Granting
|
|
311
|
-
* IAM users required permissions for Amazon EC2 Auto Scaling resources</a> in the
|
|
312
|
-
* <i>Amazon EC2 Auto Scaling API Reference</i>.</p>
|
|
313
|
-
*/
|
|
314
|
-
export class AutoScaling extends AutoScalingClient {
|
|
315
|
-
/**
|
|
316
|
-
* <p>Attaches one or more EC2 instances to the specified Auto Scaling group.</p>
|
|
317
|
-
* <p>When you attach instances, Amazon EC2 Auto Scaling increases the desired capacity of the group by the
|
|
318
|
-
* number of instances being attached. If the number of instances being attached plus the
|
|
319
|
-
* desired capacity of the group exceeds the maximum size of the group, the operation
|
|
320
|
-
* fails.</p>
|
|
321
|
-
* <p>If there is a Classic Load Balancer attached to your Auto Scaling group, the instances are
|
|
322
|
-
* also registered with the load balancer. If there are target groups attached to your Auto Scaling
|
|
323
|
-
* group, the instances are also registered with the target groups.</p>
|
|
324
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/attach-instance-asg.html">Attach EC2 instances to
|
|
325
|
-
* your Auto Scaling group</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
326
|
-
*/
|
|
327
|
-
public attachInstances(
|
|
328
|
-
args: AttachInstancesCommandInput,
|
|
329
|
-
options?: __HttpHandlerOptions
|
|
330
|
-
): Promise<AttachInstancesCommandOutput>;
|
|
331
|
-
public attachInstances(
|
|
332
|
-
args: AttachInstancesCommandInput,
|
|
333
|
-
cb: (err: any, data?: AttachInstancesCommandOutput) => void
|
|
334
|
-
): void;
|
|
335
|
-
public attachInstances(
|
|
336
|
-
args: AttachInstancesCommandInput,
|
|
337
|
-
options: __HttpHandlerOptions,
|
|
338
|
-
cb: (err: any, data?: AttachInstancesCommandOutput) => void
|
|
339
|
-
): void;
|
|
340
|
-
public attachInstances(
|
|
341
|
-
args: AttachInstancesCommandInput,
|
|
342
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AttachInstancesCommandOutput) => void),
|
|
343
|
-
cb?: (err: any, data?: AttachInstancesCommandOutput) => void
|
|
344
|
-
): Promise<AttachInstancesCommandOutput> | void {
|
|
345
|
-
const command = new AttachInstancesCommand(args);
|
|
346
|
-
if (typeof optionsOrCb === "function") {
|
|
347
|
-
this.send(command, optionsOrCb);
|
|
348
|
-
} else if (typeof cb === "function") {
|
|
349
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
350
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
351
|
-
} else {
|
|
352
|
-
return this.send(command, optionsOrCb);
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
/**
|
|
357
|
-
* <note>
|
|
358
|
-
* <p>To attach an Application Load Balancer, Network Load Balancer, or Gateway Load
|
|
359
|
-
* Balancer, use the <a>AttachLoadBalancerTargetGroups</a> API operation
|
|
360
|
-
* instead.</p>
|
|
361
|
-
* </note>
|
|
362
|
-
* <p>Attaches one or more Classic Load Balancers to the specified Auto Scaling group. Amazon EC2 Auto Scaling
|
|
363
|
-
* registers the running instances with these Classic Load Balancers.</p>
|
|
364
|
-
* <p>To describe the load balancers for an Auto Scaling group, call the <a>DescribeLoadBalancers</a> API. To detach the load balancer from the Auto Scaling
|
|
365
|
-
* group, call the <a>DetachLoadBalancers</a> API.</p>
|
|
366
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Elastic Load Balancing and
|
|
367
|
-
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
|
|
368
|
-
*/
|
|
369
|
-
public attachLoadBalancers(
|
|
370
|
-
args: AttachLoadBalancersCommandInput,
|
|
371
|
-
options?: __HttpHandlerOptions
|
|
372
|
-
): Promise<AttachLoadBalancersCommandOutput>;
|
|
373
|
-
public attachLoadBalancers(
|
|
374
|
-
args: AttachLoadBalancersCommandInput,
|
|
375
|
-
cb: (err: any, data?: AttachLoadBalancersCommandOutput) => void
|
|
376
|
-
): void;
|
|
377
|
-
public attachLoadBalancers(
|
|
378
|
-
args: AttachLoadBalancersCommandInput,
|
|
379
|
-
options: __HttpHandlerOptions,
|
|
380
|
-
cb: (err: any, data?: AttachLoadBalancersCommandOutput) => void
|
|
381
|
-
): void;
|
|
382
|
-
public attachLoadBalancers(
|
|
383
|
-
args: AttachLoadBalancersCommandInput,
|
|
384
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AttachLoadBalancersCommandOutput) => void),
|
|
385
|
-
cb?: (err: any, data?: AttachLoadBalancersCommandOutput) => void
|
|
386
|
-
): Promise<AttachLoadBalancersCommandOutput> | void {
|
|
387
|
-
const command = new AttachLoadBalancersCommand(args);
|
|
388
|
-
if (typeof optionsOrCb === "function") {
|
|
389
|
-
this.send(command, optionsOrCb);
|
|
390
|
-
} else if (typeof cb === "function") {
|
|
391
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
392
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
393
|
-
} else {
|
|
394
|
-
return this.send(command, optionsOrCb);
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
/**
|
|
399
|
-
* <p>Attaches one or more target groups to the specified Auto Scaling group.</p>
|
|
400
|
-
* <p>This operation is used with the following load balancer types: </p>
|
|
401
|
-
* <ul>
|
|
402
|
-
* <li>
|
|
403
|
-
* <p> Application Load Balancer - Operates at the application layer (layer 7) and
|
|
404
|
-
* supports HTTP and HTTPS. </p>
|
|
405
|
-
* </li>
|
|
406
|
-
* <li>
|
|
407
|
-
* <p> Network Load Balancer - Operates at the transport layer (layer 4) and
|
|
408
|
-
* supports TCP, TLS, and UDP. </p>
|
|
409
|
-
* </li>
|
|
410
|
-
* <li>
|
|
411
|
-
* <p> Gateway Load Balancer - Operates at the network layer (layer 3).</p>
|
|
412
|
-
* </li>
|
|
413
|
-
* </ul>
|
|
414
|
-
* <p>To describe the target groups for an Auto Scaling group, call the <a>DescribeLoadBalancerTargetGroups</a> API. To detach the target group from
|
|
415
|
-
* the Auto Scaling group, call the <a>DetachLoadBalancerTargetGroups</a> API.</p>
|
|
416
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Elastic Load Balancing and
|
|
417
|
-
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
|
|
418
|
-
*/
|
|
419
|
-
public attachLoadBalancerTargetGroups(
|
|
420
|
-
args: AttachLoadBalancerTargetGroupsCommandInput,
|
|
421
|
-
options?: __HttpHandlerOptions
|
|
422
|
-
): Promise<AttachLoadBalancerTargetGroupsCommandOutput>;
|
|
423
|
-
public attachLoadBalancerTargetGroups(
|
|
424
|
-
args: AttachLoadBalancerTargetGroupsCommandInput,
|
|
425
|
-
cb: (err: any, data?: AttachLoadBalancerTargetGroupsCommandOutput) => void
|
|
426
|
-
): void;
|
|
427
|
-
public attachLoadBalancerTargetGroups(
|
|
428
|
-
args: AttachLoadBalancerTargetGroupsCommandInput,
|
|
429
|
-
options: __HttpHandlerOptions,
|
|
430
|
-
cb: (err: any, data?: AttachLoadBalancerTargetGroupsCommandOutput) => void
|
|
431
|
-
): void;
|
|
432
|
-
public attachLoadBalancerTargetGroups(
|
|
433
|
-
args: AttachLoadBalancerTargetGroupsCommandInput,
|
|
434
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AttachLoadBalancerTargetGroupsCommandOutput) => void),
|
|
435
|
-
cb?: (err: any, data?: AttachLoadBalancerTargetGroupsCommandOutput) => void
|
|
436
|
-
): Promise<AttachLoadBalancerTargetGroupsCommandOutput> | void {
|
|
437
|
-
const command = new AttachLoadBalancerTargetGroupsCommand(args);
|
|
438
|
-
if (typeof optionsOrCb === "function") {
|
|
439
|
-
this.send(command, optionsOrCb);
|
|
440
|
-
} else if (typeof cb === "function") {
|
|
441
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
442
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
443
|
-
} else {
|
|
444
|
-
return this.send(command, optionsOrCb);
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
/**
|
|
449
|
-
* <p>Deletes one or more scheduled actions for the specified Auto Scaling group.</p>
|
|
450
|
-
*/
|
|
451
|
-
public batchDeleteScheduledAction(
|
|
452
|
-
args: BatchDeleteScheduledActionCommandInput,
|
|
453
|
-
options?: __HttpHandlerOptions
|
|
454
|
-
): Promise<BatchDeleteScheduledActionCommandOutput>;
|
|
455
|
-
public batchDeleteScheduledAction(
|
|
456
|
-
args: BatchDeleteScheduledActionCommandInput,
|
|
457
|
-
cb: (err: any, data?: BatchDeleteScheduledActionCommandOutput) => void
|
|
458
|
-
): void;
|
|
459
|
-
public batchDeleteScheduledAction(
|
|
460
|
-
args: BatchDeleteScheduledActionCommandInput,
|
|
461
|
-
options: __HttpHandlerOptions,
|
|
462
|
-
cb: (err: any, data?: BatchDeleteScheduledActionCommandOutput) => void
|
|
463
|
-
): void;
|
|
464
|
-
public batchDeleteScheduledAction(
|
|
465
|
-
args: BatchDeleteScheduledActionCommandInput,
|
|
466
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchDeleteScheduledActionCommandOutput) => void),
|
|
467
|
-
cb?: (err: any, data?: BatchDeleteScheduledActionCommandOutput) => void
|
|
468
|
-
): Promise<BatchDeleteScheduledActionCommandOutput> | void {
|
|
469
|
-
const command = new BatchDeleteScheduledActionCommand(args);
|
|
470
|
-
if (typeof optionsOrCb === "function") {
|
|
471
|
-
this.send(command, optionsOrCb);
|
|
472
|
-
} else if (typeof cb === "function") {
|
|
473
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
474
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
475
|
-
} else {
|
|
476
|
-
return this.send(command, optionsOrCb);
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
/**
|
|
481
|
-
* <p>Creates or updates one or more scheduled scaling actions for an Auto Scaling group.</p>
|
|
482
|
-
*/
|
|
483
|
-
public batchPutScheduledUpdateGroupAction(
|
|
484
|
-
args: BatchPutScheduledUpdateGroupActionCommandInput,
|
|
485
|
-
options?: __HttpHandlerOptions
|
|
486
|
-
): Promise<BatchPutScheduledUpdateGroupActionCommandOutput>;
|
|
487
|
-
public batchPutScheduledUpdateGroupAction(
|
|
488
|
-
args: BatchPutScheduledUpdateGroupActionCommandInput,
|
|
489
|
-
cb: (err: any, data?: BatchPutScheduledUpdateGroupActionCommandOutput) => void
|
|
490
|
-
): void;
|
|
491
|
-
public batchPutScheduledUpdateGroupAction(
|
|
492
|
-
args: BatchPutScheduledUpdateGroupActionCommandInput,
|
|
493
|
-
options: __HttpHandlerOptions,
|
|
494
|
-
cb: (err: any, data?: BatchPutScheduledUpdateGroupActionCommandOutput) => void
|
|
495
|
-
): void;
|
|
496
|
-
public batchPutScheduledUpdateGroupAction(
|
|
497
|
-
args: BatchPutScheduledUpdateGroupActionCommandInput,
|
|
498
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchPutScheduledUpdateGroupActionCommandOutput) => void),
|
|
499
|
-
cb?: (err: any, data?: BatchPutScheduledUpdateGroupActionCommandOutput) => void
|
|
500
|
-
): Promise<BatchPutScheduledUpdateGroupActionCommandOutput> | void {
|
|
501
|
-
const command = new BatchPutScheduledUpdateGroupActionCommand(args);
|
|
502
|
-
if (typeof optionsOrCb === "function") {
|
|
503
|
-
this.send(command, optionsOrCb);
|
|
504
|
-
} else if (typeof cb === "function") {
|
|
505
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
506
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
507
|
-
} else {
|
|
508
|
-
return this.send(command, optionsOrCb);
|
|
509
|
-
}
|
|
510
|
-
}
|
|
511
|
-
|
|
512
|
-
/**
|
|
513
|
-
* <p>Cancels an instance refresh operation in progress. Cancellation does not roll back any
|
|
514
|
-
* replacements that have already been completed, but it prevents new replacements from
|
|
515
|
-
* being started. </p>
|
|
516
|
-
* <p>This operation is part of the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html">instance refresh
|
|
517
|
-
* feature</a> in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group
|
|
518
|
-
* after you make configuration changes.</p>
|
|
519
|
-
*/
|
|
520
|
-
public cancelInstanceRefresh(
|
|
521
|
-
args: CancelInstanceRefreshCommandInput,
|
|
522
|
-
options?: __HttpHandlerOptions
|
|
523
|
-
): Promise<CancelInstanceRefreshCommandOutput>;
|
|
524
|
-
public cancelInstanceRefresh(
|
|
525
|
-
args: CancelInstanceRefreshCommandInput,
|
|
526
|
-
cb: (err: any, data?: CancelInstanceRefreshCommandOutput) => void
|
|
527
|
-
): void;
|
|
528
|
-
public cancelInstanceRefresh(
|
|
529
|
-
args: CancelInstanceRefreshCommandInput,
|
|
530
|
-
options: __HttpHandlerOptions,
|
|
531
|
-
cb: (err: any, data?: CancelInstanceRefreshCommandOutput) => void
|
|
532
|
-
): void;
|
|
533
|
-
public cancelInstanceRefresh(
|
|
534
|
-
args: CancelInstanceRefreshCommandInput,
|
|
535
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CancelInstanceRefreshCommandOutput) => void),
|
|
536
|
-
cb?: (err: any, data?: CancelInstanceRefreshCommandOutput) => void
|
|
537
|
-
): Promise<CancelInstanceRefreshCommandOutput> | void {
|
|
538
|
-
const command = new CancelInstanceRefreshCommand(args);
|
|
539
|
-
if (typeof optionsOrCb === "function") {
|
|
540
|
-
this.send(command, optionsOrCb);
|
|
541
|
-
} else if (typeof cb === "function") {
|
|
542
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
543
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
544
|
-
} else {
|
|
545
|
-
return this.send(command, optionsOrCb);
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
|
|
549
|
-
/**
|
|
550
|
-
* <p>Completes the lifecycle action for the specified token or instance with the specified
|
|
551
|
-
* result.</p>
|
|
552
|
-
* <p>This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling
|
|
553
|
-
* group:</p>
|
|
554
|
-
* <ol>
|
|
555
|
-
* <li>
|
|
556
|
-
* <p>(Optional) Create a Lambda function and a rule that allows CloudWatch Events to
|
|
557
|
-
* invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates
|
|
558
|
-
* instances.</p>
|
|
559
|
-
* </li>
|
|
560
|
-
* <li>
|
|
561
|
-
* <p>(Optional) Create a notification target and an IAM role. The target can be
|
|
562
|
-
* either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to
|
|
563
|
-
* publish lifecycle notifications to the target.</p>
|
|
564
|
-
* </li>
|
|
565
|
-
* <li>
|
|
566
|
-
* <p>Create the lifecycle hook. Specify whether the hook is used when the instances
|
|
567
|
-
* launch or terminate.</p>
|
|
568
|
-
* </li>
|
|
569
|
-
* <li>
|
|
570
|
-
* <p>If you need more time, record the lifecycle action heartbeat to keep the
|
|
571
|
-
* instance in a pending state.</p>
|
|
572
|
-
* </li>
|
|
573
|
-
* <li>
|
|
574
|
-
* <p>
|
|
575
|
-
* <b>If you finish before the timeout period ends, complete the
|
|
576
|
-
* lifecycle action.</b>
|
|
577
|
-
* </p>
|
|
578
|
-
* </li>
|
|
579
|
-
* </ol>
|
|
580
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html">Amazon EC2 Auto Scaling lifecycle
|
|
581
|
-
* hooks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
582
|
-
*/
|
|
583
|
-
public completeLifecycleAction(
|
|
584
|
-
args: CompleteLifecycleActionCommandInput,
|
|
585
|
-
options?: __HttpHandlerOptions
|
|
586
|
-
): Promise<CompleteLifecycleActionCommandOutput>;
|
|
587
|
-
public completeLifecycleAction(
|
|
588
|
-
args: CompleteLifecycleActionCommandInput,
|
|
589
|
-
cb: (err: any, data?: CompleteLifecycleActionCommandOutput) => void
|
|
590
|
-
): void;
|
|
591
|
-
public completeLifecycleAction(
|
|
592
|
-
args: CompleteLifecycleActionCommandInput,
|
|
593
|
-
options: __HttpHandlerOptions,
|
|
594
|
-
cb: (err: any, data?: CompleteLifecycleActionCommandOutput) => void
|
|
595
|
-
): void;
|
|
596
|
-
public completeLifecycleAction(
|
|
597
|
-
args: CompleteLifecycleActionCommandInput,
|
|
598
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CompleteLifecycleActionCommandOutput) => void),
|
|
599
|
-
cb?: (err: any, data?: CompleteLifecycleActionCommandOutput) => void
|
|
600
|
-
): Promise<CompleteLifecycleActionCommandOutput> | void {
|
|
601
|
-
const command = new CompleteLifecycleActionCommand(args);
|
|
602
|
-
if (typeof optionsOrCb === "function") {
|
|
603
|
-
this.send(command, optionsOrCb);
|
|
604
|
-
} else if (typeof cb === "function") {
|
|
605
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
606
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
607
|
-
} else {
|
|
608
|
-
return this.send(command, optionsOrCb);
|
|
609
|
-
}
|
|
610
|
-
}
|
|
611
|
-
|
|
612
|
-
/**
|
|
613
|
-
* <p>
|
|
614
|
-
* <b>We strongly recommend using a launch template when calling this operation to ensure full functionality for Amazon EC2 Auto Scaling and Amazon EC2.</b>
|
|
615
|
-
* </p>
|
|
616
|
-
* <p>Creates an Auto Scaling group with
|
|
617
|
-
* the specified name and attributes. </p>
|
|
618
|
-
* <p>If you exceed your maximum limit of Auto Scaling groups, the call fails. To query this limit,
|
|
619
|
-
* call the <a>DescribeAccountLimits</a> API. For information about updating
|
|
620
|
-
* this limit, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-account-limits.html">Amazon EC2 Auto Scaling service
|
|
621
|
-
* quotas</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
622
|
-
* <p>For introductory exercises for creating an Auto Scaling group, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/GettingStartedTutorial.html">Getting started with
|
|
623
|
-
* Amazon EC2 Auto Scaling</a> and <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-register-lbs-with-asg.html">Tutorial: Set up a
|
|
624
|
-
* scaled and load-balanced application</a> in the
|
|
625
|
-
* <i>Amazon EC2 Auto Scaling User Guide</i>. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroup.html">Auto Scaling
|
|
626
|
-
* groups</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
627
|
-
* <p>Every Auto Scaling group has three size parameters (<code>DesiredCapacity</code>,
|
|
628
|
-
* <code>MaxSize</code>, and <code>MinSize</code>). Usually, you set these sizes based
|
|
629
|
-
* on a specific number of instances. However, if you configure a mixed instances policy
|
|
630
|
-
* that defines weights for the instance types, you must specify these sizes with the same
|
|
631
|
-
* units that you use for weighting instances.</p>
|
|
632
|
-
*/
|
|
633
|
-
public createAutoScalingGroup(
|
|
634
|
-
args: CreateAutoScalingGroupCommandInput,
|
|
635
|
-
options?: __HttpHandlerOptions
|
|
636
|
-
): Promise<CreateAutoScalingGroupCommandOutput>;
|
|
637
|
-
public createAutoScalingGroup(
|
|
638
|
-
args: CreateAutoScalingGroupCommandInput,
|
|
639
|
-
cb: (err: any, data?: CreateAutoScalingGroupCommandOutput) => void
|
|
640
|
-
): void;
|
|
641
|
-
public createAutoScalingGroup(
|
|
642
|
-
args: CreateAutoScalingGroupCommandInput,
|
|
643
|
-
options: __HttpHandlerOptions,
|
|
644
|
-
cb: (err: any, data?: CreateAutoScalingGroupCommandOutput) => void
|
|
645
|
-
): void;
|
|
646
|
-
public createAutoScalingGroup(
|
|
647
|
-
args: CreateAutoScalingGroupCommandInput,
|
|
648
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateAutoScalingGroupCommandOutput) => void),
|
|
649
|
-
cb?: (err: any, data?: CreateAutoScalingGroupCommandOutput) => void
|
|
650
|
-
): Promise<CreateAutoScalingGroupCommandOutput> | void {
|
|
651
|
-
const command = new CreateAutoScalingGroupCommand(args);
|
|
652
|
-
if (typeof optionsOrCb === "function") {
|
|
653
|
-
this.send(command, optionsOrCb);
|
|
654
|
-
} else if (typeof cb === "function") {
|
|
655
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
656
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
657
|
-
} else {
|
|
658
|
-
return this.send(command, optionsOrCb);
|
|
659
|
-
}
|
|
660
|
-
}
|
|
661
|
-
|
|
662
|
-
/**
|
|
663
|
-
* <p>Creates a launch configuration.</p>
|
|
664
|
-
* <p>If you exceed your maximum limit of launch configurations, the call fails. To query
|
|
665
|
-
* this limit, call the <a>DescribeAccountLimits</a> API. For information about
|
|
666
|
-
* updating this limit, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-account-limits.html">Amazon EC2 Auto Scaling service
|
|
667
|
-
* quotas</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
668
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/LaunchConfiguration.html">Launch
|
|
669
|
-
* configurations</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
670
|
-
*/
|
|
671
|
-
public createLaunchConfiguration(
|
|
672
|
-
args: CreateLaunchConfigurationCommandInput,
|
|
673
|
-
options?: __HttpHandlerOptions
|
|
674
|
-
): Promise<CreateLaunchConfigurationCommandOutput>;
|
|
675
|
-
public createLaunchConfiguration(
|
|
676
|
-
args: CreateLaunchConfigurationCommandInput,
|
|
677
|
-
cb: (err: any, data?: CreateLaunchConfigurationCommandOutput) => void
|
|
678
|
-
): void;
|
|
679
|
-
public createLaunchConfiguration(
|
|
680
|
-
args: CreateLaunchConfigurationCommandInput,
|
|
681
|
-
options: __HttpHandlerOptions,
|
|
682
|
-
cb: (err: any, data?: CreateLaunchConfigurationCommandOutput) => void
|
|
683
|
-
): void;
|
|
684
|
-
public createLaunchConfiguration(
|
|
685
|
-
args: CreateLaunchConfigurationCommandInput,
|
|
686
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateLaunchConfigurationCommandOutput) => void),
|
|
687
|
-
cb?: (err: any, data?: CreateLaunchConfigurationCommandOutput) => void
|
|
688
|
-
): Promise<CreateLaunchConfigurationCommandOutput> | void {
|
|
689
|
-
const command = new CreateLaunchConfigurationCommand(args);
|
|
690
|
-
if (typeof optionsOrCb === "function") {
|
|
691
|
-
this.send(command, optionsOrCb);
|
|
692
|
-
} else if (typeof cb === "function") {
|
|
693
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
694
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
695
|
-
} else {
|
|
696
|
-
return this.send(command, optionsOrCb);
|
|
697
|
-
}
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
/**
|
|
701
|
-
* <p>Creates or updates tags for the specified Auto Scaling group.</p>
|
|
702
|
-
* <p>When you specify a tag with a key that already exists, the operation overwrites the
|
|
703
|
-
* previous tag definition, and you do not get an error message.</p>
|
|
704
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-tagging.html">Tagging Auto Scaling groups and
|
|
705
|
-
* instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
706
|
-
*/
|
|
707
|
-
public createOrUpdateTags(
|
|
708
|
-
args: CreateOrUpdateTagsCommandInput,
|
|
709
|
-
options?: __HttpHandlerOptions
|
|
710
|
-
): Promise<CreateOrUpdateTagsCommandOutput>;
|
|
711
|
-
public createOrUpdateTags(
|
|
712
|
-
args: CreateOrUpdateTagsCommandInput,
|
|
713
|
-
cb: (err: any, data?: CreateOrUpdateTagsCommandOutput) => void
|
|
714
|
-
): void;
|
|
715
|
-
public createOrUpdateTags(
|
|
716
|
-
args: CreateOrUpdateTagsCommandInput,
|
|
717
|
-
options: __HttpHandlerOptions,
|
|
718
|
-
cb: (err: any, data?: CreateOrUpdateTagsCommandOutput) => void
|
|
719
|
-
): void;
|
|
720
|
-
public createOrUpdateTags(
|
|
721
|
-
args: CreateOrUpdateTagsCommandInput,
|
|
722
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateOrUpdateTagsCommandOutput) => void),
|
|
723
|
-
cb?: (err: any, data?: CreateOrUpdateTagsCommandOutput) => void
|
|
724
|
-
): Promise<CreateOrUpdateTagsCommandOutput> | void {
|
|
725
|
-
const command = new CreateOrUpdateTagsCommand(args);
|
|
726
|
-
if (typeof optionsOrCb === "function") {
|
|
727
|
-
this.send(command, optionsOrCb);
|
|
728
|
-
} else if (typeof cb === "function") {
|
|
729
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
730
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
731
|
-
} else {
|
|
732
|
-
return this.send(command, optionsOrCb);
|
|
733
|
-
}
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
/**
|
|
737
|
-
* <p>Deletes the specified Auto Scaling group.</p>
|
|
738
|
-
* <p>If the group has instances or scaling activities in progress, you must specify the
|
|
739
|
-
* option to force the deletion in order for it to succeed.</p>
|
|
740
|
-
* <p>If the group has policies, deleting the group deletes the policies, the underlying
|
|
741
|
-
* alarm actions, and any alarm that no longer has an associated action.</p>
|
|
742
|
-
* <p>To remove instances from the Auto Scaling group before deleting it, call the <a>DetachInstances</a> API with the list of instances and the option to
|
|
743
|
-
* decrement the desired capacity. This ensures that Amazon EC2 Auto Scaling does not launch replacement
|
|
744
|
-
* instances.</p>
|
|
745
|
-
* <p>To terminate all instances before deleting the Auto Scaling group, call the <a>UpdateAutoScalingGroup</a> API and set the minimum size and desired capacity
|
|
746
|
-
* of the Auto Scaling group to zero.</p>
|
|
747
|
-
*/
|
|
748
|
-
public deleteAutoScalingGroup(
|
|
749
|
-
args: DeleteAutoScalingGroupCommandInput,
|
|
750
|
-
options?: __HttpHandlerOptions
|
|
751
|
-
): Promise<DeleteAutoScalingGroupCommandOutput>;
|
|
752
|
-
public deleteAutoScalingGroup(
|
|
753
|
-
args: DeleteAutoScalingGroupCommandInput,
|
|
754
|
-
cb: (err: any, data?: DeleteAutoScalingGroupCommandOutput) => void
|
|
755
|
-
): void;
|
|
756
|
-
public deleteAutoScalingGroup(
|
|
757
|
-
args: DeleteAutoScalingGroupCommandInput,
|
|
758
|
-
options: __HttpHandlerOptions,
|
|
759
|
-
cb: (err: any, data?: DeleteAutoScalingGroupCommandOutput) => void
|
|
760
|
-
): void;
|
|
761
|
-
public deleteAutoScalingGroup(
|
|
762
|
-
args: DeleteAutoScalingGroupCommandInput,
|
|
763
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteAutoScalingGroupCommandOutput) => void),
|
|
764
|
-
cb?: (err: any, data?: DeleteAutoScalingGroupCommandOutput) => void
|
|
765
|
-
): Promise<DeleteAutoScalingGroupCommandOutput> | void {
|
|
766
|
-
const command = new DeleteAutoScalingGroupCommand(args);
|
|
767
|
-
if (typeof optionsOrCb === "function") {
|
|
768
|
-
this.send(command, optionsOrCb);
|
|
769
|
-
} else if (typeof cb === "function") {
|
|
770
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
771
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
772
|
-
} else {
|
|
773
|
-
return this.send(command, optionsOrCb);
|
|
774
|
-
}
|
|
775
|
-
}
|
|
776
|
-
|
|
777
|
-
/**
|
|
778
|
-
* <p>Deletes the specified launch configuration.</p>
|
|
779
|
-
* <p>The launch configuration must not be attached to an Auto Scaling group. When this call
|
|
780
|
-
* completes, the launch configuration is no longer available for use.</p>
|
|
781
|
-
*/
|
|
782
|
-
public deleteLaunchConfiguration(
|
|
783
|
-
args: DeleteLaunchConfigurationCommandInput,
|
|
784
|
-
options?: __HttpHandlerOptions
|
|
785
|
-
): Promise<DeleteLaunchConfigurationCommandOutput>;
|
|
786
|
-
public deleteLaunchConfiguration(
|
|
787
|
-
args: DeleteLaunchConfigurationCommandInput,
|
|
788
|
-
cb: (err: any, data?: DeleteLaunchConfigurationCommandOutput) => void
|
|
789
|
-
): void;
|
|
790
|
-
public deleteLaunchConfiguration(
|
|
791
|
-
args: DeleteLaunchConfigurationCommandInput,
|
|
792
|
-
options: __HttpHandlerOptions,
|
|
793
|
-
cb: (err: any, data?: DeleteLaunchConfigurationCommandOutput) => void
|
|
794
|
-
): void;
|
|
795
|
-
public deleteLaunchConfiguration(
|
|
796
|
-
args: DeleteLaunchConfigurationCommandInput,
|
|
797
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteLaunchConfigurationCommandOutput) => void),
|
|
798
|
-
cb?: (err: any, data?: DeleteLaunchConfigurationCommandOutput) => void
|
|
799
|
-
): Promise<DeleteLaunchConfigurationCommandOutput> | void {
|
|
800
|
-
const command = new DeleteLaunchConfigurationCommand(args);
|
|
801
|
-
if (typeof optionsOrCb === "function") {
|
|
802
|
-
this.send(command, optionsOrCb);
|
|
803
|
-
} else if (typeof cb === "function") {
|
|
804
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
805
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
806
|
-
} else {
|
|
807
|
-
return this.send(command, optionsOrCb);
|
|
808
|
-
}
|
|
809
|
-
}
|
|
810
|
-
|
|
811
|
-
/**
|
|
812
|
-
* <p>Deletes the specified lifecycle hook.</p>
|
|
813
|
-
* <p>If there are any outstanding lifecycle actions, they are completed first
|
|
814
|
-
* (<code>ABANDON</code> for launching instances, <code>CONTINUE</code> for terminating
|
|
815
|
-
* instances).</p>
|
|
816
|
-
*/
|
|
817
|
-
public deleteLifecycleHook(
|
|
818
|
-
args: DeleteLifecycleHookCommandInput,
|
|
819
|
-
options?: __HttpHandlerOptions
|
|
820
|
-
): Promise<DeleteLifecycleHookCommandOutput>;
|
|
821
|
-
public deleteLifecycleHook(
|
|
822
|
-
args: DeleteLifecycleHookCommandInput,
|
|
823
|
-
cb: (err: any, data?: DeleteLifecycleHookCommandOutput) => void
|
|
824
|
-
): void;
|
|
825
|
-
public deleteLifecycleHook(
|
|
826
|
-
args: DeleteLifecycleHookCommandInput,
|
|
827
|
-
options: __HttpHandlerOptions,
|
|
828
|
-
cb: (err: any, data?: DeleteLifecycleHookCommandOutput) => void
|
|
829
|
-
): void;
|
|
830
|
-
public deleteLifecycleHook(
|
|
831
|
-
args: DeleteLifecycleHookCommandInput,
|
|
832
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteLifecycleHookCommandOutput) => void),
|
|
833
|
-
cb?: (err: any, data?: DeleteLifecycleHookCommandOutput) => void
|
|
834
|
-
): Promise<DeleteLifecycleHookCommandOutput> | void {
|
|
835
|
-
const command = new DeleteLifecycleHookCommand(args);
|
|
836
|
-
if (typeof optionsOrCb === "function") {
|
|
837
|
-
this.send(command, optionsOrCb);
|
|
838
|
-
} else if (typeof cb === "function") {
|
|
839
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
840
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
841
|
-
} else {
|
|
842
|
-
return this.send(command, optionsOrCb);
|
|
843
|
-
}
|
|
844
|
-
}
|
|
845
|
-
|
|
846
|
-
/**
|
|
847
|
-
* <p>Deletes the specified notification.</p>
|
|
848
|
-
*/
|
|
849
|
-
public deleteNotificationConfiguration(
|
|
850
|
-
args: DeleteNotificationConfigurationCommandInput,
|
|
851
|
-
options?: __HttpHandlerOptions
|
|
852
|
-
): Promise<DeleteNotificationConfigurationCommandOutput>;
|
|
853
|
-
public deleteNotificationConfiguration(
|
|
854
|
-
args: DeleteNotificationConfigurationCommandInput,
|
|
855
|
-
cb: (err: any, data?: DeleteNotificationConfigurationCommandOutput) => void
|
|
856
|
-
): void;
|
|
857
|
-
public deleteNotificationConfiguration(
|
|
858
|
-
args: DeleteNotificationConfigurationCommandInput,
|
|
859
|
-
options: __HttpHandlerOptions,
|
|
860
|
-
cb: (err: any, data?: DeleteNotificationConfigurationCommandOutput) => void
|
|
861
|
-
): void;
|
|
862
|
-
public deleteNotificationConfiguration(
|
|
863
|
-
args: DeleteNotificationConfigurationCommandInput,
|
|
864
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteNotificationConfigurationCommandOutput) => void),
|
|
865
|
-
cb?: (err: any, data?: DeleteNotificationConfigurationCommandOutput) => void
|
|
866
|
-
): Promise<DeleteNotificationConfigurationCommandOutput> | void {
|
|
867
|
-
const command = new DeleteNotificationConfigurationCommand(args);
|
|
868
|
-
if (typeof optionsOrCb === "function") {
|
|
869
|
-
this.send(command, optionsOrCb);
|
|
870
|
-
} else if (typeof cb === "function") {
|
|
871
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
872
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
873
|
-
} else {
|
|
874
|
-
return this.send(command, optionsOrCb);
|
|
875
|
-
}
|
|
876
|
-
}
|
|
877
|
-
|
|
878
|
-
/**
|
|
879
|
-
* <p>Deletes the specified scaling policy.</p>
|
|
880
|
-
* <p>Deleting either a step scaling policy or a simple scaling policy deletes the
|
|
881
|
-
* underlying alarm action, but does not delete the alarm, even if it no longer has an
|
|
882
|
-
* associated action.</p>
|
|
883
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/deleting-scaling-policy.html">Deleting a scaling
|
|
884
|
-
* policy</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
885
|
-
*/
|
|
886
|
-
public deletePolicy(
|
|
887
|
-
args: DeletePolicyCommandInput,
|
|
888
|
-
options?: __HttpHandlerOptions
|
|
889
|
-
): Promise<DeletePolicyCommandOutput>;
|
|
890
|
-
public deletePolicy(args: DeletePolicyCommandInput, cb: (err: any, data?: DeletePolicyCommandOutput) => void): void;
|
|
891
|
-
public deletePolicy(
|
|
892
|
-
args: DeletePolicyCommandInput,
|
|
893
|
-
options: __HttpHandlerOptions,
|
|
894
|
-
cb: (err: any, data?: DeletePolicyCommandOutput) => void
|
|
895
|
-
): void;
|
|
896
|
-
public deletePolicy(
|
|
897
|
-
args: DeletePolicyCommandInput,
|
|
898
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeletePolicyCommandOutput) => void),
|
|
899
|
-
cb?: (err: any, data?: DeletePolicyCommandOutput) => void
|
|
900
|
-
): Promise<DeletePolicyCommandOutput> | void {
|
|
901
|
-
const command = new DeletePolicyCommand(args);
|
|
902
|
-
if (typeof optionsOrCb === "function") {
|
|
903
|
-
this.send(command, optionsOrCb);
|
|
904
|
-
} else if (typeof cb === "function") {
|
|
905
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
906
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
907
|
-
} else {
|
|
908
|
-
return this.send(command, optionsOrCb);
|
|
909
|
-
}
|
|
910
|
-
}
|
|
911
|
-
|
|
912
|
-
/**
|
|
913
|
-
* <p>Deletes the specified scheduled action.</p>
|
|
914
|
-
*/
|
|
915
|
-
public deleteScheduledAction(
|
|
916
|
-
args: DeleteScheduledActionCommandInput,
|
|
917
|
-
options?: __HttpHandlerOptions
|
|
918
|
-
): Promise<DeleteScheduledActionCommandOutput>;
|
|
919
|
-
public deleteScheduledAction(
|
|
920
|
-
args: DeleteScheduledActionCommandInput,
|
|
921
|
-
cb: (err: any, data?: DeleteScheduledActionCommandOutput) => void
|
|
922
|
-
): void;
|
|
923
|
-
public deleteScheduledAction(
|
|
924
|
-
args: DeleteScheduledActionCommandInput,
|
|
925
|
-
options: __HttpHandlerOptions,
|
|
926
|
-
cb: (err: any, data?: DeleteScheduledActionCommandOutput) => void
|
|
927
|
-
): void;
|
|
928
|
-
public deleteScheduledAction(
|
|
929
|
-
args: DeleteScheduledActionCommandInput,
|
|
930
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteScheduledActionCommandOutput) => void),
|
|
931
|
-
cb?: (err: any, data?: DeleteScheduledActionCommandOutput) => void
|
|
932
|
-
): Promise<DeleteScheduledActionCommandOutput> | void {
|
|
933
|
-
const command = new DeleteScheduledActionCommand(args);
|
|
934
|
-
if (typeof optionsOrCb === "function") {
|
|
935
|
-
this.send(command, optionsOrCb);
|
|
936
|
-
} else if (typeof cb === "function") {
|
|
937
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
938
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
939
|
-
} else {
|
|
940
|
-
return this.send(command, optionsOrCb);
|
|
941
|
-
}
|
|
942
|
-
}
|
|
943
|
-
|
|
944
|
-
/**
|
|
945
|
-
* <p>Deletes the specified tags.</p>
|
|
946
|
-
*/
|
|
947
|
-
public deleteTags(args: DeleteTagsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTagsCommandOutput>;
|
|
948
|
-
public deleteTags(args: DeleteTagsCommandInput, cb: (err: any, data?: DeleteTagsCommandOutput) => void): void;
|
|
949
|
-
public deleteTags(
|
|
950
|
-
args: DeleteTagsCommandInput,
|
|
951
|
-
options: __HttpHandlerOptions,
|
|
952
|
-
cb: (err: any, data?: DeleteTagsCommandOutput) => void
|
|
953
|
-
): void;
|
|
954
|
-
public deleteTags(
|
|
955
|
-
args: DeleteTagsCommandInput,
|
|
956
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteTagsCommandOutput) => void),
|
|
957
|
-
cb?: (err: any, data?: DeleteTagsCommandOutput) => void
|
|
958
|
-
): Promise<DeleteTagsCommandOutput> | void {
|
|
959
|
-
const command = new DeleteTagsCommand(args);
|
|
960
|
-
if (typeof optionsOrCb === "function") {
|
|
961
|
-
this.send(command, optionsOrCb);
|
|
962
|
-
} else if (typeof cb === "function") {
|
|
963
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
964
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
965
|
-
} else {
|
|
966
|
-
return this.send(command, optionsOrCb);
|
|
967
|
-
}
|
|
968
|
-
}
|
|
969
|
-
|
|
970
|
-
/**
|
|
971
|
-
* <p>Deletes the warm pool for the specified Auto Scaling group.</p>
|
|
972
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html">Warm pools for
|
|
973
|
-
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
974
|
-
*/
|
|
975
|
-
public deleteWarmPool(
|
|
976
|
-
args: DeleteWarmPoolCommandInput,
|
|
977
|
-
options?: __HttpHandlerOptions
|
|
978
|
-
): Promise<DeleteWarmPoolCommandOutput>;
|
|
979
|
-
public deleteWarmPool(
|
|
980
|
-
args: DeleteWarmPoolCommandInput,
|
|
981
|
-
cb: (err: any, data?: DeleteWarmPoolCommandOutput) => void
|
|
982
|
-
): void;
|
|
983
|
-
public deleteWarmPool(
|
|
984
|
-
args: DeleteWarmPoolCommandInput,
|
|
985
|
-
options: __HttpHandlerOptions,
|
|
986
|
-
cb: (err: any, data?: DeleteWarmPoolCommandOutput) => void
|
|
987
|
-
): void;
|
|
988
|
-
public deleteWarmPool(
|
|
989
|
-
args: DeleteWarmPoolCommandInput,
|
|
990
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteWarmPoolCommandOutput) => void),
|
|
991
|
-
cb?: (err: any, data?: DeleteWarmPoolCommandOutput) => void
|
|
992
|
-
): Promise<DeleteWarmPoolCommandOutput> | void {
|
|
993
|
-
const command = new DeleteWarmPoolCommand(args);
|
|
994
|
-
if (typeof optionsOrCb === "function") {
|
|
995
|
-
this.send(command, optionsOrCb);
|
|
996
|
-
} else if (typeof cb === "function") {
|
|
997
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
998
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
999
|
-
} else {
|
|
1000
|
-
return this.send(command, optionsOrCb);
|
|
1001
|
-
}
|
|
1002
|
-
}
|
|
1003
|
-
|
|
1004
|
-
/**
|
|
1005
|
-
* <p>Describes the current Amazon EC2 Auto Scaling resource quotas for your account.</p>
|
|
1006
|
-
* <p>When you establish an account, the account has initial quotas on the maximum
|
|
1007
|
-
* number of Auto Scaling groups and launch configurations that you can create in a given Region.
|
|
1008
|
-
* For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-account-limits.html">Amazon EC2 Auto Scaling service
|
|
1009
|
-
* quotas</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
1010
|
-
*/
|
|
1011
|
-
public describeAccountLimits(
|
|
1012
|
-
args: DescribeAccountLimitsCommandInput,
|
|
1013
|
-
options?: __HttpHandlerOptions
|
|
1014
|
-
): Promise<DescribeAccountLimitsCommandOutput>;
|
|
1015
|
-
public describeAccountLimits(
|
|
1016
|
-
args: DescribeAccountLimitsCommandInput,
|
|
1017
|
-
cb: (err: any, data?: DescribeAccountLimitsCommandOutput) => void
|
|
1018
|
-
): void;
|
|
1019
|
-
public describeAccountLimits(
|
|
1020
|
-
args: DescribeAccountLimitsCommandInput,
|
|
1021
|
-
options: __HttpHandlerOptions,
|
|
1022
|
-
cb: (err: any, data?: DescribeAccountLimitsCommandOutput) => void
|
|
1023
|
-
): void;
|
|
1024
|
-
public describeAccountLimits(
|
|
1025
|
-
args: DescribeAccountLimitsCommandInput,
|
|
1026
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeAccountLimitsCommandOutput) => void),
|
|
1027
|
-
cb?: (err: any, data?: DescribeAccountLimitsCommandOutput) => void
|
|
1028
|
-
): Promise<DescribeAccountLimitsCommandOutput> | void {
|
|
1029
|
-
const command = new DescribeAccountLimitsCommand(args);
|
|
1030
|
-
if (typeof optionsOrCb === "function") {
|
|
1031
|
-
this.send(command, optionsOrCb);
|
|
1032
|
-
} else if (typeof cb === "function") {
|
|
1033
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1034
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1035
|
-
} else {
|
|
1036
|
-
return this.send(command, optionsOrCb);
|
|
1037
|
-
}
|
|
1038
|
-
}
|
|
1039
|
-
|
|
1040
|
-
/**
|
|
1041
|
-
* <p>Describes the available adjustment types for step scaling and simple scaling
|
|
1042
|
-
* policies.</p>
|
|
1043
|
-
* <p>The following adjustment types are supported:</p>
|
|
1044
|
-
* <ul>
|
|
1045
|
-
* <li>
|
|
1046
|
-
* <p>
|
|
1047
|
-
* <code>ChangeInCapacity</code>
|
|
1048
|
-
* </p>
|
|
1049
|
-
* </li>
|
|
1050
|
-
* <li>
|
|
1051
|
-
* <p>
|
|
1052
|
-
* <code>ExactCapacity</code>
|
|
1053
|
-
* </p>
|
|
1054
|
-
* </li>
|
|
1055
|
-
* <li>
|
|
1056
|
-
* <p>
|
|
1057
|
-
* <code>PercentChangeInCapacity</code>
|
|
1058
|
-
* </p>
|
|
1059
|
-
* </li>
|
|
1060
|
-
* </ul>
|
|
1061
|
-
*/
|
|
1062
|
-
public describeAdjustmentTypes(
|
|
1063
|
-
args: DescribeAdjustmentTypesCommandInput,
|
|
1064
|
-
options?: __HttpHandlerOptions
|
|
1065
|
-
): Promise<DescribeAdjustmentTypesCommandOutput>;
|
|
1066
|
-
public describeAdjustmentTypes(
|
|
1067
|
-
args: DescribeAdjustmentTypesCommandInput,
|
|
1068
|
-
cb: (err: any, data?: DescribeAdjustmentTypesCommandOutput) => void
|
|
1069
|
-
): void;
|
|
1070
|
-
public describeAdjustmentTypes(
|
|
1071
|
-
args: DescribeAdjustmentTypesCommandInput,
|
|
1072
|
-
options: __HttpHandlerOptions,
|
|
1073
|
-
cb: (err: any, data?: DescribeAdjustmentTypesCommandOutput) => void
|
|
1074
|
-
): void;
|
|
1075
|
-
public describeAdjustmentTypes(
|
|
1076
|
-
args: DescribeAdjustmentTypesCommandInput,
|
|
1077
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeAdjustmentTypesCommandOutput) => void),
|
|
1078
|
-
cb?: (err: any, data?: DescribeAdjustmentTypesCommandOutput) => void
|
|
1079
|
-
): Promise<DescribeAdjustmentTypesCommandOutput> | void {
|
|
1080
|
-
const command = new DescribeAdjustmentTypesCommand(args);
|
|
1081
|
-
if (typeof optionsOrCb === "function") {
|
|
1082
|
-
this.send(command, optionsOrCb);
|
|
1083
|
-
} else if (typeof cb === "function") {
|
|
1084
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1085
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1086
|
-
} else {
|
|
1087
|
-
return this.send(command, optionsOrCb);
|
|
1088
|
-
}
|
|
1089
|
-
}
|
|
1090
|
-
|
|
1091
|
-
/**
|
|
1092
|
-
* <p>Gets information about the Auto Scaling groups in the account and Region.</p>
|
|
1093
|
-
* <p>This operation returns information about instances in Auto Scaling groups. To retrieve
|
|
1094
|
-
* information about the instances in a warm pool, you must call the <a>DescribeWarmPool</a> API. </p>
|
|
1095
|
-
*/
|
|
1096
|
-
public describeAutoScalingGroups(
|
|
1097
|
-
args: DescribeAutoScalingGroupsCommandInput,
|
|
1098
|
-
options?: __HttpHandlerOptions
|
|
1099
|
-
): Promise<DescribeAutoScalingGroupsCommandOutput>;
|
|
1100
|
-
public describeAutoScalingGroups(
|
|
1101
|
-
args: DescribeAutoScalingGroupsCommandInput,
|
|
1102
|
-
cb: (err: any, data?: DescribeAutoScalingGroupsCommandOutput) => void
|
|
1103
|
-
): void;
|
|
1104
|
-
public describeAutoScalingGroups(
|
|
1105
|
-
args: DescribeAutoScalingGroupsCommandInput,
|
|
1106
|
-
options: __HttpHandlerOptions,
|
|
1107
|
-
cb: (err: any, data?: DescribeAutoScalingGroupsCommandOutput) => void
|
|
1108
|
-
): void;
|
|
1109
|
-
public describeAutoScalingGroups(
|
|
1110
|
-
args: DescribeAutoScalingGroupsCommandInput,
|
|
1111
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeAutoScalingGroupsCommandOutput) => void),
|
|
1112
|
-
cb?: (err: any, data?: DescribeAutoScalingGroupsCommandOutput) => void
|
|
1113
|
-
): Promise<DescribeAutoScalingGroupsCommandOutput> | void {
|
|
1114
|
-
const command = new DescribeAutoScalingGroupsCommand(args);
|
|
1115
|
-
if (typeof optionsOrCb === "function") {
|
|
1116
|
-
this.send(command, optionsOrCb);
|
|
1117
|
-
} else if (typeof cb === "function") {
|
|
1118
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1119
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1120
|
-
} else {
|
|
1121
|
-
return this.send(command, optionsOrCb);
|
|
1122
|
-
}
|
|
1123
|
-
}
|
|
1124
|
-
|
|
1125
|
-
/**
|
|
1126
|
-
* <p>Gets information about the Auto Scaling instances in the account and Region.</p>
|
|
1127
|
-
*/
|
|
1128
|
-
public describeAutoScalingInstances(
|
|
1129
|
-
args: DescribeAutoScalingInstancesCommandInput,
|
|
1130
|
-
options?: __HttpHandlerOptions
|
|
1131
|
-
): Promise<DescribeAutoScalingInstancesCommandOutput>;
|
|
1132
|
-
public describeAutoScalingInstances(
|
|
1133
|
-
args: DescribeAutoScalingInstancesCommandInput,
|
|
1134
|
-
cb: (err: any, data?: DescribeAutoScalingInstancesCommandOutput) => void
|
|
1135
|
-
): void;
|
|
1136
|
-
public describeAutoScalingInstances(
|
|
1137
|
-
args: DescribeAutoScalingInstancesCommandInput,
|
|
1138
|
-
options: __HttpHandlerOptions,
|
|
1139
|
-
cb: (err: any, data?: DescribeAutoScalingInstancesCommandOutput) => void
|
|
1140
|
-
): void;
|
|
1141
|
-
public describeAutoScalingInstances(
|
|
1142
|
-
args: DescribeAutoScalingInstancesCommandInput,
|
|
1143
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeAutoScalingInstancesCommandOutput) => void),
|
|
1144
|
-
cb?: (err: any, data?: DescribeAutoScalingInstancesCommandOutput) => void
|
|
1145
|
-
): Promise<DescribeAutoScalingInstancesCommandOutput> | void {
|
|
1146
|
-
const command = new DescribeAutoScalingInstancesCommand(args);
|
|
1147
|
-
if (typeof optionsOrCb === "function") {
|
|
1148
|
-
this.send(command, optionsOrCb);
|
|
1149
|
-
} else if (typeof cb === "function") {
|
|
1150
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1151
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1152
|
-
} else {
|
|
1153
|
-
return this.send(command, optionsOrCb);
|
|
1154
|
-
}
|
|
1155
|
-
}
|
|
1156
|
-
|
|
1157
|
-
/**
|
|
1158
|
-
* <p>Describes the notification types that are supported by Amazon EC2 Auto Scaling.</p>
|
|
1159
|
-
*/
|
|
1160
|
-
public describeAutoScalingNotificationTypes(
|
|
1161
|
-
args: DescribeAutoScalingNotificationTypesCommandInput,
|
|
1162
|
-
options?: __HttpHandlerOptions
|
|
1163
|
-
): Promise<DescribeAutoScalingNotificationTypesCommandOutput>;
|
|
1164
|
-
public describeAutoScalingNotificationTypes(
|
|
1165
|
-
args: DescribeAutoScalingNotificationTypesCommandInput,
|
|
1166
|
-
cb: (err: any, data?: DescribeAutoScalingNotificationTypesCommandOutput) => void
|
|
1167
|
-
): void;
|
|
1168
|
-
public describeAutoScalingNotificationTypes(
|
|
1169
|
-
args: DescribeAutoScalingNotificationTypesCommandInput,
|
|
1170
|
-
options: __HttpHandlerOptions,
|
|
1171
|
-
cb: (err: any, data?: DescribeAutoScalingNotificationTypesCommandOutput) => void
|
|
1172
|
-
): void;
|
|
1173
|
-
public describeAutoScalingNotificationTypes(
|
|
1174
|
-
args: DescribeAutoScalingNotificationTypesCommandInput,
|
|
1175
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeAutoScalingNotificationTypesCommandOutput) => void),
|
|
1176
|
-
cb?: (err: any, data?: DescribeAutoScalingNotificationTypesCommandOutput) => void
|
|
1177
|
-
): Promise<DescribeAutoScalingNotificationTypesCommandOutput> | void {
|
|
1178
|
-
const command = new DescribeAutoScalingNotificationTypesCommand(args);
|
|
1179
|
-
if (typeof optionsOrCb === "function") {
|
|
1180
|
-
this.send(command, optionsOrCb);
|
|
1181
|
-
} else if (typeof cb === "function") {
|
|
1182
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1183
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1184
|
-
} else {
|
|
1185
|
-
return this.send(command, optionsOrCb);
|
|
1186
|
-
}
|
|
1187
|
-
}
|
|
1188
|
-
|
|
1189
|
-
/**
|
|
1190
|
-
* <p>Gets information about the instance refreshes for the specified Auto Scaling group.</p>
|
|
1191
|
-
* <p>This operation is part of the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html">instance refresh
|
|
1192
|
-
* feature</a> in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group
|
|
1193
|
-
* after you make configuration changes.</p>
|
|
1194
|
-
* <p>To help you determine the status of an instance refresh, this operation returns
|
|
1195
|
-
* information about the instance refreshes you previously initiated, including their
|
|
1196
|
-
* status, end time, the percentage of the instance refresh that is complete, and the
|
|
1197
|
-
* number of instances remaining to update before the instance refresh is complete.</p>
|
|
1198
|
-
* <p>The following are the possible statuses: </p>
|
|
1199
|
-
* <ul>
|
|
1200
|
-
* <li>
|
|
1201
|
-
* <p>
|
|
1202
|
-
* <code>Pending</code> - The request was created, but the operation has not
|
|
1203
|
-
* started.</p>
|
|
1204
|
-
* </li>
|
|
1205
|
-
* <li>
|
|
1206
|
-
* <p>
|
|
1207
|
-
* <code>InProgress</code> - The operation is in progress.</p>
|
|
1208
|
-
* </li>
|
|
1209
|
-
* <li>
|
|
1210
|
-
* <p>
|
|
1211
|
-
* <code>Successful</code> - The operation completed successfully.</p>
|
|
1212
|
-
* </li>
|
|
1213
|
-
* <li>
|
|
1214
|
-
* <p>
|
|
1215
|
-
* <code>Failed</code> - The operation failed to complete. You can troubleshoot
|
|
1216
|
-
* using the status reason and the scaling activities. </p>
|
|
1217
|
-
* </li>
|
|
1218
|
-
* <li>
|
|
1219
|
-
* <p>
|
|
1220
|
-
* <code>Cancelling</code> - An ongoing operation is being cancelled.
|
|
1221
|
-
* Cancellation does not roll back any replacements that have already been
|
|
1222
|
-
* completed, but it prevents new replacements from being started. </p>
|
|
1223
|
-
* </li>
|
|
1224
|
-
* <li>
|
|
1225
|
-
* <p>
|
|
1226
|
-
* <code>Cancelled</code> - The operation is cancelled. </p>
|
|
1227
|
-
* </li>
|
|
1228
|
-
* </ul>
|
|
1229
|
-
*/
|
|
1230
|
-
public describeInstanceRefreshes(
|
|
1231
|
-
args: DescribeInstanceRefreshesCommandInput,
|
|
1232
|
-
options?: __HttpHandlerOptions
|
|
1233
|
-
): Promise<DescribeInstanceRefreshesCommandOutput>;
|
|
1234
|
-
public describeInstanceRefreshes(
|
|
1235
|
-
args: DescribeInstanceRefreshesCommandInput,
|
|
1236
|
-
cb: (err: any, data?: DescribeInstanceRefreshesCommandOutput) => void
|
|
1237
|
-
): void;
|
|
1238
|
-
public describeInstanceRefreshes(
|
|
1239
|
-
args: DescribeInstanceRefreshesCommandInput,
|
|
1240
|
-
options: __HttpHandlerOptions,
|
|
1241
|
-
cb: (err: any, data?: DescribeInstanceRefreshesCommandOutput) => void
|
|
1242
|
-
): void;
|
|
1243
|
-
public describeInstanceRefreshes(
|
|
1244
|
-
args: DescribeInstanceRefreshesCommandInput,
|
|
1245
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeInstanceRefreshesCommandOutput) => void),
|
|
1246
|
-
cb?: (err: any, data?: DescribeInstanceRefreshesCommandOutput) => void
|
|
1247
|
-
): Promise<DescribeInstanceRefreshesCommandOutput> | void {
|
|
1248
|
-
const command = new DescribeInstanceRefreshesCommand(args);
|
|
1249
|
-
if (typeof optionsOrCb === "function") {
|
|
1250
|
-
this.send(command, optionsOrCb);
|
|
1251
|
-
} else if (typeof cb === "function") {
|
|
1252
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1253
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1254
|
-
} else {
|
|
1255
|
-
return this.send(command, optionsOrCb);
|
|
1256
|
-
}
|
|
1257
|
-
}
|
|
1258
|
-
|
|
1259
|
-
/**
|
|
1260
|
-
* <p>Gets information about the launch configurations in the account and Region.</p>
|
|
1261
|
-
*/
|
|
1262
|
-
public describeLaunchConfigurations(
|
|
1263
|
-
args: DescribeLaunchConfigurationsCommandInput,
|
|
1264
|
-
options?: __HttpHandlerOptions
|
|
1265
|
-
): Promise<DescribeLaunchConfigurationsCommandOutput>;
|
|
1266
|
-
public describeLaunchConfigurations(
|
|
1267
|
-
args: DescribeLaunchConfigurationsCommandInput,
|
|
1268
|
-
cb: (err: any, data?: DescribeLaunchConfigurationsCommandOutput) => void
|
|
1269
|
-
): void;
|
|
1270
|
-
public describeLaunchConfigurations(
|
|
1271
|
-
args: DescribeLaunchConfigurationsCommandInput,
|
|
1272
|
-
options: __HttpHandlerOptions,
|
|
1273
|
-
cb: (err: any, data?: DescribeLaunchConfigurationsCommandOutput) => void
|
|
1274
|
-
): void;
|
|
1275
|
-
public describeLaunchConfigurations(
|
|
1276
|
-
args: DescribeLaunchConfigurationsCommandInput,
|
|
1277
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeLaunchConfigurationsCommandOutput) => void),
|
|
1278
|
-
cb?: (err: any, data?: DescribeLaunchConfigurationsCommandOutput) => void
|
|
1279
|
-
): Promise<DescribeLaunchConfigurationsCommandOutput> | void {
|
|
1280
|
-
const command = new DescribeLaunchConfigurationsCommand(args);
|
|
1281
|
-
if (typeof optionsOrCb === "function") {
|
|
1282
|
-
this.send(command, optionsOrCb);
|
|
1283
|
-
} else if (typeof cb === "function") {
|
|
1284
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1285
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1286
|
-
} else {
|
|
1287
|
-
return this.send(command, optionsOrCb);
|
|
1288
|
-
}
|
|
1289
|
-
}
|
|
1290
|
-
|
|
1291
|
-
/**
|
|
1292
|
-
* <p>Gets information about the lifecycle hooks for the specified Auto Scaling group.</p>
|
|
1293
|
-
*/
|
|
1294
|
-
public describeLifecycleHooks(
|
|
1295
|
-
args: DescribeLifecycleHooksCommandInput,
|
|
1296
|
-
options?: __HttpHandlerOptions
|
|
1297
|
-
): Promise<DescribeLifecycleHooksCommandOutput>;
|
|
1298
|
-
public describeLifecycleHooks(
|
|
1299
|
-
args: DescribeLifecycleHooksCommandInput,
|
|
1300
|
-
cb: (err: any, data?: DescribeLifecycleHooksCommandOutput) => void
|
|
1301
|
-
): void;
|
|
1302
|
-
public describeLifecycleHooks(
|
|
1303
|
-
args: DescribeLifecycleHooksCommandInput,
|
|
1304
|
-
options: __HttpHandlerOptions,
|
|
1305
|
-
cb: (err: any, data?: DescribeLifecycleHooksCommandOutput) => void
|
|
1306
|
-
): void;
|
|
1307
|
-
public describeLifecycleHooks(
|
|
1308
|
-
args: DescribeLifecycleHooksCommandInput,
|
|
1309
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeLifecycleHooksCommandOutput) => void),
|
|
1310
|
-
cb?: (err: any, data?: DescribeLifecycleHooksCommandOutput) => void
|
|
1311
|
-
): Promise<DescribeLifecycleHooksCommandOutput> | void {
|
|
1312
|
-
const command = new DescribeLifecycleHooksCommand(args);
|
|
1313
|
-
if (typeof optionsOrCb === "function") {
|
|
1314
|
-
this.send(command, optionsOrCb);
|
|
1315
|
-
} else if (typeof cb === "function") {
|
|
1316
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1317
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1318
|
-
} else {
|
|
1319
|
-
return this.send(command, optionsOrCb);
|
|
1320
|
-
}
|
|
1321
|
-
}
|
|
1322
|
-
|
|
1323
|
-
/**
|
|
1324
|
-
* <p>Describes the available types of lifecycle hooks.</p>
|
|
1325
|
-
* <p>The following hook types are supported:</p>
|
|
1326
|
-
* <ul>
|
|
1327
|
-
* <li>
|
|
1328
|
-
* <p>
|
|
1329
|
-
* <code>autoscaling:EC2_INSTANCE_LAUNCHING</code>
|
|
1330
|
-
* </p>
|
|
1331
|
-
* </li>
|
|
1332
|
-
* <li>
|
|
1333
|
-
* <p>
|
|
1334
|
-
* <code>autoscaling:EC2_INSTANCE_TERMINATING</code>
|
|
1335
|
-
* </p>
|
|
1336
|
-
* </li>
|
|
1337
|
-
* </ul>
|
|
1338
|
-
*/
|
|
1339
|
-
public describeLifecycleHookTypes(
|
|
1340
|
-
args: DescribeLifecycleHookTypesCommandInput,
|
|
1341
|
-
options?: __HttpHandlerOptions
|
|
1342
|
-
): Promise<DescribeLifecycleHookTypesCommandOutput>;
|
|
1343
|
-
public describeLifecycleHookTypes(
|
|
1344
|
-
args: DescribeLifecycleHookTypesCommandInput,
|
|
1345
|
-
cb: (err: any, data?: DescribeLifecycleHookTypesCommandOutput) => void
|
|
1346
|
-
): void;
|
|
1347
|
-
public describeLifecycleHookTypes(
|
|
1348
|
-
args: DescribeLifecycleHookTypesCommandInput,
|
|
1349
|
-
options: __HttpHandlerOptions,
|
|
1350
|
-
cb: (err: any, data?: DescribeLifecycleHookTypesCommandOutput) => void
|
|
1351
|
-
): void;
|
|
1352
|
-
public describeLifecycleHookTypes(
|
|
1353
|
-
args: DescribeLifecycleHookTypesCommandInput,
|
|
1354
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeLifecycleHookTypesCommandOutput) => void),
|
|
1355
|
-
cb?: (err: any, data?: DescribeLifecycleHookTypesCommandOutput) => void
|
|
1356
|
-
): Promise<DescribeLifecycleHookTypesCommandOutput> | void {
|
|
1357
|
-
const command = new DescribeLifecycleHookTypesCommand(args);
|
|
1358
|
-
if (typeof optionsOrCb === "function") {
|
|
1359
|
-
this.send(command, optionsOrCb);
|
|
1360
|
-
} else if (typeof cb === "function") {
|
|
1361
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1362
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1363
|
-
} else {
|
|
1364
|
-
return this.send(command, optionsOrCb);
|
|
1365
|
-
}
|
|
1366
|
-
}
|
|
1367
|
-
|
|
1368
|
-
/**
|
|
1369
|
-
* <p>Gets information about the load balancers for the specified Auto Scaling group.</p>
|
|
1370
|
-
* <p>This operation describes only Classic Load Balancers. If you have Application Load
|
|
1371
|
-
* Balancers, Network Load Balancers, or Gateway Load Balancers, use the <a>DescribeLoadBalancerTargetGroups</a> API instead.</p>
|
|
1372
|
-
* <p>To determine the availability of registered instances, use the <code>State</code>
|
|
1373
|
-
* element in the response. When you attach a load balancer to an Auto Scaling group, the initial
|
|
1374
|
-
* <code>State</code> value is <code>Adding</code>. The state transitions to
|
|
1375
|
-
* <code>Added</code> after all Auto Scaling instances are registered with the load balancer.
|
|
1376
|
-
* If Elastic Load Balancing health checks are enabled for the Auto Scaling group, the state transitions to
|
|
1377
|
-
* <code>InService</code> after at least one Auto Scaling instance passes the health check.
|
|
1378
|
-
* When the load balancer is in the <code>InService</code> state, Amazon EC2 Auto Scaling can terminate
|
|
1379
|
-
* and replace any instances that are reported as unhealthy. If no registered instances
|
|
1380
|
-
* pass the health checks, the load balancer doesn't enter the <code>InService</code>
|
|
1381
|
-
* state. </p>
|
|
1382
|
-
* <p>Load balancers also have an <code>InService</code> state if you attach them in the
|
|
1383
|
-
* <a>CreateAutoScalingGroup</a> API call. If your load balancer state is
|
|
1384
|
-
* <code>InService</code>, but it is not working properly, check the scaling activities
|
|
1385
|
-
* by calling <a>DescribeScalingActivities</a> and take any corrective actions
|
|
1386
|
-
* necessary.</p>
|
|
1387
|
-
* <p>For help with failed health checks, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ts-as-healthchecks.html">Troubleshooting Amazon EC2 Auto Scaling:
|
|
1388
|
-
* Health checks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. For more
|
|
1389
|
-
* information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Elastic Load Balancing and
|
|
1390
|
-
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
|
|
1391
|
-
*/
|
|
1392
|
-
public describeLoadBalancers(
|
|
1393
|
-
args: DescribeLoadBalancersCommandInput,
|
|
1394
|
-
options?: __HttpHandlerOptions
|
|
1395
|
-
): Promise<DescribeLoadBalancersCommandOutput>;
|
|
1396
|
-
public describeLoadBalancers(
|
|
1397
|
-
args: DescribeLoadBalancersCommandInput,
|
|
1398
|
-
cb: (err: any, data?: DescribeLoadBalancersCommandOutput) => void
|
|
1399
|
-
): void;
|
|
1400
|
-
public describeLoadBalancers(
|
|
1401
|
-
args: DescribeLoadBalancersCommandInput,
|
|
1402
|
-
options: __HttpHandlerOptions,
|
|
1403
|
-
cb: (err: any, data?: DescribeLoadBalancersCommandOutput) => void
|
|
1404
|
-
): void;
|
|
1405
|
-
public describeLoadBalancers(
|
|
1406
|
-
args: DescribeLoadBalancersCommandInput,
|
|
1407
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeLoadBalancersCommandOutput) => void),
|
|
1408
|
-
cb?: (err: any, data?: DescribeLoadBalancersCommandOutput) => void
|
|
1409
|
-
): Promise<DescribeLoadBalancersCommandOutput> | void {
|
|
1410
|
-
const command = new DescribeLoadBalancersCommand(args);
|
|
1411
|
-
if (typeof optionsOrCb === "function") {
|
|
1412
|
-
this.send(command, optionsOrCb);
|
|
1413
|
-
} else if (typeof cb === "function") {
|
|
1414
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1415
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1416
|
-
} else {
|
|
1417
|
-
return this.send(command, optionsOrCb);
|
|
1418
|
-
}
|
|
1419
|
-
}
|
|
1420
|
-
|
|
1421
|
-
/**
|
|
1422
|
-
* <p>Gets information about the load balancer target groups for the specified Auto Scaling
|
|
1423
|
-
* group.</p>
|
|
1424
|
-
* <p>To determine the availability of registered instances, use the <code>State</code>
|
|
1425
|
-
* element in the response. When you attach a target group to an Auto Scaling group, the initial
|
|
1426
|
-
* <code>State</code> value is <code>Adding</code>. The state transitions to
|
|
1427
|
-
* <code>Added</code> after all Auto Scaling instances are registered with the target group. If
|
|
1428
|
-
* Elastic Load Balancing health checks are enabled for the Auto Scaling group, the state transitions to
|
|
1429
|
-
* <code>InService</code> after at least one Auto Scaling instance passes the health check.
|
|
1430
|
-
* When the target group is in the <code>InService</code> state, Amazon EC2 Auto Scaling can terminate and
|
|
1431
|
-
* replace any instances that are reported as unhealthy. If no registered instances pass
|
|
1432
|
-
* the health checks, the target group doesn't enter the <code>InService</code> state. </p>
|
|
1433
|
-
* <p>Target groups also have an <code>InService</code> state if you attach them in the
|
|
1434
|
-
* <a>CreateAutoScalingGroup</a> API call. If your target group state is
|
|
1435
|
-
* <code>InService</code>, but it is not working properly, check the scaling activities
|
|
1436
|
-
* by calling <a>DescribeScalingActivities</a> and take any corrective actions
|
|
1437
|
-
* necessary.</p>
|
|
1438
|
-
* <p>For help with failed health checks, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ts-as-healthchecks.html">Troubleshooting Amazon EC2 Auto Scaling:
|
|
1439
|
-
* Health checks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. For more
|
|
1440
|
-
* information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Elastic Load Balancing and
|
|
1441
|
-
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
|
|
1442
|
-
*/
|
|
1443
|
-
public describeLoadBalancerTargetGroups(
|
|
1444
|
-
args: DescribeLoadBalancerTargetGroupsCommandInput,
|
|
1445
|
-
options?: __HttpHandlerOptions
|
|
1446
|
-
): Promise<DescribeLoadBalancerTargetGroupsCommandOutput>;
|
|
1447
|
-
public describeLoadBalancerTargetGroups(
|
|
1448
|
-
args: DescribeLoadBalancerTargetGroupsCommandInput,
|
|
1449
|
-
cb: (err: any, data?: DescribeLoadBalancerTargetGroupsCommandOutput) => void
|
|
1450
|
-
): void;
|
|
1451
|
-
public describeLoadBalancerTargetGroups(
|
|
1452
|
-
args: DescribeLoadBalancerTargetGroupsCommandInput,
|
|
1453
|
-
options: __HttpHandlerOptions,
|
|
1454
|
-
cb: (err: any, data?: DescribeLoadBalancerTargetGroupsCommandOutput) => void
|
|
1455
|
-
): void;
|
|
1456
|
-
public describeLoadBalancerTargetGroups(
|
|
1457
|
-
args: DescribeLoadBalancerTargetGroupsCommandInput,
|
|
1458
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeLoadBalancerTargetGroupsCommandOutput) => void),
|
|
1459
|
-
cb?: (err: any, data?: DescribeLoadBalancerTargetGroupsCommandOutput) => void
|
|
1460
|
-
): Promise<DescribeLoadBalancerTargetGroupsCommandOutput> | void {
|
|
1461
|
-
const command = new DescribeLoadBalancerTargetGroupsCommand(args);
|
|
1462
|
-
if (typeof optionsOrCb === "function") {
|
|
1463
|
-
this.send(command, optionsOrCb);
|
|
1464
|
-
} else if (typeof cb === "function") {
|
|
1465
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1466
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1467
|
-
} else {
|
|
1468
|
-
return this.send(command, optionsOrCb);
|
|
1469
|
-
}
|
|
1470
|
-
}
|
|
1471
|
-
|
|
1472
|
-
/**
|
|
1473
|
-
* <p>Describes the available CloudWatch metrics for Amazon EC2 Auto Scaling.</p>
|
|
1474
|
-
* <p>The <code>GroupStandbyInstances</code> metric is not returned by default. You must
|
|
1475
|
-
* explicitly request this metric when calling the <a>EnableMetricsCollection</a> API.</p>
|
|
1476
|
-
*/
|
|
1477
|
-
public describeMetricCollectionTypes(
|
|
1478
|
-
args: DescribeMetricCollectionTypesCommandInput,
|
|
1479
|
-
options?: __HttpHandlerOptions
|
|
1480
|
-
): Promise<DescribeMetricCollectionTypesCommandOutput>;
|
|
1481
|
-
public describeMetricCollectionTypes(
|
|
1482
|
-
args: DescribeMetricCollectionTypesCommandInput,
|
|
1483
|
-
cb: (err: any, data?: DescribeMetricCollectionTypesCommandOutput) => void
|
|
1484
|
-
): void;
|
|
1485
|
-
public describeMetricCollectionTypes(
|
|
1486
|
-
args: DescribeMetricCollectionTypesCommandInput,
|
|
1487
|
-
options: __HttpHandlerOptions,
|
|
1488
|
-
cb: (err: any, data?: DescribeMetricCollectionTypesCommandOutput) => void
|
|
1489
|
-
): void;
|
|
1490
|
-
public describeMetricCollectionTypes(
|
|
1491
|
-
args: DescribeMetricCollectionTypesCommandInput,
|
|
1492
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeMetricCollectionTypesCommandOutput) => void),
|
|
1493
|
-
cb?: (err: any, data?: DescribeMetricCollectionTypesCommandOutput) => void
|
|
1494
|
-
): Promise<DescribeMetricCollectionTypesCommandOutput> | void {
|
|
1495
|
-
const command = new DescribeMetricCollectionTypesCommand(args);
|
|
1496
|
-
if (typeof optionsOrCb === "function") {
|
|
1497
|
-
this.send(command, optionsOrCb);
|
|
1498
|
-
} else if (typeof cb === "function") {
|
|
1499
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1500
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1501
|
-
} else {
|
|
1502
|
-
return this.send(command, optionsOrCb);
|
|
1503
|
-
}
|
|
1504
|
-
}
|
|
1505
|
-
|
|
1506
|
-
/**
|
|
1507
|
-
* <p>Gets information about the Amazon SNS notifications that are configured for one or more
|
|
1508
|
-
* Auto Scaling groups.</p>
|
|
1509
|
-
*/
|
|
1510
|
-
public describeNotificationConfigurations(
|
|
1511
|
-
args: DescribeNotificationConfigurationsCommandInput,
|
|
1512
|
-
options?: __HttpHandlerOptions
|
|
1513
|
-
): Promise<DescribeNotificationConfigurationsCommandOutput>;
|
|
1514
|
-
public describeNotificationConfigurations(
|
|
1515
|
-
args: DescribeNotificationConfigurationsCommandInput,
|
|
1516
|
-
cb: (err: any, data?: DescribeNotificationConfigurationsCommandOutput) => void
|
|
1517
|
-
): void;
|
|
1518
|
-
public describeNotificationConfigurations(
|
|
1519
|
-
args: DescribeNotificationConfigurationsCommandInput,
|
|
1520
|
-
options: __HttpHandlerOptions,
|
|
1521
|
-
cb: (err: any, data?: DescribeNotificationConfigurationsCommandOutput) => void
|
|
1522
|
-
): void;
|
|
1523
|
-
public describeNotificationConfigurations(
|
|
1524
|
-
args: DescribeNotificationConfigurationsCommandInput,
|
|
1525
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeNotificationConfigurationsCommandOutput) => void),
|
|
1526
|
-
cb?: (err: any, data?: DescribeNotificationConfigurationsCommandOutput) => void
|
|
1527
|
-
): Promise<DescribeNotificationConfigurationsCommandOutput> | void {
|
|
1528
|
-
const command = new DescribeNotificationConfigurationsCommand(args);
|
|
1529
|
-
if (typeof optionsOrCb === "function") {
|
|
1530
|
-
this.send(command, optionsOrCb);
|
|
1531
|
-
} else if (typeof cb === "function") {
|
|
1532
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1533
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1534
|
-
} else {
|
|
1535
|
-
return this.send(command, optionsOrCb);
|
|
1536
|
-
}
|
|
1537
|
-
}
|
|
1538
|
-
|
|
1539
|
-
/**
|
|
1540
|
-
* <p>Gets information about the scaling policies in the account and Region.</p>
|
|
1541
|
-
*/
|
|
1542
|
-
public describePolicies(
|
|
1543
|
-
args: DescribePoliciesCommandInput,
|
|
1544
|
-
options?: __HttpHandlerOptions
|
|
1545
|
-
): Promise<DescribePoliciesCommandOutput>;
|
|
1546
|
-
public describePolicies(
|
|
1547
|
-
args: DescribePoliciesCommandInput,
|
|
1548
|
-
cb: (err: any, data?: DescribePoliciesCommandOutput) => void
|
|
1549
|
-
): void;
|
|
1550
|
-
public describePolicies(
|
|
1551
|
-
args: DescribePoliciesCommandInput,
|
|
1552
|
-
options: __HttpHandlerOptions,
|
|
1553
|
-
cb: (err: any, data?: DescribePoliciesCommandOutput) => void
|
|
1554
|
-
): void;
|
|
1555
|
-
public describePolicies(
|
|
1556
|
-
args: DescribePoliciesCommandInput,
|
|
1557
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribePoliciesCommandOutput) => void),
|
|
1558
|
-
cb?: (err: any, data?: DescribePoliciesCommandOutput) => void
|
|
1559
|
-
): Promise<DescribePoliciesCommandOutput> | void {
|
|
1560
|
-
const command = new DescribePoliciesCommand(args);
|
|
1561
|
-
if (typeof optionsOrCb === "function") {
|
|
1562
|
-
this.send(command, optionsOrCb);
|
|
1563
|
-
} else if (typeof cb === "function") {
|
|
1564
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1565
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1566
|
-
} else {
|
|
1567
|
-
return this.send(command, optionsOrCb);
|
|
1568
|
-
}
|
|
1569
|
-
}
|
|
1570
|
-
|
|
1571
|
-
/**
|
|
1572
|
-
* <p>Gets information about the scaling activities in the account and Region.</p>
|
|
1573
|
-
* <p>When scaling events occur, you see a record of the scaling activity in the scaling
|
|
1574
|
-
* activities. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-verify-scaling-activity.html">Verifying a scaling
|
|
1575
|
-
* activity for an Auto Scaling group</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
1576
|
-
* <p>If the scaling event succeeds, the value of the <code>StatusCode</code> element in the
|
|
1577
|
-
* response is <code>Successful</code>. If an attempt to launch instances failed, the
|
|
1578
|
-
* <code>StatusCode</code> value is <code>Failed</code> or <code>Cancelled</code> and
|
|
1579
|
-
* the <code>StatusMessage</code> element in the response indicates the cause of the
|
|
1580
|
-
* failure. For help interpreting the <code>StatusMessage</code>, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/CHAP_Troubleshooting.html">Troubleshooting Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
|
|
1581
|
-
*/
|
|
1582
|
-
public describeScalingActivities(
|
|
1583
|
-
args: DescribeScalingActivitiesCommandInput,
|
|
1584
|
-
options?: __HttpHandlerOptions
|
|
1585
|
-
): Promise<DescribeScalingActivitiesCommandOutput>;
|
|
1586
|
-
public describeScalingActivities(
|
|
1587
|
-
args: DescribeScalingActivitiesCommandInput,
|
|
1588
|
-
cb: (err: any, data?: DescribeScalingActivitiesCommandOutput) => void
|
|
1589
|
-
): void;
|
|
1590
|
-
public describeScalingActivities(
|
|
1591
|
-
args: DescribeScalingActivitiesCommandInput,
|
|
1592
|
-
options: __HttpHandlerOptions,
|
|
1593
|
-
cb: (err: any, data?: DescribeScalingActivitiesCommandOutput) => void
|
|
1594
|
-
): void;
|
|
1595
|
-
public describeScalingActivities(
|
|
1596
|
-
args: DescribeScalingActivitiesCommandInput,
|
|
1597
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeScalingActivitiesCommandOutput) => void),
|
|
1598
|
-
cb?: (err: any, data?: DescribeScalingActivitiesCommandOutput) => void
|
|
1599
|
-
): Promise<DescribeScalingActivitiesCommandOutput> | void {
|
|
1600
|
-
const command = new DescribeScalingActivitiesCommand(args);
|
|
1601
|
-
if (typeof optionsOrCb === "function") {
|
|
1602
|
-
this.send(command, optionsOrCb);
|
|
1603
|
-
} else if (typeof cb === "function") {
|
|
1604
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1605
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1606
|
-
} else {
|
|
1607
|
-
return this.send(command, optionsOrCb);
|
|
1608
|
-
}
|
|
1609
|
-
}
|
|
1610
|
-
|
|
1611
|
-
/**
|
|
1612
|
-
* <p>Describes the scaling process types for use with the <a>ResumeProcesses</a>
|
|
1613
|
-
* and <a>SuspendProcesses</a> APIs.</p>
|
|
1614
|
-
*/
|
|
1615
|
-
public describeScalingProcessTypes(
|
|
1616
|
-
args: DescribeScalingProcessTypesCommandInput,
|
|
1617
|
-
options?: __HttpHandlerOptions
|
|
1618
|
-
): Promise<DescribeScalingProcessTypesCommandOutput>;
|
|
1619
|
-
public describeScalingProcessTypes(
|
|
1620
|
-
args: DescribeScalingProcessTypesCommandInput,
|
|
1621
|
-
cb: (err: any, data?: DescribeScalingProcessTypesCommandOutput) => void
|
|
1622
|
-
): void;
|
|
1623
|
-
public describeScalingProcessTypes(
|
|
1624
|
-
args: DescribeScalingProcessTypesCommandInput,
|
|
1625
|
-
options: __HttpHandlerOptions,
|
|
1626
|
-
cb: (err: any, data?: DescribeScalingProcessTypesCommandOutput) => void
|
|
1627
|
-
): void;
|
|
1628
|
-
public describeScalingProcessTypes(
|
|
1629
|
-
args: DescribeScalingProcessTypesCommandInput,
|
|
1630
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeScalingProcessTypesCommandOutput) => void),
|
|
1631
|
-
cb?: (err: any, data?: DescribeScalingProcessTypesCommandOutput) => void
|
|
1632
|
-
): Promise<DescribeScalingProcessTypesCommandOutput> | void {
|
|
1633
|
-
const command = new DescribeScalingProcessTypesCommand(args);
|
|
1634
|
-
if (typeof optionsOrCb === "function") {
|
|
1635
|
-
this.send(command, optionsOrCb);
|
|
1636
|
-
} else if (typeof cb === "function") {
|
|
1637
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1638
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1639
|
-
} else {
|
|
1640
|
-
return this.send(command, optionsOrCb);
|
|
1641
|
-
}
|
|
1642
|
-
}
|
|
1643
|
-
|
|
1644
|
-
/**
|
|
1645
|
-
* <p>Gets information about the scheduled actions that haven't run or that have not reached
|
|
1646
|
-
* their end time.</p>
|
|
1647
|
-
* <p>To describe the scaling activities for scheduled actions that have already run, call
|
|
1648
|
-
* the <a>DescribeScalingActivities</a> API.</p>
|
|
1649
|
-
*/
|
|
1650
|
-
public describeScheduledActions(
|
|
1651
|
-
args: DescribeScheduledActionsCommandInput,
|
|
1652
|
-
options?: __HttpHandlerOptions
|
|
1653
|
-
): Promise<DescribeScheduledActionsCommandOutput>;
|
|
1654
|
-
public describeScheduledActions(
|
|
1655
|
-
args: DescribeScheduledActionsCommandInput,
|
|
1656
|
-
cb: (err: any, data?: DescribeScheduledActionsCommandOutput) => void
|
|
1657
|
-
): void;
|
|
1658
|
-
public describeScheduledActions(
|
|
1659
|
-
args: DescribeScheduledActionsCommandInput,
|
|
1660
|
-
options: __HttpHandlerOptions,
|
|
1661
|
-
cb: (err: any, data?: DescribeScheduledActionsCommandOutput) => void
|
|
1662
|
-
): void;
|
|
1663
|
-
public describeScheduledActions(
|
|
1664
|
-
args: DescribeScheduledActionsCommandInput,
|
|
1665
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeScheduledActionsCommandOutput) => void),
|
|
1666
|
-
cb?: (err: any, data?: DescribeScheduledActionsCommandOutput) => void
|
|
1667
|
-
): Promise<DescribeScheduledActionsCommandOutput> | void {
|
|
1668
|
-
const command = new DescribeScheduledActionsCommand(args);
|
|
1669
|
-
if (typeof optionsOrCb === "function") {
|
|
1670
|
-
this.send(command, optionsOrCb);
|
|
1671
|
-
} else if (typeof cb === "function") {
|
|
1672
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1673
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1674
|
-
} else {
|
|
1675
|
-
return this.send(command, optionsOrCb);
|
|
1676
|
-
}
|
|
1677
|
-
}
|
|
1678
|
-
|
|
1679
|
-
/**
|
|
1680
|
-
* <p>Describes the specified tags.</p>
|
|
1681
|
-
* <p>You can use filters to limit the results. For example, you can query for the tags for
|
|
1682
|
-
* a specific Auto Scaling group. You can specify multiple values for a filter. A tag must match at
|
|
1683
|
-
* least one of the specified values for it to be included in the results.</p>
|
|
1684
|
-
* <p>You can also specify multiple filters. The result includes information for a
|
|
1685
|
-
* particular tag only if it matches all the filters. If there's no match, no special
|
|
1686
|
-
* message is returned.</p>
|
|
1687
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-tagging.html">Tagging Auto Scaling groups and
|
|
1688
|
-
* instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
1689
|
-
*/
|
|
1690
|
-
public describeTags(
|
|
1691
|
-
args: DescribeTagsCommandInput,
|
|
1692
|
-
options?: __HttpHandlerOptions
|
|
1693
|
-
): Promise<DescribeTagsCommandOutput>;
|
|
1694
|
-
public describeTags(args: DescribeTagsCommandInput, cb: (err: any, data?: DescribeTagsCommandOutput) => void): void;
|
|
1695
|
-
public describeTags(
|
|
1696
|
-
args: DescribeTagsCommandInput,
|
|
1697
|
-
options: __HttpHandlerOptions,
|
|
1698
|
-
cb: (err: any, data?: DescribeTagsCommandOutput) => void
|
|
1699
|
-
): void;
|
|
1700
|
-
public describeTags(
|
|
1701
|
-
args: DescribeTagsCommandInput,
|
|
1702
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeTagsCommandOutput) => void),
|
|
1703
|
-
cb?: (err: any, data?: DescribeTagsCommandOutput) => void
|
|
1704
|
-
): Promise<DescribeTagsCommandOutput> | void {
|
|
1705
|
-
const command = new DescribeTagsCommand(args);
|
|
1706
|
-
if (typeof optionsOrCb === "function") {
|
|
1707
|
-
this.send(command, optionsOrCb);
|
|
1708
|
-
} else if (typeof cb === "function") {
|
|
1709
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1710
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1711
|
-
} else {
|
|
1712
|
-
return this.send(command, optionsOrCb);
|
|
1713
|
-
}
|
|
1714
|
-
}
|
|
1715
|
-
|
|
1716
|
-
/**
|
|
1717
|
-
* <p>Describes the termination policies supported by Amazon EC2 Auto Scaling.</p>
|
|
1718
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html">Controlling which Auto Scaling
|
|
1719
|
-
* instances terminate during scale in</a> in the
|
|
1720
|
-
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
1721
|
-
*/
|
|
1722
|
-
public describeTerminationPolicyTypes(
|
|
1723
|
-
args: DescribeTerminationPolicyTypesCommandInput,
|
|
1724
|
-
options?: __HttpHandlerOptions
|
|
1725
|
-
): Promise<DescribeTerminationPolicyTypesCommandOutput>;
|
|
1726
|
-
public describeTerminationPolicyTypes(
|
|
1727
|
-
args: DescribeTerminationPolicyTypesCommandInput,
|
|
1728
|
-
cb: (err: any, data?: DescribeTerminationPolicyTypesCommandOutput) => void
|
|
1729
|
-
): void;
|
|
1730
|
-
public describeTerminationPolicyTypes(
|
|
1731
|
-
args: DescribeTerminationPolicyTypesCommandInput,
|
|
1732
|
-
options: __HttpHandlerOptions,
|
|
1733
|
-
cb: (err: any, data?: DescribeTerminationPolicyTypesCommandOutput) => void
|
|
1734
|
-
): void;
|
|
1735
|
-
public describeTerminationPolicyTypes(
|
|
1736
|
-
args: DescribeTerminationPolicyTypesCommandInput,
|
|
1737
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeTerminationPolicyTypesCommandOutput) => void),
|
|
1738
|
-
cb?: (err: any, data?: DescribeTerminationPolicyTypesCommandOutput) => void
|
|
1739
|
-
): Promise<DescribeTerminationPolicyTypesCommandOutput> | void {
|
|
1740
|
-
const command = new DescribeTerminationPolicyTypesCommand(args);
|
|
1741
|
-
if (typeof optionsOrCb === "function") {
|
|
1742
|
-
this.send(command, optionsOrCb);
|
|
1743
|
-
} else if (typeof cb === "function") {
|
|
1744
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1745
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1746
|
-
} else {
|
|
1747
|
-
return this.send(command, optionsOrCb);
|
|
1748
|
-
}
|
|
1749
|
-
}
|
|
1750
|
-
|
|
1751
|
-
/**
|
|
1752
|
-
* <p>Gets information about a warm pool and its instances.</p>
|
|
1753
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html">Warm pools for
|
|
1754
|
-
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
1755
|
-
*/
|
|
1756
|
-
public describeWarmPool(
|
|
1757
|
-
args: DescribeWarmPoolCommandInput,
|
|
1758
|
-
options?: __HttpHandlerOptions
|
|
1759
|
-
): Promise<DescribeWarmPoolCommandOutput>;
|
|
1760
|
-
public describeWarmPool(
|
|
1761
|
-
args: DescribeWarmPoolCommandInput,
|
|
1762
|
-
cb: (err: any, data?: DescribeWarmPoolCommandOutput) => void
|
|
1763
|
-
): void;
|
|
1764
|
-
public describeWarmPool(
|
|
1765
|
-
args: DescribeWarmPoolCommandInput,
|
|
1766
|
-
options: __HttpHandlerOptions,
|
|
1767
|
-
cb: (err: any, data?: DescribeWarmPoolCommandOutput) => void
|
|
1768
|
-
): void;
|
|
1769
|
-
public describeWarmPool(
|
|
1770
|
-
args: DescribeWarmPoolCommandInput,
|
|
1771
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeWarmPoolCommandOutput) => void),
|
|
1772
|
-
cb?: (err: any, data?: DescribeWarmPoolCommandOutput) => void
|
|
1773
|
-
): Promise<DescribeWarmPoolCommandOutput> | void {
|
|
1774
|
-
const command = new DescribeWarmPoolCommand(args);
|
|
1775
|
-
if (typeof optionsOrCb === "function") {
|
|
1776
|
-
this.send(command, optionsOrCb);
|
|
1777
|
-
} else if (typeof cb === "function") {
|
|
1778
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1779
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1780
|
-
} else {
|
|
1781
|
-
return this.send(command, optionsOrCb);
|
|
1782
|
-
}
|
|
1783
|
-
}
|
|
1784
|
-
|
|
1785
|
-
/**
|
|
1786
|
-
* <p>Removes one or more instances from the specified Auto Scaling group.</p>
|
|
1787
|
-
* <p>After the instances are detached, you can manage them independent of the Auto Scaling
|
|
1788
|
-
* group.</p>
|
|
1789
|
-
* <p>If you do not specify the option to decrement the desired capacity, Amazon EC2 Auto Scaling launches
|
|
1790
|
-
* instances to replace the ones that are detached.</p>
|
|
1791
|
-
* <p>If there is a Classic Load Balancer attached to the Auto Scaling group, the instances are
|
|
1792
|
-
* deregistered from the load balancer. If there are target groups attached to the Auto Scaling
|
|
1793
|
-
* group, the instances are deregistered from the target groups.</p>
|
|
1794
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/detach-instance-asg.html">Detach EC2 instances from
|
|
1795
|
-
* your Auto Scaling group</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
1796
|
-
*/
|
|
1797
|
-
public detachInstances(
|
|
1798
|
-
args: DetachInstancesCommandInput,
|
|
1799
|
-
options?: __HttpHandlerOptions
|
|
1800
|
-
): Promise<DetachInstancesCommandOutput>;
|
|
1801
|
-
public detachInstances(
|
|
1802
|
-
args: DetachInstancesCommandInput,
|
|
1803
|
-
cb: (err: any, data?: DetachInstancesCommandOutput) => void
|
|
1804
|
-
): void;
|
|
1805
|
-
public detachInstances(
|
|
1806
|
-
args: DetachInstancesCommandInput,
|
|
1807
|
-
options: __HttpHandlerOptions,
|
|
1808
|
-
cb: (err: any, data?: DetachInstancesCommandOutput) => void
|
|
1809
|
-
): void;
|
|
1810
|
-
public detachInstances(
|
|
1811
|
-
args: DetachInstancesCommandInput,
|
|
1812
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DetachInstancesCommandOutput) => void),
|
|
1813
|
-
cb?: (err: any, data?: DetachInstancesCommandOutput) => void
|
|
1814
|
-
): Promise<DetachInstancesCommandOutput> | void {
|
|
1815
|
-
const command = new DetachInstancesCommand(args);
|
|
1816
|
-
if (typeof optionsOrCb === "function") {
|
|
1817
|
-
this.send(command, optionsOrCb);
|
|
1818
|
-
} else if (typeof cb === "function") {
|
|
1819
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1820
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1821
|
-
} else {
|
|
1822
|
-
return this.send(command, optionsOrCb);
|
|
1823
|
-
}
|
|
1824
|
-
}
|
|
1825
|
-
|
|
1826
|
-
/**
|
|
1827
|
-
* <p>Detaches one or more Classic Load Balancers from the specified Auto Scaling group.</p>
|
|
1828
|
-
* <p>This operation detaches only Classic Load Balancers. If you have Application Load
|
|
1829
|
-
* Balancers, Network Load Balancers, or Gateway Load Balancers, use the <a>DetachLoadBalancerTargetGroups</a> API instead.</p>
|
|
1830
|
-
* <p>When you detach a load balancer, it enters the <code>Removing</code> state while
|
|
1831
|
-
* deregistering the instances in the group. When all instances are deregistered, then you
|
|
1832
|
-
* can no longer describe the load balancer using the <a>DescribeLoadBalancers</a> API call. The instances remain running.</p>
|
|
1833
|
-
*/
|
|
1834
|
-
public detachLoadBalancers(
|
|
1835
|
-
args: DetachLoadBalancersCommandInput,
|
|
1836
|
-
options?: __HttpHandlerOptions
|
|
1837
|
-
): Promise<DetachLoadBalancersCommandOutput>;
|
|
1838
|
-
public detachLoadBalancers(
|
|
1839
|
-
args: DetachLoadBalancersCommandInput,
|
|
1840
|
-
cb: (err: any, data?: DetachLoadBalancersCommandOutput) => void
|
|
1841
|
-
): void;
|
|
1842
|
-
public detachLoadBalancers(
|
|
1843
|
-
args: DetachLoadBalancersCommandInput,
|
|
1844
|
-
options: __HttpHandlerOptions,
|
|
1845
|
-
cb: (err: any, data?: DetachLoadBalancersCommandOutput) => void
|
|
1846
|
-
): void;
|
|
1847
|
-
public detachLoadBalancers(
|
|
1848
|
-
args: DetachLoadBalancersCommandInput,
|
|
1849
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DetachLoadBalancersCommandOutput) => void),
|
|
1850
|
-
cb?: (err: any, data?: DetachLoadBalancersCommandOutput) => void
|
|
1851
|
-
): Promise<DetachLoadBalancersCommandOutput> | void {
|
|
1852
|
-
const command = new DetachLoadBalancersCommand(args);
|
|
1853
|
-
if (typeof optionsOrCb === "function") {
|
|
1854
|
-
this.send(command, optionsOrCb);
|
|
1855
|
-
} else if (typeof cb === "function") {
|
|
1856
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1857
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1858
|
-
} else {
|
|
1859
|
-
return this.send(command, optionsOrCb);
|
|
1860
|
-
}
|
|
1861
|
-
}
|
|
1862
|
-
|
|
1863
|
-
/**
|
|
1864
|
-
* <p>Detaches one or more target groups from the specified Auto Scaling group.</p>
|
|
1865
|
-
*/
|
|
1866
|
-
public detachLoadBalancerTargetGroups(
|
|
1867
|
-
args: DetachLoadBalancerTargetGroupsCommandInput,
|
|
1868
|
-
options?: __HttpHandlerOptions
|
|
1869
|
-
): Promise<DetachLoadBalancerTargetGroupsCommandOutput>;
|
|
1870
|
-
public detachLoadBalancerTargetGroups(
|
|
1871
|
-
args: DetachLoadBalancerTargetGroupsCommandInput,
|
|
1872
|
-
cb: (err: any, data?: DetachLoadBalancerTargetGroupsCommandOutput) => void
|
|
1873
|
-
): void;
|
|
1874
|
-
public detachLoadBalancerTargetGroups(
|
|
1875
|
-
args: DetachLoadBalancerTargetGroupsCommandInput,
|
|
1876
|
-
options: __HttpHandlerOptions,
|
|
1877
|
-
cb: (err: any, data?: DetachLoadBalancerTargetGroupsCommandOutput) => void
|
|
1878
|
-
): void;
|
|
1879
|
-
public detachLoadBalancerTargetGroups(
|
|
1880
|
-
args: DetachLoadBalancerTargetGroupsCommandInput,
|
|
1881
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DetachLoadBalancerTargetGroupsCommandOutput) => void),
|
|
1882
|
-
cb?: (err: any, data?: DetachLoadBalancerTargetGroupsCommandOutput) => void
|
|
1883
|
-
): Promise<DetachLoadBalancerTargetGroupsCommandOutput> | void {
|
|
1884
|
-
const command = new DetachLoadBalancerTargetGroupsCommand(args);
|
|
1885
|
-
if (typeof optionsOrCb === "function") {
|
|
1886
|
-
this.send(command, optionsOrCb);
|
|
1887
|
-
} else if (typeof cb === "function") {
|
|
1888
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1889
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1890
|
-
} else {
|
|
1891
|
-
return this.send(command, optionsOrCb);
|
|
1892
|
-
}
|
|
1893
|
-
}
|
|
1894
|
-
|
|
1895
|
-
/**
|
|
1896
|
-
* <p>Disables group metrics for the specified Auto Scaling group.</p>
|
|
1897
|
-
*/
|
|
1898
|
-
public disableMetricsCollection(
|
|
1899
|
-
args: DisableMetricsCollectionCommandInput,
|
|
1900
|
-
options?: __HttpHandlerOptions
|
|
1901
|
-
): Promise<DisableMetricsCollectionCommandOutput>;
|
|
1902
|
-
public disableMetricsCollection(
|
|
1903
|
-
args: DisableMetricsCollectionCommandInput,
|
|
1904
|
-
cb: (err: any, data?: DisableMetricsCollectionCommandOutput) => void
|
|
1905
|
-
): void;
|
|
1906
|
-
public disableMetricsCollection(
|
|
1907
|
-
args: DisableMetricsCollectionCommandInput,
|
|
1908
|
-
options: __HttpHandlerOptions,
|
|
1909
|
-
cb: (err: any, data?: DisableMetricsCollectionCommandOutput) => void
|
|
1910
|
-
): void;
|
|
1911
|
-
public disableMetricsCollection(
|
|
1912
|
-
args: DisableMetricsCollectionCommandInput,
|
|
1913
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisableMetricsCollectionCommandOutput) => void),
|
|
1914
|
-
cb?: (err: any, data?: DisableMetricsCollectionCommandOutput) => void
|
|
1915
|
-
): Promise<DisableMetricsCollectionCommandOutput> | void {
|
|
1916
|
-
const command = new DisableMetricsCollectionCommand(args);
|
|
1917
|
-
if (typeof optionsOrCb === "function") {
|
|
1918
|
-
this.send(command, optionsOrCb);
|
|
1919
|
-
} else if (typeof cb === "function") {
|
|
1920
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1921
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1922
|
-
} else {
|
|
1923
|
-
return this.send(command, optionsOrCb);
|
|
1924
|
-
}
|
|
1925
|
-
}
|
|
1926
|
-
|
|
1927
|
-
/**
|
|
1928
|
-
* <p>Enables group metrics for the specified Auto Scaling group. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-monitoring.html">Monitoring CloudWatch metrics for your Auto Scaling groups and instances</a> in the
|
|
1929
|
-
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
1930
|
-
*/
|
|
1931
|
-
public enableMetricsCollection(
|
|
1932
|
-
args: EnableMetricsCollectionCommandInput,
|
|
1933
|
-
options?: __HttpHandlerOptions
|
|
1934
|
-
): Promise<EnableMetricsCollectionCommandOutput>;
|
|
1935
|
-
public enableMetricsCollection(
|
|
1936
|
-
args: EnableMetricsCollectionCommandInput,
|
|
1937
|
-
cb: (err: any, data?: EnableMetricsCollectionCommandOutput) => void
|
|
1938
|
-
): void;
|
|
1939
|
-
public enableMetricsCollection(
|
|
1940
|
-
args: EnableMetricsCollectionCommandInput,
|
|
1941
|
-
options: __HttpHandlerOptions,
|
|
1942
|
-
cb: (err: any, data?: EnableMetricsCollectionCommandOutput) => void
|
|
1943
|
-
): void;
|
|
1944
|
-
public enableMetricsCollection(
|
|
1945
|
-
args: EnableMetricsCollectionCommandInput,
|
|
1946
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: EnableMetricsCollectionCommandOutput) => void),
|
|
1947
|
-
cb?: (err: any, data?: EnableMetricsCollectionCommandOutput) => void
|
|
1948
|
-
): Promise<EnableMetricsCollectionCommandOutput> | void {
|
|
1949
|
-
const command = new EnableMetricsCollectionCommand(args);
|
|
1950
|
-
if (typeof optionsOrCb === "function") {
|
|
1951
|
-
this.send(command, optionsOrCb);
|
|
1952
|
-
} else if (typeof cb === "function") {
|
|
1953
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1954
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1955
|
-
} else {
|
|
1956
|
-
return this.send(command, optionsOrCb);
|
|
1957
|
-
}
|
|
1958
|
-
}
|
|
1959
|
-
|
|
1960
|
-
/**
|
|
1961
|
-
* <p>Moves the specified instances into the standby state.</p>
|
|
1962
|
-
* <p>If you choose to decrement the desired capacity of the Auto Scaling group, the instances can
|
|
1963
|
-
* enter standby as long as the desired capacity of the Auto Scaling group after the instances are
|
|
1964
|
-
* placed into standby is equal to or greater than the minimum capacity of the
|
|
1965
|
-
* group.</p>
|
|
1966
|
-
* <p>If you choose not to decrement the desired capacity of the Auto Scaling group, the Auto Scaling group
|
|
1967
|
-
* launches new instances to replace the instances on standby.</p>
|
|
1968
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enter-exit-standby.html">Temporarily removing
|
|
1969
|
-
* instances from your Auto Scaling group</a> in the
|
|
1970
|
-
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
1971
|
-
*/
|
|
1972
|
-
public enterStandby(
|
|
1973
|
-
args: EnterStandbyCommandInput,
|
|
1974
|
-
options?: __HttpHandlerOptions
|
|
1975
|
-
): Promise<EnterStandbyCommandOutput>;
|
|
1976
|
-
public enterStandby(args: EnterStandbyCommandInput, cb: (err: any, data?: EnterStandbyCommandOutput) => void): void;
|
|
1977
|
-
public enterStandby(
|
|
1978
|
-
args: EnterStandbyCommandInput,
|
|
1979
|
-
options: __HttpHandlerOptions,
|
|
1980
|
-
cb: (err: any, data?: EnterStandbyCommandOutput) => void
|
|
1981
|
-
): void;
|
|
1982
|
-
public enterStandby(
|
|
1983
|
-
args: EnterStandbyCommandInput,
|
|
1984
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: EnterStandbyCommandOutput) => void),
|
|
1985
|
-
cb?: (err: any, data?: EnterStandbyCommandOutput) => void
|
|
1986
|
-
): Promise<EnterStandbyCommandOutput> | void {
|
|
1987
|
-
const command = new EnterStandbyCommand(args);
|
|
1988
|
-
if (typeof optionsOrCb === "function") {
|
|
1989
|
-
this.send(command, optionsOrCb);
|
|
1990
|
-
} else if (typeof cb === "function") {
|
|
1991
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1992
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1993
|
-
} else {
|
|
1994
|
-
return this.send(command, optionsOrCb);
|
|
1995
|
-
}
|
|
1996
|
-
}
|
|
1997
|
-
|
|
1998
|
-
/**
|
|
1999
|
-
* <p>Executes the specified policy. This can be useful for testing the design of your
|
|
2000
|
-
* scaling policy.</p>
|
|
2001
|
-
*/
|
|
2002
|
-
public executePolicy(
|
|
2003
|
-
args: ExecutePolicyCommandInput,
|
|
2004
|
-
options?: __HttpHandlerOptions
|
|
2005
|
-
): Promise<ExecutePolicyCommandOutput>;
|
|
2006
|
-
public executePolicy(
|
|
2007
|
-
args: ExecutePolicyCommandInput,
|
|
2008
|
-
cb: (err: any, data?: ExecutePolicyCommandOutput) => void
|
|
2009
|
-
): void;
|
|
2010
|
-
public executePolicy(
|
|
2011
|
-
args: ExecutePolicyCommandInput,
|
|
2012
|
-
options: __HttpHandlerOptions,
|
|
2013
|
-
cb: (err: any, data?: ExecutePolicyCommandOutput) => void
|
|
2014
|
-
): void;
|
|
2015
|
-
public executePolicy(
|
|
2016
|
-
args: ExecutePolicyCommandInput,
|
|
2017
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ExecutePolicyCommandOutput) => void),
|
|
2018
|
-
cb?: (err: any, data?: ExecutePolicyCommandOutput) => void
|
|
2019
|
-
): Promise<ExecutePolicyCommandOutput> | void {
|
|
2020
|
-
const command = new ExecutePolicyCommand(args);
|
|
2021
|
-
if (typeof optionsOrCb === "function") {
|
|
2022
|
-
this.send(command, optionsOrCb);
|
|
2023
|
-
} else if (typeof cb === "function") {
|
|
2024
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2025
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2026
|
-
} else {
|
|
2027
|
-
return this.send(command, optionsOrCb);
|
|
2028
|
-
}
|
|
2029
|
-
}
|
|
2030
|
-
|
|
2031
|
-
/**
|
|
2032
|
-
* <p>Moves the specified instances out of the standby state.</p>
|
|
2033
|
-
* <p>After you put the instances back in service, the desired capacity is
|
|
2034
|
-
* incremented.</p>
|
|
2035
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enter-exit-standby.html">Temporarily removing
|
|
2036
|
-
* instances from your Auto Scaling group</a> in the
|
|
2037
|
-
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
2038
|
-
*/
|
|
2039
|
-
public exitStandby(args: ExitStandbyCommandInput, options?: __HttpHandlerOptions): Promise<ExitStandbyCommandOutput>;
|
|
2040
|
-
public exitStandby(args: ExitStandbyCommandInput, cb: (err: any, data?: ExitStandbyCommandOutput) => void): void;
|
|
2041
|
-
public exitStandby(
|
|
2042
|
-
args: ExitStandbyCommandInput,
|
|
2043
|
-
options: __HttpHandlerOptions,
|
|
2044
|
-
cb: (err: any, data?: ExitStandbyCommandOutput) => void
|
|
2045
|
-
): void;
|
|
2046
|
-
public exitStandby(
|
|
2047
|
-
args: ExitStandbyCommandInput,
|
|
2048
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ExitStandbyCommandOutput) => void),
|
|
2049
|
-
cb?: (err: any, data?: ExitStandbyCommandOutput) => void
|
|
2050
|
-
): Promise<ExitStandbyCommandOutput> | void {
|
|
2051
|
-
const command = new ExitStandbyCommand(args);
|
|
2052
|
-
if (typeof optionsOrCb === "function") {
|
|
2053
|
-
this.send(command, optionsOrCb);
|
|
2054
|
-
} else if (typeof cb === "function") {
|
|
2055
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2056
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2057
|
-
} else {
|
|
2058
|
-
return this.send(command, optionsOrCb);
|
|
2059
|
-
}
|
|
2060
|
-
}
|
|
2061
|
-
|
|
2062
|
-
/**
|
|
2063
|
-
* <p>Retrieves the forecast data for a predictive scaling policy.</p>
|
|
2064
|
-
* <p>Load forecasts are predictions of the hourly load values using historical load data
|
|
2065
|
-
* from CloudWatch and an analysis of historical trends. Capacity forecasts are represented as
|
|
2066
|
-
* predicted values for the minimum capacity that is needed on an hourly basis, based on
|
|
2067
|
-
* the hourly load forecast.</p>
|
|
2068
|
-
* <p>A minimum of 24 hours of data is required to create the initial forecasts. However,
|
|
2069
|
-
* having a full 14 days of historical data results in more accurate forecasts.</p>
|
|
2070
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-predictive-scaling.html">Predictive
|
|
2071
|
-
* scaling for Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
2072
|
-
*/
|
|
2073
|
-
public getPredictiveScalingForecast(
|
|
2074
|
-
args: GetPredictiveScalingForecastCommandInput,
|
|
2075
|
-
options?: __HttpHandlerOptions
|
|
2076
|
-
): Promise<GetPredictiveScalingForecastCommandOutput>;
|
|
2077
|
-
public getPredictiveScalingForecast(
|
|
2078
|
-
args: GetPredictiveScalingForecastCommandInput,
|
|
2079
|
-
cb: (err: any, data?: GetPredictiveScalingForecastCommandOutput) => void
|
|
2080
|
-
): void;
|
|
2081
|
-
public getPredictiveScalingForecast(
|
|
2082
|
-
args: GetPredictiveScalingForecastCommandInput,
|
|
2083
|
-
options: __HttpHandlerOptions,
|
|
2084
|
-
cb: (err: any, data?: GetPredictiveScalingForecastCommandOutput) => void
|
|
2085
|
-
): void;
|
|
2086
|
-
public getPredictiveScalingForecast(
|
|
2087
|
-
args: GetPredictiveScalingForecastCommandInput,
|
|
2088
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetPredictiveScalingForecastCommandOutput) => void),
|
|
2089
|
-
cb?: (err: any, data?: GetPredictiveScalingForecastCommandOutput) => void
|
|
2090
|
-
): Promise<GetPredictiveScalingForecastCommandOutput> | void {
|
|
2091
|
-
const command = new GetPredictiveScalingForecastCommand(args);
|
|
2092
|
-
if (typeof optionsOrCb === "function") {
|
|
2093
|
-
this.send(command, optionsOrCb);
|
|
2094
|
-
} else if (typeof cb === "function") {
|
|
2095
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2096
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2097
|
-
} else {
|
|
2098
|
-
return this.send(command, optionsOrCb);
|
|
2099
|
-
}
|
|
2100
|
-
}
|
|
2101
|
-
|
|
2102
|
-
/**
|
|
2103
|
-
* <p>Creates or updates a lifecycle hook for the specified Auto Scaling group.</p>
|
|
2104
|
-
* <p>A lifecycle hook tells Amazon EC2 Auto Scaling to perform an action on an instance when the instance
|
|
2105
|
-
* launches (before it is put into service) or as the instance terminates (before it is
|
|
2106
|
-
* fully terminated).</p>
|
|
2107
|
-
* <p>This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling
|
|
2108
|
-
* group:</p>
|
|
2109
|
-
* <ol>
|
|
2110
|
-
* <li>
|
|
2111
|
-
* <p>(Optional) Create a Lambda function and a rule that allows CloudWatch Events to
|
|
2112
|
-
* invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates
|
|
2113
|
-
* instances.</p>
|
|
2114
|
-
* </li>
|
|
2115
|
-
* <li>
|
|
2116
|
-
* <p>(Optional) Create a notification target and an IAM role. The target can be
|
|
2117
|
-
* either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to
|
|
2118
|
-
* publish lifecycle notifications to the target.</p>
|
|
2119
|
-
* </li>
|
|
2120
|
-
* <li>
|
|
2121
|
-
* <p>
|
|
2122
|
-
* <b>Create the lifecycle hook. Specify whether the hook is
|
|
2123
|
-
* used when the instances launch or terminate.</b>
|
|
2124
|
-
* </p>
|
|
2125
|
-
* </li>
|
|
2126
|
-
* <li>
|
|
2127
|
-
* <p>If you need more time, record the lifecycle action heartbeat to keep the
|
|
2128
|
-
* instance in a pending state using the <a>RecordLifecycleActionHeartbeat</a> API call.</p>
|
|
2129
|
-
* </li>
|
|
2130
|
-
* <li>
|
|
2131
|
-
* <p>If you finish before the timeout period ends, complete the lifecycle action
|
|
2132
|
-
* using the <a>CompleteLifecycleAction</a> API call.</p>
|
|
2133
|
-
* </li>
|
|
2134
|
-
* </ol>
|
|
2135
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html">Amazon EC2 Auto Scaling lifecycle
|
|
2136
|
-
* hooks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
2137
|
-
* <p>If you exceed your maximum limit of lifecycle hooks, which by default is 50 per Auto Scaling
|
|
2138
|
-
* group, the call fails.</p>
|
|
2139
|
-
* <p>You can view the lifecycle hooks for an Auto Scaling group using the <a>DescribeLifecycleHooks</a> API call. If you are no longer using a lifecycle
|
|
2140
|
-
* hook, you can delete it by calling the <a>DeleteLifecycleHook</a> API.</p>
|
|
2141
|
-
*/
|
|
2142
|
-
public putLifecycleHook(
|
|
2143
|
-
args: PutLifecycleHookCommandInput,
|
|
2144
|
-
options?: __HttpHandlerOptions
|
|
2145
|
-
): Promise<PutLifecycleHookCommandOutput>;
|
|
2146
|
-
public putLifecycleHook(
|
|
2147
|
-
args: PutLifecycleHookCommandInput,
|
|
2148
|
-
cb: (err: any, data?: PutLifecycleHookCommandOutput) => void
|
|
2149
|
-
): void;
|
|
2150
|
-
public putLifecycleHook(
|
|
2151
|
-
args: PutLifecycleHookCommandInput,
|
|
2152
|
-
options: __HttpHandlerOptions,
|
|
2153
|
-
cb: (err: any, data?: PutLifecycleHookCommandOutput) => void
|
|
2154
|
-
): void;
|
|
2155
|
-
public putLifecycleHook(
|
|
2156
|
-
args: PutLifecycleHookCommandInput,
|
|
2157
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutLifecycleHookCommandOutput) => void),
|
|
2158
|
-
cb?: (err: any, data?: PutLifecycleHookCommandOutput) => void
|
|
2159
|
-
): Promise<PutLifecycleHookCommandOutput> | void {
|
|
2160
|
-
const command = new PutLifecycleHookCommand(args);
|
|
2161
|
-
if (typeof optionsOrCb === "function") {
|
|
2162
|
-
this.send(command, optionsOrCb);
|
|
2163
|
-
} else if (typeof cb === "function") {
|
|
2164
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2165
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2166
|
-
} else {
|
|
2167
|
-
return this.send(command, optionsOrCb);
|
|
2168
|
-
}
|
|
2169
|
-
}
|
|
2170
|
-
|
|
2171
|
-
/**
|
|
2172
|
-
* <p>Configures an Auto Scaling group to send notifications when specified events take place.
|
|
2173
|
-
* Subscribers to the specified topic can have messages delivered to an endpoint such as a
|
|
2174
|
-
* web server or an email address.</p>
|
|
2175
|
-
* <p>This configuration overwrites any existing configuration.</p>
|
|
2176
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ASGettingNotifications.html">Getting Amazon SNS
|
|
2177
|
-
* notifications when your Auto Scaling group scales</a> in the
|
|
2178
|
-
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
2179
|
-
* <p>If you exceed your maximum limit of SNS topics, which is 10 per Auto Scaling group, the call
|
|
2180
|
-
* fails.</p>
|
|
2181
|
-
*/
|
|
2182
|
-
public putNotificationConfiguration(
|
|
2183
|
-
args: PutNotificationConfigurationCommandInput,
|
|
2184
|
-
options?: __HttpHandlerOptions
|
|
2185
|
-
): Promise<PutNotificationConfigurationCommandOutput>;
|
|
2186
|
-
public putNotificationConfiguration(
|
|
2187
|
-
args: PutNotificationConfigurationCommandInput,
|
|
2188
|
-
cb: (err: any, data?: PutNotificationConfigurationCommandOutput) => void
|
|
2189
|
-
): void;
|
|
2190
|
-
public putNotificationConfiguration(
|
|
2191
|
-
args: PutNotificationConfigurationCommandInput,
|
|
2192
|
-
options: __HttpHandlerOptions,
|
|
2193
|
-
cb: (err: any, data?: PutNotificationConfigurationCommandOutput) => void
|
|
2194
|
-
): void;
|
|
2195
|
-
public putNotificationConfiguration(
|
|
2196
|
-
args: PutNotificationConfigurationCommandInput,
|
|
2197
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutNotificationConfigurationCommandOutput) => void),
|
|
2198
|
-
cb?: (err: any, data?: PutNotificationConfigurationCommandOutput) => void
|
|
2199
|
-
): Promise<PutNotificationConfigurationCommandOutput> | void {
|
|
2200
|
-
const command = new PutNotificationConfigurationCommand(args);
|
|
2201
|
-
if (typeof optionsOrCb === "function") {
|
|
2202
|
-
this.send(command, optionsOrCb);
|
|
2203
|
-
} else if (typeof cb === "function") {
|
|
2204
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2205
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2206
|
-
} else {
|
|
2207
|
-
return this.send(command, optionsOrCb);
|
|
2208
|
-
}
|
|
2209
|
-
}
|
|
2210
|
-
|
|
2211
|
-
/**
|
|
2212
|
-
* <p>Creates or updates a scaling policy for an Auto Scaling group. Scaling policies are used to
|
|
2213
|
-
* scale an Auto Scaling group based on configurable metrics. If no policies are defined, the
|
|
2214
|
-
* dynamic scaling and predictive scaling features are not used. </p>
|
|
2215
|
-
* <p>For more information about using dynamic scaling, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-target-tracking.html">Target tracking
|
|
2216
|
-
* scaling policies</a> and <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html">Step and simple scaling
|
|
2217
|
-
* policies</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
2218
|
-
* <p>For more information about using predictive scaling, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-predictive-scaling.html">Predictive
|
|
2219
|
-
* scaling for Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
2220
|
-
* <p>You can view the scaling policies for an Auto Scaling group using the <a>DescribePolicies</a> API call. If you are no longer using a scaling policy,
|
|
2221
|
-
* you can delete it by calling the <a>DeletePolicy</a> API.</p>
|
|
2222
|
-
*/
|
|
2223
|
-
public putScalingPolicy(
|
|
2224
|
-
args: PutScalingPolicyCommandInput,
|
|
2225
|
-
options?: __HttpHandlerOptions
|
|
2226
|
-
): Promise<PutScalingPolicyCommandOutput>;
|
|
2227
|
-
public putScalingPolicy(
|
|
2228
|
-
args: PutScalingPolicyCommandInput,
|
|
2229
|
-
cb: (err: any, data?: PutScalingPolicyCommandOutput) => void
|
|
2230
|
-
): void;
|
|
2231
|
-
public putScalingPolicy(
|
|
2232
|
-
args: PutScalingPolicyCommandInput,
|
|
2233
|
-
options: __HttpHandlerOptions,
|
|
2234
|
-
cb: (err: any, data?: PutScalingPolicyCommandOutput) => void
|
|
2235
|
-
): void;
|
|
2236
|
-
public putScalingPolicy(
|
|
2237
|
-
args: PutScalingPolicyCommandInput,
|
|
2238
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutScalingPolicyCommandOutput) => void),
|
|
2239
|
-
cb?: (err: any, data?: PutScalingPolicyCommandOutput) => void
|
|
2240
|
-
): Promise<PutScalingPolicyCommandOutput> | void {
|
|
2241
|
-
const command = new PutScalingPolicyCommand(args);
|
|
2242
|
-
if (typeof optionsOrCb === "function") {
|
|
2243
|
-
this.send(command, optionsOrCb);
|
|
2244
|
-
} else if (typeof cb === "function") {
|
|
2245
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2246
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2247
|
-
} else {
|
|
2248
|
-
return this.send(command, optionsOrCb);
|
|
2249
|
-
}
|
|
2250
|
-
}
|
|
2251
|
-
|
|
2252
|
-
/**
|
|
2253
|
-
* <p>Creates or updates a scheduled scaling action for an Auto Scaling group.</p>
|
|
2254
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/schedule_time.html">Scheduled scaling</a> in the
|
|
2255
|
-
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
2256
|
-
* <p>You can view the scheduled actions for an Auto Scaling group using the <a>DescribeScheduledActions</a> API call. If you are no longer using a
|
|
2257
|
-
* scheduled action, you can delete it by calling the <a>DeleteScheduledAction</a> API.</p>
|
|
2258
|
-
*/
|
|
2259
|
-
public putScheduledUpdateGroupAction(
|
|
2260
|
-
args: PutScheduledUpdateGroupActionCommandInput,
|
|
2261
|
-
options?: __HttpHandlerOptions
|
|
2262
|
-
): Promise<PutScheduledUpdateGroupActionCommandOutput>;
|
|
2263
|
-
public putScheduledUpdateGroupAction(
|
|
2264
|
-
args: PutScheduledUpdateGroupActionCommandInput,
|
|
2265
|
-
cb: (err: any, data?: PutScheduledUpdateGroupActionCommandOutput) => void
|
|
2266
|
-
): void;
|
|
2267
|
-
public putScheduledUpdateGroupAction(
|
|
2268
|
-
args: PutScheduledUpdateGroupActionCommandInput,
|
|
2269
|
-
options: __HttpHandlerOptions,
|
|
2270
|
-
cb: (err: any, data?: PutScheduledUpdateGroupActionCommandOutput) => void
|
|
2271
|
-
): void;
|
|
2272
|
-
public putScheduledUpdateGroupAction(
|
|
2273
|
-
args: PutScheduledUpdateGroupActionCommandInput,
|
|
2274
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutScheduledUpdateGroupActionCommandOutput) => void),
|
|
2275
|
-
cb?: (err: any, data?: PutScheduledUpdateGroupActionCommandOutput) => void
|
|
2276
|
-
): Promise<PutScheduledUpdateGroupActionCommandOutput> | void {
|
|
2277
|
-
const command = new PutScheduledUpdateGroupActionCommand(args);
|
|
2278
|
-
if (typeof optionsOrCb === "function") {
|
|
2279
|
-
this.send(command, optionsOrCb);
|
|
2280
|
-
} else if (typeof cb === "function") {
|
|
2281
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2282
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2283
|
-
} else {
|
|
2284
|
-
return this.send(command, optionsOrCb);
|
|
2285
|
-
}
|
|
2286
|
-
}
|
|
2287
|
-
|
|
2288
|
-
/**
|
|
2289
|
-
* <p>Creates or updates a warm pool for the specified Auto Scaling group. A warm pool is a pool of
|
|
2290
|
-
* pre-initialized EC2 instances that sits alongside the Auto Scaling group. Whenever your
|
|
2291
|
-
* application needs to scale out, the Auto Scaling group can draw on the warm pool to meet its new
|
|
2292
|
-
* desired capacity. For more information and example configurations, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html">Warm pools for
|
|
2293
|
-
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
2294
|
-
* <p>This operation must be called from the Region in which the Auto Scaling group was created.
|
|
2295
|
-
* This operation cannot be called on an Auto Scaling group that has a mixed instances policy or a
|
|
2296
|
-
* launch template or launch configuration that requests Spot Instances.</p>
|
|
2297
|
-
* <p>You can view the instances in the warm pool using the <a>DescribeWarmPool</a> API call. If you are no longer using a warm pool, you can delete it by calling the
|
|
2298
|
-
* <a>DeleteWarmPool</a> API.</p>
|
|
2299
|
-
*/
|
|
2300
|
-
public putWarmPool(args: PutWarmPoolCommandInput, options?: __HttpHandlerOptions): Promise<PutWarmPoolCommandOutput>;
|
|
2301
|
-
public putWarmPool(args: PutWarmPoolCommandInput, cb: (err: any, data?: PutWarmPoolCommandOutput) => void): void;
|
|
2302
|
-
public putWarmPool(
|
|
2303
|
-
args: PutWarmPoolCommandInput,
|
|
2304
|
-
options: __HttpHandlerOptions,
|
|
2305
|
-
cb: (err: any, data?: PutWarmPoolCommandOutput) => void
|
|
2306
|
-
): void;
|
|
2307
|
-
public putWarmPool(
|
|
2308
|
-
args: PutWarmPoolCommandInput,
|
|
2309
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutWarmPoolCommandOutput) => void),
|
|
2310
|
-
cb?: (err: any, data?: PutWarmPoolCommandOutput) => void
|
|
2311
|
-
): Promise<PutWarmPoolCommandOutput> | void {
|
|
2312
|
-
const command = new PutWarmPoolCommand(args);
|
|
2313
|
-
if (typeof optionsOrCb === "function") {
|
|
2314
|
-
this.send(command, optionsOrCb);
|
|
2315
|
-
} else if (typeof cb === "function") {
|
|
2316
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2317
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2318
|
-
} else {
|
|
2319
|
-
return this.send(command, optionsOrCb);
|
|
2320
|
-
}
|
|
2321
|
-
}
|
|
2322
|
-
|
|
2323
|
-
/**
|
|
2324
|
-
* <p>Records a heartbeat for the lifecycle action associated with the specified token or
|
|
2325
|
-
* instance. This extends the timeout by the length of time defined using the <a>PutLifecycleHook</a> API call.</p>
|
|
2326
|
-
*
|
|
2327
|
-
* <p>This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling
|
|
2328
|
-
* group:</p>
|
|
2329
|
-
* <ol>
|
|
2330
|
-
* <li>
|
|
2331
|
-
* <p>(Optional) Create a Lambda function and a rule that allows CloudWatch Events to
|
|
2332
|
-
* invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates
|
|
2333
|
-
* instances.</p>
|
|
2334
|
-
* </li>
|
|
2335
|
-
* <li>
|
|
2336
|
-
* <p>(Optional) Create a notification target and an IAM role. The target can be
|
|
2337
|
-
* either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to
|
|
2338
|
-
* publish lifecycle notifications to the target.</p>
|
|
2339
|
-
* </li>
|
|
2340
|
-
* <li>
|
|
2341
|
-
* <p>Create the lifecycle hook. Specify whether the hook is used when the instances
|
|
2342
|
-
* launch or terminate.</p>
|
|
2343
|
-
* </li>
|
|
2344
|
-
* <li>
|
|
2345
|
-
* <p>
|
|
2346
|
-
* <b>If you need more time, record the lifecycle action
|
|
2347
|
-
* heartbeat to keep the instance in a pending state.</b>
|
|
2348
|
-
* </p>
|
|
2349
|
-
* </li>
|
|
2350
|
-
* <li>
|
|
2351
|
-
* <p>If you finish before the timeout period ends, complete the lifecycle
|
|
2352
|
-
* action.</p>
|
|
2353
|
-
* </li>
|
|
2354
|
-
* </ol>
|
|
2355
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html">Amazon EC2 Auto Scaling lifecycle
|
|
2356
|
-
* hooks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
2357
|
-
*/
|
|
2358
|
-
public recordLifecycleActionHeartbeat(
|
|
2359
|
-
args: RecordLifecycleActionHeartbeatCommandInput,
|
|
2360
|
-
options?: __HttpHandlerOptions
|
|
2361
|
-
): Promise<RecordLifecycleActionHeartbeatCommandOutput>;
|
|
2362
|
-
public recordLifecycleActionHeartbeat(
|
|
2363
|
-
args: RecordLifecycleActionHeartbeatCommandInput,
|
|
2364
|
-
cb: (err: any, data?: RecordLifecycleActionHeartbeatCommandOutput) => void
|
|
2365
|
-
): void;
|
|
2366
|
-
public recordLifecycleActionHeartbeat(
|
|
2367
|
-
args: RecordLifecycleActionHeartbeatCommandInput,
|
|
2368
|
-
options: __HttpHandlerOptions,
|
|
2369
|
-
cb: (err: any, data?: RecordLifecycleActionHeartbeatCommandOutput) => void
|
|
2370
|
-
): void;
|
|
2371
|
-
public recordLifecycleActionHeartbeat(
|
|
2372
|
-
args: RecordLifecycleActionHeartbeatCommandInput,
|
|
2373
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RecordLifecycleActionHeartbeatCommandOutput) => void),
|
|
2374
|
-
cb?: (err: any, data?: RecordLifecycleActionHeartbeatCommandOutput) => void
|
|
2375
|
-
): Promise<RecordLifecycleActionHeartbeatCommandOutput> | void {
|
|
2376
|
-
const command = new RecordLifecycleActionHeartbeatCommand(args);
|
|
2377
|
-
if (typeof optionsOrCb === "function") {
|
|
2378
|
-
this.send(command, optionsOrCb);
|
|
2379
|
-
} else if (typeof cb === "function") {
|
|
2380
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2381
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2382
|
-
} else {
|
|
2383
|
-
return this.send(command, optionsOrCb);
|
|
2384
|
-
}
|
|
2385
|
-
}
|
|
2386
|
-
|
|
2387
|
-
/**
|
|
2388
|
-
* <p>Resumes the specified suspended auto scaling processes, or all suspended process, for
|
|
2389
|
-
* the specified Auto Scaling group.</p>
|
|
2390
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html">Suspending and
|
|
2391
|
-
* resuming scaling processes</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
2392
|
-
*/
|
|
2393
|
-
public resumeProcesses(
|
|
2394
|
-
args: ResumeProcessesCommandInput,
|
|
2395
|
-
options?: __HttpHandlerOptions
|
|
2396
|
-
): Promise<ResumeProcessesCommandOutput>;
|
|
2397
|
-
public resumeProcesses(
|
|
2398
|
-
args: ResumeProcessesCommandInput,
|
|
2399
|
-
cb: (err: any, data?: ResumeProcessesCommandOutput) => void
|
|
2400
|
-
): void;
|
|
2401
|
-
public resumeProcesses(
|
|
2402
|
-
args: ResumeProcessesCommandInput,
|
|
2403
|
-
options: __HttpHandlerOptions,
|
|
2404
|
-
cb: (err: any, data?: ResumeProcessesCommandOutput) => void
|
|
2405
|
-
): void;
|
|
2406
|
-
public resumeProcesses(
|
|
2407
|
-
args: ResumeProcessesCommandInput,
|
|
2408
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ResumeProcessesCommandOutput) => void),
|
|
2409
|
-
cb?: (err: any, data?: ResumeProcessesCommandOutput) => void
|
|
2410
|
-
): Promise<ResumeProcessesCommandOutput> | void {
|
|
2411
|
-
const command = new ResumeProcessesCommand(args);
|
|
2412
|
-
if (typeof optionsOrCb === "function") {
|
|
2413
|
-
this.send(command, optionsOrCb);
|
|
2414
|
-
} else if (typeof cb === "function") {
|
|
2415
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2416
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2417
|
-
} else {
|
|
2418
|
-
return this.send(command, optionsOrCb);
|
|
2419
|
-
}
|
|
2420
|
-
}
|
|
2421
|
-
|
|
2422
|
-
/**
|
|
2423
|
-
* <p>Sets the size of the specified Auto Scaling group.</p>
|
|
2424
|
-
* <p>If a scale-in activity occurs as a result of a new <code>DesiredCapacity</code> value
|
|
2425
|
-
* that is lower than the current size of the group, the Auto Scaling group uses its termination
|
|
2426
|
-
* policy to determine which instances to terminate. </p>
|
|
2427
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-manual-scaling.html">Manual scaling</a> in the
|
|
2428
|
-
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
2429
|
-
*/
|
|
2430
|
-
public setDesiredCapacity(
|
|
2431
|
-
args: SetDesiredCapacityCommandInput,
|
|
2432
|
-
options?: __HttpHandlerOptions
|
|
2433
|
-
): Promise<SetDesiredCapacityCommandOutput>;
|
|
2434
|
-
public setDesiredCapacity(
|
|
2435
|
-
args: SetDesiredCapacityCommandInput,
|
|
2436
|
-
cb: (err: any, data?: SetDesiredCapacityCommandOutput) => void
|
|
2437
|
-
): void;
|
|
2438
|
-
public setDesiredCapacity(
|
|
2439
|
-
args: SetDesiredCapacityCommandInput,
|
|
2440
|
-
options: __HttpHandlerOptions,
|
|
2441
|
-
cb: (err: any, data?: SetDesiredCapacityCommandOutput) => void
|
|
2442
|
-
): void;
|
|
2443
|
-
public setDesiredCapacity(
|
|
2444
|
-
args: SetDesiredCapacityCommandInput,
|
|
2445
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SetDesiredCapacityCommandOutput) => void),
|
|
2446
|
-
cb?: (err: any, data?: SetDesiredCapacityCommandOutput) => void
|
|
2447
|
-
): Promise<SetDesiredCapacityCommandOutput> | void {
|
|
2448
|
-
const command = new SetDesiredCapacityCommand(args);
|
|
2449
|
-
if (typeof optionsOrCb === "function") {
|
|
2450
|
-
this.send(command, optionsOrCb);
|
|
2451
|
-
} else if (typeof cb === "function") {
|
|
2452
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2453
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2454
|
-
} else {
|
|
2455
|
-
return this.send(command, optionsOrCb);
|
|
2456
|
-
}
|
|
2457
|
-
}
|
|
2458
|
-
|
|
2459
|
-
/**
|
|
2460
|
-
* <p>Sets the health status of the specified instance.</p>
|
|
2461
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html">Health checks for Auto Scaling
|
|
2462
|
-
* instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
2463
|
-
*/
|
|
2464
|
-
public setInstanceHealth(
|
|
2465
|
-
args: SetInstanceHealthCommandInput,
|
|
2466
|
-
options?: __HttpHandlerOptions
|
|
2467
|
-
): Promise<SetInstanceHealthCommandOutput>;
|
|
2468
|
-
public setInstanceHealth(
|
|
2469
|
-
args: SetInstanceHealthCommandInput,
|
|
2470
|
-
cb: (err: any, data?: SetInstanceHealthCommandOutput) => void
|
|
2471
|
-
): void;
|
|
2472
|
-
public setInstanceHealth(
|
|
2473
|
-
args: SetInstanceHealthCommandInput,
|
|
2474
|
-
options: __HttpHandlerOptions,
|
|
2475
|
-
cb: (err: any, data?: SetInstanceHealthCommandOutput) => void
|
|
2476
|
-
): void;
|
|
2477
|
-
public setInstanceHealth(
|
|
2478
|
-
args: SetInstanceHealthCommandInput,
|
|
2479
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SetInstanceHealthCommandOutput) => void),
|
|
2480
|
-
cb?: (err: any, data?: SetInstanceHealthCommandOutput) => void
|
|
2481
|
-
): Promise<SetInstanceHealthCommandOutput> | void {
|
|
2482
|
-
const command = new SetInstanceHealthCommand(args);
|
|
2483
|
-
if (typeof optionsOrCb === "function") {
|
|
2484
|
-
this.send(command, optionsOrCb);
|
|
2485
|
-
} else if (typeof cb === "function") {
|
|
2486
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2487
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2488
|
-
} else {
|
|
2489
|
-
return this.send(command, optionsOrCb);
|
|
2490
|
-
}
|
|
2491
|
-
}
|
|
2492
|
-
|
|
2493
|
-
/**
|
|
2494
|
-
* <p>Updates the instance protection settings of the specified instances. This operation
|
|
2495
|
-
* cannot be called on instances in a warm pool.</p>
|
|
2496
|
-
* <p>For more information about preventing instances that are part of an Auto Scaling group from
|
|
2497
|
-
* terminating on scale in, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection">Instance scale-in protection</a> in the
|
|
2498
|
-
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
2499
|
-
* <p>If you exceed your maximum limit of instance IDs, which is 50 per Auto Scaling group, the call
|
|
2500
|
-
* fails.</p>
|
|
2501
|
-
*/
|
|
2502
|
-
public setInstanceProtection(
|
|
2503
|
-
args: SetInstanceProtectionCommandInput,
|
|
2504
|
-
options?: __HttpHandlerOptions
|
|
2505
|
-
): Promise<SetInstanceProtectionCommandOutput>;
|
|
2506
|
-
public setInstanceProtection(
|
|
2507
|
-
args: SetInstanceProtectionCommandInput,
|
|
2508
|
-
cb: (err: any, data?: SetInstanceProtectionCommandOutput) => void
|
|
2509
|
-
): void;
|
|
2510
|
-
public setInstanceProtection(
|
|
2511
|
-
args: SetInstanceProtectionCommandInput,
|
|
2512
|
-
options: __HttpHandlerOptions,
|
|
2513
|
-
cb: (err: any, data?: SetInstanceProtectionCommandOutput) => void
|
|
2514
|
-
): void;
|
|
2515
|
-
public setInstanceProtection(
|
|
2516
|
-
args: SetInstanceProtectionCommandInput,
|
|
2517
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SetInstanceProtectionCommandOutput) => void),
|
|
2518
|
-
cb?: (err: any, data?: SetInstanceProtectionCommandOutput) => void
|
|
2519
|
-
): Promise<SetInstanceProtectionCommandOutput> | void {
|
|
2520
|
-
const command = new SetInstanceProtectionCommand(args);
|
|
2521
|
-
if (typeof optionsOrCb === "function") {
|
|
2522
|
-
this.send(command, optionsOrCb);
|
|
2523
|
-
} else if (typeof cb === "function") {
|
|
2524
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2525
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2526
|
-
} else {
|
|
2527
|
-
return this.send(command, optionsOrCb);
|
|
2528
|
-
}
|
|
2529
|
-
}
|
|
2530
|
-
|
|
2531
|
-
/**
|
|
2532
|
-
* <p>Starts a new instance refresh operation. An instance refresh performs a rolling
|
|
2533
|
-
* replacement of all or some instances in an Auto Scaling group. Each instance is terminated first
|
|
2534
|
-
* and then replaced, which temporarily reduces the capacity available within your Auto Scaling
|
|
2535
|
-
* group.</p>
|
|
2536
|
-
* <p>This operation is part of the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html">instance refresh
|
|
2537
|
-
* feature</a> in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group.
|
|
2538
|
-
* This feature is helpful, for example, when you have a new AMI or a new user data script.
|
|
2539
|
-
* You just need to create a new launch template that specifies the new AMI or user data
|
|
2540
|
-
* script. Then start an instance refresh to immediately begin the process of updating
|
|
2541
|
-
* instances in the group. </p>
|
|
2542
|
-
* <p>If the call succeeds, it creates a new instance refresh request with a unique ID that
|
|
2543
|
-
* you can use to track its progress. To query its status, call the <a>DescribeInstanceRefreshes</a> API. To describe the instance refreshes that
|
|
2544
|
-
* have already run, call the <a>DescribeInstanceRefreshes</a> API. To cancel an
|
|
2545
|
-
* instance refresh operation in progress, use the <a>CancelInstanceRefresh</a>
|
|
2546
|
-
* API. </p>
|
|
2547
|
-
*/
|
|
2548
|
-
public startInstanceRefresh(
|
|
2549
|
-
args: StartInstanceRefreshCommandInput,
|
|
2550
|
-
options?: __HttpHandlerOptions
|
|
2551
|
-
): Promise<StartInstanceRefreshCommandOutput>;
|
|
2552
|
-
public startInstanceRefresh(
|
|
2553
|
-
args: StartInstanceRefreshCommandInput,
|
|
2554
|
-
cb: (err: any, data?: StartInstanceRefreshCommandOutput) => void
|
|
2555
|
-
): void;
|
|
2556
|
-
public startInstanceRefresh(
|
|
2557
|
-
args: StartInstanceRefreshCommandInput,
|
|
2558
|
-
options: __HttpHandlerOptions,
|
|
2559
|
-
cb: (err: any, data?: StartInstanceRefreshCommandOutput) => void
|
|
2560
|
-
): void;
|
|
2561
|
-
public startInstanceRefresh(
|
|
2562
|
-
args: StartInstanceRefreshCommandInput,
|
|
2563
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartInstanceRefreshCommandOutput) => void),
|
|
2564
|
-
cb?: (err: any, data?: StartInstanceRefreshCommandOutput) => void
|
|
2565
|
-
): Promise<StartInstanceRefreshCommandOutput> | void {
|
|
2566
|
-
const command = new StartInstanceRefreshCommand(args);
|
|
2567
|
-
if (typeof optionsOrCb === "function") {
|
|
2568
|
-
this.send(command, optionsOrCb);
|
|
2569
|
-
} else if (typeof cb === "function") {
|
|
2570
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2571
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2572
|
-
} else {
|
|
2573
|
-
return this.send(command, optionsOrCb);
|
|
2574
|
-
}
|
|
2575
|
-
}
|
|
2576
|
-
|
|
2577
|
-
/**
|
|
2578
|
-
* <p>Suspends the specified auto scaling processes, or all processes, for the specified
|
|
2579
|
-
* Auto Scaling group.</p>
|
|
2580
|
-
* <p>If you suspend either the <code>Launch</code> or <code>Terminate</code> process types,
|
|
2581
|
-
* it can prevent other process types from functioning properly. For more information, see
|
|
2582
|
-
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html">Suspending and
|
|
2583
|
-
* resuming scaling processes</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
2584
|
-
* <p>To resume processes that have been suspended, call the <a>ResumeProcesses</a> API.</p>
|
|
2585
|
-
*/
|
|
2586
|
-
public suspendProcesses(
|
|
2587
|
-
args: SuspendProcessesCommandInput,
|
|
2588
|
-
options?: __HttpHandlerOptions
|
|
2589
|
-
): Promise<SuspendProcessesCommandOutput>;
|
|
2590
|
-
public suspendProcesses(
|
|
2591
|
-
args: SuspendProcessesCommandInput,
|
|
2592
|
-
cb: (err: any, data?: SuspendProcessesCommandOutput) => void
|
|
2593
|
-
): void;
|
|
2594
|
-
public suspendProcesses(
|
|
2595
|
-
args: SuspendProcessesCommandInput,
|
|
2596
|
-
options: __HttpHandlerOptions,
|
|
2597
|
-
cb: (err: any, data?: SuspendProcessesCommandOutput) => void
|
|
2598
|
-
): void;
|
|
2599
|
-
public suspendProcesses(
|
|
2600
|
-
args: SuspendProcessesCommandInput,
|
|
2601
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SuspendProcessesCommandOutput) => void),
|
|
2602
|
-
cb?: (err: any, data?: SuspendProcessesCommandOutput) => void
|
|
2603
|
-
): Promise<SuspendProcessesCommandOutput> | void {
|
|
2604
|
-
const command = new SuspendProcessesCommand(args);
|
|
2605
|
-
if (typeof optionsOrCb === "function") {
|
|
2606
|
-
this.send(command, optionsOrCb);
|
|
2607
|
-
} else if (typeof cb === "function") {
|
|
2608
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2609
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2610
|
-
} else {
|
|
2611
|
-
return this.send(command, optionsOrCb);
|
|
2612
|
-
}
|
|
2613
|
-
}
|
|
2614
|
-
|
|
2615
|
-
/**
|
|
2616
|
-
* <p>Terminates the specified instance and optionally adjusts the desired group size. This
|
|
2617
|
-
* operation cannot be called on instances in a warm pool.</p>
|
|
2618
|
-
* <p>This call simply makes a termination request. The instance is not terminated
|
|
2619
|
-
* immediately. When an instance is terminated, the instance status changes to
|
|
2620
|
-
* <code>terminated</code>. You can't connect to or start an instance after you've
|
|
2621
|
-
* terminated it.</p>
|
|
2622
|
-
* <p>If you do not specify the option to decrement the desired capacity, Amazon EC2 Auto Scaling launches
|
|
2623
|
-
* instances to replace the ones that are terminated. </p>
|
|
2624
|
-
* <p>By default, Amazon EC2 Auto Scaling balances instances across all Availability Zones. If you
|
|
2625
|
-
* decrement the desired capacity, your Auto Scaling group can become unbalanced between
|
|
2626
|
-
* Availability Zones. Amazon EC2 Auto Scaling tries to rebalance the group, and rebalancing might
|
|
2627
|
-
* terminate instances in other zones. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-benefits.html#AutoScalingBehavior.InstanceUsage">Rebalancing activities</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
2628
|
-
*/
|
|
2629
|
-
public terminateInstanceInAutoScalingGroup(
|
|
2630
|
-
args: TerminateInstanceInAutoScalingGroupCommandInput,
|
|
2631
|
-
options?: __HttpHandlerOptions
|
|
2632
|
-
): Promise<TerminateInstanceInAutoScalingGroupCommandOutput>;
|
|
2633
|
-
public terminateInstanceInAutoScalingGroup(
|
|
2634
|
-
args: TerminateInstanceInAutoScalingGroupCommandInput,
|
|
2635
|
-
cb: (err: any, data?: TerminateInstanceInAutoScalingGroupCommandOutput) => void
|
|
2636
|
-
): void;
|
|
2637
|
-
public terminateInstanceInAutoScalingGroup(
|
|
2638
|
-
args: TerminateInstanceInAutoScalingGroupCommandInput,
|
|
2639
|
-
options: __HttpHandlerOptions,
|
|
2640
|
-
cb: (err: any, data?: TerminateInstanceInAutoScalingGroupCommandOutput) => void
|
|
2641
|
-
): void;
|
|
2642
|
-
public terminateInstanceInAutoScalingGroup(
|
|
2643
|
-
args: TerminateInstanceInAutoScalingGroupCommandInput,
|
|
2644
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TerminateInstanceInAutoScalingGroupCommandOutput) => void),
|
|
2645
|
-
cb?: (err: any, data?: TerminateInstanceInAutoScalingGroupCommandOutput) => void
|
|
2646
|
-
): Promise<TerminateInstanceInAutoScalingGroupCommandOutput> | void {
|
|
2647
|
-
const command = new TerminateInstanceInAutoScalingGroupCommand(args);
|
|
2648
|
-
if (typeof optionsOrCb === "function") {
|
|
2649
|
-
this.send(command, optionsOrCb);
|
|
2650
|
-
} else if (typeof cb === "function") {
|
|
2651
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2652
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2653
|
-
} else {
|
|
2654
|
-
return this.send(command, optionsOrCb);
|
|
2655
|
-
}
|
|
2656
|
-
}
|
|
2657
|
-
|
|
2658
|
-
/**
|
|
2659
|
-
* <p>
|
|
2660
|
-
* <b>We strongly recommend that all Auto Scaling groups use launch templates to ensure full functionality for Amazon EC2 Auto Scaling and Amazon EC2.</b>
|
|
2661
|
-
* </p>
|
|
2662
|
-
* <p>Updates the configuration for
|
|
2663
|
-
* the specified Auto Scaling group.</p>
|
|
2664
|
-
* <p>To update an Auto Scaling group, specify the name of the group and the parameter that you want
|
|
2665
|
-
* to change. Any parameters that you don't specify are not changed by this update request.
|
|
2666
|
-
* The new settings take effect on any scaling activities after this call returns.
|
|
2667
|
-
* </p>
|
|
2668
|
-
* <p>If you associate a new launch configuration or template with an Auto Scaling group, all new
|
|
2669
|
-
* instances will get the updated configuration. Existing instances continue to run with
|
|
2670
|
-
* the configuration that they were originally launched with. When you update a group to
|
|
2671
|
-
* specify a mixed instances policy instead of a launch configuration or template, existing
|
|
2672
|
-
* instances may be replaced to match the new purchasing options that you specified in the
|
|
2673
|
-
* policy. For example, if the group currently has 100% On-Demand capacity and the policy
|
|
2674
|
-
* specifies 50% Spot capacity, this means that half of your instances will be gradually
|
|
2675
|
-
* terminated and relaunched as Spot Instances. When replacing instances, Amazon EC2 Auto Scaling launches
|
|
2676
|
-
* new instances before terminating the old ones, so that updating your group does not
|
|
2677
|
-
* compromise the performance or availability of your application.</p>
|
|
2678
|
-
* <p>Note the following about changing <code>DesiredCapacity</code>, <code>MaxSize</code>,
|
|
2679
|
-
* or <code>MinSize</code>:</p>
|
|
2680
|
-
* <ul>
|
|
2681
|
-
* <li>
|
|
2682
|
-
* <p>If a scale-in activity occurs as a result of a new
|
|
2683
|
-
* <code>DesiredCapacity</code> value that is lower than the current size of
|
|
2684
|
-
* the group, the Auto Scaling group uses its termination policy to determine which
|
|
2685
|
-
* instances to terminate.</p>
|
|
2686
|
-
* </li>
|
|
2687
|
-
* <li>
|
|
2688
|
-
* <p>If you specify a new value for <code>MinSize</code> without specifying a value
|
|
2689
|
-
* for <code>DesiredCapacity</code>, and the new <code>MinSize</code> is larger
|
|
2690
|
-
* than the current size of the group, this sets the group's
|
|
2691
|
-
* <code>DesiredCapacity</code> to the new <code>MinSize</code> value.</p>
|
|
2692
|
-
* </li>
|
|
2693
|
-
* <li>
|
|
2694
|
-
* <p>If you specify a new value for <code>MaxSize</code> without specifying a value
|
|
2695
|
-
* for <code>DesiredCapacity</code>, and the new <code>MaxSize</code> is smaller
|
|
2696
|
-
* than the current size of the group, this sets the group's
|
|
2697
|
-
* <code>DesiredCapacity</code> to the new <code>MaxSize</code> value.</p>
|
|
2698
|
-
* </li>
|
|
2699
|
-
* </ul>
|
|
2700
|
-
* <p>To see which parameters have been set, call the <a>DescribeAutoScalingGroups</a> API. To view the scaling policies for an Auto Scaling
|
|
2701
|
-
* group, call the <a>DescribePolicies</a> API. If the group has scaling
|
|
2702
|
-
* policies, you can update them by calling the <a>PutScalingPolicy</a>
|
|
2703
|
-
* API.</p>
|
|
2704
|
-
*/
|
|
2705
|
-
public updateAutoScalingGroup(
|
|
2706
|
-
args: UpdateAutoScalingGroupCommandInput,
|
|
2707
|
-
options?: __HttpHandlerOptions
|
|
2708
|
-
): Promise<UpdateAutoScalingGroupCommandOutput>;
|
|
2709
|
-
public updateAutoScalingGroup(
|
|
2710
|
-
args: UpdateAutoScalingGroupCommandInput,
|
|
2711
|
-
cb: (err: any, data?: UpdateAutoScalingGroupCommandOutput) => void
|
|
2712
|
-
): void;
|
|
2713
|
-
public updateAutoScalingGroup(
|
|
2714
|
-
args: UpdateAutoScalingGroupCommandInput,
|
|
2715
|
-
options: __HttpHandlerOptions,
|
|
2716
|
-
cb: (err: any, data?: UpdateAutoScalingGroupCommandOutput) => void
|
|
2717
|
-
): void;
|
|
2718
|
-
public updateAutoScalingGroup(
|
|
2719
|
-
args: UpdateAutoScalingGroupCommandInput,
|
|
2720
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateAutoScalingGroupCommandOutput) => void),
|
|
2721
|
-
cb?: (err: any, data?: UpdateAutoScalingGroupCommandOutput) => void
|
|
2722
|
-
): Promise<UpdateAutoScalingGroupCommandOutput> | void {
|
|
2723
|
-
const command = new UpdateAutoScalingGroupCommand(args);
|
|
2724
|
-
if (typeof optionsOrCb === "function") {
|
|
2725
|
-
this.send(command, optionsOrCb);
|
|
2726
|
-
} else if (typeof cb === "function") {
|
|
2727
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2728
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2729
|
-
} else {
|
|
2730
|
-
return this.send(command, optionsOrCb);
|
|
2731
|
-
}
|
|
2732
|
-
}
|
|
2733
|
-
}
|