Versions in this module Expand all Collapse all v1 v1.11.0 Dec 6, 2022 Changes in this version + const AdjustmentTypeChangeInCapacity + const AdjustmentTypeExactCapacity + const AdjustmentTypePercentChangeInCapacity + const EndpointsID + const ErrCodeConcurrentUpdateException + const ErrCodeFailedResourceAccessException + const ErrCodeInternalServiceException + const ErrCodeInvalidNextTokenException + const ErrCodeLimitExceededException + const ErrCodeObjectNotFoundException + const ErrCodeValidationException + const MetricAggregationTypeAverage + const MetricAggregationTypeMaximum + const MetricAggregationTypeMinimum + const MetricStatisticAverage + const MetricStatisticMaximum + const MetricStatisticMinimum + const MetricStatisticSampleCount + const MetricStatisticSum + const MetricTypeDynamoDbreadCapacityUtilization + const MetricTypeDynamoDbwriteCapacityUtilization + const PolicyTypeStepScaling + const PolicyTypeTargetTrackingScaling + const ScalableDimensionAppstreamFleetDesiredCapacity + const ScalableDimensionDynamodbIndexReadCapacityUnits + const ScalableDimensionDynamodbIndexWriteCapacityUnits + const ScalableDimensionDynamodbTableReadCapacityUnits + const ScalableDimensionDynamodbTableWriteCapacityUnits + const ScalableDimensionEc2SpotFleetRequestTargetCapacity + const ScalableDimensionEcsServiceDesiredCount + const ScalableDimensionElasticmapreduceInstancegroupInstanceCount + const ScalingActivityStatusCodeFailed + const ScalingActivityStatusCodeInProgress + const ScalingActivityStatusCodeOverridden + const ScalingActivityStatusCodePending + const ScalingActivityStatusCodeSuccessful + const ScalingActivityStatusCodeUnfulfilled + const ServiceName + const ServiceNamespaceAppstream + const ServiceNamespaceDynamodb + const ServiceNamespaceEc2 + const ServiceNamespaceEcs + const ServiceNamespaceElasticmapreduce + type Alarm struct + AlarmARN *string + AlarmName *string + func (s *Alarm) SetAlarmARN(v string) *Alarm + func (s *Alarm) SetAlarmName(v string) *Alarm + func (s Alarm) GoString() string + func (s Alarm) String() string + type ApplicationAutoScaling struct + func New(p client.ConfigProvider, cfgs ...*aws.Config) *ApplicationAutoScaling + func (c *ApplicationAutoScaling) DeleteScalingPolicy(input *DeleteScalingPolicyInput) (*DeleteScalingPolicyOutput, error) + func (c *ApplicationAutoScaling) DeleteScalingPolicyRequest(input *DeleteScalingPolicyInput) (req *request.Request, output *DeleteScalingPolicyOutput) + func (c *ApplicationAutoScaling) DeleteScalingPolicyWithContext(ctx aws.Context, input *DeleteScalingPolicyInput, opts ...request.Option) (*DeleteScalingPolicyOutput, error) + func (c *ApplicationAutoScaling) DeregisterScalableTarget(input *DeregisterScalableTargetInput) (*DeregisterScalableTargetOutput, error) + func (c *ApplicationAutoScaling) DeregisterScalableTargetRequest(input *DeregisterScalableTargetInput) (req *request.Request, output *DeregisterScalableTargetOutput) + func (c *ApplicationAutoScaling) DeregisterScalableTargetWithContext(ctx aws.Context, input *DeregisterScalableTargetInput, opts ...request.Option) (*DeregisterScalableTargetOutput, error) + func (c *ApplicationAutoScaling) DescribeScalableTargets(input *DescribeScalableTargetsInput) (*DescribeScalableTargetsOutput, error) + func (c *ApplicationAutoScaling) DescribeScalableTargetsPages(input *DescribeScalableTargetsInput, ...) error + func (c *ApplicationAutoScaling) DescribeScalableTargetsPagesWithContext(ctx aws.Context, input *DescribeScalableTargetsInput, ...) error + func (c *ApplicationAutoScaling) DescribeScalableTargetsRequest(input *DescribeScalableTargetsInput) (req *request.Request, output *DescribeScalableTargetsOutput) + func (c *ApplicationAutoScaling) DescribeScalableTargetsWithContext(ctx aws.Context, input *DescribeScalableTargetsInput, opts ...request.Option) (*DescribeScalableTargetsOutput, error) + func (c *ApplicationAutoScaling) DescribeScalingActivities(input *DescribeScalingActivitiesInput) (*DescribeScalingActivitiesOutput, error) + func (c *ApplicationAutoScaling) DescribeScalingActivitiesPages(input *DescribeScalingActivitiesInput, ...) error + func (c *ApplicationAutoScaling) DescribeScalingActivitiesPagesWithContext(ctx aws.Context, input *DescribeScalingActivitiesInput, ...) error + func (c *ApplicationAutoScaling) DescribeScalingActivitiesRequest(input *DescribeScalingActivitiesInput) (req *request.Request, output *DescribeScalingActivitiesOutput) + func (c *ApplicationAutoScaling) DescribeScalingActivitiesWithContext(ctx aws.Context, input *DescribeScalingActivitiesInput, opts ...request.Option) (*DescribeScalingActivitiesOutput, error) + func (c *ApplicationAutoScaling) DescribeScalingPolicies(input *DescribeScalingPoliciesInput) (*DescribeScalingPoliciesOutput, error) + func (c *ApplicationAutoScaling) DescribeScalingPoliciesPages(input *DescribeScalingPoliciesInput, ...) error + func (c *ApplicationAutoScaling) DescribeScalingPoliciesPagesWithContext(ctx aws.Context, input *DescribeScalingPoliciesInput, ...) error + func (c *ApplicationAutoScaling) DescribeScalingPoliciesRequest(input *DescribeScalingPoliciesInput) (req *request.Request, output *DescribeScalingPoliciesOutput) + func (c *ApplicationAutoScaling) DescribeScalingPoliciesWithContext(ctx aws.Context, input *DescribeScalingPoliciesInput, opts ...request.Option) (*DescribeScalingPoliciesOutput, error) + func (c *ApplicationAutoScaling) PutScalingPolicy(input *PutScalingPolicyInput) (*PutScalingPolicyOutput, error) + func (c *ApplicationAutoScaling) PutScalingPolicyRequest(input *PutScalingPolicyInput) (req *request.Request, output *PutScalingPolicyOutput) + func (c *ApplicationAutoScaling) PutScalingPolicyWithContext(ctx aws.Context, input *PutScalingPolicyInput, opts ...request.Option) (*PutScalingPolicyOutput, error) + func (c *ApplicationAutoScaling) RegisterScalableTarget(input *RegisterScalableTargetInput) (*RegisterScalableTargetOutput, error) + func (c *ApplicationAutoScaling) RegisterScalableTargetRequest(input *RegisterScalableTargetInput) (req *request.Request, output *RegisterScalableTargetOutput) + func (c *ApplicationAutoScaling) RegisterScalableTargetWithContext(ctx aws.Context, input *RegisterScalableTargetInput, opts ...request.Option) (*RegisterScalableTargetOutput, error) + type CustomizedMetricSpecification struct + Dimensions []*MetricDimension + MetricName *string + Namespace *string + Statistic *string + Unit *string + func (s *CustomizedMetricSpecification) SetDimensions(v []*MetricDimension) *CustomizedMetricSpecification + func (s *CustomizedMetricSpecification) SetMetricName(v string) *CustomizedMetricSpecification + func (s *CustomizedMetricSpecification) SetNamespace(v string) *CustomizedMetricSpecification + func (s *CustomizedMetricSpecification) SetStatistic(v string) *CustomizedMetricSpecification + func (s *CustomizedMetricSpecification) SetUnit(v string) *CustomizedMetricSpecification + func (s *CustomizedMetricSpecification) Validate() error + func (s CustomizedMetricSpecification) GoString() string + func (s CustomizedMetricSpecification) String() string + type DeleteScalingPolicyInput struct + PolicyName *string + ResourceId *string + ScalableDimension *string + ServiceNamespace *string + func (s *DeleteScalingPolicyInput) SetPolicyName(v string) *DeleteScalingPolicyInput + func (s *DeleteScalingPolicyInput) SetResourceId(v string) *DeleteScalingPolicyInput + func (s *DeleteScalingPolicyInput) SetScalableDimension(v string) *DeleteScalingPolicyInput + func (s *DeleteScalingPolicyInput) SetServiceNamespace(v string) *DeleteScalingPolicyInput + func (s *DeleteScalingPolicyInput) Validate() error + func (s DeleteScalingPolicyInput) GoString() string + func (s DeleteScalingPolicyInput) String() string + type DeleteScalingPolicyOutput struct + func (s DeleteScalingPolicyOutput) GoString() string + func (s DeleteScalingPolicyOutput) String() string + type DeregisterScalableTargetInput struct + ResourceId *string + ScalableDimension *string + ServiceNamespace *string + func (s *DeregisterScalableTargetInput) SetResourceId(v string) *DeregisterScalableTargetInput + func (s *DeregisterScalableTargetInput) SetScalableDimension(v string) *DeregisterScalableTargetInput + func (s *DeregisterScalableTargetInput) SetServiceNamespace(v string) *DeregisterScalableTargetInput + func (s *DeregisterScalableTargetInput) Validate() error + func (s DeregisterScalableTargetInput) GoString() string + func (s DeregisterScalableTargetInput) String() string + type DeregisterScalableTargetOutput struct + func (s DeregisterScalableTargetOutput) GoString() string + func (s DeregisterScalableTargetOutput) String() string + type DescribeScalableTargetsInput struct + MaxResults *int64 + NextToken *string + ResourceIds []*string + ScalableDimension *string + ServiceNamespace *string + func (s *DescribeScalableTargetsInput) SetMaxResults(v int64) *DescribeScalableTargetsInput + func (s *DescribeScalableTargetsInput) SetNextToken(v string) *DescribeScalableTargetsInput + func (s *DescribeScalableTargetsInput) SetResourceIds(v []*string) *DescribeScalableTargetsInput + func (s *DescribeScalableTargetsInput) SetScalableDimension(v string) *DescribeScalableTargetsInput + func (s *DescribeScalableTargetsInput) SetServiceNamespace(v string) *DescribeScalableTargetsInput + func (s *DescribeScalableTargetsInput) Validate() error + func (s DescribeScalableTargetsInput) GoString() string + func (s DescribeScalableTargetsInput) String() string + type DescribeScalableTargetsOutput struct + NextToken *string + ScalableTargets []*ScalableTarget + func (s *DescribeScalableTargetsOutput) SetNextToken(v string) *DescribeScalableTargetsOutput + func (s *DescribeScalableTargetsOutput) SetScalableTargets(v []*ScalableTarget) *DescribeScalableTargetsOutput + func (s DescribeScalableTargetsOutput) GoString() string + func (s DescribeScalableTargetsOutput) String() string + type DescribeScalingActivitiesInput struct + MaxResults *int64 + NextToken *string + ResourceId *string + ScalableDimension *string + ServiceNamespace *string + func (s *DescribeScalingActivitiesInput) SetMaxResults(v int64) *DescribeScalingActivitiesInput + func (s *DescribeScalingActivitiesInput) SetNextToken(v string) *DescribeScalingActivitiesInput + func (s *DescribeScalingActivitiesInput) SetResourceId(v string) *DescribeScalingActivitiesInput + func (s *DescribeScalingActivitiesInput) SetScalableDimension(v string) *DescribeScalingActivitiesInput + func (s *DescribeScalingActivitiesInput) SetServiceNamespace(v string) *DescribeScalingActivitiesInput + func (s *DescribeScalingActivitiesInput) Validate() error + func (s DescribeScalingActivitiesInput) GoString() string + func (s DescribeScalingActivitiesInput) String() string + type DescribeScalingActivitiesOutput struct + NextToken *string + ScalingActivities []*ScalingActivity + func (s *DescribeScalingActivitiesOutput) SetNextToken(v string) *DescribeScalingActivitiesOutput + func (s *DescribeScalingActivitiesOutput) SetScalingActivities(v []*ScalingActivity) *DescribeScalingActivitiesOutput + func (s DescribeScalingActivitiesOutput) GoString() string + func (s DescribeScalingActivitiesOutput) String() string + type DescribeScalingPoliciesInput struct + MaxResults *int64 + NextToken *string + PolicyNames []*string + ResourceId *string + ScalableDimension *string + ServiceNamespace *string + func (s *DescribeScalingPoliciesInput) SetMaxResults(v int64) *DescribeScalingPoliciesInput + func (s *DescribeScalingPoliciesInput) SetNextToken(v string) *DescribeScalingPoliciesInput + func (s *DescribeScalingPoliciesInput) SetPolicyNames(v []*string) *DescribeScalingPoliciesInput + func (s *DescribeScalingPoliciesInput) SetResourceId(v string) *DescribeScalingPoliciesInput + func (s *DescribeScalingPoliciesInput) SetScalableDimension(v string) *DescribeScalingPoliciesInput + func (s *DescribeScalingPoliciesInput) SetServiceNamespace(v string) *DescribeScalingPoliciesInput + func (s *DescribeScalingPoliciesInput) Validate() error + func (s DescribeScalingPoliciesInput) GoString() string + func (s DescribeScalingPoliciesInput) String() string + type DescribeScalingPoliciesOutput struct + NextToken *string + ScalingPolicies []*ScalingPolicy + func (s *DescribeScalingPoliciesOutput) SetNextToken(v string) *DescribeScalingPoliciesOutput + func (s *DescribeScalingPoliciesOutput) SetScalingPolicies(v []*ScalingPolicy) *DescribeScalingPoliciesOutput + func (s DescribeScalingPoliciesOutput) GoString() string + func (s DescribeScalingPoliciesOutput) String() string + type MetricDimension struct + Name *string + Value *string + func (s *MetricDimension) SetName(v string) *MetricDimension + func (s *MetricDimension) SetValue(v string) *MetricDimension + func (s *MetricDimension) Validate() error + func (s MetricDimension) GoString() string + func (s MetricDimension) String() string + type PredefinedMetricSpecification struct + PredefinedMetricType *string + ResourceLabel *string + func (s *PredefinedMetricSpecification) SetPredefinedMetricType(v string) *PredefinedMetricSpecification + func (s *PredefinedMetricSpecification) SetResourceLabel(v string) *PredefinedMetricSpecification + func (s *PredefinedMetricSpecification) Validate() error + func (s PredefinedMetricSpecification) GoString() string + func (s PredefinedMetricSpecification) String() string + type PutScalingPolicyInput struct + PolicyName *string + PolicyType *string + ResourceId *string + ScalableDimension *string + ServiceNamespace *string + StepScalingPolicyConfiguration *StepScalingPolicyConfiguration + TargetTrackingScalingPolicyConfiguration *TargetTrackingScalingPolicyConfiguration + func (s *PutScalingPolicyInput) SetPolicyName(v string) *PutScalingPolicyInput + func (s *PutScalingPolicyInput) SetPolicyType(v string) *PutScalingPolicyInput + func (s *PutScalingPolicyInput) SetResourceId(v string) *PutScalingPolicyInput + func (s *PutScalingPolicyInput) SetScalableDimension(v string) *PutScalingPolicyInput + func (s *PutScalingPolicyInput) SetServiceNamespace(v string) *PutScalingPolicyInput + func (s *PutScalingPolicyInput) SetStepScalingPolicyConfiguration(v *StepScalingPolicyConfiguration) *PutScalingPolicyInput + func (s *PutScalingPolicyInput) SetTargetTrackingScalingPolicyConfiguration(v *TargetTrackingScalingPolicyConfiguration) *PutScalingPolicyInput + func (s *PutScalingPolicyInput) Validate() error + func (s PutScalingPolicyInput) GoString() string + func (s PutScalingPolicyInput) String() string + type PutScalingPolicyOutput struct + Alarms []*Alarm + PolicyARN *string + func (s *PutScalingPolicyOutput) SetAlarms(v []*Alarm) *PutScalingPolicyOutput + func (s *PutScalingPolicyOutput) SetPolicyARN(v string) *PutScalingPolicyOutput + func (s PutScalingPolicyOutput) GoString() string + func (s PutScalingPolicyOutput) String() string + type RegisterScalableTargetInput struct + MaxCapacity *int64 + MinCapacity *int64 + ResourceId *string + RoleARN *string + ScalableDimension *string + ServiceNamespace *string + func (s *RegisterScalableTargetInput) SetMaxCapacity(v int64) *RegisterScalableTargetInput + func (s *RegisterScalableTargetInput) SetMinCapacity(v int64) *RegisterScalableTargetInput + func (s *RegisterScalableTargetInput) SetResourceId(v string) *RegisterScalableTargetInput + func (s *RegisterScalableTargetInput) SetRoleARN(v string) *RegisterScalableTargetInput + func (s *RegisterScalableTargetInput) SetScalableDimension(v string) *RegisterScalableTargetInput + func (s *RegisterScalableTargetInput) SetServiceNamespace(v string) *RegisterScalableTargetInput + func (s *RegisterScalableTargetInput) Validate() error + func (s RegisterScalableTargetInput) GoString() string + func (s RegisterScalableTargetInput) String() string + type RegisterScalableTargetOutput struct + func (s RegisterScalableTargetOutput) GoString() string + func (s RegisterScalableTargetOutput) String() string + type ScalableTarget struct + CreationTime *time.Time + MaxCapacity *int64 + MinCapacity *int64 + ResourceId *string + RoleARN *string + ScalableDimension *string + ServiceNamespace *string + func (s *ScalableTarget) SetCreationTime(v time.Time) *ScalableTarget + func (s *ScalableTarget) SetMaxCapacity(v int64) *ScalableTarget + func (s *ScalableTarget) SetMinCapacity(v int64) *ScalableTarget + func (s *ScalableTarget) SetResourceId(v string) *ScalableTarget + func (s *ScalableTarget) SetRoleARN(v string) *ScalableTarget + func (s *ScalableTarget) SetScalableDimension(v string) *ScalableTarget + func (s *ScalableTarget) SetServiceNamespace(v string) *ScalableTarget + func (s ScalableTarget) GoString() string + func (s ScalableTarget) String() string + type ScalingActivity struct + ActivityId *string + Cause *string + Description *string + Details *string + EndTime *time.Time + ResourceId *string + ScalableDimension *string + ServiceNamespace *string + StartTime *time.Time + StatusCode *string + StatusMessage *string + func (s *ScalingActivity) SetActivityId(v string) *ScalingActivity + func (s *ScalingActivity) SetCause(v string) *ScalingActivity + func (s *ScalingActivity) SetDescription(v string) *ScalingActivity + func (s *ScalingActivity) SetDetails(v string) *ScalingActivity + func (s *ScalingActivity) SetEndTime(v time.Time) *ScalingActivity + func (s *ScalingActivity) SetResourceId(v string) *ScalingActivity + func (s *ScalingActivity) SetScalableDimension(v string) *ScalingActivity + func (s *ScalingActivity) SetServiceNamespace(v string) *ScalingActivity + func (s *ScalingActivity) SetStartTime(v time.Time) *ScalingActivity + func (s *ScalingActivity) SetStatusCode(v string) *ScalingActivity + func (s *ScalingActivity) SetStatusMessage(v string) *ScalingActivity + func (s ScalingActivity) GoString() string + func (s ScalingActivity) String() string + type ScalingPolicy struct + Alarms []*Alarm + CreationTime *time.Time + PolicyARN *string + PolicyName *string + PolicyType *string + ResourceId *string + ScalableDimension *string + ServiceNamespace *string + StepScalingPolicyConfiguration *StepScalingPolicyConfiguration + TargetTrackingScalingPolicyConfiguration *TargetTrackingScalingPolicyConfiguration + func (s *ScalingPolicy) SetAlarms(v []*Alarm) *ScalingPolicy + func (s *ScalingPolicy) SetCreationTime(v time.Time) *ScalingPolicy + func (s *ScalingPolicy) SetPolicyARN(v string) *ScalingPolicy + func (s *ScalingPolicy) SetPolicyName(v string) *ScalingPolicy + func (s *ScalingPolicy) SetPolicyType(v string) *ScalingPolicy + func (s *ScalingPolicy) SetResourceId(v string) *ScalingPolicy + func (s *ScalingPolicy) SetScalableDimension(v string) *ScalingPolicy + func (s *ScalingPolicy) SetServiceNamespace(v string) *ScalingPolicy + func (s *ScalingPolicy) SetStepScalingPolicyConfiguration(v *StepScalingPolicyConfiguration) *ScalingPolicy + func (s *ScalingPolicy) SetTargetTrackingScalingPolicyConfiguration(v *TargetTrackingScalingPolicyConfiguration) *ScalingPolicy + func (s ScalingPolicy) GoString() string + func (s ScalingPolicy) String() string + type StepAdjustment struct + MetricIntervalLowerBound *float64 + MetricIntervalUpperBound *float64 + ScalingAdjustment *int64 + func (s *StepAdjustment) SetMetricIntervalLowerBound(v float64) *StepAdjustment + func (s *StepAdjustment) SetMetricIntervalUpperBound(v float64) *StepAdjustment + func (s *StepAdjustment) SetScalingAdjustment(v int64) *StepAdjustment + func (s *StepAdjustment) Validate() error + func (s StepAdjustment) GoString() string + func (s StepAdjustment) String() string + type StepScalingPolicyConfiguration struct + AdjustmentType *string + Cooldown *int64 + MetricAggregationType *string + MinAdjustmentMagnitude *int64 + StepAdjustments []*StepAdjustment + func (s *StepScalingPolicyConfiguration) SetAdjustmentType(v string) *StepScalingPolicyConfiguration + func (s *StepScalingPolicyConfiguration) SetCooldown(v int64) *StepScalingPolicyConfiguration + func (s *StepScalingPolicyConfiguration) SetMetricAggregationType(v string) *StepScalingPolicyConfiguration + func (s *StepScalingPolicyConfiguration) SetMinAdjustmentMagnitude(v int64) *StepScalingPolicyConfiguration + func (s *StepScalingPolicyConfiguration) SetStepAdjustments(v []*StepAdjustment) *StepScalingPolicyConfiguration + func (s *StepScalingPolicyConfiguration) Validate() error + func (s StepScalingPolicyConfiguration) GoString() string + func (s StepScalingPolicyConfiguration) String() string + type TargetTrackingScalingPolicyConfiguration struct + CustomizedMetricSpecification *CustomizedMetricSpecification + DisableScaleIn *bool + PredefinedMetricSpecification *PredefinedMetricSpecification + ScaleInCooldown *int64 + ScaleOutCooldown *int64 + TargetValue *float64 + func (s *TargetTrackingScalingPolicyConfiguration) SetCustomizedMetricSpecification(v *CustomizedMetricSpecification) *TargetTrackingScalingPolicyConfiguration + func (s *TargetTrackingScalingPolicyConfiguration) SetDisableScaleIn(v bool) *TargetTrackingScalingPolicyConfiguration + func (s *TargetTrackingScalingPolicyConfiguration) SetPredefinedMetricSpecification(v *PredefinedMetricSpecification) *TargetTrackingScalingPolicyConfiguration + func (s *TargetTrackingScalingPolicyConfiguration) SetScaleInCooldown(v int64) *TargetTrackingScalingPolicyConfiguration + func (s *TargetTrackingScalingPolicyConfiguration) SetScaleOutCooldown(v int64) *TargetTrackingScalingPolicyConfiguration + func (s *TargetTrackingScalingPolicyConfiguration) SetTargetValue(v float64) *TargetTrackingScalingPolicyConfiguration + func (s *TargetTrackingScalingPolicyConfiguration) Validate() error + func (s TargetTrackingScalingPolicyConfiguration) GoString() string + func (s TargetTrackingScalingPolicyConfiguration) String() string