ess

package
v0.0.0-...-0b043e4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Product = "Ess"
	Style   = "RPC"
	Version = "2014-08-28"
)

Variables

This section is empty.

Functions

func NewParams

func NewParams() openapi.Params

Types

type API

type API struct {
	openapi.Service
}

func New

func New(accessKeyId, accessKeySecret string) API

func (API) AttachInstances

func (api API) AttachInstances(InstanceId1, ScalingGroupId string, optional openapi.M) (*AttachInstancesResponse, error)

AttachInstances version 2014-08-28

required parameters:

name: InstanceId.1, type: string
name: ScalingGroupId, type: string

optional parameters:

name: InstanceId.10, type: string
name: InstanceId.11, type: string
name: InstanceId.12, type: string
name: InstanceId.13, type: string
name: InstanceId.14, type: string
name: InstanceId.15, type: string
name: InstanceId.16, type: string
name: InstanceId.17, type: string
name: InstanceId.18, type: string
name: InstanceId.19, type: string
name: InstanceId.2, type: string
name: InstanceId.20, type: string
name: InstanceId.3, type: string
name: InstanceId.4, type: string
name: InstanceId.5, type: string
name: InstanceId.6, type: string
name: InstanceId.7, type: string
name: InstanceId.8, type: string
name: InstanceId.9, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) CreateScalingConfiguration

func (api API) CreateScalingConfiguration(ImageId, InstanceType, ScalingGroupId, SecurityGroupId string, optional openapi.M) (*CreateScalingConfigurationResponse, error)

CreateScalingConfiguration version 2014-08-28

required parameters:

name: ImageId, type: string
name: InstanceType, type: string
name: ScalingGroupId, type: string
name: SecurityGroupId, type: string

optional parameters:

name: DataDisk.1.Category, type: string
name: DataDisk.1.DeleteWithInstance, type: string
name: DataDisk.1.Device, type: string
name: DataDisk.1.Size, type: int, min value: 5, max value: 2000
name: DataDisk.1.SnapshotId, type: string
name: DataDisk.2.Category, type: string
name: DataDisk.2.DeleteWithInstance, type: string
name: DataDisk.2.Device, type: string
name: DataDisk.2.Size, type: int, min value: 5, max value: 2000
name: DataDisk.2.SnapshotId, type: string
name: DataDisk.3.Category, type: string
name: DataDisk.3.DeleteWithInstance, type: string
name: DataDisk.3.Device, type: string
name: DataDisk.3.Size, type: int
name: DataDisk.3.SnapshotId, type: string
name: DataDisk.4.Category, type: string
name: DataDisk.4.DeleteWithInstance, type: string
name: DataDisk.4.Device, type: string
name: DataDisk.4.Size, type: int
name: DataDisk.4.SnapshotId, type: string
name: InternetChargeType, type: string
name: InternetMaxBandwidthIn, type: int
name: InternetMaxBandwidthOut, type: int
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: ScalingConfigurationName, type: string
name: SystemDisk.Category, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) CreateScalingGroup

func (api API) CreateScalingGroup(MaxSize, MinSize int, optional openapi.M) (*CreateScalingGroupResponse, error)

CreateScalingGroup version 2014-08-28

required parameters:

name: MaxSize, type: int
name: MinSize, type: int

optional parameters:

name: DBInstanceId.1, type: string
name: DBInstanceId.2, type: string
name: DBInstanceId.3, type: string
name: DefaultCooldown, type: int
name: LoadBalancerId, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: RemovalPolicy.1, type: string
name: RemovalPolicy.2, type: string
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: ScalingGroupName, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) CreateScalingRule

func (api API) CreateScalingRule(AdjustmentType string, AdjustmentValue int, ScalingGroupId string, optional openapi.M) (*CreateScalingRuleResponse, error)

CreateScalingRule version 2014-08-28

required parameters:

name: AdjustmentType, type: string
name: AdjustmentValue, type: int
name: ScalingGroupId, type: string

optional parameters:

name: Cooldown, type: int
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: ScalingRuleName, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) CreateScheduledTask

func (api API) CreateScheduledTask(ScheduledAction string, optional openapi.M) (*CreateScheduledTaskResponse, error)

CreateScheduledTask version 2014-08-28

required parameters:

name: ScheduledAction, type: string

optional parameters:

