config

package
v1.62.495 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EndpointMap map[string]string

EndpointMap Endpoint Data

View Source
var EndpointType = "central"

EndpointType regional or central

Functions

func GetEndpointMap added in v1.61.457

func GetEndpointMap() map[string]string

GetEndpointMap Get Endpoint Data Map

func GetEndpointType added in v1.61.457

func GetEndpointType() string

GetEndpointType Get Endpoint Type Value

func SetClientProperty added in v1.61.457

func SetClientProperty(client *Client, propertyName string, propertyValue interface{})

SetClientProperty Set Property by Reflect

func SetEndpointDataToClient added in v1.61.457

func SetEndpointDataToClient(client *Client)

SetEndpointDataToClient Set EndpointMap and ENdpointType

Types

type ActiveConfigRulesRequest

type ActiveConfigRulesRequest struct {
	*requests.RpcRequest
	ConfigRuleIds string `position:"Query" name:"ConfigRuleIds"`
}

ActiveConfigRulesRequest is the request struct for api ActiveConfigRules

func CreateActiveConfigRulesRequest

func CreateActiveConfigRulesRequest() (request *ActiveConfigRulesRequest)

CreateActiveConfigRulesRequest creates a request to invoke ActiveConfigRules API

type ActiveConfigRulesResponse

type ActiveConfigRulesResponse struct {
	*responses.BaseResponse
	RequestId         string            `json:"RequestId" xml:"RequestId"`
	OperateRuleResult OperateRuleResult `json:"OperateRuleResult" xml:"OperateRuleResult"`
}

ActiveConfigRulesResponse is the response struct for api ActiveConfigRules

func CreateActiveConfigRulesResponse

func CreateActiveConfigRulesResponse() (response *ActiveConfigRulesResponse)

CreateActiveConfigRulesResponse creates a response to parse from ActiveConfigRules response

type Client

type Client struct {
	sdk.Client
}

Client is the sdk client struct, each func corresponds to an OpenAPI

func NewClient

func NewClient() (client *Client, err error)

NewClient creates a sdk client with environment variables

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

func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)

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) ActiveConfigRules

func (client *Client) ActiveConfigRules(request *ActiveConfigRulesRequest) (response *ActiveConfigRulesResponse, err error)

ActiveConfigRules invokes the config.ActiveConfigRules API synchronously

func (*Client) ActiveConfigRulesWithCallback

func (client *Client) ActiveConfigRulesWithCallback(request *ActiveConfigRulesRequest, callback func(response *ActiveConfigRulesResponse, err error)) <-chan int

ActiveConfigRulesWithCallback invokes the config.ActiveConfigRules API asynchronously

func (*Client) ActiveConfigRulesWithChan

func (client *Client) ActiveConfigRulesWithChan(request *ActiveConfigRulesRequest) (<-chan *ActiveConfigRulesResponse, <-chan error)

ActiveConfigRulesWithChan invokes the config.ActiveConfigRules API asynchronously

func (*Client) DeleteConfigRules

func (client *Client) DeleteConfigRules(request *DeleteConfigRulesRequest) (response *DeleteConfigRulesResponse, err error)

DeleteConfigRules invokes the config.DeleteConfigRules API synchronously

func (*Client) DeleteConfigRulesWithCallback

func (client *Client) DeleteConfigRulesWithCallback(request *DeleteConfigRulesRequest, callback func(response *DeleteConfigRulesResponse, err error)) <-chan int

DeleteConfigRulesWithCallback invokes the config.DeleteConfigRules API asynchronously

func (*Client) DeleteConfigRulesWithChan

func (client *Client) DeleteConfigRulesWithChan(request *DeleteConfigRulesRequest) (<-chan *DeleteConfigRulesResponse, <-chan error)

DeleteConfigRulesWithChan invokes the config.DeleteConfigRules API asynchronously

func (*Client) DescribeCompliance

func (client *Client) DescribeCompliance(request *DescribeComplianceRequest) (response *DescribeComplianceResponse, err error)

DescribeCompliance invokes the config.DescribeCompliance API synchronously

func (*Client) DescribeComplianceSummary

func (client *Client) DescribeComplianceSummary(request *DescribeComplianceSummaryRequest) (response *DescribeComplianceSummaryResponse, err error)

DescribeComplianceSummary invokes the config.DescribeComplianceSummary API synchronously

func (*Client) DescribeComplianceSummaryWithCallback

func (client *Client) DescribeComplianceSummaryWithCallback(request *DescribeComplianceSummaryRequest, callback func(response *DescribeComplianceSummaryResponse, err error)) <-chan int

DescribeComplianceSummaryWithCallback invokes the config.DescribeComplianceSummary API asynchronously

func (*Client) DescribeComplianceSummaryWithChan

func (client *Client) DescribeComplianceSummaryWithChan(request *DescribeComplianceSummaryRequest) (<-chan *DescribeComplianceSummaryResponse, <-chan error)

DescribeComplianceSummaryWithChan invokes the config.DescribeComplianceSummary API asynchronously

func (*Client) DescribeComplianceWithCallback

func (client *Client) DescribeComplianceWithCallback(request *DescribeComplianceRequest, callback func(response *DescribeComplianceResponse, err error)) <-chan int

DescribeComplianceWithCallback invokes the config.DescribeCompliance API asynchronously

func (*Client) DescribeComplianceWithChan

func (client *Client) DescribeComplianceWithChan(request *DescribeComplianceRequest) (<-chan *DescribeComplianceResponse, <-chan error)

DescribeComplianceWithChan invokes the config.DescribeCompliance API asynchronously

func (*Client) DescribeConfigRule

func (client *Client) DescribeConfigRule(request *DescribeConfigRuleRequest) (response *DescribeConfigRuleResponse, err error)

DescribeConfigRule invokes the config.DescribeConfigRule API synchronously

func (*Client) DescribeConfigRuleWithCallback

func (client *Client) DescribeConfigRuleWithCallback(request *DescribeConfigRuleRequest, callback func(response *DescribeConfigRuleResponse, err error)) <-chan int

DescribeConfigRuleWithCallback invokes the config.DescribeConfigRule API asynchronously

func (*Client) DescribeConfigRuleWithChan

func (client *Client) DescribeConfigRuleWithChan(request *DescribeConfigRuleRequest) (<-chan *DescribeConfigRuleResponse, <-chan error)

DescribeConfigRuleWithChan invokes the config.DescribeConfigRule API asynchronously

func (*Client) DescribeConfigurationRecorder

func (client *Client) DescribeConfigurationRecorder(request *DescribeConfigurationRecorderRequest) (response *DescribeConfigurationRecorderResponse, err error)

DescribeConfigurationRecorder invokes the config.DescribeConfigurationRecorder API synchronously

func (*Client) DescribeConfigurationRecorderWithCallback

func (client *Client) DescribeConfigurationRecorderWithCallback(request *DescribeConfigurationRecorderRequest, callback func(response *DescribeConfigurationRecorderResponse, err error)) <-chan int

DescribeConfigurationRecorderWithCallback invokes the config.DescribeConfigurationRecorder API asynchronously

func (*Client) DescribeConfigurationRecorderWithChan

func (client *Client) DescribeConfigurationRecorderWithChan(request *DescribeConfigurationRecorderRequest) (<-chan *DescribeConfigurationRecorderResponse, <-chan error)

DescribeConfigurationRecorderWithChan invokes the config.DescribeConfigurationRecorder API asynchronously

func (*Client) DescribeDeliveryChannels

func (client *Client) DescribeDeliveryChannels(request *DescribeDeliveryChannelsRequest) (response *DescribeDeliveryChannelsResponse, err error)

DescribeDeliveryChannels invokes the config.DescribeDeliveryChannels API synchronously

func (*Client) DescribeDeliveryChannelsWithCallback

func (client *Client) DescribeDeliveryChannelsWithCallback(request *DescribeDeliveryChannelsRequest, callback func(response *DescribeDeliveryChannelsResponse, err error)) <-chan int

DescribeDeliveryChannelsWithCallback invokes the config.DescribeDeliveryChannels API asynchronously

func (*Client) DescribeDeliveryChannelsWithChan

func (client *Client) DescribeDeliveryChannelsWithChan(request *DescribeDeliveryChannelsRequest) (<-chan *DescribeDeliveryChannelsResponse, <-chan error)

DescribeDeliveryChannelsWithChan invokes the config.DescribeDeliveryChannels API asynchronously

func (*Client) DescribeDiscoveredResource

func (client *Client) DescribeDiscoveredResource(request *DescribeDiscoveredResourceRequest) (response *DescribeDiscoveredResourceResponse, err error)

DescribeDiscoveredResource invokes the config.DescribeDiscoveredResource API synchronously

func (*Client) DescribeDiscoveredResourceWithCallback

func (client *Client) DescribeDiscoveredResourceWithCallback(request *DescribeDiscoveredResourceRequest, callback func(response *DescribeDiscoveredResourceResponse, err error)) <-chan int

DescribeDiscoveredResourceWithCallback invokes the config.DescribeDiscoveredResource API asynchronously

func (*Client) DescribeDiscoveredResourceWithChan

func (client *Client) DescribeDiscoveredResourceWithChan(request *DescribeDiscoveredResourceRequest) (<-chan *DescribeDiscoveredResourceResponse, <-chan error)

DescribeDiscoveredResourceWithChan invokes the config.DescribeDiscoveredResource API asynchronously

func (*Client) DescribeEvaluationResults

func (client *Client) DescribeEvaluationResults(request *DescribeEvaluationResultsRequest) (response *DescribeEvaluationResultsResponse, err error)

DescribeEvaluationResults invokes the config.DescribeEvaluationResults API synchronously

func (*Client) DescribeEvaluationResultsWithCallback

func (client *Client) DescribeEvaluationResultsWithCallback(request *DescribeEvaluationResultsRequest, callback func(response *DescribeEvaluationResultsResponse, err error)) <-chan int

DescribeEvaluationResultsWithCallback invokes the config.DescribeEvaluationResults API asynchronously

func (*Client) DescribeEvaluationResultsWithChan

func (client *Client) DescribeEvaluationResultsWithChan(request *DescribeEvaluationResultsRequest) (<-chan *DescribeEvaluationResultsResponse, <-chan error)

DescribeEvaluationResultsWithChan invokes the config.DescribeEvaluationResults API asynchronously

func (*Client) GetAggregateDiscoveredResource added in v1.61.1380

func (client *Client) GetAggregateDiscoveredResource(request *GetAggregateDiscoveredResourceRequest) (response *GetAggregateDiscoveredResourceResponse, err error)

GetAggregateDiscoveredResource invokes the config.GetAggregateDiscoveredResource API synchronously

func (*Client) GetAggregateDiscoveredResourceWithCallback added in v1.61.1380

func (client *Client) GetAggregateDiscoveredResourceWithCallback(request *GetAggregateDiscoveredResourceRequest, callback func(response *GetAggregateDiscoveredResourceResponse, err error)) <-chan int

GetAggregateDiscoveredResourceWithCallback invokes the config.GetAggregateDiscoveredResource API asynchronously

func (*Client) GetAggregateDiscoveredResourceWithChan added in v1.61.1380

func (client *Client) GetAggregateDiscoveredResourceWithChan(request *GetAggregateDiscoveredResourceRequest) (<-chan *GetAggregateDiscoveredResourceResponse, <-chan error)

