Bladeren bron

Fix the capitalization problem of Describe Site Monitor Data.

sdk-team 6 jaren geleden
bovenliggende
commit
de56259afd
91 gewijzigde bestanden met toevoegingen van 491 en 284 verwijderingen
  1. 3 0
      ChangeLog.txt
  2. 6 6
      services/cms/apply_metric_rule_template.go
  3. 8 8
      services/cms/create_host_availability.go
  4. 108 0
      services/cms/create_metric_rule_resources.go
  5. 2 2
      services/cms/create_metric_rule_template.go
  6. 2 2
      services/cms/create_monitor_agent_process.go
  7. 3 3
      services/cms/create_monitor_group.go
  8. 2 2
      services/cms/create_monitoring_agent_process.go
  9. 3 3
      services/cms/create_site_monitor.go
  10. 1 1
      services/cms/delete_custom_metric.go
  11. 1 1
      services/cms/delete_event_rule_targets.go
  12. 107 0
      services/cms/delete_metric_rule_resources.go
  13. 1 1
      services/cms/delete_monitor_group_instances.go
  14. 1 1
      services/cms/delete_monitoring_agent_process.go
  15. 7 7
      services/cms/describe_alert_history_list.go
  16. 1 1
      services/cms/describe_contact_group_list.go
  17. 1 1
      services/cms/describe_contact_list.go
  18. 5 5
      services/cms/describe_custom_event_attribute.go
  19. 1 1
      services/cms/describe_custom_event_count.go
  20. 1 1
      services/cms/describe_custom_event_histogram.go
  21. 1 1
      services/cms/describe_custom_metric_list.go
  22. 1 1
      services/cms/describe_event_rule_list.go
  23. 2 2
      services/cms/describe_host_availability_list.go
  24. 1 1
      services/cms/describe_metric_data.go
  25. 5 5
      services/cms/describe_metric_last.go
  26. 5 5
      services/cms/describe_metric_list.go
  27. 2 2
      services/cms/describe_metric_meta_list.go
  28. 4 4
      services/cms/describe_metric_rule_list.go
  29. 4 4
      services/cms/describe_metric_rule_template_list.go
  30. 5 5
      services/cms/describe_metric_top.go
  31. 2 2
      services/cms/describe_monitor_group_instance_attribute.go
  32. 2 2
      services/cms/describe_monitor_group_instances.go
  33. 1 1
      services/cms/describe_monitor_group_notify_policy_list.go
  34. 2 2
      services/cms/describe_monitor_groups.go
  35. 2 2
      services/cms/describe_monitoring_agent_hosts.go
  36. 1 1
      services/cms/describe_site_monitor_data.go
  37. 1 1
      services/cms/describe_site_monitor_statistics.go
  38. 5 5
      services/cms/describe_system_event_attribute.go
  39. 3 3
      services/cms/describe_system_event_count.go
  40. 5 5
      services/cms/describe_system_event_histogram.go
  41. 6 6
      services/cms/modify_host_availability.go
  42. 2 2
      services/cms/modify_metric_rule_template.go
  43. 1 1
      services/cms/modify_monitor_group.go
  44. 3 3
      services/cms/modify_site_monitor.go
  45. 1 1
      services/cms/put_contact.go
  46. 1 1
      services/cms/put_contact_group.go
  47. 1 1
      services/cms/put_event_rule.go
  48. 8 8
      services/cms/put_event_rule_targets.go
  49. 1 1
      services/cms/put_metric_rule_targets.go
  50. 10 3
      services/cms/put_monitor_group_dynamic_rule.go
  51. 1 1
      services/cms/put_monitoring_config.go
  52. 2 2
      services/cms/struct_alarm_history.go
  53. 2 2
      services/cms/struct_apply_history.go
  54. 3 3
      services/cms/struct_contact.go
  55. 1 1
      services/cms/struct_contact_parameter.go
  56. 3 3
      services/cms/struct_contact_parameter_in_put_event_rule_targets.go
  57. 1 1
      services/cms/struct_contact_parameters.go
  58. 1 1
      services/cms/struct_custom_event_count.go
  59. 3 3
      services/cms/struct_event_histogram.go
  60. 1 1
      services/cms/struct_event_pattern_in_describe_event_rule_list.go
  61. 1 1
      services/cms/struct_failed_contact_parameters.go
  62. 1 1
      services/cms/struct_failed_fc_parameters.go
  63. 1 1
      services/cms/struct_failed_mns_parameters.go
  64. 4 3
      services/cms/struct_fc_parameter.go
  65. 3 3
      services/cms/struct_fc_parameter_in_put_event_rule_targets.go
  66. 1 1
      services/cms/struct_fc_parameters.go
  67. 1 1
      services/cms/struct_host.go
  68. 1 1
      services/cms/struct_isp_city.go
  69. 2 1
      services/cms/struct_mns_parameter.go
  70. 3 3
      services/cms/struct_mns_parameter_in_put_event_rule_targets.go
  71. 1 1
      services/cms/struct_mns_parameters.go
  72. 1 1
      services/cms/struct_monitor_group_categories.go
  73. 1 1
      services/cms/struct_node_process.go
  74. 2 2
      services/cms/struct_node_task_config.go
  75. 1 1
      services/cms/struct_node_task_instance.go
  76. 2 2
      services/cms/struct_notify_policy.go
  77. 38 40
      services/cms/struct_resource.go
  78. 0 22
      services/cms/struct_resource_in_apply_metric_rule_template.go
  79. 31 0
      services/cms/struct_resource_in_describe_alerting_metric_rule_resources.go
  80. 1 1
      services/cms/struct_resource_in_describe_monitor_group_dynamic_rules.go
  81. 0 28
      services/cms/struct_resource_in_describe_monitor_groups.go
  82. 1 1
      services/cms/struct_resource_item.go
  83. 1 1
      services/cms/struct_resources_in_describe_alerting_metric_rule_resources.go
  84. 1 1
      services/cms/struct_resources_in_describe_monitor_groups.go
  85. 1 1
      services/cms/struct_result.go
  86. 9 9
      services/cms/struct_site_monitor.go
  87. 1 0
      services/cms/struct_sls_parameter.go
  88. 2 2
      services/cms/struct_system_event.go
  89. 2 2
      services/cms/struct_system_event_count.go
  90. 3 3
      services/cms/struct_system_event_histogram.go
  91. 4 4
      services/cms/struct_template.go

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2019-09-25 Version: 1.60.176
+- Fix the capitalization problem of Describe Site Monitor Data.
+
 2019-09-24 Version: 1.60.175
 - Generated 2019-08-10 for `multimediaai`.
 

+ 6 - 6
services/cms/apply_metric_rule_template.go

