Documentation
¶
Index ¶
Constants ¶
View Source
const (
EC2_API_VERSION = "2014-06-15"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DescribeInstancesReq ¶
type DescribeInstancesReq struct {
EC2Req
}
func (*DescribeInstancesReq) Init ¶
func (this *DescribeInstancesReq) Init() *DescribeInstancesReq
type DescribeInstancesResp ¶
type DescribeInstancesResp struct { EC2Resp `xml:"-"` RequestId string `xml:"requestId"` ReservationSet ReservationSet `xml:"reservationSet"` NextToken string `xml:"nextToken"` }
func (*DescribeInstancesResp) Init ¶
func (this *DescribeInstancesResp) Init(req *DescribeInstancesReq, resp *http.Response) (*DescribeInstancesResp, error)
type EC2 ¶
type EC2 struct {
common.AWSService
}
func (*EC2) DescribeInstances ¶
func (this *EC2) DescribeInstances(req *DescribeInstancesReq) (resp *DescribeInstancesResp, err error)
type EC2Req ¶
type EC2Req struct {
common.AWSRequest
}
type EC2Resp ¶
type EC2Resp struct { common.AWSResponse Errors *Errors }
type Errors ¶
EC2 error handle: http://docs.aws.amazon.com/AWSEC2/latest/APIReference/api-error-codes.html
type ReservationSet ¶
type ReservationSet struct { }
Click to show internal directories.
Click to hide internal directories.