Documentation ¶
Index ¶
- Variables
- func GetEndpointMap() map[string]string
- func GetEndpointType() string
- func SetClientProperty(client *Client, propertyName string, propertyValue interface{})
- func SetEndpointDataToClient(client *Client)
- type Action
- type Actions
- type Baseline
- type BaselineItem
- type BaselineItemsInGetAccountFactoryBaseline
- type BaselineItemsInGetEnrolledAccount
- type BaselineItemsInListAccountFactoryBaselineItems
- type Baselines
- type BatchEnrollAccountsAccounts
- type BatchEnrollAccountsBaselineItems
- type BatchEnrollAccountsRequest
- type BatchEnrollAccountsResponse
- type CategoryResults
- type CategoryResultsItem
- type CategoryScoreDiff
- type CategoryScoreDiffs
- type Client
- func NewClient() (client *Client, err error)
- func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
- func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)
- func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
- func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
- func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
- func NewClientWithRamRoleArnAndPolicy(regionId string, ...) (client *Client, err error)
- func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
- func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
- func (client *Client) BatchEnrollAccounts(request *BatchEnrollAccountsRequest) (response *BatchEnrollAccountsResponse, err error)
- func (client *Client) BatchEnrollAccountsWithCallback(request *BatchEnrollAccountsRequest, ...) <-chan int
- func (client *Client) BatchEnrollAccountsWithChan(request *BatchEnrollAccountsRequest) (<-chan *BatchEnrollAccountsResponse, <-chan error)
- func (client *Client) CreateAccountFactoryBaseline(request *CreateAccountFactoryBaselineRequest) (response *CreateAccountFactoryBaselineResponse, err error)
- func (client *Client) CreateAccountFactoryBaselineWithCallback(request *CreateAccountFactoryBaselineRequest, ...) <-chan int
- func (client *Client) CreateAccountFactoryBaselineWithChan(request *CreateAccountFactoryBaselineRequest) (<-chan *CreateAccountFactoryBaselineResponse, <-chan error)
- func (client *Client) DeleteAccountFactoryBaseline(request *DeleteAccountFactoryBaselineRequest) (response *DeleteAccountFactoryBaselineResponse, err error)
- func (client *Client) DeleteAccountFactoryBaselineWithCallback(request *DeleteAccountFactoryBaselineRequest, ...) <-chan int
- func (client *Client) DeleteAccountFactoryBaselineWithChan(request *DeleteAccountFactoryBaselineRequest) (<-chan *DeleteAccountFactoryBaselineResponse, <-chan error)
- func (client *Client) EnrollAccount(request *EnrollAccountRequest) (response *EnrollAccountResponse, err error)
- func (client *Client) EnrollAccountWithCallback(request *EnrollAccountRequest, ...) <-chan int
- func (client *Client) EnrollAccountWithChan(request *EnrollAccountRequest) (<-chan *EnrollAccountResponse, <-chan error)
- func (client *Client) GetAccountFactoryBaseline(request *GetAccountFactoryBaselineRequest) (response *GetAccountFactoryBaselineResponse, err error)
- func (client *Client) GetAccountFactoryBaselineWithCallback(request *GetAccountFactoryBaselineRequest, ...) <-chan int
- func (client *Client) GetAccountFactoryBaselineWithChan(request *GetAccountFactoryBaselineRequest) (<-chan *GetAccountFactoryBaselineResponse, <-chan error)
- func (client *Client) GetEnrolledAccount(request *GetEnrolledAccountRequest) (response *GetEnrolledAccountResponse, err error)
- func (client *Client) GetEnrolledAccountWithCallback(request *GetEnrolledAccountRequest, ...) <-chan int
- func (client *Client) GetEnrolledAccountWithChan(request *GetEnrolledAccountRequest) (<-chan *GetEnrolledAccountResponse, <-chan error)
- func (client *Client) ListAccountFactoryBaselineItems(request *ListAccountFactoryBaselineItemsRequest) (response *ListAccountFactoryBaselineItemsResponse, err error)
- func (client *Client) ListAccountFactoryBaselineItemsWithCallback(request *ListAccountFactoryBaselineItemsRequest, ...) <-chan int
- func (client *Client) ListAccountFactoryBaselineItemsWithChan(request *ListAccountFactoryBaselineItemsRequest) (<-chan *ListAccountFactoryBaselineItemsResponse, <-chan error)
- func (client *Client) ListAccountFactoryBaselines(request *ListAccountFactoryBaselinesRequest) (response *ListAccountFactoryBaselinesResponse, err error)
- func (client *Client) ListAccountFactoryBaselinesWithCallback(request *ListAccountFactoryBaselinesRequest, ...) <-chan int
- func (client *Client) ListAccountFactoryBaselinesWithChan(request *ListAccountFactoryBaselinesRequest) (<-chan *ListAccountFactoryBaselinesResponse, <-chan error)
- func (client *Client) ListEnrolledAccounts(request *ListEnrolledAccountsRequest) (response *ListEnrolledAccountsResponse, err error)
- func (client *Client) ListEnrolledAccountsWithCallback(request *ListEnrolledAccountsRequest, ...) <-chan int
- func (client *Client) ListEnrolledAccountsWithChan(request *ListEnrolledAccountsRequest) (<-chan *ListEnrolledAccountsResponse, <-chan error)
- func (client *Client) ListEvaluationMetadata(request *ListEvaluationMetadataRequest) (response *ListEvaluationMetadataResponse, err error)
- func (client *Client) ListEvaluationMetadataWithCallback(request *ListEvaluationMetadataRequest, ...) <-chan int
- func (client *Client) ListEvaluationMetadataWithChan(request *ListEvaluationMetadataRequest) (<-chan *ListEvaluationMetadataResponse, <-chan error)
- func (client *Client) ListEvaluationMetricDetails(request *ListEvaluationMetricDetailsRequest) (response *ListEvaluationMetricDetailsResponse, err error)
- func (client *Client) ListEvaluationMetricDetailsWithCallback(request *ListEvaluationMetricDetailsRequest, ...) <-chan int
- func (client *Client) ListEvaluationMetricDetailsWithChan(request *ListEvaluationMetricDetailsRequest) (<-chan *ListEvaluationMetricDetailsResponse, <-chan error)
- func (client *Client) ListEvaluationResults(request *ListEvaluationResultsRequest) (response *ListEvaluationResultsResponse, err error)
- func (client *Client) ListEvaluationResultsWithCallback(request *ListEvaluationResultsRequest, ...) <-chan int
- func (client *Client) ListEvaluationResultsWithChan(request *ListEvaluationResultsRequest) (<-chan *ListEvaluationResultsResponse, <-chan error)
- func (client *Client) ListEvaluationScoreHistory(request *ListEvaluationScoreHistoryRequest) (response *ListEvaluationScoreHistoryResponse, err error)
- func (client *Client) ListEvaluationScoreHistoryWithCallback(request *ListEvaluationScoreHistoryRequest, ...) <-chan int
- func (client *Client) ListEvaluationScoreHistoryWithChan(request *ListEvaluationScoreHistoryRequest) (<-chan *ListEvaluationScoreHistoryResponse, <-chan error)
- func (client *Client) RunEvaluation(request *RunEvaluationRequest) (response *RunEvaluationResponse, err error)
- func (client *Client) RunEvaluationWithCallback(request *RunEvaluationRequest, ...) <-chan int
- func (client *Client) RunEvaluationWithChan(request *RunEvaluationRequest) (<-chan *RunEvaluationResponse, <-chan error)
- func (client *Client) UpdateAccountFactoryBaseline(request *UpdateAccountFactoryBaselineRequest) (response *UpdateAccountFactoryBaselineResponse, err error)
- func (client *Client) UpdateAccountFactoryBaselineWithCallback(request *UpdateAccountFactoryBaselineRequest, ...) <-chan int
- func (client *Client) UpdateAccountFactoryBaselineWithChan(request *UpdateAccountFactoryBaselineRequest) (<-chan *UpdateAccountFactoryBaselineResponse, <-chan error)
- type CreateAccountFactoryBaselineBaselineItems
- type CreateAccountFactoryBaselineRequest
- type CreateAccountFactoryBaselineResponse
- type DeleteAccountFactoryBaselineRequest
- type DeleteAccountFactoryBaselineResponse
- type DependsOn
- type DependsOnItem
- type EnrollAccountBaselineItems
- type EnrollAccountRequest
- type EnrollAccountResponse
- type EnrolledAccounts
- type EnrolledAccountsItem
- type ErrorInfo
- type EvaluationMetadata
- type EvaluationMetadataItem
- type GetAccountFactoryBaselineRequest
- type GetAccountFactoryBaselineResponse
- type GetEnrolledAccountRequest
- type GetEnrolledAccountResponse
- type GroupResults
- type GroupResultsItem
- type Guidance
- type GuidanceItem
- type Inputs
- type ListAccountFactoryBaselineItemsRequest
- type ListAccountFactoryBaselineItemsResponse
- type ListAccountFactoryBaselinesRequest
- type ListAccountFactoryBaselinesResponse
- type ListEnrolledAccountsRequest
- type ListEnrolledAccountsResponse
- type ListEvaluationMetadataRequest
- type ListEvaluationMetadataResponse
- type ListEvaluationMetricDetailsRequest
- type ListEvaluationMetricDetailsResponse
- type ListEvaluationResultsRequest
- type ListEvaluationResultsResponse
- type ListEvaluationScoreHistoryRequest
- type ListEvaluationScoreHistoryResponse
- type Metadata
- type MetadataItem
- type MetricResult
- type MetricResults
- type MetricScoreDiff
- type MetricScoreDiffs
- type Progres
- type Progress
- type Remediation
- type RemediationItem
- type RemediationMetadata
- type Resource
- type ResourceMetadata
- type ResourcePropertie
- type ResourceProperties
- type ResourcePropertyMetadata
- type ResourcePropertyMetadataItem
- type Resources
- type ResourcesSummary
- type Results
- type RunEvaluationRequest
- type RunEvaluationResponse
- type ScoreDiff
- type ScoreHistory
- type TotalScoreHistory
- type TotalScoreHistoryItem
- type UpdateAccountFactoryBaselineBaselineItems
- type UpdateAccountFactoryBaselineRequest
- type UpdateAccountFactoryBaselineResponse
Constants ¶
This section is empty.
Variables ¶
var EndpointMap map[string]string
EndpointMap Endpoint Data
var EndpointType = "regional"
EndpointType regional or central
Functions ¶
func SetClientProperty ¶
SetClientProperty Set Property by Reflect
func SetEndpointDataToClient ¶
func SetEndpointDataToClient(client *Client)
SetEndpointDataToClient Set EndpointMap and ENdpointType
Types ¶
type Action ¶
type Action struct { Classification string `json:"Classification" xml:"Classification"` CostDescription string `json:"CostDescription" xml:"CostDescription"` Description string `json:"Description" xml:"Description"` Notice string `json:"Notice" xml:"Notice"` Suggestion string `json:"Suggestion" xml:"Suggestion"` Guidance []GuidanceItem `json:"Guidance" xml:"Guidance"` }
Action is a nested struct in governance response
type Actions ¶
type Actions struct {
Action []Action `json:"Action" xml:"Action"`
}
Actions is a nested struct in governance response
type Baseline ¶
type Baseline struct { BaselineId string `json:"BaselineId" xml:"BaselineId"` BaselineName string `json:"BaselineName" xml:"BaselineName"` CreateTime string `json:"CreateTime" xml:"CreateTime"` Description string `json:"Description" xml:"Description"` Type string `json:"Type" xml:"Type"` UpdateTime string `json:"UpdateTime" xml:"UpdateTime"` }
Baseline is a nested struct in governance response
type BaselineItem ¶
type BaselineItem struct { Name string `json:"Name" xml:"Name"` Version string `json:"Version" xml:"Version"` Skip bool `json:"Skip" xml:"Skip"` Config string `json:"Config" xml:"Config"` Description string `json:"Description" xml:"Description"` Type string `json:"Type" xml:"Type"` DependsOn []DependsOnItem `json:"DependsOn" xml:"DependsOn"` }
BaselineItem is a nested struct in governance response
type BaselineItemsInGetAccountFactoryBaseline ¶
type BaselineItemsInGetAccountFactoryBaseline struct {
BaselineItem []BaselineItem `json:"BaselineItem" xml:"BaselineItem"`
}
BaselineItemsInGetAccountFactoryBaseline is a nested struct in governance response
type BaselineItemsInGetEnrolledAccount ¶
type BaselineItemsInGetEnrolledAccount struct {
BaselineItem []BaselineItem `json:"BaselineItem" xml:"BaselineItem"`
}
BaselineItemsInGetEnrolledAccount is a nested struct in governance response
type BaselineItemsInListAccountFactoryBaselineItems ¶
type BaselineItemsInListAccountFactoryBaselineItems struct {
BaselineItem []BaselineItem `json:"BaselineItem" xml:"BaselineItem"`
}
BaselineItemsInListAccountFactoryBaselineItems is a nested struct in governance response
type Baselines ¶
type Baselines struct {
Baseline []Baseline `json:"Baseline" xml:"Baseline"`
}
Baselines is a nested struct in governance response
type BatchEnrollAccountsAccounts ¶
type BatchEnrollAccountsAccounts struct {
AccountUid string `name:"AccountUid"`
}
BatchEnrollAccountsAccounts is a repeated param struct in BatchEnrollAccountsRequest
type BatchEnrollAccountsBaselineItems ¶
type BatchEnrollAccountsBaselineItems struct { Name string `name:"Name"` Skip string `name:"Skip"` Config string `name:"Config"` Version string `name:"Version"` }
BatchEnrollAccountsBaselineItems is a repeated param struct in BatchEnrollAccountsRequest
type BatchEnrollAccountsRequest ¶
type BatchEnrollAccountsRequest struct { *requests.RpcRequest BaselineId string `position:"Query" name:"BaselineId"` BaselineItems *[]BatchEnrollAccountsBaselineItems `position:"Query" name:"BaselineItems" type:"Repeated"` Accounts *[]BatchEnrollAccountsAccounts `position:"Query" name:"Accounts" type:"Repeated"` }
BatchEnrollAccountsRequest is the request struct for api BatchEnrollAccounts
func CreateBatchEnrollAccountsRequest ¶
func CreateBatchEnrollAccountsRequest() (request *BatchEnrollAccountsRequest)
CreateBatchEnrollAccountsRequest creates a request to invoke BatchEnrollAccounts API
type BatchEnrollAccountsResponse ¶
type BatchEnrollAccountsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
BatchEnrollAccountsResponse is the response struct for api BatchEnrollAccounts
func CreateBatchEnrollAccountsResponse ¶
func CreateBatchEnrollAccountsResponse() (response *BatchEnrollAccountsResponse)
CreateBatchEnrollAccountsResponse creates a response to parse from BatchEnrollAccounts response
type CategoryResults ¶
type CategoryResults struct {
CategoryResultsItem []CategoryResultsItem `json:"CategoryResults" xml:"CategoryResults"`
}
CategoryResults is a nested struct in governance response
type CategoryResultsItem ¶
type CategoryResultsItem struct { Id string `json:"Id" xml:"Id"` Result string `json:"Result" xml:"Result"` }
CategoryResultsItem is a nested struct in governance response
type CategoryScoreDiff ¶
type CategoryScoreDiff struct { CurrentEvaluationTime string `json:"CurrentEvaluationTime" xml:"CurrentEvaluationTime"` Id string `json:"Id" xml:"Id"` PreviousEvaluationTime string `json:"PreviousEvaluationTime" xml:"PreviousEvaluationTime"` ScoreDiff string `json:"ScoreDiff" xml:"ScoreDiff"` }
CategoryScoreDiff is a nested struct in governance response
type CategoryScoreDiffs ¶
type CategoryScoreDiffs struct {
CategoryScoreDiff []CategoryScoreDiff `json:"CategoryScoreDiff" xml:"CategoryScoreDiff"`
}
CategoryScoreDiffs is a nested struct in governance response
type Client ¶
Client is the sdk client struct, each func corresponds to an OpenAPI
func NewClientWithAccessKey ¶
func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithEcsRamRole ¶
NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithOptions ¶
func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client
func NewClientWithProvider ¶
func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArn ¶
func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArnAndPolicy ¶
func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRsaKeyPair ¶
func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithStsToken ¶
func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func (*Client) BatchEnrollAccounts ¶
func (client *Client) BatchEnrollAccounts(request *BatchEnrollAccountsRequest) (response *BatchEnrollAccountsResponse, err error)
BatchEnrollAccounts invokes the governance.BatchEnrollAccounts API synchronously
func (*Client) BatchEnrollAccountsWithCallback ¶
func (client *Client) BatchEnrollAccountsWithCallback(request *BatchEnrollAccountsRequest, callback func(response *BatchEnrollAccountsResponse, err error)) <-chan int
BatchEnrollAccountsWithCallback invokes the governance.BatchEnrollAccounts API asynchronously
func (*Client) BatchEnrollAccountsWithChan ¶
func (client *Client) BatchEnrollAccountsWithChan(request *BatchEnrollAccountsRequest) (<-chan *BatchEnrollAccountsResponse, <-chan error)
BatchEnrollAccountsWithChan invokes the governance.BatchEnrollAccounts API asynchronously
func (*Client) CreateAccountFactoryBaseline ¶
func (client *Client) CreateAccountFactoryBaseline(request *CreateAccountFactoryBaselineRequest) (response *CreateAccountFactoryBaselineResponse, err error)
CreateAccountFactoryBaseline invokes the governance.CreateAccountFactoryBaseline API synchronously
func (*Client) CreateAccountFactoryBaselineWithCallback ¶
func (client *Client) CreateAccountFactoryBaselineWithCallback(request *CreateAccountFactoryBaselineRequest, callback func(response *CreateAccountFactoryBaselineResponse, err error)) <-chan int
CreateAccountFactoryBaselineWithCallback invokes the governance.CreateAccountFactoryBaseline API asynchronously
func (*Client) CreateAccountFactoryBaselineWithChan ¶
func (client *Client) CreateAccountFactoryBaselineWithChan(request *CreateAccountFactoryBaselineRequest) (<-chan *CreateAccountFactoryBaselineResponse, <-chan error)
CreateAccountFactoryBaselineWithChan invokes the governance.CreateAccountFactoryBaseline API asynchronously
func (*Client) DeleteAccountFactoryBaseline ¶
func (client *Client) DeleteAccountFactoryBaseline(request *DeleteAccountFactoryBaselineRequest) (response *DeleteAccountFactoryBaselineResponse, err error)
DeleteAccountFactoryBaseline invokes the governance.DeleteAccountFactoryBaseline API synchronously
func (*Client) DeleteAccountFactoryBaselineWithCallback ¶
func (client *Client) DeleteAccountFactoryBaselineWithCallback(request *DeleteAccountFactoryBaselineRequest, callback func(response *DeleteAccountFactoryBaselineResponse, err error)) <-chan int
DeleteAccountFactoryBaselineWithCallback invokes the governance.DeleteAccountFactoryBaseline API asynchronously
func (*Client) DeleteAccountFactoryBaselineWithChan ¶
func (client *Client) DeleteAccountFactoryBaselineWithChan(request *DeleteAccountFactoryBaselineRequest) (<-chan *DeleteAccountFactoryBaselineResponse, <-chan error)
DeleteAccountFactoryBaselineWithChan invokes the governance.DeleteAccountFactoryBaseline API asynchronously
func (*Client) EnrollAccount ¶
func (client *Client) EnrollAccount(request *EnrollAccountRequest) (response *EnrollAccountResponse, err error)
EnrollAccount invokes the governance.EnrollAccount API synchronously
func (*Client) EnrollAccountWithCallback ¶
func (client *Client) EnrollAccountWithCallback(request *EnrollAccountRequest, callback func(response *EnrollAccountResponse, err error)) <-chan int
EnrollAccountWithCallback invokes the governance.EnrollAccount API asynchronously
func (*Client) EnrollAccountWithChan ¶
func (client *Client) EnrollAccountWithChan(request *EnrollAccountRequest) (<-chan *EnrollAccountResponse, <-chan error)
EnrollAccountWithChan invokes the governance.EnrollAccount API asynchronously
func (*Client) GetAccountFactoryBaseline ¶
func (client *Client) GetAccountFactoryBaseline(request *GetAccountFactoryBaselineRequest) (response *GetAccountFactoryBaselineResponse, err error)
GetAccountFactoryBaseline invokes the governance.GetAccountFactoryBaseline API synchronously
func (*Client) GetAccountFactoryBaselineWithCallback ¶
func (client *Client) GetAccountFactoryBaselineWithCallback(request *GetAccountFactoryBaselineRequest, callback func(response *GetAccountFactoryBaselineResponse, err error)) <-chan int
GetAccountFactoryBaselineWithCallback invokes the governance.GetAccountFactoryBaseline API asynchronously
func (*Client) GetAccountFactoryBaselineWithChan ¶
func (client *Client) GetAccountFactoryBaselineWithChan(request *GetAccountFactoryBaselineRequest) (<-chan *GetAccountFactoryBaselineResponse, <-chan error)
GetAccountFactoryBaselineWithChan invokes the governance.GetAccountFactoryBaseline API asynchronously
func (*Client) GetEnrolledAccount ¶
func (client *Client) GetEnrolledAccount(request *GetEnrolledAccountRequest) (response *GetEnrolledAccountResponse, err error)
GetEnrolledAccount invokes the governance.GetEnrolledAccount API synchronously
func (*Client) GetEnrolledAccountWithCallback ¶
func (client *Client) GetEnrolledAccountWithCallback(request *GetEnrolledAccountRequest, callback func(response *GetEnrolledAccountResponse, err error)) <-chan int
GetEnrolledAccountWithCallback invokes the governance.GetEnrolledAccount API asynchronously
func (*Client) GetEnrolledAccountWithChan ¶
func (client *Client) GetEnrolledAccountWithChan(request *GetEnrolledAccountRequest) (<-chan *GetEnrolledAccountResponse, <-chan error)
GetEnrolledAccountWithChan invokes the governance.GetEnrolledAccount API asynchronously
func (*Client) ListAccountFactoryBaselineItems ¶
func (client *Client) ListAccountFactoryBaselineItems(request *ListAccountFactoryBaselineItemsRequest) (response *ListAccountFactoryBaselineItemsResponse, err error)
ListAccountFactoryBaselineItems invokes the governance.ListAccountFactoryBaselineItems API synchronously
func (*Client) ListAccountFactoryBaselineItemsWithCallback ¶
func (client *Client) ListAccountFactoryBaselineItemsWithCallback(request *ListAccountFactoryBaselineItemsRequest, callback func(response *ListAccountFactoryBaselineItemsResponse, err error)) <-chan int
ListAccountFactoryBaselineItemsWithCallback invokes the governance.ListAccountFactoryBaselineItems API asynchronously
func (*Client) ListAccountFactoryBaselineItemsWithChan ¶
func (client *Client) ListAccountFactoryBaselineItemsWithChan(request *ListAccountFactoryBaselineItemsRequest) (<-chan *ListAccountFactoryBaselineItemsResponse, <-chan error)
ListAccountFactoryBaselineItemsWithChan invokes the governance.ListAccountFactoryBaselineItems API asynchronously
func (*Client) ListAccountFactoryBaselines ¶
func (client *Client) ListAccountFactoryBaselines(request *ListAccountFactoryBaselinesRequest) (response *ListAccountFactoryBaselinesResponse, err error)
ListAccountFactoryBaselines invokes the governance.ListAccountFactoryBaselines API synchronously
func (*Client) ListAccountFactoryBaselinesWithCallback ¶
func (client *Client) ListAccountFactoryBaselinesWithCallback(request *ListAccountFactoryBaselinesRequest, callback func(response *ListAccountFactoryBaselinesResponse, err error)) <-chan int
ListAccountFactoryBaselinesWithCallback invokes the governance.ListAccountFactoryBaselines API asynchronously
func (*Client) ListAccountFactoryBaselinesWithChan ¶
func (client *Client) ListAccountFactoryBaselinesWithChan(request *ListAccountFactoryBaselinesRequest) (<-chan *ListAccountFactoryBaselinesResponse, <-chan error)
ListAccountFactoryBaselinesWithChan invokes the governance.ListAccountFactoryBaselines API asynchronously
func (*Client) ListEnrolledAccounts ¶
func (client *Client) ListEnrolledAccounts(request *ListEnrolledAccountsRequest) (response *ListEnrolledAccountsResponse, err error)
ListEnrolledAccounts invokes the governance.ListEnrolledAccounts API synchronously
func (*Client) ListEnrolledAccountsWithCallback ¶
func (client *Client) ListEnrolledAccountsWithCallback(request *ListEnrolledAccountsRequest, callback func(response *ListEnrolledAccountsResponse, err error)) <-chan int
ListEnrolledAccountsWithCallback invokes the governance.ListEnrolledAccounts API asynchronously
func (*Client) ListEnrolledAccountsWithChan ¶
func (client *Client) ListEnrolledAccountsWithChan(request *ListEnrolledAccountsRequest) (<-chan *ListEnrolledAccountsResponse, <-chan error)
ListEnrolledAccountsWithChan invokes the governance.ListEnrolledAccounts API asynchronously
func (*Client) ListEvaluationMetadata ¶
func (client *Client) ListEvaluationMetadata(request *ListEvaluationMetadataRequest) (response *ListEvaluationMetadataResponse, err error)
ListEvaluationMetadata invokes the governance.ListEvaluationMetadata API synchronously
func (*Client) ListEvaluationMetadataWithCallback ¶
func (client *Client) ListEvaluationMetadataWithCallback(request *ListEvaluationMetadataRequest, callback func(response *ListEvaluationMetadataResponse, err error)) <-chan int
ListEvaluationMetadataWithCallback invokes the governance.ListEvaluationMetadata API asynchronously
func (*Client) ListEvaluationMetadataWithChan ¶
func (client *Client) ListEvaluationMetadataWithChan(request *ListEvaluationMetadataRequest) (<-chan *ListEvaluationMetadataResponse, <-chan error)
ListEvaluationMetadataWithChan invokes the governance.ListEvaluationMetadata API asynchronously
func (*Client) ListEvaluationMetricDetails ¶
func (client *Client) ListEvaluationMetricDetails(request *ListEvaluationMetricDetailsRequest) (response *ListEvaluationMetricDetailsResponse, err error)
ListEvaluationMetricDetails invokes the governance.ListEvaluationMetricDetails API synchronously
func (*Client) ListEvaluationMetricDetailsWithCallback ¶
func (client *Client) ListEvaluationMetricDetailsWithCallback(request *ListEvaluationMetricDetailsRequest, callback func(response *ListEvaluationMetricDetailsResponse, err error)) <-chan int
ListEvaluationMetricDetailsWithCallback invokes the governance.ListEvaluationMetricDetails API asynchronously
func (*Client) ListEvaluationMetricDetailsWithChan ¶
func (client *Client) ListEvaluationMetricDetailsWithChan(request *ListEvaluationMetricDetailsRequest) (<-chan *ListEvaluationMetricDetailsResponse, <-chan error)
ListEvaluationMetricDetailsWithChan invokes the governance.ListEvaluationMetricDetails API asynchronously
func (*Client) ListEvaluationResults ¶
func (client *Client) ListEvaluationResults(request *ListEvaluationResultsRequest) (response *ListEvaluationResultsResponse, err error)
ListEvaluationResults invokes the governance.ListEvaluationResults API synchronously
func (*Client) ListEvaluationResultsWithCallback ¶
func (client *Client) ListEvaluationResultsWithCallback(request *ListEvaluationResultsRequest, callback func(response *ListEvaluationResultsResponse, err error)) <-chan int
ListEvaluationResultsWithCallback invokes the governance.ListEvaluationResults API asynchronously
func (*Client) ListEvaluationResultsWithChan ¶
func (client *Client) ListEvaluationResultsWithChan(request *ListEvaluationResultsRequest) (<-chan *ListEvaluationResultsResponse, <-chan error)
ListEvaluationResultsWithChan invokes the governance.ListEvaluationResults API asynchronously
func (*Client) ListEvaluationScoreHistory ¶
func (client *Client) ListEvaluationScoreHistory(request *ListEvaluationScoreHistoryRequest) (response *ListEvaluationScoreHistoryResponse, err error)
ListEvaluationScoreHistory invokes the governance.ListEvaluationScoreHistory API synchronously
func (*Client) ListEvaluationScoreHistoryWithCallback ¶
func (client *Client) ListEvaluationScoreHistoryWithCallback(request *ListEvaluationScoreHistoryRequest, callback func(response *ListEvaluationScoreHistoryResponse, err error)) <-chan int
ListEvaluationScoreHistoryWithCallback invokes the governance.ListEvaluationScoreHistory API asynchronously
func (*Client) ListEvaluationScoreHistoryWithChan ¶
func (client *Client) ListEvaluationScoreHistoryWithChan(request *ListEvaluationScoreHistoryRequest) (<-chan *ListEvaluationScoreHistoryResponse, <-chan error)
ListEvaluationScoreHistoryWithChan invokes the governance.ListEvaluationScoreHistory API asynchronously
func (*Client) RunEvaluation ¶
func (client *Client) RunEvaluation(request *RunEvaluationRequest) (response *RunEvaluationResponse, err error)
RunEvaluation invokes the governance.RunEvaluation API synchronously
func (*Client) RunEvaluationWithCallback ¶
func (client *Client) RunEvaluationWithCallback(request *RunEvaluationRequest, callback func(response *RunEvaluationResponse, err error)) <-chan int
RunEvaluationWithCallback invokes the governance.RunEvaluation API asynchronously
func (*Client) RunEvaluationWithChan ¶
func (client *Client) RunEvaluationWithChan(request *RunEvaluationRequest) (<-chan *RunEvaluationResponse, <-chan error)
RunEvaluationWithChan invokes the governance.RunEvaluation API asynchronously
func (*Client) UpdateAccountFactoryBaseline ¶
func (client *Client) UpdateAccountFactoryBaseline(request *UpdateAccountFactoryBaselineRequest) (response *UpdateAccountFactoryBaselineResponse, err error)
UpdateAccountFactoryBaseline invokes the governance.UpdateAccountFactoryBaseline API synchronously
func (*Client) UpdateAccountFactoryBaselineWithCallback ¶
func (client *Client) UpdateAccountFactoryBaselineWithCallback(request *UpdateAccountFactoryBaselineRequest, callback func(response *UpdateAccountFactoryBaselineResponse, err error)) <-chan int
UpdateAccountFactoryBaselineWithCallback invokes the governance.UpdateAccountFactoryBaseline API asynchronously
func (*Client) UpdateAccountFactoryBaselineWithChan ¶
func (client *Client) UpdateAccountFactoryBaselineWithChan(request *UpdateAccountFactoryBaselineRequest) (<-chan *UpdateAccountFactoryBaselineResponse, <-chan error)
UpdateAccountFactoryBaselineWithChan invokes the governance.UpdateAccountFactoryBaseline API asynchronously
type CreateAccountFactoryBaselineBaselineItems ¶
type CreateAccountFactoryBaselineBaselineItems struct { Name string `name:"Name"` Config string `name:"Config"` Version string `name:"Version"` }
CreateAccountFactoryBaselineBaselineItems is a repeated param struct in CreateAccountFactoryBaselineRequest
type CreateAccountFactoryBaselineRequest ¶
type CreateAccountFactoryBaselineRequest struct { *requests.RpcRequest Description string `position:"Query" name:"Description"` BaselineName string `position:"Query" name:"BaselineName"` BaselineItems *[]CreateAccountFactoryBaselineBaselineItems `position:"Query" name:"BaselineItems" type:"Repeated"` }
CreateAccountFactoryBaselineRequest is the request struct for api CreateAccountFactoryBaseline
func CreateCreateAccountFactoryBaselineRequest ¶
func CreateCreateAccountFactoryBaselineRequest() (request *CreateAccountFactoryBaselineRequest)
CreateCreateAccountFactoryBaselineRequest creates a request to invoke CreateAccountFactoryBaseline API
type CreateAccountFactoryBaselineResponse ¶
type CreateAccountFactoryBaselineResponse struct { *responses.BaseResponse BaselineId string `json:"BaselineId" xml:"BaselineId"` RequestId string `json:"RequestId" xml:"RequestId"` }
CreateAccountFactoryBaselineResponse is the response struct for api CreateAccountFactoryBaseline
func CreateCreateAccountFactoryBaselineResponse ¶
func CreateCreateAccountFactoryBaselineResponse() (response *CreateAccountFactoryBaselineResponse)
CreateCreateAccountFactoryBaselineResponse creates a response to parse from CreateAccountFactoryBaseline response
type DeleteAccountFactoryBaselineRequest ¶
type DeleteAccountFactoryBaselineRequest struct { *requests.RpcRequest BaselineId string `position:"Query" name:"BaselineId"` }
DeleteAccountFactoryBaselineRequest is the request struct for api DeleteAccountFactoryBaseline
func CreateDeleteAccountFactoryBaselineRequest ¶
func CreateDeleteAccountFactoryBaselineRequest() (request *DeleteAccountFactoryBaselineRequest)
CreateDeleteAccountFactoryBaselineRequest creates a request to invoke DeleteAccountFactoryBaseline API
type DeleteAccountFactoryBaselineResponse ¶
type DeleteAccountFactoryBaselineResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteAccountFactoryBaselineResponse is the response struct for api DeleteAccountFactoryBaseline
func CreateDeleteAccountFactoryBaselineResponse ¶
func CreateDeleteAccountFactoryBaselineResponse() (response *DeleteAccountFactoryBaselineResponse)
CreateDeleteAccountFactoryBaselineResponse creates a response to parse from DeleteAccountFactoryBaseline response
type DependsOn ¶
type DependsOn struct {
DependsOnItem []DependsOnItem `json:"DependsOn" xml:"DependsOn"`
}
DependsOn is a nested struct in governance response
type DependsOnItem ¶
type DependsOnItem struct { Name string `json:"Name" xml:"Name"` Type string `json:"Type" xml:"Type"` Version string `json:"Version" xml:"Version"` }
DependsOnItem is a nested struct in governance response
type EnrollAccountBaselineItems ¶
type EnrollAccountBaselineItems struct { Name string `name:"Name"` Skip string `name:"Skip"` Config string `name:"Config"` Version string `name:"Version"` }
EnrollAccountBaselineItems is a repeated param struct in EnrollAccountRequest
type EnrollAccountRequest ¶
type EnrollAccountRequest struct { *requests.RpcRequest FolderId string `position:"Query" name:"FolderId"` PayerAccountUid requests.Integer `position:"Query" name:"PayerAccountUid"` AccountUid requests.Integer `position:"Query" name:"AccountUid"` AccountNamePrefix string `position:"Query" name:"AccountNamePrefix"` ResellAccountType string `position:"Query" name:"ResellAccountType"` BaselineId string `position:"Query" name:"BaselineId"` BaselineItems *[]EnrollAccountBaselineItems `position:"Query" name:"BaselineItems" type:"Repeated"` DisplayName string `position:"Query" name:"DisplayName"` }
EnrollAccountRequest is the request struct for api EnrollAccount
func CreateEnrollAccountRequest ¶
func CreateEnrollAccountRequest() (request *EnrollAccountRequest)
CreateEnrollAccountRequest creates a request to invoke EnrollAccount API
type EnrollAccountResponse ¶
type EnrollAccountResponse struct { *responses.BaseResponse AccountUid int64 `json:"AccountUid" xml:"AccountUid"` RequestId string `json:"RequestId" xml:"RequestId"` }
EnrollAccountResponse is the response struct for api EnrollAccount
func CreateEnrollAccountResponse ¶
func CreateEnrollAccountResponse() (response *EnrollAccountResponse)
CreateEnrollAccountResponse creates a response to parse from EnrollAccount response
type EnrolledAccounts ¶
type EnrolledAccounts struct {
EnrolledAccountsItem []EnrolledAccountsItem `json:"EnrolledAccounts" xml:"EnrolledAccounts"`
}
EnrolledAccounts is a nested struct in governance response
type EnrolledAccountsItem ¶
type EnrolledAccountsItem struct { AccountUid int64 `json:"AccountUid" xml:"AccountUid"` BaselineId string `json:"BaselineId" xml:"BaselineId"` CreateTime string `json:"CreateTime" xml:"CreateTime"` DisplayName string `json:"DisplayName" xml:"DisplayName"` FolderId string `json:"FolderId" xml:"FolderId"` PayerAccountUid int64 `json:"PayerAccountUid" xml:"PayerAccountUid"` Status string `json:"Status" xml:"Status"` UpdateTime string `json:"UpdateTime" xml:"UpdateTime"` }
EnrolledAccountsItem is a nested struct in governance response
type ErrorInfo ¶
type ErrorInfo struct { Message string `json:"Message" xml:"Message"` Code string `json:"Code" xml:"Code"` RequestId string `json:"RequestId" xml:"RequestId"` Recommend string `json:"Recommend" xml:"Recommend"` }
ErrorInfo is a nested struct in governance response
type EvaluationMetadata ¶
type EvaluationMetadata struct {
EvaluationMetadataItem []EvaluationMetadataItem `json:"EvaluationMetadata" xml:"EvaluationMetadata"`
}
EvaluationMetadata is a nested struct in governance response
type EvaluationMetadataItem ¶
type EvaluationMetadataItem struct { Type string `json:"Type" xml:"Type"` Metadata []MetadataItem `json:"Metadata" xml:"Metadata"` }
EvaluationMetadataItem is a nested struct in governance response
type GetAccountFactoryBaselineRequest ¶
type GetAccountFactoryBaselineRequest struct { *requests.RpcRequest BaselineId string `position:"Query" name:"BaselineId"` }
GetAccountFactoryBaselineRequest is the request struct for api GetAccountFactoryBaseline
func CreateGetAccountFactoryBaselineRequest ¶
func CreateGetAccountFactoryBaselineRequest() (request *GetAccountFactoryBaselineRequest)
CreateGetAccountFactoryBaselineRequest creates a request to invoke GetAccountFactoryBaseline API
type GetAccountFactoryBaselineResponse ¶
type GetAccountFactoryBaselineResponse struct { *responses.BaseResponse BaselineId string `json:"BaselineId" xml:"BaselineId"` BaselineName string `json:"BaselineName" xml:"BaselineName"` CreateTime string `json:"CreateTime" xml:"CreateTime"` Description string `json:"Description" xml:"Description"` RequestId string `json:"RequestId" xml:"RequestId"` Type string `json:"Type" xml:"Type"` UpdateTime string `json:"UpdateTime" xml:"UpdateTime"` BaselineItems []BaselineItem `json:"BaselineItems" xml:"BaselineItems"` }
GetAccountFactoryBaselineResponse is the response struct for api GetAccountFactoryBaseline
func CreateGetAccountFactoryBaselineResponse ¶
func CreateGetAccountFactoryBaselineResponse() (response *GetAccountFactoryBaselineResponse)
CreateGetAccountFactoryBaselineResponse creates a response to parse from GetAccountFactoryBaseline response
type GetEnrolledAccountRequest ¶
type GetEnrolledAccountRequest struct { *requests.RpcRequest AccountUid requests.Integer `position:"Query" name:"AccountUid"` }
GetEnrolledAccountRequest is the request struct for api GetEnrolledAccount
func CreateGetEnrolledAccountRequest ¶
func CreateGetEnrolledAccountRequest() (request *GetEnrolledAccountRequest)
CreateGetEnrolledAccountRequest creates a request to invoke GetEnrolledAccount API
type GetEnrolledAccountResponse ¶
type GetEnrolledAccountResponse struct { *responses.BaseResponse AccountUid int64 `json:"AccountUid" xml:"AccountUid"` BaselineId string `json:"BaselineId" xml:"BaselineId"` CreateTime string `json:"CreateTime" xml:"CreateTime"` DisplayName string `json:"DisplayName" xml:"DisplayName"` FolderId string `json:"FolderId" xml:"FolderId"` Initialized bool `json:"Initialized" xml:"Initialized"` MasterAccountUid int64 `json:"MasterAccountUid" xml:"MasterAccountUid"` PayerAccountUid int64 `json:"PayerAccountUid" xml:"PayerAccountUid"` RequestId string `json:"RequestId" xml:"RequestId"` Status string `json:"Status" xml:"Status"` UpdateTime string `json:"UpdateTime" xml:"UpdateTime"` ErrorInfo ErrorInfo `json:"ErrorInfo" xml:"ErrorInfo"` Inputs Inputs `json:"Inputs" xml:"Inputs"` BaselineItems []BaselineItem `json:"BaselineItems" xml:"BaselineItems"` Progress []Progres `json:"Progress" xml:"Progress"` }
GetEnrolledAccountResponse is the response struct for api GetEnrolledAccount
func CreateGetEnrolledAccountResponse ¶
func CreateGetEnrolledAccountResponse() (response *GetEnrolledAccountResponse)
CreateGetEnrolledAccountResponse creates a response to parse from GetEnrolledAccount response
type GroupResults ¶
type GroupResults struct {
GroupResultsItem []GroupResultsItem `json:"GroupResults" xml:"GroupResults"`
}
GroupResults is a nested struct in governance response
type GroupResultsItem ¶
type GroupResultsItem struct { Id string `json:"Id" xml:"Id"` PotentialScoreIncrease string `json:"PotentialScoreIncrease" xml:"PotentialScoreIncrease"` }
GroupResultsItem is a nested struct in governance response
type Guidance ¶
type Guidance struct {
GuidanceItem []GuidanceItem `json:"Guidance" xml:"Guidance"`
}
Guidance is a nested struct in governance response
type GuidanceItem ¶
type GuidanceItem struct { ButtonName string `json:"ButtonName" xml:"ButtonName"` ButtonRef string `json:"ButtonRef" xml:"ButtonRef"` Content string `json:"Content" xml:"Content"` Title string `json:"Title" xml:"Title"` }
GuidanceItem is a nested struct in governance response
type Inputs ¶
type Inputs struct { AccountNamePrefix string `json:"AccountNamePrefix" xml:"AccountNamePrefix"` AccountUid int64 `json:"AccountUid" xml:"AccountUid"` DisplayName string `json:"DisplayName" xml:"DisplayName"` FolderId string `json:"FolderId" xml:"FolderId"` PayerAccountUid int64 `json:"PayerAccountUid" xml:"PayerAccountUid"` BaselineItems []BaselineItem `json:"BaselineItems" xml:"BaselineItems"` }
Inputs is a nested struct in governance response
type ListAccountFactoryBaselineItemsRequest ¶
type ListAccountFactoryBaselineItemsRequest struct { *requests.RpcRequest Type string `position:"Query" name:"Type"` NextToken string `position:"Query" name:"NextToken"` Names *[]string `position:"Query" name:"Names" type:"Repeated"` Versions *[]string `position:"Query" name:"Versions" type:"Repeated"` MaxResults requests.Integer `position:"Query" name:"MaxResults"` }
ListAccountFactoryBaselineItemsRequest is the request struct for api ListAccountFactoryBaselineItems
func CreateListAccountFactoryBaselineItemsRequest ¶
func CreateListAccountFactoryBaselineItemsRequest() (request *ListAccountFactoryBaselineItemsRequest)
CreateListAccountFactoryBaselineItemsRequest creates a request to invoke ListAccountFactoryBaselineItems API
type ListAccountFactoryBaselineItemsResponse ¶
type ListAccountFactoryBaselineItemsResponse struct { *responses.BaseResponse NextToken string `json:"NextToken" xml:"NextToken"` RequestId string `json:"RequestId" xml:"RequestId"` BaselineItems []BaselineItem `json:"BaselineItems" xml:"BaselineItems"` }
ListAccountFactoryBaselineItemsResponse is the response struct for api ListAccountFactoryBaselineItems
func CreateListAccountFactoryBaselineItemsResponse ¶
func CreateListAccountFactoryBaselineItemsResponse() (response *ListAccountFactoryBaselineItemsResponse)
CreateListAccountFactoryBaselineItemsResponse creates a response to parse from ListAccountFactoryBaselineItems response
type ListAccountFactoryBaselinesRequest ¶
type ListAccountFactoryBaselinesRequest struct { *requests.RpcRequest NextToken string `position:"Query" name:"NextToken"` MaxResults requests.Integer `position:"Query" name:"MaxResults"` }
ListAccountFactoryBaselinesRequest is the request struct for api ListAccountFactoryBaselines
func CreateListAccountFactoryBaselinesRequest ¶
func CreateListAccountFactoryBaselinesRequest() (request *ListAccountFactoryBaselinesRequest)
CreateListAccountFactoryBaselinesRequest creates a request to invoke ListAccountFactoryBaselines API
type ListAccountFactoryBaselinesResponse ¶
type ListAccountFactoryBaselinesResponse struct { *responses.BaseResponse NextToken string `json:"NextToken" xml:"NextToken"` RequestId string `json:"RequestId" xml:"RequestId"` Baselines []Baseline `json:"Baselines" xml:"Baselines"` }
ListAccountFactoryBaselinesResponse is the response struct for api ListAccountFactoryBaselines
func CreateListAccountFactoryBaselinesResponse ¶
func CreateListAccountFactoryBaselinesResponse() (response *ListAccountFactoryBaselinesResponse)
CreateListAccountFactoryBaselinesResponse creates a response to parse from ListAccountFactoryBaselines response
type ListEnrolledAccountsRequest ¶
type ListEnrolledAccountsRequest struct { *requests.RpcRequest NextToken string `position:"Query" name:"NextToken"` MaxResults requests.Integer `position:"Query" name:"MaxResults"` }
ListEnrolledAccountsRequest is the request struct for api ListEnrolledAccounts
func CreateListEnrolledAccountsRequest ¶
func CreateListEnrolledAccountsRequest() (request *ListEnrolledAccountsRequest)
CreateListEnrolledAccountsRequest creates a request to invoke ListEnrolledAccounts API
type ListEnrolledAccountsResponse ¶
type ListEnrolledAccountsResponse struct { *responses.BaseResponse NextToken string `json:"NextToken" xml:"NextToken"` RequestId string `json:"RequestId" xml:"RequestId"` EnrolledAccounts []EnrolledAccountsItem `json:"EnrolledAccounts" xml:"EnrolledAccounts"` }
ListEnrolledAccountsResponse is the response struct for api ListEnrolledAccounts
func CreateListEnrolledAccountsResponse ¶
func CreateListEnrolledAccountsResponse() (response *ListEnrolledAccountsResponse)
CreateListEnrolledAccountsResponse creates a response to parse from ListEnrolledAccounts response
type ListEvaluationMetadataRequest ¶
type ListEvaluationMetadataRequest struct { *requests.RpcRequest Language string `position:"Query" name:"Language"` PartnerCode string `position:"Query" name:"PartnerCode"` }
ListEvaluationMetadataRequest is the request struct for api ListEvaluationMetadata
func CreateListEvaluationMetadataRequest ¶
func CreateListEvaluationMetadataRequest() (request *ListEvaluationMetadataRequest)
CreateListEvaluationMetadataRequest creates a request to invoke ListEvaluationMetadata API
type ListEvaluationMetadataResponse ¶
type ListEvaluationMetadataResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` EvaluationMetadata []EvaluationMetadataItem `json:"EvaluationMetadata" xml:"EvaluationMetadata"` }
ListEvaluationMetadataResponse is the response struct for api ListEvaluationMetadata
func CreateListEvaluationMetadataResponse ¶
func CreateListEvaluationMetadataResponse() (response *ListEvaluationMetadataResponse)
CreateListEvaluationMetadataResponse creates a response to parse from ListEvaluationMetadata response
type ListEvaluationMetricDetailsRequest ¶
type ListEvaluationMetricDetailsRequest struct { *requests.RpcRequest AccountId requests.Integer `position:"Query" name:"AccountId"` NextToken string `position:"Query" name:"NextToken"` Id string `position:"Query" name:"Id"` PartnerCode string `position:"Query" name:"PartnerCode"` MaxResults requests.Integer `position:"Query" name:"MaxResults"` }
ListEvaluationMetricDetailsRequest is the request struct for api ListEvaluationMetricDetails
func CreateListEvaluationMetricDetailsRequest ¶
func CreateListEvaluationMetricDetailsRequest() (request *ListEvaluationMetricDetailsRequest)
CreateListEvaluationMetricDetailsRequest creates a request to invoke ListEvaluationMetricDetails API
type ListEvaluationMetricDetailsResponse ¶
type ListEvaluationMetricDetailsResponse struct { *responses.BaseResponse NextToken string `json:"NextToken" xml:"NextToken"` RequestId string `json:"RequestId" xml:"RequestId"` Resources []Resource `json:"Resources" xml:"Resources"` }
ListEvaluationMetricDetailsResponse is the response struct for api ListEvaluationMetricDetails
func CreateListEvaluationMetricDetailsResponse ¶
func CreateListEvaluationMetricDetailsResponse() (response *ListEvaluationMetricDetailsResponse)
CreateListEvaluationMetricDetailsResponse creates a response to parse from ListEvaluationMetricDetails response
type ListEvaluationResultsRequest ¶
type ListEvaluationResultsRequest struct { *requests.RpcRequest AccountId requests.Integer `position:"Query" name:"AccountId"` PartnerCode string `position:"Query" name:"PartnerCode"` }
ListEvaluationResultsRequest is the request struct for api ListEvaluationResults
func CreateListEvaluationResultsRequest ¶
func CreateListEvaluationResultsRequest() (request *ListEvaluationResultsRequest)
CreateListEvaluationResultsRequest creates a request to invoke ListEvaluationResults API
type ListEvaluationResultsResponse ¶
type ListEvaluationResultsResponse struct { *responses.BaseResponse AccountId int64 `json:"AccountId" xml:"AccountId"` RequestId string `json:"RequestId" xml:"RequestId"` Results Results `json:"Results" xml:"Results"` }
ListEvaluationResultsResponse is the response struct for api ListEvaluationResults
func CreateListEvaluationResultsResponse ¶
func CreateListEvaluationResultsResponse() (response *ListEvaluationResultsResponse)
CreateListEvaluationResultsResponse creates a response to parse from ListEvaluationResults response
type ListEvaluationScoreHistoryRequest ¶
type ListEvaluationScoreHistoryRequest struct { *requests.RpcRequest StartDate string `position:"Query" name:"StartDate"` PartnerCode string `position:"Query" name:"PartnerCode"` EndDate string `position:"Query" name:"EndDate"` ShowScoreDiff requests.Boolean `position:"Query" name:"ShowScoreDiff"` }
ListEvaluationScoreHistoryRequest is the request struct for api ListEvaluationScoreHistory
func CreateListEvaluationScoreHistoryRequest ¶
func CreateListEvaluationScoreHistoryRequest() (request *ListEvaluationScoreHistoryRequest)
CreateListEvaluationScoreHistoryRequest creates a request to invoke ListEvaluationScoreHistory API
type ListEvaluationScoreHistoryResponse ¶
type ListEvaluationScoreHistoryResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` ScoreDiff ScoreDiff `json:"ScoreDiff" xml:"ScoreDiff"` ScoreHistory ScoreHistory `json:"ScoreHistory" xml:"ScoreHistory"` }
ListEvaluationScoreHistoryResponse is the response struct for api ListEvaluationScoreHistory
func CreateListEvaluationScoreHistoryResponse ¶
func CreateListEvaluationScoreHistoryResponse() (response *ListEvaluationScoreHistoryResponse)
CreateListEvaluationScoreHistoryResponse creates a response to parse from ListEvaluationScoreHistory response
type Metadata ¶
type Metadata struct {
MetadataItem []MetadataItem `json:"Metadata" xml:"Metadata"`
}
Metadata is a nested struct in governance response
type MetadataItem ¶
type MetadataItem struct { Category string `json:"Category" xml:"Category"` Description string `json:"Description" xml:"Description"` DisplayName string `json:"DisplayName" xml:"DisplayName"` Id string `json:"Id" xml:"Id"` NoRiskDisplayName string `json:"NoRiskDisplayName" xml:"NoRiskDisplayName"` ParentId string `json:"ParentId" xml:"ParentId"` RecommendationLevel string `json:"RecommendationLevel" xml:"RecommendationLevel"` Scope string `json:"Scope" xml:"Scope"` Stage string `json:"Stage" xml:"Stage"` RemediationMetadata RemediationMetadata `json:"RemediationMetadata" xml:"RemediationMetadata"` ResourceMetadata ResourceMetadata `json:"ResourceMetadata" xml:"ResourceMetadata"` }
MetadataItem is a nested struct in governance response
type MetricResult ¶
type MetricResult struct { EvaluationTime string `json:"EvaluationTime" xml:"EvaluationTime"` Id string `json:"Id" xml:"Id"` Result string `json:"Result" xml:"Result"` Risk string `json:"Risk" xml:"Risk"` Status string `json:"Status" xml:"Status"` ErrorInfo ErrorInfo `json:"ErrorInfo" xml:"ErrorInfo"` ResourcesSummary ResourcesSummary `json:"ResourcesSummary" xml:"ResourcesSummary"` }
MetricResult is a nested struct in governance response
type MetricResults ¶
type MetricResults struct {
MetricResult []MetricResult `json:"MetricResult" xml:"MetricResult"`
}
MetricResults is a nested struct in governance response
type MetricScoreDiff ¶
type MetricScoreDiff struct { Category string `json:"Category" xml:"Category"` CurrentEvaluationTime string `json:"CurrentEvaluationTime" xml:"CurrentEvaluationTime"` Id string `json:"Id" xml:"Id"` PreviousEvaluationTime string `json:"PreviousEvaluationTime" xml:"PreviousEvaluationTime"` ScoreDiff string `json:"ScoreDiff" xml:"ScoreDiff"` }
MetricScoreDiff is a nested struct in governance response
type MetricScoreDiffs ¶
type MetricScoreDiffs struct {
MetricScoreDiff []MetricScoreDiff `json:"MetricScoreDiff" xml:"MetricScoreDiff"`
}
MetricScoreDiffs is a nested struct in governance response
type Progres ¶
type Progres struct { Name string `json:"Name" xml:"Name"` Status string `json:"Status" xml:"Status"` }
Progres is a nested struct in governance response
type Progress ¶
type Progress struct {
Progres []Progres `json:"Progres" xml:"Progres"`
}
Progress is a nested struct in governance response
type Remediation ¶
type Remediation struct {
RemediationItem []RemediationItem `json:"Remediation" xml:"Remediation"`
}
Remediation is a nested struct in governance response
type RemediationItem ¶
type RemediationItem struct { AnalysisDefinition string `json:"AnalysisDefinition" xml:"AnalysisDefinition"` RemediationParameters string `json:"RemediationParameters" xml:"RemediationParameters"` RemediationTarget string `json:"RemediationTarget" xml:"RemediationTarget"` RemediationType string `json:"RemediationType" xml:"RemediationType"` Actions []Action `json:"Actions" xml:"Actions"` }
RemediationItem is a nested struct in governance response
type RemediationMetadata ¶
type RemediationMetadata struct {
Remediation []RemediationItem `json:"Remediation" xml:"Remediation"`
}
RemediationMetadata is a nested struct in governance response
type Resource ¶
type Resource struct { RegionId string `json:"RegionId" xml:"RegionId"` ResourceClassification string `json:"ResourceClassification" xml:"ResourceClassification"` ResourceId string `json:"ResourceId" xml:"ResourceId"` ResourceName string `json:"ResourceName" xml:"ResourceName"` ResourceOwnerDisplayName string `json:"ResourceOwnerDisplayName" xml:"ResourceOwnerDisplayName"` ResourceOwnerId int64 `json:"ResourceOwnerId" xml:"ResourceOwnerId"` ResourceType string `json:"ResourceType" xml:"ResourceType"` ResourceProperties []ResourcePropertie `json:"ResourceProperties" xml:"ResourceProperties"` }
Resource is a nested struct in governance response
type ResourceMetadata ¶
type ResourceMetadata struct {
ResourcePropertyMetadata []ResourcePropertyMetadataItem `json:"ResourcePropertyMetadata" xml:"ResourcePropertyMetadata"`
}
ResourceMetadata is a nested struct in governance response
type ResourcePropertie ¶
type ResourcePropertie struct { PropertyName string `json:"PropertyName" xml:"PropertyName"` PropertyValue string `json:"PropertyValue" xml:"PropertyValue"` }
ResourcePropertie is a nested struct in governance response
type ResourceProperties ¶
type ResourceProperties struct {
ResourcePropertie []ResourcePropertie `json:"ResourcePropertie" xml:"ResourcePropertie"`
}
ResourceProperties is a nested struct in governance response
type ResourcePropertyMetadata ¶
type ResourcePropertyMetadata struct {
ResourcePropertyMetadataItem []ResourcePropertyMetadataItem `json:"ResourcePropertyMetadata" xml:"ResourcePropertyMetadata"`
}
ResourcePropertyMetadata is a nested struct in governance response
type ResourcePropertyMetadataItem ¶
type ResourcePropertyMetadataItem struct { DisplayName string `json:"DisplayName" xml:"DisplayName"` PropertyName string `json:"PropertyName" xml:"PropertyName"` PropertyReference string `json:"PropertyReference" xml:"PropertyReference"` PropertyType string `json:"PropertyType" xml:"PropertyType"` }
ResourcePropertyMetadataItem is a nested struct in governance response
type Resources ¶
type Resources struct {
Resource []Resource `json:"Resource" xml:"Resource"`
}
Resources is a nested struct in governance response
type ResourcesSummary ¶
type ResourcesSummary struct {
NonCompliant int `json:"NonCompliant" xml:"NonCompliant"`
}
ResourcesSummary is a nested struct in governance response
type Results ¶
type Results struct { EvaluationTime string `json:"EvaluationTime" xml:"EvaluationTime"` Status string `json:"Status" xml:"Status"` TotalScore string `json:"TotalScore" xml:"TotalScore"` CategoryResults []CategoryResultsItem `json:"CategoryResults" xml:"CategoryResults"` GroupResults []GroupResultsItem `json:"GroupResults" xml:"GroupResults"` MetricResults []MetricResult `json:"MetricResults" xml:"MetricResults"` }
Results is a nested struct in governance response
type RunEvaluationRequest ¶
type RunEvaluationRequest struct { *requests.RpcRequest AccountId requests.Integer `position:"Query" name:"AccountId"` Scope string `position:"Query" name:"Scope"` PartnerCode string `position:"Query" name:"PartnerCode"` }
RunEvaluationRequest is the request struct for api RunEvaluation
func CreateRunEvaluationRequest ¶
func CreateRunEvaluationRequest() (request *RunEvaluationRequest)
CreateRunEvaluationRequest creates a request to invoke RunEvaluation API
type RunEvaluationResponse ¶
type RunEvaluationResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
RunEvaluationResponse is the response struct for api RunEvaluation
func CreateRunEvaluationResponse ¶
func CreateRunEvaluationResponse() (response *RunEvaluationResponse)
CreateRunEvaluationResponse creates a response to parse from RunEvaluation response
type ScoreDiff ¶
type ScoreDiff struct { CategoryScoreDiffs []CategoryScoreDiff `json:"CategoryScoreDiffs" xml:"CategoryScoreDiffs"` MetricScoreDiffs []MetricScoreDiff `json:"MetricScoreDiffs" xml:"MetricScoreDiffs"` }
ScoreDiff is a nested struct in governance response
type ScoreHistory ¶
type ScoreHistory struct {
TotalScoreHistory []TotalScoreHistoryItem `json:"TotalScoreHistory" xml:"TotalScoreHistory"`
}
ScoreHistory is a nested struct in governance response
type TotalScoreHistory ¶
type TotalScoreHistory struct {
TotalScoreHistoryItem []TotalScoreHistoryItem `json:"TotalScoreHistory" xml:"TotalScoreHistory"`
}
TotalScoreHistory is a nested struct in governance response
type TotalScoreHistoryItem ¶
type TotalScoreHistoryItem struct { EvaluationTime string `json:"EvaluationTime" xml:"EvaluationTime"` Score string `json:"Score" xml:"Score"` }
TotalScoreHistoryItem is a nested struct in governance response
type UpdateAccountFactoryBaselineBaselineItems ¶
type UpdateAccountFactoryBaselineBaselineItems struct { Name string `name:"Name"` Config string `name:"Config"` Version string `name:"Version"` }
UpdateAccountFactoryBaselineBaselineItems is a repeated param struct in UpdateAccountFactoryBaselineRequest
type UpdateAccountFactoryBaselineRequest ¶
type UpdateAccountFactoryBaselineRequest struct { *requests.RpcRequest Description string `position:"Query" name:"Description"` BaselineName string `position:"Query" name:"BaselineName"` BaselineId string `position:"Query" name:"BaselineId"` BaselineItems *[]UpdateAccountFactoryBaselineBaselineItems `position:"Query" name:"BaselineItems" type:"Repeated"` }
UpdateAccountFactoryBaselineRequest is the request struct for api UpdateAccountFactoryBaseline
func CreateUpdateAccountFactoryBaselineRequest ¶
func CreateUpdateAccountFactoryBaselineRequest() (request *UpdateAccountFactoryBaselineRequest)
CreateUpdateAccountFactoryBaselineRequest creates a request to invoke UpdateAccountFactoryBaseline API
type UpdateAccountFactoryBaselineResponse ¶
type UpdateAccountFactoryBaselineResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
UpdateAccountFactoryBaselineResponse is the response struct for api UpdateAccountFactoryBaseline
func CreateUpdateAccountFactoryBaselineResponse ¶
func CreateUpdateAccountFactoryBaselineResponse() (response *UpdateAccountFactoryBaselineResponse)
CreateUpdateAccountFactoryBaselineResponse creates a response to parse from UpdateAccountFactoryBaseline response
Source Files ¶
- batch_enroll_accounts.go
- client.go
- create_account_factory_baseline.go
- delete_account_factory_baseline.go
- endpoint.go
- enroll_account.go
- get_account_factory_baseline.go
- get_enrolled_account.go
- list_account_factory_baseline_items.go
- list_account_factory_baselines.go
- list_enrolled_accounts.go
- list_evaluation_metadata.go
- list_evaluation_metric_details.go
- list_evaluation_results.go
- list_evaluation_score_history.go
- run_evaluation.go
- struct_action.go
- struct_actions.go
- struct_baseline.go
- struct_baseline_item.go
- struct_baseline_items_in_get_account_factory_baseline.go
- struct_baseline_items_in_get_enrolled_account.go
- struct_baseline_items_in_list_account_factory_baseline_items.go
- struct_baselines.go
- struct_category_results.go
- struct_category_results_item.go
- struct_category_score_diff.go
- struct_category_score_diffs.go
- struct_depends_on.go
- struct_depends_on_item.go
- struct_enrolled_accounts.go
- struct_enrolled_accounts_item.go
- struct_error_info.go
- struct_evaluation_metadata.go
- struct_evaluation_metadata_item.go
- struct_group_results.go
- struct_group_results_item.go
- struct_guidance.go
- struct_guidance_item.go
- struct_inputs.go
- struct_metadata.go
- struct_metadata_item.go
- struct_metric_result.go
- struct_metric_results.go
- struct_metric_score_diff.go
- struct_metric_score_diffs.go
- struct_progres.go
- struct_progress.go
- struct_remediation.go
- struct_remediation_item.go
- struct_remediation_metadata.go
- struct_resource.go
- struct_resource_metadata.go
- struct_resource_propertie.go
- struct_resource_properties.go
- struct_resource_property_metadata.go
- struct_resource_property_metadata_item.go
- struct_resources.go
- struct_resources_summary.go
- struct_results.go
- struct_score_diff.go
- struct_score_history.go
- struct_total_score_history.go
- struct_total_score_history_item.go
- update_account_factory_baseline.go