@@ -76,24 +76,24 @@ func (client *Client) ApplyMetricRuleTemplateWithCallback(request *ApplyMetricRu
 // ApplyMetricRuleTemplateRequest is the request struct for api ApplyMetricRuleTemplate
 type ApplyMetricRuleTemplateRequest struct {
 	*requests.RpcRequest
-	EnableStartTime requests.Integer `position:"Query" name:"EnableStartTime"`
 	ApplyMode       string           `position:"Query" name:"ApplyMode"`
 	Webhook         string           `position:"Query" name:"Webhook"`
 	TemplateIds     string           `position:"Query" name:"TemplateIds"`
 	EnableEndTime   requests.Integer `position:"Query" name:"EnableEndTime"`
 	GroupId         requests.Integer `position:"Query" name:"GroupId"`
 	NotifyLevel     requests.Integer `position:"Query" name:"NotifyLevel"`
+	EnableStartTime requests.Integer `position:"Query" name:"EnableStartTime"`
 	SilenceTime     requests.Integer `position:"Query" name:"SilenceTime"`
 }
 
 // ApplyMetricRuleTemplateResponse is the response struct for api ApplyMetricRuleTemplate
 type ApplyMetricRuleTemplateResponse struct {
 	*responses.BaseResponse
-	RequestId string                            `json:"RequestId" xml:"RequestId"`
-	Success   bool                              `json:"Success" xml:"Success"`
-	Code      int                               `json:"Code" xml:"Code"`
-	Message   string                            `json:"Message" xml:"Message"`
-	Resource  ResourceInApplyMetricRuleTemplate `json:"Resource" xml:"Resource"`
+	RequestId string   `json:"RequestId" xml:"RequestId"`
+	Success   bool     `json:"Success" xml:"Success"`
+	Code      int      `json:"Code" xml:"Code"`
+	Message   string   `json:"Message" xml:"Message"`
+	Resource  Resource `json:"Resource" xml:"Resource"`
 }
 
 // CreateApplyMetricRuleTemplateRequest creates a request to invoke ApplyMetricRuleTemplate API

+ 8 - 8
services/cms/create_host_availability.go

@@ -76,22 +76,22 @@ func (client *Client) CreateHostAvailabilityWithCallback(request *CreateHostAvai
 // CreateHostAvailabilityRequest is the request struct for api CreateHostAvailability
 type CreateHostAvailabilityRequest struct {
 	*requests.RpcRequest
-	InstanceList                       *[]string                                          `position:"Query" name:"InstanceList"  type:"Repeated"`
-	TaskType                           string                                             `position:"Query" name:"TaskType"`
 	TaskOptionHttpMethod               string                                             `position:"Query" name:"TaskOption.HttpMethod"`
 	AlertConfigEscalationList          *[]CreateHostAvailabilityAlertConfigEscalationList `position:"Query" name:"AlertConfigEscalationList"  type:"Repeated"`
-	GroupId                            requests.Integer                                   `position:"Query" name:"GroupId"`
 	TaskName                           string                                             `position:"Query" name:"TaskName"`
 	AlertConfigSilenceTime             requests.Integer                                   `position:"Query" name:"AlertConfig.SilenceTime"`
 	TaskOptionHttpResponseCharset      string                                             `position:"Query" name:"TaskOption.HttpResponseCharset"`
-	AlertConfigEndTime                 requests.Integer                                   `position:"Query" name:"AlertConfig.EndTime"`
-	TaskOptionHttpURI                  string                                             `position:"Query" name:"TaskOption.HttpURI"`
 	TaskOptionHttpNegative             requests.Boolean                                   `position:"Query" name:"TaskOption.HttpNegative"`
-	TaskScope                          string                                             `position:"Query" name:"TaskScope"`
 	AlertConfigNotifyType              requests.Integer                                   `position:"Query" name:"AlertConfig.NotifyType"`
-	AlertConfigStartTime               requests.Integer                                   `position:"Query" name:"AlertConfig.StartTime"`
 	TaskOptionTelnetOrPingHost         string                                             `position:"Query" name:"TaskOption.TelnetOrPingHost"`
 	TaskOptionHttpResponseMatchContent string                                             `position:"Query" name:"TaskOption.HttpResponseMatchContent"`
+	InstanceList                       *[]string                                          `position:"Query" name:"InstanceList"  type:"Repeated"`
+	TaskType                           string                                             `position:"Query" name:"TaskType"`
+	GroupId                            requests.Integer                                   `position:"Query" name:"GroupId"`
+	AlertConfigEndTime                 requests.Integer                                   `position:"Query" name:"AlertConfig.EndTime"`
+	TaskOptionHttpURI                  string                                             `position:"Query" name:"TaskOption.HttpURI"`
+	TaskScope                          string                                             `position:"Query" name:"TaskScope"`
+	AlertConfigStartTime               requests.Integer                                   `position:"Query" name:"AlertConfig.StartTime"`
 	AlertConfigWebHook                 string                                             `position:"Query" name:"AlertConfig.WebHook"`
 }
 
@@ -111,7 +111,7 @@ type CreateHostAvailabilityResponse struct {
 	Message   string `json:"Message" xml:"Message"`
 	Success   bool   `json:"Success" xml:"Success"`
 	RequestId string `json:"RequestId" xml:"RequestId"`
-	TaskId    int    `json:"TaskId" xml:"TaskId"`
+	TaskId    int64  `json:"TaskId" xml:"TaskId"`
 }
 
 // CreateCreateHostAvailabilityRequest creates a request to invoke CreateHostAvailability API

+ 108 - 0
services/cms/create_metric_rule_resources.go

@@ -0,0 +1,108 @@
+package cms
+
+//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"
+)
+
+// CreateMetricRuleResources invokes the cms.CreateMetricRuleResources API synchronously
+// api document: https://help.aliyun.com/api/cms/createmetricruleresources.html
+func (client *Client) CreateMetricRuleResources(request *CreateMetricRuleResourcesRequest) (response *CreateMetricRuleResourcesResponse, err error) {
+	response = CreateCreateMetricRuleResourcesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateMetricRuleResourcesWithChan invokes the cms.CreateMetricRuleResources API asynchronously
+// api document: https://help.aliyun.com/api/cms/createmetricruleresources.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateMetricRuleResourcesWithChan(request *CreateMetricRuleResourcesRequest) (<-chan *CreateMetricRuleResourcesResponse, <-chan error) {
+	responseChan := make(chan *CreateMetricRuleResourcesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateMetricRuleResources(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateMetricRuleResourcesWithCallback invokes the cms.CreateMetricRuleResources API asynchronously
+// api document: https://help.aliyun.com/api/cms/createmetricruleresources.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateMetricRuleResourcesWithCallback(request *CreateMetricRuleResourcesRequest, callback func(response *CreateMetricRuleResourcesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateMetricRuleResourcesResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateMetricRuleResources(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateMetricRuleResourcesRequest is the request struct for api CreateMetricRuleResources
+type CreateMetricRuleResourcesRequest struct {
+	*requests.RpcRequest
+	Resources string `position:"Query" name:"Resources"`
+	RuleId    string `position:"Query" name:"RuleId"`
+	Overwrite string `position:"Query" name:"Overwrite"`
+}
+
+// CreateMetricRuleResourcesResponse is the response struct for api CreateMetricRuleResources
+type CreateMetricRuleResourcesResponse struct {
+	*responses.BaseResponse
+	Success   bool   `json:"Success" xml:"Success"`
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateCreateMetricRuleResourcesRequest creates a request to invoke CreateMetricRuleResources API
+func CreateCreateMetricRuleResourcesRequest() (request *CreateMetricRuleResourcesRequest) {
+	request = &CreateMetricRuleResourcesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "CreateMetricRuleResources", "cms", "openAPI")
+	return
+}
+
+// CreateCreateMetricRuleResourcesResponse creates a response to parse from CreateMetricRuleResources response
+func CreateCreateMetricRuleResourcesResponse() (response *CreateMetricRuleResourcesResponse) {
+	response = &CreateMetricRuleResourcesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 2 - 2
services/cms/create_metric_rule_template.go

@@ -76,8 +76,8 @@ func (client *Client) CreateMetricRuleTemplateWithCallback(request *CreateMetric
 // CreateMetricRuleTemplateRequest is the request struct for api CreateMetricRuleTemplate
 type CreateMetricRuleTemplateRequest struct {
 	*requests.RpcRequest
-	Name           string                                    `position:"Query" name:"Name"`
 	Description    string                                    `position:"Query" name:"Description"`
+	Name           string                                    `position:"Query" name:"Name"`
 	AlertTemplates *[]CreateMetricRuleTemplateAlertTemplates `position:"Query" name:"AlertTemplates"  type:"Repeated"`
 }
 
@@ -110,7 +110,7 @@ type CreateMetricRuleTemplateResponse struct {
 	Success   bool   `json:"Success" xml:"Success"`
 	Code      int    `json:"Code" xml:"Code"`
 	Message   string `json:"Message" xml:"Message"`
-	Id        int    `json:"Id" xml:"Id"`
+	Id        int64  `json:"Id" xml:"Id"`
 }
 
 // CreateCreateMetricRuleTemplateRequest creates a request to invoke CreateMetricRuleTemplate API

+ 2 - 2
services/cms/create_monitor_agent_process.go

@@ -76,8 +76,8 @@ func (client *Client) CreateMonitorAgentProcessWithCallback(request *CreateMonit
 // CreateMonitorAgentProcessRequest is the request struct for api CreateMonitorAgentProcess
 type CreateMonitorAgentProcessRequest struct {
 	*requests.RpcRequest
-	InstanceId  string `position:"Query" name:"InstanceId"`
 	ProcessName string `position:"Query" name:"ProcessName"`
+	InstanceId  string `position:"Query" name:"InstanceId"`
 	ProcessUser string `position:"Query" name:"ProcessUser"`
 }
 
@@ -88,7 +88,7 @@ type CreateMonitorAgentProcessResponse struct {
 	Message   string `json:"Message" xml:"Message"`
 	Success   bool   `json:"Success" xml:"Success"`
 	RequestId string `json:"RequestId" xml:"RequestId"`
-	Id        int    `json:"Id" xml:"Id"`
+	Id        int64  `json:"Id" xml:"Id"`
 }
 
 // CreateCreateMonitorAgentProcessRequest creates a request to invoke CreateMonitorAgentProcess API

+ 3 - 3
services/cms/create_monitor_group.go

@@ -77,10 +77,10 @@ func (client *Client) CreateMonitorGroupWithCallback(request *CreateMonitorGroup
 type CreateMonitorGroupRequest struct {
 	*requests.RpcRequest
 	ContactGroups string           `position:"Query" name:"ContactGroups"`
-	Options       string           `position:"Query" name:"Options"`
 	Type          string           `position:"Query" name:"Type"`
-	ServiceId     requests.Integer `position:"Query" name:"ServiceId"`
 	GroupName     string           `position:"Query" name:"GroupName"`
+	Options       string           `position:"Query" name:"Options"`
+	ServiceId     requests.Integer `position:"Query" name:"ServiceId"`
 	BindUrl       string           `position:"Query" name:"BindUrl"`
 }
 
@@ -91,7 +91,7 @@ type CreateMonitorGroupResponse struct {
 	Success   bool   `json:"Success" xml:"Success"`
 	Code      int    `json:"Code" xml:"Code"`
 	Message   string `json:"Message" xml:"Message"`
-	GroupId   int    `json:"GroupId" xml:"GroupId"`
+	GroupId   int64  `json:"GroupId" xml:"GroupId"`
 }
 
 // CreateCreateMonitorGroupRequest creates a request to invoke CreateMonitorGroup API

+ 2 - 2
services/cms/create_monitoring_agent_process.go

@@ -76,8 +76,8 @@ func (client *Client) CreateMonitoringAgentProcessWithCallback(request *CreateMo
 // CreateMonitoringAgentProcessRequest is the request struct for api CreateMonitoringAgentProcess
 type CreateMonitoringAgentProcessRequest struct {
 	*requests.RpcRequest
-	InstanceId  string `position:"Query" name:"InstanceId"`
 	ProcessName string `position:"Query" name:"ProcessName"`
+	InstanceId  string `position:"Query" name:"InstanceId"`
 	ProcessUser string `position:"Query" name:"ProcessUser"`
 }
 
@@ -88,7 +88,7 @@ type CreateMonitoringAgentProcessResponse struct {
 	Message   string `json:"Message" xml:"Message"`
 	Success   bool   `json:"Success" xml:"Success"`
 	RequestId string `json:"RequestId" xml:"RequestId"`
-	Id        int    `json:"Id" xml:"Id"`
+	Id        int64  `json:"Id" xml:"Id"`
 }
 
 // CreateCreateMonitoringAgentProcessRequest creates a request to invoke CreateMonitoringAgentProcess API

+ 3 - 3
services/cms/create_site_monitor.go

@@ -76,13 +76,13 @@ func (client *Client) CreateSiteMonitorWithCallback(request *CreateSiteMonitorRe
 // CreateSiteMonitorRequest is the request struct for api CreateSiteMonitor
 type CreateSiteMonitorRequest struct {
 	*requests.RpcRequest
-	OptionsJson string `position:"Query" name:"OptionsJson"`
 	Address     string `position:"Query" name:"Address"`
 	TaskType    string `position:"Query" name:"TaskType"`
-	AlertIds    string `position:"Query" name:"AlertIds"`
 	TaskName    string `position:"Query" name:"TaskName"`
-	Interval    string `position:"Query" name:"Interval"`
 	IspCities   string `position:"Query" name:"IspCities"`
+	OptionsJson string `position:"Query" name:"OptionsJson"`
+	AlertIds    string `position:"Query" name:"AlertIds"`
+	Interval    string `position:"Query" name:"Interval"`
 }
 
 // CreateSiteMonitorResponse is the response struct for api CreateSiteMonitor

+ 1 - 1
services/cms/delete_custom_metric.go

@@ -77,8 +77,8 @@ func (client *Client) DeleteCustomMetricWithCallback(request *DeleteCustomMetric
 type DeleteCustomMetricRequest struct {
 	*requests.RpcRequest
 	GroupId    string `position:"Query" name:"GroupId"`
-	MetricName string `position:"Query" name:"MetricName"`
 	UUID       string `position:"Query" name:"UUID"`
+	MetricName string `position:"Query" name:"MetricName"`
 	Md5        string `position:"Query" name:"Md5"`
 }
 

+ 1 - 1
services/cms/delete_event_rule_targets.go

@@ -76,8 +76,8 @@ func (client *Client) DeleteEventRuleTargetsWithCallback(request *DeleteEventRul
 // DeleteEventRuleTargetsRequest is the request struct for api DeleteEventRuleTargets
 type DeleteEventRuleTargetsRequest struct {
 	*requests.RpcRequest
-	Ids      *[]string `position:"Query" name:"Ids"  type:"Repeated"`
 	RuleName string    `position:"Query" name:"RuleName"`
+	Ids      *[]string `position:"Query" name:"Ids"  type:"Repeated"`
 }
 
 // DeleteEventRuleTargetsResponse is the response struct for api DeleteEventRuleTargets

+ 107 - 0
services/cms/delete_metric_rule_resources.go

@@ -0,0 +1,107 @@
+package cms
+
+//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"
+)
+
+// DeleteMetricRuleResources invokes the cms.DeleteMetricRuleResources API synchronously
+// api document: https://help.aliyun.com/api/cms/deletemetricruleresources.html
+func (client *Client) DeleteMetricRuleResources(request *DeleteMetricRuleResourcesRequest) (response *DeleteMetricRuleResourcesResponse, err error) {
+	response = CreateDeleteMetricRuleResourcesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteMetricRuleResourcesWithChan invokes the cms.DeleteMetricRuleResources API asynchronously
+// api document: https://help.aliyun.com/api/cms/deletemetricruleresources.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteMetricRuleResourcesWithChan(request *DeleteMetricRuleResourcesRequest) (<-chan *DeleteMetricRuleResourcesResponse, <-chan error) {
+	responseChan := make(chan *DeleteMetricRuleResourcesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteMetricRuleResources(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteMetricRuleResourcesWithCallback invokes the cms.DeleteMetricRuleResources API asynchronously
+// api document: https://help.aliyun.com/api/cms/deletemetricruleresources.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteMetricRuleResourcesWithCallback(request *DeleteMetricRuleResourcesRequest, callback func(response *DeleteMetricRuleResourcesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteMetricRuleResourcesResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteMetricRuleResources(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteMetricRuleResourcesRequest is the request struct for api DeleteMetricRuleResources
+type DeleteMetricRuleResourcesRequest struct {
+	*requests.RpcRequest
+	Resources string `position:"Query" name:"Resources"`
+	RuleId    string `position:"Query" name:"RuleId"`
+}
+
+// DeleteMetricRuleResourcesResponse is the response struct for api DeleteMetricRuleResources
+type DeleteMetricRuleResourcesResponse struct {
+	*responses.BaseResponse
+	Success   bool   `json:"Success" xml:"Success"`
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateDeleteMetricRuleResourcesRequest creates a request to invoke DeleteMetricRuleResources API
+func CreateDeleteMetricRuleResourcesRequest() (request *DeleteMetricRuleResourcesRequest) {
+	request = &DeleteMetricRuleResourcesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DeleteMetricRuleResources", "cms", "openAPI")
+	return
+}
+
+// CreateDeleteMetricRuleResourcesResponse creates a response to parse from DeleteMetricRuleResources response
+func CreateDeleteMetricRuleResourcesResponse() (response *DeleteMetricRuleResourcesResponse) {
+	response = &DeleteMetricRuleResourcesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/cms/delete_monitor_group_instances.go

@@ -76,8 +76,8 @@ func (client *Client) DeleteMonitorGroupInstancesWithCallback(request *DeleteMon
 // DeleteMonitorGroupInstancesRequest is the request struct for api DeleteMonitorGroupInstances
 type DeleteMonitorGroupInstancesRequest struct {
 	*requests.RpcRequest
-	InstanceIdList string           `position:"Query" name:"InstanceIdList"`
 	GroupId        requests.Integer `position:"Query" name:"GroupId"`
+	InstanceIdList string           `position:"Query" name:"InstanceIdList"`
 	Category       string           `position:"Query" name:"Category"`
 }
 

+ 1 - 1
services/cms/delete_monitoring_agent_process.go

@@ -76,9 +76,9 @@ func (client *Client) DeleteMonitoringAgentProcessWithCallback(request *DeleteMo
 // DeleteMonitoringAgentProcessRequest is the request struct for api DeleteMonitoringAgentProcess
 type DeleteMonitoringAgentProcessRequest struct {
 	*requests.RpcRequest
+	ProcessName string `position:"Query" name:"ProcessName"`
 	InstanceId  string `position:"Query" name:"InstanceId"`
 	ProcessId   string `position:"Query" name:"ProcessId"`
-	ProcessName string `position:"Query" name:"ProcessName"`
 }
 
 // DeleteMonitoringAgentProcessResponse is the response struct for api DeleteMonitoringAgentProcess

+ 7 - 7
services/cms/describe_alert_history_list.go

@@ -76,18 +76,18 @@ func (client *Client) DescribeAlertHistoryListWithCallback(request *DescribeAler
 // DescribeAlertHistoryListRequest is the request struct for api DescribeAlertHistoryList
 type DescribeAlertHistoryListRequest struct {
 	*requests.RpcRequest
-	GroupId     string           `position:"Query" name:"GroupId"`
 	AlertStatus string           `position:"Query" name:"AlertStatus"`
-	Namespace   string           `position:"Query" name:"Namespace"`
-	PageSize    requests.Integer `position:"Query" name:"PageSize"`
-	EndTime     string           `position:"Query" name:"EndTime"`
 	RuleName    string           `position:"Query" name:"RuleName"`
-	State       string           `position:"Query" name:"State"`
 	StartTime   string           `position:"Query" name:"StartTime"`
-	Page        requests.Integer `position:"Query" name:"Page"`
-	RuleId      string           `position:"Query" name:"RuleId"`
+	PageSize    requests.Integer `position:"Query" name:"PageSize"`
+	State       string           `position:"Query" name:"State"`
 	MetricName  string           `position:"Query" name:"MetricName"`
+	GroupId     string           `position:"Query" name:"GroupId"`
+	EndTime     string           `position:"Query" name:"EndTime"`
 	Ascending   requests.Boolean `position:"Query" name:"Ascending"`
+	Namespace   string           `position:"Query" name:"Namespace"`
+	Page        requests.Integer `position:"Query" name:"Page"`
+	RuleId      string           `position:"Query" name:"RuleId"`
 }
 
 // DescribeAlertHistoryListResponse is the response struct for api DescribeAlertHistoryList

+ 1 - 1
services/cms/describe_contact_group_list.go

@@ -76,8 +76,8 @@ func (client *Client) DescribeContactGroupListWithCallback(request *DescribeCont
 // DescribeContactGroupListRequest is the request struct for api DescribeContactGroupList
 type DescribeContactGroupListRequest struct {
 	*requests.RpcRequest
-	PageSize   requests.Integer `position:"Query" name:"PageSize"`
 	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
 }
 
 // DescribeContactGroupListResponse is the response struct for api DescribeContactGroupList

+ 1 - 1
services/cms/describe_contact_list.go

@@ -76,9 +76,9 @@ func (client *Client) DescribeContactListWithCallback(request *DescribeContactLi
 // DescribeContactListRequest is the request struct for api DescribeContactList
 type DescribeContactListRequest struct {
 	*requests.RpcRequest
+	PageNumber  requests.Integer `position:"Query" name:"PageNumber"`
 	ContactName string           `position:"Query" name:"ContactName"`
 	PageSize    requests.Integer `position:"Query" name:"PageSize"`
-	PageNumber  requests.Integer `position:"Query" name:"PageNumber"`
 }
 
 // DescribeContactListResponse is the response struct for api DescribeContactList

+ 5 - 5
services/cms/describe_custom_event_attribute.go

@@ -77,14 +77,14 @@ func (client *Client) DescribeCustomEventAttributeWithCallback(request *Describe
 type DescribeCustomEventAttributeRequest struct {
 	*requests.RpcRequest
 	EventId        string           `position:"Query" name:"EventId"`
-	Level          string           `position:"Query" name:"Level"`
-	GroupId        string           `position:"Query" name:"GroupId"`
-	Name           string           `position:"Query" name:"Name"`
-	PageSize       requests.Integer `position:"Query" name:"PageSize"`
-	EndTime        string           `position:"Query" name:"EndTime"`
 	StartTime      string           `position:"Query" name:"StartTime"`
 	SearchKeywords string           `position:"Query" name:"SearchKeywords"`
 	PageNumber     requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize       requests.Integer `position:"Query" name:"PageSize"`
+	Level          string           `position:"Query" name:"Level"`
+	GroupId        string           `position:"Query" name:"GroupId"`
+	EndTime        string           `position:"Query" name:"EndTime"`
+	Name           string           `position:"Query" name:"Name"`
 }
 
 // DescribeCustomEventAttributeResponse is the response struct for api DescribeCustomEventAttribute

+ 1 - 1
services/cms/describe_custom_event_count.go

@@ -79,10 +79,10 @@ type DescribeCustomEventCountRequest struct {
 	EventId        string `position:"Query" name:"EventId"`
 	Level          string `position:"Query" name:"Level"`
 	GroupId        string `position:"Query" name:"GroupId"`
-	Name           string `position:"Query" name:"Name"`
 	EndTime        string `position:"Query" name:"EndTime"`
 	StartTime      string `position:"Query" name:"StartTime"`
 	SearchKeywords string `position:"Query" name:"SearchKeywords"`
+	Name           string `position:"Query" name:"Name"`
 }
 
 // DescribeCustomEventCountResponse is the response struct for api DescribeCustomEventCount

+ 1 - 1
services/cms/describe_custom_event_histogram.go

@@ -79,10 +79,10 @@ type DescribeCustomEventHistogramRequest struct {
 	EventId        string `position:"Query" name:"EventId"`
 	Level          string `position:"Query" name:"Level"`
 	GroupId        string `position:"Query" name:"GroupId"`
-	Name           string `position:"Query" name:"Name"`
 	EndTime        string `position:"Query" name:"EndTime"`
 	StartTime      string `position:"Query" name:"StartTime"`
 	SearchKeywords string `position:"Query" name:"SearchKeywords"`
+	Name           string `position:"Query" name:"Name"`
 }
 
 // DescribeCustomEventHistogramResponse is the response struct for api DescribeCustomEventHistogram

+ 1 - 1
services/cms/describe_custom_metric_list.go

@@ -77,10 +77,10 @@ func (client *Client) DescribeCustomMetricListWithCallback(request *DescribeCust
 type DescribeCustomMetricListRequest struct {
 	*requests.RpcRequest
 	GroupId    string `position:"Query" name:"GroupId"`
+	PageNumber string `position:"Query" name:"PageNumber"`
 	PageSize   string `position:"Query" name:"PageSize"`
 	MetricName string `position:"Query" name:"MetricName"`
 	Dimension  string `position:"Query" name:"Dimension"`
-	PageNumber string `position:"Query" name:"PageNumber"`
 	Md5        string `position:"Query" name:"Md5"`
 }
 

+ 1 - 1
services/cms/describe_event_rule_list.go

@@ -77,9 +77,9 @@ func (client *Client) DescribeEventRuleListWithCallback(request *DescribeEventRu
 type DescribeEventRuleListRequest struct {
 	*requests.RpcRequest
 	GroupId    string `position:"Query" name:"GroupId"`
+	PageNumber string `position:"Query" name:"PageNumber"`
 	PageSize   string `position:"Query" name:"PageSize"`
 	NamePrefix string `position:"Query" name:"NamePrefix"`
-	PageNumber string `position:"Query" name:"PageNumber"`
 }
 
 // DescribeEventRuleListResponse is the response struct for api DescribeEventRuleList

+ 2 - 2
services/cms/describe_host_availability_list.go

@@ -77,10 +77,10 @@ func (client *Client) DescribeHostAvailabilityListWithCallback(request *Describe
 type DescribeHostAvailabilityListRequest struct {
 	*requests.RpcRequest
 	GroupId    requests.Integer `position:"Query" name:"GroupId"`
-	PageSize   requests.Integer `position:"Query" name:"PageSize"`
 	TaskName   string           `position:"Query" name:"TaskName"`
-	Id         requests.Integer `position:"Query" name:"Id"`
 	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
+	Id         requests.Integer `position:"Query" name:"Id"`
 }
 
 // DescribeHostAvailabilityListResponse is the response struct for api DescribeHostAvailabilityList

+ 1 - 1
services/cms/describe_metric_data.go

@@ -77,11 +77,11 @@ func (client *Client) DescribeMetricDataWithCallback(request *DescribeMetricData
 type DescribeMetricDataRequest struct {
 	*requests.RpcRequest
 	Period     string `position:"Query" name:"Period"`
-	Namespace  string `position:"Query" name:"Namespace"`
 	Length     string `position:"Query" name:"Length"`
 	EndTime    string `position:"Query" name:"EndTime"`
 	Express    string `position:"Query" name:"Express"`
 	StartTime  string `position:"Query" name:"StartTime"`
+	Namespace  string `position:"Query" name:"Namespace"`
 	MetricName string `position:"Query" name:"MetricName"`
 	Dimensions string `position:"Query" name:"Dimensions"`
 }

+ 5 - 5
services/cms/describe_metric_last.go

@@ -76,14 +76,14 @@ func (client *Client) DescribeMetricLastWithCallback(request *DescribeMetricLast
 // DescribeMetricLastRequest is the request struct for api DescribeMetricLast
 type DescribeMetricLastRequest struct {
 	*requests.RpcRequest
-	Period     string `position:"Query" name:"Period"`
-	NextToken  string `position:"Query" name:"NextToken"`
-	Namespace  string `position:"Query" name:"Namespace"`
-	Length     string `position:"Query" name:"Length"`
-	EndTime    string `position:"Query" name:"EndTime"`
 	Express    string `position:"Query" name:"Express"`
 	StartTime  string `position:"Query" name:"StartTime"`
+	NextToken  string `position:"Query" name:"NextToken"`
 	MetricName string `position:"Query" name:"MetricName"`
+	Period     string `position:"Query" name:"Period"`
+	Length     string `position:"Query" name:"Length"`
+	EndTime    string `position:"Query" name:"EndTime"`
+	Namespace  string `position:"Query" name:"Namespace"`
 	Dimensions string `position:"Query" name:"Dimensions"`
 }
 

+ 5 - 5
services/cms/describe_metric_list.go

@@ -76,14 +76,14 @@ func (client *Client) DescribeMetricListWithCallback(request *DescribeMetricList
 // DescribeMetricListRequest is the request struct for api DescribeMetricList
 type DescribeMetricListRequest struct {
 	*requests.RpcRequest
-	Period     string `position:"Query" name:"Period"`
-	NextToken  string `position:"Query" name:"NextToken"`
-	Namespace  string `position:"Query" name:"Namespace"`
-	Length     string `position:"Query" name:"Length"`
-	EndTime    string `position:"Query" name:"EndTime"`
 	Express    string `position:"Query" name:"Express"`
 	StartTime  string `position:"Query" name:"StartTime"`
+	NextToken  string `position:"Query" name:"NextToken"`
 	MetricName string `position:"Query" name:"MetricName"`
+	Period     string `position:"Query" name:"Period"`
+	Length     string `position:"Query" name:"Length"`
+	EndTime    string `position:"Query" name:"EndTime"`
+	Namespace  string `position:"Query" name:"Namespace"`
 	Dimensions string `position:"Query" name:"Dimensions"`
 }
 

+ 2 - 2
services/cms/describe_metric_meta_list.go

@@ -76,11 +76,11 @@ func (client *Client) DescribeMetricMetaListWithCallback(request *DescribeMetric
 // DescribeMetricMetaListRequest is the request struct for api DescribeMetricMetaList
 type DescribeMetricMetaListRequest struct {
 	*requests.RpcRequest
+	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
+	Labels     string           `position:"Query" name:"Labels"`
 	Namespace  string           `position:"Query" name:"Namespace"`
 	PageSize   requests.Integer `position:"Query" name:"PageSize"`
 	MetricName string           `position:"Query" name:"MetricName"`
-	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
-	Labels     string           `position:"Query" name:"Labels"`
 }
 
 // DescribeMetricMetaListResponse is the response struct for api DescribeMetricMetaList

+ 4 - 4
services/cms/describe_metric_rule_list.go

@@ -77,14 +77,14 @@ func (client *Client) DescribeMetricRuleListWithCallback(request *DescribeMetric
 type DescribeMetricRuleListRequest struct {
 	*requests.RpcRequest
 	EnableState requests.Boolean `position:"Query" name:"EnableState"`
-	RuleIds     string           `position:"Query" name:"RuleIds"`
+	RuleName    string           `position:"Query" name:"RuleName"`
+	PageSize    string           `position:"Query" name:"PageSize"`
+	MetricName  string           `position:"Query" name:"MetricName"`
 	GroupId     string           `position:"Query" name:"GroupId"`
+	RuleIds     string           `position:"Query" name:"RuleIds"`
 	Namespace   string           `position:"Query" name:"Namespace"`
-	PageSize    string           `position:"Query" name:"PageSize"`
 	AlertState  string           `position:"Query" name:"AlertState"`
-	RuleName    string           `position:"Query" name:"RuleName"`
 	Page        string           `position:"Query" name:"Page"`
-	MetricName  string           `position:"Query" name:"MetricName"`
 	Dimensions  string           `position:"Query" name:"Dimensions"`
 }
 

+ 4 - 4
services/cms/describe_metric_rule_template_list.go

@@ -76,12 +76,12 @@ func (client *Client) DescribeMetricRuleTemplateListWithCallback(request *Descri
 // DescribeMetricRuleTemplateListRequest is the request struct for api DescribeMetricRuleTemplateList
 type DescribeMetricRuleTemplateListRequest struct {
 	*requests.RpcRequest
-	Name       string           `position:"Query" name:"Name"`
-	PageSize   requests.Integer `position:"Query" name:"PageSize"`
 	History    requests.Boolean `position:"Query" name:"History"`
-	Keyword    string           `position:"Query" name:"Keyword"`
 	TemplateId requests.Integer `position:"Query" name:"TemplateId"`
 	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
+	Name       string           `position:"Query" name:"Name"`
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
+	Keyword    string           `position:"Query" name:"Keyword"`
 }
 
 // DescribeMetricRuleTemplateListResponse is the response struct for api DescribeMetricRuleTemplateList
@@ -91,7 +91,7 @@ type DescribeMetricRuleTemplateListResponse struct {
 	Success   bool      `json:"Success" xml:"Success"`
 	Code      int       `json:"Code" xml:"Code"`
 	Message   string    `json:"Message" xml:"Message"`
-	Total     int       `json:"Total" xml:"Total"`
+	Total     int64     `json:"Total" xml:"Total"`
 	Templates Templates `json:"Templates" xml:"Templates"`
 }
 

+ 5 - 5
services/cms/describe_metric_top.go

@@ -76,16 +76,16 @@ func (client *Client) DescribeMetricTopWithCallback(request *DescribeMetricTopRe
 // DescribeMetricTopRequest is the request struct for api DescribeMetricTop
 type DescribeMetricTopRequest struct {
 	*requests.RpcRequest
+	Express    string `position:"Query" name:"Express"`
+	StartTime  string `position:"Query" name:"StartTime"`
+	MetricName string `position:"Query" name:"MetricName"`
 	Period     string `position:"Query" name:"Period"`
-	Namespace  string `position:"Query" name:"Namespace"`
 	Length     string `position:"Query" name:"Length"`
 	EndTime    string `position:"Query" name:"EndTime"`
 	Orderby    string `position:"Query" name:"Orderby"`
-	Express    string `position:"Query" name:"Express"`
-	StartTime  string `position:"Query" name:"StartTime"`
-	MetricName string `position:"Query" name:"MetricName"`
-	Dimensions string `position:"Query" name:"Dimensions"`
 	OrderDesc  string `position:"Query" name:"OrderDesc"`
+	Namespace  string `position:"Query" name:"Namespace"`
+	Dimensions string `position:"Query" name:"Dimensions"`
 }
 
 // DescribeMetricTopResponse is the response struct for api DescribeMetricTop

+ 2 - 2
services/cms/describe_monitor_group_instance_attribute.go

@@ -76,13 +76,13 @@ func (client *Client) DescribeMonitorGroupInstanceAttributeWithCallback(request
 // DescribeMonitorGroupInstanceAttributeRequest is the request struct for api DescribeMonitorGroupInstanceAttribute
 type DescribeMonitorGroupInstanceAttributeRequest struct {
 	*requests.RpcRequest
+	GroupId     requests.Integer `position:"Query" name:"GroupId"`
+	PageNumber  requests.Integer `position:"Query" name:"PageNumber"`
 	Total       requests.Boolean `position:"Query" name:"Total"`
 	InstanceIds string           `position:"Query" name:"InstanceIds"`
-	GroupId     requests.Integer `position:"Query" name:"GroupId"`
 	PageSize    requests.Integer `position:"Query" name:"PageSize"`
 	Category    string           `position:"Query" name:"Category"`
 	Keyword     string           `position:"Query" name:"Keyword"`
-	PageNumber  requests.Integer `position:"Query" name:"PageNumber"`
 }
 
 // DescribeMonitorGroupInstanceAttributeResponse is the response struct for api DescribeMonitorGroupInstanceAttribute

+ 2 - 2
services/cms/describe_monitor_group_instances.go

@@ -76,12 +76,12 @@ func (client *Client) DescribeMonitorGroupInstancesWithCallback(request *Describ
 // DescribeMonitorGroupInstancesRequest is the request struct for api DescribeMonitorGroupInstances
 type DescribeMonitorGroupInstancesRequest struct {
 	*requests.RpcRequest
-	InstanceIds string           `position:"Query" name:"InstanceIds"`
 	GroupId     requests.Integer `position:"Query" name:"GroupId"`
+	PageNumber  requests.Integer `position:"Query" name:"PageNumber"`
+	InstanceIds string           `position:"Query" name:"InstanceIds"`
 	PageSize    requests.Integer `position:"Query" name:"PageSize"`
 	Category    string           `position:"Query" name:"Category"`
 	Keyword     string           `position:"Query" name:"Keyword"`
-	PageNumber  requests.Integer `position:"Query" name:"PageNumber"`
 }
 
 // DescribeMonitorGroupInstancesResponse is the response struct for api DescribeMonitorGroupInstances

+ 1 - 1
services/cms/describe_monitor_group_notify_policy_list.go

@@ -78,8 +78,8 @@ type DescribeMonitorGroupNotifyPolicyListRequest struct {
 	*requests.RpcRequest
 	PolicyType string           `position:"Query" name:"PolicyType"`
 	GroupId    string           `position:"Query" name:"GroupId"`
-	PageSize   requests.Integer `position:"Query" name:"PageSize"`
 	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
 }
 
 // DescribeMonitorGroupNotifyPolicyListResponse is the response struct for api DescribeMonitorGroupNotifyPolicyList

+ 2 - 2
services/cms/describe_monitor_groups.go

@@ -77,11 +77,11 @@ func (client *Client) DescribeMonitorGroupsWithCallback(request *DescribeMonitor
 type DescribeMonitorGroupsRequest struct {
 	*requests.RpcRequest
 	SelectContactGroups requests.Boolean `position:"Query" name:"SelectContactGroups"`
+	GroupName           string           `position:"Query" name:"GroupName"`
+	PageNumber          requests.Integer `position:"Query" name:"PageNumber"`
 	InstanceId          string           `position:"Query" name:"InstanceId"`
 	PageSize            requests.Integer `position:"Query" name:"PageSize"`
 	Keyword             string           `position:"Query" name:"Keyword"`
-	GroupName           string           `position:"Query" name:"GroupName"`
-	PageNumber          requests.Integer `position:"Query" name:"PageNumber"`
 }
 
 // DescribeMonitorGroupsResponse is the response struct for api DescribeMonitorGroups

+ 2 - 2
services/cms/describe_monitoring_agent_hosts.go

@@ -76,13 +76,13 @@ func (client *Client) DescribeMonitoringAgentHostsWithCallback(request *Describe
 // DescribeMonitoringAgentHostsRequest is the request struct for api DescribeMonitoringAgentHosts
 type DescribeMonitoringAgentHostsRequest struct {
 	*requests.RpcRequest
+	SerialNumbers    string           `position:"Query" name:"SerialNumbers"`
+	PageNumber       requests.Integer `position:"Query" name:"PageNumber"`
 	HostName         string           `position:"Query" name:"HostName"`
 	InstanceIds      string           `position:"Query" name:"InstanceIds"`
 	InstanceRegionId string           `position:"Query" name:"InstanceRegionId"`
 	PageSize         requests.Integer `position:"Query" name:"PageSize"`
 	KeyWord          string           `position:"Query" name:"KeyWord"`
-	SerialNumbers    string           `position:"Query" name:"SerialNumbers"`
-	PageNumber       requests.Integer `position:"Query" name:"PageNumber"`
 }
 
 // DescribeMonitoringAgentHostsResponse is the response struct for api DescribeMonitoringAgentHosts

+ 1 - 1
services/cms/describe_site_monitor_data.go

@@ -77,11 +77,11 @@ func (client *Client) DescribeSiteMonitorDataWithCallback(request *DescribeSiteM
 type DescribeSiteMonitorDataRequest struct {
 	*requests.RpcRequest
 	Period     string           `position:"Query" name:"Period"`
-	NextToken  string           `position:"Query" name:"NextToken"`
 	Length     requests.Integer `position:"Query" name:"Length"`
 	EndTime    string           `position:"Query" name:"EndTime"`
 	StartTime  string           `position:"Query" name:"StartTime"`
 	Type       string           `position:"Query" name:"Type"`
+	NextToken  string           `position:"Query" name:"NextToken"`
 	MetricName string           `position:"Query" name:"MetricName"`
 	TaskId     string           `position:"Query" name:"TaskId"`
 }

+ 1 - 1
services/cms/describe_site_monitor_statistics.go

@@ -89,7 +89,7 @@ type DescribeSiteMonitorStatisticsResponse struct {
 	Message   string `json:"Message" xml:"Message"`
 	Success   string `json:"Success" xml:"Success"`
 	RequestId string `json:"RequestId" xml:"RequestId"`
-	Data      int    `json:"Data" xml:"Data"`
+	Data      int64  `json:"Data" xml:"Data"`
 }
 
 // CreateDescribeSiteMonitorStatisticsRequest creates a request to invoke DescribeSiteMonitorStatistics API

+ 5 - 5
services/cms/describe_system_event_attribute.go

@@ -76,16 +76,16 @@ func (client *Client) DescribeSystemEventAttributeWithCallback(request *Describe
 // DescribeSystemEventAttributeRequest is the request struct for api DescribeSystemEventAttribute
 type DescribeSystemEventAttributeRequest struct {
 	*requests.RpcRequest
+	StartTime      string           `position:"Query" name:"StartTime"`
+	SearchKeywords string           `position:"Query" name:"SearchKeywords"`
+	PageNumber     requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize       requests.Integer `position:"Query" name:"PageSize"`
 	Product        string           `position:"Query" name:"Product"`
 	Level          string           `position:"Query" name:"Level"`
 	GroupId        string           `position:"Query" name:"GroupId"`
-	Name           string           `position:"Query" name:"Name"`
-	PageSize       requests.Integer `position:"Query" name:"PageSize"`
 	EndTime        string           `position:"Query" name:"EndTime"`
+	Name           string           `position:"Query" name:"Name"`
 	EventType      string           `position:"Query" name:"EventType"`
-	StartTime      string           `position:"Query" name:"StartTime"`
-	SearchKeywords string           `position:"Query" name:"SearchKeywords"`
-	PageNumber     requests.Integer `position:"Query" name:"PageNumber"`
 	Status         string           `position:"Query" name:"Status"`
 }
 

+ 3 - 3
services/cms/describe_system_event_count.go

@@ -76,14 +76,14 @@ func (client *Client) DescribeSystemEventCountWithCallback(request *DescribeSyst
 // DescribeSystemEventCountRequest is the request struct for api DescribeSystemEventCount
 type DescribeSystemEventCountRequest struct {
 	*requests.RpcRequest
+	StartTime      string `position:"Query" name:"StartTime"`
+	SearchKeywords string `position:"Query" name:"SearchKeywords"`
 	Product        string `position:"Query" name:"Product"`
 	Level          string `position:"Query" name:"Level"`
 	GroupId        string `position:"Query" name:"GroupId"`
-	Name           string `position:"Query" name:"Name"`
 	EndTime        string `position:"Query" name:"EndTime"`
+	Name           string `position:"Query" name:"Name"`
 	EventType      string `position:"Query" name:"EventType"`
-	StartTime      string `position:"Query" name:"StartTime"`
-	SearchKeywords string `position:"Query" name:"SearchKeywords"`
 	Status         string `position:"Query" name:"Status"`
 }
 

+ 5 - 5
services/cms/describe_system_event_histogram.go

@@ -76,16 +76,16 @@ func (client *Client) DescribeSystemEventHistogramWithCallback(request *Describe
 // DescribeSystemEventHistogramRequest is the request struct for api DescribeSystemEventHistogram
 type DescribeSystemEventHistogramRequest struct {
 	*requests.RpcRequest
+	StartTime      string           `position:"Query" name:"StartTime"`
+	SearchKeywords string           `position:"Query" name:"SearchKeywords"`
+	PageNumber     requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize       requests.Integer `position:"Query" name:"PageSize"`
 	Product        string           `position:"Query" name:"Product"`
 	Level          string           `position:"Query" name:"Level"`
 	GroupId        string           `position:"Query" name:"GroupId"`
-	Name           string           `position:"Query" name:"Name"`
-	PageSize       requests.Integer `position:"Query" name:"PageSize"`
 	EndTime        string           `position:"Query" name:"EndTime"`
+	Name           string           `position:"Query" name:"Name"`
 	EventType      string           `position:"Query" name:"EventType"`
-	StartTime      string           `position:"Query" name:"StartTime"`
-	SearchKeywords string           `position:"Query" name:"SearchKeywords"`
-	PageNumber     requests.Integer `position:"Query" name:"PageNumber"`
 	Status         string           `position:"Query" name:"Status"`
 }
 

+ 6 - 6
services/cms/modify_host_availability.go

@@ -76,22 +76,22 @@ func (client *Client) ModifyHostAvailabilityWithCallback(request *ModifyHostAvai
 // ModifyHostAvailabilityRequest is the request struct for api ModifyHostAvailability
 type ModifyHostAvailabilityRequest struct {
 	*requests.RpcRequest
-	InstanceList                       *[]string                                          `position:"Query" name:"InstanceList"  type:"Repeated"`
 	TaskOptionHttpMethod               string                                             `position:"Query" name:"TaskOption.HttpMethod"`
 	AlertConfigEscalationList          *[]ModifyHostAvailabilityAlertConfigEscalationList `position:"Query" name:"AlertConfigEscalationList"  type:"Repeated"`
-	GroupId                            requests.Integer                                   `position:"Query" name:"GroupId"`
 	TaskName                           string                                             `position:"Query" name:"TaskName"`
 	AlertConfigSilenceTime             requests.Integer                                   `position:"Query" name:"AlertConfig.SilenceTime"`
 	TaskOptionHttpResponseCharset      string                                             `position:"Query" name:"TaskOption.HttpResponseCharset"`
-	AlertConfigEndTime                 requests.Integer                                   `position:"Query" name:"AlertConfig.EndTime"`
-	TaskOptionHttpURI                  string                                             `position:"Query" name:"TaskOption.HttpURI"`
 	TaskOptionHttpNegative             requests.Boolean                                   `position:"Query" name:"TaskOption.HttpNegative"`
-	TaskScope                          string                                             `position:"Query" name:"TaskScope"`
 	AlertConfigNotifyType              requests.Integer                                   `position:"Query" name:"AlertConfig.NotifyType"`
-	AlertConfigStartTime               requests.Integer                                   `position:"Query" name:"AlertConfig.StartTime"`
 	TaskOptionTelnetOrPingHost         string                                             `position:"Query" name:"TaskOption.TelnetOrPingHost"`
 	TaskOptionHttpResponseMatchContent string                                             `position:"Query" name:"TaskOption.HttpResponseMatchContent"`
 	Id                                 requests.Integer                                   `position:"Query" name:"Id"`
+	InstanceList                       *[]string                                          `position:"Query" name:"InstanceList"  type:"Repeated"`
+	GroupId                            requests.Integer                                   `position:"Query" name:"GroupId"`
+	AlertConfigEndTime                 requests.Integer                                   `position:"Query" name:"AlertConfig.EndTime"`
+	TaskOptionHttpURI                  string                                             `position:"Query" name:"TaskOption.HttpURI"`
+	TaskScope                          string                                             `position:"Query" name:"TaskScope"`
+	AlertConfigStartTime               requests.Integer                                   `position:"Query" name:"AlertConfig.StartTime"`
 	AlertConfigWebHook                 string                                             `position:"Query" name:"AlertConfig.WebHook"`
 }
 

+ 2 - 2
services/cms/modify_metric_rule_template.go

@@ -76,11 +76,11 @@ func (client *Client) ModifyMetricRuleTemplateWithCallback(request *ModifyMetric
 // ModifyMetricRuleTemplateRequest is the request struct for api ModifyMetricRuleTemplate
 type ModifyMetricRuleTemplateRequest struct {
 	*requests.RpcRequest
-	Name           string                                    `position:"Query" name:"Name"`
 	RestVersion    requests.Integer                          `position:"Query" name:"RestVersion"`
 	Description    string                                    `position:"Query" name:"Description"`
-	AlertTemplates *[]ModifyMetricRuleTemplateAlertTemplates `position:"Query" name:"AlertTemplates"  type:"Repeated"`
 	TemplateId     requests.Integer                          `position:"Query" name:"TemplateId"`
+	Name           string                                    `position:"Query" name:"Name"`
+	AlertTemplates *[]ModifyMetricRuleTemplateAlertTemplates `position:"Query" name:"AlertTemplates"  type:"Repeated"`
 }
 
 // ModifyMetricRuleTemplateAlertTemplates is a repeated param struct in ModifyMetricRuleTemplateRequest

+ 1 - 1
services/cms/modify_monitor_group.go

@@ -78,9 +78,9 @@ type ModifyMonitorGroupRequest struct {
 	*requests.RpcRequest
 	ContactGroups string           `position:"Query" name:"ContactGroups"`
 	GroupId       string           `position:"Query" name:"GroupId"`
-	ServiceId     requests.Integer `position:"Query" name:"ServiceId"`
 	GroupName     string           `position:"Query" name:"GroupName"`
 	BindUrls      string           `position:"Query" name:"BindUrls"`
+	ServiceId     requests.Integer `position:"Query" name:"ServiceId"`
 }
 
 // ModifyMonitorGroupResponse is the response struct for api ModifyMonitorGroup

+ 3 - 3
services/cms/modify_site_monitor.go

@@ -76,13 +76,13 @@ func (client *Client) ModifySiteMonitorWithCallback(request *ModifySiteMonitorRe
 // ModifySiteMonitorRequest is the request struct for api ModifySiteMonitor
 type ModifySiteMonitorRequest struct {
 	*requests.RpcRequest
-	OptionsJson string `position:"Query" name:"OptionsJson"`
 	Address     string `position:"Query" name:"Address"`
-	AlertIds    string `position:"Query" name:"AlertIds"`
 	TaskName    string `position:"Query" name:"TaskName"`
+	IspCities   string `position:"Query" name:"IspCities"`
+	OptionsJson string `position:"Query" name:"OptionsJson"`
+	AlertIds    string `position:"Query" name:"AlertIds"`
 	Interval    string `position:"Query" name:"Interval"`
 	TaskId      string `position:"Query" name:"TaskId"`
-	IspCities   string `position:"Query" name:"IspCities"`
 }
 
 // ModifySiteMonitorResponse is the response struct for api ModifySiteMonitor

+ 1 - 1
services/cms/put_contact.go

@@ -76,10 +76,10 @@ func (client *Client) PutContactWithCallback(request *PutContactRequest, callbac
 // PutContactRequest is the request struct for api PutContact
 type PutContactRequest struct {
 	*requests.RpcRequest
+	ChannelsDingWebHook string `position:"Query" name:"Channels.DingWebHook"`
 	ContactName         string `position:"Query" name:"ContactName"`
 	ChannelsMail        string `position:"Query" name:"Channels.Mail"`
 	ChannelsAliIM       string `position:"Query" name:"Channels.AliIM"`
-	ChannelsDingWebHook string `position:"Query" name:"Channels.DingWebHook"`
 	Describe            string `position:"Query" name:"Describe"`
 	ChannelsSMS         string `position:"Query" name:"Channels.SMS"`
 }

+ 1 - 1
services/cms/put_contact_group.go

@@ -76,8 +76,8 @@ func (client *Client) PutContactGroupWithCallback(request *PutContactGroupReques
 // PutContactGroupRequest is the request struct for api PutContactGroup
 type PutContactGroupRequest struct {
 	*requests.RpcRequest
-	Describe         string    `position:"Query" name:"Describe"`
 	ContactGroupName string    `position:"Query" name:"ContactGroupName"`
+	Describe         string    `position:"Query" name:"Describe"`
 	ContactNames     *[]string `position:"Query" name:"ContactNames"  type:"Repeated"`
 }
 

+ 1 - 1
services/cms/put_event_rule.go

@@ -76,10 +76,10 @@ func (client *Client) PutEventRuleWithCallback(request *PutEventRuleRequest, cal
 // PutEventRuleRequest is the request struct for api PutEventRule
 type PutEventRuleRequest struct {
 	*requests.RpcRequest
-	EventPattern *[]PutEventRuleEventPattern `position:"Query" name:"EventPattern"  type:"Repeated"`
 	GroupId      string                      `position:"Query" name:"GroupId"`
 	Description  string                      `position:"Query" name:"Description"`
 	RuleName     string                      `position:"Query" name:"RuleName"`
+	EventPattern *[]PutEventRuleEventPattern `position:"Query" name:"EventPattern"  type:"Repeated"`
 	EventType    string                      `position:"Query" name:"EventType"`
 	State        string                      `position:"Query" name:"State"`
 }

+ 8 - 8
services/cms/put_event_rule_targets.go

@@ -79,9 +79,9 @@ type PutEventRuleTargetsRequest struct {
 	WebhookParameters *[]PutEventRuleTargetsWebhookParameters `position:"Query" name:"WebhookParameters"  type:"Repeated"`
 	ContactParameters *[]PutEventRuleTargetsContactParameters `position:"Query" name:"ContactParameters"  type:"Repeated"`
 	SlsParameters     *[]PutEventRuleTargetsSlsParameters     `position:"Query" name:"SlsParameters"  type:"Repeated"`
-	FcParameters      *[]PutEventRuleTargetsFcParameters      `position:"Query" name:"FcParameters"  type:"Repeated"`
 	RuleName          string                                  `position:"Query" name:"RuleName"`
 	MnsParameters     *[]PutEventRuleTargetsMnsParameters     `position:"Query" name:"MnsParameters"  type:"Repeated"`
+	FcParameters      *[]PutEventRuleTargetsFcParameters      `position:"Query" name:"FcParameters"  type:"Repeated"`
 }
 
 // PutEventRuleTargetsWebhookParameters is a repeated param struct in PutEventRuleTargetsRequest
@@ -107,6 +107,13 @@ type PutEventRuleTargetsSlsParameters struct {
 	LogStore string `name:"LogStore"`
 }
 
+// PutEventRuleTargetsMnsParameters is a repeated param struct in PutEventRuleTargetsRequest
+type PutEventRuleTargetsMnsParameters struct {
+	Id     string `name:"Id"`
+	Region string `name:"Region"`
+	Queue  string `name:"Queue"`
+}
+
 // PutEventRuleTargetsFcParameters is a repeated param struct in PutEventRuleTargetsRequest
 type PutEventRuleTargetsFcParameters struct {
 	FunctionName string `name:"FunctionName"`
@@ -115,13 +122,6 @@ type PutEventRuleTargetsFcParameters struct {
 	Region       string `name:"Region"`
 }
 
-// PutEventRuleTargetsMnsParameters is a repeated param struct in PutEventRuleTargetsRequest
-type PutEventRuleTargetsMnsParameters struct {
-	Id     string `name:"Id"`
-	Region string `name:"Region"`
-	Queue  string `name:"Queue"`
-}
-
 // PutEventRuleTargetsResponse is the response struct for api PutEventRuleTargets
 type PutEventRuleTargetsResponse struct {
 	*responses.BaseResponse

+ 1 - 1
services/cms/put_metric_rule_targets.go

@@ -76,8 +76,8 @@ func (client *Client) PutMetricRuleTargetsWithCallback(request *PutMetricRuleTar
 // PutMetricRuleTargetsRequest is the request struct for api PutMetricRuleTargets
 type PutMetricRuleTargetsRequest struct {
 	*requests.RpcRequest
-	RuleId  string                         `position:"Query" name:"RuleId"`
 	Targets *[]PutMetricRuleTargetsTargets `position:"Query" name:"Targets"  type:"Repeated"`
+	RuleId  string                         `position:"Query" name:"RuleId"`
 }
 
 // PutMetricRuleTargetsTargets is a repeated param struct in PutMetricRuleTargetsRequest

+ 10 - 3
services/cms/put_monitor_group_dynamic_rule.go

@@ -82,9 +82,16 @@ type PutMonitorGroupDynamicRuleRequest struct {
 
 // PutMonitorGroupDynamicRuleGroupRules is a repeated param struct in PutMonitorGroupDynamicRuleRequest
 type PutMonitorGroupDynamicRuleGroupRules struct {
-	FilterRelation string    `name:"FilterRelation"`
-	Filters        *[]string `name:"Filters" type:"Repeated"`
-	Category       string    `name:"Category"`
+	FilterRelation string                               `name:"FilterRelation"`
+	Filters        *[]PutMonitorGroupDynamicRuleFilters `name:"Filters" type:"Repeated"`
+	Category       string                               `name:"Category"`
+}
+
+// PutMonitorGroupDynamicRuleFilters is a repeated param struct in PutMonitorGroupDynamicRuleRequest
+type PutMonitorGroupDynamicRuleFilters struct {
+	Function string `name:"Function"`
+	Name     string `name:"Name"`
+	Value    string `name:"Value"`
 }
 
 // PutMonitorGroupDynamicRuleResponse is the response struct for api PutMonitorGroupDynamicRule

+ 1 - 1
services/cms/put_monitoring_config.go

@@ -76,8 +76,8 @@ func (client *Client) PutMonitoringConfigWithCallback(request *PutMonitoringConf
 // PutMonitoringConfigRequest is the request struct for api PutMonitoringConfig
 type PutMonitoringConfigRequest struct {
 	*requests.RpcRequest
-	EnableInstallAgentNewECS requests.Boolean `position:"Query" name:"EnableInstallAgentNewECS"`
 	AutoInstall              requests.Boolean `position:"Query" name:"AutoInstall"`
+	EnableInstallAgentNewECS requests.Boolean `position:"Query" name:"EnableInstallAgentNewECS"`
 }
 
 // PutMonitoringConfigResponse is the response struct for api PutMonitoringConfig

+ 2 - 2
services/cms/struct_alarm_history.go

@@ -26,8 +26,8 @@ type AlarmHistory struct {
 	Expression      string                                  `json:"Expression" xml:"Expression"`
 	EvaluationCount int                                     `json:"EvaluationCount" xml:"EvaluationCount"`
 	Value           string                                  `json:"Value" xml:"Value"`
-	AlertTime       int                                     `json:"AlertTime" xml:"AlertTime"`
-	LastTime        int                                     `json:"LastTime" xml:"LastTime"`
+	AlertTime       int64                                   `json:"AlertTime" xml:"AlertTime"`
+	LastTime        int64                                   `json:"LastTime" xml:"LastTime"`
 	Level           string                                  `json:"Level" xml:"Level"`
 	RuleName        string                                  `json:"RuleName" xml:"RuleName"`
 	AlertState      string                                  `json:"AlertState" xml:"AlertState"`

+ 2 - 2
services/cms/struct_apply_history.go

@@ -17,7 +17,7 @@ package cms
 
 // ApplyHistory is a nested struct in cms response
 type ApplyHistory struct {
-	GroupId   int    `json:"GroupId" xml:"GroupId"`
+	GroupId   int64  `json:"GroupId" xml:"GroupId"`
 	GroupName string `json:"GroupName" xml:"GroupName"`
-	ApplyTime int    `json:"ApplyTime" xml:"ApplyTime"`
+	ApplyTime int64  `json:"ApplyTime" xml:"ApplyTime"`
 }

+ 3 - 3
services/cms/struct_contact.go

@@ -20,11 +20,11 @@ type Contact struct {
 	Name       string   `json:"Name" xml:"Name"`
 	Message    string   `json:"Message" xml:"Message"`
 	Success    string   `json:"Success" xml:"Success"`
-	Desc       string   `json:"Desc" xml:"Desc"`
 	Code       string   `json:"Code" xml:"Code"`
-	UpdateTime int      `json:"UpdateTime" xml:"UpdateTime"`
+	Desc       string   `json:"Desc" xml:"Desc"`
+	UpdateTime int64    `json:"UpdateTime" xml:"UpdateTime"`
 	RequestId  string   `json:"RequestId" xml:"RequestId"`
-	CreateTime int      `json:"CreateTime" xml:"CreateTime"`
 	RuleId     string   `json:"RuleId" xml:"RuleId"`
+	CreateTime int64    `json:"CreateTime" xml:"CreateTime"`
 	Channels   Channels `json:"Channels" xml:"Channels"`
 }

+ 1 - 1
services/cms/struct_contact_parameter.go

@@ -17,7 +17,7 @@ package cms
 
 // ContactParameter is a nested struct in cms response
 type ContactParameter struct {
-	Id               int    `json:"Id" xml:"Id"`
 	Level            string `json:"Level" xml:"Level"`
+	Id               string `json:"Id" xml:"Id"`
 	ContactGroupName string `json:"ContactGroupName" xml:"ContactGroupName"`
 }

+ 3 - 3
services/cms/struct_contact_parameter_in_describe_event_rule_target_list.go → services/cms/struct_contact_parameter_in_put_event_rule_targets.go

@@ -15,9 +15,9 @@ package cms
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// ContactParameterInDescribeEventRuleTargetList is a nested struct in cms response
-type ContactParameterInDescribeEventRuleTargetList struct {
+// ContactParameterInPutEventRuleTargets is a nested struct in cms response
+type ContactParameterInPutEventRuleTargets struct {
+	Id               int    `json:"Id" xml:"Id"`
 	ContactGroupName string `json:"ContactGroupName" xml:"ContactGroupName"`
 	Level            string `json:"Level" xml:"Level"`
-	Id               string `json:"Id" xml:"Id"`
 }

+ 1 - 1
services/cms/struct_contact_parameters.go

@@ -17,5 +17,5 @@ package cms
 
 // ContactParameters is a nested struct in cms response
 type ContactParameters struct {
-	ContactParameter []ContactParameterInDescribeEventRuleTargetList `json:"ContactParameter" xml:"ContactParameter"`
+	ContactParameter []ContactParameter `json:"ContactParameter" xml:"ContactParameter"`
 }

+ 1 - 1
services/cms/struct_custom_event_count.go

@@ -19,5 +19,5 @@ package cms
 type CustomEventCount struct {
 	Name string `json:"Name" xml:"Name"`
 	Num  int    `json:"Num" xml:"Num"`
-	Time int    `json:"Time" xml:"Time"`
+	Time int64  `json:"Time" xml:"Time"`
 }

+ 3 - 3
services/cms/struct_event_histogram.go

@@ -17,7 +17,7 @@ package cms
 
 // EventHistogram is a nested struct in cms response
 type EventHistogram struct {
-	Count     int `json:"Count" xml:"Count"`
-	StartTime int `json:"StartTime" xml:"StartTime"`
-	EndTime   int `json:"EndTime" xml:"EndTime"`
+	Count     int64 `json:"Count" xml:"Count"`
+	StartTime int64 `json:"StartTime" xml:"StartTime"`
+	EndTime   int64 `json:"EndTime" xml:"EndTime"`
 }

+ 1 - 1
services/cms/struct_event_pattern_in_describe_event_rule_list.go

@@ -17,5 +17,5 @@ package cms
 
 // EventPatternInDescribeEventRuleList is a nested struct in cms response
 type EventPatternInDescribeEventRuleList struct {
-	EventPatternItem []EventPatternItem `json:"EventPatternItem" xml:"EventPatternItem"`
+	EventPatternItem []EventPatternItem `json:"EventPattern" xml:"EventPattern"`
 }

+ 1 - 1
services/cms/struct_failed_contact_parameters.go

@@ -17,5 +17,5 @@ package cms
 
 // FailedContactParameters is a nested struct in cms response
 type FailedContactParameters struct {
-	ContactParameter []ContactParameter `json:"ContactParameter" xml:"ContactParameter"`
+	ContactParameter []ContactParameterInPutEventRuleTargets `json:"ContactParameter" xml:"ContactParameter"`
 }

+ 1 - 1
services/cms/struct_failed_fc_parameters.go

@@ -17,5 +17,5 @@ package cms
 
 // FailedFcParameters is a nested struct in cms response
 type FailedFcParameters struct {
-	FcParameter []FcParameter `json:"FcParameter" xml:"FcParameter"`
+	FcParameter []FcParameterInPutEventRuleTargets `json:"FcParameter" xml:"FcParameter"`
 }

+ 1 - 1
services/cms/struct_failed_mns_parameters.go

@@ -17,5 +17,5 @@ package cms
 
 // FailedMnsParameters is a nested struct in cms response
 type FailedMnsParameters struct {
-	MnsParameter []MnsParameter `json:"MnsParameter" xml:"MnsParameter"`
+	MnsParameter []MnsParameterInPutEventRuleTargets `json:"MnsParameter" xml:"MnsParameter"`
 }

+ 4 - 3
services/cms/struct_fc_parameter.go

@@ -15,10 +15,11 @@ package cms
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// FcParameter is a nested struct in cms response
-type FcParameter struct {
+// FCParameter is a nested struct in cms response
+type FCParameter struct {
 	Region       string `json:"Region" xml:"Region"`
-	Id           int    `json:"Id" xml:"Id"`
+	Arn          string `json:"Arn" xml:"Arn"`
+	Id           string `json:"Id" xml:"Id"`
 	ServiceName  string `json:"ServiceName" xml:"ServiceName"`
 	FunctionName string `json:"FunctionName" xml:"FunctionName"`
 }

+ 3 - 3
services/cms/struct_fc_parameter_in_describe_event_rule_target_list.go → services/cms/struct_fc_parameter_in_put_event_rule_targets.go

@@ -15,10 +15,10 @@ package cms
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// FCParameterInDescribeEventRuleTargetList is a nested struct in cms response
-type FCParameterInDescribeEventRuleTargetList struct {
+// FcParameterInPutEventRuleTargets is a nested struct in cms response
+type FcParameterInPutEventRuleTargets struct {
+	Id           int    `json:"Id" xml:"Id"`
 	Region       string `json:"Region" xml:"Region"`
 	ServiceName  string `json:"ServiceName" xml:"ServiceName"`
 	FunctionName string `json:"FunctionName" xml:"FunctionName"`
-	Id           string `json:"Id" xml:"Id"`
 }

+ 1 - 1
services/cms/struct_fc_parameters.go

@@ -17,5 +17,5 @@ package cms
 
 // FcParameters is a nested struct in cms response
 type FcParameters struct {
-	FCParameter []FCParameterInDescribeEventRuleTargetList `json:"FCParameter" xml:"FCParameter"`
+	FCParameter []FCParameter `json:"FCParameter" xml:"FCParameter"`
 }

+ 1 - 1
services/cms/struct_host.go

@@ -20,7 +20,7 @@ type Host struct {
 	InstanceId         string `json:"InstanceId" xml:"InstanceId"`
 	SerialNumber       string `json:"SerialNumber" xml:"SerialNumber"`
 	HostName           string `json:"HostName" xml:"HostName"`
-	AliUid             int    `json:"AliUid" xml:"AliUid"`
+	AliUid             int64  `json:"AliUid" xml:"AliUid"`
 	OperatingSystem    string `json:"OperatingSystem" xml:"OperatingSystem"`
 	IpGroup            string `json:"IpGroup" xml:"IpGroup"`
 	Region             string `json:"Region" xml:"Region"`

+ 1 - 1
services/cms/struct_isp_city.go

@@ -25,8 +25,8 @@ type IspCity struct {
 	CountryEn    string `json:"Country.en" xml:"Country.en"`
 	CountryZhCN  string `json:"Country.zh_CN" xml:"Country.zh_CN"`
 	CityNameEn   string `json:"CityName.en" xml:"CityName.en"`
+	CityName     string `json:"CityName" xml:"CityName"`
 	Isp          string `json:"Isp" xml:"Isp"`
 	RegionEn     string `json:"Region.en" xml:"Region.en"`
-	CityName     string `json:"CityName" xml:"CityName"`
 	City         string `json:"City" xml:"City"`
 }

+ 2 - 1
services/cms/struct_mns_parameter.go

@@ -18,6 +18,7 @@ package cms
 // MnsParameter is a nested struct in cms response
 type MnsParameter struct {
 	Region string `json:"Region" xml:"Region"`
-	Id     int    `json:"Id" xml:"Id"`
 	Queue  string `json:"Queue" xml:"Queue"`
+	Arn    string `json:"Arn" xml:"Arn"`
+	Id     string `json:"Id" xml:"Id"`
 }

+ 3 - 3
services/cms/struct_mns_parameter_in_describe_event_rule_target_list.go → services/cms/struct_mns_parameter_in_put_event_rule_targets.go

@@ -15,9 +15,9 @@ package cms
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// MnsParameterInDescribeEventRuleTargetList is a nested struct in cms response
-type MnsParameterInDescribeEventRuleTargetList struct {
+// MnsParameterInPutEventRuleTargets is a nested struct in cms response
+type MnsParameterInPutEventRuleTargets struct {
+	Id     int    `json:"Id" xml:"Id"`
 	Region string `json:"Region" xml:"Region"`
 	Queue  string `json:"Queue" xml:"Queue"`
-	Id     string `json:"Id" xml:"Id"`
 }

+ 1 - 1
services/cms/struct_mns_parameters.go

@@ -17,5 +17,5 @@ package cms
 
 // MnsParameters is a nested struct in cms response
 type MnsParameters struct {
-	MnsParameter []MnsParameterInDescribeEventRuleTargetList `json:"MnsParameter" xml:"MnsParameter"`
+	MnsParameter []MnsParameter `json:"MnsParameter" xml:"MnsParameter"`
 }

+ 1 - 1
services/cms/struct_monitor_group_categories.go

@@ -17,6 +17,6 @@ package cms
 
 // MonitorGroupCategories is a nested struct in cms response
 type MonitorGroupCategories struct {
-	GroupId              int                  `json:"GroupId" xml:"GroupId"`
+	GroupId              int64                `json:"GroupId" xml:"GroupId"`
 	MonitorGroupCategory MonitorGroupCategory `json:"MonitorGroupCategory" xml:"MonitorGroupCategory"`
 }

+ 1 - 1
services/cms/struct_node_process.go

@@ -17,7 +17,7 @@ package cms
 
 // NodeProcess is a nested struct in cms response
 type NodeProcess struct {
-	ProcessId   int    `json:"ProcessId" xml:"ProcessId"`
+	ProcessId   int64  `json:"ProcessId" xml:"ProcessId"`
 	InstanceId  string `json:"InstanceId" xml:"InstanceId"`
 	ProcessName string `json:"ProcessName" xml:"ProcessName"`
 	ProcessUser string `json:"ProcessUser" xml:"ProcessUser"`

+ 2 - 2
services/cms/struct_node_task_config.go

@@ -17,12 +17,12 @@ package cms
 
 // NodeTaskConfig is a nested struct in cms response
 type NodeTaskConfig struct {
-	Id          int         `json:"Id" xml:"Id"`
+	Id          int64       `json:"Id" xml:"Id"`
 	TaskName    string      `json:"TaskName" xml:"TaskName"`
 	TaskType    string      `json:"TaskType" xml:"TaskType"`
 	TaskScope   string      `json:"TaskScope" xml:"TaskScope"`
 	Disabled    bool        `json:"Disabled" xml:"Disabled"`
-	GroupId     int         `json:"GroupId" xml:"GroupId"`
+	GroupId     int64       `json:"GroupId" xml:"GroupId"`
 	GroupName   string      `json:"GroupName" xml:"GroupName"`
 	Instances   Instances   `json:"Instances" xml:"Instances"`
 	TaskOption  TaskOption  `json:"TaskOption" xml:"TaskOption"`

+ 1 - 1
services/cms/struct_node_task_instance.go

@@ -17,6 +17,6 @@ package cms
 
 // NodeTaskInstance is a nested struct in cms response
 type NodeTaskInstance struct {
-	Id           int          `json:"Id" xml:"Id"`
+	Id           int64        `json:"Id" xml:"Id"`
 	InstanceList InstanceList `json:"InstanceList" xml:"InstanceList"`
 }

+ 2 - 2
services/cms/struct_notify_policy.go

@@ -19,7 +19,7 @@ package cms
 type NotifyPolicy struct {
 	Type      string `json:"Type" xml:"Type"`
 	Id        string `json:"Id" xml:"Id"`
-	StartTime int    `json:"StartTime" xml:"StartTime"`
-	EndTime   int    `json:"EndTime" xml:"EndTime"`
+	StartTime int64  `json:"StartTime" xml:"StartTime"`
+	EndTime   int64  `json:"EndTime" xml:"EndTime"`
 	GroupId   string `json:"GroupId" xml:"GroupId"`
 }

+ 38 - 40
services/cms/struct_resource.go

@@ -17,44 +17,42 @@ package cms
 
 // Resource is a nested struct in cms response
 type Resource struct {
-	Category       string         `json:"Category" xml:"Category"`
-	Name           string         `json:"Name" xml:"Name"`
-	TemplateId     string         `json:"TemplateId" xml:"TemplateId"`
-	NameDesc       string         `json:"NameDesc" xml:"NameDesc"`
-	Unit           string         `json:"Unit" xml:"Unit"`
-	RuleName       string         `json:"RuleName" xml:"RuleName"`
-	Desc           string         `json:"Desc" xml:"Desc"`
-	LastModifyTime string         `json:"LastModifyTime" xml:"LastModifyTime"`
-	Dimensions     string         `json:"Dimensions" xml:"Dimensions"`
-	RuleId         string         `json:"RuleId" xml:"RuleId"`
-	RetryTimes     string         `json:"RetryTimes" xml:"RetryTimes"`
-	RegionId       string         `json:"RegionId" xml:"RegionId"`
-	RestVersion    string         `json:"RestVersion" xml:"RestVersion"`
-	InstanceId     string         `json:"InstanceId" xml:"InstanceId"`
-	GroupId        string         `json:"GroupId" xml:"GroupId"`
-	NetworkType    string         `json:"NetworkType" xml:"NetworkType"`
-	Description    string         `json:"Description" xml:"Description"`
-	Periods        string         `json:"Periods" xml:"Periods"`
-	Resource       string         `json:"Resource" xml:"Resource"`
-	Product        string         `json:"Product" xml:"Product"`
-	MetricValues   string         `json:"MetricValues" xml:"MetricValues"`
-	InstanceName   string         `json:"InstanceName" xml:"InstanceName"`
-	Level          string         `json:"Level" xml:"Level"`
-	Dimension      string         `json:"Dimension" xml:"Dimension"`
-	Id             int            `json:"Id" xml:"Id"`
-	Threshold      string         `json:"Threshold" xml:"Threshold"`
-	StartTime      string         `json:"StartTime" xml:"StartTime"`
-	EventType      string         `json:"EventType" xml:"EventType"`
-	Namespace      string         `json:"Namespace" xml:"Namespace"`
-	Enable         string         `json:"Enable" xml:"Enable"`
-	LastAlertTime  string         `json:"LastAlertTime" xml:"LastAlertTime"`
-	StatusDesc     string         `json:"StatusDesc" xml:"StatusDesc"`
-	MetricName     string         `json:"MetricName" xml:"MetricName"`
-	Status         string         `json:"Status" xml:"Status"`
-	Labels         string         `json:"Labels" xml:"Labels"`
-	Statistics     string         `json:"Statistics" xml:"Statistics"`
-	Vpc            Vpc            `json:"Vpc" xml:"Vpc"`
-	Region         Region         `json:"Region" xml:"Region"`
-	Tags           Tags           `json:"Tags" xml:"Tags"`
-	AlertTemplates AlertTemplates `json:"AlertTemplates" xml:"AlertTemplates"`
+	TemplateId     string                               `json:"TemplateId" xml:"TemplateId"`
+	Name           string                               `json:"Name" xml:"Name"`
+	Category       string                               `json:"Category" xml:"Category"`
+	Unit           string                               `json:"Unit" xml:"Unit"`
+	NameDesc       string                               `json:"NameDesc" xml:"NameDesc"`
+	Desc           string                               `json:"Desc" xml:"Desc"`
+	BindUrl        string                               `json:"BindUrl" xml:"BindUrl"`
+	Dimensions     string                               `json:"Dimensions" xml:"Dimensions"`
+	GroupName      string                               `json:"GroupName" xml:"GroupName"`
+	ServiceId      string                               `json:"ServiceId" xml:"ServiceId"`
+	RestVersion    string                               `json:"RestVersion" xml:"RestVersion"`
+	RegionId       string                               `json:"RegionId" xml:"RegionId"`
+	InstanceId     string                               `json:"InstanceId" xml:"InstanceId"`
+	NetworkType    string                               `json:"NetworkType" xml:"NetworkType"`
+	Description    string                               `json:"Description" xml:"Description"`
+	Periods        string                               `json:"Periods" xml:"Periods"`
+	Type           string                               `json:"Type" xml:"Type"`
+	Product        string                               `json:"Product" xml:"Product"`
+	InstanceName   string                               `json:"InstanceName" xml:"InstanceName"`
+	Level          string                               `json:"Level" xml:"Level"`
+	Dimension      string                               `json:"Dimension" xml:"Dimension"`
+	Id             int64                                `json:"Id" xml:"Id"`
+	GmtCreate      int64                                `json:"GmtCreate" xml:"GmtCreate"`
+	EventType      string                               `json:"EventType" xml:"EventType"`
+	Namespace      string                               `json:"Namespace" xml:"Namespace"`
+	GroupId        int64                                `json:"GroupId" xml:"GroupId"`
+	GmtModified    int64                                `json:"GmtModified" xml:"GmtModified"`
+	MetricName     string                               `json:"MetricName" xml:"MetricName"`
+	StatusDesc     string                               `json:"StatusDesc" xml:"StatusDesc"`
+	Labels         string                               `json:"Labels" xml:"Labels"`
+	Status         string                               `json:"Status" xml:"Status"`
+	Statistics     string                               `json:"Statistics" xml:"Statistics"`
+	Vpc            Vpc                                  `json:"Vpc" xml:"Vpc"`
+	Region         Region                               `json:"Region" xml:"Region"`
+	Tags           Tags                                 `json:"Tags" xml:"Tags"`
+	AlertTemplates AlertTemplates                       `json:"AlertTemplates" xml:"AlertTemplates"`
+	ContactGroups  ContactGroupsInDescribeMonitorGroups `json:"ContactGroups" xml:"ContactGroups"`
+	AlertResults   []Result                             `json:"AlertResults" xml:"AlertResults"`
 }

+ 0 - 22
services/cms/struct_resource_in_apply_metric_rule_template.go

@@ -1,22 +0,0 @@
-package cms
-
-//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.
-
-// ResourceInApplyMetricRuleTemplate is a nested struct in cms response
-type ResourceInApplyMetricRuleTemplate struct {
-	GroupId      int      `json:"GroupId" xml:"GroupId"`
-	AlertResults []Result `json:"AlertResults" xml:"AlertResults"`
-}

+ 31 - 0
services/cms/struct_resource_in_describe_alerting_metric_rule_resources.go

@@ -0,0 +1,31 @@
+package cms
+
+//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.
+
+// ResourceInDescribeAlertingMetricRuleResources is a nested struct in cms response
+type ResourceInDescribeAlertingMetricRuleResources struct {
+	RuleId         string `json:"RuleId" xml:"RuleId"`
+	RuleName       string `json:"RuleName" xml:"RuleName"`
+	GroupId        string `json:"GroupId" xml:"GroupId"`
+	Resource       string `json:"Resource" xml:"Resource"`
+	Enable         string `json:"Enable" xml:"Enable"`
+	LastAlertTime  string `json:"LastAlertTime" xml:"LastAlertTime"`
+	LastModifyTime string `json:"LastModifyTime" xml:"LastModifyTime"`
+	StartTime      string `json:"StartTime" xml:"StartTime"`
+	MetricValues   string `json:"MetricValues" xml:"MetricValues"`
+	RetryTimes     string `json:"RetryTimes" xml:"RetryTimes"`
+	Threshold      string `json:"Threshold" xml:"Threshold"`
+}

+ 1 - 1
services/cms/struct_resource_in_describe_monitor_group_dynamic_rules.go

@@ -17,5 +17,5 @@ package cms
 
 // ResourceInDescribeMonitorGroupDynamicRules is a nested struct in cms response
 type ResourceInDescribeMonitorGroupDynamicRules struct {
-	ResourceItem []ResourceItem `json:"ResourceItem" xml:"ResourceItem"`
+	ResourceItem []ResourceItem `json:"Resource" xml:"Resource"`
 }

+ 0 - 28
services/cms/struct_resource_in_describe_monitor_groups.go

@@ -1,28 +0,0 @@
-package cms
-
-//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.
-
-// ResourceInDescribeMonitorGroups is a nested struct in cms response
-type ResourceInDescribeMonitorGroups struct {
-	GroupId       int                                  `json:"GroupId" xml:"GroupId"`
-	GroupName     string                               `json:"GroupName" xml:"GroupName"`
-	ServiceId     string                               `json:"ServiceId" xml:"ServiceId"`
-	Type          string                               `json:"Type" xml:"Type"`
-	GmtModified   int                                  `json:"GmtModified" xml:"GmtModified"`
-	GmtCreate     int                                  `json:"GmtCreate" xml:"GmtCreate"`
-	BindUrl       string                               `json:"BindUrl" xml:"BindUrl"`
-	ContactGroups ContactGroupsInDescribeMonitorGroups `json:"ContactGroups" xml:"ContactGroups"`
-}

+ 1 - 1
services/cms/struct_resource_item.go

@@ -17,7 +17,7 @@ package cms
 
 // ResourceItem is a nested struct in cms response
 type ResourceItem struct {
-	GroupId        int     `json:"GroupId" xml:"GroupId"`
+	GroupId        int64   `json:"GroupId" xml:"GroupId"`
 	Category       string  `json:"Category" xml:"Category"`
 	FilterRelation string  `json:"FilterRelation" xml:"FilterRelation"`
 	Filters        Filters `json:"Filters" xml:"Filters"`

+ 1 - 1
services/cms/struct_resources_in_describe_alerting_metric_rule_resources.go

@@ -17,5 +17,5 @@ package cms
 
 // ResourcesInDescribeAlertingMetricRuleResources is a nested struct in cms response
 type ResourcesInDescribeAlertingMetricRuleResources struct {
-	Resource []Resource `json:"Resource" xml:"Resource"`
+	Resource []ResourceInDescribeAlertingMetricRuleResources `json:"Resource" xml:"Resource"`
 }

+ 1 - 1
services/cms/struct_resources_in_describe_monitor_groups.go

@@ -17,5 +17,5 @@ package cms
 
 // ResourcesInDescribeMonitorGroups is a nested struct in cms response
 type ResourcesInDescribeMonitorGroups struct {
-	Resource []ResourceInDescribeMonitorGroups `json:"Resource" xml:"Resource"`
+	Resource []Resource `json:"Resource" xml:"Resource"`
 }

+ 1 - 1
services/cms/struct_result.go

@@ -21,6 +21,6 @@ type Result struct {
 	RuleName string `json:"RuleName" xml:"RuleName"`
 	Code     string `json:"Code" xml:"Code"`
 	Success  bool   `json:"Success" xml:"Success"`
-	GroupId  int    `json:"GroupId" xml:"GroupId"`
+	GroupId  int64  `json:"GroupId" xml:"GroupId"`
 	RuleId   string `json:"RuleId" xml:"RuleId"`
 }

+ 9 - 9
services/cms/struct_site_monitor.go

@@ -17,13 +17,13 @@ package cms
 
 // SiteMonitor is a nested struct in cms response
 type SiteMonitor struct {
-	TaskId      string                 `json:"TaskId" xml:"TaskId"`
-	TaskType    string                 `json:"TaskType" xml:"TaskType"`
-	Address     string                 `json:"Address" xml:"Address"`
-	TaskState   string                 `json:"TaskState" xml:"TaskState"`
-	CreateTime  string                 `json:"CreateTime" xml:"CreateTime"`
-	TaskName    string                 `json:"TaskName" xml:"TaskName"`
-	Interval    string                 `json:"Interval" xml:"Interval"`
-	UpdateTime  string                 `json:"UpdateTime" xml:"UpdateTime"`
-	OptionsJson map[string]interface{} `json:"OptionsJson" xml:"OptionsJson"`
+	TaskId      string `json:"TaskId" xml:"TaskId"`
+	TaskType    string `json:"TaskType" xml:"TaskType"`
+	Address     string `json:"Address" xml:"Address"`
+	TaskState   string `json:"TaskState" xml:"TaskState"`
+	CreateTime  string `json:"CreateTime" xml:"CreateTime"`
+	TaskName    string `json:"TaskName" xml:"TaskName"`
+	Interval    string `json:"Interval" xml:"Interval"`
+	UpdateTime  string `json:"UpdateTime" xml:"UpdateTime"`
+	OptionsJson string `json:"OptionsJson" xml:"OptionsJson"`
 }

+ 1 - 0
services/cms/struct_sls_parameter.go

@@ -21,4 +21,5 @@ type SlsParameter struct {
 	Region   string `json:"Region" xml:"Region"`
 	Project  string `json:"Project" xml:"Project"`
 	LogStore string `json:"LogStore" xml:"LogStore"`
+	Arn      string `json:"Arn" xml:"Arn"`
 }

+ 2 - 2
services/cms/struct_system_event.go

@@ -21,11 +21,11 @@ type SystemEvent struct {
 	Product      string `json:"Product" xml:"Product"`
 	Name         string `json:"Name" xml:"Name"`
 	GroupId      string `json:"GroupId" xml:"GroupId"`
-	Num          int    `json:"Num" xml:"Num"`
+	Num          int64  `json:"Num" xml:"Num"`
 	Level        string `json:"Level" xml:"Level"`
 	Status       string `json:"Status" xml:"Status"`
 	ResourceId   string `json:"ResourceId" xml:"ResourceId"`
 	RegionId     string `json:"RegionId" xml:"RegionId"`
 	InstanceName string `json:"InstanceName" xml:"InstanceName"`
-	Time         int    `json:"Time" xml:"Time"`
+	Time         int64  `json:"Time" xml:"Time"`
 }

+ 2 - 2
services/cms/struct_system_event_count.go

@@ -21,11 +21,11 @@ type SystemEventCount struct {
 	Product      string `json:"Product" xml:"Product"`
 	Name         string `json:"Name" xml:"Name"`
 	GroupId      string `json:"GroupId" xml:"GroupId"`
-	Num          int    `json:"Num" xml:"Num"`
+	Num          int64  `json:"Num" xml:"Num"`
 	Level        string `json:"Level" xml:"Level"`
 	Status       string `json:"Status" xml:"Status"`
 	ResourceId   string `json:"ResourceId" xml:"ResourceId"`
 	RegionId     string `json:"RegionId" xml:"RegionId"`
 	InstanceName string `json:"InstanceName" xml:"InstanceName"`
-	Time         int    `json:"Time" xml:"Time"`
+	Time         int64  `json:"Time" xml:"Time"`
 }

+ 3 - 3
services/cms/struct_system_event_histogram.go

@@ -17,7 +17,7 @@ package cms
 
 // SystemEventHistogram is a nested struct in cms response
 type SystemEventHistogram struct {
-	Count     int `json:"Count" xml:"Count"`
-	StartTime int `json:"StartTime" xml:"StartTime"`
-	EndTime   int `json:"EndTime" xml:"EndTime"`
+	Count     int64 `json:"Count" xml:"Count"`
+	StartTime int64 `json:"StartTime" xml:"StartTime"`
+	EndTime   int64 `json:"EndTime" xml:"EndTime"`
 }

+ 4 - 4
services/cms/struct_template.go

@@ -19,9 +19,9 @@ package cms
 type Template struct {
 	Name           string         `json:"Name" xml:"Name"`
 	Description    string         `json:"Description" xml:"Description"`
-	RestVersion    int            `json:"RestVersion" xml:"RestVersion"`
-	TemplateId     int            `json:"TemplateId" xml:"TemplateId"`
-	GmtCreate      int            `json:"GmtCreate" xml:"GmtCreate"`
-	GmtModified    int            `json:"GmtModified" xml:"GmtModified"`
+	RestVersion    int64          `json:"RestVersion" xml:"RestVersion"`
+	TemplateId     int64          `json:"TemplateId" xml:"TemplateId"`
+	GmtCreate      int64          `json:"GmtCreate" xml:"GmtCreate"`
+	GmtModified    int64          `json:"GmtModified" xml:"GmtModified"`
 	ApplyHistories ApplyHistories `json:"ApplyHistories" xml:"ApplyHistories"`
 }