name: Description, type: string
name: LaunchExpirationTime, type: int, min value: 0, max value: 86400
name: LaunchTime, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: RecurrenceEndTime, type: string
name: RecurrenceType, type: string
name: RecurrenceValue, type: string
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: ScheduledTaskName, type: string
name: TaskEnabled, type: bool
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DeleteScalingConfiguration

func (api API) DeleteScalingConfiguration(ScalingConfigurationId string, optional openapi.M) (*openapi.Response, error)

DeleteScalingConfiguration version 2014-08-28

required parameters:

name: ScalingConfigurationId, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DeleteScalingGroup

func (api API) DeleteScalingGroup(ScalingGroupId string, optional openapi.M) (*openapi.Response, error)

DeleteScalingGroup version 2014-08-28

required parameters:

name: ScalingGroupId, type: string

optional parameters:

name: ForceDelete, type: bool
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DeleteScalingRule

func (api API) DeleteScalingRule(ScalingRuleId string, optional openapi.M) (*openapi.Response, error)

DeleteScalingRule version 2014-08-28

required parameters:

name: ScalingRuleId, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DeleteScheduledTask

func (api API) DeleteScheduledTask(ScheduledTaskId string, optional openapi.M) (*openapi.Response, error)

DeleteScheduledTask version 2014-08-28

required parameters:

name: ScheduledTaskId, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeScalingActivities

func (api API) DescribeScalingActivities(optional openapi.M) (*DescribeScalingActivitiesResponse, error)

DescribeScalingActivities version 2014-08-28

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: PageNumber, type: int
name: PageSize, type: int, max value: 50
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: ScalingActivityId.1, type: string
name: ScalingActivityId.10, type: string
name: ScalingActivityId.11, type: string
name: ScalingActivityId.12, type: string
name: ScalingActivityId.13, type: string
name: ScalingActivityId.14, type: string
name: ScalingActivityId.15, type: string
name: ScalingActivityId.16, type: string
name: ScalingActivityId.17, type: string
name: ScalingActivityId.18, type: string
name: ScalingActivityId.19, type: string
name: ScalingActivityId.2, type: string
name: ScalingActivityId.20, type: string
name: ScalingActivityId.3, type: string
name: ScalingActivityId.4, type: string
name: ScalingActivityId.5, type: string
name: ScalingActivityId.6, type: string
name: ScalingActivityId.7, type: string
name: ScalingActivityId.8, type: string
name: ScalingActivityId.9, type: string
name: ScalingGroupId, type: string
name: StatusCode, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeScalingConfigurations

func (api API) DescribeScalingConfigurations(optional openapi.M) (*DescribeScalingConfigurationsResponse, error)

DescribeScalingConfigurations version 2014-08-28

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: PageNumber, type: int
name: PageSize, type: int, max value: 50
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: ScalingConfigurationId.1, type: string
name: ScalingConfigurationId.10, type: string
name: ScalingConfigurationId.2, type: string
name: ScalingConfigurationId.3, type: string
name: ScalingConfigurationId.4, type: string
name: ScalingConfigurationId.5, type: string
name: ScalingConfigurationId.6, type: string
name: ScalingConfigurationId.7, type: string
name: ScalingConfigurationId.8, type: string
name: ScalingConfigurationId.9, type: string
name: ScalingConfigurationName.1, type: string
name: ScalingConfigurationName.10, type: string
name: ScalingConfigurationName.2, type: string
name: ScalingConfigurationName.3, type: string
name: ScalingConfigurationName.4, type: string
name: ScalingConfigurationName.5, type: string
name: ScalingConfigurationName.6, type: string
name: ScalingConfigurationName.7, type: string
name: ScalingConfigurationName.8, type: string
name: ScalingConfigurationName.9, type: string
name: ScalingGroupId, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeScalingGroups

func (api API) DescribeScalingGroups(optional openapi.M) (*DescribeScalingGroupsResponse, error)