GetAggregateDiscoveredResourceWithChan invokes the config.GetAggregateDiscoveredResource API asynchronously

func (*Client) GetDiscoveredResourceCounts

func (client *Client) GetDiscoveredResourceCounts(request *GetDiscoveredResourceCountsRequest) (response *GetDiscoveredResourceCountsResponse, err error)

GetDiscoveredResourceCounts invokes the config.GetDiscoveredResourceCounts API synchronously

func (*Client) GetDiscoveredResourceCountsWithCallback

func (client *Client) GetDiscoveredResourceCountsWithCallback(request *GetDiscoveredResourceCountsRequest, callback func(response *GetDiscoveredResourceCountsResponse, err error)) <-chan int

GetDiscoveredResourceCountsWithCallback invokes the config.GetDiscoveredResourceCounts API asynchronously

func (*Client) GetDiscoveredResourceCountsWithChan

func (client *Client) GetDiscoveredResourceCountsWithChan(request *GetDiscoveredResourceCountsRequest) (<-chan *GetDiscoveredResourceCountsResponse, <-chan error)

GetDiscoveredResourceCountsWithChan invokes the config.GetDiscoveredResourceCounts API asynchronously

func (*Client) GetDiscoveredResourceSummary

func (client *Client) GetDiscoveredResourceSummary(request *GetDiscoveredResourceSummaryRequest) (response *GetDiscoveredResourceSummaryResponse, err error)

GetDiscoveredResourceSummary invokes the config.GetDiscoveredResourceSummary API synchronously

func (*Client) GetDiscoveredResourceSummaryWithCallback

func (client *Client) GetDiscoveredResourceSummaryWithCallback(request *GetDiscoveredResourceSummaryRequest, callback func(response *GetDiscoveredResourceSummaryResponse, err error)) <-chan int

GetDiscoveredResourceSummaryWithCallback invokes the config.GetDiscoveredResourceSummary API asynchronously

func (*Client) GetDiscoveredResourceSummaryWithChan

func (client *Client) GetDiscoveredResourceSummaryWithChan(request *GetDiscoveredResourceSummaryRequest) (<-chan *GetDiscoveredResourceSummaryResponse, <-chan error)

GetDiscoveredResourceSummaryWithChan invokes the config.GetDiscoveredResourceSummary API asynchronously

func (*Client) GetResourceComplianceTimeline

func (client *Client) GetResourceComplianceTimeline(request *GetResourceComplianceTimelineRequest) (response *GetResourceComplianceTimelineResponse, err error)

GetResourceComplianceTimeline invokes the config.GetResourceComplianceTimeline API synchronously

func (*Client) GetResourceComplianceTimelineWithCallback

func (client *Client) GetResourceComplianceTimelineWithCallback(request *GetResourceComplianceTimelineRequest, callback func(response *GetResourceComplianceTimelineResponse, err error)) <-chan int

GetResourceComplianceTimelineWithCallback invokes the config.GetResourceComplianceTimeline API asynchronously

func (*Client) GetResourceComplianceTimelineWithChan

func (client *Client) GetResourceComplianceTimelineWithChan(request *GetResourceComplianceTimelineRequest) (<-chan *GetResourceComplianceTimelineResponse, <-chan error)

GetResourceComplianceTimelineWithChan invokes the config.GetResourceComplianceTimeline API asynchronously

func (*Client) GetResourceConfigurationTimeline

func (client *Client) GetResourceConfigurationTimeline(request *GetResourceConfigurationTimelineRequest) (response *GetResourceConfigurationTimelineResponse, err error)

GetResourceConfigurationTimeline invokes the config.GetResourceConfigurationTimeline API synchronously

func (*Client) GetResourceConfigurationTimelineWithCallback

func (client *Client) GetResourceConfigurationTimelineWithCallback(request *GetResourceConfigurationTimelineRequest, callback func(response *GetResourceConfigurationTimelineResponse, err error)) <-chan int

GetResourceConfigurationTimelineWithCallback invokes the config.GetResourceConfigurationTimeline API asynchronously

func (*Client) GetResourceConfigurationTimelineWithChan

func (client *Client) GetResourceConfigurationTimelineWithChan(request *GetResourceConfigurationTimelineRequest) (<-chan *GetResourceConfigurationTimelineResponse, <-chan error)

GetResourceConfigurationTimelineWithChan invokes the config.GetResourceConfigurationTimeline API asynchronously

func (*Client) GetSupportedResourceTypes

func (client *Client) GetSupportedResourceTypes(request *GetSupportedResourceTypesRequest) (response *GetSupportedResourceTypesResponse, err error)

GetSupportedResourceTypes invokes the config.GetSupportedResourceTypes API synchronously

func (*Client) GetSupportedResourceTypesWithCallback

func (client *Client) GetSupportedResourceTypesWithCallback(request *GetSupportedResourceTypesRequest, callback func(response *GetSupportedResourceTypesResponse, err error)) <-chan int

GetSupportedResourceTypesWithCallback invokes the config.GetSupportedResourceTypes API asynchronously

func (*Client) GetSupportedResourceTypesWithChan

func (client *Client) GetSupportedResourceTypesWithChan(request *GetSupportedResourceTypesRequest) (<-chan *GetSupportedResourceTypesResponse, <-chan error)

GetSupportedResourceTypesWithChan invokes the config.GetSupportedResourceTypes API asynchronously

func (*Client) ListAggregateDiscoveredResources added in v1.61.1380

func (client *Client) ListAggregateDiscoveredResources(request *ListAggregateDiscoveredResourcesRequest) (response *ListAggregateDiscoveredResourcesResponse, err error)

ListAggregateDiscoveredResources invokes the config.ListAggregateDiscoveredResources API synchronously

func (*Client) ListAggregateDiscoveredResourcesWithCallback added in v1.61.1380

func (client *Client) ListAggregateDiscoveredResourcesWithCallback(request *ListAggregateDiscoveredResourcesRequest, callback func(response *ListAggregateDiscoveredResourcesResponse, err error)) <-chan int

ListAggregateDiscoveredResourcesWithCallback invokes the config.ListAggregateDiscoveredResources API asynchronously

func (*Client) ListAggregateDiscoveredResourcesWithChan added in v1.61.1380

func (client *Client) ListAggregateDiscoveredResourcesWithChan(request *ListAggregateDiscoveredResourcesRequest) (<-chan *ListAggregateDiscoveredResourcesResponse, <-chan error)

ListAggregateDiscoveredResourcesWithChan invokes the config.ListAggregateDiscoveredResources API asynchronously

func (*Client) ListConfigRules

func (client *Client) ListConfigRules(request *ListConfigRulesRequest) (response *ListConfigRulesResponse, err error)

ListConfigRules invokes the config.ListConfigRules API synchronously

func (*Client) ListConfigRulesWithCallback

func (client *Client) ListConfigRulesWithCallback(request *ListConfigRulesRequest, callback func(response *ListConfigRulesResponse, err error)) <-chan int

ListConfigRulesWithCallback invokes the config.ListConfigRules API asynchronously

func (*Client) ListConfigRulesWithChan

func (client *Client) ListConfigRulesWithChan(request *ListConfigRulesRequest) (<-chan *ListConfigRulesResponse, <-chan error)

ListConfigRulesWithChan invokes the config.ListConfigRules API asynchronously

func (*Client) ListDiscoveredResources

func (client *Client) ListDiscoveredResources(request *ListDiscoveredResourcesRequest) (response *ListDiscoveredResourcesResponse, err error)

ListDiscoveredResources invokes the config.ListDiscoveredResources API synchronously

func (*Client) ListDiscoveredResourcesWithCallback

func (client *Client) ListDiscoveredResourcesWithCallback(request *ListDiscoveredResourcesRequest, callback func(response *ListDiscoveredResourcesResponse, err error)) <-chan int

ListDiscoveredResourcesWithCallback invokes the config.ListDiscoveredResources API asynchronously

func (*Client) ListDiscoveredResourcesWithChan

func (client *Client) ListDiscoveredResourcesWithChan(request *ListDiscoveredResourcesRequest) (<-chan *ListDiscoveredResourcesResponse, <-chan error)

ListDiscoveredResourcesWithChan invokes the config.ListDiscoveredResources API asynchronously

func (*Client) ListRemediationTemplates added in v1.61.1380

func (client *Client) ListRemediationTemplates(request *ListRemediationTemplatesRequest) (response *ListRemediationTemplatesResponse, err error)

ListRemediationTemplates invokes the config.ListRemediationTemplates API synchronously

func (*Client) ListRemediationTemplatesWithCallback added in v1.61.1380

func (client *Client) ListRemediationTemplatesWithCallback(request *ListRemediationTemplatesRequest, callback func(response *ListRemediationTemplatesResponse, err error)) <-chan int

ListRemediationTemplatesWithCallback invokes the config.ListRemediationTemplates API asynchronously

func (*Client) ListRemediationTemplatesWithChan added in v1.61.1380

func (client *Client) ListRemediationTemplatesWithChan(request *ListRemediationTemplatesRequest) (<-chan *ListRemediationTemplatesResponse, <-chan error)

ListRemediationTemplatesWithChan invokes the config.ListRemediationTemplates API asynchronously

func (*Client) PutConfigRule

func (client *Client) PutConfigRule(request *PutConfigRuleRequest) (response *PutConfigRuleResponse, err error)

PutConfigRule invokes the config.PutConfigRule API synchronously

func (*Client) PutConfigRuleWithCallback

func (client *Client) PutConfigRuleWithCallback(request *PutConfigRuleRequest, callback func(response *PutConfigRuleResponse, err error)) <-chan int

PutConfigRuleWithCallback invokes the config.PutConfigRule API asynchronously

func (*Client) PutConfigRuleWithChan

func (client *Client) PutConfigRuleWithChan(request *PutConfigRuleRequest) (<-chan *PutConfigRuleResponse, <-chan error)

PutConfigRuleWithChan invokes the config.PutConfigRule API asynchronously

func (*Client) PutConfigurationRecorder

func (client *Client) PutConfigurationRecorder(request *PutConfigurationRecorderRequest) (response *PutConfigurationRecorderResponse, err error)

PutConfigurationRecorder invokes the config.PutConfigurationRecorder API synchronously

func (*Client) PutConfigurationRecorderWithCallback

func (client *Client) PutConfigurationRecorderWithCallback(request *PutConfigurationRecorderRequest, callback func(response *PutConfigurationRecorderResponse, err error)) <-chan int

PutConfigurationRecorderWithCallback invokes the config.PutConfigurationRecorder API asynchronously

func (*Client) PutConfigurationRecorderWithChan

func (client *Client) PutConfigurationRecorderWithChan(request *PutConfigurationRecorderRequest) (<-chan *PutConfigurationRecorderResponse, <-chan error)

PutConfigurationRecorderWithChan invokes the config.PutConfigurationRecorder API asynchronously

func (*Client) PutDeliveryChannel

func (client *Client) PutDeliveryChannel(request *PutDeliveryChannelRequest) (response *PutDeliveryChannelResponse, err error)

PutDeliveryChannel invokes the config.PutDeliveryChannel API synchronously

func (*Client) PutDeliveryChannelWithCallback

func (client *Client) PutDeliveryChannelWithCallback(request *PutDeliveryChannelRequest, callback func(response *PutDeliveryChannelResponse, err error)) <-chan int

