瀏覽代碼

SAS SDK Auto Released By lai.zhoulai,Version:1.56.7

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
haowei.yao 6 年之前
父節點
當前提交
3852670105

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2019-04-16 Version: 1.56.7
+1, Add api about pushing security check commands
+
 2019-04-16 Version: 1.56.6
 1, Fixed describeAccounts response type error
 

+ 112 - 0
services/sas/describe_check_warning_detail.go

@@ -0,0 +1,112 @@
+package sas
+
+//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"
+)
+
+// DescribeCheckWarningDetail invokes the sas.DescribeCheckWarningDetail API synchronously
+// api document: https://help.aliyun.com/api/sas/describecheckwarningdetail.html
+func (client *Client) DescribeCheckWarningDetail(request *DescribeCheckWarningDetailRequest) (response *DescribeCheckWarningDetailResponse, err error) {
+	response = CreateDescribeCheckWarningDetailResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeCheckWarningDetailWithChan invokes the sas.DescribeCheckWarningDetail API asynchronously
+// api document: https://help.aliyun.com/api/sas/describecheckwarningdetail.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeCheckWarningDetailWithChan(request *DescribeCheckWarningDetailRequest) (<-chan *DescribeCheckWarningDetailResponse, <-chan error) {
+	responseChan := make(chan *DescribeCheckWarningDetailResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeCheckWarningDetail(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeCheckWarningDetailWithCallback invokes the sas.DescribeCheckWarningDetail API asynchronously
+// api document: https://help.aliyun.com/api/sas/describecheckwarningdetail.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeCheckWarningDetailWithCallback(request *DescribeCheckWarningDetailRequest, callback func(response *DescribeCheckWarningDetailResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeCheckWarningDetailResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeCheckWarningDetail(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeCheckWarningDetailRequest is the request struct for api DescribeCheckWarningDetail
+type DescribeCheckWarningDetailRequest struct {
+	*requests.RpcRequest
+	SourceIp       string           `position:"Query" name:"SourceIp"`
+	Lang           string           `position:"Query" name:"Lang"`
+	CheckWarningId requests.Integer `position:"Query" name:"CheckWarningId"`
+}
+
+// DescribeCheckWarningDetailResponse is the response struct for api DescribeCheckWarningDetail
+type DescribeCheckWarningDetailResponse struct {
+	*responses.BaseResponse
+	RequestId   string `json:"RequestId" xml:"RequestId"`
+	CheckId     int    `json:"CheckId" xml:"CheckId"`
+	Level       string `json:"Level" xml:"Level"`
+	Item        string `json:"Item" xml:"Item"`
+	Prompt      string `json:"Prompt" xml:"Prompt"`
+	Type        string `json:"Type" xml:"Type"`
+	Advice      string `json:"Advice" xml:"Advice"`
+	Description string `json:"Description" xml:"Description"`
+}
+
+// CreateDescribeCheckWarningDetailRequest creates a request to invoke DescribeCheckWarningDetail API
+func CreateDescribeCheckWarningDetailRequest() (request *DescribeCheckWarningDetailRequest) {
+	request = &DescribeCheckWarningDetailRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Sas", "2018-12-03", "DescribeCheckWarningDetail", "sas", "openAPI")
+	return
+}
+
+// CreateDescribeCheckWarningDetailResponse creates a response to parse from DescribeCheckWarningDetail response
+func CreateDescribeCheckWarningDetailResponse() (response *DescribeCheckWarningDetailResponse) {
+	response = &DescribeCheckWarningDetailResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 117 - 0
services/sas/describe_check_warning_summary.go

@@ -0,0 +1,117 @@
+package sas
+
+//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"
+)
+
+// DescribeCheckWarningSummary invokes the sas.DescribeCheckWarningSummary API synchronously
+// api document: https://help.aliyun.com/api/sas/describecheckwarningsummary.html
+func (client *Client) DescribeCheckWarningSummary(request *DescribeCheckWarningSummaryRequest) (response *DescribeCheckWarningSummaryResponse, err error) {
+	response = CreateDescribeCheckWarningSummaryResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeCheckWarningSummaryWithChan invokes the sas.DescribeCheckWarningSummary API asynchronously
+// api document: https://help.aliyun.com/api/sas/describecheckwarningsummary.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeCheckWarningSummaryWithChan(request *DescribeCheckWarningSummaryRequest) (<-chan *DescribeCheckWarningSummaryResponse, <-chan error) {
+	responseChan := make(chan *DescribeCheckWarningSummaryResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeCheckWarningSummary(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeCheckWarningSummaryWithCallback invokes the sas.DescribeCheckWarningSummary API asynchronously
+// api document: https://help.aliyun.com/api/sas/describecheckwarningsummary.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeCheckWarningSummaryWithCallback(request *DescribeCheckWarningSummaryRequest, callback func(response *DescribeCheckWarningSummaryResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeCheckWarningSummaryResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeCheckWarningSummary(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeCheckWarningSummaryRequest is the request struct for api DescribeCheckWarningSummary
+type DescribeCheckWarningSummaryRequest struct {
+	*requests.RpcRequest
+	RiskName    string           `position:"Query" name:"RiskName"`
+	SourceIp    string           `position:"Query" name:"SourceIp"`
+	RiskStatus  requests.Integer `position:"Query" name:"RiskStatus"`
+	PageSize    requests.Integer `position:"Query" name:"PageSize"`
+	StrategyId  requests.Integer `position:"Query" name:"StrategyId"`
+	CurrentPage requests.Integer `position:"Query" name:"CurrentPage"`
+	Lang        string           `position:"Query" name:"Lang"`
+	TypeName    string           `position:"Query" name:"TypeName"`
+	Status      string           `position:"Query" name:"Status"`
+	Uuids       string           `position:"Query" name:"Uuids"`
+}
+
+// DescribeCheckWarningSummaryResponse is the response struct for api DescribeCheckWarningSummary
+type DescribeCheckWarningSummaryResponse struct {
+	*responses.BaseResponse
+	RequestId       string           `json:"RequestId" xml:"RequestId"`
+	Count           int              `json:"Count" xml:"Count"`
+	PageSize        int              `json:"PageSize" xml:"PageSize"`
+	TotalCount      int              `json:"TotalCount" xml:"TotalCount"`
+	CurrentPage     int              `json:"CurrentPage" xml:"CurrentPage"`
+	WarningSummarys []WarningSummary `json:"WarningSummarys" xml:"WarningSummarys"`
+}
+
+// CreateDescribeCheckWarningSummaryRequest creates a request to invoke DescribeCheckWarningSummary API
+func CreateDescribeCheckWarningSummaryRequest() (request *DescribeCheckWarningSummaryRequest) {
+	request = &DescribeCheckWarningSummaryRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Sas", "2018-12-03", "DescribeCheckWarningSummary", "sas", "openAPI")
+	return
+}
+
+// CreateDescribeCheckWarningSummaryResponse creates a response to parse from DescribeCheckWarningSummary response
+func CreateDescribeCheckWarningSummaryResponse() (response *DescribeCheckWarningSummaryResponse) {
+	response = &DescribeCheckWarningSummaryResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 113 - 0
services/sas/describe_check_warnings.go

@@ -0,0 +1,113 @@
+package sas
+
+//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"
+)
+
+// DescribeCheckWarnings invokes the sas.DescribeCheckWarnings API synchronously
+// api document: https://help.aliyun.com/api/sas/describecheckwarnings.html
+func (client *Client) DescribeCheckWarnings(request *DescribeCheckWarningsRequest) (response *DescribeCheckWarningsResponse, err error) {
+	response = CreateDescribeCheckWarningsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeCheckWarningsWithChan invokes the sas.DescribeCheckWarnings API asynchronously
+// api document: https://help.aliyun.com/api/sas/describecheckwarnings.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeCheckWarningsWithChan(request *DescribeCheckWarningsRequest) (<-chan *DescribeCheckWarningsResponse, <-chan error) {
+	responseChan := make(chan *DescribeCheckWarningsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeCheckWarnings(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeCheckWarningsWithCallback invokes the sas.DescribeCheckWarnings API asynchronously
+// api document: https://help.aliyun.com/api/sas/describecheckwarnings.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeCheckWarningsWithCallback(request *DescribeCheckWarningsRequest, callback func(response *DescribeCheckWarningsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeCheckWarningsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeCheckWarnings(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeCheckWarningsRequest is the request struct for api DescribeCheckWarnings
+type DescribeCheckWarningsRequest struct {
+	*requests.RpcRequest
+	SourceIp    string           `position:"Query" name:"SourceIp"`
+	PageSize    requests.Integer `position:"Query" name:"PageSize"`
+	CurrentPage requests.Integer `position:"Query" name:"CurrentPage"`
+	Lang        string           `position:"Query" name:"Lang"`
+	RiskId      requests.Integer `position:"Query" name:"RiskId"`
+	Uuid        string           `position:"Query" name:"Uuid"`
+}
+
+// DescribeCheckWarningsResponse is the response struct for api DescribeCheckWarnings
+type DescribeCheckWarningsResponse struct {
+	*responses.BaseResponse
+	RequestId     string         `json:"RequestId" xml:"RequestId"`
+	Count         int            `json:"Count" xml:"Count"`
+	PageSize      int            `json:"PageSize" xml:"PageSize"`
+	TotalCount    int            `json:"TotalCount" xml:"TotalCount"`
+	CurrentPage   int            `json:"CurrentPage" xml:"CurrentPage"`
+	CheckWarnings []CheckWarning `json:"CheckWarnings" xml:"CheckWarnings"`
+}
+
+// CreateDescribeCheckWarningsRequest creates a request to invoke DescribeCheckWarnings API
+func CreateDescribeCheckWarningsRequest() (request *DescribeCheckWarningsRequest) {
+	request = &DescribeCheckWarningsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Sas", "2018-12-03", "DescribeCheckWarnings", "sas", "openAPI")
+	return
+}
+
+// CreateDescribeCheckWarningsResponse creates a response to parse from DescribeCheckWarnings response
+func CreateDescribeCheckWarningsResponse() (response *DescribeCheckWarningsResponse) {
+	response = &DescribeCheckWarningsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 112 - 0
services/sas/describe_strategy_exec_detail.go

@@ -0,0 +1,112 @@
+package sas
+
+//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"
+)
+
+// DescribeStrategyExecDetail invokes the sas.DescribeStrategyExecDetail API synchronously
+// api document: https://help.aliyun.com/api/sas/describestrategyexecdetail.html
+func (client *Client) DescribeStrategyExecDetail(request *DescribeStrategyExecDetailRequest) (response *DescribeStrategyExecDetailResponse, err error) {
+	response = CreateDescribeStrategyExecDetailResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeStrategyExecDetailWithChan invokes the sas.DescribeStrategyExecDetail API asynchronously
+// api document: https://help.aliyun.com/api/sas/describestrategyexecdetail.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeStrategyExecDetailWithChan(request *DescribeStrategyExecDetailRequest) (<-chan *DescribeStrategyExecDetailResponse, <-chan error) {
+	responseChan := make(chan *DescribeStrategyExecDetailResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeStrategyExecDetail(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeStrategyExecDetailWithCallback invokes the sas.DescribeStrategyExecDetail API asynchronously
+// api document: https://help.aliyun.com/api/sas/describestrategyexecdetail.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeStrategyExecDetailWithCallback(request *DescribeStrategyExecDetailRequest, callback func(response *DescribeStrategyExecDetailResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeStrategyExecDetailResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeStrategyExecDetail(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeStrategyExecDetailRequest is the request struct for api DescribeStrategyExecDetail
+type DescribeStrategyExecDetailRequest struct {
+	*requests.RpcRequest
+	SourceIp   string           `position:"Query" name:"SourceIp"`
+	StrategyId requests.Integer `position:"Query" name:"StrategyId"`
+}
+
+// DescribeStrategyExecDetailResponse is the response struct for api DescribeStrategyExecDetail
+type DescribeStrategyExecDetailResponse struct {
+	*responses.BaseResponse
+	RequestId      string      `json:"RequestId" xml:"RequestId"`
+	StartTime      string      `json:"StartTime" xml:"StartTime"`
+	EndTime        string      `json:"EndTime" xml:"EndTime"`
+	Source         string      `json:"Source" xml:"Source"`
+	Percent        string      `json:"Percent" xml:"Percent"`
+	SuccessCount   int         `json:"SuccessCount" xml:"SuccessCount"`
+	FailCount      int         `json:"FailCount" xml:"FailCount"`
+	InProcessCount int         `json:"InProcessCount" xml:"InProcessCount"`
+	FailedEcsList  []FailedEcs `json:"FailedEcsList" xml:"FailedEcsList"`
+}
+
+// CreateDescribeStrategyExecDetailRequest creates a request to invoke DescribeStrategyExecDetail API
+func CreateDescribeStrategyExecDetailRequest() (request *DescribeStrategyExecDetailRequest) {
+	request = &DescribeStrategyExecDetailRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Sas", "2018-12-03", "DescribeStrategyExecDetail", "sas", "openAPI")
+	return
+}
+
+// CreateDescribeStrategyExecDetailResponse creates a response to parse from DescribeStrategyExecDetail response
+func CreateDescribeStrategyExecDetailResponse() (response *DescribeStrategyExecDetailResponse) {
+	response = &DescribeStrategyExecDetailResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/sas/describe_stratety.go

@@ -0,0 +1,106 @@
+package sas
+
+//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"
+)
+
+// DescribeStratety invokes the sas.DescribeStratety API synchronously
+// api document: https://help.aliyun.com/api/sas/describestratety.html
+func (client *Client) DescribeStratety(request *DescribeStratetyRequest) (response *DescribeStratetyResponse, err error) {
+	response = CreateDescribeStratetyResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeStratetyWithChan invokes the sas.DescribeStratety API asynchronously
+// api document: https://help.aliyun.com/api/sas/describestratety.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeStratetyWithChan(request *DescribeStratetyRequest) (<-chan *DescribeStratetyResponse, <-chan error) {
+	responseChan := make(chan *DescribeStratetyResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeStratety(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeStratetyWithCallback invokes the sas.DescribeStratety API asynchronously
+// api document: https://help.aliyun.com/api/sas/describestratety.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeStratetyWithCallback(request *DescribeStratetyRequest, callback func(response *DescribeStratetyResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeStratetyResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeStratety(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeStratetyRequest is the request struct for api DescribeStratety
+type DescribeStratetyRequest struct {
+	*requests.RpcRequest
+	SourceIp    string `position:"Query" name:"SourceIp"`
+	StrategyIds string `position:"Query" name:"StrategyIds"`
+	Lang        string `position:"Query" name:"Lang"`
+}
+
+// DescribeStratetyResponse is the response struct for api DescribeStratety
+type DescribeStratetyResponse struct {
+	*responses.BaseResponse
+	RequestId  string     `json:"RequestId" xml:"RequestId"`
+	Strategies []Strategy `json:"Strategies" xml:"Strategies"`
+}
+
+// CreateDescribeStratetyRequest creates a request to invoke DescribeStratety API
+func CreateDescribeStratetyRequest() (request *DescribeStratetyRequest) {
+	request = &DescribeStratetyRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Sas", "2018-12-03", "DescribeStratety", "sas", "openAPI")
+	return
+}
+
+// CreateDescribeStratetyResponse creates a response to parse from DescribeStratety response
+func CreateDescribeStratetyResponse() (response *DescribeStratetyResponse) {
+	response = &DescribeStratetyResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 115 - 0
services/sas/describe_warning_machines.go

@@ -0,0 +1,115 @@
+package sas
+
+//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"
+)
+
+// DescribeWarningMachines invokes the sas.DescribeWarningMachines API synchronously
+// api document: https://help.aliyun.com/api/sas/describewarningmachines.html
+func (client *Client) DescribeWarningMachines(request *DescribeWarningMachinesRequest) (response *DescribeWarningMachinesResponse, err error) {
+	response = CreateDescribeWarningMachinesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeWarningMachinesWithChan invokes the sas.DescribeWarningMachines API asynchronously
+// api document: https://help.aliyun.com/api/sas/describewarningmachines.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeWarningMachinesWithChan(request *DescribeWarningMachinesRequest) (<-chan *DescribeWarningMachinesResponse, <-chan error) {
+	responseChan := make(chan *DescribeWarningMachinesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeWarningMachines(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeWarningMachinesWithCallback invokes the sas.DescribeWarningMachines API asynchronously
+// api document: https://help.aliyun.com/api/sas/describewarningmachines.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeWarningMachinesWithCallback(request *DescribeWarningMachinesRequest, callback func(response *DescribeWarningMachinesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeWarningMachinesResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeWarningMachines(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeWarningMachinesRequest is the request struct for api DescribeWarningMachines
+type DescribeWarningMachinesRequest struct {
+	*requests.RpcRequest
+	SourceIp    string           `position:"Query" name:"SourceIp"`
+	PageSize    requests.Integer `position:"Query" name:"PageSize"`
+	MachineName string           `position:"Query" name:"MachineName"`
+	StrategyId  requests.Integer `position:"Query" name:"StrategyId"`
+	CurrentPage requests.Integer `position:"Query" name:"CurrentPage"`
+	Lang        string           `position:"Query" name:"Lang"`
+	RiskId      requests.Integer `position:"Query" name:"RiskId"`
+	Uuids       string           `position:"Query" name:"Uuids"`
+}
+
+// DescribeWarningMachinesResponse is the response struct for api DescribeWarningMachines
+type DescribeWarningMachinesResponse struct {
+	*responses.BaseResponse
+	RequestId       string           `json:"RequestId" xml:"RequestId"`
+	Count           int              `json:"Count" xml:"Count"`
+	PageSize        int              `json:"PageSize" xml:"PageSize"`
+	TotalCount      int              `json:"TotalCount" xml:"TotalCount"`
+	CurrentPage     int              `json:"CurrentPage" xml:"CurrentPage"`
+	WarningMachines []WarningMachine `json:"WarningMachines" xml:"WarningMachines"`
+}
+
+// CreateDescribeWarningMachinesRequest creates a request to invoke DescribeWarningMachines API
+func CreateDescribeWarningMachinesRequest() (request *DescribeWarningMachinesRequest) {
+	request = &DescribeWarningMachinesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Sas", "2018-12-03", "DescribeWarningMachines", "sas", "openAPI")
+	return
+}
+
+// CreateDescribeWarningMachinesResponse creates a response to parse from DescribeWarningMachines response
+func CreateDescribeWarningMachinesResponse() (response *DescribeWarningMachinesResponse) {
+	response = &DescribeWarningMachinesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/sas/modify_push_all_task.go

@@ -0,0 +1,106 @@
+package sas
+
+//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"
+)
+
+// ModifyPushAllTask invokes the sas.ModifyPushAllTask API synchronously
+// api document: https://help.aliyun.com/api/sas/modifypushalltask.html
+func (client *Client) ModifyPushAllTask(request *ModifyPushAllTaskRequest) (response *ModifyPushAllTaskResponse, err error) {
+	response = CreateModifyPushAllTaskResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ModifyPushAllTaskWithChan invokes the sas.ModifyPushAllTask API asynchronously
+// api document: https://help.aliyun.com/api/sas/modifypushalltask.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyPushAllTaskWithChan(request *ModifyPushAllTaskRequest) (<-chan *ModifyPushAllTaskResponse, <-chan error) {
+	responseChan := make(chan *ModifyPushAllTaskResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ModifyPushAllTask(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ModifyPushAllTaskWithCallback invokes the sas.ModifyPushAllTask API asynchronously
+// api document: https://help.aliyun.com/api/sas/modifypushalltask.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyPushAllTaskWithCallback(request *ModifyPushAllTaskRequest, callback func(response *ModifyPushAllTaskResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ModifyPushAllTaskResponse
+		var err error
+		defer close(result)
+		response, err = client.ModifyPushAllTask(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ModifyPushAllTaskRequest is the request struct for api ModifyPushAllTask
+type ModifyPushAllTaskRequest struct {
+	*requests.RpcRequest
+	SourceIp string `position:"Query" name:"SourceIp"`
+	Tasks    string `position:"Query" name:"Tasks"`
+	Uuids    string `position:"Query" name:"Uuids"`
+}
+
+// ModifyPushAllTaskResponse is the response struct for api ModifyPushAllTask
+type ModifyPushAllTaskResponse struct {
+	*responses.BaseResponse
+	RequestId   string      `json:"RequestId" xml:"RequestId"`
+	PushTaskRsp PushTaskRsp `json:"PushTaskRsp" xml:"PushTaskRsp"`
+}
+
+// CreateModifyPushAllTaskRequest creates a request to invoke ModifyPushAllTask API
+func CreateModifyPushAllTaskRequest() (request *ModifyPushAllTaskRequest) {
+	request = &ModifyPushAllTaskRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Sas", "2018-12-03", "ModifyPushAllTask", "sas", "openAPI")
+	return
+}
+
+// CreateModifyPushAllTaskResponse creates a response to parse from ModifyPushAllTask response
+func CreateModifyPushAllTaskResponse() (response *ModifyPushAllTaskResponse) {
+	response = &ModifyPushAllTaskResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 27 - 0
services/sas/struct_check_warning.go

@@ -0,0 +1,27 @@
+package sas
+
+//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.
+
+// CheckWarning is a nested struct in sas response
+type CheckWarning struct {
+	Uuid           string `json:"Uuid" xml:"Uuid"`
+	CheckId        int    `json:"CheckId" xml:"CheckId"`
+	CheckWarningId int    `json:"CheckWarningId" xml:"CheckWarningId"`
+	Level          string `json:"Level" xml:"Level"`
+	Item           string `json:"Item" xml:"Item"`
+	Type           string `json:"Type" xml:"Type"`
+	Status         int    `json:"Status" xml:"Status"`
+}

+ 21 - 0
services/sas/struct_check_warnings.go

@@ -0,0 +1,21 @@
+package sas
+
+//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.
+
+// CheckWarnings is a nested struct in sas response
+type CheckWarnings struct {
+	CheckWarning []CheckWarning `json:"CheckWarning" xml:"CheckWarning"`
+}

+ 23 - 0
services/sas/struct_config_target.go

@@ -0,0 +1,23 @@
+package sas
+
+//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.
+
+// ConfigTarget is a nested struct in sas response
+type ConfigTarget struct {
+	Flag       string `json:"Flag" xml:"Flag"`
+	TargetType string `json:"TargetType" xml:"TargetType"`
+	Target     string `json:"Target" xml:"Target"`
+}

+ 21 - 0
services/sas/struct_config_targets.go

@@ -0,0 +1,21 @@
+package sas
+
+//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.
+
+// ConfigTargets is a nested struct in sas response
+type ConfigTargets struct {
+	ConfigTarget []ConfigTarget `json:"ConfigTarget" xml:"ConfigTarget"`
+}

+ 1 - 1
services/sas/struct_cve_list.go

@@ -17,5 +17,5 @@ package sas
 
 // CveList is a nested struct in sas response
 type CveList struct {
-	CveList []string `json:"CveList" xml:"CveList"`
+	Cve []string `json:"Cve" xml:"Cve"`
 }

+ 11 - 11
services/sas/struct_extend_content_json.go

@@ -17,15 +17,15 @@ package sas
 
 // ExtendContentJson is a nested struct in sas response
 type ExtendContentJson struct {
-	Os            string              `json:"Os" xml:"Os"`
-	OsRelease     string              `json:"OsRelease" xml:"OsRelease"`
-	Status        int                 `json:"Status" xml:"Status"`
-	LastTs        int                 `json:"LastTs" xml:"LastTs"`
-	AliasName     string              `json:"AliasName" xml:"AliasName"`
-	Tag           string              `json:"Tag" xml:"Tag"`
-	PrimaryId     int                 `json:"PrimaryId" xml:"PrimaryId"`
-	AbsolutePath  string              `json:"AbsolutePath" xml:"AbsolutePath"`
-	CveList       []string            `json:"cveList" xml:"cveList"`
-	Necessity     Necessity           `json:"Necessity" xml:"Necessity"`
-	RpmEntityList []RpmEntityListItem `json:"RpmEntityList" xml:"RpmEntityList"`
+	Os            string      `json:"Os" xml:"Os"`
+	OsRelease     string      `json:"OsRelease" xml:"OsRelease"`
+	Status        int         `json:"Status" xml:"Status"`
+	LastTs        int         `json:"LastTs" xml:"LastTs"`
+	AliasName     string      `json:"AliasName" xml:"AliasName"`
+	Tag           string      `json:"Tag" xml:"Tag"`
+	PrimaryId     int         `json:"PrimaryId" xml:"PrimaryId"`
+	AbsolutePath  string      `json:"AbsolutePath" xml:"AbsolutePath"`
+	CveList       []string    `json:"cveList" xml:"cveList"`
+	Necessity     Necessity   `json:"Necessity" xml:"Necessity"`
+	RpmEntityList []RpmEntity `json:"RpmEntityList" xml:"RpmEntityList"`
 }

+ 24 - 0
services/sas/struct_failed_ecs.go

@@ -0,0 +1,24 @@
+package sas
+
+//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.
+
+// FailedEcs is a nested struct in sas response
+type FailedEcs struct {
+	Reason       string `json:"Reason" xml:"Reason"`
+	InstanceName string `json:"InstanceName" xml:"InstanceName"`
+	IP           string `json:"IP" xml:"IP"`
+	IntranetIp   string `json:"IntranetIp" xml:"IntranetIp"`
+}

+ 21 - 0
services/sas/struct_failed_ecs_list.go

@@ -0,0 +1,21 @@
+package sas
+
+//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.
+
+// FailedEcsList is a nested struct in sas response
+type FailedEcsList struct {
+	FailedEcs []FailedEcs `json:"FailedEcs" xml:"FailedEcs"`
+}

+ 30 - 0
services/sas/struct_push_task_result.go

@@ -0,0 +1,30 @@
+package sas
+
+//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.
+
+// PushTaskResult is a nested struct in sas response
+type PushTaskResult struct {
+	InstanceId   string `json:"InstanceId" xml:"InstanceId"`
+	OsVersion    string `json:"OsVersion" xml:"OsVersion"`
+	InstanceName string `json:"InstanceName" xml:"InstanceName"`
+	Success      bool   `json:"Success" xml:"Success"`
+	GroupId      int    `json:"GroupId" xml:"GroupId"`
+	Ip           string `json:"Ip" xml:"Ip"`
+	Online       bool   `json:"Online" xml:"Online"`
+	Message      string `json:"Message" xml:"Message"`
+	Region       string `json:"Region" xml:"Region"`
+	Uuid         string `json:"Uuid" xml:"Uuid"`
+}

+ 21 - 0
services/sas/struct_push_task_result_list.go

@@ -0,0 +1,21 @@
+package sas
+
+//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.
+
+// PushTaskResultList is a nested struct in sas response
+type PushTaskResultList struct {
+	PushTaskResult []PushTaskResult `json:"pushTaskResult" xml:"pushTaskResult"`
+}

+ 21 - 0
services/sas/struct_push_task_rsp.go

@@ -0,0 +1,21 @@
+package sas
+
+//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.
+
+// PushTaskRsp is a nested struct in sas response
+type PushTaskRsp struct {
+	PushTaskResultList []PushTaskResult `json:"PushTaskResultList" xml:"PushTaskResultList"`
+}

+ 2 - 2
services/sas/struct_rpm_entity_list_item.go → services/sas/struct_rpm_entity.go

@@ -15,8 +15,8 @@ package sas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// RpmEntityListItem is a nested struct in sas response
-type RpmEntityListItem struct {
+// RpmEntity is a nested struct in sas response
+type RpmEntity struct {
 	FullVersion string `json:"FullVersion" xml:"FullVersion"`
 	MatchDetail string `json:"MatchDetail" xml:"MatchDetail"`
 	Name        string `json:"Name" xml:"Name"`

+ 1 - 1
services/sas/struct_rpm_entity_list.go

@@ -17,5 +17,5 @@ package sas
 
 // RpmEntityList is a nested struct in sas response
 type RpmEntityList struct {
-	RpmEntityListItem []RpmEntityListItem `json:"RpmEntityListItem" xml:"RpmEntityListItem"`
+	RpmEntity []RpmEntity `json:"RpmEntity" xml:"RpmEntity"`
 }

+ 21 - 0
services/sas/struct_strategies.go

@@ -0,0 +1,21 @@
+package sas
+
+//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.
+
+// Strategies is a nested struct in sas response
+type Strategies struct {
+	Strategy []Strategy `json:"Strategy" xml:"Strategy"`
+}

+ 31 - 0
services/sas/struct_strategy.go

@@ -0,0 +1,31 @@
+package sas
+
+//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.
+
+// Strategy is a nested struct in sas response
+type Strategy struct {
+	CycleDays      int            `json:"CycleDays" xml:"CycleDays"`
+	Id             int            `json:"Id" xml:"Id"`
+	CycleStartTime int            `json:"CycleStartTime" xml:"CycleStartTime"`
+	Type           int            `json:"Type" xml:"Type"`
+	Name           string         `json:"Name" xml:"Name"`
+	RiskCount      int            `json:"RiskCount" xml:"RiskCount"`
+	EcsCount       int            `json:"EcsCount" xml:"EcsCount"`
+	ExecStatus     int            `json:"ExecStatus" xml:"ExecStatus"`
+	ProcessRate    int            `json:"ProcessRate" xml:"ProcessRate"`
+	PassRate       int            `json:"PassRate" xml:"PassRate"`
+	ConfigTargets  []ConfigTarget `json:"ConfigTargets" xml:"ConfigTargets"`
+}

+ 29 - 0
services/sas/struct_warning_machine.go

@@ -0,0 +1,29 @@
+package sas
+
+//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.
+
+// WarningMachine is a nested struct in sas response
+type WarningMachine struct {
+	Uuid               string `json:"Uuid" xml:"Uuid"`
+	MachineName        string `json:"MachineName" xml:"MachineName"`
+	InternetIp         string `json:"InternetIp" xml:"InternetIp"`
+	IntranetIp         string `json:"IntranetIp" xml:"IntranetIp"`
+	PassCount          int    `json:"PassCount" xml:"PassCount"`
+	HighWarningCount   int    `json:"HighWarningCount" xml:"HighWarningCount"`
+	MediumWarningCount int    `json:"MediumWarningCount" xml:"MediumWarningCount"`
+	LowWarningCount    int    `json:"LowWarningCount" xml:"LowWarningCount"`
+	Status             int    `json:"Status" xml:"Status"`
+}

+ 21 - 0
services/sas/struct_warning_machines.go

@@ -0,0 +1,21 @@
+package sas
+
+//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.
+
+// WarningMachines is a nested struct in sas response
+type WarningMachines struct {
+	WarningMachine []WarningMachine `json:"WarningMachine" xml:"WarningMachine"`
+}

+ 29 - 19
services/sas/struct_warning_summary.go

@@ -17,23 +17,33 @@ package sas
 
 // WarningSummary is a nested struct in sas response
 type WarningSummary struct {
-	LastTime        string `json:"LastTime" xml:"LastTime"`
-	OccurrenceTime  string `json:"OccurrenceTime" xml:"OccurrenceTime"`
-	Id              int    `json:"Id" xml:"Id"`
-	InstanceName    string `json:"InstanceName" xml:"InstanceName"`
-	InternetIp      string `json:"InternetIp" xml:"InternetIp"`
-	IntranetIp      string `json:"IntranetIp" xml:"IntranetIp"`
-	Uuid            string `json:"Uuid" xml:"Uuid"`
-	Name            string `json:"Name" xml:"Name"`
-	EventSubType    string `json:"EventSubType" xml:"EventSubType"`
-	Level           string `json:"Level" xml:"Level"`
-	EventStatus     int    `json:"EventStatus" xml:"EventStatus"`
-	Desc            string `json:"Desc" xml:"Desc"`
-	OperateMsg      string `json:"OperateMsg" xml:"OperateMsg"`
-	DataSource      string `json:"DataSource" xml:"DataSource"`
-	CanBeDealOnLine bool   `json:"CanBeDealOnLine" xml:"CanBeDealOnLine"`
-	SaleVersion     string `json:"SaleVersion" xml:"SaleVersion"`
-	AlarmEventType  string `json:"AlarmEventType" xml:"AlarmEventType"`
-	AlarmEventName  string `json:"AlarmEventName" xml:"AlarmEventName"`
-	AlarmUniqueInfo string `json:"AlarmUniqueInfo" xml:"AlarmUniqueInfo"`
+	Name                string `json:"Name" xml:"Name"`
+	SaleVersion         string `json:"SaleVersion" xml:"SaleVersion"`
+	Desc                string `json:"Desc" xml:"Desc"`
+	DataSource          string `json:"DataSource" xml:"DataSource"`
+	AlarmUniqueInfo     string `json:"AlarmUniqueInfo" xml:"AlarmUniqueInfo"`
+	RiskId              int    `json:"RiskId" xml:"RiskId"`
+	AlarmEventType      string `json:"AlarmEventType" xml:"AlarmEventType"`
+	Uuid                string `json:"Uuid" xml:"Uuid"`
+	LastTime            string `json:"LastTime" xml:"LastTime"`
+	OccurrenceTime      string `json:"OccurrenceTime" xml:"OccurrenceTime"`
+	IntranetIp          string `json:"IntranetIp" xml:"IntranetIp"`
+	LastFoundTime       string `json:"LastFoundTime" xml:"LastFoundTime"`
+	CheckCount          int    `json:"CheckCount" xml:"CheckCount"`
+	OperateMsg          string `json:"OperateMsg" xml:"OperateMsg"`
+	LowWarningCount     int    `json:"LowWarningCount" xml:"LowWarningCount"`
+	InternetIp          string `json:"InternetIp" xml:"InternetIp"`
+	EventStatus         int    `json:"EventStatus" xml:"EventStatus"`
+	RiskName            string `json:"RiskName" xml:"RiskName"`
+	Level               string `json:"Level" xml:"Level"`
+	InstanceName        string `json:"InstanceName" xml:"InstanceName"`
+	Id                  int    `json:"Id" xml:"Id"`
+	AlarmEventName      string `json:"AlarmEventName" xml:"AlarmEventName"`
+	WarningMachineCount int    `json:"WarningMachineCount" xml:"WarningMachineCount"`
+	HighWarningCount    int    `json:"HighWarningCount" xml:"HighWarningCount"`
+	SubTypeAlias        string `json:"SubTypeAlias" xml:"SubTypeAlias"`
+	TypeAlias           string `json:"TypeAlias" xml:"TypeAlias"`
+	EventSubType        string `json:"EventSubType" xml:"EventSubType"`
+	CanBeDealOnLine     bool   `json:"CanBeDealOnLine" xml:"CanBeDealOnLine"`
+	MediumWarningCount  int    `json:"MediumWarningCount" xml:"MediumWarningCount"`
 }

+ 21 - 0
services/sas/struct_warning_summarys.go

@@ -0,0 +1,21 @@
+package sas
+
+//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.
+
+// WarningSummarys is a nested struct in sas response
+type WarningSummarys struct {
+	WarningSummary []WarningSummary `json:"WarningSummary" xml:"WarningSummary"`
+}