DescribeScalingGroups version 2014-08-28

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: PageNumber, type: int, min value: 1
name: PageSize, type: int, max value: 50
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: ScalingGroupId.1, type: string
name: ScalingGroupId.10, type: string
name: ScalingGroupId.12, type: string
name: ScalingGroupId.13, type: string
name: ScalingGroupId.14, type: string
name: ScalingGroupId.15, type: string
name: ScalingGroupId.16, type: string
name: ScalingGroupId.17, type: string
name: ScalingGroupId.18, type: string
name: ScalingGroupId.19, type: string
name: ScalingGroupId.2, type: string
name: ScalingGroupId.20, type: string
name: ScalingGroupId.3, type: string
name: ScalingGroupId.4, type: string
name: ScalingGroupId.5, type: string
name: ScalingGroupId.6, type: string
name: ScalingGroupId.7, type: string
name: ScalingGroupId.8, type: string
name: ScalingGroupId.9, type: string
name: ScalingGroupName.1, type: string
name: ScalingGroupName.10, type: string
name: ScalingGroupName.11, type: string
name: ScalingGroupName.12, type: string
name: ScalingGroupName.13, type: string
name: ScalingGroupName.14, type: string
name: ScalingGroupName.15, type: string
name: ScalingGroupName.16, type: string
name: ScalingGroupName.17, type: string
name: ScalingGroupName.18, type: string
name: ScalingGroupName.19, type: string
name: ScalingGroupName.2, type: string
name: ScalingGroupName.20, type: string
name: ScalingGroupName.3, type: string
name: ScalingGroupName.4, type: string
name: ScalingGroupName.5, type: string
name: ScalingGroupName.6, type: string
name: ScalingGroupName.7, type: string
name: ScalingGroupName.8, type: string
name: ScalingGroupName.9, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeScalingInstances

func (api API) DescribeScalingInstances(optional openapi.M) (*DescribeScalingInstancesResponse, error)

DescribeScalingInstances version 2014-08-28

optional parameters:

name: CreationType, type: string
name: HealthStatus, type: string
name: InstanceId.1, type: string
name: InstanceId.10, type: string
name: InstanceId.11, type: string
name: InstanceId.12, type: string
name: InstanceId.13, type: string
name: InstanceId.14, type: string
name: InstanceId.15, type: string
name: InstanceId.16, type: string
name: InstanceId.17, type: string
name: InstanceId.18, type: string
name: InstanceId.19, type: string
name: InstanceId.2, type: string
name: InstanceId.20, type: string
name: InstanceId.3, type: string
name: InstanceId.4, type: string
name: InstanceId.5, type: string
name: InstanceId.6, type: string
name: InstanceId.7, type: string
name: InstanceId.8, type: string
name: InstanceId.9, type: string
name: LifecycleState, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: PageNumber, type: int
name: PageSize, type: int, max value: 50
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: ScalingConfigurationId, type: string
name: ScalingGroupId, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeScalingRules

func (api API) DescribeScalingRules(optional openapi.M) (*DescribeScalingRulesResponse, error)

DescribeScalingRules version 2014-08-28

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: PageNumber, type: int
name: PageSize, type: int, max value: 50
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: ScalingGroupId, type: string
name: ScalingRuleAri.1, type: string
name: ScalingRuleAri.10, type: string
name: ScalingRuleAri.2, type: string
name: ScalingRuleAri.3, type: string
name: ScalingRuleAri.4, type: string
name: ScalingRuleAri.5, type: string
name: ScalingRuleAri.6, type: string
name: ScalingRuleAri.7, type: string
name: ScalingRuleAri.8, type: string
name: ScalingRuleAri.9, type: string
name: ScalingRuleId.1, type: string
name: ScalingRuleId.10, type: string
name: ScalingRuleId.2, type: string
name: ScalingRuleId.3, type: string
name: ScalingRuleId.4, type: string
name: ScalingRuleId.5, type: string
name: ScalingRuleId.6, type: string
name: ScalingRuleId.7, type: string
name: ScalingRuleId.8, type: string
name: ScalingRuleId.9, type: string
name: ScalingRuleName.1, type: string
name: ScalingRuleName.10, type: string
name: ScalingRuleName.2, type: string
name: ScalingRuleName.3, type: string
name: ScalingRuleName.4, type: string
name: ScalingRuleName.5, type: string
name: ScalingRuleName.6, type: string
name: ScalingRuleName.7, type: string
name: ScalingRuleName.8, type: string
name: ScalingRuleName.9, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeScheduledTasks

func (api API) DescribeScheduledTasks(optional openapi.M) (*DescribeScheduledTasksResponse, error)