PutDeliveryChannelWithCallback invokes the config.PutDeliveryChannel API asynchronously

func (*Client) PutDeliveryChannelWithChan

func (client *Client) PutDeliveryChannelWithChan(request *PutDeliveryChannelRequest) (<-chan *PutDeliveryChannelResponse, <-chan error)

PutDeliveryChannelWithChan invokes the config.PutDeliveryChannel API asynchronously

func (*Client) PutEvaluations

func (client *Client) PutEvaluations(request *PutEvaluationsRequest) (response *PutEvaluationsResponse, err error)

PutEvaluations invokes the config.PutEvaluations API synchronously

func (*Client) PutEvaluationsWithCallback

func (client *Client) PutEvaluationsWithCallback(request *PutEvaluationsRequest, callback func(response *PutEvaluationsResponse, err error)) <-chan int

PutEvaluationsWithCallback invokes the config.PutEvaluations API asynchronously

func (*Client) PutEvaluationsWithChan

func (client *Client) PutEvaluationsWithChan(request *PutEvaluationsRequest) (<-chan *PutEvaluationsResponse, <-chan error)

PutEvaluationsWithChan invokes the config.PutEvaluations API asynchronously

func (*Client) StartConfigRuleEvaluation

func (client *Client) StartConfigRuleEvaluation(request *StartConfigRuleEvaluationRequest) (response *StartConfigRuleEvaluationResponse, err error)

StartConfigRuleEvaluation invokes the config.StartConfigRuleEvaluation API synchronously

func (*Client) StartConfigRuleEvaluationWithCallback

func (client *Client) StartConfigRuleEvaluationWithCallback(request *StartConfigRuleEvaluationRequest, callback func(response *StartConfigRuleEvaluationResponse, err error)) <-chan int

StartConfigRuleEvaluationWithCallback invokes the config.StartConfigRuleEvaluation API asynchronously

func (*Client) StartConfigRuleEvaluationWithChan

func (client *Client) StartConfigRuleEvaluationWithChan(request *StartConfigRuleEvaluationRequest) (<-chan *StartConfigRuleEvaluationResponse, <-chan error)

StartConfigRuleEvaluationWithChan invokes the config.StartConfigRuleEvaluation API asynchronously

func (*Client) StartConfigurationRecorder

func (client *Client) StartConfigurationRecorder(request *StartConfigurationRecorderRequest) (response *StartConfigurationRecorderResponse, err error)

StartConfigurationRecorder invokes the config.StartConfigurationRecorder API synchronously

func (*Client) StartConfigurationRecorderWithCallback

func (client *Client) StartConfigurationRecorderWithCallback(request *StartConfigurationRecorderRequest, callback func(response *StartConfigurationRecorderResponse, err error)) <-chan int

StartConfigurationRecorderWithCallback invokes the config.StartConfigurationRecorder API asynchronously

func (*Client) StartConfigurationRecorderWithChan

func (client *Client) StartConfigurationRecorderWithChan(request *StartConfigurationRecorderRequest) (<-chan *StartConfigurationRecorderResponse, <-chan error)

StartConfigurationRecorderWithChan invokes the config.StartConfigurationRecorder API asynchronously

func (*Client) StopConfigRules

func (client *Client) StopConfigRules(request *StopConfigRulesRequest) (response *StopConfigRulesResponse, err error)

StopConfigRules invokes the config.StopConfigRules API synchronously

func (*Client) StopConfigRulesWithCallback

func (client *Client) StopConfigRulesWithCallback(request *StopConfigRulesRequest, callback func(response *StopConfigRulesResponse, err error)) <-chan int

StopConfigRulesWithCallback invokes the config.StopConfigRules API asynchronously

func (*Client) StopConfigRulesWithChan

func (client *Client) StopConfigRulesWithChan(request *StopConfigRulesRequest) (<-chan *StopConfigRulesResponse, <-chan error)

StopConfigRulesWithChan invokes the config.StopConfigRules API asynchronously

type Compliance

type Compliance struct {
	ComplianceType string `json:"ComplianceType" xml:"ComplianceType"`
	Count          int    `json:"Count" xml:"Count"`
}

Compliance is a nested struct in config response

type ComplianceList

type ComplianceList struct {
	ComplianceListItem []ComplianceListItem `json:"ComplianceList" xml:"ComplianceList"`
}

ComplianceList is a nested struct in config response

type ComplianceListItem

type ComplianceListItem struct {
	Tags               string `json:"Tags" xml:"Tags"`
	AccountId          string `json:"AccountId" xml:"AccountId"`
	AvailabilityZone   string `json:"AvailabilityZone" xml:"AvailabilityZone"`
	ResourceType       string `json:"ResourceType" xml:"ResourceType"`
	ResourceCreateTime int64  `json:"ResourceCreateTime" xml:"ResourceCreateTime"`
	Region             string `json:"Region" xml:"Region"`
	Configuration      string `json:"Configuration" xml:"Configuration"`
	CaptureTime        int64  `json:"CaptureTime" xml:"CaptureTime"`
	ConfigurationDiff  string `json:"ConfigurationDiff" xml:"ConfigurationDiff"`
	ResourceId         string `json:"ResourceId" xml:"ResourceId"`
	ResourceName       string `json:"ResourceName" xml:"ResourceName"`
	ResourceStatus     string `json:"ResourceStatus" xml:"ResourceStatus"`
}

ComplianceListItem is a nested struct in config response

type ComplianceResourceTypes

type ComplianceResourceTypes struct {
	ComplianceResourceTypes []string `json:"ComplianceResourceTypes" xml:"ComplianceResourceTypes"`
}

ComplianceResourceTypes is a nested struct in config response

type ComplianceResult

type ComplianceResult struct {
	TotalCount  int64             `json:"TotalCount" xml:"TotalCount"`
	Compliances []CompliancesItem `json:"Compliances" xml:"Compliances"`
}

ComplianceResult is a nested struct in config response

type ComplianceSummary

type ComplianceSummary struct {
	ComplianceSummaryByResource   ComplianceSummaryByResource   `json:"ComplianceSummaryByResource" xml:"ComplianceSummaryByResource"`
	ComplianceSummaryByConfigRule ComplianceSummaryByConfigRule `json:"ComplianceSummaryByConfigRule" xml:"ComplianceSummaryByConfigRule"`
}

ComplianceSummary is a nested struct in config response

type ComplianceSummaryByConfigRule

type ComplianceSummaryByConfigRule struct {
	CompliantCount             int   `json:"CompliantCount" xml:"CompliantCount"`
	NonCompliantCount          int   `json:"NonCompliantCount" xml:"NonCompliantCount"`
	ComplianceSummaryTimestamp int64 `json:"ComplianceSummaryTimestamp" xml:"ComplianceSummaryTimestamp"`
	TotalCount                 int64 `json:"TotalCount" xml:"TotalCount"`
}

ComplianceSummaryByConfigRule is a nested struct in config response

type ComplianceSummaryByResource

type ComplianceSummaryByResource struct {
	CompliantCount             int   `json:"CompliantCount" xml:"CompliantCount"`
	NonCompliantCount          int   `json:"NonCompliantCount" xml:"NonCompliantCount"`
	ComplianceSummaryTimestamp int64 `json:"ComplianceSummaryTimestamp" xml:"ComplianceSummaryTimestamp"`
	TotalCount                 int64 `json:"TotalCount" xml:"TotalCount"`
}

ComplianceSummaryByResource is a nested struct in config response

type Compliances

type Compliances struct {
	CompliancesItem []CompliancesItem `json:"Compliances" xml:"Compliances"`
}

Compliances is a nested struct in config response

type CompliancesItem

type CompliancesItem struct {
	ComplianceType string `json:"ComplianceType" xml:"ComplianceType"`
	Count          int    `json:"Count" xml:"Count"`
}

CompliancesItem is a nested struct in config response

type ConfigRule

type ConfigRule struct {
	CompliancePackId           string                     `json:"CompliancePackId" xml:"CompliancePackId"`
	RiskLevel                  int                        `json:"RiskLevel" xml:"RiskLevel"`
	CreateTimestamp            int64                      `json:"CreateTimestamp" xml:"CreateTimestamp"`
	SourceOwner                string                     `json:"SourceOwner" xml:"SourceOwner"`
	ModifiedTimestamp          int64                      `json:"ModifiedTimestamp" xml:"ModifiedTimestamp"`
	ConfigRuleName             string                     `json:"ConfigRuleName" xml:"ConfigRuleName"`
	ConfigRuleId               string                     `json:"ConfigRuleId" xml:"ConfigRuleId"`
	AutomationType             string                     `json:"AutomationType" xml:"AutomationType"`
	ConfigRuleArn              string                     `json:"ConfigRuleArn" xml:"ConfigRuleArn"`
	InputParameters            map[string]interface{}     `json:"InputParameters" xml:"InputParameters"`
	ConfigRuleState            string                     `json:"ConfigRuleState" xml:"ConfigRuleState"`
	AccountId                  int64                      `json:"AccountId" xml:"AccountId"`
	SourceIdentifier           string                     `json:"SourceIdentifier" xml:"SourceIdentifier"`
	Description                string                     `json:"Description" xml:"Description"`
	MaximumExecutionFrequency  string                     `json:"MaximumExecutionFrequency" xml:"MaximumExecutionFrequency"`
	OrganizationRule           bool                       `json:"OrganizationRule" xml:"OrganizationRule"`
	CreateBy                   CreateBy                   `json:"CreateBy" xml:"CreateBy"`
	ConfigRuleEvaluationStatus ConfigRuleEvaluationStatus `json:"ConfigRuleEvaluationStatus" xml:"ConfigRuleEvaluationStatus"`
	Source                     Source                     `json:"Source" xml:"Source"`
	Scope                      Scope                      `json:"Scope" xml:"Scope"`
	ManagedRule                ManagedRule                `json:"ManagedRule" xml:"ManagedRule"`
	Compliance                 Compliance                 `json:"Compliance" xml:"Compliance"`
	Tags                       []Tag                      `json:"Tags" xml:"Tags"`
}

ConfigRule is a nested struct in config response

type ConfigRuleEvaluationStatus

type ConfigRuleEvaluationStatus struct {
	LastErrorCode                     string `json:"LastErrorCode" xml:"LastErrorCode"`
	LastSuccessfulEvaluationTimestamp int64  `json:"LastSuccessfulEvaluationTimestamp" xml:"LastSuccessfulEvaluationTimestamp"`
	FirstActivatedTimestamp           int64  `json:"FirstActivatedTimestamp" xml:"FirstActivatedTimestamp"`
	FirstEvaluationStarted            bool   `json:"FirstEvaluationStarted" xml:"FirstEvaluationStarted"`
	LastSuccessfulInvocationTimestamp int64  `json:"LastSuccessfulInvocationTimestamp" xml:"LastSuccessfulInvocationTimestamp"`
	LastErrorMessage                  string `json:"LastErrorMessage" xml:"LastErrorMessage"`
	LastFailedEvaluationTimestamp     int64  `json:"LastFailedEvaluationTimestamp" xml:"LastFailedEvaluationTimestamp"`
	LastFailedInvocationTimestamp     int64  `json:"LastFailedInvocationTimestamp" xml:"LastFailedInvocationTimestamp"`
}

ConfigRuleEvaluationStatus is a nested struct in config response

type ConfigRuleList

type ConfigRuleList struct {
	ConfigRule []ConfigRule `json:"ConfigRule" xml:"ConfigRule"`
}

ConfigRuleList is a nested struct in config response

type ConfigRules

type ConfigRules struct {
	PageNumber     int          `json:"PageNumber" xml:"PageNumber"`
	PageSize       int          `json:"PageSize" xml:"PageSize"`
	TotalCount     int64        `json:"TotalCount" xml:"TotalCount"`
	ConfigRuleList []ConfigRule `json:"ConfigRuleList" xml:"ConfigRuleList"`
}

ConfigRules is a nested struct in config response

type ConfigurationList

type ConfigurationList struct {
	ConfigurationListItem []ConfigurationListItem `json:"ConfigurationList" xml:"ConfigurationList"`
}

ConfigurationList is a nested struct in config response

type ConfigurationListItem

type ConfigurationListItem struct {
	Relationship       string `json:"Relationship" xml:"Relationship"`
	Tags               string `json:"Tags" xml:"Tags"`
	AccountId          int64  `json:"AccountId" xml:"AccountId"`
	ResourceEventType  string `json:"ResourceEventType" xml:"ResourceEventType"`
	RelationshipDiff   string `json:"RelationshipDiff" xml:"RelationshipDiff"`
	AvailabilityZone   string `json:"AvailabilityZone" xml:"AvailabilityZone"`
	ResourceType       string `json:"ResourceType" xml:"ResourceType"`
	ResourceCreateTime string `json:"ResourceCreateTime" xml:"ResourceCreateTime"`
	Region             string `json:"Region" xml:"Region"`
	CaptureTime        string `json:"CaptureTime" xml:"CaptureTime"`
	ConfigurationDiff  string `json:"ConfigurationDiff" xml:"ConfigurationDiff"`
	ResourceId         string `json:"ResourceId" xml:"ResourceId"`
	ResourceName       string `json:"ResourceName" xml:"ResourceName"`
}

ConfigurationListItem is a nested struct in config response

type ConfigurationRecorder

type ConfigurationRecorder struct {
	AccountId                   int64    `json:"AccountId" xml:"AccountId"`
	ConfigurationRecorderStatus string   `json:"ConfigurationRecorderStatus" xml:"ConfigurationRecorderStatus"`
	OrganizationEnableStatus    string   `json:"OrganizationEnableStatus" xml:"OrganizationEnableStatus"`
	OrganizationMasterId        int64    `json:"OrganizationMasterId" xml:"OrganizationMasterId"`
	ResourceTypes               []string `json:"ResourceTypes" xml:"ResourceTypes"`
}

ConfigurationRecorder is a nested struct in config response

type CreateBy

type CreateBy struct {
	ConfigRuleSceneId   string `json:"ConfigRuleSceneId" xml:"ConfigRuleSceneId"`
	CreatorName         string `json:"CreatorName" xml:"CreatorName"`
	CompliancePackId    string `json:"CompliancePackId" xml:"CompliancePackId"`
	ConfigRuleSceneName string `json:"ConfigRuleSceneName" xml:"ConfigRuleSceneName"`
	CreatorType         string `json:"CreatorType" xml:"CreatorType"`
	CreatorId           string `json:"CreatorId" xml:"CreatorId"`
	CompliancePackName  string `json:"CompliancePackName" xml:"CompliancePackName"`
}

CreateBy is a nested struct in config response

type DeleteConfigRulesRequest

type DeleteConfigRulesRequest struct {
	*requests.RpcRequest
	ConfigRuleIds string `position:"Query" name:"ConfigRuleIds"`
}

DeleteConfigRulesRequest is the request struct for api DeleteConfigRules

func CreateDeleteConfigRulesRequest

func CreateDeleteConfigRulesRequest() (request *DeleteConfigRulesRequest)

CreateDeleteConfigRulesRequest creates a request to invoke DeleteConfigRules API

type DeleteConfigRulesResponse

type DeleteConfigRulesResponse struct {
	*responses.BaseResponse
	RequestId         string            `json:"RequestId" xml:"RequestId"`
	OperateRuleResult OperateRuleResult `json:"OperateRuleResult" xml:"OperateRuleResult"`
}

DeleteConfigRulesResponse is the response struct for api DeleteConfigRules

func CreateDeleteConfigRulesResponse

func CreateDeleteConfigRulesResponse() (response *DeleteConfigRulesResponse)

CreateDeleteConfigRulesResponse creates a response to parse from DeleteConfigRules response

type DeliveryChannel

type DeliveryChannel struct {
	Status                              int    `json:"Status" xml:"Status"`
	DeliveryChannelName                 string `json:"DeliveryChannelName" xml:"DeliveryChannelName"`
	DeliveryChannelId                   string `json:"DeliveryChannelId" xml:"DeliveryChannelId"`
	DeliveryChannelType                 string `json:"DeliveryChannelType" xml:"DeliveryChannelType"`
	DeliveryChannelAssumeRoleArn        string `json:"DeliveryChannelAssumeRoleArn" xml:"DeliveryChannelAssumeRoleArn"`
	Description                         string `json:"Description" xml:"Description"`
	DeliveryChannelCondition            string `json:"DeliveryChannelCondition" xml:"DeliveryChannelCondition"`
	DeliveryChannelTargetArn            string `json:"DeliveryChannelTargetArn" xml:"DeliveryChannelTargetArn"`
	ConfigurationSnapshot               bool   `json:"ConfigurationSnapshot" xml:"ConfigurationSnapshot"`
	ConfigurationItemChangeNotification bool   `json:"ConfigurationItemChangeNotification" xml:"ConfigurationItemChangeNotification"`
	NonCompliantNotification            bool   `json:"NonCompliantNotification" xml:"NonCompliantNotification"`
	OversizedDataOSSTargetArn           string `json:"OversizedDataOSSTargetArn" xml:"OversizedDataOSSTargetArn"`
}

DeliveryChannel is a nested struct in config response

type DeliveryChannels

type DeliveryChannels struct {
	DeliveryChannel []DeliveryChannel `json:"DeliveryChannel" xml:"DeliveryChannel"`
}

DeliveryChannels is a nested struct in config response

type DescribeComplianceRequest

type DescribeComplianceRequest struct {
	*requests.RpcRequest
	ConfigRuleId   string           `position:"Query" name:"ConfigRuleId"`
	ResourceId     string           `position:"Query" name:"ResourceId"`
	MultiAccount   requests.Boolean `position:"Query" name:"MultiAccount"`
	ResourceType   string           `position:"Query" name:"ResourceType"`
	ComplianceType string           `position:"Query" name:"ComplianceType"`
	MemberId       requests.Integer `position:"Query" name:"MemberId"`
}

DescribeComplianceRequest is the request struct for api DescribeCompliance

func CreateDescribeComplianceRequest

func CreateDescribeComplianceRequest() (request *DescribeComplianceRequest)

CreateDescribeComplianceRequest creates a request to invoke DescribeCompliance API

type DescribeComplianceResponse

type DescribeComplianceResponse struct {
	*responses.BaseResponse
	RequestId        string           `json:"RequestId" xml:"RequestId"`
	ComplianceResult ComplianceResult `json:"ComplianceResult" xml:"ComplianceResult"`
}

DescribeComplianceResponse is the response struct for api DescribeCompliance

func CreateDescribeComplianceResponse

func CreateDescribeComplianceResponse() (response *DescribeComplianceResponse)

CreateDescribeComplianceResponse creates a response to parse from DescribeCompliance response

type DescribeComplianceSummaryRequest

type DescribeComplianceSummaryRequest struct {
	*requests.RpcRequest
	MultiAccount requests.Boolean `position:"Query" name:"MultiAccount"`
	MemberId     requests.Integer `position:"Query" name:"MemberId"`
}

DescribeComplianceSummaryRequest is the request struct for api DescribeComplianceSummary

func CreateDescribeComplianceSummaryRequest

func CreateDescribeComplianceSummaryRequest() (request *DescribeComplianceSummaryRequest)

CreateDescribeComplianceSummaryRequest creates a request to invoke DescribeComplianceSummary API

type DescribeComplianceSummaryResponse

type DescribeComplianceSummaryResponse struct {
	*responses.BaseResponse
	RequestId         string            `json:"RequestId" xml:"RequestId"`
	ComplianceSummary ComplianceSummary `json:"ComplianceSummary" xml:"ComplianceSummary"`
}

DescribeComplianceSummaryResponse is the response struct for api DescribeComplianceSummary

func CreateDescribeComplianceSummaryResponse

func CreateDescribeComplianceSummaryResponse() (response *DescribeComplianceSummaryResponse)

CreateDescribeComplianceSummaryResponse creates a response to parse from DescribeComplianceSummary response

type DescribeConfigRuleRequest

type DescribeConfigRuleRequest struct {
	*requests.RpcRequest
	ConfigRuleId string           `position:"Query" name:"ConfigRuleId"`
	MultiAccount requests.Boolean `position:"Query" name:"MultiAccount"`
	MemberId     requests.Integer `position:"Query" name:"MemberId"`
}

DescribeConfigRuleRequest is the request struct for api DescribeConfigRule

func CreateDescribeConfigRuleRequest

func CreateDescribeConfigRuleRequest() (request *DescribeConfigRuleRequest)

CreateDescribeConfigRuleRequest creates a request to invoke DescribeConfigRule API

type DescribeConfigRuleResponse

type DescribeConfigRuleResponse struct {
	*responses.BaseResponse
	RequestId  string     `json:"RequestId" xml:"RequestId"`
	ConfigRule ConfigRule `json:"ConfigRule" xml:"ConfigRule"`
}

DescribeConfigRuleResponse is the response struct for api DescribeConfigRule

func CreateDescribeConfigRuleResponse

func CreateDescribeConfigRuleResponse() (response *DescribeConfigRuleResponse)

CreateDescribeConfigRuleResponse creates a response to parse from DescribeConfigRule response

type DescribeConfigurationRecorderRequest

type DescribeConfigurationRecorderRequest struct {
	*requests.RpcRequest
}

DescribeConfigurationRecorderRequest is the request struct for api DescribeConfigurationRecorder

func CreateDescribeConfigurationRecorderRequest

func CreateDescribeConfigurationRecorderRequest() (request *DescribeConfigurationRecorderRequest)

CreateDescribeConfigurationRecorderRequest creates a request to invoke DescribeConfigurationRecorder API

type DescribeConfigurationRecorderResponse

type DescribeConfigurationRecorderResponse struct {
	*responses.BaseResponse
	RequestId             string                `json:"RequestId" xml:"RequestId"`
	ConfigurationRecorder ConfigurationRecorder `json:"ConfigurationRecorder" xml:"ConfigurationRecorder"`
}

DescribeConfigurationRecorderResponse is the response struct for api DescribeConfigurationRecorder

func CreateDescribeConfigurationRecorderResponse

func CreateDescribeConfigurationRecorderResponse() (response *DescribeConfigurationRecorderResponse)

CreateDescribeConfigurationRecorderResponse creates a response to parse from DescribeConfigurationRecorder response

type DescribeDeliveryChannelsRequest

type DescribeDeliveryChannelsRequest struct {
	*requests.RpcRequest
	DeliveryChannelIds string `position:"Query" name:"DeliveryChannelIds"`
}

DescribeDeliveryChannelsRequest is the request struct for api DescribeDeliveryChannels

func CreateDescribeDeliveryChannelsRequest

func CreateDescribeDeliveryChannelsRequest() (request *DescribeDeliveryChannelsRequest)

CreateDescribeDeliveryChannelsRequest creates a request to invoke DescribeDeliveryChannels API

type DescribeDeliveryChannelsResponse

type DescribeDeliveryChannelsResponse struct {
	*responses.BaseResponse
	RequestId        string            `json:"RequestId" xml:"RequestId"`
	DeliveryChannels []DeliveryChannel `json:"DeliveryChannels" xml:"DeliveryChannels"`
}

DescribeDeliveryChannelsResponse is the response struct for api DescribeDeliveryChannels

func CreateDescribeDeliveryChannelsResponse

func CreateDescribeDeliveryChannelsResponse() (response *DescribeDeliveryChannelsResponse)

CreateDescribeDeliveryChannelsResponse creates a response to parse from DescribeDeliveryChannels response

type DescribeDiscoveredResourceRequest

type DescribeDiscoveredResourceRequest struct {
	*requests.RpcRequest
	ResourceId   string           `position:"Query" name:"ResourceId"`
	MultiAccount requests.Boolean `position:"Query" name:"MultiAccount"`
	ResourceType string           `position:"Query" name:"ResourceType"`
	Region       string           `position:"Query" name:"Region"`
	MemberId     requests.Integer `position:"Query" name:"MemberId"`
}

DescribeDiscoveredResourceRequest is the request struct for api DescribeDiscoveredResource

func CreateDescribeDiscoveredResourceRequest

func CreateDescribeDiscoveredResourceRequest() (request *DescribeDiscoveredResourceRequest)

CreateDescribeDiscoveredResourceRequest creates a request to invoke DescribeDiscoveredResource API

type DescribeDiscoveredResourceResponse

type DescribeDiscoveredResourceResponse struct {
	*responses.BaseResponse
	RequestId                string                   `json:"RequestId" xml:"RequestId"`
	DiscoveredResourceDetail DiscoveredResourceDetail `json:"DiscoveredResourceDetail" xml:"DiscoveredResourceDetail"`
}

DescribeDiscoveredResourceResponse is the response struct for api DescribeDiscoveredResource

func CreateDescribeDiscoveredResourceResponse

func CreateDescribeDiscoveredResourceResponse() (response *DescribeDiscoveredResourceResponse)

CreateDescribeDiscoveredResourceResponse creates a response to parse from DescribeDiscoveredResource response

type DescribeEvaluationResultsRequest

type DescribeEvaluationResultsRequest struct {
	*requests.RpcRequest
	ConfigRuleId   string           `position:"Query" name:"ConfigRuleId"`
	MultiAccount   requests.Boolean `position:"Query" name:"MultiAccount"`
	PageNumber     requests.Integer `position:"Query" name:"PageNumber"`
	PageSize       requests.Integer `position:"Query" name:"PageSize"`
	ComplianceType string           `position:"Query" name:"ComplianceType"`
	ResourceId     string           `position:"Query" name:"ResourceId"`
	ResourceType   string           `position:"Query" name:"ResourceType"`
	MemberId       requests.Integer `position:"Query" name:"MemberId"`
}

DescribeEvaluationResultsRequest is the request struct for api DescribeEvaluationResults

func CreateDescribeEvaluationResultsRequest

func CreateDescribeEvaluationResultsRequest() (request *DescribeEvaluationResultsRequest)

CreateDescribeEvaluationResultsRequest creates a request to invoke DescribeEvaluationResults API

type DescribeEvaluationResultsResponse

type DescribeEvaluationResultsResponse struct {
	*responses.BaseResponse
	RequestId         string            `json:"RequestId" xml:"RequestId"`
	EvaluationResults EvaluationResults `json:"EvaluationResults" xml:"EvaluationResults"`
}

DescribeEvaluationResultsResponse is the response struct for api DescribeEvaluationResults

func CreateDescribeEvaluationResultsResponse

func CreateDescribeEvaluationResultsResponse() (response *DescribeEvaluationResultsResponse)

CreateDescribeEvaluationResultsResponse creates a response to parse from DescribeEvaluationResults response

type DiscoveredResourceDetail

type DiscoveredResourceDetail struct {
	Region               string `json:"Region" xml:"Region"`
	ResourceType         string `json:"ResourceType" xml:"ResourceType"`
	ResourceId           string `json:"ResourceId" xml:"ResourceId"`
	ResourceStatus       string `json:"ResourceStatus" xml:"ResourceStatus"`
	Tags                 string `json:"Tags" xml:"Tags"`
	AvailabilityZone     string `json:"AvailabilityZone" xml:"AvailabilityZone"`
	Configuration        string `json:"Configuration" xml:"Configuration"`
	AccountId            int64  `json:"AccountId" xml:"AccountId"`
	ResourceName         string `json:"ResourceName" xml:"ResourceName"`
	ResourceCreationTime int64  `json:"ResourceCreationTime" xml:"ResourceCreationTime"`
	ResourceDeleted      int    `json:"ResourceDeleted" xml:"ResourceDeleted"`
}

DiscoveredResourceDetail is a nested struct in config response

type DiscoveredResourceProfile

type DiscoveredResourceProfile struct {
	Region               string `json:"Region" xml:"Region"`
	ResourceType         string `json:"ResourceType" xml:"ResourceType"`
	ResourceId           string `json:"ResourceId" xml:"ResourceId"`
	ResourceStatus       string `json:"ResourceStatus" xml:"ResourceStatus"`
	Tags                 string `json:"Tags" xml:"Tags"`
	AccountId            int64  `json:"AccountId" xml:"AccountId"`
	ResourceName         string `json:"ResourceName" xml:"ResourceName"`
	ResourceOwnerId      int64  `json:"ResourceOwnerId" xml:"ResourceOwnerId"`
	ResourceCreationTime int64  `json:"ResourceCreationTime" xml:"ResourceCreationTime"`
	ResourceDeleted      int    `json:"ResourceDeleted" xml:"ResourceDeleted"`
}

DiscoveredResourceProfile is a nested struct in config response

type DiscoveredResourceProfileListInListAggregateDiscoveredResources added in v1.61.1380

type DiscoveredResourceProfileListInListAggregateDiscoveredResources struct {
	DiscoveredResourceProfile []DiscoveredResourceProfile `json:"DiscoveredResourceProfile" xml:"DiscoveredResourceProfile"`
}

DiscoveredResourceProfileListInListAggregateDiscoveredResources is a nested struct in config response

type DiscoveredResourceProfileListInListDiscoveredResources added in v1.61.1380

type DiscoveredResourceProfileListInListDiscoveredResources struct {
	DiscoveredResourceProfile []DiscoveredResourceProfile `json:"DiscoveredResourceProfile" xml:"DiscoveredResourceProfile"`
}

DiscoveredResourceProfileListInListDiscoveredResources is a nested struct in config response

type DiscoveredResourceProfiles

type DiscoveredResourceProfiles struct {
	TotalCount                    int                         `json:"TotalCount" xml:"TotalCount"`
	PageNumber                    int                         `json:"PageNumber" xml:"PageNumber"`
	PageSize                      int                         `json:"PageSize" xml:"PageSize"`
	DiscoveredResourceProfileList []DiscoveredResourceProfile `json:"DiscoveredResourceProfileList" xml:"DiscoveredResourceProfileList"`
}

DiscoveredResourceProfiles is a nested struct in config response

type DiscoveredResourceSummary

type DiscoveredResourceSummary struct {
	RegionCount       int `json:"RegionCount" xml:"RegionCount"`
	ResourceCount     int `json:"ResourceCount" xml:"ResourceCount"`
	ResourceTypeCount int `json:"ResourceTypeCount" xml:"ResourceTypeCount"`
}

DiscoveredResourceSummary is a nested struct in config response

type EvaluationResult

type EvaluationResult struct {
	RiskLevel                  int                        `json:"RiskLevel" xml:"RiskLevel"`
	ComplianceType             string                     `json:"ComplianceType" xml:"ComplianceType"`
	ResultRecordedTimestamp    int64                      `json:"ResultRecordedTimestamp" xml:"ResultRecordedTimestamp"`
	Annotation                 string                     `json:"Annotation" xml:"Annotation"`
	ConfigRuleInvokedTimestamp int64                      `json:"ConfigRuleInvokedTimestamp" xml:"ConfigRuleInvokedTimestamp"`
	InvokingEventMessageType   string                     `json:"InvokingEventMessageType" xml:"InvokingEventMessageType"`
	RemediationEnabled         bool                       `json:"RemediationEnabled" xml:"RemediationEnabled"`
	EvaluationResultIdentifier EvaluationResultIdentifier `json:"EvaluationResultIdentifier" xml:"EvaluationResultIdentifier"`
}

EvaluationResult is a nested struct in config response

type EvaluationResultIdentifier

type EvaluationResultIdentifier struct {
	OrderingTimestamp         int64                     `json:"OrderingTimestamp" xml:"OrderingTimestamp"`
	EvaluationResultQualifier EvaluationResultQualifier `json:"EvaluationResultQualifier" xml:"EvaluationResultQualifier"`
}

EvaluationResultIdentifier is a nested struct in config response

type EvaluationResultList

type EvaluationResultList struct {
	EvaluationResult []EvaluationResult `json:"EvaluationResult" xml:"EvaluationResult"`
}

EvaluationResultList is a nested struct in config response

type EvaluationResultQualifier

type EvaluationResultQualifier struct {
	ConfigRuleArn  string `json:"ConfigRuleArn" xml:"ConfigRuleArn"`
	ResourceType   string `json:"ResourceType" xml:"ResourceType"`
	ConfigRuleName string `json:"ConfigRuleName" xml:"ConfigRuleName"`
	ResourceId     string `json:"ResourceId" xml:"ResourceId"`
	ConfigRuleId   string `json:"ConfigRuleId" xml:"ConfigRuleId"`
	ResourceName   string `json:"ResourceName" xml:"ResourceName"`
	RegionId       string `json:"RegionId" xml:"RegionId"`
}

EvaluationResultQualifier is a nested struct in config response

type EvaluationResults

type EvaluationResults struct {
	PageNumber           int                `json:"PageNumber" xml:"PageNumber"`
	PageSize             int                `json:"PageSize" xml:"PageSize"`
	TotalCount           int64              `json:"TotalCount" xml:"TotalCount"`
	EvaluationResultList []EvaluationResult `json:"EvaluationResultList" xml:"EvaluationResultList"`
}

EvaluationResults is a nested struct in config response

type GetAggregateDiscoveredResourceRequest added in v1.61.1380

type GetAggregateDiscoveredResourceRequest struct {
	*requests.RpcRequest
	ResourceId      string           `position:"Query" name:"ResourceId"`
	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
	AggregatorId    string           `position:"Query" name:"AggregatorId"`
	ResourceType    string           `position:"Query" name:"ResourceType"`
	Region          string           `position:"Query" name:"Region"`
}

GetAggregateDiscoveredResourceRequest is the request struct for api GetAggregateDiscoveredResource

func CreateGetAggregateDiscoveredResourceRequest added in v1.61.1380

func CreateGetAggregateDiscoveredResourceRequest() (request *GetAggregateDiscoveredResourceRequest)

CreateGetAggregateDiscoveredResourceRequest creates a request to invoke GetAggregateDiscoveredResource API

type GetAggregateDiscoveredResourceResponse added in v1.61.1380

type GetAggregateDiscoveredResourceResponse struct {
	*responses.BaseResponse
	RequestId                string                   `json:"RequestId" xml:"RequestId"`
	DiscoveredResourceDetail DiscoveredResourceDetail `json:"DiscoveredResourceDetail" xml:"DiscoveredResourceDetail"`
}

GetAggregateDiscoveredResourceResponse is the response struct for api GetAggregateDiscoveredResource

func CreateGetAggregateDiscoveredResourceResponse added in v1.61.1380

func CreateGetAggregateDiscoveredResourceResponse() (response *GetAggregateDiscoveredResourceResponse)

CreateGetAggregateDiscoveredResourceResponse creates a response to parse from GetAggregateDiscoveredResource response

type GetDiscoveredResourceCountsRequest

type GetDiscoveredResourceCountsRequest struct {
	*requests.RpcRequest
	MultiAccount requests.Boolean `position:"Query" name:"MultiAccount"`
	GroupByKey   string           `position:"Query" name:"GroupByKey"`
	MemberId     requests.Integer `position:"Query" name:"MemberId"`
}

GetDiscoveredResourceCountsRequest is the request struct for api GetDiscoveredResourceCounts

func CreateGetDiscoveredResourceCountsRequest

func CreateGetDiscoveredResourceCountsRequest() (request *GetDiscoveredResourceCountsRequest)

CreateGetDiscoveredResourceCountsRequest creates a request to invoke GetDiscoveredResourceCounts API

type GetDiscoveredResourceCountsResponse

type GetDiscoveredResourceCountsResponse struct {
	*responses.BaseResponse
	RequestId             string                `json:"RequestId" xml:"RequestId"`
	GroupedResourceCounts GroupedResourceCounts `json:"GroupedResourceCounts" xml:"GroupedResourceCounts"`
}

GetDiscoveredResourceCountsResponse is the response struct for api GetDiscoveredResourceCounts

func CreateGetDiscoveredResourceCountsResponse

func CreateGetDiscoveredResourceCountsResponse() (response *GetDiscoveredResourceCountsResponse)

CreateGetDiscoveredResourceCountsResponse creates a response to parse from GetDiscoveredResourceCounts response

type GetDiscoveredResourceSummaryRequest

type GetDiscoveredResourceSummaryRequest struct {
	*requests.RpcRequest
	MultiAccount requests.Boolean `position:"Query" name:"MultiAccount"`
	MemberId     requests.Integer `position:"Query" name:"MemberId"`
}

GetDiscoveredResourceSummaryRequest is the request struct for api GetDiscoveredResourceSummary

func CreateGetDiscoveredResourceSummaryRequest

func CreateGetDiscoveredResourceSummaryRequest() (request *GetDiscoveredResourceSummaryRequest)

CreateGetDiscoveredResourceSummaryRequest creates a request to invoke GetDiscoveredResourceSummary API

type GetDiscoveredResourceSummaryResponse

type GetDiscoveredResourceSummaryResponse struct {
	*responses.BaseResponse
	RequestId                 string                    `json:"RequestId" xml:"RequestId"`
	DiscoveredResourceSummary DiscoveredResourceSummary `json:"DiscoveredResourceSummary" xml:"DiscoveredResourceSummary"`
}

GetDiscoveredResourceSummaryResponse is the response struct for api GetDiscoveredResourceSummary

func CreateGetDiscoveredResourceSummaryResponse

func CreateGetDiscoveredResourceSummaryResponse() (response *GetDiscoveredResourceSummaryResponse)

CreateGetDiscoveredResourceSummaryResponse creates a response to parse from GetDiscoveredResourceSummary response

type GetResourceComplianceTimelineRequest

type GetResourceComplianceTimelineRequest struct {
	*requests.RpcRequest
	MultiAccount requests.Boolean `position:"Query" name:"MultiAccount"`
	StartTime    requests.Integer `position:"Query" name:"StartTime"`
	NextToken    string           `position:"Query" name:"NextToken"`
	Limit        requests.Integer `position:"Query" name:"Limit"`
	ResourceId   string           `position:"Query" name:"ResourceId"`
	EndTime      requests.Integer `position:"Query" name:"EndTime"`
	ResourceType string           `position:"Query" name:"ResourceType"`
	Region       string           `position:"Query" name:"Region"`
	MemberId     string           `position:"Query" name:"MemberId"`
}

GetResourceComplianceTimelineRequest is the request struct for api GetResourceComplianceTimeline

func CreateGetResourceComplianceTimelineRequest

func CreateGetResourceComplianceTimelineRequest() (request *GetResourceComplianceTimelineRequest)

CreateGetResourceComplianceTimelineRequest creates a request to invoke GetResourceComplianceTimeline API

type GetResourceComplianceTimelineResponse

type GetResourceComplianceTimelineResponse struct {
	*responses.BaseResponse
	RequestId                  string                     `json:"RequestId" xml:"RequestId"`
	ResourceComplianceTimeline ResourceComplianceTimeline `json:"ResourceComplianceTimeline" xml:"ResourceComplianceTimeline"`
}

GetResourceComplianceTimelineResponse is the response struct for api GetResourceComplianceTimeline

func CreateGetResourceComplianceTimelineResponse

func CreateGetResourceComplianceTimelineResponse() (response *GetResourceComplianceTimelineResponse)

CreateGetResourceComplianceTimelineResponse creates a response to parse from GetResourceComplianceTimeline response

type GetResourceConfigurationTimelineRequest

type GetResourceConfigurationTimelineRequest struct {
	*requests.RpcRequest
	MultiAccount requests.Boolean `position:"Query" name:"MultiAccount"`
	StartTime    requests.Integer `position:"Query" name:"StartTime"`
	NextToken    string           `position:"Query" name:"NextToken"`
	Limit        requests.Integer `position:"Query" name:"Limit"`
	ResourceId   string           `position:"Query" name:"ResourceId"`
	EndTime      requests.Integer `position:"Query" name:"EndTime"`
	ResourceType string           `position:"Query" name:"ResourceType"`
	Region       string           `position:"Query" name:"Region"`
	MemberId     requests.Integer `position:"Query" name:"MemberId"`
}

GetResourceConfigurationTimelineRequest is the request struct for api GetResourceConfigurationTimeline

func CreateGetResourceConfigurationTimelineRequest

func CreateGetResourceConfigurationTimelineRequest() (request *GetResourceConfigurationTimelineRequest)

CreateGetResourceConfigurationTimelineRequest creates a request to invoke GetResourceConfigurationTimeline API

type GetResourceConfigurationTimelineResponse

type GetResourceConfigurationTimelineResponse struct {
	*responses.BaseResponse
	RequestId                     string                        `json:"RequestId" xml:"RequestId"`
	ResourceConfigurationTimeline ResourceConfigurationTimeline `json:"ResourceConfigurationTimeline" xml:"ResourceConfigurationTimeline"`
}

GetResourceConfigurationTimelineResponse is the response struct for api GetResourceConfigurationTimeline

func CreateGetResourceConfigurationTimelineResponse

func CreateGetResourceConfigurationTimelineResponse() (response *GetResourceConfigurationTimelineResponse)

CreateGetResourceConfigurationTimelineResponse creates a response to parse from GetResourceConfigurationTimeline response

type GetSupportedResourceTypesRequest

type GetSupportedResourceTypesRequest struct {
	*requests.RpcRequest
}

GetSupportedResourceTypesRequest is the request struct for api GetSupportedResourceTypes

func CreateGetSupportedResourceTypesRequest

func CreateGetSupportedResourceTypesRequest() (request *GetSupportedResourceTypesRequest)

CreateGetSupportedResourceTypesRequest creates a request to invoke GetSupportedResourceTypes API

type GetSupportedResourceTypesResponse

type GetSupportedResourceTypesResponse struct {
	*responses.BaseResponse
	RequestId     string   `json:"RequestId" xml:"RequestId"`
	ResourceTypes []string `json:"ResourceTypes" xml:"ResourceTypes"`
}

GetSupportedResourceTypesResponse is the response struct for api GetSupportedResourceTypes

func CreateGetSupportedResourceTypesResponse

func CreateGetSupportedResourceTypesResponse() (response *GetSupportedResourceTypesResponse)

CreateGetSupportedResourceTypesResponse creates a response to parse from GetSupportedResourceTypes response

type GroupedResourceCount

type GroupedResourceCount struct {
	ResourceCount int64  `json:"ResourceCount" xml:"ResourceCount"`
	GroupName     string `json:"GroupName" xml:"GroupName"`
}

GroupedResourceCount is a nested struct in config response

type GroupedResourceCountList

type GroupedResourceCountList struct {
	GroupedResourceCount []GroupedResourceCount `json:"GroupedResourceCount" xml:"GroupedResourceCount"`
}

GroupedResourceCountList is a nested struct in config response

type GroupedResourceCounts

type GroupedResourceCounts struct {
	GroupByKey               string                 `json:"GroupByKey" xml:"GroupByKey"`
	GroupedResourceCountList []GroupedResourceCount `json:"GroupedResourceCountList" xml:"GroupedResourceCountList"`
}

GroupedResourceCounts is a nested struct in config response

type Labels

type Labels struct {
	Labels []string `json:"Labels" xml:"Labels"`
}

Labels is a nested struct in config response

type ListAggregateDiscoveredResourcesRequest added in v1.61.1380

type ListAggregateDiscoveredResourcesRequest struct {
	*requests.RpcRequest
	ResourceDeleted requests.Integer `position:"Query" name:"ResourceDeleted"`
	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
	Regions         string           `position:"Query" name:"Regions"`
	AggregatorId    string           `position:"Query" name:"AggregatorId"`
	PageNumber      requests.Integer `position:"Query" name:"PageNumber"`
	FolderId        string           `position:"Query" name:"FolderId"`
	PageSize        requests.Integer `position:"Query" name:"PageSize"`
	ComplianceType  string           `position:"Query" name:"ComplianceType"`
	ResourceId      string           `position:"Query" name:"ResourceId"`
	ResourceTypes   string           `position:"Query" name:"ResourceTypes"`
}

ListAggregateDiscoveredResourcesRequest is the request struct for api ListAggregateDiscoveredResources

func CreateListAggregateDiscoveredResourcesRequest added in v1.61.1380

func CreateListAggregateDiscoveredResourcesRequest() (request *ListAggregateDiscoveredResourcesRequest)

CreateListAggregateDiscoveredResourcesRequest creates a request to invoke ListAggregateDiscoveredResources API

type ListAggregateDiscoveredResourcesResponse added in v1.61.1380

type ListAggregateDiscoveredResourcesResponse struct {
	*responses.BaseResponse
	RequestId                  string                     `json:"RequestId" xml:"RequestId"`
	DiscoveredResourceProfiles DiscoveredResourceProfiles `json:"DiscoveredResourceProfiles" xml:"DiscoveredResourceProfiles"`
}

ListAggregateDiscoveredResourcesResponse is the response struct for api ListAggregateDiscoveredResources

func CreateListAggregateDiscoveredResourcesResponse added in v1.61.1380

func CreateListAggregateDiscoveredResourcesResponse() (response *ListAggregateDiscoveredResourcesResponse)

CreateListAggregateDiscoveredResourcesResponse creates a response to parse from ListAggregateDiscoveredResources response

type ListConfigRulesRequest

type ListConfigRulesRequest struct {
	*requests.RpcRequest
	MultiAccount                     requests.Boolean   `position:"Query" name:"MultiAccount"`
	FilterInCompliancePack           requests.Boolean   `position:"Query" name:"FilterInCompliancePack"`
	MessageType                      string             `position:"Query" name:"MessageType"`
	ConfigRuleState                  string             `position:"Query" name:"ConfigRuleState"`
	FilterInCompliancePackExcludeIds string             `position:"Query" name:"FilterInCompliancePackExcludeIds"`
	PageNumber                       requests.Integer   `position:"Query" name:"PageNumber"`
	PageSize                         requests.Integer   `position:"Query" name:"PageSize"`
	CompliancePackId                 string             `position:"Query" name:"CompliancePackId"`
	Tag                              ListConfigRulesTag `position:"Query" name:"Tag"  type:"Struct"`
	ComplianceType                   string             `position:"Query" name:"ComplianceType"`
	ConfigRuleSceneId                string             `position:"Query" name:"ConfigRuleSceneId"`
	RiskLevel                        requests.Integer   `position:"Query" name:"RiskLevel"`
	ConfigRuleName                   string             `position:"Query" name:"ConfigRuleName"`
	MemberId                         requests.Integer   `position:"Query" name:"MemberId"`
}

ListConfigRulesRequest is the request struct for api ListConfigRules

func CreateListConfigRulesRequest

func CreateListConfigRulesRequest() (request *ListConfigRulesRequest)

CreateListConfigRulesRequest creates a request to invoke ListConfigRules API

type ListConfigRulesResponse

type ListConfigRulesResponse struct {
	*responses.BaseResponse
	RequestId   string      `json:"RequestId" xml:"RequestId"`
	ConfigRules ConfigRules `json:"ConfigRules" xml:"ConfigRules"`
}

ListConfigRulesResponse is the response struct for api ListConfigRules

func CreateListConfigRulesResponse

func CreateListConfigRulesResponse() (response *ListConfigRulesResponse)

CreateListConfigRulesResponse creates a response to parse from ListConfigRules response

type ListConfigRulesTag added in v1.61.1718

type ListConfigRulesTag struct {
	Value string `name:"Value"`
	Key   string `name:"Key"`
}

ListConfigRulesTag is a repeated param struct in ListConfigRulesRequest

type ListDiscoveredResourcesRequest

type ListDiscoveredResourcesRequest struct {
	*requests.RpcRequest
	ResourceDeleted requests.Integer `position:"Query" name:"ResourceDeleted"`
	MultiAccount    requests.Boolean `position:"Query" name:"MultiAccount"`
	Regions         string           `position:"Query" name:"Regions"`
	PageNumber      requests.Integer `position:"Query" name:"PageNumber"`
	PageSize        requests.Integer `position:"Query" name:"PageSize"`
	ComplianceType  string           `position:"Query" name:"ComplianceType"`
	ResourceId      string           `position:"Query" name:"ResourceId"`
	ResourceTypes   string           `position:"Query" name:"ResourceTypes"`
	MemberId        requests.Integer `position:"Query" name:"MemberId"`
}

ListDiscoveredResourcesRequest is the request struct for api ListDiscoveredResources

func CreateListDiscoveredResourcesRequest

func CreateListDiscoveredResourcesRequest() (request *ListDiscoveredResourcesRequest)

CreateListDiscoveredResourcesRequest creates a request to invoke ListDiscoveredResources API

type ListDiscoveredResourcesResponse

type ListDiscoveredResourcesResponse struct {
	*responses.BaseResponse
	RequestId                  string                     `json:"RequestId" xml:"RequestId"`
	DiscoveredResourceProfiles DiscoveredResourceProfiles `json:"DiscoveredResourceProfiles" xml:"DiscoveredResourceProfiles"`
}

ListDiscoveredResourcesResponse is the response struct for api ListDiscoveredResources

func CreateListDiscoveredResourcesResponse

func CreateListDiscoveredResourcesResponse() (response *ListDiscoveredResourcesResponse)

CreateListDiscoveredResourcesResponse creates a response to parse from ListDiscoveredResources response

type ListRemediationTemplatesRequest added in v1.61.1380

type ListRemediationTemplatesRequest struct {
	*requests.RpcRequest
	ManagedRuleIdentifier string `position:"Query" name:"ManagedRuleIdentifier"`
	RemediationType       string `position:"Query" name:"RemediationType"`
}

ListRemediationTemplatesRequest is the request struct for api ListRemediationTemplates

func CreateListRemediationTemplatesRequest added in v1.61.1380

func CreateListRemediationTemplatesRequest() (request *ListRemediationTemplatesRequest)

CreateListRemediationTemplatesRequest creates a request to invoke ListRemediationTemplates API

type ListRemediationTemplatesResponse added in v1.61.1380

type ListRemediationTemplatesResponse struct {
	*responses.BaseResponse
	RequestId            string                `json:"RequestId" xml:"RequestId"`
	RemediationTemplates []RemediationTemplate `json:"RemediationTemplates" xml:"RemediationTemplates"`
}

ListRemediationTemplatesResponse is the response struct for api ListRemediationTemplates

func CreateListRemediationTemplatesResponse added in v1.61.1380

func CreateListRemediationTemplatesResponse() (response *ListRemediationTemplatesResponse)

CreateListRemediationTemplatesResponse creates a response to parse from ListRemediationTemplates response

type ManagedRule

type ManagedRule struct {
	HelpUrl                         string                 `json:"HelpUrl" xml:"HelpUrl"`
	Description                     string                 `json:"Description" xml:"Description"`
	Identifier                      string                 `json:"Identifier" xml:"Identifier"`
	OptionalInputParameterDetails   map[string]interface{} `json:"OptionalInputParameterDetails" xml:"OptionalInputParameterDetails"`
	ManagedRuleName                 string                 `json:"ManagedRuleName" xml:"ManagedRuleName"`
	CompulsoryInputParameterDetails map[string]interface{} `json:"CompulsoryInputParameterDetails" xml:"CompulsoryInputParameterDetails"`
	Labels                          []string               `json:"Labels" xml:"Labels"`
	SourceDetails                   []SourceDetailsItem    `json:"SourceDetails" xml:"SourceDetails"`
}

ManagedRule is a nested struct in config response

type OperateRuleItem

type OperateRuleItem struct {
	Success      bool   `json:"Success" xml:"Success"`
	ErrorCode    string `json:"ErrorCode" xml:"ErrorCode"`
	ConfigRuleId string `json:"ConfigRuleId" xml:"ConfigRuleId"`
}

OperateRuleItem is a nested struct in config response

type OperateRuleItemListInActiveConfigRules

type OperateRuleItemListInActiveConfigRules struct {
	OperateRuleItem []OperateRuleItem `json:"OperateRuleItem" xml:"OperateRuleItem"`
}

OperateRuleItemListInActiveConfigRules is a nested struct in config response

type OperateRuleItemListInDeleteConfigRules

type OperateRuleItemListInDeleteConfigRules struct {
	OperateRuleItem []OperateRuleItem `json:"OperateRuleItem" xml:"OperateRuleItem"`
}

OperateRuleItemListInDeleteConfigRules is a nested struct in config response

type OperateRuleItemListInStopConfigRules

type OperateRuleItemListInStopConfigRules struct {
	OperateRuleItem []OperateRuleItem `json:"OperateRuleItem" xml:"OperateRuleItem"`
}

OperateRuleItemListInStopConfigRules is a nested struct in config response

type OperateRuleResult

type OperateRuleResult struct {
	OperateRuleItemList []OperateRuleItem `json:"OperateRuleItemList" xml:"OperateRuleItemList"`
}

OperateRuleResult is a nested struct in config response

type PutConfigRuleRequest

type PutConfigRuleRequest struct {
	*requests.RpcRequest
	ConfigRuleId                      string           `position:"Body" name:"ConfigRuleId"`
	MultiAccount                      requests.Boolean `position:"Query" name:"MultiAccount"`
	ClientToken                       string           `position:"Body" name:"ClientToken"`
	Description                       string           `position:"Body" name:"Description"`
	SourceIdentifier                  string           `position:"Body" name:"SourceIdentifier"`
	SourceMaximumExecutionFrequency   string           `position:"Body" name:"SourceMaximumExecutionFrequency"`
	ScopeComplianceResourceTypes      string           `position:"Body" name:"ScopeComplianceResourceTypes"`
	SourceDetailMessageType           string           `position:"Body" name:"SourceDetailMessageType"`
	RiskLevel                         requests.Integer `position:"Body" name:"RiskLevel"`
	SourceOwner                       string           `position:"Body" name:"SourceOwner"`
	InputParameters                   string           `position:"Body" name:"InputParameters"`
	ScopeComplianceExcludeResourceIds string           `position:"Body" name:"ScopeComplianceExcludeResourceIds"`
	ConfigRuleName                    string           `position:"Body" name:"ConfigRuleName"`
	ScopeComplianceResourceId         string           `position:"Body" name:"ScopeComplianceResourceId"`
	ScopeComplianceResourceIds        string           `position:"Body" name:"ScopeComplianceResourceIds"`
	ScopeComplianceRegionIds          string           `position:"Body" name:"ScopeComplianceRegionIds"`
	MemberId                          requests.Integer `position:"Query" name:"MemberId"`
}

PutConfigRuleRequest is the request struct for api PutConfigRule

func CreatePutConfigRuleRequest

func CreatePutConfigRuleRequest() (request *PutConfigRuleRequest)

CreatePutConfigRuleRequest creates a request to invoke PutConfigRule API

type PutConfigRuleResponse

type PutConfigRuleResponse struct {
	*responses.BaseResponse
	ConfigRuleId string `json:"ConfigRuleId" xml:"ConfigRuleId"`
	RequestId    string `json:"RequestId" xml:"RequestId"`
}

PutConfigRuleResponse is the response struct for api PutConfigRule

func CreatePutConfigRuleResponse

func CreatePutConfigRuleResponse() (response *PutConfigRuleResponse)

CreatePutConfigRuleResponse creates a response to parse from PutConfigRule response

type PutConfigurationRecorderRequest

type PutConfigurationRecorderRequest struct {
	*requests.RpcRequest
	ResourceTypes string `position:"Body" name:"ResourceTypes"`
}

PutConfigurationRecorderRequest is the request struct for api PutConfigurationRecorder

func CreatePutConfigurationRecorderRequest

func CreatePutConfigurationRecorderRequest() (request *PutConfigurationRecorderRequest)

CreatePutConfigurationRecorderRequest creates a request to invoke PutConfigurationRecorder API

type PutConfigurationRecorderResponse

type PutConfigurationRecorderResponse struct {
	*responses.BaseResponse
	RequestId             string                `json:"RequestId" xml:"RequestId"`
	ConfigurationRecorder ConfigurationRecorder `json:"ConfigurationRecorder" xml:"ConfigurationRecorder"`
}

PutConfigurationRecorderResponse is the response struct for api PutConfigurationRecorder

func CreatePutConfigurationRecorderResponse

func CreatePutConfigurationRecorderResponse() (response *PutConfigurationRecorderResponse)

CreatePutConfigurationRecorderResponse creates a response to parse from PutConfigurationRecorder response

type PutDeliveryChannelRequest

type PutDeliveryChannelRequest struct {
	*requests.RpcRequest
	ClientToken                  string           `position:"Body" name:"ClientToken"`
	Description                  string           `position:"Body" name:"Description"`
	DeliveryChannelTargetArn     string           `position:"Body" name:"DeliveryChannelTargetArn"`
	DeliveryChannelCondition     string           `position:"Body" name:"DeliveryChannelCondition"`
	DeliveryChannelAssumeRoleArn string           `position:"Body" name:"DeliveryChannelAssumeRoleArn"`
	DeliveryChannelName          string           `position:"Body" name:"DeliveryChannelName"`
	DeliveryChannelId            string           `position:"Body" name:"DeliveryChannelId"`
	DeliveryChannelType          string           `position:"Body" name:"DeliveryChannelType"`
	Status                       requests.Integer `position:"Body" name:"Status"`
}

PutDeliveryChannelRequest is the request struct for api PutDeliveryChannel

func CreatePutDeliveryChannelRequest

func CreatePutDeliveryChannelRequest() (request *PutDeliveryChannelRequest)

CreatePutDeliveryChannelRequest creates a request to invoke PutDeliveryChannel API

type PutDeliveryChannelResponse

type PutDeliveryChannelResponse struct {
	*responses.BaseResponse
	RequestId         string `json:"RequestId" xml:"RequestId"`
	DeliveryChannelId string `json:"DeliveryChannelId" xml:"DeliveryChannelId"`
}

PutDeliveryChannelResponse is the response struct for api PutDeliveryChannel

func CreatePutDeliveryChannelResponse

func CreatePutDeliveryChannelResponse() (response *PutDeliveryChannelResponse)

CreatePutDeliveryChannelResponse creates a response to parse from PutDeliveryChannel response

type PutEvaluationsRequest

type PutEvaluationsRequest struct {
	*requests.RpcRequest
	Evaluations string           `position:"Body" name:"Evaluations"`
	DeleteMode  requests.Boolean `position:"Body" name:"DeleteMode"`
	ResultToken string           `position:"Body" name:"ResultToken"`
}

PutEvaluationsRequest is the request struct for api PutEvaluations

func CreatePutEvaluationsRequest

func CreatePutEvaluationsRequest() (request *PutEvaluationsRequest)

CreatePutEvaluationsRequest creates a request to invoke PutEvaluations API

type PutEvaluationsResponse

type PutEvaluationsResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Result    bool   `json:"Result" xml:"Result"`
}

PutEvaluationsResponse is the response struct for api PutEvaluations

func CreatePutEvaluationsResponse

func CreatePutEvaluationsResponse() (response *PutEvaluationsResponse)

CreatePutEvaluationsResponse creates a response to parse from PutEvaluations response

type RemediationTemplate added in v1.61.1380

type RemediationTemplate struct {
	CompulsoryParameters string `json:"CompulsoryParameters" xml:"CompulsoryParameters"`
	RemediationType      string `json:"RemediationType" xml:"RemediationType"`
	TemplateIdentifier   string `json:"TemplateIdentifier" xml:"TemplateIdentifier"`
	TemplateName         string `json:"TemplateName" xml:"TemplateName"`
	TemplateDefinition   string `json:"TemplateDefinition" xml:"TemplateDefinition"`
}

RemediationTemplate is a nested struct in config response

type RemediationTemplates added in v1.61.1380

type RemediationTemplates struct {
	RemediationTemplate []RemediationTemplate `json:"RemediationTemplate" xml:"RemediationTemplate"`
}

RemediationTemplates is a nested struct in config response

type ResourceComplianceTimeline

type ResourceComplianceTimeline struct {
	NextToken      string               `json:"NextToken" xml:"NextToken"`
	Limit          int                  `json:"Limit" xml:"Limit"`
	TotalCount     int64                `json:"TotalCount" xml:"TotalCount"`
	ComplianceList []ComplianceListItem `json:"ComplianceList" xml:"ComplianceList"`
}

ResourceComplianceTimeline is a nested struct in config response

type ResourceConfigurationTimeline

type ResourceConfigurationTimeline struct {
	NextToken         string                  `json:"NextToken" xml:"NextToken"`
	Limit             int                     `json:"Limit" xml:"Limit"`
	TotalCount        int64                   `json:"TotalCount" xml:"TotalCount"`
	ConfigurationList []ConfigurationListItem `json:"ConfigurationList" xml:"ConfigurationList"`
}

ResourceConfigurationTimeline is a nested struct in config response

type ResourceTypesInDescribeConfigurationRecorder

type ResourceTypesInDescribeConfigurationRecorder struct {
	ResourceType []string `json:"ResourceType" xml:"ResourceType"`
}

ResourceTypesInDescribeConfigurationRecorder is a nested struct in config response

type ResourceTypesInGetSupportedResourceTypes

type ResourceTypesInGetSupportedResourceTypes struct {
	ResourceType []string `json:"ResourceType" xml:"ResourceType"`
}

ResourceTypesInGetSupportedResourceTypes is a nested struct in config response

type ResourceTypesInPutConfigurationRecorder

type ResourceTypesInPutConfigurationRecorder struct {
	ResourceType []string `json:"ResourceType" xml:"ResourceType"`
}

ResourceTypesInPutConfigurationRecorder is a nested struct in config response

type ResourceTypesInStartConfigurationRecorder

type ResourceTypesInStartConfigurationRecorder struct {
	ResourceType []string `json:"ResourceType" xml:"ResourceType"`
}

ResourceTypesInStartConfigurationRecorder is a nested struct in config response

type Scope

type Scope struct {
	ComplianceResourceId    string   `json:"ComplianceResourceId" xml:"ComplianceResourceId"`
	ComplianceResourceTypes []string `json:"ComplianceResourceTypes" xml:"ComplianceResourceTypes"`
}

Scope is a nested struct in config response

type Source

type Source struct {
	Owner            string                 `json:"Owner" xml:"Owner"`
	Identifier       string                 `json:"Identifier" xml:"Identifier"`
	SourceDetails    []SourceDetailsItem    `json:"SourceDetails" xml:"SourceDetails"`
	SourceConditions []SourceConditionsItem `json:"SourceConditions" xml:"SourceConditions"`
}

Source is a nested struct in config response

type SourceConditions

type SourceConditions struct {
	SourceConditionsItem []SourceConditionsItem `json:"SourceConditions" xml:"SourceConditions"`
}

SourceConditions is a nested struct in config response

type SourceConditionsItem

type SourceConditionsItem struct {
	DesiredValue string `json:"DesiredValue" xml:"DesiredValue"`
	Required     bool   `json:"Required" xml:"Required"`
	Tips         string `json:"Tips" xml:"Tips"`
	Operator     string `json:"Operator" xml:"Operator"`
	Name         string `json:"Name" xml:"Name"`
	SelectPath   string `json:"SelectPath" xml:"SelectPath"`
}

SourceConditionsItem is a nested struct in config response

type SourceDetailsInDescribeConfigRule

type SourceDetailsInDescribeConfigRule struct {
	SourceDetailsItem []SourceDetailsItem `json:"SourceDetails" xml:"SourceDetails"`
}

SourceDetailsInDescribeConfigRule is a nested struct in config response

type SourceDetailsItem

type SourceDetailsItem struct {
	EventSource               string `json:"EventSource" xml:"EventSource"`
	MessageType               string `json:"MessageType" xml:"MessageType"`
	MaximumExecutionFrequency string `json:"MaximumExecutionFrequency" xml:"MaximumExecutionFrequency"`
}

SourceDetailsItem is a nested struct in config response

type StartConfigRuleEvaluationRequest

type StartConfigRuleEvaluationRequest struct {
	*requests.RpcRequest
	ConfigRuleId     string           `position:"Query" name:"ConfigRuleId"`
	MultiAccount     requests.Boolean `position:"Query" name:"MultiAccount"`
	CompliancePackId string           `position:"Query" name:"CompliancePackId"`
	RevertEvaluation requests.Boolean `position:"Query" name:"RevertEvaluation"`
	MemberId         requests.Integer `position:"Query" name:"MemberId"`
}

StartConfigRuleEvaluationRequest is the request struct for api StartConfigRuleEvaluation

func CreateStartConfigRuleEvaluationRequest

func CreateStartConfigRuleEvaluationRequest() (request *StartConfigRuleEvaluationRequest)

CreateStartConfigRuleEvaluationRequest creates a request to invoke StartConfigRuleEvaluation API

type StartConfigRuleEvaluationResponse

type StartConfigRuleEvaluationResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Result    bool   `json:"Result" xml:"Result"`
}

StartConfigRuleEvaluationResponse is the response struct for api StartConfigRuleEvaluation

func CreateStartConfigRuleEvaluationResponse

func CreateStartConfigRuleEvaluationResponse() (response *StartConfigRuleEvaluationResponse)

CreateStartConfigRuleEvaluationResponse creates a response to parse from StartConfigRuleEvaluation response

type StartConfigurationRecorderRequest

type StartConfigurationRecorderRequest struct {
	*requests.RpcRequest
	EnterpriseEdition requests.Boolean `position:"Body" name:"EnterpriseEdition"`
}

StartConfigurationRecorderRequest is the request struct for api StartConfigurationRecorder

func CreateStartConfigurationRecorderRequest

func CreateStartConfigurationRecorderRequest() (request *StartConfigurationRecorderRequest)

CreateStartConfigurationRecorderRequest creates a request to invoke StartConfigurationRecorder API

type StartConfigurationRecorderResponse

type StartConfigurationRecorderResponse struct {
	*responses.BaseResponse
	RequestId             string                `json:"RequestId" xml:"RequestId"`
	ConfigurationRecorder ConfigurationRecorder `json:"ConfigurationRecorder" xml:"ConfigurationRecorder"`
}

StartConfigurationRecorderResponse is the response struct for api StartConfigurationRecorder

func CreateStartConfigurationRecorderResponse

func CreateStartConfigurationRecorderResponse() (response *StartConfigurationRecorderResponse)

CreateStartConfigurationRecorderResponse creates a response to parse from StartConfigurationRecorder response

type StopConfigRulesRequest

type StopConfigRulesRequest struct {
	*requests.RpcRequest
	ConfigRuleIds string `position:"Query" name:"ConfigRuleIds"`
}

StopConfigRulesRequest is the request struct for api StopConfigRules

func CreateStopConfigRulesRequest

func CreateStopConfigRulesRequest() (request *StopConfigRulesRequest)

CreateStopConfigRulesRequest creates a request to invoke StopConfigRules API

type StopConfigRulesResponse

type StopConfigRulesResponse struct {
	*responses.BaseResponse
	RequestId         string            `json:"RequestId" xml:"RequestId"`
	OperateRuleResult OperateRuleResult `json:"OperateRuleResult" xml:"OperateRuleResult"`
}

StopConfigRulesResponse is the response struct for api StopConfigRules

func CreateStopConfigRulesResponse

func CreateStopConfigRulesResponse() (response *StopConfigRulesResponse)

CreateStopConfigRulesResponse creates a response to parse from StopConfigRules response

type Tag added in v1.61.1685

type Tag struct {
	Key   string `json:"Key" xml:"Key"`
	Value string `json:"Value" xml:"Value"`
}

Tag is a nested struct in config response

type Tags added in v1.61.1685

type Tags struct {
	Tag []Tag `json:"tag" xml:"tag"`
}

Tags is a nested struct in config response

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL