@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
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { AutoScaling } from "../AutoScaling";
|
|
4
|
-
import { AutoScalingClient } from "../AutoScalingClient";
|
|
5
|
-
import {
|
|
6
|
-
DescribeAutoScalingGroupsCommand,
|
|
7
|
-
DescribeAutoScalingGroupsCommandInput,
|
|
8
|
-
DescribeAutoScalingGroupsCommandOutput,
|
|
9
|
-
} from "../commands/DescribeAutoScalingGroupsCommand";
|
|
10
|
-
import { AutoScalingPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: AutoScalingClient,
|
|
17
|
-
input: DescribeAutoScalingGroupsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<DescribeAutoScalingGroupsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new DescribeAutoScalingGroupsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: AutoScaling,
|
|
28
|
-
input: DescribeAutoScalingGroupsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<DescribeAutoScalingGroupsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.describeAutoScalingGroups(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateDescribeAutoScalingGroups(
|
|
35
|
-
config: AutoScalingPaginationConfiguration,
|
|
36
|
-
input: DescribeAutoScalingGroupsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<DescribeAutoScalingGroupsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
40
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: DescribeAutoScalingGroupsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.NextToken = token;
|
|
45
|
-
input["MaxRecords"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof AutoScaling) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof AutoScalingClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected AutoScaling | AutoScalingClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.NextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { AutoScaling } from "../AutoScaling";
|
|
4
|
-
import { AutoScalingClient } from "../AutoScalingClient";
|
|
5
|
-
import {
|
|
6
|
-
DescribeAutoScalingInstancesCommand,
|
|
7
|
-
DescribeAutoScalingInstancesCommandInput,
|
|
8
|
-
DescribeAutoScalingInstancesCommandOutput,
|
|
9
|
-
} from "../commands/DescribeAutoScalingInstancesCommand";
|
|
10
|
-
import { AutoScalingPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: AutoScalingClient,
|
|
17
|
-
input: DescribeAutoScalingInstancesCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<DescribeAutoScalingInstancesCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new DescribeAutoScalingInstancesCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: AutoScaling,
|
|
28
|
-
input: DescribeAutoScalingInstancesCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<DescribeAutoScalingInstancesCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.describeAutoScalingInstances(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateDescribeAutoScalingInstances(
|
|
35
|
-
config: AutoScalingPaginationConfiguration,
|
|
36
|
-
input: DescribeAutoScalingInstancesCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<DescribeAutoScalingInstancesCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
40
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: DescribeAutoScalingInstancesCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.NextToken = token;
|
|
45
|
-
input["MaxRecords"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof AutoScaling) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof AutoScalingClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected AutoScaling | AutoScalingClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.NextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { AutoScaling } from "../AutoScaling";
|
|
4
|
-
import { AutoScalingClient } from "../AutoScalingClient";
|
|
5
|
-
import {
|
|
6
|
-
DescribeLaunchConfigurationsCommand,
|
|
7
|
-
DescribeLaunchConfigurationsCommandInput,
|
|
8
|
-
DescribeLaunchConfigurationsCommandOutput,
|
|
9
|
-
} from "../commands/DescribeLaunchConfigurationsCommand";
|
|
10
|
-
import { AutoScalingPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: AutoScalingClient,
|
|
17
|
-
input: DescribeLaunchConfigurationsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<DescribeLaunchConfigurationsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new DescribeLaunchConfigurationsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: AutoScaling,
|
|
28
|
-
input: DescribeLaunchConfigurationsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<DescribeLaunchConfigurationsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.describeLaunchConfigurations(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateDescribeLaunchConfigurations(
|
|
35
|
-
config: AutoScalingPaginationConfiguration,
|
|
36
|
-
input: DescribeLaunchConfigurationsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<DescribeLaunchConfigurationsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
40
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: DescribeLaunchConfigurationsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.NextToken = token;
|
|
45
|
-
input["MaxRecords"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof AutoScaling) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof AutoScalingClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected AutoScaling | AutoScalingClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.NextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { AutoScaling } from "../AutoScaling";
|
|
4
|
-
import { AutoScalingClient } from "../AutoScalingClient";
|
|
5
|
-
import {
|
|
6
|
-
DescribeNotificationConfigurationsCommand,
|
|
7
|
-
DescribeNotificationConfigurationsCommandInput,
|
|
8
|
-
DescribeNotificationConfigurationsCommandOutput,
|
|
9
|
-
} from "../commands/DescribeNotificationConfigurationsCommand";
|
|
10
|
-
import { AutoScalingPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: AutoScalingClient,
|
|
17
|
-
input: DescribeNotificationConfigurationsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<DescribeNotificationConfigurationsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new DescribeNotificationConfigurationsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: AutoScaling,
|
|
28
|
-
input: DescribeNotificationConfigurationsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<DescribeNotificationConfigurationsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.describeNotificationConfigurations(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateDescribeNotificationConfigurations(
|
|
35
|
-
config: AutoScalingPaginationConfiguration,
|
|
36
|
-
input: DescribeNotificationConfigurationsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<DescribeNotificationConfigurationsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
40
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: DescribeNotificationConfigurationsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.NextToken = token;
|
|
45
|
-
input["MaxRecords"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof AutoScaling) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof AutoScalingClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected AutoScaling | AutoScalingClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.NextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { AutoScaling } from "../AutoScaling";
|
|
4
|
-
import { AutoScalingClient } from "../AutoScalingClient";
|
|
5
|
-
import {
|
|
6
|
-
DescribePoliciesCommand,
|
|
7
|
-
DescribePoliciesCommandInput,
|
|
8
|
-
DescribePoliciesCommandOutput,
|
|
9
|
-
} from "../commands/DescribePoliciesCommand";
|
|
10
|
-
import { AutoScalingPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: AutoScalingClient,
|
|
17
|
-
input: DescribePoliciesCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<DescribePoliciesCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new DescribePoliciesCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: AutoScaling,
|
|
28
|
-
input: DescribePoliciesCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<DescribePoliciesCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.describePolicies(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateDescribePolicies(
|
|
35
|
-
config: AutoScalingPaginationConfiguration,
|
|
36
|
-
input: DescribePoliciesCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<DescribePoliciesCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
40
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: DescribePoliciesCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.NextToken = token;
|
|
45
|
-
input["MaxRecords"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof AutoScaling) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof AutoScalingClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected AutoScaling | AutoScalingClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.NextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { AutoScaling } from "../AutoScaling";
|
|
4
|
-
import { AutoScalingClient } from "../AutoScalingClient";
|
|
5
|
-
import {
|
|
6
|
-
DescribeScalingActivitiesCommand,
|
|
7
|
-
DescribeScalingActivitiesCommandInput,
|
|
8
|
-
DescribeScalingActivitiesCommandOutput,
|
|
9
|
-
} from "../commands/DescribeScalingActivitiesCommand";
|
|
10
|
-
import { AutoScalingPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: AutoScalingClient,
|
|
17
|
-
input: DescribeScalingActivitiesCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<DescribeScalingActivitiesCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new DescribeScalingActivitiesCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: AutoScaling,
|
|
28
|
-
input: DescribeScalingActivitiesCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<DescribeScalingActivitiesCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.describeScalingActivities(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateDescribeScalingActivities(
|
|
35
|
-
config: AutoScalingPaginationConfiguration,
|
|
36
|
-
input: DescribeScalingActivitiesCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<DescribeScalingActivitiesCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
40
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: DescribeScalingActivitiesCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.NextToken = token;
|
|
45
|
-
input["MaxRecords"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof AutoScaling) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof AutoScalingClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected AutoScaling | AutoScalingClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.NextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { AutoScaling } from "../AutoScaling";
|
|
4
|
-
import { AutoScalingClient } from "../AutoScalingClient";
|
|
5
|
-
import {
|
|
6
|
-
DescribeScheduledActionsCommand,
|
|
7
|
-
DescribeScheduledActionsCommandInput,
|
|
8
|
-
DescribeScheduledActionsCommandOutput,
|
|
9
|
-
} from "../commands/DescribeScheduledActionsCommand";
|
|
10
|
-
import { AutoScalingPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: AutoScalingClient,
|
|
17
|
-
input: DescribeScheduledActionsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<DescribeScheduledActionsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new DescribeScheduledActionsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: AutoScaling,
|
|
28
|
-
input: DescribeScheduledActionsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<DescribeScheduledActionsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.describeScheduledActions(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateDescribeScheduledActions(
|
|
35
|
-
config: AutoScalingPaginationConfiguration,
|
|
36
|
-
input: DescribeScheduledActionsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<DescribeScheduledActionsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
40
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: DescribeScheduledActionsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.NextToken = token;
|
|
45
|
-
input["MaxRecords"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof AutoScaling) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof AutoScalingClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected AutoScaling | AutoScalingClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.NextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { AutoScaling } from "../AutoScaling";
|
|
4
|
-
import { AutoScalingClient } from "../AutoScalingClient";
|
|
5
|
-
import {
|
|
6
|
-
DescribeTagsCommand,
|
|
7
|
-
DescribeTagsCommandInput,
|
|
8
|
-
DescribeTagsCommandOutput,
|
|
9
|
-
} from "../commands/DescribeTagsCommand";
|
|
10
|
-
import { AutoScalingPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: AutoScalingClient,
|
|
17
|
-
input: DescribeTagsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<DescribeTagsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new DescribeTagsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: AutoScaling,
|
|
28
|
-
input: DescribeTagsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<DescribeTagsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.describeTags(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateDescribeTags(
|
|
35
|
-
config: AutoScalingPaginationConfiguration,
|
|
36
|
-
input: DescribeTagsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<DescribeTagsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
40
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: DescribeTagsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.NextToken = token;
|
|
45
|
-
input["MaxRecords"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof AutoScaling) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof AutoScalingClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected AutoScaling | AutoScalingClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.NextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { AutoScaling } from "../AutoScaling";
|
|
4
|
-
import { AutoScalingClient } from "../AutoScalingClient";
|
|
5
|
-
|
|
6
|
-
export interface AutoScalingPaginationConfiguration extends PaginationConfiguration {
|
|
7
|
-
client: AutoScaling | AutoScalingClient;
|
|
8
|
-
}
|