Documentation
¶
Index ¶
- Variables
- func GetEndpointMap() map[string]string
- func GetEndpointType() string
- func SetClientProperty(client *Client, propertyName string, propertyValue interface{})
- func SetEndpointDataToClient(client *Client)
- type AttachEaiRequest
- type AttachEaiResponse
- type Client
- func NewClient() (client *Client, err error)
- func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
- func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)
- func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
- func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
- func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
- func NewClientWithRamRoleArnAndPolicy(regionId string, ...) (client *Client, err error)
- func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
- func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
- func (client *Client) AttachEai(request *AttachEaiRequest) (response *AttachEaiResponse, err error)
- func (client *Client) AttachEaiWithCallback(request *AttachEaiRequest, ...) <-chan int
- func (client *Client) AttachEaiWithChan(request *AttachEaiRequest) (<-chan *AttachEaiResponse, <-chan error)
- func (client *Client) CreateEai(request *CreateEaiRequest) (response *CreateEaiResponse, err error)
- func (client *Client) CreateEaiAll(request *CreateEaiAllRequest) (response *CreateEaiAllResponse, err error)
- func (client *Client) CreateEaiAllWithCallback(request *CreateEaiAllRequest, ...) <-chan int
- func (client *Client) CreateEaiAllWithChan(request *CreateEaiAllRequest) (<-chan *CreateEaiAllResponse, <-chan error)
- func (client *Client) CreateEaiJupyter(request *CreateEaiJupyterRequest) (response *CreateEaiJupyterResponse, err error)
- func (client *Client) CreateEaiJupyterWithCallback(request *CreateEaiJupyterRequest, ...) <-chan int
- func (client *Client) CreateEaiJupyterWithChan(request *CreateEaiJupyterRequest) (<-chan *CreateEaiJupyterResponse, <-chan error)
- func (client *Client) CreateEaiWithCallback(request *CreateEaiRequest, ...) <-chan int
- func (client *Client) CreateEaiWithChan(request *CreateEaiRequest) (<-chan *CreateEaiResponse, <-chan error)
- func (client *Client) DeleteEai(request *DeleteEaiRequest) (response *DeleteEaiResponse, err error)
- func (client *Client) DeleteEaiAll(request *DeleteEaiAllRequest) (response *DeleteEaiAllResponse, err error)
- func (client *Client) DeleteEaiAllWithCallback(request *DeleteEaiAllRequest, ...) <-chan int
- func (client *Client) DeleteEaiAllWithChan(request *DeleteEaiAllRequest) (<-chan *DeleteEaiAllResponse, <-chan error)
- func (client *Client) DeleteEaiWithCallback(request *DeleteEaiRequest, ...) <-chan int
- func (client *Client) DeleteEaiWithChan(request *DeleteEaiRequest) (<-chan *DeleteEaiResponse, <-chan error)
- func (client *Client) DescribeEais(request *DescribeEaisRequest) (response *DescribeEaisResponse, err error)
- func (client *Client) DescribeEaisWithCallback(request *DescribeEaisRequest, ...) <-chan int
- func (client *Client) DescribeEaisWithChan(request *DescribeEaisRequest) (<-chan *DescribeEaisResponse, <-chan error)
- func (client *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
- func (client *Client) DescribeRegionsWithCallback(request *DescribeRegionsRequest, ...) <-chan int
- func (client *Client) DescribeRegionsWithChan(request *DescribeRegionsRequest) (<-chan *DescribeRegionsResponse, <-chan error)
- func (client *Client) DetachEai(request *DetachEaiRequest) (response *DetachEaiResponse, err error)
- func (client *Client) DetachEaiWithCallback(request *DetachEaiRequest, ...) <-chan int
- func (client *Client) DetachEaiWithChan(request *DetachEaiRequest) (<-chan *DetachEaiResponse, <-chan error)
- type CreateEaiAllRequest
- type CreateEaiAllResponse
- type CreateEaiJupyterEnvironmentVar
- type CreateEaiJupyterRequest
- type CreateEaiJupyterResponse
- type CreateEaiRequest
- type CreateEaiResponse
- type DeleteEaiAllRequest
- type DeleteEaiAllResponse
- type DeleteEaiRequest
- type DeleteEaiResponse
- type DescribeEaisRequest
- type DescribeEaisResponse
- type DescribeRegionsRequest
- type DescribeRegionsResponse
- type DetachEaiRequest
- type DetachEaiResponse
- type Instance
- type Instances
- type Region
- type Regions
- type Tag
- type Tags
Constants ¶
This section is empty.
Variables ¶
var EndpointMap map[string]string
EndpointMap Endpoint Data
var EndpointType = "regional"
EndpointType regional or central
Functions ¶
func SetClientProperty ¶
SetClientProperty Set Property by Reflect
func SetEndpointDataToClient ¶
func SetEndpointDataToClient(client *Client)
SetEndpointDataToClient Set EndpointMap and ENdpointType
Types ¶
type AttachEaiRequest ¶
type AttachEaiRequest struct { *requests.RpcRequest ClientInstanceId string `position:"Query" name:"ClientInstanceId"` ElasticAcceleratedInstanceId string `position:"Query" name:"ElasticAcceleratedInstanceId"` }
AttachEaiRequest is the request struct for api AttachEai
func CreateAttachEaiRequest ¶
func CreateAttachEaiRequest() (request *AttachEaiRequest)
CreateAttachEaiRequest creates a request to invoke AttachEai API
type AttachEaiResponse ¶
type AttachEaiResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` ElasticAcceleratedInstanceId string `json:"ElasticAcceleratedInstanceId" xml:"ElasticAcceleratedInstanceId"` ClientInstanceId string `json:"ClientInstanceId" xml:"ClientInstanceId"` }
AttachEaiResponse is the response struct for api AttachEai
func CreateAttachEaiResponse ¶
func CreateAttachEaiResponse() (response *AttachEaiResponse)
CreateAttachEaiResponse creates a response to parse from AttachEai response
type Client ¶
Client is the sdk client struct, each func corresponds to an OpenAPI
func NewClientWithAccessKey ¶
func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithEcsRamRole ¶
NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithOptions ¶
func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client
func NewClientWithProvider ¶
func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArn ¶
func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArnAndPolicy ¶
func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRsaKeyPair ¶
func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithStsToken ¶
func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func (*Client) AttachEai ¶
func (client *Client) AttachEai(request *AttachEaiRequest) (response *AttachEaiResponse, err error)
AttachEai invokes the eais.AttachEai API synchronously
func (*Client) AttachEaiWithCallback ¶
func (client *Client) AttachEaiWithCallback(request *AttachEaiRequest, callback func(response *AttachEaiResponse, err error)) <-chan int
AttachEaiWithCallback invokes the eais.AttachEai API asynchronously
func (*Client) AttachEaiWithChan ¶
func (client *Client) AttachEaiWithChan(request *AttachEaiRequest) (<-chan *AttachEaiResponse, <-chan error)
AttachEaiWithChan invokes the eais.AttachEai API asynchronously
func (*Client) CreateEai ¶
func (client *Client) CreateEai(request *CreateEaiRequest) (response *CreateEaiResponse, err error)
CreateEai invokes the eais.CreateEai API synchronously
func (*Client) CreateEaiAll ¶
func (client *Client) CreateEaiAll(request *CreateEaiAllRequest) (response *CreateEaiAllResponse, err error)
CreateEaiAll invokes the eais.CreateEaiAll API synchronously
func (*Client) CreateEaiAllWithCallback ¶
func (client *Client) CreateEaiAllWithCallback(request *CreateEaiAllRequest, callback func(response *CreateEaiAllResponse, err error)) <-chan int
CreateEaiAllWithCallback invokes the eais.CreateEaiAll API asynchronously
func (*Client) CreateEaiAllWithChan ¶
func (client *Client) CreateEaiAllWithChan(request *CreateEaiAllRequest) (<-chan *CreateEaiAllResponse, <-chan error)
CreateEaiAllWithChan invokes the eais.CreateEaiAll API asynchronously
func (*Client) CreateEaiJupyter ¶ added in v1.61.1801
func (client *Client) CreateEaiJupyter(request *CreateEaiJupyterRequest) (response *CreateEaiJupyterResponse, err error)
CreateEaiJupyter invokes the eais.CreateEaiJupyter API synchronously
func (*Client) CreateEaiJupyterWithCallback ¶ added in v1.61.1801
func (client *Client) CreateEaiJupyterWithCallback(request *CreateEaiJupyterRequest, callback func(response *CreateEaiJupyterResponse, err error)) <-chan int
CreateEaiJupyterWithCallback invokes the eais.CreateEaiJupyter API asynchronously
func (*Client) CreateEaiJupyterWithChan ¶ added in v1.61.1801
func (client *Client) CreateEaiJupyterWithChan(request *CreateEaiJupyterRequest) (<-chan *CreateEaiJupyterResponse, <-chan error)
CreateEaiJupyterWithChan invokes the eais.CreateEaiJupyter API asynchronously
func (*Client) CreateEaiWithCallback ¶
func (client *Client) CreateEaiWithCallback(request *CreateEaiRequest, callback func(response *CreateEaiResponse, err error)) <-chan int
CreateEaiWithCallback invokes the eais.CreateEai API asynchronously
func (*Client) CreateEaiWithChan ¶
func (client *Client) CreateEaiWithChan(request *CreateEaiRequest) (<-chan *CreateEaiResponse, <-chan error)
CreateEaiWithChan invokes the eais.CreateEai API asynchronously
func (*Client) DeleteEai ¶
func (client *Client) DeleteEai(request *DeleteEaiRequest) (response *DeleteEaiResponse, err error)
DeleteEai invokes the eais.DeleteEai API synchronously
func (*Client) DeleteEaiAll ¶
func (client *Client) DeleteEaiAll(request *DeleteEaiAllRequest) (response *DeleteEaiAllResponse, err error)
DeleteEaiAll invokes the eais.DeleteEaiAll API synchronously
func (*Client) DeleteEaiAllWithCallback ¶
func (client *Client) DeleteEaiAllWithCallback(request *DeleteEaiAllRequest, callback func(response *DeleteEaiAllResponse, err error)) <-chan int
DeleteEaiAllWithCallback invokes the eais.DeleteEaiAll API asynchronously
func (*Client) DeleteEaiAllWithChan ¶
func (client *Client) DeleteEaiAllWithChan(request *DeleteEaiAllRequest) (<-chan *DeleteEaiAllResponse, <-chan error)
DeleteEaiAllWithChan invokes the eais.DeleteEaiAll API asynchronously
func (*Client) DeleteEaiWithCallback ¶
func (client *Client) DeleteEaiWithCallback(request *DeleteEaiRequest, callback func(response *DeleteEaiResponse, err error)) <-chan int
DeleteEaiWithCallback invokes the eais.DeleteEai API asynchronously
func (*Client) DeleteEaiWithChan ¶
func (client *Client) DeleteEaiWithChan(request *DeleteEaiRequest) (<-chan *DeleteEaiResponse, <-chan error)
DeleteEaiWithChan invokes the eais.DeleteEai API asynchronously
func (*Client) DescribeEais ¶
func (client *Client) DescribeEais(request *DescribeEaisRequest) (response *DescribeEaisResponse, err error)
DescribeEais invokes the eais.DescribeEais API synchronously
func (*Client) DescribeEaisWithCallback ¶
func (client *Client) DescribeEaisWithCallback(request *DescribeEaisRequest, callback func(response *DescribeEaisResponse, err error)) <-chan int
DescribeEaisWithCallback invokes the eais.DescribeEais API asynchronously
func (*Client) DescribeEaisWithChan ¶
func (client *Client) DescribeEaisWithChan(request *DescribeEaisRequest) (<-chan *DescribeEaisResponse, <-chan error)
DescribeEaisWithChan invokes the eais.DescribeEais API asynchronously
func (*Client) DescribeRegions ¶
func (client *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
DescribeRegions invokes the eais.DescribeRegions API synchronously
func (*Client) DescribeRegionsWithCallback ¶
func (client *Client) DescribeRegionsWithCallback(request *DescribeRegionsRequest, callback func(response *DescribeRegionsResponse, err error)) <-chan int
DescribeRegionsWithCallback invokes the eais.DescribeRegions API asynchronously
func (*Client) DescribeRegionsWithChan ¶
func (client *Client) DescribeRegionsWithChan(request *DescribeRegionsRequest) (<-chan *DescribeRegionsResponse, <-chan error)
DescribeRegionsWithChan invokes the eais.DescribeRegions API asynchronously
func (*Client) DetachEai ¶
func (client *Client) DetachEai(request *DetachEaiRequest) (response *DetachEaiResponse, err error)
DetachEai invokes the eais.DetachEai API synchronously
func (*Client) DetachEaiWithCallback ¶
func (client *Client) DetachEaiWithCallback(request *DetachEaiRequest, callback func(response *DetachEaiResponse, err error)) <-chan int
DetachEaiWithCallback invokes the eais.DetachEai API asynchronously
func (*Client) DetachEaiWithChan ¶
func (client *Client) DetachEaiWithChan(request *DetachEaiRequest) (<-chan *DetachEaiResponse, <-chan error)
DetachEaiWithChan invokes the eais.DetachEai API asynchronously
type CreateEaiAllRequest ¶
type CreateEaiAllRequest struct { *requests.RpcRequest ClientImageId string `position:"Query" name:"ClientImageId"` ClientSystemDiskCategory string `position:"Query" name:"ClientSystemDiskCategory"` ClientInternetMaxBandwidthOut requests.Integer `position:"Query" name:"ClientInternetMaxBandwidthOut"` ClientToken string `position:"Query" name:"ClientToken"` ClientInstanceName string `position:"Query" name:"ClientInstanceName"` ClientInternetMaxBandwidthIn requests.Integer `position:"Query" name:"ClientInternetMaxBandwidthIn"` ClientSystemDiskSize requests.Integer `position:"Query" name:"ClientSystemDiskSize"` ClientVSwitchId string `position:"Query" name:"ClientVSwitchId"` ClientPassword string `position:"Query" name:"ClientPassword"` ClientInstanceType string `position:"Query" name:"ClientInstanceType"` ClientSecurityGroupId string `position:"Query" name:"ClientSecurityGroupId"` EaiInstanceType string `position:"Query" name:"EaiInstanceType"` ClientZoneId string `position:"Query" name:"ClientZoneId"` InstanceName string `position:"Query" name:"InstanceName"` }
CreateEaiAllRequest is the request struct for api CreateEaiAll
func CreateCreateEaiAllRequest ¶
func CreateCreateEaiAllRequest() (request *CreateEaiAllRequest)
CreateCreateEaiAllRequest creates a request to invoke CreateEaiAll API
type CreateEaiAllResponse ¶
type CreateEaiAllResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` ElasticAcceleratedInstanceId string `json:"ElasticAcceleratedInstanceId" xml:"ElasticAcceleratedInstanceId"` ClientInstanceId string `json:"ClientInstanceId" xml:"ClientInstanceId"` }
CreateEaiAllResponse is the response struct for api CreateEaiAll
func CreateCreateEaiAllResponse ¶
func CreateCreateEaiAllResponse() (response *CreateEaiAllResponse)
CreateCreateEaiAllResponse creates a response to parse from CreateEaiAll response
type CreateEaiJupyterEnvironmentVar ¶ added in v1.61.1824
CreateEaiJupyterEnvironmentVar is a repeated param struct in CreateEaiJupyterRequest
type CreateEaiJupyterRequest ¶ added in v1.61.1801
type CreateEaiJupyterRequest struct { *requests.RpcRequest ClientToken string `position:"Query" name:"ClientToken"` SecurityGroupId string `position:"Query" name:"SecurityGroupId"` EaisType string `position:"Query" name:"EaisType"` VSwitchId string `position:"Query" name:"VSwitchId"` EnvironmentVar *[]CreateEaiJupyterEnvironmentVar `position:"Query" name:"EnvironmentVar" type:"Json"` }
CreateEaiJupyterRequest is the request struct for api CreateEaiJupyter
func CreateCreateEaiJupyterRequest ¶ added in v1.61.1801
func CreateCreateEaiJupyterRequest() (request *CreateEaiJupyterRequest)
CreateCreateEaiJupyterRequest creates a request to invoke CreateEaiJupyter API
type CreateEaiJupyterResponse ¶ added in v1.61.1801
type CreateEaiJupyterResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` ElasticAcceleratedInstanceId string `json:"ElasticAcceleratedInstanceId" xml:"ElasticAcceleratedInstanceId"` }
CreateEaiJupyterResponse is the response struct for api CreateEaiJupyter
func CreateCreateEaiJupyterResponse ¶ added in v1.61.1801
func CreateCreateEaiJupyterResponse() (response *CreateEaiJupyterResponse)
CreateCreateEaiJupyterResponse creates a response to parse from CreateEaiJupyter response
type CreateEaiRequest ¶
type CreateEaiRequest struct { *requests.RpcRequest ClientToken string `position:"Query" name:"ClientToken"` SecurityGroupId string `position:"Query" name:"SecurityGroupId"` VSwitchId string `position:"Query" name:"VSwitchId"` InstanceName string `position:"Query" name:"InstanceName"` InstanceType string `position:"Query" name:"InstanceType"` }
CreateEaiRequest is the request struct for api CreateEai
func CreateCreateEaiRequest ¶
func CreateCreateEaiRequest() (request *CreateEaiRequest)
CreateCreateEaiRequest creates a request to invoke CreateEai API
type CreateEaiResponse ¶
type CreateEaiResponse struct { *responses.BaseResponse ElasticAcceleratedInstanceId string `json:"ElasticAcceleratedInstanceId" xml:"ElasticAcceleratedInstanceId"` RequestId string `json:"RequestId" xml:"RequestId"` }
CreateEaiResponse is the response struct for api CreateEai
func CreateCreateEaiResponse ¶
func CreateCreateEaiResponse() (response *CreateEaiResponse)
CreateCreateEaiResponse creates a response to parse from CreateEai response
type DeleteEaiAllRequest ¶
type DeleteEaiAllRequest struct { *requests.RpcRequest ClientInstanceId string `position:"Query" name:"ClientInstanceId"` ElasticAcceleratedInstanceId string `position:"Query" name:"ElasticAcceleratedInstanceId"` }
DeleteEaiAllRequest is the request struct for api DeleteEaiAll
func CreateDeleteEaiAllRequest ¶
func CreateDeleteEaiAllRequest() (request *DeleteEaiAllRequest)
CreateDeleteEaiAllRequest creates a request to invoke DeleteEaiAll API
type DeleteEaiAllResponse ¶
type DeleteEaiAllResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteEaiAllResponse is the response struct for api DeleteEaiAll
func CreateDeleteEaiAllResponse ¶
func CreateDeleteEaiAllResponse() (response *DeleteEaiAllResponse)
CreateDeleteEaiAllResponse creates a response to parse from DeleteEaiAll response
type DeleteEaiRequest ¶
type DeleteEaiRequest struct { *requests.RpcRequest ElasticAcceleratedInstanceId string `position:"Query" name:"ElasticAcceleratedInstanceId"` Force requests.Boolean `position:"Query" name:"Force"` }
DeleteEaiRequest is the request struct for api DeleteEai
func CreateDeleteEaiRequest ¶
func CreateDeleteEaiRequest() (request *DeleteEaiRequest)
CreateDeleteEaiRequest creates a request to invoke DeleteEai API
type DeleteEaiResponse ¶
type DeleteEaiResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteEaiResponse is the response struct for api DeleteEai
func CreateDeleteEaiResponse ¶
func CreateDeleteEaiResponse() (response *DeleteEaiResponse)
CreateDeleteEaiResponse creates a response to parse from DeleteEai response
type DescribeEaisRequest ¶
type DescribeEaisRequest struct { *requests.RpcRequest ElasticAcceleratedInstanceIds string `position:"Query" name:"ElasticAcceleratedInstanceIds"` PageNumber requests.Integer `position:"Query" name:"PageNumber"` InstanceName string `position:"Query" name:"InstanceName"` PageSize requests.Integer `position:"Query" name:"PageSize"` InstanceType string `position:"Query" name:"InstanceType"` Status string `position:"Query" name:"Status"` }
DescribeEaisRequest is the request struct for api DescribeEais
func CreateDescribeEaisRequest ¶
func CreateDescribeEaisRequest() (request *DescribeEaisRequest)
CreateDescribeEaisRequest creates a request to invoke DescribeEais API
type DescribeEaisResponse ¶
type DescribeEaisResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` PageNumber int `json:"PageNumber" xml:"PageNumber"` PageSize int `json:"PageSize" xml:"PageSize"` TotalCount int `json:"TotalCount" xml:"TotalCount"` Instances Instances `json:"Instances" xml:"Instances"` }
DescribeEaisResponse is the response struct for api DescribeEais
func CreateDescribeEaisResponse ¶
func CreateDescribeEaisResponse() (response *DescribeEaisResponse)
CreateDescribeEaisResponse creates a response to parse from DescribeEais response
type DescribeRegionsRequest ¶
type DescribeRegionsRequest struct {
*requests.RpcRequest
}
DescribeRegionsRequest is the request struct for api DescribeRegions
func CreateDescribeRegionsRequest ¶
func CreateDescribeRegionsRequest() (request *DescribeRegionsRequest)
CreateDescribeRegionsRequest creates a request to invoke DescribeRegions API
type DescribeRegionsResponse ¶
type DescribeRegionsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Regions Regions `json:"Regions" xml:"Regions"` }
DescribeRegionsResponse is the response struct for api DescribeRegions
func CreateDescribeRegionsResponse ¶
func CreateDescribeRegionsResponse() (response *DescribeRegionsResponse)
CreateDescribeRegionsResponse creates a response to parse from DescribeRegions response
type DetachEaiRequest ¶
type DetachEaiRequest struct { *requests.RpcRequest ElasticAcceleratedInstanceId string `position:"Query" name:"ElasticAcceleratedInstanceId"` }
DetachEaiRequest is the request struct for api DetachEai
func CreateDetachEaiRequest ¶
func CreateDetachEaiRequest() (request *DetachEaiRequest)
CreateDetachEaiRequest creates a request to invoke DetachEai API
type DetachEaiResponse ¶
type DetachEaiResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DetachEaiResponse is the response struct for api DetachEai
func CreateDetachEaiResponse ¶
func CreateDetachEaiResponse() (response *DetachEaiResponse)
CreateDetachEaiResponse creates a response to parse from DetachEai response
type Instance ¶
type Instance struct { Status string `json:"Status" xml:"Status"` CreationTime string `json:"CreationTime" xml:"CreationTime"` ClientInstanceName string `json:"ClientInstanceName" xml:"ClientInstanceName"` Description string `json:"Description" xml:"Description"` ElasticAcceleratedInstanceId string `json:"ElasticAcceleratedInstanceId" xml:"ElasticAcceleratedInstanceId"` InstanceName string `json:"InstanceName" xml:"InstanceName"` ClientInstanceType string `json:"ClientInstanceType" xml:"ClientInstanceType"` ClientInstanceId string `json:"ClientInstanceId" xml:"ClientInstanceId"` ZoneId string `json:"ZoneId" xml:"ZoneId"` InstanceType string `json:"InstanceType" xml:"InstanceType"` RegionId string `json:"RegionId" xml:"RegionId"` Category string `json:"Category" xml:"Category"` JupyterUrl string `json:"JupyterUrl" xml:"JupyterUrl"` VSwitchId string `json:"VSwitchId" xml:"VSwitchId"` SecurityGroupId string `json:"SecurityGroupId" xml:"SecurityGroupId"` StartTime string `json:"StartTime" xml:"StartTime"` Tags Tags `json:"Tags" xml:"Tags"` }
Instance is a nested struct in eais response
type Instances ¶
type Instances struct {
Instance []Instance `json:"Instance" xml:"Instance"`
}
Instances is a nested struct in eais response
type Region ¶
type Region struct { RegionEndpoint string `json:"RegionEndpoint" xml:"RegionEndpoint"` LocalName string `json:"LocalName" xml:"LocalName"` RegionId string `json:"RegionId" xml:"RegionId"` }
Region is a nested struct in eais response
type Regions ¶
type Regions struct {
Region []Region `json:"Region" xml:"Region"`
}
Regions is a nested struct in eais response