DescribeScheduledTasks version 2014-08-28

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: PageNumber, type: int
name: PageSize, type: int, max value: 50
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: ScheduledAction.1, type: string
name: ScheduledAction.10, type: string
name: ScheduledAction.11, type: string
name: ScheduledAction.12, type: string
name: ScheduledAction.13, type: string
name: ScheduledAction.14, type: string
name: ScheduledAction.15, type: string
name: ScheduledAction.16, type: string
name: ScheduledAction.17, type: string
name: ScheduledAction.18, type: string
name: ScheduledAction.19, type: string
name: ScheduledAction.2, type: string
name: ScheduledAction.20, type: string
name: ScheduledAction.3, type: string
name: ScheduledAction.4, type: string
name: ScheduledAction.5, type: string
name: ScheduledAction.6, type: string
name: ScheduledAction.7, type: string
name: ScheduledAction.8, type: string
name: ScheduledAction.9, type: string
name: ScheduledTaskId.1, type: string
name: ScheduledTaskId.10, type: string
name: ScheduledTaskId.11, type: string
name: ScheduledTaskId.12, type: string
name: ScheduledTaskId.13, type: string
name: ScheduledTaskId.14, type: string
name: ScheduledTaskId.15, type: string
name: ScheduledTaskId.16, type: string
name: ScheduledTaskId.17, type: string
name: ScheduledTaskId.18, type: string
name: ScheduledTaskId.19, type: string
name: ScheduledTaskId.2, type: string
name: ScheduledTaskId.20, type: string
name: ScheduledTaskId.3, type: string
name: ScheduledTaskId.4, type: string
name: ScheduledTaskId.5, type: string
name: ScheduledTaskId.6, type: string
name: ScheduledTaskId.7, type: string
name: ScheduledTaskId.8, type: string
name: ScheduledTaskId.9, type: string
name: ScheduledTaskName.1, type: string
name: ScheduledTaskName.10, type: string
name: ScheduledTaskName.11, type: string
name: ScheduledTaskName.12, type: string
name: ScheduledTaskName.13, type: string
name: ScheduledTaskName.14, type: string
name: ScheduledTaskName.15, type: string
name: ScheduledTaskName.16, type: string
name: ScheduledTaskName.17, type: string
name: ScheduledTaskName.18, type: string
name: ScheduledTaskName.19, type: string
name: ScheduledTaskName.2, type: string
name: ScheduledTaskName.20, type: string
name: ScheduledTaskName.3, type: string
name: ScheduledTaskName.4, type: string
name: ScheduledTaskName.5, type: string
name: ScheduledTaskName.6, type: string
name: ScheduledTaskName.7, type: string
name: ScheduledTaskName.8, type: string
name: ScheduledTaskName.9, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DetachInstances

func (api API) DetachInstances(InstanceId1, ScalingGroupId string, optional openapi.M) (*DetachInstancesResponse, error)

DetachInstances version 2014-08-28

required parameters:

name: InstanceId.1, type: string
name: ScalingGroupId, type: string

optional parameters:

name: InstanceId.10, type: string
name: InstanceId.11, type: string
name: InstanceId.12, type: string
name: InstanceId.13, type: string
name: InstanceId.14, type: string
name: InstanceId.15, type: string
name: InstanceId.16, type: string
name: InstanceId.17, type: string
name: InstanceId.18, type: string
name: InstanceId.19, type: string
name: InstanceId.2, type: string
name: InstanceId.20, type: string
name: InstanceId.3, type: string
name: InstanceId.4, type: string
name: InstanceId.5, type: string
name: InstanceId.6, type: string
name: InstanceId.7, type: string
name: InstanceId.8, type: string
name: InstanceId.9, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DisableScalingGroup

func (api API) DisableScalingGroup(ScalingGroupId string, optional openapi.M) (*openapi.Response, error)

DisableScalingGroup version 2014-08-28

required parameters:

name: ScalingGroupId, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) EnableScalingGroup

func (api API) EnableScalingGroup(ScalingGroupId string, optional openapi.M) (*openapi.Response, error)

EnableScalingGroup version 2014-08-28

required parameters:

name: ScalingGroupId, type: string

optional parameters:

