Documentation ¶
Overview ¶
Package autoscaling provides the API client, operations, and parameter types for Auto Scaling.
Amazon EC2 Auto Scaling Amazon EC2 Auto Scaling is designed to automatically launch and terminate EC2 instances based on user-defined scaling policies, scheduled actions, and health checks. For more information, see the Amazon EC2 Auto Scaling User Guide (https://docs.aws.amazon.com/autoscaling/ec2/userguide/) and the Amazon EC2 Auto Scaling API Reference (https://docs.aws.amazon.com/autoscaling/ec2/APIReference/Welcome.html) .
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)deprecated
- func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
- func WithSigV4SigningName(name string) func(*Options)
- func WithSigV4SigningRegion(region string) func(*Options)
- type AttachInstancesInput
- type AttachInstancesOutput
- type AttachLoadBalancerTargetGroupsInput
- type AttachLoadBalancerTargetGroupsOutput
- type AttachLoadBalancersInput
- type AttachLoadBalancersOutput
- type AttachTrafficSourcesInput
- type AttachTrafficSourcesOutput
- type AuthResolverParameters
- type AuthSchemeResolver
- type BatchDeleteScheduledActionInput
- type BatchDeleteScheduledActionOutput
- type BatchPutScheduledUpdateGroupActionInput
- type BatchPutScheduledUpdateGroupActionOutput
- type CancelInstanceRefreshInput
- type CancelInstanceRefreshOutput
- type Client
- func (c *Client) AttachInstances(ctx context.Context, params *AttachInstancesInput, optFns ...func(*Options)) (*AttachInstancesOutput, error)
- func (c *Client) AttachLoadBalancerTargetGroups(ctx context.Context, params *AttachLoadBalancerTargetGroupsInput, ...) (*AttachLoadBalancerTargetGroupsOutput, error)
- func (c *Client) AttachLoadBalancers(ctx context.Context, params *AttachLoadBalancersInput, ...) (*AttachLoadBalancersOutput, error)
- func (c *Client) AttachTrafficSources(ctx context.Context, params *AttachTrafficSourcesInput, ...) (*AttachTrafficSourcesOutput, error)
- func (c *Client) BatchDeleteScheduledAction(ctx context.Context, params *BatchDeleteScheduledActionInput, ...) (*BatchDeleteScheduledActionOutput, error)
- func (c *Client) BatchPutScheduledUpdateGroupAction(ctx context.Context, params *BatchPutScheduledUpdateGroupActionInput, ...) (*BatchPutScheduledUpdateGroupActionOutput, error)
- func (c *Client) CancelInstanceRefresh(ctx context.Context, params *CancelInstanceRefreshInput, ...) (*CancelInstanceRefreshOutput, error)
- func (c *Client) CompleteLifecycleAction(ctx context.Context, params *CompleteLifecycleActionInput, ...) (*CompleteLifecycleActionOutput, error)
- func (c *Client) CreateAutoScalingGroup(ctx context.Context, params *CreateAutoScalingGroupInput, ...) (*CreateAutoScalingGroupOutput, error)
- func (c *Client) CreateLaunchConfiguration(ctx context.Context, params *CreateLaunchConfigurationInput, ...) (*CreateLaunchConfigurationOutput, error)
- func (c *Client) CreateOrUpdateTags(ctx context.Context, params *CreateOrUpdateTagsInput, optFns ...func(*Options)) (*CreateOrUpdateTagsOutput, error)
- func (c *Client) DeleteAutoScalingGroup(ctx context.Context, params *DeleteAutoScalingGroupInput, ...) (*DeleteAutoScalingGroupOutput, error)
- func (c *Client) DeleteLaunchConfiguration(ctx context.Context, params *DeleteLaunchConfigurationInput, ...) (*DeleteLaunchConfigurationOutput, error)
- func (c *Client) DeleteLifecycleHook(ctx context.Context, params *DeleteLifecycleHookInput, ...) (*DeleteLifecycleHookOutput, error)
- func (c *Client) DeleteNotificationConfiguration(ctx context.Context, params *DeleteNotificationConfigurationInput, ...) (*DeleteNotificationConfigurationOutput, error)
- func (c *Client) DeletePolicy(ctx context.Context, params *DeletePolicyInput, optFns ...func(*Options)) (*DeletePolicyOutput, error)
- func (c *Client) DeleteScheduledAction(ctx context.Context, params *DeleteScheduledActionInput, ...) (*DeleteScheduledActionOutput, error)
- func (c *Client) DeleteTags(ctx context.Context, params *DeleteTagsInput, optFns ...func(*Options)) (*DeleteTagsOutput, error)
- func (c *Client) DeleteWarmPool(ctx context.Context, params *DeleteWarmPoolInput, optFns ...func(*Options)) (*DeleteWarmPoolOutput, error)
- func (c *Client) DescribeAccountLimits(ctx context.Context, params *DescribeAccountLimitsInput, ...) (*DescribeAccountLimitsOutput, error)
- func (c *Client) DescribeAdjustmentTypes(ctx context.Context, params *DescribeAdjustmentTypesInput, ...) (*DescribeAdjustmentTypesOutput, error)
- func (c *Client) DescribeAutoScalingGroups(ctx context.Context, params *DescribeAutoScalingGroupsInput, ...) (*DescribeAutoScalingGroupsOutput, error)
- func (c *Client) DescribeAutoScalingInstances(ctx context.Context, params *DescribeAutoScalingInstancesInput, ...) (*DescribeAutoScalingInstancesOutput, error)
- func (c *Client) DescribeAutoScalingNotificationTypes(ctx context.Context, params *DescribeAutoScalingNotificationTypesInput, ...) (*DescribeAutoScalingNotificationTypesOutput, error)
- func (c *Client) DescribeInstanceRefreshes(ctx context.Context, params *DescribeInstanceRefreshesInput, ...) (*DescribeInstanceRefreshesOutput, error)
- func (c *Client) DescribeLaunchConfigurations(ctx context.Context, params *DescribeLaunchConfigurationsInput, ...) (*DescribeLaunchConfigurationsOutput, error)
- func (c *Client) DescribeLifecycleHookTypes(ctx context.Context, params *DescribeLifecycleHookTypesInput, ...) (*DescribeLifecycleHookTypesOutput, error)
- func (c *Client) DescribeLifecycleHooks(ctx context.Context, params *DescribeLifecycleHooksInput, ...) (*DescribeLifecycleHooksOutput, error)
- func (c *Client) DescribeLoadBalancerTargetGroups(ctx context.Context, params *DescribeLoadBalancerTargetGroupsInput, ...) (*DescribeLoadBalancerTargetGroupsOutput, error)
- func (c *Client) DescribeLoadBalancers(ctx context.Context, params *DescribeLoadBalancersInput, ...) (*DescribeLoadBalancersOutput, error)
- func (c *Client) DescribeMetricCollectionTypes(ctx context.Context, params *DescribeMetricCollectionTypesInput, ...) (*DescribeMetricCollectionTypesOutput, error)
- func (c *Client) DescribeNotificationConfigurations(ctx context.Context, params *DescribeNotificationConfigurationsInput, ...) (*DescribeNotificationConfigurationsOutput, error)
- func (c *Client) DescribePolicies(ctx context.Context, params *DescribePoliciesInput, optFns ...func(*Options)) (*DescribePoliciesOutput, error)
- func (c *Client) DescribeScalingActivities(ctx context.Context, params *DescribeScalingActivitiesInput, ...) (*DescribeScalingActivitiesOutput, error)
- func (c *Client) DescribeScalingProcessTypes(ctx context.Context, params *DescribeScalingProcessTypesInput, ...) (*DescribeScalingProcessTypesOutput, error)
- func (c *Client) DescribeScheduledActions(ctx context.Context, params *DescribeScheduledActionsInput, ...) (*DescribeScheduledActionsOutput, error)
- func (c *Client) DescribeTags(ctx context.Context, params *DescribeTagsInput, optFns ...func(*Options)) (*DescribeTagsOutput, error)
- func (c *Client) DescribeTerminationPolicyTypes(ctx context.Context, params *DescribeTerminationPolicyTypesInput, ...) (*DescribeTerminationPolicyTypesOutput, error)
- func (c *Client) DescribeTrafficSources(ctx context.Context, params *DescribeTrafficSourcesInput, ...) (*DescribeTrafficSourcesOutput, error)
- func (c *Client) DescribeWarmPool(ctx context.Context, params *DescribeWarmPoolInput, optFns ...func(*Options)) (*DescribeWarmPoolOutput, error)
- func (c *Client) DetachInstances(ctx context.Context, params *DetachInstancesInput, optFns ...func(*Options)) (*DetachInstancesOutput, error)
- func (c *Client) DetachLoadBalancerTargetGroups(ctx context.Context, params *DetachLoadBalancerTargetGroupsInput, ...) (*DetachLoadBalancerTargetGroupsOutput, error)
- func (c *Client) DetachLoadBalancers(ctx context.Context, params *DetachLoadBalancersInput, ...) (*DetachLoadBalancersOutput, error)
- func (c *Client) DetachTrafficSources(ctx context.Context, params *DetachTrafficSourcesInput, ...) (*DetachTrafficSourcesOutput, error)
- func (c *Client) DisableMetricsCollection(ctx context.Context, params *DisableMetricsCollectionInput, ...) (*DisableMetricsCollectionOutput, error)
- func (c *Client) EnableMetricsCollection(ctx context.Context, params *EnableMetricsCollectionInput, ...) (*EnableMetricsCollectionOutput, error)
- func (c *Client) EnterStandby(ctx context.Context, params *EnterStandbyInput, optFns ...func(*Options)) (*EnterStandbyOutput, error)
- func (c *Client) ExecutePolicy(ctx context.Context, params *ExecutePolicyInput, optFns ...func(*Options)) (*ExecutePolicyOutput, error)
- func (c *Client) ExitStandby(ctx context.Context, params *ExitStandbyInput, optFns ...func(*Options)) (*ExitStandbyOutput, error)
- func (c *Client) GetPredictiveScalingForecast(ctx context.Context, params *GetPredictiveScalingForecastInput, ...) (*GetPredictiveScalingForecastOutput, error)
- func (c *Client) Options() Options
- func (c *Client) PutLifecycleHook(ctx context.Context, params *PutLifecycleHookInput, optFns ...func(*Options)) (*PutLifecycleHookOutput, error)
- func (c *Client) PutNotificationConfiguration(ctx context.Context, params *PutNotificationConfigurationInput, ...) (*PutNotificationConfigurationOutput, error)
- func (c *Client) PutScalingPolicy(ctx context.Context, params *PutScalingPolicyInput, optFns ...func(*Options)) (*PutScalingPolicyOutput, error)
- func (c *Client) PutScheduledUpdateGroupAction(ctx context.Context, params *PutScheduledUpdateGroupActionInput, ...) (*PutScheduledUpdateGroupActionOutput, error)
- func (c *Client) PutWarmPool(ctx context.Context, params *PutWarmPoolInput, optFns ...func(*Options)) (*PutWarmPoolOutput, error)
- func (c *Client) RecordLifecycleActionHeartbeat(ctx context.Context, params *RecordLifecycleActionHeartbeatInput, ...) (*RecordLifecycleActionHeartbeatOutput, error)
- func (c *Client) ResumeProcesses(ctx context.Context, params *ResumeProcessesInput, optFns ...func(*Options)) (*ResumeProcessesOutput, error)
- func (c *Client) RollbackInstanceRefresh(ctx context.Context, params *RollbackInstanceRefreshInput, ...) (*RollbackInstanceRefreshOutput, error)
- func (c *Client) SetDesiredCapacity(ctx context.Context, params *SetDesiredCapacityInput, optFns ...func(*Options)) (*SetDesiredCapacityOutput, error)
- func (c *Client) SetInstanceHealth(ctx context.Context, params *SetInstanceHealthInput, optFns ...func(*Options)) (*SetInstanceHealthOutput, error)
- func (c *Client) SetInstanceProtection(ctx context.Context, params *SetInstanceProtectionInput, ...) (*SetInstanceProtectionOutput, error)
- func (c *Client) StartInstanceRefresh(ctx context.Context, params *StartInstanceRefreshInput, ...) (*StartInstanceRefreshOutput, error)
- func (c *Client) SuspendProcesses(ctx context.Context, params *SuspendProcessesInput, optFns ...func(*Options)) (*SuspendProcessesOutput, error)
- func (c *Client) TerminateInstanceInAutoScalingGroup(ctx context.Context, params *TerminateInstanceInAutoScalingGroupInput, ...) (*TerminateInstanceInAutoScalingGroupOutput, error)
- func (c *Client) UpdateAutoScalingGroup(ctx context.Context, params *UpdateAutoScalingGroupInput, ...) (*UpdateAutoScalingGroupOutput, error)
- type CompleteLifecycleActionInput
- type CompleteLifecycleActionOutput
- type CreateAutoScalingGroupInput
- type CreateAutoScalingGroupOutput
- type CreateLaunchConfigurationInput
- type CreateLaunchConfigurationOutput
- type CreateOrUpdateTagsInput
- type CreateOrUpdateTagsOutput
- type DeleteAutoScalingGroupInput
- type DeleteAutoScalingGroupOutput
- type DeleteLaunchConfigurationInput
- type DeleteLaunchConfigurationOutput
- type DeleteLifecycleHookInput
- type DeleteLifecycleHookOutput
- type DeleteNotificationConfigurationInput
- type DeleteNotificationConfigurationOutput
- type DeletePolicyInput
- type DeletePolicyOutput
- type DeleteScheduledActionInput
- type DeleteScheduledActionOutput
- type DeleteTagsInput
- type DeleteTagsOutput
- type DeleteWarmPoolInput
- type DeleteWarmPoolOutput
- type DescribeAccountLimitsInput
- type DescribeAccountLimitsOutput
- type DescribeAdjustmentTypesInput
- type DescribeAdjustmentTypesOutput
- type DescribeAutoScalingGroupsAPIClient
- type DescribeAutoScalingGroupsInput
- type DescribeAutoScalingGroupsOutput
- type DescribeAutoScalingGroupsPaginator
- type DescribeAutoScalingGroupsPaginatorOptions
- type DescribeAutoScalingInstancesAPIClient
- type DescribeAutoScalingInstancesInput
- type DescribeAutoScalingInstancesOutput
- type DescribeAutoScalingInstancesPaginator
- type DescribeAutoScalingInstancesPaginatorOptions
- type DescribeAutoScalingNotificationTypesInput
- type DescribeAutoScalingNotificationTypesOutput
- type DescribeInstanceRefreshesAPIClient
- type DescribeInstanceRefreshesInput
- type DescribeInstanceRefreshesOutput
- type DescribeInstanceRefreshesPaginator
- type DescribeInstanceRefreshesPaginatorOptions
- type DescribeLaunchConfigurationsAPIClient
- type DescribeLaunchConfigurationsInput
- type DescribeLaunchConfigurationsOutput
- type DescribeLaunchConfigurationsPaginator
- type DescribeLaunchConfigurationsPaginatorOptions
- type DescribeLifecycleHookTypesInput
- type DescribeLifecycleHookTypesOutput
- type DescribeLifecycleHooksInput
- type DescribeLifecycleHooksOutput
- type DescribeLoadBalancerTargetGroupsAPIClient
- type DescribeLoadBalancerTargetGroupsInput
- type DescribeLoadBalancerTargetGroupsOutput
- type DescribeLoadBalancerTargetGroupsPaginator
- type DescribeLoadBalancerTargetGroupsPaginatorOptions
- type DescribeLoadBalancersAPIClient
- type DescribeLoadBalancersInput
- type DescribeLoadBalancersOutput
- type DescribeLoadBalancersPaginator
- type DescribeLoadBalancersPaginatorOptions
- type DescribeMetricCollectionTypesInput
- type DescribeMetricCollectionTypesOutput
- type DescribeNotificationConfigurationsAPIClient
- type DescribeNotificationConfigurationsInput
- type DescribeNotificationConfigurationsOutput
- type DescribeNotificationConfigurationsPaginator
- type DescribeNotificationConfigurationsPaginatorOptions
- type DescribePoliciesAPIClient
- type DescribePoliciesInput
- type DescribePoliciesOutput
- type DescribePoliciesPaginator
- type DescribePoliciesPaginatorOptions
- type DescribeScalingActivitiesAPIClient
- type DescribeScalingActivitiesInput
- type DescribeScalingActivitiesOutput
- type DescribeScalingActivitiesPaginator
- type DescribeScalingActivitiesPaginatorOptions
- type DescribeScalingProcessTypesInput
- type DescribeScalingProcessTypesOutput
- type DescribeScheduledActionsAPIClient
- type DescribeScheduledActionsInput
- type DescribeScheduledActionsOutput
- type DescribeScheduledActionsPaginator
- type DescribeScheduledActionsPaginatorOptions
- type DescribeTagsAPIClient
- type DescribeTagsInput
- type DescribeTagsOutput
- type DescribeTagsPaginator
- type DescribeTagsPaginatorOptions
- type DescribeTerminationPolicyTypesInput
- type DescribeTerminationPolicyTypesOutput
- type DescribeTrafficSourcesAPIClient
- type DescribeTrafficSourcesInput
- type DescribeTrafficSourcesOutput
- type DescribeTrafficSourcesPaginator
- type DescribeTrafficSourcesPaginatorOptions
- type DescribeWarmPoolAPIClient
- type DescribeWarmPoolInput
- type DescribeWarmPoolOutput
- type DescribeWarmPoolPaginator
- type DescribeWarmPoolPaginatorOptions
- type DetachInstancesInput
- type DetachInstancesOutput
- type DetachLoadBalancerTargetGroupsInput
- type DetachLoadBalancerTargetGroupsOutput
- type DetachLoadBalancersInput
- type DetachLoadBalancersOutput
- type DetachTrafficSourcesInput
- type DetachTrafficSourcesOutput
- type DisableMetricsCollectionInput
- type DisableMetricsCollectionOutput
- type EnableMetricsCollectionInput
- type EnableMetricsCollectionOutput
- type EndpointParameters
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type EndpointResolverV2
- type EnterStandbyInput
- type EnterStandbyOutput
- type ExecutePolicyInput
- type ExecutePolicyOutput
- type ExitStandbyInput
- type ExitStandbyOutput
- type GetPredictiveScalingForecastInput
- type GetPredictiveScalingForecastOutput
- type GroupExistsWaiter
- type GroupExistsWaiterOptions
- type GroupInServiceWaiter
- type GroupInServiceWaiterOptions
- type GroupNotExistsWaiter
- type GroupNotExistsWaiterOptions
- type HTTPClient
- type HTTPSignerV4
- type Options
- type PutLifecycleHookInput
- type PutLifecycleHookOutput
- type PutNotificationConfigurationInput
- type PutNotificationConfigurationOutput
- type PutScalingPolicyInput
- type PutScalingPolicyOutput
- type PutScheduledUpdateGroupActionInput
- type PutScheduledUpdateGroupActionOutput
- type PutWarmPoolInput
- type PutWarmPoolOutput
- type RecordLifecycleActionHeartbeatInput
- type RecordLifecycleActionHeartbeatOutput
- type ResolveEndpoint
- type ResumeProcessesInput
- type ResumeProcessesOutput
- type RollbackInstanceRefreshInput
- type RollbackInstanceRefreshOutput
- type SetDesiredCapacityInput
- type SetDesiredCapacityOutput
- type SetInstanceHealthInput
- type SetInstanceHealthOutput
- type SetInstanceProtectionInput
- type SetInstanceProtectionOutput
- type StartInstanceRefreshInput
- type StartInstanceRefreshOutput
- type SuspendProcessesInput
- type SuspendProcessesOutput
- type TerminateInstanceInAutoScalingGroupInput
- type TerminateInstanceInAutoScalingGroupOutput
- type UpdateAutoScalingGroupInput
- type UpdateAutoScalingGroupOutput
Constants ¶
const ServiceAPIVersion = "2011-01-01"
const ServiceID = "Auto Scaling"
Variables ¶
This section is empty.
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶ added in v1.0.0
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver
deprecated
func WithEndpointResolver(v EndpointResolver) func(*Options)
Deprecated: EndpointResolver and WithEndpointResolver. Providing a value for this field will likely prevent you from using any endpoint-related service features released after the introduction of EndpointResolverV2 and BaseEndpoint. To migrate an EndpointResolver implementation that uses a custom endpoint, set the client option BaseEndpoint instead.
func WithEndpointResolverV2 ¶ added in v1.30.0
func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
WithEndpointResolverV2 returns a functional option for setting the Client's EndpointResolverV2 option.
func WithSigV4SigningName ¶ added in v1.35.0
WithSigV4SigningName applies an override to the authentication workflow to use the given signing name for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing name from both auth scheme resolution and endpoint resolution.
func WithSigV4SigningRegion ¶ added in v1.35.0
WithSigV4SigningRegion applies an override to the authentication workflow to use the given signing region for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing region from both auth scheme resolution and endpoint resolution.
Types ¶
type AttachInstancesInput ¶
type AttachInstancesOutput ¶
type AttachInstancesOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type AttachLoadBalancerTargetGroupsInput ¶
type AttachLoadBalancerTargetGroupsInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // The Amazon Resource Names (ARNs) of the target groups. You can specify up to 10 // target groups. To get the ARN of a target group, use the Elastic Load Balancing // DescribeTargetGroups (https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html) // API operation. // // This member is required. TargetGroupARNs []string // contains filtered or unexported fields }
type AttachLoadBalancerTargetGroupsOutput ¶
type AttachLoadBalancerTargetGroupsOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type AttachLoadBalancersInput ¶
type AttachLoadBalancersInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // The names of the load balancers. You can specify up to 10 load balancers. // // This member is required. LoadBalancerNames []string // contains filtered or unexported fields }
type AttachLoadBalancersOutput ¶
type AttachLoadBalancersOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type AttachTrafficSourcesInput ¶ added in v1.25.0
type AttachTrafficSourcesInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // The unique identifiers of one or more traffic sources. You can specify up to 10 // traffic sources. // // This member is required. TrafficSources []types.TrafficSourceIdentifier // contains filtered or unexported fields }
type AttachTrafficSourcesOutput ¶ added in v1.25.0
type AttachTrafficSourcesOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type AuthResolverParameters ¶ added in v1.35.0
type AuthResolverParameters struct { // The name of the operation being invoked. Operation string // The region in which the operation is being invoked. Region string }
AuthResolverParameters contains the set of inputs necessary for auth scheme resolution.
type AuthSchemeResolver ¶ added in v1.35.0
type AuthSchemeResolver interface {
ResolveAuthSchemes(context.Context, *AuthResolverParameters) ([]*smithyauth.Option, error)
}
AuthSchemeResolver returns a set of possible authentication options for an operation.
type BatchDeleteScheduledActionInput ¶
type BatchDeleteScheduledActionInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // The names of the scheduled actions to delete. The maximum number allowed is 50. // // This member is required. ScheduledActionNames []string // contains filtered or unexported fields }
type BatchDeleteScheduledActionOutput ¶
type BatchDeleteScheduledActionOutput struct { // The names of the scheduled actions that could not be deleted, including an // error message. FailedScheduledActions []types.FailedScheduledUpdateGroupActionRequest // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type BatchPutScheduledUpdateGroupActionInput ¶
type BatchPutScheduledUpdateGroupActionInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // One or more scheduled actions. The maximum number allowed is 50. // // This member is required. ScheduledUpdateGroupActions []types.ScheduledUpdateGroupActionRequest // contains filtered or unexported fields }
type BatchPutScheduledUpdateGroupActionOutput ¶
type BatchPutScheduledUpdateGroupActionOutput struct { // The names of the scheduled actions that could not be created or updated, // including an error message. FailedScheduledUpdateGroupActions []types.FailedScheduledUpdateGroupActionRequest // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CancelInstanceRefreshInput ¶
type CancelInstanceRefreshInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // contains filtered or unexported fields }
type CancelInstanceRefreshOutput ¶
type CancelInstanceRefreshOutput struct { // The instance refresh ID associated with the request. This is the unique ID // assigned to the instance refresh when it was started. InstanceRefreshId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for Auto Scaling.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) AttachInstances ¶
func (c *Client) AttachInstances(ctx context.Context, params *AttachInstancesInput, optFns ...func(*Options)) (*AttachInstancesOutput, error)
Attaches one or more EC2 instances to the specified Auto Scaling group. When you attach instances, Amazon EC2 Auto Scaling increases the desired capacity of the group by the number of instances being attached. If the number of instances being attached plus the desired capacity of the group exceeds the maximum size of the group, the operation fails. If there is a Classic Load Balancer attached to your Auto Scaling group, the instances are also registered with the load balancer. If there are target groups attached to your Auto Scaling group, the instances are also registered with the target groups. For more information, see Attach EC2 instances to your Auto Scaling group (https://docs.aws.amazon.com/autoscaling/ec2/userguide/attach-instance-asg.html) in the Amazon EC2 Auto Scaling User Guide.
func (*Client) AttachLoadBalancerTargetGroups ¶
func (c *Client) AttachLoadBalancerTargetGroups(ctx context.Context, params *AttachLoadBalancerTargetGroupsInput, optFns ...func(*Options)) (*AttachLoadBalancerTargetGroupsOutput, error)
This API operation is superseded by AttachTrafficSources , which can attach multiple traffic sources types. We recommend using AttachTrafficSources to simplify how you manage traffic sources. However, we continue to support AttachLoadBalancerTargetGroups . You can use both the original AttachLoadBalancerTargetGroups API operation and AttachTrafficSources on the same Auto Scaling group. Attaches one or more target groups to the specified Auto Scaling group. This operation is used with the following load balancer types:
- Application Load Balancer - Operates at the application layer (layer 7) and supports HTTP and HTTPS.
- Network Load Balancer - Operates at the transport layer (layer 4) and supports TCP, TLS, and UDP.
- Gateway Load Balancer - Operates at the network layer (layer 3).
To describe the target groups for an Auto Scaling group, call the DescribeLoadBalancerTargetGroups API. To detach the target group from the Auto Scaling group, call the DetachLoadBalancerTargetGroups API. This operation is additive and does not detach existing target groups or Classic Load Balancers from the Auto Scaling group. For more information, see Use Elastic Load Balancing to distribute traffic across the instances in your Auto Scaling group (https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html) in the Amazon EC2 Auto Scaling User Guide.
func (*Client) AttachLoadBalancers ¶
func (c *Client) AttachLoadBalancers(ctx context.Context, params *AttachLoadBalancersInput, optFns ...func(*Options)) (*AttachLoadBalancersOutput, error)
This API operation is superseded by AttachTrafficSources , which can attach multiple traffic sources types. We recommend using AttachTrafficSources to simplify how you manage traffic sources. However, we continue to support AttachLoadBalancers . You can use both the original AttachLoadBalancers API operation and AttachTrafficSources on the same Auto Scaling group. Attaches one or more Classic Load Balancers to the specified Auto Scaling group. Amazon EC2 Auto Scaling registers the running instances with these Classic Load Balancers. To describe the load balancers for an Auto Scaling group, call the DescribeLoadBalancers API. To detach a load balancer from the Auto Scaling group, call the DetachLoadBalancers API. This operation is additive and does not detach existing Classic Load Balancers or target groups from the Auto Scaling group. For more information, see Use Elastic Load Balancing to distribute traffic across the instances in your Auto Scaling group (https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html) in the Amazon EC2 Auto Scaling User Guide.
func (*Client) AttachTrafficSources ¶ added in v1.25.0
func (c *Client) AttachTrafficSources(ctx context.Context, params *AttachTrafficSourcesInput, optFns ...func(*Options)) (*AttachTrafficSourcesOutput, error)
Attaches one or more traffic sources to the specified Auto Scaling group. You can use any of the following as traffic sources for an Auto Scaling group:
- Application Load Balancer
- Classic Load Balancer
- Gateway Load Balancer
- Network Load Balancer
- VPC Lattice
This operation is additive and does not detach existing traffic sources from the Auto Scaling group. After the operation completes, use the DescribeTrafficSources API to return details about the state of the attachments between traffic sources and your Auto Scaling group. To detach a traffic source from the Auto Scaling group, call the DetachTrafficSources API.
func (*Client) BatchDeleteScheduledAction ¶
func (c *Client) BatchDeleteScheduledAction(ctx context.Context, params *BatchDeleteScheduledActionInput, optFns ...func(*Options)) (*BatchDeleteScheduledActionOutput, error)
Deletes one or more scheduled actions for the specified Auto Scaling group.
func (*Client) BatchPutScheduledUpdateGroupAction ¶
func (c *Client) BatchPutScheduledUpdateGroupAction(ctx context.Context, params *BatchPutScheduledUpdateGroupActionInput, optFns ...func(*Options)) (*BatchPutScheduledUpdateGroupActionOutput, error)
Creates or updates one or more scheduled scaling actions for an Auto Scaling group.
func (*Client) CancelInstanceRefresh ¶
func (c *Client) CancelInstanceRefresh(ctx context.Context, params *CancelInstanceRefreshInput, optFns ...func(*Options)) (*CancelInstanceRefreshOutput, error)
Cancels an instance refresh or rollback that is in progress. If an instance refresh or rollback is not in progress, an ActiveInstanceRefreshNotFound error occurs. This operation is part of the instance refresh feature (https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html) in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group after you make configuration changes. When you cancel an instance refresh, this does not roll back any changes that it made. Use the RollbackInstanceRefresh API to roll back instead.
func (*Client) CompleteLifecycleAction ¶
func (c *Client) CompleteLifecycleAction(ctx context.Context, params *CompleteLifecycleActionInput, optFns ...func(*Options)) (*CompleteLifecycleActionOutput, error)
Completes the lifecycle action for the specified token or instance with the specified result. This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group:
- (Optional) Create a launch template or launch configuration with a user data script that runs while an instance is in a wait state due to a lifecycle hook.
- (Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke your Lambda function when an instance is put into a wait state due to a lifecycle hook.
- (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target.
- Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.
- If you need more time, record the lifecycle action heartbeat to keep the instance in a wait state.
- If you finish before the timeout period ends, send a callback by using the CompleteLifecycleAction API call.
For more information, see Complete a lifecycle action (https://docs.aws.amazon.com/autoscaling/ec2/userguide/completing-lifecycle-hooks.html) in the Amazon EC2 Auto Scaling User Guide.
func (*Client) CreateAutoScalingGroup ¶
func (c *Client) CreateAutoScalingGroup(ctx context.Context, params *CreateAutoScalingGroupInput, optFns ...func(*Options)) (*CreateAutoScalingGroupOutput, error)
We strongly recommend using a launch template when calling this operation to ensure full functionality for Amazon EC2 Auto Scaling and Amazon EC2. Creates an Auto Scaling group with the specified name and attributes. If you exceed your maximum limit of Auto Scaling groups, the call fails. To query this limit, call the DescribeAccountLimits API. For information about updating this limit, see Quotas for Amazon EC2 Auto Scaling (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html) in the Amazon EC2 Auto Scaling User Guide. For introductory exercises for creating an Auto Scaling group, see Getting started with Amazon EC2 Auto Scaling (https://docs.aws.amazon.com/autoscaling/ec2/userguide/GettingStartedTutorial.html) and Tutorial: Set up a scaled and load-balanced application (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-register-lbs-with-asg.html) in the Amazon EC2 Auto Scaling User Guide. For more information, see Auto Scaling groups (https://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroup.html) in the Amazon EC2 Auto Scaling User Guide. Every Auto Scaling group has three size properties ( DesiredCapacity , MaxSize , and MinSize ). Usually, you set these sizes based on a specific number of instances. However, if you configure a mixed instances policy that defines weights for the instance types, you must specify these sizes with the same units that you use for weighting instances.
func (*Client) CreateLaunchConfiguration ¶
func (c *Client) CreateLaunchConfiguration(ctx context.Context, params *CreateLaunchConfigurationInput, optFns ...func(*Options)) (*CreateLaunchConfigurationOutput, error)
Creates a launch configuration. If you exceed your maximum limit of launch configurations, the call fails. To query this limit, call the DescribeAccountLimits API. For information about updating this limit, see Quotas for Amazon EC2 Auto Scaling (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html) in the Amazon EC2 Auto Scaling User Guide. For more information, see Launch configurations (https://docs.aws.amazon.com/autoscaling/ec2/userguide/LaunchConfiguration.html) in the Amazon EC2 Auto Scaling User Guide. Amazon EC2 Auto Scaling configures instances launched as part of an Auto Scaling group using either a launch template or a launch configuration. We strongly recommend that you do not use launch configurations. They do not provide full functionality for Amazon EC2 Auto Scaling or Amazon EC2. For information about using launch templates, see Launch templates (https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-templates.html) in the Amazon EC2 Auto Scaling User Guide.
func (*Client) CreateOrUpdateTags ¶
func (c *Client) CreateOrUpdateTags(ctx context.Context, params *CreateOrUpdateTagsInput, optFns ...func(*Options)) (*CreateOrUpdateTagsOutput, error)
Creates or updates tags for the specified Auto Scaling group. When you specify a tag with a key that already exists, the operation overwrites the previous tag definition, and you do not get an error message. For more information, see Tag Auto Scaling groups and instances (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-tagging.html) in the Amazon EC2 Auto Scaling User Guide.
func (*Client) DeleteAutoScalingGroup ¶
func (c *Client) DeleteAutoScalingGroup(ctx context.Context, params *DeleteAutoScalingGroupInput, optFns ...func(*Options)) (*DeleteAutoScalingGroupOutput, error)
Deletes the specified Auto Scaling group. If the group has instances or scaling activities in progress, you must specify the option to force the deletion in order for it to succeed. The force delete operation will also terminate the EC2 instances. If the group has a warm pool, the force delete option also deletes the warm pool. To remove instances from the Auto Scaling group before deleting it, call the DetachInstances API with the list of instances and the option to decrement the desired capacity. This ensures that Amazon EC2 Auto Scaling does not launch replacement instances. To terminate all instances before deleting the Auto Scaling group, call the UpdateAutoScalingGroup API and set the minimum size and desired capacity of the Auto Scaling group to zero. If the group has scaling policies, deleting the group deletes the policies, the underlying alarm actions, and any alarm that no longer has an associated action. For more information, see Delete your Auto Scaling infrastructure (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-process-shutdown.html) in the Amazon EC2 Auto Scaling User Guide.
func (*Client) DeleteLaunchConfiguration ¶
func (c *Client) DeleteLaunchConfiguration(ctx context.Context, params *DeleteLaunchConfigurationInput, optFns ...func(*Options)) (*DeleteLaunchConfigurationOutput, error)
Deletes the specified launch configuration. The launch configuration must not be attached to an Auto Scaling group. When this call completes, the launch configuration is no longer available for use.
func (*Client) DeleteLifecycleHook ¶
func (c *Client) DeleteLifecycleHook(ctx context.Context, params *DeleteLifecycleHookInput, optFns ...func(*Options)) (*DeleteLifecycleHookOutput, error)
Deletes the specified lifecycle hook. If there are any outstanding lifecycle actions, they are completed first ( ABANDON for launching instances, CONTINUE for terminating instances).
func (*Client) DeleteNotificationConfiguration ¶
func (c *Client) DeleteNotificationConfiguration(ctx context.Context, params *DeleteNotificationConfigurationInput, optFns ...func(*Options)) (*DeleteNotificationConfigurationOutput, error)
Deletes the specified notification.
func (*Client) DeletePolicy ¶
func (c *Client) DeletePolicy(ctx context.Context, params *DeletePolicyInput, optFns ...func(*Options)) (*DeletePolicyOutput, error)
Deletes the specified scaling policy. Deleting either a step scaling policy or a simple scaling policy deletes the underlying alarm action, but does not delete the alarm, even if it no longer has an associated action. For more information, see Deleting a scaling policy (https://docs.aws.amazon.com/autoscaling/ec2/userguide/deleting-scaling-policy.html) in the Amazon EC2 Auto Scaling User Guide.
func (*Client) DeleteScheduledAction ¶
func (c *Client) DeleteScheduledAction(ctx context.Context, params *DeleteScheduledActionInput, optFns ...func(*Options)) (*DeleteScheduledActionOutput, error)
Deletes the specified scheduled action.
func (*Client) DeleteTags ¶
func (c *Client) DeleteTags(ctx context.Context, params *DeleteTagsInput, optFns ...func(*Options)) (*DeleteTagsOutput, error)
Deletes the specified tags.
func (*Client) DeleteWarmPool ¶ added in v1.3.0
func (c *Client) DeleteWarmPool(ctx context.Context, params *DeleteWarmPoolInput, optFns ...func(*Options)) (*DeleteWarmPoolOutput, error)
Deletes the warm pool for the specified Auto Scaling group. For more information, see Warm pools for Amazon EC2 Auto Scaling (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html) in the Amazon EC2 Auto Scaling User Guide.
func (*Client) DescribeAccountLimits ¶
func (c *Client) DescribeAccountLimits(ctx context.Context, params *DescribeAccountLimitsInput, optFns ...func(*Options)) (*DescribeAccountLimitsOutput, error)
Describes the current Amazon EC2 Auto Scaling resource quotas for your account. When you establish an Amazon Web Services account, the account has initial quotas on the maximum number of Auto Scaling groups and launch configurations that you can create in a given Region. For more information, see Quotas for Amazon EC2 Auto Scaling (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html) in the Amazon EC2 Auto Scaling User Guide.
func (*Client) DescribeAdjustmentTypes ¶
func (c *Client) DescribeAdjustmentTypes(ctx context.Context, params *DescribeAdjustmentTypesInput, optFns ...func(*Options)) (*DescribeAdjustmentTypesOutput, error)
Describes the available adjustment types for step scaling and simple scaling policies. The following adjustment types are supported:
- ChangeInCapacity
- ExactCapacity
- PercentChangeInCapacity
func (*Client) DescribeAutoScalingGroups ¶
func (c *Client) DescribeAutoScalingGroups(ctx context.Context, params *DescribeAutoScalingGroupsInput, optFns ...func(*Options)) (*DescribeAutoScalingGroupsOutput, error)
Gets information about the Auto Scaling groups in the account and Region. If you specify Auto Scaling group names, the output includes information for only the specified Auto Scaling groups. If you specify filters, the output includes information for only those Auto Scaling groups that meet the filter criteria. If you do not specify group names or filters, the output includes information for all Auto Scaling groups. This operation also returns information about instances in Auto Scaling groups. To retrieve information about the instances in a warm pool, you must call the DescribeWarmPool API.
func (*Client) DescribeAutoScalingInstances ¶
func (c *Client) DescribeAutoScalingInstances(ctx context.Context, params *DescribeAutoScalingInstancesInput, optFns ...func(*Options)) (*DescribeAutoScalingInstancesOutput, error)
Gets information about the Auto Scaling instances in the account and Region.
func (*Client) DescribeAutoScalingNotificationTypes ¶
func (c *Client) DescribeAutoScalingNotificationTypes(ctx context.Context, params *DescribeAutoScalingNotificationTypesInput, optFns ...func(*Options)) (*DescribeAutoScalingNotificationTypesOutput, error)
Describes the notification types that are supported by Amazon EC2 Auto Scaling.
func (*Client) DescribeInstanceRefreshes ¶
func (c *Client) DescribeInstanceRefreshes(ctx context.Context, params *DescribeInstanceRefreshesInput, optFns ...func(*Options)) (*DescribeInstanceRefreshesOutput, error)
Gets information about the instance refreshes for the specified Auto Scaling group from the previous six weeks. This operation is part of the instance refresh feature (https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html) in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group after you make configuration changes. To help you determine the status of an instance refresh, Amazon EC2 Auto Scaling returns information about the instance refreshes you previously initiated, including their status, start time, end time, the percentage of the instance refresh that is complete, and the number of instances remaining to update before the instance refresh is complete. If a rollback is initiated while an instance refresh is in progress, Amazon EC2 Auto Scaling also returns information about the rollback of the instance refresh.
func (*Client) DescribeLaunchConfigurations ¶
func (c *Client) DescribeLaunchConfigurations(ctx context.Context, params *DescribeLaunchConfigurationsInput, optFns ...func(*Options)) (*DescribeLaunchConfigurationsOutput, error)
Gets information about the launch configurations in the account and Region.
func (*Client) DescribeLifecycleHookTypes ¶
func (c *Client) DescribeLifecycleHookTypes(ctx context.Context, params *DescribeLifecycleHookTypesInput, optFns ...func(*Options)) (*DescribeLifecycleHookTypesOutput, error)
Describes the available types of lifecycle hooks. The following hook types are supported:
- autoscaling:EC2_INSTANCE_LAUNCHING
- autoscaling:EC2_INSTANCE_TERMINATING
func (*Client) DescribeLifecycleHooks ¶
func (c *Client) DescribeLifecycleHooks(ctx context.Context, params *DescribeLifecycleHooksInput, optFns ...func(*Options)) (*DescribeLifecycleHooksOutput, error)
Gets information about the lifecycle hooks for the specified Auto Scaling group.
func (*Client) DescribeLoadBalancerTargetGroups ¶
func (c *Client) DescribeLoadBalancerTargetGroups(ctx context.Context, params *DescribeLoadBalancerTargetGroupsInput, optFns ...func(*Options)) (*DescribeLoadBalancerTargetGroupsOutput, error)
This API operation is superseded by DescribeTrafficSources , which can describe multiple traffic sources types. We recommend using DetachTrafficSources to simplify how you manage traffic sources. However, we continue to support DescribeLoadBalancerTargetGroups . You can use both the original DescribeLoadBalancerTargetGroups API operation and DescribeTrafficSources on the same Auto Scaling group. Gets information about the Elastic Load Balancing target groups for the specified Auto Scaling group. To determine the attachment status of the target group, use the State element in the response. When you attach a target group to an Auto Scaling group, the initial State value is Adding . The state transitions to Added after all Auto Scaling instances are registered with the target group. If Elastic Load Balancing health checks are enabled for the Auto Scaling group, the state transitions to InService after at least one Auto Scaling instance passes the health check. When the target group is in the InService state, Amazon EC2 Auto Scaling can terminate and replace any instances that are reported as unhealthy. If no registered instances pass the health checks, the target group doesn't enter the InService state. Target groups also have an InService state if you attach them in the CreateAutoScalingGroup API call. If your target group state is InService , but it is not working properly, check the scaling activities by calling DescribeScalingActivities and take any corrective actions necessary. For help with failed health checks, see Troubleshooting Amazon EC2 Auto Scaling: Health checks (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ts-as-healthchecks.html) in the Amazon EC2 Auto Scaling User Guide. For more information, see Use Elastic Load Balancing to distribute traffic across the instances in your Auto Scaling group (https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html) in the Amazon EC2 Auto Scaling User Guide. You can use this operation to describe target groups that were attached by using AttachLoadBalancerTargetGroups , but not for target groups that were attached by using AttachTrafficSources .
func (*Client) DescribeLoadBalancers ¶
func (c *Client) DescribeLoadBalancers(ctx context.Context, params *DescribeLoadBalancersInput, optFns ...func(*Options)) (*DescribeLoadBalancersOutput, error)
This API operation is superseded by DescribeTrafficSources , which can describe multiple traffic sources types. We recommend using DescribeTrafficSources to simplify how you manage traffic sources. However, we continue to support DescribeLoadBalancers . You can use both the original DescribeLoadBalancers API operation and DescribeTrafficSources on the same Auto Scaling group. Gets information about the load balancers for the specified Auto Scaling group. This operation describes only Classic Load Balancers. If you have Application Load Balancers, Network Load Balancers, or Gateway Load Balancers, use the DescribeLoadBalancerTargetGroups API instead. To determine the attachment status of the load balancer, use the State element in the response. When you attach a load balancer to an Auto Scaling group, the initial State value is Adding . The state transitions to Added after all Auto Scaling instances are registered with the load balancer. If Elastic Load Balancing health checks are enabled for the Auto Scaling group, the state transitions to InService after at least one Auto Scaling instance passes the health check. When the load balancer is in the InService state, Amazon EC2 Auto Scaling can terminate and replace any instances that are reported as unhealthy. If no registered instances pass the health checks, the load balancer doesn't enter the InService state. Load balancers also have an InService state if you attach them in the CreateAutoScalingGroup API call. If your load balancer state is InService , but it is not working properly, check the scaling activities by calling DescribeScalingActivities and take any corrective actions necessary. For help with failed health checks, see Troubleshooting Amazon EC2 Auto Scaling: Health checks (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ts-as-healthchecks.html) in the Amazon EC2 Auto Scaling User Guide. For more information, see Use Elastic Load Balancing to distribute traffic across the instances in your Auto Scaling group (https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html) in the Amazon EC2 Auto Scaling User Guide.
func (*Client) DescribeMetricCollectionTypes ¶
func (c *Client) DescribeMetricCollectionTypes(ctx context.Context, params *DescribeMetricCollectionTypesInput, optFns ...func(*Options)) (*DescribeMetricCollectionTypesOutput, error)
Describes the available CloudWatch metrics for Amazon EC2 Auto Scaling.
func (*Client) DescribeNotificationConfigurations ¶
func (c *Client) DescribeNotificationConfigurations(ctx context.Context, params *DescribeNotificationConfigurationsInput, optFns ...func(*Options)) (*DescribeNotificationConfigurationsOutput, error)
Gets information about the Amazon SNS notifications that are configured for one or more Auto Scaling groups.
func (*Client) DescribePolicies ¶
func (c *Client) DescribePolicies(ctx context.Context, params *DescribePoliciesInput, optFns ...func(*Options)) (*DescribePoliciesOutput, error)
Gets information about the scaling policies in the account and Region.
func (*Client) DescribeScalingActivities ¶
func (c *Client) DescribeScalingActivities(ctx context.Context, params *DescribeScalingActivitiesInput, optFns ...func(*Options)) (*DescribeScalingActivitiesOutput, error)
Gets information about the scaling activities in the account and Region. When scaling events occur, you see a record of the scaling activity in the scaling activities. For more information, see Verifying a scaling activity for an Auto Scaling group (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-verify-scaling-activity.html) in the Amazon EC2 Auto Scaling User Guide. If the scaling event succeeds, the value of the StatusCode element in the response is Successful . If an attempt to launch instances failed, the StatusCode value is Failed or Cancelled and the StatusMessage element in the response indicates the cause of the failure. For help interpreting the StatusMessage , see Troubleshooting Amazon EC2 Auto Scaling (https://docs.aws.amazon.com/autoscaling/ec2/userguide/CHAP_Troubleshooting.html) in the Amazon EC2 Auto Scaling User Guide.
func (*Client) DescribeScalingProcessTypes ¶
func (c *Client) DescribeScalingProcessTypes(ctx context.Context, params *DescribeScalingProcessTypesInput, optFns ...func(*Options)) (*DescribeScalingProcessTypesOutput, error)
Describes the scaling process types for use with the ResumeProcesses and SuspendProcesses APIs.
func (*Client) DescribeScheduledActions ¶
func (c *Client) DescribeScheduledActions(ctx context.Context, params *DescribeScheduledActionsInput, optFns ...func(*Options)) (*DescribeScheduledActionsOutput, error)
Gets information about the scheduled actions that haven't run or that have not reached their end time. To describe the scaling activities for scheduled actions that have already run, call the DescribeScalingActivities API.
func (*Client) DescribeTags ¶
func (c *Client) DescribeTags(ctx context.Context, params *DescribeTagsInput, optFns ...func(*Options)) (*DescribeTagsOutput, error)
Describes the specified tags. You can use filters to limit the results. For example, you can query for the tags for a specific Auto Scaling group. You can specify multiple values for a filter. A tag must match at least one of the specified values for it to be included in the results. You can also specify multiple filters. The result includes information for a particular tag only if it matches all the filters. If there's no match, no special message is returned. For more information, see Tag Auto Scaling groups and instances (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-tagging.html) in the Amazon EC2 Auto Scaling User Guide.
func (*Client) DescribeTerminationPolicyTypes ¶
func (c *Client) DescribeTerminationPolicyTypes(ctx context.Context, params *DescribeTerminationPolicyTypesInput, optFns ...func(*Options)) (*DescribeTerminationPolicyTypesOutput, error)
Describes the termination policies supported by Amazon EC2 Auto Scaling. For more information, see Work with Amazon EC2 Auto Scaling termination policies (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html) in the Amazon EC2 Auto Scaling User Guide.
func (*Client) DescribeTrafficSources ¶ added in v1.25.0
func (c *Client) DescribeTrafficSources(ctx context.Context, params *DescribeTrafficSourcesInput, optFns ...func(*Options)) (*DescribeTrafficSourcesOutput, error)
Gets information about the traffic sources for the specified Auto Scaling group. You can optionally provide a traffic source type. If you provide a traffic source type, then the results only include that traffic source type. If you do not provide a traffic source type, then the results include all the traffic sources for the specified Auto Scaling group.
func (*Client) DescribeWarmPool ¶ added in v1.3.0
func (c *Client) DescribeWarmPool(ctx context.Context, params *DescribeWarmPoolInput, optFns ...func(*Options)) (*DescribeWarmPoolOutput, error)
Gets information about a warm pool and its instances. For more information, see Warm pools for Amazon EC2 Auto Scaling (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html) in the Amazon EC2 Auto Scaling User Guide.
func (*Client) DetachInstances ¶
func (c *Client) DetachInstances(ctx context.Context, params *DetachInstancesInput, optFns ...func(*Options)) (*DetachInstancesOutput, error)
Removes one or more instances from the specified Auto Scaling group. After the instances are detached, you can manage them independent of the Auto Scaling group. If you do not specify the option to decrement the desired capacity, Amazon EC2 Auto Scaling launches instances to replace the ones that are detached. If there is a Classic Load Balancer attached to the Auto Scaling group, the instances are deregistered from the load balancer. If there are target groups attached to the Auto Scaling group, the instances are deregistered from the target groups. For more information, see Detach EC2 instances from your Auto Scaling group (https://docs.aws.amazon.com/autoscaling/ec2/userguide/detach-instance-asg.html) in the Amazon EC2 Auto Scaling User Guide.
func (*Client) DetachLoadBalancerTargetGroups ¶
func (c *Client) DetachLoadBalancerTargetGroups(ctx context.Context, params *DetachLoadBalancerTargetGroupsInput, optFns ...func(*Options)) (*DetachLoadBalancerTargetGroupsOutput, error)
This API operation is superseded by DetachTrafficSources , which can detach multiple traffic sources types. We recommend using DetachTrafficSources to simplify how you manage traffic sources. However, we continue to support DetachLoadBalancerTargetGroups . You can use both the original DetachLoadBalancerTargetGroups API operation and DetachTrafficSources on the same Auto Scaling group. Detaches one or more target groups from the specified Auto Scaling group. When you detach a target group, it enters the Removing state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the target group using the DescribeLoadBalancerTargetGroups API call. The instances remain running. You can use this operation to detach target groups that were attached by using AttachLoadBalancerTargetGroups , but not for target groups that were attached by using AttachTrafficSources .
func (*Client) DetachLoadBalancers ¶
func (c *Client) DetachLoadBalancers(ctx context.Context, params *DetachLoadBalancersInput, optFns ...func(*Options)) (*DetachLoadBalancersOutput, error)
This API operation is superseded by DetachTrafficSources , which can detach multiple traffic sources types. We recommend using DetachTrafficSources to simplify how you manage traffic sources. However, we continue to support DetachLoadBalancers . You can use both the original DetachLoadBalancers API operation and DetachTrafficSources on the same Auto Scaling group. Detaches one or more Classic Load Balancers from the specified Auto Scaling group. This operation detaches only Classic Load Balancers. If you have Application Load Balancers, Network Load Balancers, or Gateway Load Balancers, use the DetachLoadBalancerTargetGroups API instead. When you detach a load balancer, it enters the Removing state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the load balancer using the DescribeLoadBalancers API call. The instances remain running.
func (*Client) DetachTrafficSources ¶ added in v1.25.0
func (c *Client) DetachTrafficSources(ctx context.Context, params *DetachTrafficSourcesInput, optFns ...func(*Options)) (*DetachTrafficSourcesOutput, error)
Detaches one or more traffic sources from the specified Auto Scaling group. When you detach a traffic source, it enters the Removing state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the traffic source using the DescribeTrafficSources API call. The instances continue to run.
func (*Client) DisableMetricsCollection ¶
func (c *Client) DisableMetricsCollection(ctx context.Context, params *DisableMetricsCollectionInput, optFns ...func(*Options)) (*DisableMetricsCollectionOutput, error)
Disables group metrics collection for the specified Auto Scaling group.
func (*Client) EnableMetricsCollection ¶
func (c *Client) EnableMetricsCollection(ctx context.Context, params *EnableMetricsCollectionInput, optFns ...func(*Options)) (*EnableMetricsCollectionOutput, error)
Enables group metrics collection for the specified Auto Scaling group. You can use these metrics to track changes in an Auto Scaling group and to set alarms on threshold values. You can view group metrics using the Amazon EC2 Auto Scaling console or the CloudWatch console. For more information, see Monitor CloudWatch metrics for your Auto Scaling groups and instances (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-cloudwatch-monitoring.html) in the Amazon EC2 Auto Scaling User Guide.
func (*Client) EnterStandby ¶
func (c *Client) EnterStandby(ctx context.Context, params *EnterStandbyInput, optFns ...func(*Options)) (*EnterStandbyOutput, error)
Moves the specified instances into the standby state. If you choose to decrement the desired capacity of the Auto Scaling group, the instances can enter standby as long as the desired capacity of the Auto Scaling group after the instances are placed into standby is equal to or greater than the minimum capacity of the group. If you choose not to decrement the desired capacity of the Auto Scaling group, the Auto Scaling group launches new instances to replace the instances on standby. For more information, see Temporarily removing instances from your Auto Scaling group (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enter-exit-standby.html) in the Amazon EC2 Auto Scaling User Guide.
func (*Client) ExecutePolicy ¶
func (c *Client) ExecutePolicy(ctx context.Context, params *ExecutePolicyInput, optFns ...func(*Options)) (*ExecutePolicyOutput, error)
Executes the specified policy. This can be useful for testing the design of your scaling policy.
func (*Client) ExitStandby ¶
func (c *Client) ExitStandby(ctx context.Context, params *ExitStandbyInput, optFns ...func(*Options)) (*ExitStandbyOutput, error)
Moves the specified instances out of the standby state. After you put the instances back in service, the desired capacity is incremented. For more information, see Temporarily removing instances from your Auto Scaling group (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enter-exit-standby.html) in the Amazon EC2 Auto Scaling User Guide.
func (*Client) GetPredictiveScalingForecast ¶ added in v1.5.0
func (c *Client) GetPredictiveScalingForecast(ctx context.Context, params *GetPredictiveScalingForecastInput, optFns ...func(*Options)) (*GetPredictiveScalingForecastOutput, error)
Retrieves the forecast data for a predictive scaling policy. Load forecasts are predictions of the hourly load values using historical load data from CloudWatch and an analysis of historical trends. Capacity forecasts are represented as predicted values for the minimum capacity that is needed on an hourly basis, based on the hourly load forecast. A minimum of 24 hours of data is required to create the initial forecasts. However, having a full 14 days of historical data results in more accurate forecasts. For more information, see Predictive scaling for Amazon EC2 Auto Scaling (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-predictive-scaling.html) in the Amazon EC2 Auto Scaling User Guide.
func (*Client) Options ¶ added in v1.36.0
Options returns a copy of the client configuration.
Callers SHOULD NOT perform mutations on any inner structures within client config. Config overrides should instead be made on a per-operation basis through functional options.
func (*Client) PutLifecycleHook ¶
func (c *Client) PutLifecycleHook(ctx context.Context, params *PutLifecycleHookInput, optFns ...func(*Options)) (*PutLifecycleHookOutput, error)
Creates or updates a lifecycle hook for the specified Auto Scaling group. Lifecycle hooks let you create solutions that are aware of events in the Auto Scaling instance lifecycle, and then perform a custom action on instances when the corresponding lifecycle event occurs. This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group:
- (Optional) Create a launch template or launch configuration with a user data script that runs while an instance is in a wait state due to a lifecycle hook.
- (Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke your Lambda function when an instance is put into a wait state due to a lifecycle hook.
- (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target.
- Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.
- If you need more time, record the lifecycle action heartbeat to keep the instance in a wait state using the RecordLifecycleActionHeartbeat API call.
- If you finish before the timeout period ends, send a callback by using the CompleteLifecycleAction API call.
For more information, see Amazon EC2 Auto Scaling lifecycle hooks (https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html) in the Amazon EC2 Auto Scaling User Guide. If you exceed your maximum limit of lifecycle hooks, which by default is 50 per Auto Scaling group, the call fails. You can view the lifecycle hooks for an Auto Scaling group using the DescribeLifecycleHooks API call. If you are no longer using a lifecycle hook, you can delete it by calling the DeleteLifecycleHook API.
func (*Client) PutNotificationConfiguration ¶
func (c *Client) PutNotificationConfiguration(ctx context.Context, params *PutNotificationConfigurationInput, optFns ...func(*Options)) (*PutNotificationConfigurationOutput, error)
Configures an Auto Scaling group to send notifications when specified events take place. Subscribers to the specified topic can have messages delivered to an endpoint such as a web server or an email address. This configuration overwrites any existing configuration. For more information, see Getting Amazon SNS notifications when your Auto Scaling group scales (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ASGettingNotifications.html) in the Amazon EC2 Auto Scaling User Guide. If you exceed your maximum limit of SNS topics, which is 10 per Auto Scaling group, the call fails.
func (*Client) PutScalingPolicy ¶
func (c *Client) PutScalingPolicy(ctx context.Context, params *PutScalingPolicyInput, optFns ...func(*Options)) (*PutScalingPolicyOutput, error)
Creates or updates a scaling policy for an Auto Scaling group. Scaling policies are used to scale an Auto Scaling group based on configurable metrics. If no policies are defined, the dynamic scaling and predictive scaling features are not used. For more information about using dynamic scaling, see Target tracking scaling policies (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-target-tracking.html) and Step and simple scaling policies (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html) in the Amazon EC2 Auto Scaling User Guide. For more information about using predictive scaling, see Predictive scaling for Amazon EC2 Auto Scaling (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-predictive-scaling.html) in the Amazon EC2 Auto Scaling User Guide. You can view the scaling policies for an Auto Scaling group using the DescribePolicies API call. If you are no longer using a scaling policy, you can delete it by calling the DeletePolicy API.
func (*Client) PutScheduledUpdateGroupAction ¶
func (c *Client) PutScheduledUpdateGroupAction(ctx context.Context, params *PutScheduledUpdateGroupActionInput, optFns ...func(*Options)) (*PutScheduledUpdateGroupActionOutput, error)
Creates or updates a scheduled scaling action for an Auto Scaling group. For more information, see Scheduled scaling (https://docs.aws.amazon.com/autoscaling/ec2/userguide/schedule_time.html) in the Amazon EC2 Auto Scaling User Guide. You can view the scheduled actions for an Auto Scaling group using the DescribeScheduledActions API call. If you are no longer using a scheduled action, you can delete it by calling the DeleteScheduledAction API. If you try to schedule your action in the past, Amazon EC2 Auto Scaling returns an error message.
func (*Client) PutWarmPool ¶ added in v1.3.0
func (c *Client) PutWarmPool(ctx context.Context, params *PutWarmPoolInput, optFns ...func(*Options)) (*PutWarmPoolOutput, error)
Creates or updates a warm pool for the specified Auto Scaling group. A warm pool is a pool of pre-initialized EC2 instances that sits alongside the Auto Scaling group. Whenever your application needs to scale out, the Auto Scaling group can draw on the warm pool to meet its new desired capacity. For more information and example configurations, see Warm pools for Amazon EC2 Auto Scaling (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html) in the Amazon EC2 Auto Scaling User Guide. This operation must be called from the Region in which the Auto Scaling group was created. This operation cannot be called on an Auto Scaling group that has a mixed instances policy or a launch template or launch configuration that requests Spot Instances. You can view the instances in the warm pool using the DescribeWarmPool API call. If you are no longer using a warm pool, you can delete it by calling the DeleteWarmPool API.
func (*Client) RecordLifecycleActionHeartbeat ¶
func (c *Client) RecordLifecycleActionHeartbeat(ctx context.Context, params *RecordLifecycleActionHeartbeatInput, optFns ...func(*Options)) (*RecordLifecycleActionHeartbeatOutput, error)
Records a heartbeat for the lifecycle action associated with the specified token or instance. This extends the timeout by the length of time defined using the PutLifecycleHook API call. This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group:
- (Optional) Create a launch template or launch configuration with a user data script that runs while an instance is in a wait state due to a lifecycle hook.
- (Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke your Lambda function when an instance is put into a wait state due to a lifecycle hook.
- (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target.
- Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.
- If you need more time, record the lifecycle action heartbeat to keep the instance in a wait state.
- If you finish before the timeout period ends, send a callback by using the CompleteLifecycleAction API call.
For more information, see Amazon EC2 Auto Scaling lifecycle hooks (https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html) in the Amazon EC2 Auto Scaling User Guide.
func (*Client) ResumeProcesses ¶
func (c *Client) ResumeProcesses(ctx context.Context, params *ResumeProcessesInput, optFns ...func(*Options)) (*ResumeProcessesOutput, error)
Resumes the specified suspended auto scaling processes, or all suspended process, for the specified Auto Scaling group. For more information, see Suspending and resuming scaling processes (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html) in the Amazon EC2 Auto Scaling User Guide.
func (*Client) RollbackInstanceRefresh ¶ added in v1.27.0
func (c *Client) RollbackInstanceRefresh(ctx context.Context, params *RollbackInstanceRefreshInput, optFns ...func(*Options)) (*RollbackInstanceRefreshOutput, error)
Cancels an instance refresh that is in progress and rolls back any changes that it made. Amazon EC2 Auto Scaling replaces any instances that were replaced during the instance refresh. This restores your Auto Scaling group to the configuration that it was using before the start of the instance refresh. This operation is part of the instance refresh feature (https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html) in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group after you make configuration changes. A rollback is not supported in the following situations:
- There is no desired configuration specified for the instance refresh.
- The Auto Scaling group has a launch template that uses an Amazon Web Services Systems Manager parameter instead of an AMI ID for the ImageId property.
- The Auto Scaling group uses the launch template's $Latest or $Default version.
When you receive a successful response from this operation, Amazon EC2 Auto Scaling immediately begins replacing instances. You can check the status of this operation through the DescribeInstanceRefreshes API operation.
func (*Client) SetDesiredCapacity ¶
func (c *Client) SetDesiredCapacity(ctx context.Context, params *SetDesiredCapacityInput, optFns ...func(*Options)) (*SetDesiredCapacityOutput, error)
Sets the size of the specified Auto Scaling group. If a scale-in activity occurs as a result of a new DesiredCapacity value that is lower than the current size of the group, the Auto Scaling group uses its termination policy to determine which instances to terminate. For more information, see Manual scaling (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-manual-scaling.html) in the Amazon EC2 Auto Scaling User Guide.
func (*Client) SetInstanceHealth ¶
func (c *Client) SetInstanceHealth(ctx context.Context, params *SetInstanceHealthInput, optFns ...func(*Options)) (*SetInstanceHealthOutput, error)
Sets the health status of the specified instance. For more information, see Health checks for Auto Scaling instances (https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html) in the Amazon EC2 Auto Scaling User Guide.
func (*Client) SetInstanceProtection ¶
func (c *Client) SetInstanceProtection(ctx context.Context, params *SetInstanceProtectionInput, optFns ...func(*Options)) (*SetInstanceProtectionOutput, error)
Updates the instance protection settings of the specified instances. This operation cannot be called on instances in a warm pool. For more information about preventing instances that are part of an Auto Scaling group from terminating on scale in, see Using instance scale-in protection (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html) in the Amazon EC2 Auto Scaling User Guide. If you exceed your maximum limit of instance IDs, which is 50 per Auto Scaling group, the call fails.
func (*Client) StartInstanceRefresh ¶
func (c *Client) StartInstanceRefresh(ctx context.Context, params *StartInstanceRefreshInput, optFns ...func(*Options)) (*StartInstanceRefreshOutput, error)
Starts an instance refresh. This operation is part of the instance refresh feature (https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html) in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group. This feature is helpful, for example, when you have a new AMI or a new user data script. You just need to create a new launch template that specifies the new AMI or user data script. Then start an instance refresh to immediately begin the process of updating instances in the group. If successful, the request's response contains a unique ID that you can use to track the progress of the instance refresh. To query its status, call the DescribeInstanceRefreshes API. To describe the instance refreshes that have already run, call the DescribeInstanceRefreshes API. To cancel an instance refresh that is in progress, use the CancelInstanceRefresh API. An instance refresh might fail for several reasons, such as EC2 launch failures, misconfigured health checks, or not ignoring or allowing the termination of instances that are in Standby state or protected from scale in. You can monitor for failed EC2 launches using the scaling activities. To find the scaling activities, call the DescribeScalingActivities API. If you enable auto rollback, your Auto Scaling group will be rolled back automatically when the instance refresh fails. You can enable this feature before starting an instance refresh by specifying the AutoRollback property in the instance refresh preferences. Otherwise, to roll back an instance refresh before it finishes, use the RollbackInstanceRefresh API.
func (*Client) SuspendProcesses ¶
func (c *Client) SuspendProcesses(ctx context.Context, params *SuspendProcessesInput, optFns ...func(*Options)) (*SuspendProcessesOutput, error)
Suspends the specified auto scaling processes, or all processes, for the specified Auto Scaling group. If you suspend either the Launch or Terminate process types, it can prevent other process types from functioning properly. For more information, see Suspending and resuming scaling processes (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html) in the Amazon EC2 Auto Scaling User Guide. To resume processes that have been suspended, call the ResumeProcesses API.
func (*Client) TerminateInstanceInAutoScalingGroup ¶
func (c *Client) TerminateInstanceInAutoScalingGroup(ctx context.Context, params *TerminateInstanceInAutoScalingGroupInput, optFns ...func(*Options)) (*TerminateInstanceInAutoScalingGroupOutput, error)
Terminates the specified instance and optionally adjusts the desired group size. This operation cannot be called on instances in a warm pool. This call simply makes a termination request. The instance is not terminated immediately. When an instance is terminated, the instance status changes to terminated . You can't connect to or start an instance after you've terminated it. If you do not specify the option to decrement the desired capacity, Amazon EC2 Auto Scaling launches instances to replace the ones that are terminated. By default, Amazon EC2 Auto Scaling balances instances across all Availability Zones. If you decrement the desired capacity, your Auto Scaling group can become unbalanced between Availability Zones. Amazon EC2 Auto Scaling tries to rebalance the group, and rebalancing might terminate instances in other zones. For more information, see Rebalancing activities (https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-benefits.html#AutoScalingBehavior.InstanceUsage) in the Amazon EC2 Auto Scaling User Guide.
func (*Client) UpdateAutoScalingGroup ¶
func (c *Client) UpdateAutoScalingGroup(ctx context.Context, params *UpdateAutoScalingGroupInput, optFns ...func(*Options)) (*UpdateAutoScalingGroupOutput, error)
We strongly recommend that all Auto Scaling groups use launch templates to ensure full functionality for Amazon EC2 Auto Scaling and Amazon EC2. Updates the configuration for the specified Auto Scaling group. To update an Auto Scaling group, specify the name of the group and the property that you want to change. Any properties that you don't specify are not changed by this update request. The new settings take effect on any scaling activities after this call returns. If you associate a new launch configuration or template with an Auto Scaling group, all new instances will get the updated configuration. Existing instances continue to run with the configuration that they were originally launched with. When you update a group to specify a mixed instances policy instead of a launch configuration or template, existing instances may be replaced to match the new purchasing options that you specified in the policy. For example, if the group currently has 100% On-Demand capacity and the policy specifies 50% Spot capacity, this means that half of your instances will be gradually terminated and relaunched as Spot Instances. When replacing instances, Amazon EC2 Auto Scaling launches new instances before terminating the old ones, so that updating your group does not compromise the performance or availability of your application. Note the following about changing DesiredCapacity , MaxSize , or MinSize :
- If a scale-in activity occurs as a result of a new DesiredCapacity value that is lower than the current size of the group, the Auto Scaling group uses its termination policy to determine which instances to terminate.
- If you specify a new value for MinSize without specifying a value for DesiredCapacity , and the new MinSize is larger than the current size of the group, this sets the group's DesiredCapacity to the new MinSize value.
- If you specify a new value for MaxSize without specifying a value for DesiredCapacity , and the new MaxSize is smaller than the current size of the group, this sets the group's DesiredCapacity to the new MaxSize value.
To see which properties have been set, call the DescribeAutoScalingGroups API. To view the scaling policies for an Auto Scaling group, call the DescribePolicies API. If the group has scaling policies, you can update them by calling the PutScalingPolicy API.
type CompleteLifecycleActionInput ¶
type CompleteLifecycleActionInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // The action for the group to take. You can specify either CONTINUE or ABANDON . // // This member is required. LifecycleActionResult *string // The name of the lifecycle hook. // // This member is required. LifecycleHookName *string // The ID of the instance. InstanceId *string // A universally unique identifier (UUID) that identifies a specific lifecycle // action associated with an instance. Amazon EC2 Auto Scaling sends this token to // the notification target you specified when you created the lifecycle hook. LifecycleActionToken *string // contains filtered or unexported fields }
type CompleteLifecycleActionOutput ¶
type CompleteLifecycleActionOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateAutoScalingGroupInput ¶
type CreateAutoScalingGroupInput struct { // The name of the Auto Scaling group. This name must be unique per Region per // account. The name can contain any ASCII character 33 to 126 including most // punctuation characters, digits, and upper and lowercased letters. You cannot use // a colon (:) in the name. // // This member is required. AutoScalingGroupName *string // The maximum size of the group. With a mixed instances policy that uses instance // weighting, Amazon EC2 Auto Scaling may need to go above MaxSize to meet your // capacity requirements. In this event, Amazon EC2 Auto Scaling will never go // above MaxSize by more than your largest instance weight (weights that define // how many units each instance contributes to the desired capacity of the group). // // This member is required. MaxSize *int32 // The minimum size of the group. // // This member is required. MinSize *int32 // A list of Availability Zones where instances in the Auto Scaling group can be // created. Used for launching into the default VPC subnet in each Availability // Zone when not using the VPCZoneIdentifier property, or for attaching a network // interface when an existing network interface ID is specified in a launch // template. AvailabilityZones []string // Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity // Rebalancing is disabled. When you turn on Capacity Rebalancing, Amazon EC2 Auto // Scaling attempts to launch a Spot Instance whenever Amazon EC2 notifies that a // Spot Instance is at an elevated risk of interruption. After launching a new // instance, it then terminates an old instance. For more information, see Use // Capacity Rebalancing to handle Amazon EC2 Spot Interruptions (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-capacity-rebalancing.html) // in the in the Amazon EC2 Auto Scaling User Guide. CapacityRebalance *bool // Reserved. Context *string // Only needed if you use simple scaling policies. The amount of time, in seconds, // between one scaling activity ending and another one starting due to simple // scaling policies. For more information, see Scaling cooldowns for Amazon EC2 // Auto Scaling (https://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html) // in the Amazon EC2 Auto Scaling User Guide. Default: 300 seconds DefaultCooldown *int32 // The amount of time, in seconds, until a new instance is considered to have // finished initializing and resource consumption to become stable after it enters // the InService state. During an instance refresh, Amazon EC2 Auto Scaling waits // for the warm-up period after it replaces an instance before it moves on to // replacing the next instance. Amazon EC2 Auto Scaling also waits for the warm-up // period before aggregating the metrics for new instances with existing instances // in the Amazon CloudWatch metrics that are used for scaling, resulting in more // reliable usage data. For more information, see Set the default instance warmup // for an Auto Scaling group (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-default-instance-warmup.html) // in the Amazon EC2 Auto Scaling User Guide. To manage various warm-up settings at // the group level, we recommend that you set the default instance warmup, even if // it is set to 0 seconds. To remove a value that you previously set, include the // property but specify -1 for the value. However, we strongly recommend keeping // the default instance warmup enabled by specifying a value of 0 or other nominal // value. Default: None DefaultInstanceWarmup *int32 // The desired capacity is the initial capacity of the Auto Scaling group at the // time of its creation and the capacity it attempts to maintain. It can scale // beyond this capacity if you configure auto scaling. This number must be greater // than or equal to the minimum size of the group and less than or equal to the // maximum size of the group. If you do not specify a desired capacity, the default // is the minimum size of the group. DesiredCapacity *int32 // The unit of measurement for the value specified for desired capacity. Amazon // EC2 Auto Scaling supports DesiredCapacityType for attribute-based instance type // selection only. For more information, see Creating an Auto Scaling group using // attribute-based instance type selection (https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html) // in the Amazon EC2 Auto Scaling User Guide. By default, Amazon EC2 Auto Scaling // specifies units , which translates into number of instances. Valid values: units // | vcpu | memory-mib DesiredCapacityType *string // The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before // checking the health status of an EC2 instance that has come into service and // marking it unhealthy due to a failed health check. This is useful if your // instances do not immediately pass their health checks after they enter the // InService state. For more information, see Set the health check grace period // for an Auto Scaling group (https://docs.aws.amazon.com/autoscaling/ec2/userguide/health-check-grace-period.html) // in the Amazon EC2 Auto Scaling User Guide. Default: 0 seconds HealthCheckGracePeriod *int32 // A comma-separated value string of one or more health check types. The valid // values are EC2 , ELB , and VPC_LATTICE . EC2 is the default health check and // cannot be disabled. For more information, see Health checks for Auto Scaling // instances (https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html) // in the Amazon EC2 Auto Scaling User Guide. Only specify EC2 if you must clear a // value that was previously set. HealthCheckType *string // The ID of the instance used to base the launch configuration on. If specified, // Amazon EC2 Auto Scaling uses the configuration values from the specified // instance to create a new launch configuration. To get the instance ID, use the // Amazon EC2 DescribeInstances (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html) // API operation. For more information, see Creating an Auto Scaling group using // an EC2 instance (https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-from-instance.html) // in the Amazon EC2 Auto Scaling User Guide. InstanceId *string // An instance maintenance policy. For more information, see Set instance // maintenance policy (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html) // in the Amazon EC2 Auto Scaling User Guide. InstanceMaintenancePolicy *types.InstanceMaintenancePolicy // The name of the launch configuration to use to launch instances. Conditional: // You must specify either a launch template ( LaunchTemplate or // MixedInstancesPolicy ) or a launch configuration ( LaunchConfigurationName or // InstanceId ). LaunchConfigurationName *string // Information used to specify the launch template and version to use to launch // instances. Conditional: You must specify either a launch template ( // LaunchTemplate or MixedInstancesPolicy ) or a launch configuration ( // LaunchConfigurationName or InstanceId ). The launch template that is specified // must be configured for use with an Auto Scaling group. For more information, see // Creating a launch template for an Auto Scaling group (https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html) // in the Amazon EC2 Auto Scaling User Guide. LaunchTemplate *types.LaunchTemplateSpecification // One or more lifecycle hooks to add to the Auto Scaling group before instances // are launched. LifecycleHookSpecificationList []types.LifecycleHookSpecification // A list of Classic Load Balancers associated with this Auto Scaling group. For // Application Load Balancers, Network Load Balancers, and Gateway Load Balancers, // specify the TargetGroupARNs property instead. LoadBalancerNames []string // The maximum amount of time, in seconds, that an instance can be in service. The // default is null. If specified, the value must be either 0 or a number equal to // or greater than 86,400 seconds (1 day). For more information, see Replacing // Auto Scaling instances based on maximum instance lifetime (https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-max-instance-lifetime.html) // in the Amazon EC2 Auto Scaling User Guide. MaxInstanceLifetime *int32 // The mixed instances policy. For more information, see Auto Scaling groups with // multiple instance types and purchase options (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html) // in the Amazon EC2 Auto Scaling User Guide. MixedInstancesPolicy *types.MixedInstancesPolicy // Indicates whether newly launched instances are protected from termination by // Amazon EC2 Auto Scaling when scaling in. For more information about preventing // instances from terminating on scale in, see Using instance scale-in protection (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html) // in the Amazon EC2 Auto Scaling User Guide. NewInstancesProtectedFromScaleIn *bool // The name of the placement group into which to launch your instances. For more // information, see Placement groups (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) // in the Amazon EC2 User Guide for Linux Instances. A cluster placement group is a // logical grouping of instances within a single Availability Zone. You cannot // specify multiple Availability Zones and a cluster placement group. PlacementGroup *string // The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling // group uses to call other Amazon Web Services service on your behalf. By default, // Amazon EC2 Auto Scaling uses a service-linked role named // AWSServiceRoleForAutoScaling , which it creates if it does not exist. For more // information, see Service-linked roles (https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-service-linked-role.html) // in the Amazon EC2 Auto Scaling User Guide. ServiceLinkedRoleARN *string // One or more tags. You can tag your Auto Scaling group and propagate the tags to // the Amazon EC2 instances it launches. Tags are not propagated to Amazon EBS // volumes. To add tags to Amazon EBS volumes, specify the tags in a launch // template but use caution. If the launch template specifies an instance tag with // a key that is also specified for the Auto Scaling group, Amazon EC2 Auto Scaling // overrides the value of that instance tag with the value specified by the Auto // Scaling group. For more information, see Tag Auto Scaling groups and instances (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-tagging.html) // in the Amazon EC2 Auto Scaling User Guide. Tags []types.Tag // The Amazon Resource Names (ARN) of the Elastic Load Balancing target groups to // associate with the Auto Scaling group. Instances are registered as targets with // the target groups. The target groups receive incoming traffic and route requests // to one or more registered targets. For more information, see Use Elastic Load // Balancing to distribute traffic across the instances in your Auto Scaling group (https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html) // in the Amazon EC2 Auto Scaling User Guide. TargetGroupARNs []string // A policy or a list of policies that are used to select the instance to // terminate. These policies are executed in the order that you list them. For more // information, see Work with Amazon EC2 Auto Scaling termination policies (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html) // in the Amazon EC2 Auto Scaling User Guide. Valid values: Default | // AllocationStrategy | ClosestToNextInstanceHour | NewestInstance | OldestInstance // | OldestLaunchConfiguration | OldestLaunchTemplate | // arn:aws:lambda:region:account-id:function:my-function:my-alias TerminationPolicies []string // The list of traffic sources to attach to this Auto Scaling group. You can use // any of the following as traffic sources for an Auto Scaling group: Classic Load // Balancer, Application Load Balancer, Gateway Load Balancer, Network Load // Balancer, and VPC Lattice. TrafficSources []types.TrafficSourceIdentifier // A comma-separated list of subnet IDs for a virtual private cloud (VPC) where // instances in the Auto Scaling group can be created. If you specify // VPCZoneIdentifier with AvailabilityZones , the subnets that you specify must // reside in those Availability Zones. VPCZoneIdentifier *string // contains filtered or unexported fields }
type CreateAutoScalingGroupOutput ¶
type CreateAutoScalingGroupOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateLaunchConfigurationInput ¶
type CreateLaunchConfigurationInput struct { // The name of the launch configuration. This name must be unique per Region per // account. // // This member is required. LaunchConfigurationName *string // Specifies whether to assign a public IPv4 address to the group's instances. If // the instance is launched into a default subnet, the default is to assign a // public IPv4 address, unless you disabled the option to assign a public IPv4 // address on the subnet. If the instance is launched into a nondefault subnet, the // default is not to assign a public IPv4 address, unless you enabled the option to // assign a public IPv4 address on the subnet. If you specify true , each instance // in the Auto Scaling group receives a unique public IPv4 address. For more // information, see Launching Auto Scaling instances in a VPC (https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html) // in the Amazon EC2 Auto Scaling User Guide. If you specify this property, you // must specify at least one subnet for VPCZoneIdentifier when you create your // group. AssociatePublicIpAddress *bool // The block device mapping entries that define the block devices to attach to the // instances at launch. By default, the block devices specified in the block device // mapping for the AMI are used. For more information, see Block device mappings (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html) // in the Amazon EC2 User Guide for Linux Instances. BlockDeviceMappings []types.BlockDeviceMapping // Available for backward compatibility. ClassicLinkVPCId *string // Available for backward compatibility. ClassicLinkVPCSecurityGroups []string // Specifies whether the launch configuration is optimized for EBS I/O ( true ) or // not ( false ). The optimization provides dedicated throughput to Amazon EBS and // an optimized configuration stack to provide optimal I/O performance. This // optimization is not available with all instance types. Additional fees are // incurred when you enable EBS optimization for an instance type that is not // EBS-optimized by default. For more information, see Amazon EBS-optimized // instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html) // in the Amazon EC2 User Guide for Linux Instances. The default value is false . EbsOptimized *bool // The name or the Amazon Resource Name (ARN) of the instance profile associated // with the IAM role for the instance. The instance profile contains the IAM role. // For more information, see IAM role for applications that run on Amazon EC2 // instances (https://docs.aws.amazon.com/autoscaling/ec2/userguide/us-iam-role.html) // in the Amazon EC2 Auto Scaling User Guide. IamInstanceProfile *string // The ID of the Amazon Machine Image (AMI) that was assigned during registration. // For more information, see Finding a Linux AMI (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html) // in the Amazon EC2 User Guide for Linux Instances. If you specify InstanceId , an // ImageId is not required. ImageId *string // The ID of the instance to use to create the launch configuration. The new // launch configuration derives attributes from the instance, except for the block // device mapping. To create a launch configuration with a block device mapping or // override any other instance attributes, specify them as part of the same // request. For more information, see Creating a launch configuration using an EC2 // instance (https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-lc-with-instanceID.html) // in the Amazon EC2 Auto Scaling User Guide. InstanceId *string // Controls whether instances in this group are launched with detailed ( true ) or // basic ( false ) monitoring. The default value is true (enabled). When detailed // monitoring is enabled, Amazon CloudWatch generates metrics every minute and your // account is charged a fee. When you disable detailed monitoring, CloudWatch // generates metrics every 5 minutes. For more information, see Configure // Monitoring for Auto Scaling Instances (https://docs.aws.amazon.com/autoscaling/latest/userguide/enable-as-instance-metrics.html) // in the Amazon EC2 Auto Scaling User Guide. InstanceMonitoring *types.InstanceMonitoring // Specifies the instance type of the EC2 instance. For information about // available instance types, see Available instance types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#AvailableInstanceTypes) // in the Amazon EC2 User Guide for Linux Instances. If you specify InstanceId , an // InstanceType is not required. InstanceType *string // The ID of the kernel associated with the AMI. We recommend that you use PV-GRUB // instead of kernels and RAM disks. For more information, see User provided // kernels (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html) // in the Amazon EC2 User Guide for Linux Instances. KernelId *string // The name of the key pair. For more information, see Amazon EC2 key pairs and // Linux instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html) // in the Amazon EC2 User Guide for Linux Instances. KeyName *string // The metadata options for the instances. For more information, see Configuring // the Instance Metadata Options (https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds) // in the Amazon EC2 Auto Scaling User Guide. MetadataOptions *types.InstanceMetadataOptions // The tenancy of the instance, either default or dedicated . An instance with // dedicated tenancy runs on isolated, single-tenant hardware and can only be // launched into a VPC. To launch dedicated instances into a shared tenancy VPC (a // VPC with the instance placement tenancy attribute set to default ), you must set // the value of this property to dedicated . For more information, see Configuring // instance tenancy with Amazon EC2 Auto Scaling (https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-dedicated-instances.html) // in the Amazon EC2 Auto Scaling User Guide. If you specify PlacementTenancy , you // must specify at least one subnet for VPCZoneIdentifier when you create your // group. Valid values: default | dedicated PlacementTenancy *string // The ID of the RAM disk to select. We recommend that you use PV-GRUB instead of // kernels and RAM disks. For more information, see User provided kernels (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html) // in the Amazon EC2 User Guide for Linux Instances. RamdiskId *string // A list that contains the security group IDs to assign to the instances in the // Auto Scaling group. For more information, see Control traffic to resources // using security groups (https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html) // in the Amazon Virtual Private Cloud User Guide. SecurityGroups []string // The maximum hourly price to be paid for any Spot Instance launched to fulfill // the request. Spot Instances are launched when the price you specify exceeds the // current Spot price. For more information, see Request Spot Instances for // fault-tolerant and flexible applications (https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-template-spot-instances.html) // in the Amazon EC2 Auto Scaling User Guide. Valid Range: Minimum value of 0.001 // When you change your maximum price by creating a new launch configuration, // running instances will continue to run as long as the maximum price for those // running instances is higher than the current Spot price. SpotPrice *string // The user data to make available to the launched EC2 instances. For more // information, see Instance metadata and user data (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html) // (Linux) and Instance metadata and user data (https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-metadata.html) // (Windows). If you are using a command line tool, base64-encoding is performed // for you, and you can load the text from a file. Otherwise, you must provide // base64-encoded text. User data is limited to 16 KB. UserData *string // contains filtered or unexported fields }
type CreateLaunchConfigurationOutput ¶
type CreateLaunchConfigurationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateOrUpdateTagsInput ¶
type CreateOrUpdateTagsOutput ¶
type CreateOrUpdateTagsOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteAutoScalingGroupInput ¶
type DeleteAutoScalingGroupInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // Specifies that the group is to be deleted along with all instances associated // with the group, without waiting for all instances to be terminated. This action // also deletes any outstanding lifecycle actions associated with the group. ForceDelete *bool // contains filtered or unexported fields }
type DeleteAutoScalingGroupOutput ¶
type DeleteAutoScalingGroupOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteLaunchConfigurationInput ¶
type DeleteLaunchConfigurationInput struct { // The name of the launch configuration. // // This member is required. LaunchConfigurationName *string // contains filtered or unexported fields }
type DeleteLaunchConfigurationOutput ¶
type DeleteLaunchConfigurationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteLifecycleHookOutput ¶
type DeleteLifecycleHookOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteNotificationConfigurationInput ¶
type DeleteNotificationConfigurationInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // The Amazon Resource Name (ARN) of the Amazon SNS topic. // // This member is required. TopicARN *string // contains filtered or unexported fields }
type DeleteNotificationConfigurationOutput ¶
type DeleteNotificationConfigurationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeletePolicyInput ¶
type DeletePolicyOutput ¶
type DeletePolicyOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteScheduledActionOutput ¶
type DeleteScheduledActionOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteTagsInput ¶
type DeleteTagsOutput ¶
type DeleteTagsOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteWarmPoolInput ¶ added in v1.3.0
type DeleteWarmPoolInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // Specifies that the warm pool is to be deleted along with all of its associated // instances, without waiting for all instances to be terminated. This parameter // also deletes any outstanding lifecycle actions associated with the warm pool // instances. ForceDelete *bool // contains filtered or unexported fields }
type DeleteWarmPoolOutput ¶ added in v1.3.0
type DeleteWarmPoolOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeAccountLimitsInput ¶
type DescribeAccountLimitsInput struct {
// contains filtered or unexported fields
}
type DescribeAccountLimitsOutput ¶
type DescribeAccountLimitsOutput struct { // The maximum number of groups allowed for your account. The default is 200 // groups per Region. MaxNumberOfAutoScalingGroups *int32 // The maximum number of launch configurations allowed for your account. The // default is 200 launch configurations per Region. MaxNumberOfLaunchConfigurations *int32 // The current number of groups for your account. NumberOfAutoScalingGroups *int32 // The current number of launch configurations for your account. NumberOfLaunchConfigurations *int32 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeAdjustmentTypesInput ¶
type DescribeAdjustmentTypesInput struct {
// contains filtered or unexported fields
}
type DescribeAdjustmentTypesOutput ¶
type DescribeAdjustmentTypesOutput struct { // The policy adjustment types. AdjustmentTypes []types.AdjustmentType // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeAutoScalingGroupsAPIClient ¶ added in v0.30.0
type DescribeAutoScalingGroupsAPIClient interface {
DescribeAutoScalingGroups(context.Context, *DescribeAutoScalingGroupsInput, ...func(*Options)) (*DescribeAutoScalingGroupsOutput, error)
}
DescribeAutoScalingGroupsAPIClient is a client that implements the DescribeAutoScalingGroups operation.
type DescribeAutoScalingGroupsInput ¶
type DescribeAutoScalingGroupsInput struct { // The names of the Auto Scaling groups. By default, you can only specify up to 50 // names. You can optionally increase this limit using the MaxRecords property. If // you omit this property, all Auto Scaling groups are described. AutoScalingGroupNames []string // One or more filters to limit the results based on specific tags. Filters []types.Filter // The maximum number of items to return with this call. The default value is 50 // and the maximum value is 100 . MaxRecords *int32 // The token for the next set of items to return. (You received this token from a // previous call.) NextToken *string // contains filtered or unexported fields }
type DescribeAutoScalingGroupsOutput ¶
type DescribeAutoScalingGroupsOutput struct { // The groups. // // This member is required. AutoScalingGroups []types.AutoScalingGroup // A string that indicates that the response contains more items than can be // returned in a single response. To receive additional items, specify this string // for the NextToken value when requesting the next set of items. This value is // null when there are no more items to return. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeAutoScalingGroupsPaginator ¶ added in v0.30.0
type DescribeAutoScalingGroupsPaginator struct {
// contains filtered or unexported fields
}
DescribeAutoScalingGroupsPaginator is a paginator for DescribeAutoScalingGroups
func NewDescribeAutoScalingGroupsPaginator ¶ added in v0.30.0
func NewDescribeAutoScalingGroupsPaginator(client DescribeAutoScalingGroupsAPIClient, params *DescribeAutoScalingGroupsInput, optFns ...func(*DescribeAutoScalingGroupsPaginatorOptions)) *DescribeAutoScalingGroupsPaginator
NewDescribeAutoScalingGroupsPaginator returns a new DescribeAutoScalingGroupsPaginator
func (*DescribeAutoScalingGroupsPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeAutoScalingGroupsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeAutoScalingGroupsPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeAutoScalingGroupsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeAutoScalingGroupsOutput, error)
NextPage retrieves the next DescribeAutoScalingGroups page.
type DescribeAutoScalingGroupsPaginatorOptions ¶ added in v0.30.0
type DescribeAutoScalingGroupsPaginatorOptions struct { // The maximum number of items to return with this call. The default value is 50 // and the maximum value is 100 . Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeAutoScalingGroupsPaginatorOptions is the paginator options for DescribeAutoScalingGroups
type DescribeAutoScalingInstancesAPIClient ¶ added in v0.30.0
type DescribeAutoScalingInstancesAPIClient interface {
DescribeAutoScalingInstances(context.Context, *DescribeAutoScalingInstancesInput, ...func(*Options)) (*DescribeAutoScalingInstancesOutput, error)
}
DescribeAutoScalingInstancesAPIClient is a client that implements the DescribeAutoScalingInstances operation.
type DescribeAutoScalingInstancesInput ¶
type DescribeAutoScalingInstancesInput struct { // The IDs of the instances. If you omit this property, all Auto Scaling instances // are described. If you specify an ID that does not exist, it is ignored with no // error. Array Members: Maximum number of 50 items. InstanceIds []string // The maximum number of items to return with this call. The default value is 50 // and the maximum value is 50 . MaxRecords *int32 // The token for the next set of items to return. (You received this token from a // previous call.) NextToken *string // contains filtered or unexported fields }
type DescribeAutoScalingInstancesOutput ¶
type DescribeAutoScalingInstancesOutput struct { // The instances. AutoScalingInstances []types.AutoScalingInstanceDetails // A string that indicates that the response contains more items than can be // returned in a single response. To receive additional items, specify this string // for the NextToken value when requesting the next set of items. This value is // null when there are no more items to return. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeAutoScalingInstancesPaginator ¶ added in v0.30.0
type DescribeAutoScalingInstancesPaginator struct {
// contains filtered or unexported fields
}
DescribeAutoScalingInstancesPaginator is a paginator for DescribeAutoScalingInstances
func NewDescribeAutoScalingInstancesPaginator ¶ added in v0.30.0
func NewDescribeAutoScalingInstancesPaginator(client DescribeAutoScalingInstancesAPIClient, params *DescribeAutoScalingInstancesInput, optFns ...func(*DescribeAutoScalingInstancesPaginatorOptions)) *DescribeAutoScalingInstancesPaginator
NewDescribeAutoScalingInstancesPaginator returns a new DescribeAutoScalingInstancesPaginator
func (*DescribeAutoScalingInstancesPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeAutoScalingInstancesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeAutoScalingInstancesPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeAutoScalingInstancesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeAutoScalingInstancesOutput, error)
NextPage retrieves the next DescribeAutoScalingInstances page.
type DescribeAutoScalingInstancesPaginatorOptions ¶ added in v0.30.0
type DescribeAutoScalingInstancesPaginatorOptions struct { // The maximum number of items to return with this call. The default value is 50 // and the maximum value is 50 . Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeAutoScalingInstancesPaginatorOptions is the paginator options for DescribeAutoScalingInstances
type DescribeAutoScalingNotificationTypesInput ¶
type DescribeAutoScalingNotificationTypesInput struct {
// contains filtered or unexported fields
}
type DescribeAutoScalingNotificationTypesOutput ¶
type DescribeAutoScalingNotificationTypesOutput struct { // The notification types. AutoScalingNotificationTypes []string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeInstanceRefreshesAPIClient ¶ added in v1.31.0
type DescribeInstanceRefreshesAPIClient interface {
DescribeInstanceRefreshes(context.Context, *DescribeInstanceRefreshesInput, ...func(*Options)) (*DescribeInstanceRefreshesOutput, error)
}
DescribeInstanceRefreshesAPIClient is a client that implements the DescribeInstanceRefreshes operation.
type DescribeInstanceRefreshesInput ¶
type DescribeInstanceRefreshesInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // One or more instance refresh IDs. InstanceRefreshIds []string // The maximum number of items to return with this call. The default value is 50 // and the maximum value is 100 . MaxRecords *int32 // The token for the next set of items to return. (You received this token from a // previous call.) NextToken *string // contains filtered or unexported fields }
type DescribeInstanceRefreshesOutput ¶
type DescribeInstanceRefreshesOutput struct { // The instance refreshes for the specified group, sorted by creation timestamp in // descending order. InstanceRefreshes []types.InstanceRefresh // A string that indicates that the response contains more items than can be // returned in a single response. To receive additional items, specify this string // for the NextToken value when requesting the next set of items. This value is // null when there are no more items to return. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeInstanceRefreshesPaginator ¶ added in v1.31.0
type DescribeInstanceRefreshesPaginator struct {
// contains filtered or unexported fields
}
DescribeInstanceRefreshesPaginator is a paginator for DescribeInstanceRefreshes
func NewDescribeInstanceRefreshesPaginator ¶ added in v1.31.0
func NewDescribeInstanceRefreshesPaginator(client DescribeInstanceRefreshesAPIClient, params *DescribeInstanceRefreshesInput, optFns ...func(*DescribeInstanceRefreshesPaginatorOptions)) *DescribeInstanceRefreshesPaginator
NewDescribeInstanceRefreshesPaginator returns a new DescribeInstanceRefreshesPaginator
func (*DescribeInstanceRefreshesPaginator) HasMorePages ¶ added in v1.31.0
func (p *DescribeInstanceRefreshesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeInstanceRefreshesPaginator) NextPage ¶ added in v1.31.0
func (p *DescribeInstanceRefreshesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeInstanceRefreshesOutput, error)
NextPage retrieves the next DescribeInstanceRefreshes page.
type DescribeInstanceRefreshesPaginatorOptions ¶ added in v1.31.0
type DescribeInstanceRefreshesPaginatorOptions struct { // The maximum number of items to return with this call. The default value is 50 // and the maximum value is 100 . Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeInstanceRefreshesPaginatorOptions is the paginator options for DescribeInstanceRefreshes
type DescribeLaunchConfigurationsAPIClient ¶ added in v0.30.0
type DescribeLaunchConfigurationsAPIClient interface {
DescribeLaunchConfigurations(context.Context, *DescribeLaunchConfigurationsInput, ...func(*Options)) (*DescribeLaunchConfigurationsOutput, error)
}
DescribeLaunchConfigurationsAPIClient is a client that implements the DescribeLaunchConfigurations operation.
type DescribeLaunchConfigurationsInput ¶
type DescribeLaunchConfigurationsInput struct { // The launch configuration names. If you omit this property, all launch // configurations are described. Array Members: Maximum number of 50 items. LaunchConfigurationNames []string // The maximum number of items to return with this call. The default value is 50 // and the maximum value is 100 . MaxRecords *int32 // The token for the next set of items to return. (You received this token from a // previous call.) NextToken *string // contains filtered or unexported fields }
type DescribeLaunchConfigurationsOutput ¶
type DescribeLaunchConfigurationsOutput struct { // The launch configurations. // // This member is required. LaunchConfigurations []types.LaunchConfiguration // A string that indicates that the response contains more items than can be // returned in a single response. To receive additional items, specify this string // for the NextToken value when requesting the next set of items. This value is // null when there are no more items to return. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeLaunchConfigurationsPaginator ¶ added in v0.30.0
type DescribeLaunchConfigurationsPaginator struct {
// contains filtered or unexported fields
}
DescribeLaunchConfigurationsPaginator is a paginator for DescribeLaunchConfigurations
func NewDescribeLaunchConfigurationsPaginator ¶ added in v0.30.0
func NewDescribeLaunchConfigurationsPaginator(client DescribeLaunchConfigurationsAPIClient, params *DescribeLaunchConfigurationsInput, optFns ...func(*DescribeLaunchConfigurationsPaginatorOptions)) *DescribeLaunchConfigurationsPaginator
NewDescribeLaunchConfigurationsPaginator returns a new DescribeLaunchConfigurationsPaginator
func (*DescribeLaunchConfigurationsPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeLaunchConfigurationsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeLaunchConfigurationsPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeLaunchConfigurationsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeLaunchConfigurationsOutput, error)
NextPage retrieves the next DescribeLaunchConfigurations page.
type DescribeLaunchConfigurationsPaginatorOptions ¶ added in v0.30.0
type DescribeLaunchConfigurationsPaginatorOptions struct { // The maximum number of items to return with this call. The default value is 50 // and the maximum value is 100 . Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeLaunchConfigurationsPaginatorOptions is the paginator options for DescribeLaunchConfigurations
type DescribeLifecycleHookTypesInput ¶
type DescribeLifecycleHookTypesInput struct {
// contains filtered or unexported fields
}
type DescribeLifecycleHookTypesOutput ¶
type DescribeLifecycleHookTypesOutput struct { // The lifecycle hook types. LifecycleHookTypes []string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeLifecycleHooksInput ¶
type DescribeLifecycleHooksInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // The names of one or more lifecycle hooks. If you omit this property, all // lifecycle hooks are described. LifecycleHookNames []string // contains filtered or unexported fields }
type DescribeLifecycleHooksOutput ¶
type DescribeLifecycleHooksOutput struct { // The lifecycle hooks for the specified group. LifecycleHooks []types.LifecycleHook // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeLoadBalancerTargetGroupsAPIClient ¶ added in v1.31.0
type DescribeLoadBalancerTargetGroupsAPIClient interface {
DescribeLoadBalancerTargetGroups(context.Context, *DescribeLoadBalancerTargetGroupsInput, ...func(*Options)) (*DescribeLoadBalancerTargetGroupsOutput, error)
}
DescribeLoadBalancerTargetGroupsAPIClient is a client that implements the DescribeLoadBalancerTargetGroups operation.
type DescribeLoadBalancerTargetGroupsInput ¶
type DescribeLoadBalancerTargetGroupsInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // The maximum number of items to return with this call. The default value is 100 // and the maximum value is 100 . MaxRecords *int32 // The token for the next set of items to return. (You received this token from a // previous call.) NextToken *string // contains filtered or unexported fields }
type DescribeLoadBalancerTargetGroupsOutput ¶
type DescribeLoadBalancerTargetGroupsOutput struct { // Information about the target groups. LoadBalancerTargetGroups []types.LoadBalancerTargetGroupState // A string that indicates that the response contains more items than can be // returned in a single response. To receive additional items, specify this string // for the NextToken value when requesting the next set of items. This value is // null when there are no more items to return. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeLoadBalancerTargetGroupsPaginator ¶ added in v1.31.0
type DescribeLoadBalancerTargetGroupsPaginator struct {
// contains filtered or unexported fields
}
DescribeLoadBalancerTargetGroupsPaginator is a paginator for DescribeLoadBalancerTargetGroups
func NewDescribeLoadBalancerTargetGroupsPaginator ¶ added in v1.31.0
func NewDescribeLoadBalancerTargetGroupsPaginator(client DescribeLoadBalancerTargetGroupsAPIClient, params *DescribeLoadBalancerTargetGroupsInput, optFns ...func(*DescribeLoadBalancerTargetGroupsPaginatorOptions)) *DescribeLoadBalancerTargetGroupsPaginator
NewDescribeLoadBalancerTargetGroupsPaginator returns a new DescribeLoadBalancerTargetGroupsPaginator
func (*DescribeLoadBalancerTargetGroupsPaginator) HasMorePages ¶ added in v1.31.0
func (p *DescribeLoadBalancerTargetGroupsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeLoadBalancerTargetGroupsPaginator) NextPage ¶ added in v1.31.0
func (p *DescribeLoadBalancerTargetGroupsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeLoadBalancerTargetGroupsOutput, error)
NextPage retrieves the next DescribeLoadBalancerTargetGroups page.
type DescribeLoadBalancerTargetGroupsPaginatorOptions ¶ added in v1.31.0
type DescribeLoadBalancerTargetGroupsPaginatorOptions struct { // The maximum number of items to return with this call. The default value is 100 // and the maximum value is 100 . Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeLoadBalancerTargetGroupsPaginatorOptions is the paginator options for DescribeLoadBalancerTargetGroups
type DescribeLoadBalancersAPIClient ¶ added in v1.31.0
type DescribeLoadBalancersAPIClient interface {
DescribeLoadBalancers(context.Context, *DescribeLoadBalancersInput, ...func(*Options)) (*DescribeLoadBalancersOutput, error)
}
DescribeLoadBalancersAPIClient is a client that implements the DescribeLoadBalancers operation.
type DescribeLoadBalancersInput ¶
type DescribeLoadBalancersInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // The maximum number of items to return with this call. The default value is 100 // and the maximum value is 100 . MaxRecords *int32 // The token for the next set of items to return. (You received this token from a // previous call.) NextToken *string // contains filtered or unexported fields }
type DescribeLoadBalancersOutput ¶
type DescribeLoadBalancersOutput struct { // The load balancers. LoadBalancers []types.LoadBalancerState // A string that indicates that the response contains more items than can be // returned in a single response. To receive additional items, specify this string // for the NextToken value when requesting the next set of items. This value is // null when there are no more items to return. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeLoadBalancersPaginator ¶ added in v1.31.0
type DescribeLoadBalancersPaginator struct {
// contains filtered or unexported fields
}
DescribeLoadBalancersPaginator is a paginator for DescribeLoadBalancers
func NewDescribeLoadBalancersPaginator ¶ added in v1.31.0
func NewDescribeLoadBalancersPaginator(client DescribeLoadBalancersAPIClient, params *DescribeLoadBalancersInput, optFns ...func(*DescribeLoadBalancersPaginatorOptions)) *DescribeLoadBalancersPaginator
NewDescribeLoadBalancersPaginator returns a new DescribeLoadBalancersPaginator
func (*DescribeLoadBalancersPaginator) HasMorePages ¶ added in v1.31.0
func (p *DescribeLoadBalancersPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeLoadBalancersPaginator) NextPage ¶ added in v1.31.0
func (p *DescribeLoadBalancersPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeLoadBalancersOutput, error)
NextPage retrieves the next DescribeLoadBalancers page.
type DescribeLoadBalancersPaginatorOptions ¶ added in v1.31.0
type DescribeLoadBalancersPaginatorOptions struct { // The maximum number of items to return with this call. The default value is 100 // and the maximum value is 100 . Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeLoadBalancersPaginatorOptions is the paginator options for DescribeLoadBalancers
type DescribeMetricCollectionTypesInput ¶
type DescribeMetricCollectionTypesInput struct {
// contains filtered or unexported fields
}
type DescribeMetricCollectionTypesOutput ¶
type DescribeMetricCollectionTypesOutput struct { // The granularities for the metrics. Granularities []types.MetricGranularityType // The metrics. Metrics []types.MetricCollectionType // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeNotificationConfigurationsAPIClient ¶ added in v0.30.0
type DescribeNotificationConfigurationsAPIClient interface {
DescribeNotificationConfigurations(context.Context, *DescribeNotificationConfigurationsInput, ...func(*Options)) (*DescribeNotificationConfigurationsOutput, error)
}
DescribeNotificationConfigurationsAPIClient is a client that implements the DescribeNotificationConfigurations operation.
type DescribeNotificationConfigurationsInput ¶
type DescribeNotificationConfigurationsInput struct { // The name of the Auto Scaling group. AutoScalingGroupNames []string // The maximum number of items to return with this call. The default value is 50 // and the maximum value is 100 . MaxRecords *int32 // The token for the next set of items to return. (You received this token from a // previous call.) NextToken *string // contains filtered or unexported fields }
type DescribeNotificationConfigurationsOutput ¶
type DescribeNotificationConfigurationsOutput struct { // The notification configurations. // // This member is required. NotificationConfigurations []types.NotificationConfiguration // A string that indicates that the response contains more items than can be // returned in a single response. To receive additional items, specify this string // for the NextToken value when requesting the next set of items. This value is // null when there are no more items to return. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeNotificationConfigurationsPaginator ¶ added in v0.30.0
type DescribeNotificationConfigurationsPaginator struct {
// contains filtered or unexported fields
}
DescribeNotificationConfigurationsPaginator is a paginator for DescribeNotificationConfigurations
func NewDescribeNotificationConfigurationsPaginator ¶ added in v0.30.0
func NewDescribeNotificationConfigurationsPaginator(client DescribeNotificationConfigurationsAPIClient, params *DescribeNotificationConfigurationsInput, optFns ...func(*DescribeNotificationConfigurationsPaginatorOptions)) *DescribeNotificationConfigurationsPaginator
NewDescribeNotificationConfigurationsPaginator returns a new DescribeNotificationConfigurationsPaginator
func (*DescribeNotificationConfigurationsPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeNotificationConfigurationsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeNotificationConfigurationsPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeNotificationConfigurationsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeNotificationConfigurationsOutput, error)
NextPage retrieves the next DescribeNotificationConfigurations page.
type DescribeNotificationConfigurationsPaginatorOptions ¶ added in v0.30.0
type DescribeNotificationConfigurationsPaginatorOptions struct { // The maximum number of items to return with this call. The default value is 50 // and the maximum value is 100 . Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeNotificationConfigurationsPaginatorOptions is the paginator options for DescribeNotificationConfigurations
type DescribePoliciesAPIClient ¶ added in v0.30.0
type DescribePoliciesAPIClient interface {
DescribePolicies(context.Context, *DescribePoliciesInput, ...func(*Options)) (*DescribePoliciesOutput, error)
}
DescribePoliciesAPIClient is a client that implements the DescribePolicies operation.
type DescribePoliciesInput ¶
type DescribePoliciesInput struct { // The name of the Auto Scaling group. AutoScalingGroupName *string // The maximum number of items to be returned with each call. The default value is // 50 and the maximum value is 100 . MaxRecords *int32 // The token for the next set of items to return. (You received this token from a // previous call.) NextToken *string // The names of one or more policies. If you omit this property, all policies are // described. If a group name is provided, the results are limited to that group. // If you specify an unknown policy name, it is ignored with no error. Array // Members: Maximum number of 50 items. PolicyNames []string // One or more policy types. The valid values are SimpleScaling , StepScaling , // TargetTrackingScaling , and PredictiveScaling . PolicyTypes []string // contains filtered or unexported fields }
type DescribePoliciesOutput ¶
type DescribePoliciesOutput struct { // A string that indicates that the response contains more items than can be // returned in a single response. To receive additional items, specify this string // for the NextToken value when requesting the next set of items. This value is // null when there are no more items to return. NextToken *string // The scaling policies. ScalingPolicies []types.ScalingPolicy // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribePoliciesPaginator ¶ added in v0.30.0
type DescribePoliciesPaginator struct {
// contains filtered or unexported fields
}
DescribePoliciesPaginator is a paginator for DescribePolicies
func NewDescribePoliciesPaginator ¶ added in v0.30.0
func NewDescribePoliciesPaginator(client DescribePoliciesAPIClient, params *DescribePoliciesInput, optFns ...func(*DescribePoliciesPaginatorOptions)) *DescribePoliciesPaginator
NewDescribePoliciesPaginator returns a new DescribePoliciesPaginator
func (*DescribePoliciesPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribePoliciesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribePoliciesPaginator) NextPage ¶ added in v0.30.0
func (p *DescribePoliciesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribePoliciesOutput, error)
NextPage retrieves the next DescribePolicies page.
type DescribePoliciesPaginatorOptions ¶ added in v0.30.0
type DescribePoliciesPaginatorOptions struct { // The maximum number of items to be returned with each call. The default value is // 50 and the maximum value is 100 . Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribePoliciesPaginatorOptions is the paginator options for DescribePolicies
type DescribeScalingActivitiesAPIClient ¶ added in v0.30.0
type DescribeScalingActivitiesAPIClient interface {
DescribeScalingActivities(context.Context, *DescribeScalingActivitiesInput, ...func(*Options)) (*DescribeScalingActivitiesOutput, error)
}
DescribeScalingActivitiesAPIClient is a client that implements the DescribeScalingActivities operation.
type DescribeScalingActivitiesInput ¶
type DescribeScalingActivitiesInput struct { // The activity IDs of the desired scaling activities. If you omit this property, // all activities for the past six weeks are described. If unknown activities are // requested, they are ignored with no error. If you specify an Auto Scaling group, // the results are limited to that group. Array Members: Maximum number of 50 IDs. ActivityIds []string // The name of the Auto Scaling group. AutoScalingGroupName *string // Indicates whether to include scaling activity from deleted Auto Scaling groups. IncludeDeletedGroups *bool // The maximum number of items to return with this call. The default value is 100 // and the maximum value is 100 . MaxRecords *int32 // The token for the next set of items to return. (You received this token from a // previous call.) NextToken *string // contains filtered or unexported fields }
type DescribeScalingActivitiesOutput ¶
type DescribeScalingActivitiesOutput struct { // The scaling activities. Activities are sorted by start time. Activities still // in progress are described first. // // This member is required. Activities []types.Activity // A string that indicates that the response contains more items than can be // returned in a single response. To receive additional items, specify this string // for the NextToken value when requesting the next set of items. This value is // null when there are no more items to return. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeScalingActivitiesPaginator ¶ added in v0.30.0
type DescribeScalingActivitiesPaginator struct {
// contains filtered or unexported fields
}
DescribeScalingActivitiesPaginator is a paginator for DescribeScalingActivities
func NewDescribeScalingActivitiesPaginator ¶ added in v0.30.0
func NewDescribeScalingActivitiesPaginator(client DescribeScalingActivitiesAPIClient, params *DescribeScalingActivitiesInput, optFns ...func(*DescribeScalingActivitiesPaginatorOptions)) *DescribeScalingActivitiesPaginator
NewDescribeScalingActivitiesPaginator returns a new DescribeScalingActivitiesPaginator
func (*DescribeScalingActivitiesPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeScalingActivitiesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeScalingActivitiesPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeScalingActivitiesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeScalingActivitiesOutput, error)
NextPage retrieves the next DescribeScalingActivities page.
type DescribeScalingActivitiesPaginatorOptions ¶ added in v0.30.0
type DescribeScalingActivitiesPaginatorOptions struct { // The maximum number of items to return with this call. The default value is 100 // and the maximum value is 100 . Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeScalingActivitiesPaginatorOptions is the paginator options for DescribeScalingActivities
type DescribeScalingProcessTypesInput ¶
type DescribeScalingProcessTypesInput struct {
// contains filtered or unexported fields
}
type DescribeScalingProcessTypesOutput ¶
type DescribeScalingProcessTypesOutput struct { // The names of the process types. Processes []types.ProcessType // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeScheduledActionsAPIClient ¶ added in v0.30.0
type DescribeScheduledActionsAPIClient interface {
DescribeScheduledActions(context.Context, *DescribeScheduledActionsInput, ...func(*Options)) (*DescribeScheduledActionsOutput, error)
}
DescribeScheduledActionsAPIClient is a client that implements the DescribeScheduledActions operation.
type DescribeScheduledActionsInput ¶
type DescribeScheduledActionsInput struct { // The name of the Auto Scaling group. AutoScalingGroupName *string // The latest scheduled start time to return. If scheduled action names are // provided, this property is ignored. EndTime *time.Time // The maximum number of items to return with this call. The default value is 50 // and the maximum value is 100 . MaxRecords *int32 // The token for the next set of items to return. (You received this token from a // previous call.) NextToken *string // The names of one or more scheduled actions. If you omit this property, all // scheduled actions are described. If you specify an unknown scheduled action, it // is ignored with no error. Array Members: Maximum number of 50 actions. ScheduledActionNames []string // The earliest scheduled start time to return. If scheduled action names are // provided, this property is ignored. StartTime *time.Time // contains filtered or unexported fields }
type DescribeScheduledActionsOutput ¶
type DescribeScheduledActionsOutput struct { // A string that indicates that the response contains more items than can be // returned in a single response. To receive additional items, specify this string // for the NextToken value when requesting the next set of items. This value is // null when there are no more items to return. NextToken *string // The scheduled actions. ScheduledUpdateGroupActions []types.ScheduledUpdateGroupAction // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeScheduledActionsPaginator ¶ added in v0.30.0
type DescribeScheduledActionsPaginator struct {
// contains filtered or unexported fields
}
DescribeScheduledActionsPaginator is a paginator for DescribeScheduledActions
func NewDescribeScheduledActionsPaginator ¶ added in v0.30.0
func NewDescribeScheduledActionsPaginator(client DescribeScheduledActionsAPIClient, params *DescribeScheduledActionsInput, optFns ...func(*DescribeScheduledActionsPaginatorOptions)) *DescribeScheduledActionsPaginator
NewDescribeScheduledActionsPaginator returns a new DescribeScheduledActionsPaginator
func (*DescribeScheduledActionsPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeScheduledActionsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeScheduledActionsPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeScheduledActionsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeScheduledActionsOutput, error)
NextPage retrieves the next DescribeScheduledActions page.
type DescribeScheduledActionsPaginatorOptions ¶ added in v0.30.0
type DescribeScheduledActionsPaginatorOptions struct { // The maximum number of items to return with this call. The default value is 50 // and the maximum value is 100 . Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeScheduledActionsPaginatorOptions is the paginator options for DescribeScheduledActions
type DescribeTagsAPIClient ¶ added in v0.30.0
type DescribeTagsAPIClient interface {
DescribeTags(context.Context, *DescribeTagsInput, ...func(*Options)) (*DescribeTagsOutput, error)
}
DescribeTagsAPIClient is a client that implements the DescribeTags operation.
type DescribeTagsInput ¶
type DescribeTagsInput struct { // One or more filters to scope the tags to return. The maximum number of filters // per filter type (for example, auto-scaling-group ) is 1000. Filters []types.Filter // The maximum number of items to return with this call. The default value is 50 // and the maximum value is 100 . MaxRecords *int32 // The token for the next set of items to return. (You received this token from a // previous call.) NextToken *string // contains filtered or unexported fields }
type DescribeTagsOutput ¶
type DescribeTagsOutput struct { // A string that indicates that the response contains more items than can be // returned in a single response. To receive additional items, specify this string // for the NextToken value when requesting the next set of items. This value is // null when there are no more items to return. NextToken *string // One or more tags. Tags []types.TagDescription // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeTagsPaginator ¶ added in v0.30.0
type DescribeTagsPaginator struct {
// contains filtered or unexported fields
}
DescribeTagsPaginator is a paginator for DescribeTags
func NewDescribeTagsPaginator ¶ added in v0.30.0
func NewDescribeTagsPaginator(client DescribeTagsAPIClient, params *DescribeTagsInput, optFns ...func(*DescribeTagsPaginatorOptions)) *DescribeTagsPaginator
NewDescribeTagsPaginator returns a new DescribeTagsPaginator
func (*DescribeTagsPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeTagsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeTagsPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeTagsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeTagsOutput, error)
NextPage retrieves the next DescribeTags page.
type DescribeTagsPaginatorOptions ¶ added in v0.30.0
type DescribeTagsPaginatorOptions struct { // The maximum number of items to return with this call. The default value is 50 // and the maximum value is 100 . Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeTagsPaginatorOptions is the paginator options for DescribeTags
type DescribeTerminationPolicyTypesInput ¶
type DescribeTerminationPolicyTypesInput struct {
// contains filtered or unexported fields
}
type DescribeTerminationPolicyTypesOutput ¶
type DescribeTerminationPolicyTypesOutput struct { // The termination policies supported by Amazon EC2 Auto Scaling: OldestInstance , // OldestLaunchConfiguration , NewestInstance , ClosestToNextInstanceHour , Default // , OldestLaunchTemplate , and AllocationStrategy . TerminationPolicyTypes []string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeTrafficSourcesAPIClient ¶ added in v1.28.0
type DescribeTrafficSourcesAPIClient interface {
DescribeTrafficSources(context.Context, *DescribeTrafficSourcesInput, ...func(*Options)) (*DescribeTrafficSourcesOutput, error)
}
DescribeTrafficSourcesAPIClient is a client that implements the DescribeTrafficSources operation.
type DescribeTrafficSourcesInput ¶ added in v1.25.0
type DescribeTrafficSourcesInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // The maximum number of items to return with this call. The maximum value is 50 . MaxRecords *int32 // The token for the next set of items to return. (You received this token from a // previous call.) NextToken *string // The traffic source type that you want to describe. The following lists the // valid values: // - elb if the traffic source is a Classic Load Balancer. // - elbv2 if the traffic source is a Application Load Balancer, Gateway Load // Balancer, or Network Load Balancer. // - vpc-lattice if the traffic source is VPC Lattice. TrafficSourceType *string // contains filtered or unexported fields }
type DescribeTrafficSourcesOutput ¶ added in v1.25.0
type DescribeTrafficSourcesOutput struct { // This string indicates that the response contains more items than can be // returned in a single response. To receive additional items, specify this string // for the NextToken value when requesting the next set of items. This value is // null when there are no more items to return. NextToken *string // Information about the traffic sources. TrafficSources []types.TrafficSourceState // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeTrafficSourcesPaginator ¶ added in v1.28.0
type DescribeTrafficSourcesPaginator struct {
// contains filtered or unexported fields
}
DescribeTrafficSourcesPaginator is a paginator for DescribeTrafficSources
func NewDescribeTrafficSourcesPaginator ¶ added in v1.28.0
func NewDescribeTrafficSourcesPaginator(client DescribeTrafficSourcesAPIClient, params *DescribeTrafficSourcesInput, optFns ...func(*DescribeTrafficSourcesPaginatorOptions)) *DescribeTrafficSourcesPaginator
NewDescribeTrafficSourcesPaginator returns a new DescribeTrafficSourcesPaginator
func (*DescribeTrafficSourcesPaginator) HasMorePages ¶ added in v1.28.0
func (p *DescribeTrafficSourcesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeTrafficSourcesPaginator) NextPage ¶ added in v1.28.0
func (p *DescribeTrafficSourcesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeTrafficSourcesOutput, error)
NextPage retrieves the next DescribeTrafficSources page.
type DescribeTrafficSourcesPaginatorOptions ¶ added in v1.28.0
type DescribeTrafficSourcesPaginatorOptions struct { // The maximum number of items to return with this call. The maximum value is 50 . Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeTrafficSourcesPaginatorOptions is the paginator options for DescribeTrafficSources
type DescribeWarmPoolAPIClient ¶ added in v1.29.0
type DescribeWarmPoolAPIClient interface {
DescribeWarmPool(context.Context, *DescribeWarmPoolInput, ...func(*Options)) (*DescribeWarmPoolOutput, error)
}
DescribeWarmPoolAPIClient is a client that implements the DescribeWarmPool operation.
type DescribeWarmPoolInput ¶ added in v1.3.0
type DescribeWarmPoolInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // The maximum number of instances to return with this call. The maximum value is // 50 . MaxRecords *int32 // The token for the next set of instances to return. (You received this token // from a previous call.) NextToken *string // contains filtered or unexported fields }
type DescribeWarmPoolOutput ¶ added in v1.3.0
type DescribeWarmPoolOutput struct { // The instances that are currently in the warm pool. Instances []types.Instance // This string indicates that the response contains more items than can be // returned in a single response. To receive additional items, specify this string // for the NextToken value when requesting the next set of items. This value is // null when there are no more items to return. NextToken *string // The warm pool configuration details. WarmPoolConfiguration *types.WarmPoolConfiguration // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeWarmPoolPaginator ¶ added in v1.29.0
type DescribeWarmPoolPaginator struct {
// contains filtered or unexported fields
}
DescribeWarmPoolPaginator is a paginator for DescribeWarmPool
func NewDescribeWarmPoolPaginator ¶ added in v1.29.0
func NewDescribeWarmPoolPaginator(client DescribeWarmPoolAPIClient, params *DescribeWarmPoolInput, optFns ...func(*DescribeWarmPoolPaginatorOptions)) *DescribeWarmPoolPaginator
NewDescribeWarmPoolPaginator returns a new DescribeWarmPoolPaginator
func (*DescribeWarmPoolPaginator) HasMorePages ¶ added in v1.29.0
func (p *DescribeWarmPoolPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeWarmPoolPaginator) NextPage ¶ added in v1.29.0
func (p *DescribeWarmPoolPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeWarmPoolOutput, error)
NextPage retrieves the next DescribeWarmPool page.
type DescribeWarmPoolPaginatorOptions ¶ added in v1.29.0
type DescribeWarmPoolPaginatorOptions struct { // The maximum number of instances to return with this call. The maximum value is // 50 . Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeWarmPoolPaginatorOptions is the paginator options for DescribeWarmPool
type DetachInstancesInput ¶
type DetachInstancesInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // Indicates whether the Auto Scaling group decrements the desired capacity value // by the number of instances detached. // // This member is required. ShouldDecrementDesiredCapacity *bool // The IDs of the instances. You can specify up to 20 instances. InstanceIds []string // contains filtered or unexported fields }
type DetachInstancesOutput ¶
type DetachInstancesOutput struct { // The activities related to detaching the instances from the Auto Scaling group. Activities []types.Activity // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DetachLoadBalancerTargetGroupsInput ¶
type DetachLoadBalancerTargetGroupsInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // The Amazon Resource Names (ARN) of the target groups. You can specify up to 10 // target groups. // // This member is required. TargetGroupARNs []string // contains filtered or unexported fields }
type DetachLoadBalancerTargetGroupsOutput ¶
type DetachLoadBalancerTargetGroupsOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DetachLoadBalancersInput ¶
type DetachLoadBalancersInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // The names of the load balancers. You can specify up to 10 load balancers. // // This member is required. LoadBalancerNames []string // contains filtered or unexported fields }
type DetachLoadBalancersOutput ¶
type DetachLoadBalancersOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DetachTrafficSourcesInput ¶ added in v1.25.0
type DetachTrafficSourcesInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // The unique identifiers of one or more traffic sources. You can specify up to 10 // traffic sources. // // This member is required. TrafficSources []types.TrafficSourceIdentifier // contains filtered or unexported fields }
type DetachTrafficSourcesOutput ¶ added in v1.25.0
type DetachTrafficSourcesOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DisableMetricsCollectionInput ¶
type DisableMetricsCollectionInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // Identifies the metrics to disable. You can specify one or more of the following // metrics: // - GroupMinSize // - GroupMaxSize // - GroupDesiredCapacity // - GroupInServiceInstances // - GroupPendingInstances // - GroupStandbyInstances // - GroupTerminatingInstances // - GroupTotalInstances // - GroupInServiceCapacity // - GroupPendingCapacity // - GroupStandbyCapacity // - GroupTerminatingCapacity // - GroupTotalCapacity // - WarmPoolDesiredCapacity // - WarmPoolWarmedCapacity // - WarmPoolPendingCapacity // - WarmPoolTerminatingCapacity // - WarmPoolTotalCapacity // - GroupAndWarmPoolDesiredCapacity // - GroupAndWarmPoolTotalCapacity // If you omit this property, all metrics are disabled. For more information, see // Auto Scaling group metrics (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-cloudwatch-monitoring.html#as-group-metrics) // in the Amazon EC2 Auto Scaling User Guide. Metrics []string // contains filtered or unexported fields }
type DisableMetricsCollectionOutput ¶
type DisableMetricsCollectionOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type EnableMetricsCollectionInput ¶
type EnableMetricsCollectionInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // The frequency at which Amazon EC2 Auto Scaling sends aggregated data to // CloudWatch. The only valid value is 1Minute . // // This member is required. Granularity *string // Identifies the metrics to enable. You can specify one or more of the following // metrics: // - GroupMinSize // - GroupMaxSize // - GroupDesiredCapacity // - GroupInServiceInstances // - GroupPendingInstances // - GroupStandbyInstances // - GroupTerminatingInstances // - GroupTotalInstances // - GroupInServiceCapacity // - GroupPendingCapacity // - GroupStandbyCapacity // - GroupTerminatingCapacity // - GroupTotalCapacity // - WarmPoolDesiredCapacity // - WarmPoolWarmedCapacity // - WarmPoolPendingCapacity // - WarmPoolTerminatingCapacity // - WarmPoolTotalCapacity // - GroupAndWarmPoolDesiredCapacity // - GroupAndWarmPoolTotalCapacity // If you specify Granularity and don't specify any metrics, all metrics are // enabled. For more information, see Auto Scaling group metrics (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-cloudwatch-monitoring.html#as-group-metrics) // in the Amazon EC2 Auto Scaling User Guide. Metrics []string // contains filtered or unexported fields }
type EnableMetricsCollectionOutput ¶
type EnableMetricsCollectionOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type EndpointParameters ¶ added in v1.30.0
type EndpointParameters struct { // The AWS region used to dispatch the request. // // Parameter is // required. // // AWS::Region Region *string // When true, use the dual-stack endpoint. If the configured endpoint does not // support dual-stack, dispatching the request MAY return an error. // // Defaults to // false if no value is provided. // // AWS::UseDualStack UseDualStack *bool // When true, send this request to the FIPS-compliant regional endpoint. If the // configured endpoint does not have a FIPS compliant endpoint, dispatching the // request will return an error. // // Defaults to false if no value is // provided. // // AWS::UseFIPS UseFIPS *bool // Override the endpoint used to send this request // // Parameter is // required. // // SDK::Endpoint Endpoint *string }
EndpointParameters provides the parameters that influence how endpoints are resolved.
func (EndpointParameters) ValidateRequired ¶ added in v1.30.0
func (p EndpointParameters) ValidateRequired() error
ValidateRequired validates required parameters are set.
func (EndpointParameters) WithDefaults ¶ added in v1.30.0
func (p EndpointParameters) WithDefaults() EndpointParameters
WithDefaults returns a shallow copy of EndpointParameterswith default values applied to members where applicable.
type EndpointResolver ¶
type EndpointResolver interface {
ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶ added in v1.1.0
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶ added in v0.29.0
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type EndpointResolverV2 ¶ added in v1.30.0
type EndpointResolverV2 interface { // ResolveEndpoint attempts to resolve the endpoint with the provided options, // returning the endpoint if found. Otherwise an error is returned. ResolveEndpoint(ctx context.Context, params EndpointParameters) ( smithyendpoints.Endpoint, error, ) }
EndpointResolverV2 provides the interface for resolving service endpoints.
func NewDefaultEndpointResolverV2 ¶ added in v1.30.0
func NewDefaultEndpointResolverV2() EndpointResolverV2
type EnterStandbyInput ¶
type EnterStandbyInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // Indicates whether to decrement the desired capacity of the Auto Scaling group // by the number of instances moved to Standby mode. // // This member is required. ShouldDecrementDesiredCapacity *bool // The IDs of the instances. You can specify up to 20 instances. InstanceIds []string // contains filtered or unexported fields }
type EnterStandbyOutput ¶
type EnterStandbyOutput struct { // The activities related to moving instances into Standby mode. Activities []types.Activity // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ExecutePolicyInput ¶
type ExecutePolicyInput struct { // The name or ARN of the policy. // // This member is required. PolicyName *string // The name of the Auto Scaling group. AutoScalingGroupName *string // The breach threshold for the alarm. Required if the policy type is StepScaling // and not supported otherwise. BreachThreshold *float64 // Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to // complete before executing the policy. Valid only if the policy type is // SimpleScaling . For more information, see Scaling cooldowns for Amazon EC2 Auto // Scaling (https://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html) in // the Amazon EC2 Auto Scaling User Guide. HonorCooldown *bool // The metric value to compare to BreachThreshold . This enables you to execute a // policy of type StepScaling and determine which step adjustment to use. For // example, if the breach threshold is 50 and you want to use a step adjustment // with a lower bound of 0 and an upper bound of 10, you can set the metric value // to 59. If you specify a metric value that doesn't correspond to a step // adjustment for the policy, the call returns an error. Required if the policy // type is StepScaling and not supported otherwise. MetricValue *float64 // contains filtered or unexported fields }
type ExecutePolicyOutput ¶
type ExecutePolicyOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ExitStandbyInput ¶
type ExitStandbyOutput ¶
type ExitStandbyOutput struct { // The activities related to moving instances out of Standby mode. Activities []types.Activity // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetPredictiveScalingForecastInput ¶ added in v1.5.0
type GetPredictiveScalingForecastInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // The exclusive end time of the time range for the forecast data to get. The // maximum time duration between the start and end time is 30 days. Although this // parameter can accept a date and time that is more than two days in the future, // the availability of forecast data has limits. Amazon EC2 Auto Scaling only // issues forecasts for periods of two days in advance. // // This member is required. EndTime *time.Time // The name of the policy. // // This member is required. PolicyName *string // The inclusive start time of the time range for the forecast data to get. At // most, the date and time can be one year before the current date and time. // // This member is required. StartTime *time.Time // contains filtered or unexported fields }
type GetPredictiveScalingForecastOutput ¶ added in v1.5.0
type GetPredictiveScalingForecastOutput struct { // The capacity forecast. // // This member is required. CapacityForecast *types.CapacityForecast // The load forecast. // // This member is required. LoadForecast []types.LoadForecast // The time the forecast was made. // // This member is required. UpdateTime *time.Time // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GroupExistsWaiter ¶ added in v0.31.0
type GroupExistsWaiter struct {
// contains filtered or unexported fields
}
GroupExistsWaiter defines the waiters for GroupExists
func NewGroupExistsWaiter ¶ added in v0.31.0
func NewGroupExistsWaiter(client DescribeAutoScalingGroupsAPIClient, optFns ...func(*GroupExistsWaiterOptions)) *GroupExistsWaiter
NewGroupExistsWaiter constructs a GroupExistsWaiter.
func (*GroupExistsWaiter) Wait ¶ added in v0.31.0
func (w *GroupExistsWaiter) Wait(ctx context.Context, params *DescribeAutoScalingGroupsInput, maxWaitDur time.Duration, optFns ...func(*GroupExistsWaiterOptions)) error
Wait calls the waiter function for GroupExists waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
func (*GroupExistsWaiter) WaitForOutput ¶ added in v1.15.0
func (w *GroupExistsWaiter) WaitForOutput(ctx context.Context, params *DescribeAutoScalingGroupsInput, maxWaitDur time.Duration, optFns ...func(*GroupExistsWaiterOptions)) (*DescribeAutoScalingGroupsOutput, error)
WaitForOutput calls the waiter function for GroupExists waiter and returns the output of the successful operation. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type GroupExistsWaiterOptions ¶ added in v0.31.0
type GroupExistsWaiterOptions struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. // // Passing options here is functionally equivalent to passing values to this // config's ClientOptions field that extend the inner client's APIOptions directly. APIOptions []func(*middleware.Stack) error // Functional options to be passed to all operations invoked by this client. // // Function values that modify the inner APIOptions are applied after the waiter // config's own APIOptions modifiers. ClientOptions []func(*Options) // MinDelay is the minimum amount of time to delay between retries. If unset, // GroupExistsWaiter will use default minimum delay of 5 seconds. Note that // MinDelay must resolve to a value lesser than or equal to the MaxDelay. MinDelay time.Duration // MaxDelay is the maximum amount of time to delay between retries. If unset or // set to zero, GroupExistsWaiter will use default max delay of 120 seconds. Note // that MaxDelay must resolve to value greater than or equal to the MinDelay. MaxDelay time.Duration // LogWaitAttempts is used to enable logging for waiter retry attempts LogWaitAttempts bool // Retryable is function that can be used to override the service defined // waiter-behavior based on operation output, or returned error. This function is // used by the waiter to decide if a state is retryable or a terminal state. By // default service-modeled logic will populate this option. This option can thus be // used to define a custom waiter state with fall-back to service-modeled waiter // state mutators.The function returns an error in case of a failure state. In case // of retry state, this function returns a bool value of true and nil error, while // in case of success it returns a bool value of false and nil error. Retryable func(context.Context, *DescribeAutoScalingGroupsInput, *DescribeAutoScalingGroupsOutput, error) (bool, error) }
GroupExistsWaiterOptions are waiter options for GroupExistsWaiter
type GroupInServiceWaiter ¶ added in v0.31.0
type GroupInServiceWaiter struct {
// contains filtered or unexported fields
}
GroupInServiceWaiter defines the waiters for GroupInService
func NewGroupInServiceWaiter ¶ added in v0.31.0
func NewGroupInServiceWaiter(client DescribeAutoScalingGroupsAPIClient, optFns ...func(*GroupInServiceWaiterOptions)) *GroupInServiceWaiter
NewGroupInServiceWaiter constructs a GroupInServiceWaiter.
func (*GroupInServiceWaiter) Wait ¶ added in v0.31.0
func (w *GroupInServiceWaiter) Wait(ctx context.Context, params *DescribeAutoScalingGroupsInput, maxWaitDur time.Duration, optFns ...func(*GroupInServiceWaiterOptions)) error
Wait calls the waiter function for GroupInService waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
func (*GroupInServiceWaiter) WaitForOutput ¶ added in v1.15.0
func (w *GroupInServiceWaiter) WaitForOutput(ctx context.Context, params *DescribeAutoScalingGroupsInput, maxWaitDur time.Duration, optFns ...func(*GroupInServiceWaiterOptions)) (*DescribeAutoScalingGroupsOutput, error)
WaitForOutput calls the waiter function for GroupInService waiter and returns the output of the successful operation. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type GroupInServiceWaiterOptions ¶ added in v0.31.0
type GroupInServiceWaiterOptions struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. // // Passing options here is functionally equivalent to passing values to this // config's ClientOptions field that extend the inner client's APIOptions directly. APIOptions []func(*middleware.Stack) error // Functional options to be passed to all operations invoked by this client. // // Function values that modify the inner APIOptions are applied after the waiter // config's own APIOptions modifiers. ClientOptions []func(*Options) // MinDelay is the minimum amount of time to delay between retries. If unset, // GroupInServiceWaiter will use default minimum delay of 15 seconds. Note that // MinDelay must resolve to a value lesser than or equal to the MaxDelay. MinDelay time.Duration // MaxDelay is the maximum amount of time to delay between retries. If unset or // set to zero, GroupInServiceWaiter will use default max delay of 120 seconds. // Note that MaxDelay must resolve to value greater than or equal to the MinDelay. MaxDelay time.Duration // LogWaitAttempts is used to enable logging for waiter retry attempts LogWaitAttempts bool // Retryable is function that can be used to override the service defined // waiter-behavior based on operation output, or returned error. This function is // used by the waiter to decide if a state is retryable or a terminal state. By // default service-modeled logic will populate this option. This option can thus be // used to define a custom waiter state with fall-back to service-modeled waiter // state mutators.The function returns an error in case of a failure state. In case // of retry state, this function returns a bool value of true and nil error, while // in case of success it returns a bool value of false and nil error. Retryable func(context.Context, *DescribeAutoScalingGroupsInput, *DescribeAutoScalingGroupsOutput, error) (bool, error) }
GroupInServiceWaiterOptions are waiter options for GroupInServiceWaiter
type GroupNotExistsWaiter ¶ added in v0.31.0
type GroupNotExistsWaiter struct {
// contains filtered or unexported fields
}
GroupNotExistsWaiter defines the waiters for GroupNotExists
func NewGroupNotExistsWaiter ¶ added in v0.31.0
func NewGroupNotExistsWaiter(client DescribeAutoScalingGroupsAPIClient, optFns ...func(*GroupNotExistsWaiterOptions)) *GroupNotExistsWaiter
NewGroupNotExistsWaiter constructs a GroupNotExistsWaiter.
func (*GroupNotExistsWaiter) Wait ¶ added in v0.31.0
func (w *GroupNotExistsWaiter) Wait(ctx context.Context, params *DescribeAutoScalingGroupsInput, maxWaitDur time.Duration, optFns ...func(*GroupNotExistsWaiterOptions)) error
Wait calls the waiter function for GroupNotExists waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
func (*GroupNotExistsWaiter) WaitForOutput ¶ added in v1.15.0
func (w *GroupNotExistsWaiter) WaitForOutput(ctx context.Context, params *DescribeAutoScalingGroupsInput, maxWaitDur time.Duration, optFns ...func(*GroupNotExistsWaiterOptions)) (*DescribeAutoScalingGroupsOutput, error)
WaitForOutput calls the waiter function for GroupNotExists waiter and returns the output of the successful operation. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type GroupNotExistsWaiterOptions ¶ added in v0.31.0
type GroupNotExistsWaiterOptions struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. // // Passing options here is functionally equivalent to passing values to this // config's ClientOptions field that extend the inner client's APIOptions directly. APIOptions []func(*middleware.Stack) error // Functional options to be passed to all operations invoked by this client. // // Function values that modify the inner APIOptions are applied after the waiter // config's own APIOptions modifiers. ClientOptions []func(*Options) // MinDelay is the minimum amount of time to delay between retries. If unset, // GroupNotExistsWaiter will use default minimum delay of 15 seconds. Note that // MinDelay must resolve to a value lesser than or equal to the MaxDelay. MinDelay time.Duration // MaxDelay is the maximum amount of time to delay between retries. If unset or // set to zero, GroupNotExistsWaiter will use default max delay of 120 seconds. // Note that MaxDelay must resolve to value greater than or equal to the MinDelay. MaxDelay time.Duration // LogWaitAttempts is used to enable logging for waiter retry attempts LogWaitAttempts bool // Retryable is function that can be used to override the service defined // waiter-behavior based on operation output, or returned error. This function is // used by the waiter to decide if a state is retryable or a terminal state. By // default service-modeled logic will populate this option. This option can thus be // used to define a custom waiter state with fall-back to service-modeled waiter // state mutators.The function returns an error in case of a failure state. In case // of retry state, this function returns a bool value of true and nil error, while // in case of success it returns a bool value of false and nil error. Retryable func(context.Context, *DescribeAutoScalingGroupsInput, *DescribeAutoScalingGroupsOutput, error) (bool, error) }
GroupNotExistsWaiterOptions are waiter options for GroupNotExistsWaiter
type HTTPSignerV4 ¶
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // The optional application specific identifier appended to the User-Agent header. AppID string // This endpoint will be given as input to an EndpointResolverV2. It is used for // providing a custom base endpoint that is subject to modifications by the // processing EndpointResolverV2. BaseEndpoint *string // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The configuration DefaultsMode that the SDK should use when constructing the // clients initial default settings. DefaultsMode aws.DefaultsMode // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. // // Deprecated: Deprecated: EndpointResolver and WithEndpointResolver. Providing a // value for this field will likely prevent you from using any endpoint-related // service features released after the introduction of EndpointResolverV2 and // BaseEndpoint. To migrate an EndpointResolver implementation that uses a custom // endpoint, set the client option BaseEndpoint instead. EndpointResolver EndpointResolver // Resolves the endpoint used for a particular service operation. This should be // used over the deprecated EndpointResolver. EndpointResolverV2 EndpointResolverV2 // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // The logger writer interface to write logging messages to. Logger logging.Logger // The region to send requests to. (Required) Region string // RetryMaxAttempts specifies the maximum number attempts an API client will call // an operation that fails with a retryable error. A value of 0 is ignored, and // will not be used to configure the API client created default retryer, or modify // per operation call's retry max attempts. If specified in an operation call's // functional options with a value that is different than the constructed client's // Options, the Client's Retryer will be wrapped to use the operation's specific // RetryMaxAttempts value. RetryMaxAttempts int // RetryMode specifies the retry mode the API client will be created with, if // Retryer option is not also specified. When creating a new API Clients this // member will only be used if the Retryer Options member is nil. This value will // be ignored if Retryer is not nil. Currently does not support per operation call // overrides, may in the future. RetryMode aws.RetryMode // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. The kind of // default retry created by the API client can be changed with the RetryMode // option. Retryer aws.Retryer // The RuntimeEnvironment configuration, only populated if the DefaultsMode is set // to DefaultsModeAuto and is initialized using config.LoadDefaultConfig . You // should not populate this structure programmatically, or rely on the values here // within your applications. RuntimeEnvironment aws.RuntimeEnvironment // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient // The auth scheme resolver which determines how to authenticate for each // operation. AuthSchemeResolver AuthSchemeResolver // The list of auth schemes supported by the client. AuthSchemes []smithyhttp.AuthScheme // contains filtered or unexported fields }
func (Options) GetIdentityResolver ¶ added in v1.35.0
func (o Options) GetIdentityResolver(schemeID string) smithyauth.IdentityResolver
type PutLifecycleHookInput ¶
type PutLifecycleHookInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // The name of the lifecycle hook. // // This member is required. LifecycleHookName *string // The action the Auto Scaling group takes when the lifecycle hook timeout elapses // or if an unexpected failure occurs. The default value is ABANDON . Valid values: // CONTINUE | ABANDON DefaultResult *string // The maximum time, in seconds, that can elapse before the lifecycle hook times // out. The range is from 30 to 7200 seconds. The default value is 3600 seconds (1 // hour). HeartbeatTimeout *int32 // The lifecycle transition. For Auto Scaling groups, there are two major // lifecycle transitions. // - To create a lifecycle hook for scale-out events, specify // autoscaling:EC2_INSTANCE_LAUNCHING . // - To create a lifecycle hook for scale-in events, specify // autoscaling:EC2_INSTANCE_TERMINATING . // Required for new lifecycle hooks, but optional when updating existing hooks. LifecycleTransition *string // Additional information that you want to include any time Amazon EC2 Auto // Scaling sends a message to the notification target. NotificationMetadata *string // The Amazon Resource Name (ARN) of the notification target that Amazon EC2 Auto // Scaling uses to notify you when an instance is in a wait state for the lifecycle // hook. You can specify either an Amazon SNS topic or an Amazon SQS queue. If you // specify an empty string, this overrides the current ARN. This operation uses the // JSON format when sending notifications to an Amazon SQS queue, and an email // key-value pair format when sending notifications to an Amazon SNS topic. When // you specify a notification target, Amazon EC2 Auto Scaling sends it a test // message. Test messages contain the following additional key-value pair: // "Event": "autoscaling:TEST_NOTIFICATION" . NotificationTargetARN *string // The ARN of the IAM role that allows the Auto Scaling group to publish to the // specified notification target. Valid only if the notification target is an // Amazon SNS topic or an Amazon SQS queue. Required for new lifecycle hooks, but // optional when updating existing hooks. RoleARN *string // contains filtered or unexported fields }
type PutLifecycleHookOutput ¶
type PutLifecycleHookOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type PutNotificationConfigurationInput ¶
type PutNotificationConfigurationInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // The type of event that causes the notification to be sent. To query the // notification types supported by Amazon EC2 Auto Scaling, call the // DescribeAutoScalingNotificationTypes API. // // This member is required. NotificationTypes []string // The Amazon Resource Name (ARN) of the Amazon SNS topic. // // This member is required. TopicARN *string // contains filtered or unexported fields }
type PutNotificationConfigurationOutput ¶
type PutNotificationConfigurationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type PutScalingPolicyInput ¶
type PutScalingPolicyInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // The name of the policy. // // This member is required. PolicyName *string // Specifies how the scaling adjustment is interpreted (for example, an absolute // number or a percentage). The valid values are ChangeInCapacity , ExactCapacity , // and PercentChangeInCapacity . Required if the policy type is StepScaling or // SimpleScaling . For more information, see Scaling adjustment types (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html#as-scaling-adjustment) // in the Amazon EC2 Auto Scaling User Guide. AdjustmentType *string // A cooldown period, in seconds, that applies to a specific simple scaling // policy. When a cooldown period is specified here, it overrides the default // cooldown. Valid only if the policy type is SimpleScaling . For more information, // see Scaling cooldowns for Amazon EC2 Auto Scaling (https://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html) // in the Amazon EC2 Auto Scaling User Guide. Default: None Cooldown *int32 // Indicates whether the scaling policy is enabled or disabled. The default is // enabled. For more information, see Disabling a scaling policy for an Auto // Scaling group (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enable-disable-scaling-policy.html) // in the Amazon EC2 Auto Scaling User Guide. Enabled *bool // Not needed if the default instance warmup is defined for the group. The // estimated time, in seconds, until a newly launched instance can contribute to // the CloudWatch metrics. This warm-up period applies to instances launched due to // a specific target tracking or step scaling policy. When a warm-up period is // specified here, it overrides the default instance warmup. Valid only if the // policy type is TargetTrackingScaling or StepScaling . The default is to use the // value for the default instance warmup defined for the group. If default instance // warmup is null, then EstimatedInstanceWarmup falls back to the value of default // cooldown. EstimatedInstanceWarmup *int32 // The aggregation type for the CloudWatch metrics. The valid values are Minimum , // Maximum , and Average . If the aggregation type is null, the value is treated as // Average . Valid only if the policy type is StepScaling . MetricAggregationType *string // The minimum value to scale by when the adjustment type is // PercentChangeInCapacity . For example, suppose that you create a step scaling // policy to scale out an Auto Scaling group by 25 percent and you specify a // MinAdjustmentMagnitude of 2. If the group has 4 instances and the scaling policy // is performed, 25 percent of 4 is 1. However, because you specified a // MinAdjustmentMagnitude of 2, Amazon EC2 Auto Scaling scales out the group by 2 // instances. Valid only if the policy type is StepScaling or SimpleScaling . For // more information, see Scaling adjustment types (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html#as-scaling-adjustment) // in the Amazon EC2 Auto Scaling User Guide. Some Auto Scaling groups use instance // weights. In this case, set the MinAdjustmentMagnitude to a value that is at // least as large as your largest instance weight. MinAdjustmentMagnitude *int32 // Available for backward compatibility. Use MinAdjustmentMagnitude instead. // // Deprecated: This member has been deprecated. MinAdjustmentStep *int32 // One of the following policy types: // - TargetTrackingScaling // - StepScaling // - SimpleScaling (default) // - PredictiveScaling PolicyType *string // A predictive scaling policy. Provides support for predefined and custom // metrics. Predefined metrics include CPU utilization, network in/out, and the // Application Load Balancer request count. For more information, see // PredictiveScalingConfiguration (https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_PredictiveScalingConfiguration.html) // in the Amazon EC2 Auto Scaling API Reference. Required if the policy type is // PredictiveScaling . PredictiveScalingConfiguration *types.PredictiveScalingConfiguration // The amount by which to scale, based on the specified adjustment type. A // positive value adds to the current capacity while a negative number removes from // the current capacity. For exact capacity, you must specify a non-negative value. // Required if the policy type is SimpleScaling . (Not used with any other policy // type.) ScalingAdjustment *int32 // A set of adjustments that enable you to scale based on the size of the alarm // breach. Required if the policy type is StepScaling . (Not used with any other // policy type.) StepAdjustments []types.StepAdjustment // A target tracking scaling policy. Provides support for predefined or custom // metrics. The following predefined metrics are available: // - ASGAverageCPUUtilization // - ASGAverageNetworkIn // - ASGAverageNetworkOut // - ALBRequestCountPerTarget // If you specify ALBRequestCountPerTarget for the metric, you must specify the // ResourceLabel property with the PredefinedMetricSpecification . For more // information, see TargetTrackingConfiguration (https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_TargetTrackingConfiguration.html) // in the Amazon EC2 Auto Scaling API Reference. Required if the policy type is // TargetTrackingScaling . TargetTrackingConfiguration *types.TargetTrackingConfiguration // contains filtered or unexported fields }
type PutScalingPolicyOutput ¶
type PutScalingPolicyOutput struct { // The CloudWatch alarms created for the target tracking scaling policy. Alarms []types.Alarm // The Amazon Resource Name (ARN) of the policy. PolicyARN *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Contains the output of PutScalingPolicy.
type PutScheduledUpdateGroupActionInput ¶
type PutScheduledUpdateGroupActionInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // The name of this scaling action. // // This member is required. ScheduledActionName *string // The desired capacity is the initial capacity of the Auto Scaling group after // the scheduled action runs and the capacity it attempts to maintain. It can scale // beyond this capacity if you add more scaling conditions. You must specify at // least one of the following properties: MaxSize , MinSize , or DesiredCapacity . DesiredCapacity *int32 // The date and time for the recurring schedule to end, in UTC. For example, // "2021-06-01T00:00:00Z" . EndTime *time.Time // The maximum size of the Auto Scaling group. MaxSize *int32 // The minimum size of the Auto Scaling group. MinSize *int32 // The recurring schedule for this action. This format consists of five fields // separated by white spaces: [Minute] [Hour] [Day_of_Month] [Month_of_Year] // [Day_of_Week]. The value must be in quotes (for example, "30 0 1 1,6,12 *" ). // For more information about this format, see Crontab (http://crontab.org) . When // StartTime and EndTime are specified with Recurrence , they form the boundaries // of when the recurring action starts and stops. Cron expressions use Universal // Coordinated Time (UTC) by default. Recurrence *string // The date and time for this action to start, in YYYY-MM-DDThh:mm:ssZ format in // UTC/GMT only and in quotes (for example, "2021-06-01T00:00:00Z" ). If you // specify Recurrence and StartTime , Amazon EC2 Auto Scaling performs the action // at this time, and then performs the action based on the specified recurrence. StartTime *time.Time // This property is no longer used. Time *time.Time // Specifies the time zone for a cron expression. If a time zone is not provided, // UTC is used by default. Valid values are the canonical names of the IANA time // zones, derived from the IANA Time Zone Database (such as Etc/GMT+9 or // Pacific/Tahiti ). For more information, see // https://en.wikipedia.org/wiki/List_of_tz_database_time_zones (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) // . TimeZone *string // contains filtered or unexported fields }
type PutScheduledUpdateGroupActionOutput ¶
type PutScheduledUpdateGroupActionOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type PutWarmPoolInput ¶ added in v1.3.0
type PutWarmPoolInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // Indicates whether instances in the Auto Scaling group can be returned to the // warm pool on scale in. The default is to terminate instances in the Auto Scaling // group when the group scales in. InstanceReusePolicy *types.InstanceReusePolicy // Specifies the maximum number of instances that are allowed to be in the warm // pool or in any state except Terminated for the Auto Scaling group. This is an // optional property. Specify it only if you do not want the warm pool size to be // determined by the difference between the group's maximum capacity and its // desired capacity. If a value for MaxGroupPreparedCapacity is not specified, // Amazon EC2 Auto Scaling launches and maintains the difference between the // group's maximum capacity and its desired capacity. If you specify a value for // MaxGroupPreparedCapacity , Amazon EC2 Auto Scaling uses the difference between // the MaxGroupPreparedCapacity and the desired capacity instead. The size of the // warm pool is dynamic. Only when MaxGroupPreparedCapacity and MinSize are set to // the same value does the warm pool have an absolute size. If the desired capacity // of the Auto Scaling group is higher than the MaxGroupPreparedCapacity , the // capacity of the warm pool is 0, unless you specify a value for MinSize . To // remove a value that you previously set, include the property but specify -1 for // the value. MaxGroupPreparedCapacity *int32 // Specifies the minimum number of instances to maintain in the warm pool. This // helps you to ensure that there is always a certain number of warmed instances // available to handle traffic spikes. Defaults to 0 if not specified. MinSize *int32 // Sets the instance state to transition to after the lifecycle actions are // complete. Default is Stopped . PoolState types.WarmPoolState // contains filtered or unexported fields }
type PutWarmPoolOutput ¶ added in v1.3.0
type PutWarmPoolOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type RecordLifecycleActionHeartbeatInput ¶
type RecordLifecycleActionHeartbeatInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // The name of the lifecycle hook. // // This member is required. LifecycleHookName *string // The ID of the instance. InstanceId *string // A token that uniquely identifies a specific lifecycle action associated with an // instance. Amazon EC2 Auto Scaling sends this token to the notification target // that you specified when you created the lifecycle hook. LifecycleActionToken *string // contains filtered or unexported fields }
type RecordLifecycleActionHeartbeatOutput ¶
type RecordLifecycleActionHeartbeatOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type ResumeProcessesInput ¶
type ResumeProcessesInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // One or more of the following processes: // - Launch // - Terminate // - AddToLoadBalancer // - AlarmNotification // - AZRebalance // - HealthCheck // - InstanceRefresh // - ReplaceUnhealthy // - ScheduledActions // If you omit this property, all processes are specified. ScalingProcesses []string // contains filtered or unexported fields }
type ResumeProcessesOutput ¶
type ResumeProcessesOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type RollbackInstanceRefreshInput ¶ added in v1.27.0
type RollbackInstanceRefreshInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // contains filtered or unexported fields }
type RollbackInstanceRefreshOutput ¶ added in v1.27.0
type RollbackInstanceRefreshOutput struct { // The instance refresh ID associated with the request. This is the unique ID // assigned to the instance refresh when it was started. InstanceRefreshId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type SetDesiredCapacityInput ¶
type SetDesiredCapacityInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // The desired capacity is the initial capacity of the Auto Scaling group after // this operation completes and the capacity it attempts to maintain. // // This member is required. DesiredCapacity *int32 // Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to // complete before initiating a scaling activity to set your Auto Scaling group to // its new capacity. By default, Amazon EC2 Auto Scaling does not honor the // cooldown period during manual scaling activities. HonorCooldown *bool // contains filtered or unexported fields }
type SetDesiredCapacityOutput ¶
type SetDesiredCapacityOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type SetInstanceHealthInput ¶
type SetInstanceHealthInput struct { // The health status of the instance. Set to Healthy to have the instance remain // in service. Set to Unhealthy to have the instance be out of service. Amazon EC2 // Auto Scaling terminates and replaces the unhealthy instance. // // This member is required. HealthStatus *string // The ID of the instance. // // This member is required. InstanceId *string // If the Auto Scaling group of the specified instance has a HealthCheckGracePeriod // specified for the group, by default, this call respects the grace period. Set // this to False , to have the call not respect the grace period associated with // the group. For more information about the health check grace period, see // CreateAutoScalingGroup (https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_CreateAutoScalingGroup.html) // in the Amazon EC2 Auto Scaling API Reference. ShouldRespectGracePeriod *bool // contains filtered or unexported fields }
type SetInstanceHealthOutput ¶
type SetInstanceHealthOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type SetInstanceProtectionInput ¶
type SetInstanceProtectionInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // One or more instance IDs. You can specify up to 50 instances. // // This member is required. InstanceIds []string // Indicates whether the instance is protected from termination by Amazon EC2 Auto // Scaling when scaling in. // // This member is required. ProtectedFromScaleIn *bool // contains filtered or unexported fields }
type SetInstanceProtectionOutput ¶
type SetInstanceProtectionOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type StartInstanceRefreshInput ¶
type StartInstanceRefreshInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // The desired configuration. For example, the desired configuration can specify a // new launch template or a new version of the current launch template. Once the // instance refresh succeeds, Amazon EC2 Auto Scaling updates the settings of the // Auto Scaling group to reflect the new desired configuration. When you specify a // new launch template or a new version of the current launch template for your // desired configuration, consider enabling the SkipMatching property in // preferences. If it's enabled, Amazon EC2 Auto Scaling skips replacing instances // that already use the specified launch template and instance types. This can help // you reduce the number of replacements that are required to apply updates. DesiredConfiguration *types.DesiredConfiguration // Sets your preferences for the instance refresh so that it performs as expected // when you start it. Includes the instance warmup time, the minimum and maximum // healthy percentages, and the behaviors that you want Amazon EC2 Auto Scaling to // use if instances that are in Standby state or protected from scale in are // found. You can also choose to enable additional features, such as the following: // // - Auto rollback // - Checkpoints // - CloudWatch alarms // - Skip matching Preferences *types.RefreshPreferences // The strategy to use for the instance refresh. The only valid value is Rolling . Strategy types.RefreshStrategy // contains filtered or unexported fields }
type StartInstanceRefreshOutput ¶
type StartInstanceRefreshOutput struct { // A unique ID for tracking the progress of the instance refresh. InstanceRefreshId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type SuspendProcessesInput ¶
type SuspendProcessesInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // One or more of the following processes: // - Launch // - Terminate // - AddToLoadBalancer // - AlarmNotification // - AZRebalance // - HealthCheck // - InstanceRefresh // - ReplaceUnhealthy // - ScheduledActions // If you omit this property, all processes are specified. ScalingProcesses []string // contains filtered or unexported fields }
type SuspendProcessesOutput ¶
type SuspendProcessesOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type TerminateInstanceInAutoScalingGroupInput ¶
type TerminateInstanceInAutoScalingGroupInput struct { // The ID of the instance. // // This member is required. InstanceId *string // Indicates whether terminating the instance also decrements the size of the Auto // Scaling group. // // This member is required. ShouldDecrementDesiredCapacity *bool // contains filtered or unexported fields }
type TerminateInstanceInAutoScalingGroupOutput ¶
type TerminateInstanceInAutoScalingGroupOutput struct { // A scaling activity. Activity *types.Activity // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateAutoScalingGroupInput ¶
type UpdateAutoScalingGroupInput struct { // The name of the Auto Scaling group. // // This member is required. AutoScalingGroupName *string // One or more Availability Zones for the group. AvailabilityZones []string // Enables or disables Capacity Rebalancing. For more information, see Use // Capacity Rebalancing to handle Amazon EC2 Spot Interruptions (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-capacity-rebalancing.html) // in the Amazon EC2 Auto Scaling User Guide. CapacityRebalance *bool // Reserved. Context *string // Only needed if you use simple scaling policies. The amount of time, in seconds, // between one scaling activity ending and another one starting due to simple // scaling policies. For more information, see Scaling cooldowns for Amazon EC2 // Auto Scaling (https://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html) // in the Amazon EC2 Auto Scaling User Guide. DefaultCooldown *int32 // The amount of time, in seconds, until a new instance is considered to have // finished initializing and resource consumption to become stable after it enters // the InService state. During an instance refresh, Amazon EC2 Auto Scaling waits // for the warm-up period after it replaces an instance before it moves on to // replacing the next instance. Amazon EC2 Auto Scaling also waits for the warm-up // period before aggregating the metrics for new instances with existing instances // in the Amazon CloudWatch metrics that are used for scaling, resulting in more // reliable usage data. For more information, see Set the default instance warmup // for an Auto Scaling group (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-default-instance-warmup.html) // in the Amazon EC2 Auto Scaling User Guide. To manage various warm-up settings at // the group level, we recommend that you set the default instance warmup, even if // it is set to 0 seconds. To remove a value that you previously set, include the // property but specify -1 for the value. However, we strongly recommend keeping // the default instance warmup enabled by specifying a value of 0 or other nominal // value. DefaultInstanceWarmup *int32 // The desired capacity is the initial capacity of the Auto Scaling group after // this operation completes and the capacity it attempts to maintain. This number // must be greater than or equal to the minimum size of the group and less than or // equal to the maximum size of the group. DesiredCapacity *int32 // The unit of measurement for the value specified for desired capacity. Amazon // EC2 Auto Scaling supports DesiredCapacityType for attribute-based instance type // selection only. For more information, see Creating an Auto Scaling group using // attribute-based instance type selection (https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html) // in the Amazon EC2 Auto Scaling User Guide. By default, Amazon EC2 Auto Scaling // specifies units , which translates into number of instances. Valid values: units // | vcpu | memory-mib DesiredCapacityType *string // The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before // checking the health status of an EC2 instance that has come into service and // marking it unhealthy due to a failed health check. This is useful if your // instances do not immediately pass their health checks after they enter the // InService state. For more information, see Set the health check grace period // for an Auto Scaling group (https://docs.aws.amazon.com/autoscaling/ec2/userguide/health-check-grace-period.html) // in the Amazon EC2 Auto Scaling User Guide. HealthCheckGracePeriod *int32 // A comma-separated value string of one or more health check types. The valid // values are EC2 , ELB , and VPC_LATTICE . EC2 is the default health check and // cannot be disabled. For more information, see Health checks for Auto Scaling // instances (https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html) // in the Amazon EC2 Auto Scaling User Guide. Only specify EC2 if you must clear a // value that was previously set. HealthCheckType *string // An instance maintenance policy. For more information, see Set instance // maintenance policy (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html) // in the Amazon EC2 Auto Scaling User Guide. InstanceMaintenancePolicy *types.InstanceMaintenancePolicy // The name of the launch configuration. If you specify LaunchConfigurationName in // your update request, you can't specify LaunchTemplate or MixedInstancesPolicy . LaunchConfigurationName *string // The launch template and version to use to specify the updates. If you specify // LaunchTemplate in your update request, you can't specify LaunchConfigurationName // or MixedInstancesPolicy . LaunchTemplate *types.LaunchTemplateSpecification // The maximum amount of time, in seconds, that an instance can be in service. The // default is null. If specified, the value must be either 0 or a number equal to // or greater than 86,400 seconds (1 day). To clear a previously set value, specify // a new value of 0. For more information, see Replacing Auto Scaling instances // based on maximum instance lifetime (https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-max-instance-lifetime.html) // in the Amazon EC2 Auto Scaling User Guide. MaxInstanceLifetime *int32 // The maximum size of the Auto Scaling group. With a mixed instances policy that // uses instance weighting, Amazon EC2 Auto Scaling may need to go above MaxSize // to meet your capacity requirements. In this event, Amazon EC2 Auto Scaling will // never go above MaxSize by more than your largest instance weight (weights that // define how many units each instance contributes to the desired capacity of the // group). MaxSize *int32 // The minimum size of the Auto Scaling group. MinSize *int32 // The mixed instances policy. For more information, see Auto Scaling groups with // multiple instance types and purchase options (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html) // in the Amazon EC2 Auto Scaling User Guide. MixedInstancesPolicy *types.MixedInstancesPolicy // Indicates whether newly launched instances are protected from termination by // Amazon EC2 Auto Scaling when scaling in. For more information about preventing // instances from terminating on scale in, see Using instance scale-in protection (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html) // in the Amazon EC2 Auto Scaling User Guide. NewInstancesProtectedFromScaleIn *bool // The name of an existing placement group into which to launch your instances. // For more information, see Placement groups (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) // in the Amazon EC2 User Guide for Linux Instances. A cluster placement group is a // logical grouping of instances within a single Availability Zone. You cannot // specify multiple Availability Zones and a cluster placement group. PlacementGroup *string // The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling // group uses to call other Amazon Web Services on your behalf. For more // information, see Service-linked roles (https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-service-linked-role.html) // in the Amazon EC2 Auto Scaling User Guide. ServiceLinkedRoleARN *string // A policy or a list of policies that are used to select the instances to // terminate. The policies are executed in the order that you list them. For more // information, see Work with Amazon EC2 Auto Scaling termination policies (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html) // in the Amazon EC2 Auto Scaling User Guide. Valid values: Default | // AllocationStrategy | ClosestToNextInstanceHour | NewestInstance | OldestInstance // | OldestLaunchConfiguration | OldestLaunchTemplate | // arn:aws:lambda:region:account-id:function:my-function:my-alias TerminationPolicies []string // A comma-separated list of subnet IDs for a virtual private cloud (VPC). If you // specify VPCZoneIdentifier with AvailabilityZones , the subnets that you specify // must reside in those Availability Zones. VPCZoneIdentifier *string // contains filtered or unexported fields }
type UpdateAutoScalingGroupOutput ¶
type UpdateAutoScalingGroupOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Source Files ¶
- api_client.go
- api_op_AttachInstances.go
- api_op_AttachLoadBalancerTargetGroups.go
- api_op_AttachLoadBalancers.go
- api_op_AttachTrafficSources.go
- api_op_BatchDeleteScheduledAction.go
- api_op_BatchPutScheduledUpdateGroupAction.go
- api_op_CancelInstanceRefresh.go
- api_op_CompleteLifecycleAction.go
- api_op_CreateAutoScalingGroup.go
- api_op_CreateLaunchConfiguration.go
- api_op_CreateOrUpdateTags.go
- api_op_DeleteAutoScalingGroup.go
- api_op_DeleteLaunchConfiguration.go
- api_op_DeleteLifecycleHook.go
- api_op_DeleteNotificationConfiguration.go
- api_op_DeletePolicy.go
- api_op_DeleteScheduledAction.go
- api_op_DeleteTags.go
- api_op_DeleteWarmPool.go
- api_op_DescribeAccountLimits.go
- api_op_DescribeAdjustmentTypes.go
- api_op_DescribeAutoScalingGroups.go
- api_op_DescribeAutoScalingInstances.go
- api_op_DescribeAutoScalingNotificationTypes.go
- api_op_DescribeInstanceRefreshes.go
- api_op_DescribeLaunchConfigurations.go
- api_op_DescribeLifecycleHookTypes.go
- api_op_DescribeLifecycleHooks.go
- api_op_DescribeLoadBalancerTargetGroups.go
- api_op_DescribeLoadBalancers.go
- api_op_DescribeMetricCollectionTypes.go
- api_op_DescribeNotificationConfigurations.go
- api_op_DescribePolicies.go
- api_op_DescribeScalingActivities.go
- api_op_DescribeScalingProcessTypes.go
- api_op_DescribeScheduledActions.go
- api_op_DescribeTags.go
- api_op_DescribeTerminationPolicyTypes.go
- api_op_DescribeTrafficSources.go
- api_op_DescribeWarmPool.go
- api_op_DetachInstances.go
- api_op_DetachLoadBalancerTargetGroups.go
- api_op_DetachLoadBalancers.go
- api_op_DetachTrafficSources.go
- api_op_DisableMetricsCollection.go
- api_op_EnableMetricsCollection.go
- api_op_EnterStandby.go
- api_op_ExecutePolicy.go
- api_op_ExitStandby.go
- api_op_GetPredictiveScalingForecast.go
- api_op_PutLifecycleHook.go
- api_op_PutNotificationConfiguration.go
- api_op_PutScalingPolicy.go
- api_op_PutScheduledUpdateGroupAction.go
- api_op_PutWarmPool.go
- api_op_RecordLifecycleActionHeartbeat.go
- api_op_ResumeProcesses.go
- api_op_RollbackInstanceRefresh.go
- api_op_SetDesiredCapacity.go
- api_op_SetInstanceHealth.go
- api_op_SetInstanceProtection.go
- api_op_StartInstanceRefresh.go
- api_op_SuspendProcesses.go
- api_op_TerminateInstanceInAutoScalingGroup.go
- api_op_UpdateAutoScalingGroup.go
- auth.go
- deserializers.go
- doc.go
- endpoints.go
- go_module_metadata.go
- options.go
- serializers.go
- validators.go