Documentation ¶
Overview ¶
Package autoscaling provides a client for Auto Scaling.
Index ¶
- Constants
- type ActivitiesType
- type Activity
- type ActivityType
- type AdjustmentType
- type Alarm
- type AttachInstancesQuery
- type AutoScaling
- func (c *AutoScaling) AttachInstances(req *AttachInstancesQuery) (err error)
- func (c *AutoScaling) CompleteLifecycleAction(req *CompleteLifecycleActionType) (resp *CompleteLifecycleActionResult, err error)
- func (c *AutoScaling) CreateAutoScalingGroup(req *CreateAutoScalingGroupType) (err error)
- func (c *AutoScaling) CreateLaunchConfiguration(req *CreateLaunchConfigurationType) (err error)
- func (c *AutoScaling) CreateOrUpdateTags(req *CreateOrUpdateTagsType) (err error)
- func (c *AutoScaling) DeleteAutoScalingGroup(req *DeleteAutoScalingGroupType) (err error)
- func (c *AutoScaling) DeleteLaunchConfiguration(req *LaunchConfigurationNameType) (err error)
- func (c *AutoScaling) DeleteLifecycleHook(req *DeleteLifecycleHookType) (resp *DeleteLifecycleHookResult, err error)
- func (c *AutoScaling) DeleteNotificationConfiguration(req *DeleteNotificationConfigurationType) (err error)
- func (c *AutoScaling) DeletePolicy(req *DeletePolicyType) (err error)
- func (c *AutoScaling) DeleteScheduledAction(req *DeleteScheduledActionType) (err error)
- func (c *AutoScaling) DeleteTags(req *DeleteTagsType) (err error)
- func (c *AutoScaling) DescribeAccountLimits() (resp *DescribeAccountLimitsResult, err error)
- func (c *AutoScaling) DescribeAdjustmentTypes() (resp *DescribeAdjustmentTypesResult, err error)
- func (c *AutoScaling) DescribeAutoScalingGroups(req *AutoScalingGroupNamesType) (resp *DescribeAutoScalingGroupsResult, err error)
- func (c *AutoScaling) DescribeAutoScalingInstances(req *DescribeAutoScalingInstancesType) (resp *DescribeAutoScalingInstancesResult, err error)
- func (c *AutoScaling) DescribeAutoScalingNotificationTypes() (resp *DescribeAutoScalingNotificationTypesResult, err error)
- func (c *AutoScaling) DescribeLaunchConfigurations(req *LaunchConfigurationNamesType) (resp *DescribeLaunchConfigurationsResult, err error)
- func (c *AutoScaling) DescribeLifecycleHookTypes() (resp *DescribeLifecycleHookTypesResult, err error)
- func (c *AutoScaling) DescribeLifecycleHooks(req *DescribeLifecycleHooksType) (resp *DescribeLifecycleHooksResult, err error)
- func (c *AutoScaling) DescribeMetricCollectionTypes() (resp *DescribeMetricCollectionTypesResult, err error)
- func (c *AutoScaling) DescribeNotificationConfigurations(req *DescribeNotificationConfigurationsType) (resp *DescribeNotificationConfigurationsResult, err error)
- func (c *AutoScaling) DescribePolicies(req *DescribePoliciesType) (resp *DescribePoliciesResult, err error)
- func (c *AutoScaling) DescribeScalingActivities(req *DescribeScalingActivitiesType) (resp *DescribeScalingActivitiesResult, err error)
- func (c *AutoScaling) DescribeScalingProcessTypes() (resp *DescribeScalingProcessTypesResult, err error)
- func (c *AutoScaling) DescribeScheduledActions(req *DescribeScheduledActionsType) (resp *DescribeScheduledActionsResult, err error)
- func (c *AutoScaling) DescribeTags(req *DescribeTagsType) (resp *DescribeTagsResult, err error)
- func (c *AutoScaling) DescribeTerminationPolicyTypes() (resp *DescribeTerminationPolicyTypesResult, err error)
- func (c *AutoScaling) DetachInstances(req *DetachInstancesQuery) (resp *DetachInstancesResult, err error)
- func (c *AutoScaling) DisableMetricsCollection(req *DisableMetricsCollectionQuery) (err error)
- func (c *AutoScaling) EnableMetricsCollection(req *EnableMetricsCollectionQuery) (err error)
- func (c *AutoScaling) EnterStandby(req *EnterStandbyQuery) (resp *EnterStandbyResult, err error)
- func (c *AutoScaling) ExecutePolicy(req *ExecutePolicyType) (err error)
- func (c *AutoScaling) ExitStandby(req *ExitStandbyQuery) (resp *ExitStandbyResult, err error)
- func (c *AutoScaling) PutLifecycleHook(req *PutLifecycleHookType) (resp *PutLifecycleHookResult, err error)
- func (c *AutoScaling) PutNotificationConfiguration(req *PutNotificationConfigurationType) (err error)
- func (c *AutoScaling) PutScalingPolicy(req *PutScalingPolicyType) (resp *PutScalingPolicyResult, err error)
- func (c *AutoScaling) PutScheduledUpdateGroupAction(req *PutScheduledUpdateGroupActionType) (err error)
- func (c *AutoScaling) RecordLifecycleActionHeartbeat(req *RecordLifecycleActionHeartbeatType) (resp *RecordLifecycleActionHeartbeatResult, err error)
- func (c *AutoScaling) ResumeProcesses(req *ScalingProcessQuery) (err error)
- func (c *AutoScaling) SetDesiredCapacity(req *SetDesiredCapacityType) (err error)
- func (c *AutoScaling) SetInstanceHealth(req *SetInstanceHealthQuery) (err error)
- func (c *AutoScaling) SuspendProcesses(req *ScalingProcessQuery) (err error)
- func (c *AutoScaling) TerminateInstanceInAutoScalingGroup(req *TerminateInstanceInAutoScalingGroupType) (resp *TerminateInstanceInAutoScalingGroupResult, err error)
- func (c *AutoScaling) UpdateAutoScalingGroup(req *UpdateAutoScalingGroupType) (err error)
- type AutoScalingAPI
- type AutoScalingGroup
- type AutoScalingGroupNamesType
- type AutoScalingGroupsType
- type AutoScalingInstanceDetails
- type AutoScalingInstancesType
- type BlockDeviceMapping
- type CompleteLifecycleActionAnswer
- type CompleteLifecycleActionResult
- type CompleteLifecycleActionType
- type CreateAutoScalingGroupType
- type CreateLaunchConfigurationType
- type CreateOrUpdateTagsType
- type DeleteAutoScalingGroupType
- type DeleteLifecycleHookAnswer
- type DeleteLifecycleHookResult
- type DeleteLifecycleHookType
- type DeleteNotificationConfigurationType
- type DeletePolicyType
- type DeleteScheduledActionType
- type DeleteTagsType
- type DescribeAccountLimitsAnswer
- type DescribeAccountLimitsResult
- type DescribeAdjustmentTypesAnswer
- type DescribeAdjustmentTypesResult
- type DescribeAutoScalingGroupsResult
- type DescribeAutoScalingInstancesResult
- type DescribeAutoScalingInstancesType
- type DescribeAutoScalingNotificationTypesAnswer
- type DescribeAutoScalingNotificationTypesResult
- type DescribeLaunchConfigurationsResult
- type DescribeLifecycleHookTypesAnswer
- type DescribeLifecycleHookTypesResult
- type DescribeLifecycleHooksAnswer
- type DescribeLifecycleHooksResult
- type DescribeLifecycleHooksType
- type DescribeMetricCollectionTypesAnswer
- type DescribeMetricCollectionTypesResult
- type DescribeNotificationConfigurationsAnswer
- type DescribeNotificationConfigurationsResult
- type DescribeNotificationConfigurationsType
- type DescribePoliciesResult
- type DescribePoliciesType
- type DescribeScalingActivitiesResult
- type DescribeScalingActivitiesType
- type DescribeScalingProcessTypesResult
- type DescribeScheduledActionsResult
- type DescribeScheduledActionsType
- type DescribeTagsResult
- type DescribeTagsType
- type DescribeTerminationPolicyTypesAnswer
- type DescribeTerminationPolicyTypesResult
- type DetachInstancesAnswer
- type DetachInstancesQuery
- type DetachInstancesResult
- type DisableMetricsCollectionQuery
- type EBS
- type EnableMetricsCollectionQuery
- type EnabledMetric
- type EnterStandbyAnswer
- type EnterStandbyQuery
- type EnterStandbyResult
- type ExecutePolicyType
- type ExitStandbyAnswer
- type ExitStandbyQuery
- type ExitStandbyResult
- type Filter
- type Instance
- type InstanceMonitoring
- type LaunchConfiguration
- type LaunchConfigurationNameType
- type LaunchConfigurationNamesType
- type LaunchConfigurationsType
- type LifecycleHook
- type MetricCollectionType
- type MetricGranularityType
- type NotificationConfiguration
- type PoliciesType
- type PolicyARNType
- type ProcessType
- type ProcessesType
- type PutLifecycleHookAnswer
- type PutLifecycleHookResult
- type PutLifecycleHookType
- type PutNotificationConfigurationType
- type PutScalingPolicyResult
- type PutScalingPolicyType
- type PutScheduledUpdateGroupActionType
- type RecordLifecycleActionHeartbeatAnswer
- type RecordLifecycleActionHeartbeatResult
- type RecordLifecycleActionHeartbeatType
- type ScalingPolicy
- type ScalingProcessQuery
- type ScheduledActionsType
- type ScheduledUpdateGroupAction
- type SetDesiredCapacityType
- type SetInstanceHealthQuery
- type SuspendedProcess
- type Tag
- type TagDescription
- type TagsType
- type TerminateInstanceInAutoScalingGroupResult
- type TerminateInstanceInAutoScalingGroupType
- type UpdateAutoScalingGroupType
Constants ¶
const ( LifecycleStateDetached = "Detached" LifecycleStateDetaching = "Detaching" LifecycleStateEnteringStandby = "EnteringStandby" LifecycleStateInService = "InService" LifecycleStatePending = "Pending" LifecycleStatePendingProceed = "Pending:Proceed" LifecycleStatePendingWait = "Pending:Wait" LifecycleStateQuarantined = "Quarantined" LifecycleStateStandby = "Standby" LifecycleStateTerminated = "Terminated" LifecycleStateTerminating = "Terminating" LifecycleStateTerminatingProceed = "Terminating:Proceed" LifecycleStateTerminatingWait = "Terminating:Wait" )
Possible values for AutoScaling.
const ( ScalingActivityStatusCodeCancelled = "Cancelled" ScalingActivityStatusCodeFailed = "Failed" ScalingActivityStatusCodeInProgress = "InProgress" ScalingActivityStatusCodeMidLifecycleAction = "MidLifecycleAction" ScalingActivityStatusCodePreInService = "PreInService" ScalingActivityStatusCodeSuccessful = "Successful" ScalingActivityStatusCodeWaitingForElbconnectionDraining = "WaitingForELBConnectionDraining" ScalingActivityStatusCodeWaitingForInstanceID = "WaitingForInstanceId" ScalingActivityStatusCodeWaitingForSpotInstanceID = "WaitingForSpotInstanceId" ScalingActivityStatusCodeWaitingForSpotInstanceRequestID = "WaitingForSpotInstanceRequestId" )
Possible values for AutoScaling.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivitiesType ¶
type ActivitiesType struct { Activities []Activity `query:"Activities.member" xml:"DescribeScalingActivitiesResult>Activities>member"` NextToken aws.StringValue `query:"NextToken" xml:"DescribeScalingActivitiesResult>NextToken"` }
ActivitiesType is undocumented.
type Activity ¶
type Activity struct { ActivityID aws.StringValue `query:"ActivityId" xml:"ActivityId"` AutoScalingGroupName aws.StringValue `query:"AutoScalingGroupName" xml:"AutoScalingGroupName"` Cause aws.StringValue `query:"Cause" xml:"Cause"` Description aws.StringValue `query:"Description" xml:"Description"` Details aws.StringValue `query:"Details" xml:"Details"` EndTime time.Time `query:"EndTime" xml:"EndTime"` Progress aws.IntegerValue `query:"Progress" xml:"Progress"` StartTime time.Time `query:"StartTime" xml:"StartTime"` StatusCode aws.StringValue `query:"StatusCode" xml:"StatusCode"` StatusMessage aws.StringValue `query:"StatusMessage" xml:"StatusMessage"` }
Activity is undocumented.
type ActivityType ¶
type ActivityType struct {
Activity *Activity `query:"Activity" xml:"TerminateInstanceInAutoScalingGroupResult>Activity"`
}
ActivityType is undocumented.
type AdjustmentType ¶
type AdjustmentType struct {
AdjustmentType aws.StringValue `query:"AdjustmentType" xml:"AdjustmentType"`
}
AdjustmentType is undocumented.
type Alarm ¶
type Alarm struct { AlarmARN aws.StringValue `query:"AlarmARN" xml:"AlarmARN"` AlarmName aws.StringValue `query:"AlarmName" xml:"AlarmName"` }
Alarm is undocumented.
type AttachInstancesQuery ¶
type AttachInstancesQuery struct { AutoScalingGroupName aws.StringValue `query:"AutoScalingGroupName" xml:"AutoScalingGroupName"` InstanceIDs []string `query:"InstanceIds.member" xml:"InstanceIds>member"` }
AttachInstancesQuery is undocumented.
type AutoScaling ¶
type AutoScaling struct {
// contains filtered or unexported fields
}
AutoScaling is a client for Auto Scaling.
func New ¶
func New(creds aws.CredentialsProvider, region string, client *http.Client) *AutoScaling
New returns a new AutoScaling client.
func (*AutoScaling) AttachInstances ¶
func (c *AutoScaling) AttachInstances(req *AttachInstancesQuery) (err error)
AttachInstances attaches one or more EC2 instances to the specified Auto Scaling group. For more information, see Attach Amazon EC2 Instances to Your Existing Auto Scaling Group in the Auto Scaling Developer Guide
func (*AutoScaling) CompleteLifecycleAction ¶
func (c *AutoScaling) CompleteLifecycleAction(req *CompleteLifecycleActionType) (resp *CompleteLifecycleActionResult, err error)
CompleteLifecycleAction completes the lifecycle action for the associated token initiated under the given lifecycle hook with the specified result. This operation is a part of the basic sequence for adding a lifecycle hook to an Auto Scaling group: Create a notification target. A target can be either an Amazon SQS queue or an Amazon SNS topic. Create an IAM role. This role allows Auto Scaling to publish lifecycle notifications to the designated SQS queue or SNS topic. Create the lifecycle hook. You can create a hook that acts when instances launch or when instances terminate. If necessary, record the lifecycle action heartbeat to keep the instance in a pending state. Complete the lifecycle action For more information, see Auto Scaling Pending State and Auto Scaling Terminating State in the Auto Scaling Developer Guide
func (*AutoScaling) CreateAutoScalingGroup ¶
func (c *AutoScaling) CreateAutoScalingGroup(req *CreateAutoScalingGroupType) (err error)
CreateAutoScalingGroup creates an Auto Scaling group with the specified name and attributes. If you exceed your maximum limit of Auto Scaling groups, which by default is 20 per region, the call fails. For information about viewing and updating these limits, see DescribeAccountLimits
func (*AutoScaling) CreateLaunchConfiguration ¶
func (c *AutoScaling) CreateLaunchConfiguration(req *CreateLaunchConfigurationType) (err error)
CreateLaunchConfiguration creates a launch configuration. If you exceed your maximum limit of launch configurations, which by default is 100 per region, the call fails. For information about viewing and updating these limits, see DescribeAccountLimits
func (*AutoScaling) CreateOrUpdateTags ¶
func (c *AutoScaling) CreateOrUpdateTags(req *CreateOrUpdateTagsType) (err error)
CreateOrUpdateTags creates or updates tags for the specified Auto Scaling group. A tag's definition is composed of a resource ID, resource type, key and value, and the propagate flag. Value and the propagate flag are optional parameters. See the Request Parameters for more information. For more information, see Add, Modify, or Remove Auto Scaling Group Tags in the Auto Scaling Developer Guide
func (*AutoScaling) DeleteAutoScalingGroup ¶
func (c *AutoScaling) DeleteAutoScalingGroup(req *DeleteAutoScalingGroupType) (err error)
DeleteAutoScalingGroup deletes the specified Auto Scaling group. The group must have no instances and no scaling activities in progress. To remove all instances before calling DeleteAutoScalingGroup , you can call UpdateAutoScalingGroup to set the minimum and maximum size of the AutoScalingGroup to zero.
func (*AutoScaling) DeleteLaunchConfiguration ¶
func (c *AutoScaling) DeleteLaunchConfiguration(req *LaunchConfigurationNameType) (err error)
DeleteLaunchConfiguration 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 (*AutoScaling) DeleteLifecycleHook ¶
func (c *AutoScaling) DeleteLifecycleHook(req *DeleteLifecycleHookType) (resp *DeleteLifecycleHookResult, err error)
DeleteLifecycleHook deletes the specified lifecycle hook. If there are any outstanding lifecycle actions, they are completed first for launching instances, for terminating instances).
func (*AutoScaling) DeleteNotificationConfiguration ¶
func (c *AutoScaling) DeleteNotificationConfiguration(req *DeleteNotificationConfigurationType) (err error)
DeleteNotificationConfiguration is undocumented.
func (*AutoScaling) DeletePolicy ¶
func (c *AutoScaling) DeletePolicy(req *DeletePolicyType) (err error)
DeletePolicy is undocumented.
func (*AutoScaling) DeleteScheduledAction ¶
func (c *AutoScaling) DeleteScheduledAction(req *DeleteScheduledActionType) (err error)
DeleteScheduledAction is undocumented.
func (*AutoScaling) DeleteTags ¶
func (c *AutoScaling) DeleteTags(req *DeleteTagsType) (err error)
DeleteTags is undocumented.
func (*AutoScaling) DescribeAccountLimits ¶
func (c *AutoScaling) DescribeAccountLimits() (resp *DescribeAccountLimitsResult, err error)
DescribeAccountLimits describes the current Auto Scaling resource limits for your AWS account. For information about requesting an increase in these limits, see AWS Service Limits
func (*AutoScaling) DescribeAdjustmentTypes ¶
func (c *AutoScaling) DescribeAdjustmentTypes() (resp *DescribeAdjustmentTypesResult, err error)
DescribeAdjustmentTypes lists the policy adjustment types for use with PutScalingPolicy
func (*AutoScaling) DescribeAutoScalingGroups ¶
func (c *AutoScaling) DescribeAutoScalingGroups(req *AutoScalingGroupNamesType) (resp *DescribeAutoScalingGroupsResult, err error)
DescribeAutoScalingGroups describes one or more Auto Scaling groups. If a list of names is not provided, the call describes all Auto Scaling groups. You can specify a maximum number of items to be returned with a single call. If there are more items to return, the call returns a token. To get the next set of items, repeat the call with the returned token in the NextToken parameter.
func (*AutoScaling) DescribeAutoScalingInstances ¶
func (c *AutoScaling) DescribeAutoScalingInstances(req *DescribeAutoScalingInstancesType) (resp *DescribeAutoScalingInstancesResult, err error)
DescribeAutoScalingInstances describes one or more Auto Scaling instances. If a list is not provided, the call describes all instances. You can describe up to a maximum of 50 instances with a single call. By default, a call returns up to 20 instances. If there are more items to return, the call returns a token. To get the next set of items, repeat the call with the returned token in the NextToken parameter.
func (*AutoScaling) DescribeAutoScalingNotificationTypes ¶
func (c *AutoScaling) DescribeAutoScalingNotificationTypes() (resp *DescribeAutoScalingNotificationTypesResult, err error)
DescribeAutoScalingNotificationTypes lists the notification types that are supported by Auto Scaling.
func (*AutoScaling) DescribeLaunchConfigurations ¶
func (c *AutoScaling) DescribeLaunchConfigurations(req *LaunchConfigurationNamesType) (resp *DescribeLaunchConfigurationsResult, err error)
DescribeLaunchConfigurations describes one or more launch configurations. If you omit the list of names, then the call describes all launch configurations. You can specify a maximum number of items to be returned with a single call. If there are more items to return, the call returns a token. To get the next set of items, repeat the call with the returned token in the NextToken parameter.
func (*AutoScaling) DescribeLifecycleHookTypes ¶
func (c *AutoScaling) DescribeLifecycleHookTypes() (resp *DescribeLifecycleHookTypesResult, err error)
DescribeLifecycleHookTypes is undocumented.
func (*AutoScaling) DescribeLifecycleHooks ¶
func (c *AutoScaling) DescribeLifecycleHooks(req *DescribeLifecycleHooksType) (resp *DescribeLifecycleHooksResult, err error)
DescribeLifecycleHooks describes the lifecycle hooks for the specified Auto Scaling group.
func (*AutoScaling) DescribeMetricCollectionTypes ¶
func (c *AutoScaling) DescribeMetricCollectionTypes() (resp *DescribeMetricCollectionTypesResult, err error)
DescribeMetricCollectionTypes returns a list of metrics and a corresponding list of granularities for each metric. The GroupStandbyInstances metric is not returned by default. You must explicitly request it when calling EnableMetricsCollection
func (*AutoScaling) DescribeNotificationConfigurations ¶
func (c *AutoScaling) DescribeNotificationConfigurations(req *DescribeNotificationConfigurationsType) (resp *DescribeNotificationConfigurationsResult, err error)
DescribeNotificationConfigurations describes the notification actions associated with the specified Auto Scaling group.
func (*AutoScaling) DescribePolicies ¶
func (c *AutoScaling) DescribePolicies(req *DescribePoliciesType) (resp *DescribePoliciesResult, err error)
DescribePolicies describes the policies for the specified Auto Scaling group. You can specify a maximum number of items to be returned with a single call. If there are more items to return, the call returns a token. To get the next set of items, repeat the call with the returned token in the NextToken parameter.
func (*AutoScaling) DescribeScalingActivities ¶
func (c *AutoScaling) DescribeScalingActivities(req *DescribeScalingActivitiesType) (resp *DescribeScalingActivitiesResult, err error)
DescribeScalingActivities describes one or more scaling activities for the specified Auto Scaling group. If you omit the ActivityIds , the call returns all activities from the past six weeks. Activities are sorted by the start time. Activities still in progress appear first on the list. You can specify a maximum number of items to be returned with a single call. If there are more items to return, the call returns a token. To get the next set of items, repeat the call with the returned token in the NextToken parameter.
func (*AutoScaling) DescribeScalingProcessTypes ¶
func (c *AutoScaling) DescribeScalingProcessTypes() (resp *DescribeScalingProcessTypesResult, err error)
DescribeScalingProcessTypes returns scaling process types for use in the ResumeProcesses and SuspendProcesses actions.
func (*AutoScaling) DescribeScheduledActions ¶
func (c *AutoScaling) DescribeScheduledActions(req *DescribeScheduledActionsType) (resp *DescribeScheduledActionsResult, err error)
DescribeScheduledActions lists the actions scheduled for your Auto Scaling group that haven't been executed. To list the actions that were already executed, use DescribeScalingActivities
func (*AutoScaling) DescribeTags ¶
func (c *AutoScaling) DescribeTags(req *DescribeTagsType) (resp *DescribeTagsResult, err error)
DescribeTags 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.
func (*AutoScaling) DescribeTerminationPolicyTypes ¶
func (c *AutoScaling) DescribeTerminationPolicyTypes() (resp *DescribeTerminationPolicyTypesResult, err error)
DescribeTerminationPolicyTypes lists the termination policies supported by Auto Scaling.
func (*AutoScaling) DetachInstances ¶
func (c *AutoScaling) DetachInstances(req *DetachInstancesQuery) (resp *DetachInstancesResult, err error)
DetachInstances removes one or more instances from the specified Auto Scaling group. After the instances are detached, you can manage them independently from the rest of the Auto Scaling group. For more information, see Detach EC2 Instances from Your Auto Scaling Group in the Auto Scaling Developer Guide
func (*AutoScaling) DisableMetricsCollection ¶
func (c *AutoScaling) DisableMetricsCollection(req *DisableMetricsCollectionQuery) (err error)
DisableMetricsCollection disables monitoring of the specified metrics for the specified Auto Scaling group.
func (*AutoScaling) EnableMetricsCollection ¶
func (c *AutoScaling) EnableMetricsCollection(req *EnableMetricsCollectionQuery) (err error)
EnableMetricsCollection enables monitoring of the specified metrics for the specified Auto Scaling group. You can only enable metrics collection if InstanceMonitoring in the launch configuration for the group is set to True
func (*AutoScaling) EnterStandby ¶
func (c *AutoScaling) EnterStandby(req *EnterStandbyQuery) (resp *EnterStandbyResult, err error)
EnterStandby moves the specified instances into Standby mode. For more information, see Auto Scaling InService State in the Auto Scaling Developer Guide
func (*AutoScaling) ExecutePolicy ¶
func (c *AutoScaling) ExecutePolicy(req *ExecutePolicyType) (err error)
ExecutePolicy is undocumented.
func (*AutoScaling) ExitStandby ¶
func (c *AutoScaling) ExitStandby(req *ExitStandbyQuery) (resp *ExitStandbyResult, err error)
ExitStandby moves the specified instances out of Standby mode. For more information, see Auto Scaling InService State in the Auto Scaling Developer Guide
func (*AutoScaling) PutLifecycleHook ¶
func (c *AutoScaling) PutLifecycleHook(req *PutLifecycleHookType) (resp *PutLifecycleHookResult, err error)
PutLifecycleHook creates or updates a lifecycle hook for the specified Auto Scaling Group. A lifecycle hook tells Auto Scaling that you want to perform an action on an instance that is not actively in service; for example, either when the instance launches or before the instance terminates. This operation is a part of the basic sequence for adding a lifecycle hook to an Auto Scaling group: Create a notification target. A target can be either an Amazon SQS queue or an Amazon SNS topic. Create an IAM role. This role allows Auto Scaling to publish lifecycle notifications to the designated SQS queue or SNS topic. Create the lifecycle hook. You can create a hook that acts when instances launch or when instances terminate. If necessary, record the lifecycle action heartbeat to keep the instance in a pending state. Complete the lifecycle action. For more information, see Auto Scaling Pending State and Auto Scaling Terminating State in the Auto Scaling Developer Guide
func (*AutoScaling) PutNotificationConfiguration ¶
func (c *AutoScaling) PutNotificationConfiguration(req *PutNotificationConfigurationType) (err error)
PutNotificationConfiguration configures an Auto Scaling group to send notifications when specified events take place. Subscribers to this topic can have messages for events delivered to an endpoint such as a web server or email address. For more information see Getting Notifications When Your Auto Scaling Group Changes in the Auto Scaling Developer Guide This configuration overwrites an existing configuration.
func (*AutoScaling) PutScalingPolicy ¶
func (c *AutoScaling) PutScalingPolicy(req *PutScalingPolicyType) (resp *PutScalingPolicyResult, err error)
PutScalingPolicy creates or updates a policy for an Auto Scaling group. To update an existing policy, use the existing policy name and set the parameters you want to change. Any existing parameter not changed in an update to an existing policy is not changed in this update request.
func (*AutoScaling) PutScheduledUpdateGroupAction ¶
func (c *AutoScaling) PutScheduledUpdateGroupAction(req *PutScheduledUpdateGroupActionType) (err error)
PutScheduledUpdateGroupAction creates or updates a scheduled scaling action for an Auto Scaling group. When updating a scheduled scaling action, if you leave a parameter unspecified, the corresponding value remains unchanged in the affected Auto Scaling group. For more information, see Scheduled Scaling in the Auto Scaling Developer Guide Auto Scaling supports the date and time expressed in "YYYY-MM-DDThh:mm:ssZ" format in only.
func (*AutoScaling) RecordLifecycleActionHeartbeat ¶
func (c *AutoScaling) RecordLifecycleActionHeartbeat(req *RecordLifecycleActionHeartbeatType) (resp *RecordLifecycleActionHeartbeatResult, err error)
RecordLifecycleActionHeartbeat records a heartbeat for the lifecycle action associated with a specific token. This extends the timeout by the length of time defined by the HeartbeatTimeout parameter of PutLifecycleHook This operation is a part of the basic sequence for adding a lifecycle hook to an Auto Scaling group: Create a notification target. A target can be either an Amazon SQS queue or an Amazon SNS topic. Create an IAM role. This role allows Auto Scaling to publish lifecycle notifications to the designated SQS queue or SNS topic. Create the lifecycle hook. You can create a hook that acts when instances launch or when instances terminate. If necessary, record the lifecycle action heartbeat to keep the instance in a pending state. Complete the lifecycle action. For more information, see Auto Scaling Pending State and Auto Scaling Terminating State in the Auto Scaling Developer Guide
func (*AutoScaling) ResumeProcesses ¶
func (c *AutoScaling) ResumeProcesses(req *ScalingProcessQuery) (err error)
ResumeProcesses resumes the specified suspended Auto Scaling processes for the specified Auto Scaling group. To resume specific processes, use the ScalingProcesses parameter. To resume all processes, omit the ScalingProcesses parameter. For more information, see Suspend and Resume Auto Scaling Processes in the Auto Scaling Developer Guide
func (*AutoScaling) SetDesiredCapacity ¶
func (c *AutoScaling) SetDesiredCapacity(req *SetDesiredCapacityType) (err error)
SetDesiredCapacity is undocumented.
func (*AutoScaling) SetInstanceHealth ¶
func (c *AutoScaling) SetInstanceHealth(req *SetInstanceHealthQuery) (err error)
SetInstanceHealth sets the health status of the specified instance. For more information, see Health Checks in the Auto Scaling Developer Guide
func (*AutoScaling) SuspendProcesses ¶
func (c *AutoScaling) SuspendProcesses(req *ScalingProcessQuery) (err error)
SuspendProcesses suspends the specified Auto Scaling processes for the specified Auto Scaling group. To suspend specific processes, use the ScalingProcesses parameter. To suspend all processes, omit the ScalingProcesses parameter. Note that if you suspend either the Launch or Terminate process types, it can prevent other process types from functioning properly. To resume processes that have been suspended, use ResumeProcesses For more information, see Suspend and Resume Auto Scaling Processes in the Auto Scaling Developer Guide
func (*AutoScaling) TerminateInstanceInAutoScalingGroup ¶
func (c *AutoScaling) TerminateInstanceInAutoScalingGroup(req *TerminateInstanceInAutoScalingGroupType) (resp *TerminateInstanceInAutoScalingGroupResult, err error)
TerminateInstanceInAutoScalingGroup terminates the specified instance and optionally adjusts the desired group size. This call simply makes a termination request. The instances is not terminated immediately.
func (*AutoScaling) UpdateAutoScalingGroup ¶
func (c *AutoScaling) UpdateAutoScalingGroup(req *UpdateAutoScalingGroupType) (err error)
UpdateAutoScalingGroup updates the configuration for the specified AutoScalingGroup . To update an Auto Scaling group with a launch configuration that has the InstanceMonitoring flag set to False , you must first ensure that collection of group metrics is disabled. Otherwise, calls to UpdateAutoScalingGroup will fail. If you have previously enabled group metrics collection, you can disable collection of all group metrics by calling DisableMetricsCollection . The new settings are registered upon the completion of this call. Any launch configuration settings take effect on any triggers after this call returns. Scaling activities that are currently in progress aren't affected. If a new value is specified for MinSize without specifying the value for DesiredCapacity , and if the new MinSize is larger than the current size of the Auto Scaling group, there will be an implicit call to SetDesiredCapacity to set the group to the new MinSize . If a new value is specified for MaxSize without specifying the value for DesiredCapacity , and the new MaxSize is smaller than the current size of the Auto Scaling group, there will be an implicit call to SetDesiredCapacity to set the group to the new MaxSize . All other optional parameters are left unchanged if not passed in the request.
type AutoScalingAPI ¶
type AutoScalingAPI interface { AttachInstances(req *AttachInstancesQuery) (err error) CompleteLifecycleAction(req *CompleteLifecycleActionType) (resp *CompleteLifecycleActionAnswer, err error) CreateAutoScalingGroup(req *CreateAutoScalingGroupType) (err error) CreateLaunchConfiguration(req *CreateLaunchConfigurationType) (err error) CreateOrUpdateTags(req *CreateOrUpdateTagsType) (err error) DeleteAutoScalingGroup(req *DeleteAutoScalingGroupType) (err error) DeleteLaunchConfiguration(req *LaunchConfigurationNameType) (err error) DeleteLifecycleHook(req *DeleteLifecycleHookType) (resp *DeleteLifecycleHookAnswer, err error) DeleteNotificationConfiguration(req *DeleteNotificationConfigurationType) (err error) DeletePolicy(req *DeletePolicyType) (err error) DeleteScheduledAction(req *DeleteScheduledActionType) (err error) DeleteTags(req *DeleteTagsType) (err error) DescribeAccountLimits() (resp *DescribeAccountLimitsAnswer, err error) DescribeAdjustmentTypes() (resp *DescribeAdjustmentTypesAnswer, err error) DescribeAutoScalingGroups(req *AutoScalingGroupNamesType) (resp *AutoScalingGroupsType, err error) DescribeAutoScalingInstances(req *DescribeAutoScalingInstancesType) (resp *AutoScalingInstancesType, err error) DescribeAutoScalingNotificationTypes() (resp *DescribeAutoScalingNotificationTypesAnswer, err error) DescribeLaunchConfigurations(req *LaunchConfigurationNamesType) (resp *LaunchConfigurationsType, err error) DescribeLifecycleHookTypes() (resp *DescribeLifecycleHookTypesAnswer, err error) DescribeLifecycleHooks(req *DescribeLifecycleHooksType) (resp *DescribeLifecycleHooksAnswer, err error) DescribeMetricCollectionTypes() (resp *DescribeMetricCollectionTypesAnswer, err error) DescribeNotificationConfigurations(req *DescribeNotificationConfigurationsType) (resp *DescribeNotificationConfigurationsAnswer, err error) DescribePolicies(req *DescribePoliciesType) (resp *PoliciesType, err error) DescribeScalingActivities(req *DescribeScalingActivitiesType) (resp *ActivitiesType, err error) DescribeScalingProcessTypes() (resp *ProcessesType, err error) DescribeScheduledActions(req *DescribeScheduledActionsType) (resp *ScheduledActionsType, err error) DescribeTags(req *DescribeTagsType) (resp *TagsType, err error) DescribeTerminationPolicyTypes() (resp *DescribeTerminationPolicyTypesAnswer, err error) DetachInstances(req *DetachInstancesQuery) (resp *DetachInstancesAnswer, err error) DisableMetricsCollection(req *DisableMetricsCollectionQuery) (err error) EnableMetricsCollection(req *EnableMetricsCollectionQuery) (err error) EnterStandby(req *EnterStandbyQuery) (resp *EnterStandbyAnswer, err error) ExecutePolicy(req *ExecutePolicyType) (err error) ExitStandby(req *ExitStandbyQuery) (resp *ExitStandbyAnswer, err error) PutLifecycleHook(req *PutLifecycleHookType) (resp *PutLifecycleHookAnswer, err error) PutNotificationConfiguration(req *PutNotificationConfigurationType) (err error) PutScalingPolicy(req *PutScalingPolicyType) (resp *PolicyARNType, err error) PutScheduledUpdateGroupAction(req *PutScheduledUpdateGroupActionType) (err error) RecordLifecycleActionHeartbeat(req *RecordLifecycleActionHeartbeatType) (resp *RecordLifecycleActionHeartbeatAnswer, err error) ResumeProcesses(req *ScalingProcessQuery) (err error) SetDesiredCapacity(req *SetDesiredCapacityType) (err error) SetInstanceHealth(req *SetInstanceHealthQuery) (err error) SuspendProcesses(req *ScalingProcessQuery) (err error) TerminateInstanceInAutoScalingGroup(req *TerminateInstanceInAutoScalingGroupType) (resp *ActivityType, err error) UpdateAutoScalingGroup(req *UpdateAutoScalingGroupType) (err error) }
type AutoScalingGroup ¶
type AutoScalingGroup struct { AutoScalingGroupARN aws.StringValue `query:"AutoScalingGroupARN" xml:"AutoScalingGroupARN"` AutoScalingGroupName aws.StringValue `query:"AutoScalingGroupName" xml:"AutoScalingGroupName"` AvailabilityZones []string `query:"AvailabilityZones.member" xml:"AvailabilityZones>member"` CreatedTime time.Time `query:"CreatedTime" xml:"CreatedTime"` DefaultCooldown aws.IntegerValue `query:"DefaultCooldown" xml:"DefaultCooldown"` DesiredCapacity aws.IntegerValue `query:"DesiredCapacity" xml:"DesiredCapacity"` EnabledMetrics []EnabledMetric `query:"EnabledMetrics.member" xml:"EnabledMetrics>member"` HealthCheckGracePeriod aws.IntegerValue `query:"HealthCheckGracePeriod" xml:"HealthCheckGracePeriod"` HealthCheckType aws.StringValue `query:"HealthCheckType" xml:"HealthCheckType"` Instances []Instance `query:"Instances.member" xml:"Instances>member"` LaunchConfigurationName aws.StringValue `query:"LaunchConfigurationName" xml:"LaunchConfigurationName"` LoadBalancerNames []string `query:"LoadBalancerNames.member" xml:"LoadBalancerNames>member"` MaxSize aws.IntegerValue `query:"MaxSize" xml:"MaxSize"` MinSize aws.IntegerValue `query:"MinSize" xml:"MinSize"` PlacementGroup aws.StringValue `query:"PlacementGroup" xml:"PlacementGroup"` Status aws.StringValue `query:"Status" xml:"Status"` SuspendedProcesses []SuspendedProcess `query:"SuspendedProcesses.member" xml:"SuspendedProcesses>member"` Tags []TagDescription `query:"Tags.member" xml:"Tags>member"` TerminationPolicies []string `query:"TerminationPolicies.member" xml:"TerminationPolicies>member"` VPCZoneIdentifier aws.StringValue `query:"VPCZoneIdentifier" xml:"VPCZoneIdentifier"` }
AutoScalingGroup is undocumented.
type AutoScalingGroupNamesType ¶
type AutoScalingGroupNamesType struct { AutoScalingGroupNames []string `query:"AutoScalingGroupNames.member" xml:"AutoScalingGroupNames>member"` MaxRecords aws.IntegerValue `query:"MaxRecords" xml:"MaxRecords"` NextToken aws.StringValue `query:"NextToken" xml:"NextToken"` }
AutoScalingGroupNamesType is undocumented.
type AutoScalingGroupsType ¶
type AutoScalingGroupsType struct { AutoScalingGroups []AutoScalingGroup `query:"AutoScalingGroups.member" xml:"DescribeAutoScalingGroupsResult>AutoScalingGroups>member"` NextToken aws.StringValue `query:"NextToken" xml:"DescribeAutoScalingGroupsResult>NextToken"` }
AutoScalingGroupsType is undocumented.
type AutoScalingInstanceDetails ¶
type AutoScalingInstanceDetails struct { AutoScalingGroupName aws.StringValue `query:"AutoScalingGroupName" xml:"AutoScalingGroupName"` AvailabilityZone aws.StringValue `query:"AvailabilityZone" xml:"AvailabilityZone"` HealthStatus aws.StringValue `query:"HealthStatus" xml:"HealthStatus"` InstanceID aws.StringValue `query:"InstanceId" xml:"InstanceId"` LaunchConfigurationName aws.StringValue `query:"LaunchConfigurationName" xml:"LaunchConfigurationName"` LifecycleState aws.StringValue `query:"LifecycleState" xml:"LifecycleState"` }
AutoScalingInstanceDetails is undocumented.
type AutoScalingInstancesType ¶
type AutoScalingInstancesType struct { AutoScalingInstances []AutoScalingInstanceDetails `query:"AutoScalingInstances.member" xml:"DescribeAutoScalingInstancesResult>AutoScalingInstances>member"` NextToken aws.StringValue `query:"NextToken" xml:"DescribeAutoScalingInstancesResult>NextToken"` }
AutoScalingInstancesType is undocumented.
type BlockDeviceMapping ¶
type BlockDeviceMapping struct { DeviceName aws.StringValue `query:"DeviceName" xml:"DeviceName"` EBS *EBS `query:"Ebs" xml:"Ebs"` NoDevice aws.BooleanValue `query:"NoDevice" xml:"NoDevice"` VirtualName aws.StringValue `query:"VirtualName" xml:"VirtualName"` }
BlockDeviceMapping is undocumented.
type CompleteLifecycleActionAnswer ¶
type CompleteLifecycleActionAnswer struct { }
CompleteLifecycleActionAnswer is undocumented.
type CompleteLifecycleActionResult ¶
type CompleteLifecycleActionResult struct { }
CompleteLifecycleActionResult is a wrapper for CompleteLifecycleActionAnswer.
type CompleteLifecycleActionType ¶
type CompleteLifecycleActionType struct { AutoScalingGroupName aws.StringValue `query:"AutoScalingGroupName" xml:"AutoScalingGroupName"` LifecycleActionResult aws.StringValue `query:"LifecycleActionResult" xml:"LifecycleActionResult"` LifecycleActionToken aws.StringValue `query:"LifecycleActionToken" xml:"LifecycleActionToken"` LifecycleHookName aws.StringValue `query:"LifecycleHookName" xml:"LifecycleHookName"` }
CompleteLifecycleActionType is undocumented.
type CreateAutoScalingGroupType ¶
type CreateAutoScalingGroupType struct { AutoScalingGroupName aws.StringValue `query:"AutoScalingGroupName" xml:"AutoScalingGroupName"` AvailabilityZones []string `query:"AvailabilityZones.member" xml:"AvailabilityZones>member"` DefaultCooldown aws.IntegerValue `query:"DefaultCooldown" xml:"DefaultCooldown"` DesiredCapacity aws.IntegerValue `query:"DesiredCapacity" xml:"DesiredCapacity"` HealthCheckGracePeriod aws.IntegerValue `query:"HealthCheckGracePeriod" xml:"HealthCheckGracePeriod"` HealthCheckType aws.StringValue `query:"HealthCheckType" xml:"HealthCheckType"` InstanceID aws.StringValue `query:"InstanceId" xml:"InstanceId"` LaunchConfigurationName aws.StringValue `query:"LaunchConfigurationName" xml:"LaunchConfigurationName"` LoadBalancerNames []string `query:"LoadBalancerNames.member" xml:"LoadBalancerNames>member"` MaxSize aws.IntegerValue `query:"MaxSize" xml:"MaxSize"` MinSize aws.IntegerValue `query:"MinSize" xml:"MinSize"` PlacementGroup aws.StringValue `query:"PlacementGroup" xml:"PlacementGroup"` Tags []Tag `query:"Tags.member" xml:"Tags>member"` TerminationPolicies []string `query:"TerminationPolicies.member" xml:"TerminationPolicies>member"` VPCZoneIdentifier aws.StringValue `query:"VPCZoneIdentifier" xml:"VPCZoneIdentifier"` }
CreateAutoScalingGroupType is undocumented.
type CreateLaunchConfigurationType ¶
type CreateLaunchConfigurationType struct { AssociatePublicIPAddress aws.BooleanValue `query:"AssociatePublicIpAddress" xml:"AssociatePublicIpAddress"` BlockDeviceMappings []BlockDeviceMapping `query:"BlockDeviceMappings.member" xml:"BlockDeviceMappings>member"` ClassicLinkVPCID aws.StringValue `query:"ClassicLinkVPCId" xml:"ClassicLinkVPCId"` ClassicLinkVPCSecurityGroups []string `query:"ClassicLinkVPCSecurityGroups.member" xml:"ClassicLinkVPCSecurityGroups>member"` EBSOptimized aws.BooleanValue `query:"EbsOptimized" xml:"EbsOptimized"` IAMInstanceProfile aws.StringValue `query:"IamInstanceProfile" xml:"IamInstanceProfile"` ImageID aws.StringValue `query:"ImageId" xml:"ImageId"` InstanceID aws.StringValue `query:"InstanceId" xml:"InstanceId"` InstanceMonitoring *InstanceMonitoring `query:"InstanceMonitoring" xml:"InstanceMonitoring"` InstanceType aws.StringValue `query:"InstanceType" xml:"InstanceType"` KernelID aws.StringValue `query:"KernelId" xml:"KernelId"` KeyName aws.StringValue `query:"KeyName" xml:"KeyName"` LaunchConfigurationName aws.StringValue `query:"LaunchConfigurationName" xml:"LaunchConfigurationName"` PlacementTenancy aws.StringValue `query:"PlacementTenancy" xml:"PlacementTenancy"` RAMDiskID aws.StringValue `query:"RamdiskId" xml:"RamdiskId"` SecurityGroups []string `query:"SecurityGroups.member" xml:"SecurityGroups>member"` SpotPrice aws.StringValue `query:"SpotPrice" xml:"SpotPrice"` UserData aws.StringValue `query:"UserData" xml:"UserData"` }
CreateLaunchConfigurationType is undocumented.
type CreateOrUpdateTagsType ¶
type CreateOrUpdateTagsType struct {
Tags []Tag `query:"Tags.member" xml:"Tags>member"`
}
CreateOrUpdateTagsType is undocumented.
type DeleteAutoScalingGroupType ¶
type DeleteAutoScalingGroupType struct { AutoScalingGroupName aws.StringValue `query:"AutoScalingGroupName" xml:"AutoScalingGroupName"` ForceDelete aws.BooleanValue `query:"ForceDelete" xml:"ForceDelete"` }
DeleteAutoScalingGroupType is undocumented.
type DeleteLifecycleHookAnswer ¶
type DeleteLifecycleHookAnswer struct { }
DeleteLifecycleHookAnswer is undocumented.
type DeleteLifecycleHookResult ¶
type DeleteLifecycleHookResult struct { }
DeleteLifecycleHookResult is a wrapper for DeleteLifecycleHookAnswer.
type DeleteLifecycleHookType ¶
type DeleteLifecycleHookType struct { AutoScalingGroupName aws.StringValue `query:"AutoScalingGroupName" xml:"AutoScalingGroupName"` LifecycleHookName aws.StringValue `query:"LifecycleHookName" xml:"LifecycleHookName"` }
DeleteLifecycleHookType is undocumented.
type DeleteNotificationConfigurationType ¶
type DeleteNotificationConfigurationType struct { AutoScalingGroupName aws.StringValue `query:"AutoScalingGroupName" xml:"AutoScalingGroupName"` TopicARN aws.StringValue `query:"TopicARN" xml:"TopicARN"` }
DeleteNotificationConfigurationType is undocumented.
type DeletePolicyType ¶
type DeletePolicyType struct { AutoScalingGroupName aws.StringValue `query:"AutoScalingGroupName" xml:"AutoScalingGroupName"` PolicyName aws.StringValue `query:"PolicyName" xml:"PolicyName"` }
DeletePolicyType is undocumented.
type DeleteScheduledActionType ¶
type DeleteScheduledActionType struct { AutoScalingGroupName aws.StringValue `query:"AutoScalingGroupName" xml:"AutoScalingGroupName"` ScheduledActionName aws.StringValue `query:"ScheduledActionName" xml:"ScheduledActionName"` }
DeleteScheduledActionType is undocumented.
type DeleteTagsType ¶
type DeleteTagsType struct {
Tags []Tag `query:"Tags.member" xml:"Tags>member"`
}
DeleteTagsType is undocumented.
type DescribeAccountLimitsAnswer ¶
type DescribeAccountLimitsAnswer struct { MaxNumberOfAutoScalingGroups aws.IntegerValue `query:"MaxNumberOfAutoScalingGroups" xml:"DescribeAccountLimitsResult>MaxNumberOfAutoScalingGroups"` MaxNumberOfLaunchConfigurations aws.IntegerValue `query:"MaxNumberOfLaunchConfigurations" xml:"DescribeAccountLimitsResult>MaxNumberOfLaunchConfigurations"` }
DescribeAccountLimitsAnswer is undocumented.
type DescribeAccountLimitsResult ¶
type DescribeAccountLimitsResult struct { MaxNumberOfAutoScalingGroups aws.IntegerValue `query:"MaxNumberOfAutoScalingGroups" xml:"DescribeAccountLimitsResult>MaxNumberOfAutoScalingGroups"` MaxNumberOfLaunchConfigurations aws.IntegerValue `query:"MaxNumberOfLaunchConfigurations" xml:"DescribeAccountLimitsResult>MaxNumberOfLaunchConfigurations"` }
DescribeAccountLimitsResult is a wrapper for DescribeAccountLimitsAnswer.
type DescribeAdjustmentTypesAnswer ¶
type DescribeAdjustmentTypesAnswer struct {
AdjustmentTypes []AdjustmentType `query:"AdjustmentTypes.member" xml:"DescribeAdjustmentTypesResult>AdjustmentTypes>member"`
}
DescribeAdjustmentTypesAnswer is undocumented.
type DescribeAdjustmentTypesResult ¶
type DescribeAdjustmentTypesResult struct {
AdjustmentTypes []AdjustmentType `query:"AdjustmentTypes.member" xml:"DescribeAdjustmentTypesResult>AdjustmentTypes>member"`
}
DescribeAdjustmentTypesResult is a wrapper for DescribeAdjustmentTypesAnswer.
type DescribeAutoScalingGroupsResult ¶
type DescribeAutoScalingGroupsResult struct { AutoScalingGroups []AutoScalingGroup `query:"AutoScalingGroups.member" xml:"DescribeAutoScalingGroupsResult>AutoScalingGroups>member"` NextToken aws.StringValue `query:"NextToken" xml:"DescribeAutoScalingGroupsResult>NextToken"` }
DescribeAutoScalingGroupsResult is a wrapper for AutoScalingGroupsType.
type DescribeAutoScalingInstancesResult ¶
type DescribeAutoScalingInstancesResult struct { AutoScalingInstances []AutoScalingInstanceDetails `query:"AutoScalingInstances.member" xml:"DescribeAutoScalingInstancesResult>AutoScalingInstances>member"` NextToken aws.StringValue `query:"NextToken" xml:"DescribeAutoScalingInstancesResult>NextToken"` }
DescribeAutoScalingInstancesResult is a wrapper for AutoScalingInstancesType.
type DescribeAutoScalingInstancesType ¶
type DescribeAutoScalingInstancesType struct { InstanceIDs []string `query:"InstanceIds.member" xml:"InstanceIds>member"` MaxRecords aws.IntegerValue `query:"MaxRecords" xml:"MaxRecords"` NextToken aws.StringValue `query:"NextToken" xml:"NextToken"` }
DescribeAutoScalingInstancesType is undocumented.
type DescribeAutoScalingNotificationTypesAnswer ¶
type DescribeAutoScalingNotificationTypesAnswer struct {
AutoScalingNotificationTypes []string `` /* 128-byte string literal not displayed */
}
DescribeAutoScalingNotificationTypesAnswer is undocumented.
type DescribeAutoScalingNotificationTypesResult ¶
type DescribeAutoScalingNotificationTypesResult struct {
AutoScalingNotificationTypes []string `` /* 128-byte string literal not displayed */
}
DescribeAutoScalingNotificationTypesResult is a wrapper for DescribeAutoScalingNotificationTypesAnswer.
type DescribeLaunchConfigurationsResult ¶
type DescribeLaunchConfigurationsResult struct { LaunchConfigurations []LaunchConfiguration `query:"LaunchConfigurations.member" xml:"DescribeLaunchConfigurationsResult>LaunchConfigurations>member"` NextToken aws.StringValue `query:"NextToken" xml:"DescribeLaunchConfigurationsResult>NextToken"` }
DescribeLaunchConfigurationsResult is a wrapper for LaunchConfigurationsType.
type DescribeLifecycleHookTypesAnswer ¶
type DescribeLifecycleHookTypesAnswer struct {
LifecycleHookTypes []string `query:"LifecycleHookTypes.member" xml:"DescribeLifecycleHookTypesResult>LifecycleHookTypes>member"`
}
DescribeLifecycleHookTypesAnswer is undocumented.
type DescribeLifecycleHookTypesResult ¶
type DescribeLifecycleHookTypesResult struct {
LifecycleHookTypes []string `query:"LifecycleHookTypes.member" xml:"DescribeLifecycleHookTypesResult>LifecycleHookTypes>member"`
}
DescribeLifecycleHookTypesResult is a wrapper for DescribeLifecycleHookTypesAnswer.
type DescribeLifecycleHooksAnswer ¶
type DescribeLifecycleHooksAnswer struct {
LifecycleHooks []LifecycleHook `query:"LifecycleHooks.member" xml:"DescribeLifecycleHooksResult>LifecycleHooks>member"`
}
DescribeLifecycleHooksAnswer is undocumented.
type DescribeLifecycleHooksResult ¶
type DescribeLifecycleHooksResult struct {
LifecycleHooks []LifecycleHook `query:"LifecycleHooks.member" xml:"DescribeLifecycleHooksResult>LifecycleHooks>member"`
}
DescribeLifecycleHooksResult is a wrapper for DescribeLifecycleHooksAnswer.
type DescribeLifecycleHooksType ¶
type DescribeLifecycleHooksType struct { AutoScalingGroupName aws.StringValue `query:"AutoScalingGroupName" xml:"AutoScalingGroupName"` LifecycleHookNames []string `query:"LifecycleHookNames.member" xml:"LifecycleHookNames>member"` }
DescribeLifecycleHooksType is undocumented.
type DescribeMetricCollectionTypesAnswer ¶
type DescribeMetricCollectionTypesAnswer struct { Granularities []MetricGranularityType `query:"Granularities.member" xml:"DescribeMetricCollectionTypesResult>Granularities>member"` Metrics []MetricCollectionType `query:"Metrics.member" xml:"DescribeMetricCollectionTypesResult>Metrics>member"` }
DescribeMetricCollectionTypesAnswer is undocumented.
type DescribeMetricCollectionTypesResult ¶
type DescribeMetricCollectionTypesResult struct { Granularities []MetricGranularityType `query:"Granularities.member" xml:"DescribeMetricCollectionTypesResult>Granularities>member"` Metrics []MetricCollectionType `query:"Metrics.member" xml:"DescribeMetricCollectionTypesResult>Metrics>member"` }
DescribeMetricCollectionTypesResult is a wrapper for DescribeMetricCollectionTypesAnswer.
type DescribeNotificationConfigurationsAnswer ¶
type DescribeNotificationConfigurationsAnswer struct { NextToken aws.StringValue `query:"NextToken" xml:"DescribeNotificationConfigurationsResult>NextToken"` NotificationConfigurations []NotificationConfiguration `query:"NotificationConfigurations.member" xml:"DescribeNotificationConfigurationsResult>NotificationConfigurations>member"` }
DescribeNotificationConfigurationsAnswer is undocumented.
type DescribeNotificationConfigurationsResult ¶
type DescribeNotificationConfigurationsResult struct { NextToken aws.StringValue `query:"NextToken" xml:"DescribeNotificationConfigurationsResult>NextToken"` NotificationConfigurations []NotificationConfiguration `query:"NotificationConfigurations.member" xml:"DescribeNotificationConfigurationsResult>NotificationConfigurations>member"` }
DescribeNotificationConfigurationsResult is a wrapper for DescribeNotificationConfigurationsAnswer.
type DescribeNotificationConfigurationsType ¶
type DescribeNotificationConfigurationsType struct { AutoScalingGroupNames []string `query:"AutoScalingGroupNames.member" xml:"AutoScalingGroupNames>member"` MaxRecords aws.IntegerValue `query:"MaxRecords" xml:"MaxRecords"` NextToken aws.StringValue `query:"NextToken" xml:"NextToken"` }
DescribeNotificationConfigurationsType is undocumented.
type DescribePoliciesResult ¶
type DescribePoliciesResult struct { NextToken aws.StringValue `query:"NextToken" xml:"DescribePoliciesResult>NextToken"` ScalingPolicies []ScalingPolicy `query:"ScalingPolicies.member" xml:"DescribePoliciesResult>ScalingPolicies>member"` }
DescribePoliciesResult is a wrapper for PoliciesType.
type DescribePoliciesType ¶
type DescribePoliciesType struct { AutoScalingGroupName aws.StringValue `query:"AutoScalingGroupName" xml:"AutoScalingGroupName"` MaxRecords aws.IntegerValue `query:"MaxRecords" xml:"MaxRecords"` NextToken aws.StringValue `query:"NextToken" xml:"NextToken"` PolicyNames []string `query:"PolicyNames.member" xml:"PolicyNames>member"` }
DescribePoliciesType is undocumented.
type DescribeScalingActivitiesResult ¶
type DescribeScalingActivitiesResult struct { Activities []Activity `query:"Activities.member" xml:"DescribeScalingActivitiesResult>Activities>member"` NextToken aws.StringValue `query:"NextToken" xml:"DescribeScalingActivitiesResult>NextToken"` }
DescribeScalingActivitiesResult is a wrapper for ActivitiesType.
type DescribeScalingActivitiesType ¶
type DescribeScalingActivitiesType struct { ActivityIDs []string `query:"ActivityIds.member" xml:"ActivityIds>member"` AutoScalingGroupName aws.StringValue `query:"AutoScalingGroupName" xml:"AutoScalingGroupName"` MaxRecords aws.IntegerValue `query:"MaxRecords" xml:"MaxRecords"` NextToken aws.StringValue `query:"NextToken" xml:"NextToken"` }
DescribeScalingActivitiesType is undocumented.
type DescribeScalingProcessTypesResult ¶
type DescribeScalingProcessTypesResult struct {
Processes []ProcessType `query:"Processes.member" xml:"DescribeScalingProcessTypesResult>Processes>member"`
}
DescribeScalingProcessTypesResult is a wrapper for ProcessesType.
type DescribeScheduledActionsResult ¶
type DescribeScheduledActionsResult struct { NextToken aws.StringValue `query:"NextToken" xml:"DescribeScheduledActionsResult>NextToken"` ScheduledUpdateGroupActions []ScheduledUpdateGroupAction `query:"ScheduledUpdateGroupActions.member" xml:"DescribeScheduledActionsResult>ScheduledUpdateGroupActions>member"` }
DescribeScheduledActionsResult is a wrapper for ScheduledActionsType.
type DescribeScheduledActionsType ¶
type DescribeScheduledActionsType struct { AutoScalingGroupName aws.StringValue `query:"AutoScalingGroupName" xml:"AutoScalingGroupName"` EndTime time.Time `query:"EndTime" xml:"EndTime"` MaxRecords aws.IntegerValue `query:"MaxRecords" xml:"MaxRecords"` NextToken aws.StringValue `query:"NextToken" xml:"NextToken"` ScheduledActionNames []string `query:"ScheduledActionNames.member" xml:"ScheduledActionNames>member"` StartTime time.Time `query:"StartTime" xml:"StartTime"` }
DescribeScheduledActionsType is undocumented.
type DescribeTagsResult ¶
type DescribeTagsResult struct { NextToken aws.StringValue `query:"NextToken" xml:"DescribeTagsResult>NextToken"` Tags []TagDescription `query:"Tags.member" xml:"DescribeTagsResult>Tags>member"` }
DescribeTagsResult is a wrapper for TagsType.
type DescribeTagsType ¶
type DescribeTagsType struct { Filters []Filter `query:"Filters.member" xml:"Filters>member"` MaxRecords aws.IntegerValue `query:"MaxRecords" xml:"MaxRecords"` NextToken aws.StringValue `query:"NextToken" xml:"NextToken"` }
DescribeTagsType is undocumented.
type DescribeTerminationPolicyTypesAnswer ¶
type DescribeTerminationPolicyTypesAnswer struct {
TerminationPolicyTypes []string `query:"TerminationPolicyTypes.member" xml:"DescribeTerminationPolicyTypesResult>TerminationPolicyTypes>member"`
}
DescribeTerminationPolicyTypesAnswer is undocumented.
type DescribeTerminationPolicyTypesResult ¶
type DescribeTerminationPolicyTypesResult struct {
TerminationPolicyTypes []string `query:"TerminationPolicyTypes.member" xml:"DescribeTerminationPolicyTypesResult>TerminationPolicyTypes>member"`
}
DescribeTerminationPolicyTypesResult is a wrapper for DescribeTerminationPolicyTypesAnswer.
type DetachInstancesAnswer ¶
type DetachInstancesAnswer struct {
Activities []Activity `query:"Activities.member" xml:"DetachInstancesResult>Activities>member"`
}
DetachInstancesAnswer is undocumented.
type DetachInstancesQuery ¶
type DetachInstancesQuery struct { AutoScalingGroupName aws.StringValue `query:"AutoScalingGroupName" xml:"AutoScalingGroupName"` InstanceIDs []string `query:"InstanceIds.member" xml:"InstanceIds>member"` ShouldDecrementDesiredCapacity aws.BooleanValue `query:"ShouldDecrementDesiredCapacity" xml:"ShouldDecrementDesiredCapacity"` }
DetachInstancesQuery is undocumented.
type DetachInstancesResult ¶
type DetachInstancesResult struct {
Activities []Activity `query:"Activities.member" xml:"DetachInstancesResult>Activities>member"`
}
DetachInstancesResult is a wrapper for DetachInstancesAnswer.
type DisableMetricsCollectionQuery ¶
type DisableMetricsCollectionQuery struct { AutoScalingGroupName aws.StringValue `query:"AutoScalingGroupName" xml:"AutoScalingGroupName"` Metrics []string `query:"Metrics.member" xml:"Metrics>member"` }
DisableMetricsCollectionQuery is undocumented.
type EBS ¶
type EBS struct { DeleteOnTermination aws.BooleanValue `query:"DeleteOnTermination" xml:"DeleteOnTermination"` IOPS aws.IntegerValue `query:"Iops" xml:"Iops"` SnapshotID aws.StringValue `query:"SnapshotId" xml:"SnapshotId"` VolumeSize aws.IntegerValue `query:"VolumeSize" xml:"VolumeSize"` VolumeType aws.StringValue `query:"VolumeType" xml:"VolumeType"` }
EBS is undocumented.
type EnableMetricsCollectionQuery ¶
type EnableMetricsCollectionQuery struct { AutoScalingGroupName aws.StringValue `query:"AutoScalingGroupName" xml:"AutoScalingGroupName"` Granularity aws.StringValue `query:"Granularity" xml:"Granularity"` Metrics []string `query:"Metrics.member" xml:"Metrics>member"` }
EnableMetricsCollectionQuery is undocumented.
type EnabledMetric ¶
type EnabledMetric struct { Granularity aws.StringValue `query:"Granularity" xml:"Granularity"` Metric aws.StringValue `query:"Metric" xml:"Metric"` }
EnabledMetric is undocumented.
type EnterStandbyAnswer ¶
type EnterStandbyAnswer struct {
Activities []Activity `query:"Activities.member" xml:"EnterStandbyResult>Activities>member"`
}
EnterStandbyAnswer is undocumented.
type EnterStandbyQuery ¶
type EnterStandbyQuery struct { AutoScalingGroupName aws.StringValue `query:"AutoScalingGroupName" xml:"AutoScalingGroupName"` InstanceIDs []string `query:"InstanceIds.member" xml:"InstanceIds>member"` ShouldDecrementDesiredCapacity aws.BooleanValue `query:"ShouldDecrementDesiredCapacity" xml:"ShouldDecrementDesiredCapacity"` }
EnterStandbyQuery is undocumented.
type EnterStandbyResult ¶
type EnterStandbyResult struct {
Activities []Activity `query:"Activities.member" xml:"EnterStandbyResult>Activities>member"`
}
EnterStandbyResult is a wrapper for EnterStandbyAnswer.
type ExecutePolicyType ¶
type ExecutePolicyType struct { AutoScalingGroupName aws.StringValue `query:"AutoScalingGroupName" xml:"AutoScalingGroupName"` HonorCooldown aws.BooleanValue `query:"HonorCooldown" xml:"HonorCooldown"` PolicyName aws.StringValue `query:"PolicyName" xml:"PolicyName"` }
ExecutePolicyType is undocumented.
type ExitStandbyAnswer ¶
type ExitStandbyAnswer struct {
Activities []Activity `query:"Activities.member" xml:"ExitStandbyResult>Activities>member"`
}
ExitStandbyAnswer is undocumented.
type ExitStandbyQuery ¶
type ExitStandbyQuery struct { AutoScalingGroupName aws.StringValue `query:"AutoScalingGroupName" xml:"AutoScalingGroupName"` InstanceIDs []string `query:"InstanceIds.member" xml:"InstanceIds>member"` }
ExitStandbyQuery is undocumented.
type ExitStandbyResult ¶
type ExitStandbyResult struct {
Activities []Activity `query:"Activities.member" xml:"ExitStandbyResult>Activities>member"`
}
ExitStandbyResult is a wrapper for ExitStandbyAnswer.
type Filter ¶
type Filter struct { Name aws.StringValue `query:"Name" xml:"Name"` Values []string `query:"Values.member" xml:"Values>member"` }
Filter is undocumented.
type Instance ¶
type Instance struct { AvailabilityZone aws.StringValue `query:"AvailabilityZone" xml:"AvailabilityZone"` HealthStatus aws.StringValue `query:"HealthStatus" xml:"HealthStatus"` InstanceID aws.StringValue `query:"InstanceId" xml:"InstanceId"` LaunchConfigurationName aws.StringValue `query:"LaunchConfigurationName" xml:"LaunchConfigurationName"` LifecycleState aws.StringValue `query:"LifecycleState" xml:"LifecycleState"` }
Instance is undocumented.
type InstanceMonitoring ¶
type InstanceMonitoring struct {
Enabled aws.BooleanValue `query:"Enabled" xml:"Enabled"`
}
InstanceMonitoring is undocumented.
type LaunchConfiguration ¶
type LaunchConfiguration struct { AssociatePublicIPAddress aws.BooleanValue `query:"AssociatePublicIpAddress" xml:"AssociatePublicIpAddress"` BlockDeviceMappings []BlockDeviceMapping `query:"BlockDeviceMappings.member" xml:"BlockDeviceMappings>member"` ClassicLinkVPCID aws.StringValue `query:"ClassicLinkVPCId" xml:"ClassicLinkVPCId"` ClassicLinkVPCSecurityGroups []string `query:"ClassicLinkVPCSecurityGroups.member" xml:"ClassicLinkVPCSecurityGroups>member"` CreatedTime time.Time `query:"CreatedTime" xml:"CreatedTime"` EBSOptimized aws.BooleanValue `query:"EbsOptimized" xml:"EbsOptimized"` IAMInstanceProfile aws.StringValue `query:"IamInstanceProfile" xml:"IamInstanceProfile"` ImageID aws.StringValue `query:"ImageId" xml:"ImageId"` InstanceMonitoring *InstanceMonitoring `query:"InstanceMonitoring" xml:"InstanceMonitoring"` InstanceType aws.StringValue `query:"InstanceType" xml:"InstanceType"` KernelID aws.StringValue `query:"KernelId" xml:"KernelId"` KeyName aws.StringValue `query:"KeyName" xml:"KeyName"` LaunchConfigurationARN aws.StringValue `query:"LaunchConfigurationARN" xml:"LaunchConfigurationARN"` LaunchConfigurationName aws.StringValue `query:"LaunchConfigurationName" xml:"LaunchConfigurationName"` PlacementTenancy aws.StringValue `query:"PlacementTenancy" xml:"PlacementTenancy"` RAMDiskID aws.StringValue `query:"RamdiskId" xml:"RamdiskId"` SecurityGroups []string `query:"SecurityGroups.member" xml:"SecurityGroups>member"` SpotPrice aws.StringValue `query:"SpotPrice" xml:"SpotPrice"` UserData aws.StringValue `query:"UserData" xml:"UserData"` }
LaunchConfiguration is undocumented.
type LaunchConfigurationNameType ¶
type LaunchConfigurationNameType struct {
LaunchConfigurationName aws.StringValue `query:"LaunchConfigurationName" xml:"LaunchConfigurationName"`
}
LaunchConfigurationNameType is undocumented.
type LaunchConfigurationNamesType ¶
type LaunchConfigurationNamesType struct { LaunchConfigurationNames []string `query:"LaunchConfigurationNames.member" xml:"LaunchConfigurationNames>member"` MaxRecords aws.IntegerValue `query:"MaxRecords" xml:"MaxRecords"` NextToken aws.StringValue `query:"NextToken" xml:"NextToken"` }
LaunchConfigurationNamesType is undocumented.
type LaunchConfigurationsType ¶
type LaunchConfigurationsType struct { LaunchConfigurations []LaunchConfiguration `query:"LaunchConfigurations.member" xml:"DescribeLaunchConfigurationsResult>LaunchConfigurations>member"` NextToken aws.StringValue `query:"NextToken" xml:"DescribeLaunchConfigurationsResult>NextToken"` }
LaunchConfigurationsType is undocumented.
type LifecycleHook ¶
type LifecycleHook struct { AutoScalingGroupName aws.StringValue `query:"AutoScalingGroupName" xml:"AutoScalingGroupName"` DefaultResult aws.StringValue `query:"DefaultResult" xml:"DefaultResult"` GlobalTimeout aws.IntegerValue `query:"GlobalTimeout" xml:"GlobalTimeout"` HeartbeatTimeout aws.IntegerValue `query:"HeartbeatTimeout" xml:"HeartbeatTimeout"` LifecycleHookName aws.StringValue `query:"LifecycleHookName" xml:"LifecycleHookName"` LifecycleTransition aws.StringValue `query:"LifecycleTransition" xml:"LifecycleTransition"` NotificationMetadata aws.StringValue `query:"NotificationMetadata" xml:"NotificationMetadata"` NotificationTargetARN aws.StringValue `query:"NotificationTargetARN" xml:"NotificationTargetARN"` RoleARN aws.StringValue `query:"RoleARN" xml:"RoleARN"` }
LifecycleHook is undocumented.
type MetricCollectionType ¶
type MetricCollectionType struct {
Metric aws.StringValue `query:"Metric" xml:"Metric"`
}
MetricCollectionType is undocumented.
type MetricGranularityType ¶
type MetricGranularityType struct {
Granularity aws.StringValue `query:"Granularity" xml:"Granularity"`
}
MetricGranularityType is undocumented.
type NotificationConfiguration ¶
type NotificationConfiguration struct { AutoScalingGroupName aws.StringValue `query:"AutoScalingGroupName" xml:"AutoScalingGroupName"` NotificationType aws.StringValue `query:"NotificationType" xml:"NotificationType"` TopicARN aws.StringValue `query:"TopicARN" xml:"TopicARN"` }
NotificationConfiguration is undocumented.
type PoliciesType ¶
type PoliciesType struct { NextToken aws.StringValue `query:"NextToken" xml:"DescribePoliciesResult>NextToken"` ScalingPolicies []ScalingPolicy `query:"ScalingPolicies.member" xml:"DescribePoliciesResult>ScalingPolicies>member"` }
PoliciesType is undocumented.
type PolicyARNType ¶
type PolicyARNType struct {
PolicyARN aws.StringValue `query:"PolicyARN" xml:"PutScalingPolicyResult>PolicyARN"`
}
PolicyARNType is undocumented.
type ProcessType ¶
type ProcessType struct {
ProcessName aws.StringValue `query:"ProcessName" xml:"ProcessName"`
}
ProcessType is undocumented.
type ProcessesType ¶
type ProcessesType struct {
Processes []ProcessType `query:"Processes.member" xml:"DescribeScalingProcessTypesResult>Processes>member"`
}
ProcessesType is undocumented.
type PutLifecycleHookAnswer ¶
type PutLifecycleHookAnswer struct { }
PutLifecycleHookAnswer is undocumented.
type PutLifecycleHookResult ¶
type PutLifecycleHookResult struct { }
PutLifecycleHookResult is a wrapper for PutLifecycleHookAnswer.
type PutLifecycleHookType ¶
type PutLifecycleHookType struct { AutoScalingGroupName aws.StringValue `query:"AutoScalingGroupName" xml:"AutoScalingGroupName"` DefaultResult aws.StringValue `query:"DefaultResult" xml:"DefaultResult"` HeartbeatTimeout aws.IntegerValue `query:"HeartbeatTimeout" xml:"HeartbeatTimeout"` LifecycleHookName aws.StringValue `query:"LifecycleHookName" xml:"LifecycleHookName"` LifecycleTransition aws.StringValue `query:"LifecycleTransition" xml:"LifecycleTransition"` NotificationMetadata aws.StringValue `query:"NotificationMetadata" xml:"NotificationMetadata"` NotificationTargetARN aws.StringValue `query:"NotificationTargetARN" xml:"NotificationTargetARN"` RoleARN aws.StringValue `query:"RoleARN" xml:"RoleARN"` }
PutLifecycleHookType is undocumented.
type PutNotificationConfigurationType ¶
type PutNotificationConfigurationType struct { AutoScalingGroupName aws.StringValue `query:"AutoScalingGroupName" xml:"AutoScalingGroupName"` NotificationTypes []string `query:"NotificationTypes.member" xml:"NotificationTypes>member"` TopicARN aws.StringValue `query:"TopicARN" xml:"TopicARN"` }
PutNotificationConfigurationType is undocumented.
type PutScalingPolicyResult ¶
type PutScalingPolicyResult struct {
PolicyARN aws.StringValue `query:"PolicyARN" xml:"PutScalingPolicyResult>PolicyARN"`
}
PutScalingPolicyResult is a wrapper for PolicyARNType.
type PutScalingPolicyType ¶
type PutScalingPolicyType struct { AdjustmentType aws.StringValue `query:"AdjustmentType" xml:"AdjustmentType"` AutoScalingGroupName aws.StringValue `query:"AutoScalingGroupName" xml:"AutoScalingGroupName"` Cooldown aws.IntegerValue `query:"Cooldown" xml:"Cooldown"` MinAdjustmentStep aws.IntegerValue `query:"MinAdjustmentStep" xml:"MinAdjustmentStep"` PolicyName aws.StringValue `query:"PolicyName" xml:"PolicyName"` ScalingAdjustment aws.IntegerValue `query:"ScalingAdjustment" xml:"ScalingAdjustment"` }
PutScalingPolicyType is undocumented.
type PutScheduledUpdateGroupActionType ¶
type PutScheduledUpdateGroupActionType struct { AutoScalingGroupName aws.StringValue `query:"AutoScalingGroupName" xml:"AutoScalingGroupName"` DesiredCapacity aws.IntegerValue `query:"DesiredCapacity" xml:"DesiredCapacity"` EndTime time.Time `query:"EndTime" xml:"EndTime"` MaxSize aws.IntegerValue `query:"MaxSize" xml:"MaxSize"` MinSize aws.IntegerValue `query:"MinSize" xml:"MinSize"` Recurrence aws.StringValue `query:"Recurrence" xml:"Recurrence"` ScheduledActionName aws.StringValue `query:"ScheduledActionName" xml:"ScheduledActionName"` StartTime time.Time `query:"StartTime" xml:"StartTime"` Time time.Time `query:"Time" xml:"Time"` }
PutScheduledUpdateGroupActionType is undocumented.
type RecordLifecycleActionHeartbeatAnswer ¶
type RecordLifecycleActionHeartbeatAnswer struct { }
RecordLifecycleActionHeartbeatAnswer is undocumented.
type RecordLifecycleActionHeartbeatResult ¶
type RecordLifecycleActionHeartbeatResult struct { }
RecordLifecycleActionHeartbeatResult is a wrapper for RecordLifecycleActionHeartbeatAnswer.
type RecordLifecycleActionHeartbeatType ¶
type RecordLifecycleActionHeartbeatType struct { AutoScalingGroupName aws.StringValue `query:"AutoScalingGroupName" xml:"AutoScalingGroupName"` LifecycleActionToken aws.StringValue `query:"LifecycleActionToken" xml:"LifecycleActionToken"` LifecycleHookName aws.StringValue `query:"LifecycleHookName" xml:"LifecycleHookName"` }
RecordLifecycleActionHeartbeatType is undocumented.
type ScalingPolicy ¶
type ScalingPolicy struct { AdjustmentType aws.StringValue `query:"AdjustmentType" xml:"AdjustmentType"` Alarms []Alarm `query:"Alarms.member" xml:"Alarms>member"` AutoScalingGroupName aws.StringValue `query:"AutoScalingGroupName" xml:"AutoScalingGroupName"` Cooldown aws.IntegerValue `query:"Cooldown" xml:"Cooldown"` MinAdjustmentStep aws.IntegerValue `query:"MinAdjustmentStep" xml:"MinAdjustmentStep"` PolicyARN aws.StringValue `query:"PolicyARN" xml:"PolicyARN"` PolicyName aws.StringValue `query:"PolicyName" xml:"PolicyName"` ScalingAdjustment aws.IntegerValue `query:"ScalingAdjustment" xml:"ScalingAdjustment"` }
ScalingPolicy is undocumented.
type ScalingProcessQuery ¶
type ScalingProcessQuery struct { AutoScalingGroupName aws.StringValue `query:"AutoScalingGroupName" xml:"AutoScalingGroupName"` ScalingProcesses []string `query:"ScalingProcesses.member" xml:"ScalingProcesses>member"` }
ScalingProcessQuery is undocumented.
type ScheduledActionsType ¶
type ScheduledActionsType struct { NextToken aws.StringValue `query:"NextToken" xml:"DescribeScheduledActionsResult>NextToken"` ScheduledUpdateGroupActions []ScheduledUpdateGroupAction `query:"ScheduledUpdateGroupActions.member" xml:"DescribeScheduledActionsResult>ScheduledUpdateGroupActions>member"` }
ScheduledActionsType is undocumented.
type ScheduledUpdateGroupAction ¶
type ScheduledUpdateGroupAction struct { AutoScalingGroupName aws.StringValue `query:"AutoScalingGroupName" xml:"AutoScalingGroupName"` DesiredCapacity aws.IntegerValue `query:"DesiredCapacity" xml:"DesiredCapacity"` EndTime time.Time `query:"EndTime" xml:"EndTime"` MaxSize aws.IntegerValue `query:"MaxSize" xml:"MaxSize"` MinSize aws.IntegerValue `query:"MinSize" xml:"MinSize"` Recurrence aws.StringValue `query:"Recurrence" xml:"Recurrence"` ScheduledActionARN aws.StringValue `query:"ScheduledActionARN" xml:"ScheduledActionARN"` ScheduledActionName aws.StringValue `query:"ScheduledActionName" xml:"ScheduledActionName"` StartTime time.Time `query:"StartTime" xml:"StartTime"` Time time.Time `query:"Time" xml:"Time"` }
ScheduledUpdateGroupAction is undocumented.
type SetDesiredCapacityType ¶
type SetDesiredCapacityType struct { AutoScalingGroupName aws.StringValue `query:"AutoScalingGroupName" xml:"AutoScalingGroupName"` DesiredCapacity aws.IntegerValue `query:"DesiredCapacity" xml:"DesiredCapacity"` HonorCooldown aws.BooleanValue `query:"HonorCooldown" xml:"HonorCooldown"` }
SetDesiredCapacityType is undocumented.
type SetInstanceHealthQuery ¶
type SetInstanceHealthQuery struct { HealthStatus aws.StringValue `query:"HealthStatus" xml:"HealthStatus"` InstanceID aws.StringValue `query:"InstanceId" xml:"InstanceId"` ShouldRespectGracePeriod aws.BooleanValue `query:"ShouldRespectGracePeriod" xml:"ShouldRespectGracePeriod"` }
SetInstanceHealthQuery is undocumented.
type SuspendedProcess ¶
type SuspendedProcess struct { ProcessName aws.StringValue `query:"ProcessName" xml:"ProcessName"` SuspensionReason aws.StringValue `query:"SuspensionReason" xml:"SuspensionReason"` }
SuspendedProcess is undocumented.
type Tag ¶
type Tag struct { Key aws.StringValue `query:"Key" xml:"Key"` PropagateAtLaunch aws.BooleanValue `query:"PropagateAtLaunch" xml:"PropagateAtLaunch"` ResourceID aws.StringValue `query:"ResourceId" xml:"ResourceId"` ResourceType aws.StringValue `query:"ResourceType" xml:"ResourceType"` Value aws.StringValue `query:"Value" xml:"Value"` }
Tag is undocumented.
type TagDescription ¶
type TagDescription struct { Key aws.StringValue `query:"Key" xml:"Key"` PropagateAtLaunch aws.BooleanValue `query:"PropagateAtLaunch" xml:"PropagateAtLaunch"` ResourceID aws.StringValue `query:"ResourceId" xml:"ResourceId"` ResourceType aws.StringValue `query:"ResourceType" xml:"ResourceType"` Value aws.StringValue `query:"Value" xml:"Value"` }
TagDescription is undocumented.
type TagsType ¶
type TagsType struct { NextToken aws.StringValue `query:"NextToken" xml:"DescribeTagsResult>NextToken"` Tags []TagDescription `query:"Tags.member" xml:"DescribeTagsResult>Tags>member"` }
TagsType is undocumented.
type TerminateInstanceInAutoScalingGroupResult ¶
type TerminateInstanceInAutoScalingGroupResult struct {
Activity *Activity `query:"Activity" xml:"TerminateInstanceInAutoScalingGroupResult>Activity"`
}
TerminateInstanceInAutoScalingGroupResult is a wrapper for ActivityType.
type TerminateInstanceInAutoScalingGroupType ¶
type TerminateInstanceInAutoScalingGroupType struct { InstanceID aws.StringValue `query:"InstanceId" xml:"InstanceId"` ShouldDecrementDesiredCapacity aws.BooleanValue `query:"ShouldDecrementDesiredCapacity" xml:"ShouldDecrementDesiredCapacity"` }
TerminateInstanceInAutoScalingGroupType is undocumented.
type UpdateAutoScalingGroupType ¶
type UpdateAutoScalingGroupType struct { AutoScalingGroupName aws.StringValue `query:"AutoScalingGroupName" xml:"AutoScalingGroupName"` AvailabilityZones []string `query:"AvailabilityZones.member" xml:"AvailabilityZones>member"` DefaultCooldown aws.IntegerValue `query:"DefaultCooldown" xml:"DefaultCooldown"` DesiredCapacity aws.IntegerValue `query:"DesiredCapacity" xml:"DesiredCapacity"` HealthCheckGracePeriod aws.IntegerValue `query:"HealthCheckGracePeriod" xml:"HealthCheckGracePeriod"` HealthCheckType aws.StringValue `query:"HealthCheckType" xml:"HealthCheckType"` LaunchConfigurationName aws.StringValue `query:"LaunchConfigurationName" xml:"LaunchConfigurationName"` MaxSize aws.IntegerValue `query:"MaxSize" xml:"MaxSize"` MinSize aws.IntegerValue `query:"MinSize" xml:"MinSize"` PlacementGroup aws.StringValue `query:"PlacementGroup" xml:"PlacementGroup"` TerminationPolicies []string `query:"TerminationPolicies.member" xml:"TerminationPolicies>member"` VPCZoneIdentifier aws.StringValue `query:"VPCZoneIdentifier" xml:"VPCZoneIdentifier"` }
UpdateAutoScalingGroupType is undocumented.