name: ActiveScalingConfigurationId, type: string
name: InstanceId.1, type: string
name: InstanceId.10, type: string
name: InstanceId.11, type: string
name: InstanceId.12, type: string
name: InstanceId.13, type: string
name: InstanceId.14, type: string
name: InstanceId.15, type: string
name: InstanceId.16, type: string
name: InstanceId.17, type: string
name: InstanceId.18, type: string
name: InstanceId.19, type: string
name: InstanceId.2, type: string
name: InstanceId.20, type: string
name: InstanceId.3, type: string
name: InstanceId.4, type: string
name: InstanceId.5, type: string
name: InstanceId.6, type: string
name: InstanceId.7, type: string
name: InstanceId.8, type: string
name: InstanceId.9, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) ExecuteScalingRule

func (api API) ExecuteScalingRule(ScalingRuleAri string, optional openapi.M) (*ExecuteScalingRuleResponse, error)

ExecuteScalingRule version 2014-08-28

required parameters:

name: ScalingRuleAri, type: string

optional parameters:

name: ClientToken, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) ModifyScalingGroup

func (api API) ModifyScalingGroup(ScalingGroupId string, optional openapi.M) (*openapi.Response, error)

ModifyScalingGroup version 2014-08-28

required parameters:

name: ScalingGroupId, type: string

optional parameters:

name: ActiveScalingConfigurationId, type: string
name: DefaultCooldown, type: int, min value: 0, max value: 86400
name: MaxSize, type: int
name: MinSize, type: int
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: RemovalPolicy.1, type: string
name: RemovalPolicy.2, type: string
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: ScalingGroupName, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) ModifyScalingRule

func (api API) ModifyScalingRule(ScalingRuleId string, optional openapi.M) (*openapi.Response, error)

ModifyScalingRule version 2014-08-28

required parameters:

name: ScalingRuleId, type: string

optional parameters:

name: AdjustmentType, type: string
name: AdjustmentValue, type: int
name: Cooldown, type: int
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: ScalingRuleName, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) ModifyScheduledTask

func (api API) ModifyScheduledTask(ScheduledTaskId string, optional openapi.M) (*openapi.Response, error)

ModifyScheduledTask version 2014-08-28

required parameters:

name: ScheduledTaskId, type: string

optional parameters:

name: Description, type: string
name: LaunchExpirationTime, type: int, min value: 0, max value: 86400
name: LaunchTime, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: RecurrenceEndTime, type: string
name: RecurrenceType, type: string
name: RecurrenceValue, type: string
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: ScheduledAction, type: string
name: ScheduledTaskName, type: string
name: TaskEnabled, type: bool
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) RemoveInstances

func (api API) RemoveInstances(InstanceId1, ScalingGroupId string, optional openapi.M) (*RemoveInstancesResponse, error)

RemoveInstances version 2014-08-28

required parameters:

name: InstanceId.1, type: string
name: ScalingGroupId, type: string

optional parameters:

name: InstanceId.10, type: string
name: InstanceId.11, type: string
name: InstanceId.12, type: string
name: InstanceId.13, type: string
name: InstanceId.14, type: string
name: InstanceId.15, type: string
name: InstanceId.16, type: string
name: InstanceId.17, type: string
name: InstanceId.18, type: string
name: InstanceId.19, type: string
name: InstanceId.2, type: string
name: InstanceId.20, type: string
name: InstanceId.3, type: string
name: InstanceId.4, type: string
name: InstanceId.5, type: string
name: InstanceId.6, type: string
name: InstanceId.7, type: string
name: InstanceId.8, type: string
name: InstanceId.9, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

type AttachInstancesResponse

type AttachInstancesResponse struct {
	ScalingActivityId string
}

AttachInstancesResponse represents the response of the api AttachInstances.

type CreateScalingConfigurationResponse

type CreateScalingConfigurationResponse struct {
	ScalingConfigurationId string
}

CreateScalingConfigurationResponse represents the response of the api CreateScalingConfiguration.

type CreateScalingGroupResponse

type CreateScalingGroupResponse struct {
	ScalingGroupId string
}

CreateScalingGroupResponse represents the response of the api CreateScalingGroup.

type CreateScalingRuleResponse

type CreateScalingRuleResponse struct {
	ScalingRuleAri string
	ScalingRuleId  string
}

CreateScalingRuleResponse represents the response of the api CreateScalingRule.

type CreateScheduledTaskResponse

type CreateScheduledTaskResponse struct {
	ScheduledTaskId string
}

CreateScheduledTaskResponse represents the response of the api CreateScheduledTask.

