浏览代码

CLOUDAPI SDK Auto Released By carter,Version:1.51.26

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
haowei.yao 6 年之前
父节点
当前提交
135e1874ba
共有 100 个文件被更改,包括 66 次插入2312 次删除
  1. 4 0
      ChangeLog.txt
  2. 0 0
      services/cloudapi/abolish_api.go
  3. 0 105
      services/cloudapi/add_catalog_relation.go
  4. 0 105
      services/cloudapi/add_catalog_relations.go
  5. 0 0
      services/cloudapi/add_ip_control_policy_item.go
  6. 0 0
      services/cloudapi/add_traffic_special_control.go
  7. 0 108
      services/cloudapi/attach_plugin.go
  8. 0 104
      services/cloudapi/clear_catalog_relations.go
  9. 0 0
      services/cloudapi/client.go
  10. 24 22
      services/cloudapi/create_api.go
  11. 0 0
      services/cloudapi/create_api_group.go
  12. 0 0
      services/cloudapi/create_api_stage_variable.go
  13. 0 0
      services/cloudapi/create_app.go
  14. 0 107
      services/cloudapi/create_catalog.go
  15. 0 0
      services/cloudapi/create_intranet_domain.go
  16. 0 0
      services/cloudapi/create_ip_control.go
  17. 0 0
      services/cloudapi/create_log_config.go
  18. 0 116
      services/cloudapi/create_model.go
  19. 0 108
      services/cloudapi/create_plugin.go
  20. 0 0
      services/cloudapi/create_signature.go
  21. 0 0
      services/cloudapi/create_traffic_control.go
  22. 0 0
      services/cloudapi/delete_all_traffic_special_control.go
  23. 0 0
      services/cloudapi/delete_api.go
  24. 0 0
      services/cloudapi/delete_api_group.go
  25. 0 0
      services/cloudapi/delete_api_stage_variable.go
  26. 0 0
      services/cloudapi/delete_app.go
  27. 0 104
      services/cloudapi/delete_catalog.go
  28. 0 0
      services/cloudapi/delete_domain.go
  29. 0 0
      services/cloudapi/delete_domain_certificate.go
  30. 0 0
      services/cloudapi/delete_ip_control.go
  31. 0 0
      services/cloudapi/delete_log_config.go
  32. 0 105
      services/cloudapi/delete_model.go
  33. 0 104
      services/cloudapi/delete_plugin.go
  34. 0 0
      services/cloudapi/delete_signature.go
  35. 0 0
      services/cloudapi/delete_traffic_control.go
  36. 0 0
      services/cloudapi/delete_traffic_special_control.go
  37. 0 0
      services/cloudapi/deploy_api.go
  38. 2 0
      services/cloudapi/describe_api.go
  39. 2 0
      services/cloudapi/describe_api_doc.go
  40. 0 0
      services/cloudapi/describe_api_error_data.go
  41. 0 0
      services/cloudapi/describe_api_group.go
  42. 0 0
      services/cloudapi/describe_api_groups.go
  43. 0 0
      services/cloudapi/describe_api_histories.go
  44. 2 0
      services/cloudapi/describe_api_history.go
  45. 0 0
      services/cloudapi/describe_api_ip_controls.go
  46. 0 0
      services/cloudapi/describe_api_latency_data.go
  47. 0 0
      services/cloudapi/describe_api_qps_data.go
  48. 0 0
      services/cloudapi/describe_api_signatures.go
  49. 0 0
      services/cloudapi/describe_api_stage.go
  50. 0 0
      services/cloudapi/describe_api_traffic_controls.go
  51. 0 0
      services/cloudapi/describe_api_traffic_data.go
  52. 5 5
      services/cloudapi/describe_apis.go
  53. 0 0
      services/cloudapi/describe_apis_by_app.go
  54. 0 0
      services/cloudapi/describe_apis_by_ip_control.go
  55. 0 0
      services/cloudapi/describe_apis_by_signature.go
  56. 0 0
      services/cloudapi/describe_apis_by_traffic_control.go
  57. 0 0
      services/cloudapi/describe_app.go
  58. 0 0
      services/cloudapi/describe_app_attributes.go
  59. 0 0
      services/cloudapi/describe_app_security.go
  60. 0 0
      services/cloudapi/describe_apps.go
  61. 0 0
      services/cloudapi/describe_authorized_apis.go
  62. 0 0
      services/cloudapi/describe_authorized_apps.go
  63. 0 112
      services/cloudapi/describe_catalog.go
  64. 0 107
      services/cloudapi/describe_catalogs.go
  65. 2 0
      services/cloudapi/describe_deployed_api.go
  66. 0 0
      services/cloudapi/describe_deployed_apis.go
  67. 0 0
      services/cloudapi/describe_domain.go
  68. 0 0
      services/cloudapi/describe_domains_resolution.go
  69. 0 0
      services/cloudapi/describe_history_apis.go
  70. 0 0
      services/cloudapi/describe_ip_control_policy_items.go
  71. 0 0
      services/cloudapi/describe_ip_controls.go
  72. 0 0
      services/cloudapi/describe_log_config.go
  73. 0 112
      services/cloudapi/describe_models.go
  74. 0 110
      services/cloudapi/describe_plugin_apis.go
  75. 0 112
      services/cloudapi/describe_plugins.go
  76. 0 110
      services/cloudapi/describe_plugins_by_api.go
  77. 0 0
      services/cloudapi/describe_purchased_api_group.go
  78. 0 0
      services/cloudapi/describe_purchased_api_groups.go
  79. 0 0
      services/cloudapi/describe_purchased_apis.go
  80. 0 0
      services/cloudapi/describe_regions.go
  81. 0 0
      services/cloudapi/describe_signatures.go
  82. 0 0
      services/cloudapi/describe_signatures_by_api.go
  83. 0 0
      services/cloudapi/describe_system_parameters.go
  84. 0 0
      services/cloudapi/describe_traffic_controls.go
  85. 0 0
      services/cloudapi/describe_traffic_controls_by_api.go
  86. 0 0
      services/cloudapi/describe_vpc_accesses.go
  87. 0 108
      services/cloudapi/detach_plugin.go
  88. 0 104
      services/cloudapi/generate_instance_token.go
  89. 0 0
      services/cloudapi/import_swagger.go
  90. 25 23
      services/cloudapi/modify_api.go
  91. 0 0
      services/cloudapi/modify_api_group.go
  92. 0 0
      services/cloudapi/modify_app.go
  93. 0 106
      services/cloudapi/modify_catalog.go
  94. 0 0
      services/cloudapi/modify_ip_control.go
  95. 0 0
      services/cloudapi/modify_ip_control_policy_item.go
  96. 0 0
      services/cloudapi/modify_log_config.go
  97. 0 108
      services/cloudapi/modify_model.go
  98. 0 107
      services/cloudapi/modify_plugin.go
  99. 0 0
      services/cloudapi/modify_signature.go
  100. 0 0
      services/cloudapi/modify_traffic_control.go

+ 4 - 0
ChangeLog.txt

@@ -1,3 +1,7 @@
+2019-02-17 Version: 1.51.26
+1,  API definition support 'ForceNonceCheck', 'DisableInternet' parameter settings
+
+
 2019-02-15 Version: 1.51.25
 1, Modify DescribeDBInstances LastDowngradeTime DataType
 

+ 0 - 0
services/cloudapi/abolish_api.go


+ 0 - 105
services/cloudapi/add_catalog_relation.go

@@ -1,105 +0,0 @@
-package cloudapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// AddCatalogRelation invokes the cloudapi.AddCatalogRelation API synchronously
-// api document: https://help.aliyun.com/api/cloudapi/addcatalogrelation.html
-func (client *Client) AddCatalogRelation(request *AddCatalogRelationRequest) (response *AddCatalogRelationResponse, err error) {
-	response = CreateAddCatalogRelationResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// AddCatalogRelationWithChan invokes the cloudapi.AddCatalogRelation API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/addcatalogrelation.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) AddCatalogRelationWithChan(request *AddCatalogRelationRequest) (<-chan *AddCatalogRelationResponse, <-chan error) {
-	responseChan := make(chan *AddCatalogRelationResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.AddCatalogRelation(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// AddCatalogRelationWithCallback invokes the cloudapi.AddCatalogRelation API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/addcatalogrelation.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) AddCatalogRelationWithCallback(request *AddCatalogRelationRequest, callback func(response *AddCatalogRelationResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *AddCatalogRelationResponse
-		var err error
-		defer close(result)
-		response, err = client.AddCatalogRelation(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// AddCatalogRelationRequest is the request struct for api AddCatalogRelation
-type AddCatalogRelationRequest struct {
-	*requests.RpcRequest
-	CatalogId     string `position:"Query" name:"CatalogId"`
-	SecurityToken string `position:"Query" name:"SecurityToken"`
-	ApiId         string `position:"Query" name:"ApiId"`
-}
-
-// AddCatalogRelationResponse is the response struct for api AddCatalogRelation
-type AddCatalogRelationResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateAddCatalogRelationRequest creates a request to invoke AddCatalogRelation API
-func CreateAddCatalogRelationRequest() (request *AddCatalogRelationRequest) {
-	request = &AddCatalogRelationRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("CloudAPI", "2016-07-14", "AddCatalogRelation", "apigateway", "openAPI")
-	return
-}
-
-// CreateAddCatalogRelationResponse creates a response to parse from AddCatalogRelation response
-func CreateAddCatalogRelationResponse() (response *AddCatalogRelationResponse) {
-	response = &AddCatalogRelationResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 105
services/cloudapi/add_catalog_relations.go

@@ -1,105 +0,0 @@
-package cloudapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// AddCatalogRelations invokes the cloudapi.AddCatalogRelations API synchronously
-// api document: https://help.aliyun.com/api/cloudapi/addcatalogrelations.html
-func (client *Client) AddCatalogRelations(request *AddCatalogRelationsRequest) (response *AddCatalogRelationsResponse, err error) {
-	response = CreateAddCatalogRelationsResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// AddCatalogRelationsWithChan invokes the cloudapi.AddCatalogRelations API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/addcatalogrelations.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) AddCatalogRelationsWithChan(request *AddCatalogRelationsRequest) (<-chan *AddCatalogRelationsResponse, <-chan error) {
-	responseChan := make(chan *AddCatalogRelationsResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.AddCatalogRelations(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// AddCatalogRelationsWithCallback invokes the cloudapi.AddCatalogRelations API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/addcatalogrelations.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) AddCatalogRelationsWithCallback(request *AddCatalogRelationsRequest, callback func(response *AddCatalogRelationsResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *AddCatalogRelationsResponse
-		var err error
-		defer close(result)
-		response, err = client.AddCatalogRelations(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// AddCatalogRelationsRequest is the request struct for api AddCatalogRelations
-type AddCatalogRelationsRequest struct {
-	*requests.RpcRequest
-	CatalogId     string `position:"Query" name:"CatalogId"`
-	SecurityToken string `position:"Query" name:"SecurityToken"`
-	ApiIds        string `position:"Query" name:"ApiIds"`
-}
-
-// AddCatalogRelationsResponse is the response struct for api AddCatalogRelations
-type AddCatalogRelationsResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateAddCatalogRelationsRequest creates a request to invoke AddCatalogRelations API
-func CreateAddCatalogRelationsRequest() (request *AddCatalogRelationsRequest) {
-	request = &AddCatalogRelationsRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("CloudAPI", "2016-07-14", "AddCatalogRelations", "apigateway", "openAPI")
-	return
-}
-
-// CreateAddCatalogRelationsResponse creates a response to parse from AddCatalogRelations response
-func CreateAddCatalogRelationsResponse() (response *AddCatalogRelationsResponse) {
-	response = &AddCatalogRelationsResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 0
services/cloudapi/add_ip_control_policy_item.go


+ 0 - 0
services/cloudapi/add_traffic_special_control.go


+ 0 - 108
services/cloudapi/attach_plugin.go

@@ -1,108 +0,0 @@
-package cloudapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// AttachPlugin invokes the cloudapi.AttachPlugin API synchronously
-// api document: https://help.aliyun.com/api/cloudapi/attachplugin.html
-func (client *Client) AttachPlugin(request *AttachPluginRequest) (response *AttachPluginResponse, err error) {
-	response = CreateAttachPluginResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// AttachPluginWithChan invokes the cloudapi.AttachPlugin API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/attachplugin.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) AttachPluginWithChan(request *AttachPluginRequest) (<-chan *AttachPluginResponse, <-chan error) {
-	responseChan := make(chan *AttachPluginResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.AttachPlugin(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// AttachPluginWithCallback invokes the cloudapi.AttachPlugin API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/attachplugin.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) AttachPluginWithCallback(request *AttachPluginRequest, callback func(response *AttachPluginResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *AttachPluginResponse
-		var err error
-		defer close(result)
-		response, err = client.AttachPlugin(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// AttachPluginRequest is the request struct for api AttachPlugin
-type AttachPluginRequest struct {
-	*requests.RpcRequest
-	StageName     string `position:"Query" name:"StageName"`
-	SecurityToken string `position:"Query" name:"SecurityToken"`
-	PluginId      string `position:"Query" name:"PluginId"`
-	GroupId       string `position:"Query" name:"GroupId"`
-	ApiId         string `position:"Query" name:"ApiId"`
-	ApiIds        string `position:"Query" name:"ApiIds"`
-}
-
-// AttachPluginResponse is the response struct for api AttachPlugin
-type AttachPluginResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateAttachPluginRequest creates a request to invoke AttachPlugin API
-func CreateAttachPluginRequest() (request *AttachPluginRequest) {
-	request = &AttachPluginRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("CloudAPI", "2016-07-14", "AttachPlugin", "apigateway", "openAPI")
-	return
-}
-
-// CreateAttachPluginResponse creates a response to parse from AttachPlugin response
-func CreateAttachPluginResponse() (response *AttachPluginResponse) {
-	response = &AttachPluginResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 104
services/cloudapi/clear_catalog_relations.go

@@ -1,104 +0,0 @@
-package cloudapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// ClearCatalogRelations invokes the cloudapi.ClearCatalogRelations API synchronously
-// api document: https://help.aliyun.com/api/cloudapi/clearcatalogrelations.html
-func (client *Client) ClearCatalogRelations(request *ClearCatalogRelationsRequest) (response *ClearCatalogRelationsResponse, err error) {
-	response = CreateClearCatalogRelationsResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// ClearCatalogRelationsWithChan invokes the cloudapi.ClearCatalogRelations API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/clearcatalogrelations.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ClearCatalogRelationsWithChan(request *ClearCatalogRelationsRequest) (<-chan *ClearCatalogRelationsResponse, <-chan error) {
-	responseChan := make(chan *ClearCatalogRelationsResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.ClearCatalogRelations(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// ClearCatalogRelationsWithCallback invokes the cloudapi.ClearCatalogRelations API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/clearcatalogrelations.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ClearCatalogRelationsWithCallback(request *ClearCatalogRelationsRequest, callback func(response *ClearCatalogRelationsResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *ClearCatalogRelationsResponse
-		var err error
-		defer close(result)
-		response, err = client.ClearCatalogRelations(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// ClearCatalogRelationsRequest is the request struct for api ClearCatalogRelations
-type ClearCatalogRelationsRequest struct {
-	*requests.RpcRequest
-	CatalogId     string `position:"Query" name:"CatalogId"`
-	SecurityToken string `position:"Query" name:"SecurityToken"`
-}
-
-// ClearCatalogRelationsResponse is the response struct for api ClearCatalogRelations
-type ClearCatalogRelationsResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateClearCatalogRelationsRequest creates a request to invoke ClearCatalogRelations API
-func CreateClearCatalogRelationsRequest() (request *ClearCatalogRelationsRequest) {
-	request = &ClearCatalogRelationsRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("CloudAPI", "2016-07-14", "ClearCatalogRelations", "apigateway", "openAPI")
-	return
-}
-
-// CreateClearCatalogRelationsResponse creates a response to parse from ClearCatalogRelations response
-func CreateClearCatalogRelationsResponse() (response *ClearCatalogRelationsResponse) {
-	response = &ClearCatalogRelationsResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 0
services/cloudapi/client.go


+ 24 - 22
services/cloudapi/create_api.go

@@ -76,28 +76,30 @@ func (client *Client) CreateApiWithCallback(request *CreateApiRequest, callback
 // CreateApiRequest is the request struct for api CreateApi
 type CreateApiRequest struct {
 	*requests.RpcRequest
-	ResultDescriptions   string `position:"Query" name:"ResultDescriptions"`
-	WebSocketApiType     string `position:"Query" name:"WebSocketApiType"`
-	Visibility           string `position:"Query" name:"Visibility"`
-	GroupId              string `position:"Query" name:"GroupId"`
-	ErrorCodeSamples     string `position:"Query" name:"ErrorCodeSamples"`
-	Description          string `position:"Query" name:"Description"`
-	ServiceConfig        string `position:"Query" name:"ServiceConfig"`
-	ConstantParameters   string `position:"Query" name:"ConstantParameters"`
-	ResultType           string `position:"Query" name:"ResultType"`
-	AuthType             string `position:"Query" name:"AuthType"`
-	AllowSignatureMethod string `position:"Query" name:"AllowSignatureMethod"`
-	ServiceParameters    string `position:"Query" name:"ServiceParameters"`
-	FailResultSample     string `position:"Query" name:"FailResultSample"`
-	ApiName              string `position:"Query" name:"ApiName"`
-	SystemParameters     string `position:"Query" name:"SystemParameters"`
-	ServiceParametersMap string `position:"Query" name:"ServiceParametersMap"`
-	ResultSample         string `position:"Query" name:"ResultSample"`
-	SecurityToken        string `position:"Query" name:"SecurityToken"`
-	OpenIdConnectConfig  string `position:"Query" name:"OpenIdConnectConfig"`
-	RequestParameters    string `position:"Query" name:"RequestParameters"`
-	RequestConfig        string `position:"Query" name:"RequestConfig"`
-	ResultBodyModel      string `position:"Query" name:"ResultBodyModel"`
+	WebSocketApiType     string           `position:"Query" name:"WebSocketApiType"`
+	ErrorCodeSamples     string           `position:"Query" name:"ErrorCodeSamples"`
+	Description          string           `position:"Query" name:"Description"`
+	DisableInternet      requests.Boolean `position:"Query" name:"DisableInternet"`
+	ConstantParameters   string           `position:"Query" name:"ConstantParameters"`
+	AuthType             string           `position:"Query" name:"AuthType"`
+	AllowSignatureMethod string           `position:"Query" name:"AllowSignatureMethod"`
+	ServiceParameters    string           `position:"Query" name:"ServiceParameters"`
+	FailResultSample     string           `position:"Query" name:"FailResultSample"`
+	SystemParameters     string           `position:"Query" name:"SystemParameters"`
+	ServiceParametersMap string           `position:"Query" name:"ServiceParametersMap"`
+	SecurityToken        string           `position:"Query" name:"SecurityToken"`
+	OpenIdConnectConfig  string           `position:"Query" name:"OpenIdConnectConfig"`
+	RequestParameters    string           `position:"Query" name:"RequestParameters"`
+	ResultDescriptions   string           `position:"Query" name:"ResultDescriptions"`
+	Visibility           string           `position:"Query" name:"Visibility"`
+	GroupId              string           `position:"Query" name:"GroupId"`
+	ServiceConfig        string           `position:"Query" name:"ServiceConfig"`
+	ResultType           string           `position:"Query" name:"ResultType"`
+	ApiName              string           `position:"Query" name:"ApiName"`
+	ResultSample         string           `position:"Query" name:"ResultSample"`
+	ForceNonceCheck      requests.Boolean `position:"Query" name:"ForceNonceCheck"`
+	RequestConfig        string           `position:"Query" name:"RequestConfig"`
+	ResultBodyModel      string           `position:"Query" name:"ResultBodyModel"`
 }
 
 // CreateApiResponse is the response struct for api CreateApi

+ 0 - 0
services/cloudapi/create_api_group.go


+ 0 - 0
services/cloudapi/create_api_stage_variable.go


+ 0 - 0
services/cloudapi/create_app.go


+ 0 - 107
services/cloudapi/create_catalog.go

@@ -1,107 +0,0 @@
-package cloudapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// CreateCatalog invokes the cloudapi.CreateCatalog API synchronously
-// api document: https://help.aliyun.com/api/cloudapi/createcatalog.html
-func (client *Client) CreateCatalog(request *CreateCatalogRequest) (response *CreateCatalogResponse, err error) {
-	response = CreateCreateCatalogResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateCatalogWithChan invokes the cloudapi.CreateCatalog API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/createcatalog.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateCatalogWithChan(request *CreateCatalogRequest) (<-chan *CreateCatalogResponse, <-chan error) {
-	responseChan := make(chan *CreateCatalogResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateCatalog(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateCatalogWithCallback invokes the cloudapi.CreateCatalog API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/createcatalog.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateCatalogWithCallback(request *CreateCatalogRequest, callback func(response *CreateCatalogResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateCatalogResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateCatalog(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateCatalogRequest is the request struct for api CreateCatalog
-type CreateCatalogRequest struct {
-	*requests.RpcRequest
-	SecurityToken string `position:"Query" name:"SecurityToken"`
-	CatalogName   string `position:"Query" name:"CatalogName"`
-	Description   string `position:"Query" name:"Description"`
-	ParentId      string `position:"Query" name:"ParentId"`
-}
-
-// CreateCatalogResponse is the response struct for api CreateCatalog
-type CreateCatalogResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	CatalogId string `json:"CatalogId" xml:"CatalogId"`
-}
-
-// CreateCreateCatalogRequest creates a request to invoke CreateCatalog API
-func CreateCreateCatalogRequest() (request *CreateCatalogRequest) {
-	request = &CreateCatalogRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("CloudAPI", "2016-07-14", "CreateCatalog", "apigateway", "openAPI")
-	return
-}
-
-// CreateCreateCatalogResponse creates a response to parse from CreateCatalog response
-func CreateCreateCatalogResponse() (response *CreateCatalogResponse) {
-	response = &CreateCatalogResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 0
services/cloudapi/create_intranet_domain.go


+ 0 - 0
services/cloudapi/create_ip_control.go


+ 0 - 0
services/cloudapi/create_log_config.go


+ 0 - 116
services/cloudapi/create_model.go

@@ -1,116 +0,0 @@
-package cloudapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// CreateModel invokes the cloudapi.CreateModel API synchronously
-// api document: https://help.aliyun.com/api/cloudapi/createmodel.html
-func (client *Client) CreateModel(request *CreateModelRequest) (response *CreateModelResponse, err error) {
-	response = CreateCreateModelResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateModelWithChan invokes the cloudapi.CreateModel API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/createmodel.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateModelWithChan(request *CreateModelRequest) (<-chan *CreateModelResponse, <-chan error) {
-	responseChan := make(chan *CreateModelResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateModel(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateModelWithCallback invokes the cloudapi.CreateModel API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/createmodel.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateModelWithCallback(request *CreateModelRequest, callback func(response *CreateModelResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateModelResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateModel(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateModelRequest is the request struct for api CreateModel
-type CreateModelRequest struct {
-	*requests.RpcRequest
-	Schema        string `position:"Query" name:"Schema"`
-	SecurityToken string `position:"Query" name:"SecurityToken"`
-	ModelName     string `position:"Query" name:"ModelName"`
-	GroupId       string `position:"Query" name:"GroupId"`
-	Description   string `position:"Query" name:"Description"`
-}
-
-// CreateModelResponse is the response struct for api CreateModel
-type CreateModelResponse struct {
-	*responses.BaseResponse
-	RequestId    string `json:"RequestId" xml:"RequestId"`
-	ModelId      string `json:"ModelId" xml:"ModelId"`
-	ModelRef     string `json:"ModelRef" xml:"ModelRef"`
-	ModelName    string `json:"ModelName" xml:"ModelName"`
-	GroupId      string `json:"GroupId" xml:"GroupId"`
-	Schema       string `json:"Schema" xml:"Schema"`
-	RegionId     string `json:"RegionId" xml:"RegionId"`
-	Description  string `json:"Description" xml:"Description"`
-	CreatedTime  string `json:"CreatedTime" xml:"CreatedTime"`
-	ModifiedTime string `json:"ModifiedTime" xml:"ModifiedTime"`
-}
-
-// CreateCreateModelRequest creates a request to invoke CreateModel API
-func CreateCreateModelRequest() (request *CreateModelRequest) {
-	request = &CreateModelRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("CloudAPI", "2016-07-14", "CreateModel", "apigateway", "openAPI")
-	return
-}
-
-// CreateCreateModelResponse creates a response to parse from CreateModel response
-func CreateCreateModelResponse() (response *CreateModelResponse) {
-	response = &CreateModelResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 108
services/cloudapi/create_plugin.go

@@ -1,108 +0,0 @@
-package cloudapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// CreatePlugin invokes the cloudapi.CreatePlugin API synchronously
-// api document: https://help.aliyun.com/api/cloudapi/createplugin.html
-func (client *Client) CreatePlugin(request *CreatePluginRequest) (response *CreatePluginResponse, err error) {
-	response = CreateCreatePluginResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreatePluginWithChan invokes the cloudapi.CreatePlugin API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/createplugin.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreatePluginWithChan(request *CreatePluginRequest) (<-chan *CreatePluginResponse, <-chan error) {
-	responseChan := make(chan *CreatePluginResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreatePlugin(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreatePluginWithCallback invokes the cloudapi.CreatePlugin API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/createplugin.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreatePluginWithCallback(request *CreatePluginRequest, callback func(response *CreatePluginResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreatePluginResponse
-		var err error
-		defer close(result)
-		response, err = client.CreatePlugin(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreatePluginRequest is the request struct for api CreatePlugin
-type CreatePluginRequest struct {
-	*requests.RpcRequest
-	PluginType    string `position:"Query" name:"PluginType"`
-	PluginName    string `position:"Query" name:"PluginName"`
-	SecurityToken string `position:"Query" name:"SecurityToken"`
-	PluginData    string `position:"Query" name:"PluginData"`
-	Description   string `position:"Query" name:"Description"`
-}
-
-// CreatePluginResponse is the response struct for api CreatePlugin
-type CreatePluginResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	PluginId  string `json:"PluginId" xml:"PluginId"`
-}
-
-// CreateCreatePluginRequest creates a request to invoke CreatePlugin API
-func CreateCreatePluginRequest() (request *CreatePluginRequest) {
-	request = &CreatePluginRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("CloudAPI", "2016-07-14", "CreatePlugin", "apigateway", "openAPI")
-	return
-}
-
-// CreateCreatePluginResponse creates a response to parse from CreatePlugin response
-func CreateCreatePluginResponse() (response *CreatePluginResponse) {
-	response = &CreatePluginResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 0
services/cloudapi/create_signature.go


+ 0 - 0
services/cloudapi/create_traffic_control.go


+ 0 - 0
services/cloudapi/delete_all_traffic_special_control.go


+ 0 - 0
services/cloudapi/delete_api.go


+ 0 - 0
services/cloudapi/delete_api_group.go


+ 0 - 0
services/cloudapi/delete_api_stage_variable.go


+ 0 - 0
services/cloudapi/delete_app.go


+ 0 - 104
services/cloudapi/delete_catalog.go

@@ -1,104 +0,0 @@
-package cloudapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// DeleteCatalog invokes the cloudapi.DeleteCatalog API synchronously
-// api document: https://help.aliyun.com/api/cloudapi/deletecatalog.html
-func (client *Client) DeleteCatalog(request *DeleteCatalogRequest) (response *DeleteCatalogResponse, err error) {
-	response = CreateDeleteCatalogResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteCatalogWithChan invokes the cloudapi.DeleteCatalog API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/deletecatalog.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteCatalogWithChan(request *DeleteCatalogRequest) (<-chan *DeleteCatalogResponse, <-chan error) {
-	responseChan := make(chan *DeleteCatalogResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteCatalog(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteCatalogWithCallback invokes the cloudapi.DeleteCatalog API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/deletecatalog.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteCatalogWithCallback(request *DeleteCatalogRequest, callback func(response *DeleteCatalogResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteCatalogResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteCatalog(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteCatalogRequest is the request struct for api DeleteCatalog
-type DeleteCatalogRequest struct {
-	*requests.RpcRequest
-	CatalogId     string `position:"Query" name:"CatalogId"`
-	SecurityToken string `position:"Query" name:"SecurityToken"`
-}
-
-// DeleteCatalogResponse is the response struct for api DeleteCatalog
-type DeleteCatalogResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateDeleteCatalogRequest creates a request to invoke DeleteCatalog API
-func CreateDeleteCatalogRequest() (request *DeleteCatalogRequest) {
-	request = &DeleteCatalogRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("CloudAPI", "2016-07-14", "DeleteCatalog", "apigateway", "openAPI")
-	return
-}
-
-// CreateDeleteCatalogResponse creates a response to parse from DeleteCatalog response
-func CreateDeleteCatalogResponse() (response *DeleteCatalogResponse) {
-	response = &DeleteCatalogResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 0
services/cloudapi/delete_domain.go


+ 0 - 0
services/cloudapi/delete_domain_certificate.go


+ 0 - 0
services/cloudapi/delete_ip_control.go


+ 0 - 0
services/cloudapi/delete_log_config.go


+ 0 - 105
services/cloudapi/delete_model.go

@@ -1,105 +0,0 @@
-package cloudapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// DeleteModel invokes the cloudapi.DeleteModel API synchronously
-// api document: https://help.aliyun.com/api/cloudapi/deletemodel.html
-func (client *Client) DeleteModel(request *DeleteModelRequest) (response *DeleteModelResponse, err error) {
-	response = CreateDeleteModelResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteModelWithChan invokes the cloudapi.DeleteModel API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/deletemodel.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteModelWithChan(request *DeleteModelRequest) (<-chan *DeleteModelResponse, <-chan error) {
-	responseChan := make(chan *DeleteModelResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteModel(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteModelWithCallback invokes the cloudapi.DeleteModel API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/deletemodel.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteModelWithCallback(request *DeleteModelRequest, callback func(response *DeleteModelResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteModelResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteModel(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteModelRequest is the request struct for api DeleteModel
-type DeleteModelRequest struct {
-	*requests.RpcRequest
-	SecurityToken string `position:"Query" name:"SecurityToken"`
-	ModelName     string `position:"Query" name:"ModelName"`
-	GroupId       string `position:"Query" name:"GroupId"`
-}
-
-// DeleteModelResponse is the response struct for api DeleteModel
-type DeleteModelResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateDeleteModelRequest creates a request to invoke DeleteModel API
-func CreateDeleteModelRequest() (request *DeleteModelRequest) {
-	request = &DeleteModelRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("CloudAPI", "2016-07-14", "DeleteModel", "apigateway", "openAPI")
-	return
-}
-
-// CreateDeleteModelResponse creates a response to parse from DeleteModel response
-func CreateDeleteModelResponse() (response *DeleteModelResponse) {
-	response = &DeleteModelResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 104
services/cloudapi/delete_plugin.go

@@ -1,104 +0,0 @@
-package cloudapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// DeletePlugin invokes the cloudapi.DeletePlugin API synchronously
-// api document: https://help.aliyun.com/api/cloudapi/deleteplugin.html
-func (client *Client) DeletePlugin(request *DeletePluginRequest) (response *DeletePluginResponse, err error) {
-	response = CreateDeletePluginResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeletePluginWithChan invokes the cloudapi.DeletePlugin API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/deleteplugin.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeletePluginWithChan(request *DeletePluginRequest) (<-chan *DeletePluginResponse, <-chan error) {
-	responseChan := make(chan *DeletePluginResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeletePlugin(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeletePluginWithCallback invokes the cloudapi.DeletePlugin API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/deleteplugin.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeletePluginWithCallback(request *DeletePluginRequest, callback func(response *DeletePluginResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeletePluginResponse
-		var err error
-		defer close(result)
-		response, err = client.DeletePlugin(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeletePluginRequest is the request struct for api DeletePlugin
-type DeletePluginRequest struct {
-	*requests.RpcRequest
-	SecurityToken string `position:"Query" name:"SecurityToken"`
-	PluginId      string `position:"Query" name:"PluginId"`
-}
-
-// DeletePluginResponse is the response struct for api DeletePlugin
-type DeletePluginResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateDeletePluginRequest creates a request to invoke DeletePlugin API
-func CreateDeletePluginRequest() (request *DeletePluginRequest) {
-	request = &DeletePluginRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("CloudAPI", "2016-07-14", "DeletePlugin", "apigateway", "openAPI")
-	return
-}
-
-// CreateDeletePluginResponse creates a response to parse from DeletePlugin response
-func CreateDeletePluginResponse() (response *DeletePluginResponse) {
-	response = &DeletePluginResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 0
services/cloudapi/delete_signature.go


+ 0 - 0
services/cloudapi/delete_traffic_control.go


+ 0 - 0
services/cloudapi/delete_traffic_special_control.go


+ 0 - 0
services/cloudapi/deploy_api.go


+ 2 - 0
services/cloudapi/describe_api.go

@@ -103,6 +103,8 @@ type DescribeApiResponse struct {
 	AllowSignatureMethod   string                              `json:"AllowSignatureMethod" xml:"AllowSignatureMethod"`
 	WebSocketApiType       string                              `json:"WebSocketApiType" xml:"WebSocketApiType"`
 	ResultBodyModel        string                              `json:"ResultBodyModel" xml:"ResultBodyModel"`
+	ForceNonceCheck        bool                                `json:"ForceNonceCheck" xml:"ForceNonceCheck"`
+	DisableInternet        bool                                `json:"DisableInternet" xml:"DisableInternet"`
 	RequestConfig          RequestConfig                       `json:"RequestConfig" xml:"RequestConfig"`
 	ServiceConfig          ServiceConfig                       `json:"ServiceConfig" xml:"ServiceConfig"`
 	OpenIdConnectConfig    OpenIdConnectConfig                 `json:"OpenIdConnectConfig" xml:"OpenIdConnectConfig"`

+ 2 - 0
services/cloudapi/describe_api_doc.go

@@ -99,6 +99,8 @@ type DescribeApiDocResponse struct {
 	ResultSample       string                             `json:"ResultSample" xml:"ResultSample"`
 	FailResultSample   string                             `json:"FailResultSample" xml:"FailResultSample"`
 	DeployedTime       string                             `json:"DeployedTime" xml:"DeployedTime"`
+	ForceNonceCheck    bool                               `json:"ForceNonceCheck" xml:"ForceNonceCheck"`
+	DisableInternet    bool                               `json:"DisableInternet" xml:"DisableInternet"`
 	RequestConfig      RequestConfig                      `json:"RequestConfig" xml:"RequestConfig"`
 	ErrorCodeSamples   ErrorCodeSamplesInDescribeApiDoc   `json:"ErrorCodeSamples" xml:"ErrorCodeSamples"`
 	ResultDescriptions ResultDescriptionsInDescribeApiDoc `json:"ResultDescriptions" xml:"ResultDescriptions"`

+ 0 - 0
services/cloudapi/describe_api_error_data.go


+ 0 - 0
services/cloudapi/describe_api_group.go


+ 0 - 0
services/cloudapi/describe_api_groups.go


+ 0 - 0
services/cloudapi/describe_api_histories.go


+ 2 - 0
services/cloudapi/describe_api_history.go

@@ -104,6 +104,8 @@ type DescribeApiHistoryResponse struct {
 	DeployedTime           string                                     `json:"DeployedTime" xml:"DeployedTime"`
 	AllowSignatureMethod   string                                     `json:"AllowSignatureMethod" xml:"AllowSignatureMethod"`
 	ResultBodyModel        string                                     `json:"ResultBodyModel" xml:"ResultBodyModel"`
+	ForceNonceCheck        bool                                       `json:"ForceNonceCheck" xml:"ForceNonceCheck"`
+	DisableInternet        bool                                       `json:"DisableInternet" xml:"DisableInternet"`
 	RequestConfig          RequestConfig                              `json:"RequestConfig" xml:"RequestConfig"`
 	ServiceConfig          ServiceConfig                              `json:"ServiceConfig" xml:"ServiceConfig"`
 	OpenIdConnectConfig    OpenIdConnectConfig                        `json:"OpenIdConnectConfig" xml:"OpenIdConnectConfig"`

+ 0 - 0
services/cloudapi/describe_api_ip_controls.go


+ 0 - 0
services/cloudapi/describe_api_latency_data.go


+ 0 - 0
services/cloudapi/describe_api_qps_data.go


+ 0 - 0
services/cloudapi/describe_api_signatures.go


+ 0 - 0
services/cloudapi/describe_api_stage.go


+ 0 - 0
services/cloudapi/describe_api_traffic_controls.go


+ 0 - 0
services/cloudapi/describe_api_traffic_data.go


+ 5 - 5
services/cloudapi/describe_apis.go

@@ -89,11 +89,11 @@ type DescribeApisRequest struct {
 // DescribeApisResponse is the response struct for api DescribeApis
 type DescribeApisResponse struct {
 	*responses.BaseResponse
-	RequestId   string                    `json:"RequestId" xml:"RequestId"`
-	TotalCount  int                       `json:"TotalCount" xml:"TotalCount"`
-	PageSize    int                       `json:"PageSize" xml:"PageSize"`
-	PageNumber  int                       `json:"PageNumber" xml:"PageNumber"`
-	ApiSummarys ApiSummarysInDescribeApis `json:"ApiSummarys" xml:"ApiSummarys"`
+	RequestId   string      `json:"RequestId" xml:"RequestId"`
+	TotalCount  int         `json:"TotalCount" xml:"TotalCount"`
+	PageSize    int         `json:"PageSize" xml:"PageSize"`
+	PageNumber  int         `json:"PageNumber" xml:"PageNumber"`
+	ApiSummarys ApiSummarys `json:"ApiSummarys" xml:"ApiSummarys"`
 }
 
 // CreateDescribeApisRequest creates a request to invoke DescribeApis API

+ 0 - 0
services/cloudapi/describe_apis_by_app.go


+ 0 - 0
services/cloudapi/describe_apis_by_ip_control.go


+ 0 - 0
services/cloudapi/describe_apis_by_signature.go


+ 0 - 0
services/cloudapi/describe_apis_by_traffic_control.go


+ 0 - 0
services/cloudapi/describe_app.go


+ 0 - 0
services/cloudapi/describe_app_attributes.go


+ 0 - 0
services/cloudapi/describe_app_security.go


+ 0 - 0
services/cloudapi/describe_apps.go


+ 0 - 0
services/cloudapi/describe_authorized_apis.go


+ 0 - 0
services/cloudapi/describe_authorized_apps.go


+ 0 - 112
services/cloudapi/describe_catalog.go

@@ -1,112 +0,0 @@
-package cloudapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// DescribeCatalog invokes the cloudapi.DescribeCatalog API synchronously
-// api document: https://help.aliyun.com/api/cloudapi/describecatalog.html
-func (client *Client) DescribeCatalog(request *DescribeCatalogRequest) (response *DescribeCatalogResponse, err error) {
-	response = CreateDescribeCatalogResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeCatalogWithChan invokes the cloudapi.DescribeCatalog API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/describecatalog.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeCatalogWithChan(request *DescribeCatalogRequest) (<-chan *DescribeCatalogResponse, <-chan error) {
-	responseChan := make(chan *DescribeCatalogResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeCatalog(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeCatalogWithCallback invokes the cloudapi.DescribeCatalog API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/describecatalog.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeCatalogWithCallback(request *DescribeCatalogRequest, callback func(response *DescribeCatalogResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeCatalogResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeCatalog(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeCatalogRequest is the request struct for api DescribeCatalog
-type DescribeCatalogRequest struct {
-	*requests.RpcRequest
-	CatalogId     string `position:"Query" name:"CatalogId"`
-	SecurityToken string `position:"Query" name:"SecurityToken"`
-}
-
-// DescribeCatalogResponse is the response struct for api DescribeCatalog
-type DescribeCatalogResponse struct {
-	*responses.BaseResponse
-	RequestId    string `json:"RequestId" xml:"RequestId"`
-	CatalogId    string `json:"CatalogId" xml:"CatalogId"`
-	CatalogName  string `json:"CatalogName" xml:"CatalogName"`
-	Description  string `json:"Description" xml:"Description"`
-	ParentId     string `json:"ParentId" xml:"ParentId"`
-	CreatedTime  string `json:"CreatedTime" xml:"CreatedTime"`
-	ModifiedTime string `json:"ModifiedTime" xml:"ModifiedTime"`
-	RegionId     string `json:"RegionId" xml:"RegionId"`
-	ApiIds       ApiIds `json:"ApiIds" xml:"ApiIds"`
-}
-
-// CreateDescribeCatalogRequest creates a request to invoke DescribeCatalog API
-func CreateDescribeCatalogRequest() (request *DescribeCatalogRequest) {
-	request = &DescribeCatalogRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("CloudAPI", "2016-07-14", "DescribeCatalog", "apigateway", "openAPI")
-	return
-}
-
-// CreateDescribeCatalogResponse creates a response to parse from DescribeCatalog response
-func CreateDescribeCatalogResponse() (response *DescribeCatalogResponse) {
-	response = &DescribeCatalogResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 107
services/cloudapi/describe_catalogs.go

@@ -1,107 +0,0 @@
-package cloudapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// DescribeCatalogs invokes the cloudapi.DescribeCatalogs API synchronously
-// api document: https://help.aliyun.com/api/cloudapi/describecatalogs.html
-func (client *Client) DescribeCatalogs(request *DescribeCatalogsRequest) (response *DescribeCatalogsResponse, err error) {
-	response = CreateDescribeCatalogsResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeCatalogsWithChan invokes the cloudapi.DescribeCatalogs API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/describecatalogs.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeCatalogsWithChan(request *DescribeCatalogsRequest) (<-chan *DescribeCatalogsResponse, <-chan error) {
-	responseChan := make(chan *DescribeCatalogsResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeCatalogs(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeCatalogsWithCallback invokes the cloudapi.DescribeCatalogs API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/describecatalogs.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeCatalogsWithCallback(request *DescribeCatalogsRequest, callback func(response *DescribeCatalogsResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeCatalogsResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeCatalogs(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeCatalogsRequest is the request struct for api DescribeCatalogs
-type DescribeCatalogsRequest struct {
-	*requests.RpcRequest
-	SecurityToken string `position:"Query" name:"SecurityToken"`
-}
-
-// DescribeCatalogsResponse is the response struct for api DescribeCatalogs
-type DescribeCatalogsResponse struct {
-	*responses.BaseResponse
-	RequestId         string            `json:"RequestId" xml:"RequestId"`
-	TotalCount        int               `json:"TotalCount" xml:"TotalCount"`
-	PageSize          int               `json:"PageSize" xml:"PageSize"`
-	PageNumber        int               `json:"PageNumber" xml:"PageNumber"`
-	CatalogAttributes CatalogAttributes `json:"CatalogAttributes" xml:"CatalogAttributes"`
-}
-
-// CreateDescribeCatalogsRequest creates a request to invoke DescribeCatalogs API
-func CreateDescribeCatalogsRequest() (request *DescribeCatalogsRequest) {
-	request = &DescribeCatalogsRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("CloudAPI", "2016-07-14", "DescribeCatalogs", "apigateway", "openAPI")
-	return
-}
-
-// CreateDescribeCatalogsResponse creates a response to parse from DescribeCatalogs response
-func CreateDescribeCatalogsResponse() (response *DescribeCatalogsResponse) {
-	response = &DescribeCatalogsResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 2 - 0
services/cloudapi/describe_deployed_api.go

@@ -101,6 +101,8 @@ type DescribeDeployedApiResponse struct {
 	DeployedTime           string                                      `json:"DeployedTime" xml:"DeployedTime"`
 	AllowSignatureMethod   string                                      `json:"AllowSignatureMethod" xml:"AllowSignatureMethod"`
 	ResultBodyModel        string                                      `json:"ResultBodyModel" xml:"ResultBodyModel"`
+	ForceNonceCheck        bool                                        `json:"ForceNonceCheck" xml:"ForceNonceCheck"`
+	DisableInternet        bool                                        `json:"DisableInternet" xml:"DisableInternet"`
 	RequestConfig          RequestConfig                               `json:"RequestConfig" xml:"RequestConfig"`
 	ServiceConfig          ServiceConfig                               `json:"ServiceConfig" xml:"ServiceConfig"`
 	OpenIdConnectConfig    OpenIdConnectConfig                         `json:"OpenIdConnectConfig" xml:"OpenIdConnectConfig"`

+ 0 - 0
services/cloudapi/describe_deployed_apis.go


+ 0 - 0
services/cloudapi/describe_domain.go


+ 0 - 0
services/cloudapi/describe_domains_resolution.go


+ 0 - 0
services/cloudapi/describe_history_apis.go


+ 0 - 0
services/cloudapi/describe_ip_control_policy_items.go


+ 0 - 0
services/cloudapi/describe_ip_controls.go


+ 0 - 0
services/cloudapi/describe_log_config.go


+ 0 - 112
services/cloudapi/describe_models.go

@@ -1,112 +0,0 @@
-package cloudapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// DescribeModels invokes the cloudapi.DescribeModels API synchronously
-// api document: https://help.aliyun.com/api/cloudapi/describemodels.html
-func (client *Client) DescribeModels(request *DescribeModelsRequest) (response *DescribeModelsResponse, err error) {
-	response = CreateDescribeModelsResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeModelsWithChan invokes the cloudapi.DescribeModels API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/describemodels.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeModelsWithChan(request *DescribeModelsRequest) (<-chan *DescribeModelsResponse, <-chan error) {
-	responseChan := make(chan *DescribeModelsResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeModels(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeModelsWithCallback invokes the cloudapi.DescribeModels API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/describemodels.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeModelsWithCallback(request *DescribeModelsRequest, callback func(response *DescribeModelsResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeModelsResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeModels(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeModelsRequest is the request struct for api DescribeModels
-type DescribeModelsRequest struct {
-	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	ModelId       string           `position:"Query" name:"ModelId"`
-	GroupId       string           `position:"Query" name:"GroupId"`
-	ModelName     string           `position:"Query" name:"ModelName"`
-	PageSize      requests.Integer `position:"Query" name:"PageSize"`
-	PageNumber    requests.Integer `position:"Query" name:"PageNumber"`
-}
-
-// DescribeModelsResponse is the response struct for api DescribeModels
-type DescribeModelsResponse struct {
-	*responses.BaseResponse
-	RequestId    string       `json:"RequestId" xml:"RequestId"`
-	TotalCount   int          `json:"TotalCount" xml:"TotalCount"`
-	PageSize     int          `json:"PageSize" xml:"PageSize"`
-	PageNumber   int          `json:"PageNumber" xml:"PageNumber"`
-	ModelDetails ModelDetails `json:"ModelDetails" xml:"ModelDetails"`
-}
-
-// CreateDescribeModelsRequest creates a request to invoke DescribeModels API
-func CreateDescribeModelsRequest() (request *DescribeModelsRequest) {
-	request = &DescribeModelsRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("CloudAPI", "2016-07-14", "DescribeModels", "apigateway", "openAPI")
-	return
-}
-
-// CreateDescribeModelsResponse creates a response to parse from DescribeModels response
-func CreateDescribeModelsResponse() (response *DescribeModelsResponse) {
-	response = &DescribeModelsResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 110
services/cloudapi/describe_plugin_apis.go

@@ -1,110 +0,0 @@
-package cloudapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// DescribePluginApis invokes the cloudapi.DescribePluginApis API synchronously
-// api document: https://help.aliyun.com/api/cloudapi/describepluginapis.html
-func (client *Client) DescribePluginApis(request *DescribePluginApisRequest) (response *DescribePluginApisResponse, err error) {
-	response = CreateDescribePluginApisResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribePluginApisWithChan invokes the cloudapi.DescribePluginApis API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/describepluginapis.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribePluginApisWithChan(request *DescribePluginApisRequest) (<-chan *DescribePluginApisResponse, <-chan error) {
-	responseChan := make(chan *DescribePluginApisResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribePluginApis(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribePluginApisWithCallback invokes the cloudapi.DescribePluginApis API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/describepluginapis.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribePluginApisWithCallback(request *DescribePluginApisRequest, callback func(response *DescribePluginApisResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribePluginApisResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribePluginApis(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribePluginApisRequest is the request struct for api DescribePluginApis
-type DescribePluginApisRequest struct {
-	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	PluginId      string           `position:"Query" name:"PluginId"`
-	PageSize      requests.Integer `position:"Query" name:"PageSize"`
-	PageNumber    requests.Integer `position:"Query" name:"PageNumber"`
-}
-
-// DescribePluginApisResponse is the response struct for api DescribePluginApis
-type DescribePluginApisResponse struct {
-	*responses.BaseResponse
-	RequestId   string                          `json:"RequestId" xml:"RequestId"`
-	TotalCount  int                             `json:"TotalCount" xml:"TotalCount"`
-	PageSize    int                             `json:"PageSize" xml:"PageSize"`
-	PageNumber  int                             `json:"PageNumber" xml:"PageNumber"`
-	ApiSummarys ApiSummarysInDescribePluginApis `json:"ApiSummarys" xml:"ApiSummarys"`
-}
-
-// CreateDescribePluginApisRequest creates a request to invoke DescribePluginApis API
-func CreateDescribePluginApisRequest() (request *DescribePluginApisRequest) {
-	request = &DescribePluginApisRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("CloudAPI", "2016-07-14", "DescribePluginApis", "apigateway", "openAPI")
-	return
-}
-
-// CreateDescribePluginApisResponse creates a response to parse from DescribePluginApis response
-func CreateDescribePluginApisResponse() (response *DescribePluginApisResponse) {
-	response = &DescribePluginApisResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 112
services/cloudapi/describe_plugins.go

@@ -1,112 +0,0 @@
-package cloudapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// DescribePlugins invokes the cloudapi.DescribePlugins API synchronously
-// api document: https://help.aliyun.com/api/cloudapi/describeplugins.html
-func (client *Client) DescribePlugins(request *DescribePluginsRequest) (response *DescribePluginsResponse, err error) {
-	response = CreateDescribePluginsResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribePluginsWithChan invokes the cloudapi.DescribePlugins API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/describeplugins.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribePluginsWithChan(request *DescribePluginsRequest) (<-chan *DescribePluginsResponse, <-chan error) {
-	responseChan := make(chan *DescribePluginsResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribePlugins(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribePluginsWithCallback invokes the cloudapi.DescribePlugins API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/describeplugins.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribePluginsWithCallback(request *DescribePluginsRequest, callback func(response *DescribePluginsResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribePluginsResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribePlugins(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribePluginsRequest is the request struct for api DescribePlugins
-type DescribePluginsRequest struct {
-	*requests.RpcRequest
-	PluginType    string           `position:"Query" name:"PluginType"`
-	PluginName    string           `position:"Query" name:"PluginName"`
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	PluginId      string           `position:"Query" name:"PluginId"`
-	PageSize      requests.Integer `position:"Query" name:"PageSize"`
-	PageNumber    requests.Integer `position:"Query" name:"PageNumber"`
-}
-
-// DescribePluginsResponse is the response struct for api DescribePlugins
-type DescribePluginsResponse struct {
-	*responses.BaseResponse
-	RequestId  string                   `json:"RequestId" xml:"RequestId"`
-	TotalCount int                      `json:"TotalCount" xml:"TotalCount"`
-	PageSize   int                      `json:"PageSize" xml:"PageSize"`
-	PageNumber int                      `json:"PageNumber" xml:"PageNumber"`
-	Plugins    PluginsInDescribePlugins `json:"Plugins" xml:"Plugins"`
-}
-
-// CreateDescribePluginsRequest creates a request to invoke DescribePlugins API
-func CreateDescribePluginsRequest() (request *DescribePluginsRequest) {
-	request = &DescribePluginsRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("CloudAPI", "2016-07-14", "DescribePlugins", "apigateway", "openAPI")
-	return
-}
-
-// CreateDescribePluginsResponse creates a response to parse from DescribePlugins response
-func CreateDescribePluginsResponse() (response *DescribePluginsResponse) {
-	response = &DescribePluginsResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 110
services/cloudapi/describe_plugins_by_api.go

@@ -1,110 +0,0 @@
-package cloudapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// DescribePluginsByApi invokes the cloudapi.DescribePluginsByApi API synchronously
-// api document: https://help.aliyun.com/api/cloudapi/describepluginsbyapi.html
-func (client *Client) DescribePluginsByApi(request *DescribePluginsByApiRequest) (response *DescribePluginsByApiResponse, err error) {
-	response = CreateDescribePluginsByApiResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribePluginsByApiWithChan invokes the cloudapi.DescribePluginsByApi API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/describepluginsbyapi.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribePluginsByApiWithChan(request *DescribePluginsByApiRequest) (<-chan *DescribePluginsByApiResponse, <-chan error) {
-	responseChan := make(chan *DescribePluginsByApiResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribePluginsByApi(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribePluginsByApiWithCallback invokes the cloudapi.DescribePluginsByApi API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/describepluginsbyapi.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribePluginsByApiWithCallback(request *DescribePluginsByApiRequest, callback func(response *DescribePluginsByApiResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribePluginsByApiResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribePluginsByApi(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribePluginsByApiRequest is the request struct for api DescribePluginsByApi
-type DescribePluginsByApiRequest struct {
-	*requests.RpcRequest
-	StageName     string `position:"Query" name:"StageName"`
-	SecurityToken string `position:"Query" name:"SecurityToken"`
-	GroupId       string `position:"Query" name:"GroupId"`
-	ApiId         string `position:"Query" name:"ApiId"`
-}
-
-// DescribePluginsByApiResponse is the response struct for api DescribePluginsByApi
-type DescribePluginsByApiResponse struct {
-	*responses.BaseResponse
-	RequestId  string                        `json:"RequestId" xml:"RequestId"`
-	TotalCount int                           `json:"TotalCount" xml:"TotalCount"`
-	PageSize   int                           `json:"PageSize" xml:"PageSize"`
-	PageNumber int                           `json:"PageNumber" xml:"PageNumber"`
-	Plugins    PluginsInDescribePluginsByApi `json:"Plugins" xml:"Plugins"`
-}
-
-// CreateDescribePluginsByApiRequest creates a request to invoke DescribePluginsByApi API
-func CreateDescribePluginsByApiRequest() (request *DescribePluginsByApiRequest) {
-	request = &DescribePluginsByApiRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("CloudAPI", "2016-07-14", "DescribePluginsByApi", "apigateway", "openAPI")
-	return
-}
-
-// CreateDescribePluginsByApiResponse creates a response to parse from DescribePluginsByApi response
-func CreateDescribePluginsByApiResponse() (response *DescribePluginsByApiResponse) {
-	response = &DescribePluginsByApiResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 0
services/cloudapi/describe_purchased_api_group.go


+ 0 - 0
services/cloudapi/describe_purchased_api_groups.go


+ 0 - 0
services/cloudapi/describe_purchased_apis.go


+ 0 - 0
services/cloudapi/describe_regions.go


+ 0 - 0
services/cloudapi/describe_signatures.go


+ 0 - 0
services/cloudapi/describe_signatures_by_api.go


+ 0 - 0
services/cloudapi/describe_system_parameters.go


+ 0 - 0
services/cloudapi/describe_traffic_controls.go


+ 0 - 0
services/cloudapi/describe_traffic_controls_by_api.go


+ 0 - 0
services/cloudapi/describe_vpc_accesses.go


+ 0 - 108
services/cloudapi/detach_plugin.go

@@ -1,108 +0,0 @@
-package cloudapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// DetachPlugin invokes the cloudapi.DetachPlugin API synchronously
-// api document: https://help.aliyun.com/api/cloudapi/detachplugin.html
-func (client *Client) DetachPlugin(request *DetachPluginRequest) (response *DetachPluginResponse, err error) {
-	response = CreateDetachPluginResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DetachPluginWithChan invokes the cloudapi.DetachPlugin API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/detachplugin.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DetachPluginWithChan(request *DetachPluginRequest) (<-chan *DetachPluginResponse, <-chan error) {
-	responseChan := make(chan *DetachPluginResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DetachPlugin(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DetachPluginWithCallback invokes the cloudapi.DetachPlugin API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/detachplugin.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DetachPluginWithCallback(request *DetachPluginRequest, callback func(response *DetachPluginResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DetachPluginResponse
-		var err error
-		defer close(result)
-		response, err = client.DetachPlugin(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DetachPluginRequest is the request struct for api DetachPlugin
-type DetachPluginRequest struct {
-	*requests.RpcRequest
-	StageName     string `position:"Query" name:"StageName"`
-	SecurityToken string `position:"Query" name:"SecurityToken"`
-	PluginId      string `position:"Query" name:"PluginId"`
-	GroupId       string `position:"Query" name:"GroupId"`
-	ApiId         string `position:"Query" name:"ApiId"`
-	ApiIds        string `position:"Query" name:"ApiIds"`
-}
-
-// DetachPluginResponse is the response struct for api DetachPlugin
-type DetachPluginResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateDetachPluginRequest creates a request to invoke DetachPlugin API
-func CreateDetachPluginRequest() (request *DetachPluginRequest) {
-	request = &DetachPluginRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("CloudAPI", "2016-07-14", "DetachPlugin", "apigateway", "openAPI")
-	return
-}
-
-// CreateDetachPluginResponse creates a response to parse from DetachPlugin response
-func CreateDetachPluginResponse() (response *DetachPluginResponse) {
-	response = &DetachPluginResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 104
services/cloudapi/generate_instance_token.go

@@ -1,104 +0,0 @@
-package cloudapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// GenerateInstanceToken invokes the cloudapi.GenerateInstanceToken API synchronously
-// api document: https://help.aliyun.com/api/cloudapi/generateinstancetoken.html
-func (client *Client) GenerateInstanceToken(request *GenerateInstanceTokenRequest) (response *GenerateInstanceTokenResponse, err error) {
-	response = CreateGenerateInstanceTokenResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// GenerateInstanceTokenWithChan invokes the cloudapi.GenerateInstanceToken API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/generateinstancetoken.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) GenerateInstanceTokenWithChan(request *GenerateInstanceTokenRequest) (<-chan *GenerateInstanceTokenResponse, <-chan error) {
-	responseChan := make(chan *GenerateInstanceTokenResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.GenerateInstanceToken(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// GenerateInstanceTokenWithCallback invokes the cloudapi.GenerateInstanceToken API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/generateinstancetoken.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) GenerateInstanceTokenWithCallback(request *GenerateInstanceTokenRequest, callback func(response *GenerateInstanceTokenResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *GenerateInstanceTokenResponse
-		var err error
-		defer close(result)
-		response, err = client.GenerateInstanceToken(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// GenerateInstanceTokenRequest is the request struct for api GenerateInstanceToken
-type GenerateInstanceTokenRequest struct {
-	*requests.RpcRequest
-	InstanceId string `position:"Query" name:"InstanceId"`
-}
-
-// GenerateInstanceTokenResponse is the response struct for api GenerateInstanceToken
-type GenerateInstanceTokenResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Token     string `json:"Token" xml:"Token"`
-}
-
-// CreateGenerateInstanceTokenRequest creates a request to invoke GenerateInstanceToken API
-func CreateGenerateInstanceTokenRequest() (request *GenerateInstanceTokenRequest) {
-	request = &GenerateInstanceTokenRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("CloudAPI", "2016-07-14", "GenerateInstanceToken", "apigateway", "openAPI")
-	return
-}
-
-// CreateGenerateInstanceTokenResponse creates a response to parse from GenerateInstanceToken response
-func CreateGenerateInstanceTokenResponse() (response *GenerateInstanceTokenResponse) {
-	response = &GenerateInstanceTokenResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 0
services/cloudapi/import_swagger.go


+ 25 - 23
services/cloudapi/modify_api.go

@@ -76,29 +76,31 @@ func (client *Client) ModifyApiWithCallback(request *ModifyApiRequest, callback
 // ModifyApiRequest is the request struct for api ModifyApi
 type ModifyApiRequest struct {
 	*requests.RpcRequest
-	WebSocketApiType     string `position:"Query" name:"WebSocketApiType"`
-	ErrorCodeSamples     string `position:"Query" name:"ErrorCodeSamples"`
-	Description          string `position:"Query" name:"Description"`
-	ConstantParameters   string `position:"Query" name:"ConstantParameters"`
-	AuthType             string `position:"Query" name:"AuthType"`
-	AllowSignatureMethod string `position:"Query" name:"AllowSignatureMethod"`
-	ServiceParameters    string `position:"Query" name:"ServiceParameters"`
-	FailResultSample     string `position:"Query" name:"FailResultSample"`
-	SystemParameters     string `position:"Query" name:"SystemParameters"`
-	ServiceParametersMap string `position:"Query" name:"ServiceParametersMap"`
-	SecurityToken        string `position:"Query" name:"SecurityToken"`
-	OpenIdConnectConfig  string `position:"Query" name:"OpenIdConnectConfig"`
-	RequestParameters    string `position:"Query" name:"RequestParameters"`
-	ResultDescriptions   string `position:"Query" name:"ResultDescriptions"`
-	Visibility           string `position:"Query" name:"Visibility"`
-	GroupId              string `position:"Query" name:"GroupId"`
-	ServiceConfig        string `position:"Query" name:"ServiceConfig"`
-	ResultType           string `position:"Query" name:"ResultType"`
-	ApiName              string `position:"Query" name:"ApiName"`
-	ResultSample         string `position:"Query" name:"ResultSample"`
-	RequestConfig        string `position:"Query" name:"RequestConfig"`
-	ResultBodyModel      string `position:"Query" name:"ResultBodyModel"`
-	ApiId                string `position:"Query" name:"ApiId"`
+	WebSocketApiType     string           `position:"Query" name:"WebSocketApiType"`
+	ErrorCodeSamples     string           `position:"Query" name:"ErrorCodeSamples"`
+	Description          string           `position:"Query" name:"Description"`
+	DisableInternet      requests.Boolean `position:"Query" name:"DisableInternet"`
+	ConstantParameters   string           `position:"Query" name:"ConstantParameters"`
+	AuthType             string           `position:"Query" name:"AuthType"`
+	AllowSignatureMethod string           `position:"Query" name:"AllowSignatureMethod"`
+	ServiceParameters    string           `position:"Query" name:"ServiceParameters"`
+	FailResultSample     string           `position:"Query" name:"FailResultSample"`
+	SystemParameters     string           `position:"Query" name:"SystemParameters"`
+	ServiceParametersMap string           `position:"Query" name:"ServiceParametersMap"`
+	SecurityToken        string           `position:"Query" name:"SecurityToken"`
+	OpenIdConnectConfig  string           `position:"Query" name:"OpenIdConnectConfig"`
+	RequestParameters    string           `position:"Query" name:"RequestParameters"`
+	ResultDescriptions   string           `position:"Query" name:"ResultDescriptions"`
+	Visibility           string           `position:"Query" name:"Visibility"`
+	GroupId              string           `position:"Query" name:"GroupId"`
+	ServiceConfig        string           `position:"Query" name:"ServiceConfig"`
+	ResultType           string           `position:"Query" name:"ResultType"`
+	ApiName              string           `position:"Query" name:"ApiName"`
+	ResultSample         string           `position:"Query" name:"ResultSample"`
+	ForceNonceCheck      requests.Boolean `position:"Query" name:"ForceNonceCheck"`
+	RequestConfig        string           `position:"Query" name:"RequestConfig"`
+	ResultBodyModel      string           `position:"Query" name:"ResultBodyModel"`
+	ApiId                string           `position:"Query" name:"ApiId"`
 }
 
 // ModifyApiResponse is the response struct for api ModifyApi

+ 0 - 0
services/cloudapi/modify_api_group.go


+ 0 - 0
services/cloudapi/modify_app.go


+ 0 - 106
services/cloudapi/modify_catalog.go

@@ -1,106 +0,0 @@
-package cloudapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// ModifyCatalog invokes the cloudapi.ModifyCatalog API synchronously
-// api document: https://help.aliyun.com/api/cloudapi/modifycatalog.html
-func (client *Client) ModifyCatalog(request *ModifyCatalogRequest) (response *ModifyCatalogResponse, err error) {
-	response = CreateModifyCatalogResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// ModifyCatalogWithChan invokes the cloudapi.ModifyCatalog API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/modifycatalog.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ModifyCatalogWithChan(request *ModifyCatalogRequest) (<-chan *ModifyCatalogResponse, <-chan error) {
-	responseChan := make(chan *ModifyCatalogResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.ModifyCatalog(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// ModifyCatalogWithCallback invokes the cloudapi.ModifyCatalog API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/modifycatalog.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ModifyCatalogWithCallback(request *ModifyCatalogRequest, callback func(response *ModifyCatalogResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *ModifyCatalogResponse
-		var err error
-		defer close(result)
-		response, err = client.ModifyCatalog(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// ModifyCatalogRequest is the request struct for api ModifyCatalog
-type ModifyCatalogRequest struct {
-	*requests.RpcRequest
-	CatalogId     string `position:"Query" name:"CatalogId"`
-	SecurityToken string `position:"Query" name:"SecurityToken"`
-	CatalogName   string `position:"Query" name:"CatalogName"`
-	Description   string `position:"Query" name:"Description"`
-}
-
-// ModifyCatalogResponse is the response struct for api ModifyCatalog
-type ModifyCatalogResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateModifyCatalogRequest creates a request to invoke ModifyCatalog API
-func CreateModifyCatalogRequest() (request *ModifyCatalogRequest) {
-	request = &ModifyCatalogRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("CloudAPI", "2016-07-14", "ModifyCatalog", "apigateway", "openAPI")
-	return
-}
-
-// CreateModifyCatalogResponse creates a response to parse from ModifyCatalog response
-func CreateModifyCatalogResponse() (response *ModifyCatalogResponse) {
-	response = &ModifyCatalogResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 0
services/cloudapi/modify_ip_control.go


+ 0 - 0
services/cloudapi/modify_ip_control_policy_item.go


+ 0 - 0
services/cloudapi/modify_log_config.go


+ 0 - 108
services/cloudapi/modify_model.go

@@ -1,108 +0,0 @@
-package cloudapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// ModifyModel invokes the cloudapi.ModifyModel API synchronously
-// api document: https://help.aliyun.com/api/cloudapi/modifymodel.html
-func (client *Client) ModifyModel(request *ModifyModelRequest) (response *ModifyModelResponse, err error) {
-	response = CreateModifyModelResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// ModifyModelWithChan invokes the cloudapi.ModifyModel API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/modifymodel.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ModifyModelWithChan(request *ModifyModelRequest) (<-chan *ModifyModelResponse, <-chan error) {
-	responseChan := make(chan *ModifyModelResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.ModifyModel(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// ModifyModelWithCallback invokes the cloudapi.ModifyModel API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/modifymodel.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ModifyModelWithCallback(request *ModifyModelRequest, callback func(response *ModifyModelResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *ModifyModelResponse
-		var err error
-		defer close(result)
-		response, err = client.ModifyModel(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// ModifyModelRequest is the request struct for api ModifyModel
-type ModifyModelRequest struct {
-	*requests.RpcRequest
-	Schema        string `position:"Query" name:"Schema"`
-	NewModelName  string `position:"Query" name:"NewModelName"`
-	SecurityToken string `position:"Query" name:"SecurityToken"`
-	ModelName     string `position:"Query" name:"ModelName"`
-	GroupId       string `position:"Query" name:"GroupId"`
-	Description   string `position:"Query" name:"Description"`
-}
-
-// ModifyModelResponse is the response struct for api ModifyModel
-type ModifyModelResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateModifyModelRequest creates a request to invoke ModifyModel API
-func CreateModifyModelRequest() (request *ModifyModelRequest) {
-	request = &ModifyModelRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("CloudAPI", "2016-07-14", "ModifyModel", "apigateway", "openAPI")
-	return
-}
-
-// CreateModifyModelResponse creates a response to parse from ModifyModel response
-func CreateModifyModelResponse() (response *ModifyModelResponse) {
-	response = &ModifyModelResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 107
services/cloudapi/modify_plugin.go

@@ -1,107 +0,0 @@
-package cloudapi
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// ModifyPlugin invokes the cloudapi.ModifyPlugin API synchronously
-// api document: https://help.aliyun.com/api/cloudapi/modifyplugin.html
-func (client *Client) ModifyPlugin(request *ModifyPluginRequest) (response *ModifyPluginResponse, err error) {
-	response = CreateModifyPluginResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// ModifyPluginWithChan invokes the cloudapi.ModifyPlugin API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/modifyplugin.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ModifyPluginWithChan(request *ModifyPluginRequest) (<-chan *ModifyPluginResponse, <-chan error) {
-	responseChan := make(chan *ModifyPluginResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.ModifyPlugin(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// ModifyPluginWithCallback invokes the cloudapi.ModifyPlugin API asynchronously
-// api document: https://help.aliyun.com/api/cloudapi/modifyplugin.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ModifyPluginWithCallback(request *ModifyPluginRequest, callback func(response *ModifyPluginResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *ModifyPluginResponse
-		var err error
-		defer close(result)
-		response, err = client.ModifyPlugin(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// ModifyPluginRequest is the request struct for api ModifyPlugin
-type ModifyPluginRequest struct {
-	*requests.RpcRequest
-	PluginName    string `position:"Query" name:"PluginName"`
-	SecurityToken string `position:"Query" name:"SecurityToken"`
-	PluginId      string `position:"Query" name:"PluginId"`
-	PluginData    string `position:"Query" name:"PluginData"`
-	Description   string `position:"Query" name:"Description"`
-}
-
-// ModifyPluginResponse is the response struct for api ModifyPlugin
-type ModifyPluginResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateModifyPluginRequest creates a request to invoke ModifyPlugin API
-func CreateModifyPluginRequest() (request *ModifyPluginRequest) {
-	request = &ModifyPluginRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("CloudAPI", "2016-07-14", "ModifyPlugin", "apigateway", "openAPI")
-	return
-}
-
-// CreateModifyPluginResponse creates a response to parse from ModifyPlugin response
-func CreateModifyPluginResponse() (response *ModifyPluginResponse) {
-	response = &ModifyPluginResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 0
services/cloudapi/modify_signature.go


+ 0 - 0
services/cloudapi/modify_traffic_control.go


部分文件因为文件数量过多而无法显示