github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/vpc/delete_bandwidth_package.go (about) 1 package vpc 2 3 import ( 4 github_com_morlay_goqcloud "github.com/morlay/goqcloud" 5 ) 6 7 // 删除共享带宽包 8 // https://cloud.tencent.com/document/api/215/19211 9 10 type DeleteBandwidthPackageRequest struct { 11 // 待删除带宽包bwpId 12 BandwidthPackageId string `name:"BandwidthPackageId"` 13 // 区域 14 Region string `name:"Region"` 15 } 16 17 func (req *DeleteBandwidthPackageRequest) Invoke(client github_com_morlay_goqcloud.Client) (*DeleteBandwidthPackageResponse, error) { 18 resp := &DeleteBandwidthPackageResponse{} 19 err := client.Request("vpc", "DeleteBandwidthPackage", "2017-03-12").Do(req, resp) 20 return resp, err 21 } 22 23 type DeleteBandwidthPackageResponse struct { 24 github_com_morlay_goqcloud.TencentCloudBaseResponse 25 }