type DescribeScalingActivitiesResponse

type DescribeScalingActivitiesResponse struct {
	PageNumber        int
	PageSize          int
	ScalingActivities struct {
		ScalingActivity []struct {
			Cause             string
			Description       string
			EndTime           string
			Progress          int
			ScalingActivityId string
			ScalingGroupId    string
			StartTime         string
			StatusCode        string
			StatusMessage     string
		}
	}
	TotalCount int
}

DescribeScalingActivitiesResponse represents the response of the api DescribeScalingActivities.

type DescribeScalingConfigurationsResponse

type DescribeScalingConfigurationsResponse struct {
	PageNumber            int
	PageSize              int
	ScalingConfigurations struct {
		ScalingConfiguration []struct {
			CreationTime string
			DataDisks    struct {
				DataDisk []struct {
					Category   string
					Device     string
					Size       int
					SnapshotId string
				}
			}
			ImageId                  string
			InstanceType             string
			InternetChargeType       string
			InternetMaxBandwidthIn   int
			InternetMaxBandwidthOut  int
			LifecycleState           string
			ScalingConfigurationId   string
			ScalingConfigurationName string
			ScalingGroupId           string
			SecurityGroupId          string
			SystemDiskCategory       string
		}
	}
	TotalCount int
}

DescribeScalingConfigurationsResponse represents the response of the api DescribeScalingConfigurations.

type DescribeScalingGroupsResponse

type DescribeScalingGroupsResponse struct {
	PageNumber    int
	PageSize      int
	ScalingGroups struct {
		ScalingGroup []struct {
			ActiveCapacity               int
			ActiveScalingConfigurationId string
			CreationTime                 string
			DefaultCooldown              int
			LifecycleState               string
			LoadBalancerId               string
			MaxSize                      int
			MinSize                      int
			PendingCapacity              int
			RegionId                     string
			RemovingCapacity             int
			ScalingGroupId               string
			ScalingGroupName             string
			TotalCapacity                int
		}
	}
	TotalCount int
}

DescribeScalingGroupsResponse represents the response of the api DescribeScalingGroups.

type DescribeScalingInstancesResponse

type DescribeScalingInstancesResponse struct {
	PageNumber       int
	PageSize         int
	ScalingInstances struct {
		ScalingInstance []struct {
			CreationTime           string
			CreationType           string
			HealthStatus           string
			InstanceId             string
			LifecycleState         string
			ScalingConfigurationId string
			ScalingGroupId         string
		}
	}
	TotalCount int
}

DescribeScalingInstancesResponse represents the response of the api DescribeScalingInstances.

type DescribeScalingRulesResponse

type DescribeScalingRulesResponse struct {
	PageNumber   int
	PageSize     int
	ScalingRules struct {
		ScalingRule []struct {
			AdjustmentType  string
			AdjustmentValue int
			Cooldown        int
			MaxSize         int
			MinSize         int
			ScalingGroupId  string
			ScalingRuleAri  string
			ScalingRuleId   string
			ScalingRuleName string
		}
	}
	TotalCount int
}

DescribeScalingRulesResponse represents the response of the api DescribeScalingRules.

type DescribeScheduledTasksResponse

type DescribeScheduledTasksResponse struct {
	PageNumber     int
	PageSize       int
	ScheduledTasks struct {
		ScheduledTask []struct {
			Description          string
			LaunchExpirationTime int
			LaunchTime           string
			RecurrenceEndTime    string
			RecurrenceType       string
			RecurrenceValue      string
			ScheduledAction      string
			ScheduledTaskId      string
			ScheduledTaskName    string
			TaskEnabled          bool
		}
	}
	TotalCount int
}

DescribeScheduledTasksResponse represents the response of the api DescribeScheduledTasks.

type DetachInstancesResponse

type DetachInstancesResponse struct {
	ScalingActivityId string
}

DetachInstancesResponse represents the response of the api DetachInstances.

type ExecuteScalingRuleResponse

type ExecuteScalingRuleResponse struct {
	ScalingActivityId string
}

ExecuteScalingRuleResponse represents the response of the api ExecuteScalingRule.

type RemoveInstancesResponse

type RemoveInstancesResponse struct {
	ScalingActivityId string
}

RemoveInstancesResponse represents the response of the api RemoveInstances.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL