tag

package
v1.63.54 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 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 = "regional"

EndpointType regional or central

Functions

func GetEndpointMap

func GetEndpointMap() map[string]string

GetEndpointMap Get Endpoint Data Map

func GetEndpointType

func GetEndpointType() string

GetEndpointType Get Endpoint Type Value

func SetClientProperty

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

SetClientProperty Set Property by Reflect

func SetEndpointDataToClient

func SetEndpointDataToClient(client *Client)

SetEndpointDataToClient Set EndpointMap and ENdpointType

Types

type AttachPolicyRequest added in v1.61.1661

type AttachPolicyRequest struct {
	*requests.RpcRequest
	TargetId             string           `position:"Query" name:"TargetId"`
	TargetType           string           `position:"Query" name:"TargetType"`
	PolicyId             string           `position:"Query" name:"PolicyId"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
}

AttachPolicyRequest is the request struct for api AttachPolicy

func CreateAttachPolicyRequest added in v1.61.1661

func CreateAttachPolicyRequest() (request *AttachPolicyRequest)

CreateAttachPolicyRequest creates a request to invoke AttachPolicy API

type AttachPolicyResponse added in v1.61.1661

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

AttachPolicyResponse is the response struct for api AttachPolicy

func CreateAttachPolicyResponse added in v1.61.1661

func CreateAttachPolicyResponse() (response *AttachPolicyResponse)

CreateAttachPolicyResponse creates a response to parse from AttachPolicy response

type CheckCreatedByEnabledRequest added in v1.62.377

type CheckCreatedByEnabledRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      string           `position:"Query" name:"ResourceOwnerId"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
}

CheckCreatedByEnabledRequest is the request struct for api CheckCreatedByEnabled

func CreateCheckCreatedByEnabledRequest added in v1.62.377

func CreateCheckCreatedByEnabledRequest() (request *CheckCreatedByEnabledRequest)

CreateCheckCreatedByEnabledRequest creates a request to invoke CheckCreatedByEnabled API

type CheckCreatedByEnabledResponse added in v1.62.377

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

CheckCreatedByEnabledResponse is the response struct for api CheckCreatedByEnabled

func CreateCheckCreatedByEnabledResponse added in v1.62.377

func CreateCheckCreatedByEnabledResponse() (response *CheckCreatedByEnabledResponse)

CreateCheckCreatedByEnabledResponse creates a response to parse from CheckCreatedByEnabled 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) AttachPolicy added in v1.61.1661

func (client *Client) AttachPolicy(request *AttachPolicyRequest) (response *AttachPolicyResponse, err error)

AttachPolicy invokes the tag.AttachPolicy API synchronously

func (*Client) AttachPolicyWithCallback added in v1.61.1661

func (client *Client) AttachPolicyWithCallback(request *AttachPolicyRequest, callback func(response *AttachPolicyResponse, err error)) <-chan int

AttachPolicyWithCallback invokes the tag.AttachPolicy API asynchronously

func (*Client) AttachPolicyWithChan added in v1.61.1661

func (client *Client) AttachPolicyWithChan(request *AttachPolicyRequest) (<-chan *AttachPolicyResponse, <-chan error)

AttachPolicyWithChan invokes the tag.AttachPolicy API asynchronously

func (*Client) CheckCreatedByEnabled added in v1.62.377

func (client *Client) CheckCreatedByEnabled(request *CheckCreatedByEnabledRequest) (response *CheckCreatedByEnabledResponse, err error)

CheckCreatedByEnabled invokes the tag.CheckCreatedByEnabled API synchronously

func (*Client) CheckCreatedByEnabledWithCallback added in v1.62.377

func (client *Client) CheckCreatedByEnabledWithCallback(request *CheckCreatedByEnabledRequest, callback func(response *CheckCreatedByEnabledResponse, err error)) <-chan int

CheckCreatedByEnabledWithCallback invokes the tag.CheckCreatedByEnabled API asynchronously

func (*Client) CheckCreatedByEnabledWithChan added in v1.62.377

func (client *Client) CheckCreatedByEnabledWithChan(request *CheckCreatedByEnabledRequest) (<-chan *CheckCreatedByEnabledResponse, <-chan error)

CheckCreatedByEnabledWithChan invokes the tag.CheckCreatedByEnabled API asynchronously

func (*Client) CloseCreatedBy added in v1.62.377

func (client *Client) CloseCreatedBy(request *CloseCreatedByRequest) (response *CloseCreatedByResponse, err error)

CloseCreatedBy invokes the tag.CloseCreatedBy API synchronously

func (*Client) CloseCreatedByWithCallback added in v1.62.377

func (client *Client) CloseCreatedByWithCallback(request *CloseCreatedByRequest, callback func(response *CloseCreatedByResponse, err error)) <-chan int

CloseCreatedByWithCallback invokes the tag.CloseCreatedBy API asynchronously

func (*Client) CloseCreatedByWithChan added in v1.62.377

func (client *Client) CloseCreatedByWithChan(request *CloseCreatedByRequest) (<-chan *CloseCreatedByResponse, <-chan error)

CloseCreatedByWithChan invokes the tag.CloseCreatedBy API asynchronously

func (*Client) CreatePolicy added in v1.61.1661

func (client *Client) CreatePolicy(request *CreatePolicyRequest) (response *CreatePolicyResponse, err error)

CreatePolicy invokes the tag.CreatePolicy API synchronously

func (*Client) CreatePolicyWithCallback added in v1.61.1661

func (client *Client) CreatePolicyWithCallback(request *CreatePolicyRequest, callback func(response *CreatePolicyResponse, err error)) <-chan int

CreatePolicyWithCallback invokes the tag.CreatePolicy API asynchronously

func (*Client) CreatePolicyWithChan added in v1.61.1661

func (client *Client) CreatePolicyWithChan(request *CreatePolicyRequest) (<-chan *CreatePolicyResponse, <-chan error)

CreatePolicyWithChan invokes the tag.CreatePolicy API asynchronously

func (*Client) CreateTags added in v1.61.1370

func (client *Client) CreateTags(request *CreateTagsRequest) (response *CreateTagsResponse, err error)

CreateTags invokes the tag.CreateTags API synchronously

func (*Client) CreateTagsWithCallback added in v1.61.1370

func (client *Client) CreateTagsWithCallback(request *CreateTagsRequest, callback func(response *CreateTagsResponse, err error)) <-chan int

CreateTagsWithCallback invokes the tag.CreateTags API asynchronously

func (*Client) CreateTagsWithChan added in v1.61.1370

func (client *Client) CreateTagsWithChan(request *CreateTagsRequest) (<-chan *CreateTagsResponse, <-chan error)

CreateTagsWithChan invokes the tag.CreateTags API asynchronously

func (*Client) DeletePolicy added in v1.61.1661

func (client *Client) DeletePolicy(request *DeletePolicyRequest) (response *DeletePolicyResponse, err error)

DeletePolicy invokes the tag.DeletePolicy API synchronously

func (*Client) DeletePolicyWithCallback added in v1.61.1661

func (client *Client) DeletePolicyWithCallback(request *DeletePolicyRequest, callback func(response *DeletePolicyResponse, err error)) <-chan int

DeletePolicyWithCallback invokes the tag.DeletePolicy API asynchronously

func (*Client) DeletePolicyWithChan added in v1.61.1661

func (client *Client) DeletePolicyWithChan(request *DeletePolicyRequest) (<-chan *DeletePolicyResponse, <-chan error)

DeletePolicyWithChan invokes the tag.DeletePolicy API asynchronously

func (*Client) DeleteTag added in v1.61.1370

func (client *Client) DeleteTag(request *DeleteTagRequest) (response *DeleteTagResponse, err error)

DeleteTag invokes the tag.DeleteTag API synchronously

func (*Client) DeleteTagWithCallback added in v1.61.1370

func (client *Client) DeleteTagWithCallback(request *DeleteTagRequest, callback func(response *DeleteTagResponse, err error)) <-chan int

DeleteTagWithCallback invokes the tag.DeleteTag API asynchronously

func (*Client) DeleteTagWithChan added in v1.61.1370

func (client *Client) DeleteTagWithChan(request *DeleteTagRequest) (<-chan *DeleteTagResponse, <-chan error)

DeleteTagWithChan invokes the tag.DeleteTag API asynchronously

func (*Client) DescribeRegions added in v1.61.1370

func (client *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)

DescribeRegions invokes the tag.DescribeRegions API synchronously

func (*Client) DescribeRegionsWithCallback added in v1.61.1370

func (client *Client) DescribeRegionsWithCallback(request *DescribeRegionsRequest, callback func(response *DescribeRegionsResponse, err error)) <-chan int

DescribeRegionsWithCallback invokes the tag.DescribeRegions API asynchronously

func (*Client) DescribeRegionsWithChan added in v1.61.1370

func (client *Client) DescribeRegionsWithChan(request *DescribeRegionsRequest) (<-chan *DescribeRegionsResponse, <-chan error)

DescribeRegionsWithChan invokes the tag.DescribeRegions API asynchronously

func (*Client) DetachPolicy added in v1.61.1661

func (client *Client) DetachPolicy(request *DetachPolicyRequest) (response *DetachPolicyResponse, err error)

DetachPolicy invokes the tag.DetachPolicy API synchronously

func (*Client) DetachPolicyWithCallback added in v1.61.1661

func (client *Client) DetachPolicyWithCallback(request *DetachPolicyRequest, callback func(response *DetachPolicyResponse, err error)) <-chan int

DetachPolicyWithCallback invokes the tag.DetachPolicy API asynchronously

func (*Client) DetachPolicyWithChan added in v1.61.1661

func (client *Client) DetachPolicyWithChan(request *DetachPolicyRequest) (<-chan *DetachPolicyResponse, <-chan error)

DetachPolicyWithChan invokes the tag.DetachPolicy API asynchronously

func (*Client) DisablePolicyType added in v1.62.377

func (client *Client) DisablePolicyType(request *DisablePolicyTypeRequest) (response *DisablePolicyTypeResponse, err error)

DisablePolicyType invokes the tag.DisablePolicyType API synchronously

func (*Client) DisablePolicyTypeWithCallback added in v1.62.377

func (client *Client) DisablePolicyTypeWithCallback(request *DisablePolicyTypeRequest, callback func(response *DisablePolicyTypeResponse, err error)) <-chan int

DisablePolicyTypeWithCallback invokes the tag.DisablePolicyType API asynchronously

func (*Client) DisablePolicyTypeWithChan added in v1.62.377

func (client *Client) DisablePolicyTypeWithChan(request *DisablePolicyTypeRequest) (<-chan *DisablePolicyTypeResponse, <-chan error)

DisablePolicyTypeWithChan invokes the tag.DisablePolicyType API asynchronously

func (*Client) EnablePolicyType added in v1.62.377

func (client *Client) EnablePolicyType(request *EnablePolicyTypeRequest) (response *EnablePolicyTypeResponse, err error)

EnablePolicyType invokes the tag.EnablePolicyType API synchronously

func (*Client) EnablePolicyTypeWithCallback added in v1.62.377

func (client *Client) EnablePolicyTypeWithCallback(request *EnablePolicyTypeRequest, callback func(response *EnablePolicyTypeResponse, err error)) <-chan int

EnablePolicyTypeWithCallback invokes the tag.EnablePolicyType API asynchronously

func (*Client) EnablePolicyTypeWithChan added in v1.62.377

func (client *Client) EnablePolicyTypeWithChan(request *EnablePolicyTypeRequest) (<-chan *EnablePolicyTypeResponse, <-chan error)

EnablePolicyTypeWithChan invokes the tag.EnablePolicyType API asynchronously

func (*Client) GenerateConfigRuleReport added in v1.61.1661

func (client *Client) GenerateConfigRuleReport(request *GenerateConfigRuleReportRequest) (response *GenerateConfigRuleReportResponse, err error)

GenerateConfigRuleReport invokes the tag.GenerateConfigRuleReport API synchronously

func (*Client) GenerateConfigRuleReportWithCallback added in v1.61.1661

func (client *Client) GenerateConfigRuleReportWithCallback(request *GenerateConfigRuleReportRequest, callback func(response *GenerateConfigRuleReportResponse, err error)) <-chan int

GenerateConfigRuleReportWithCallback invokes the tag.GenerateConfigRuleReport API asynchronously

func (*Client) GenerateConfigRuleReportWithChan added in v1.61.1661

func (client *Client) GenerateConfigRuleReportWithChan(request *GenerateConfigRuleReportRequest) (<-chan *GenerateConfigRuleReportResponse, <-chan error)

GenerateConfigRuleReportWithChan invokes the tag.GenerateConfigRuleReport API asynchronously

func (*Client) GetConfigRuleReport added in v1.61.1661

func (client *Client) GetConfigRuleReport(request *GetConfigRuleReportRequest) (response *GetConfigRuleReportResponse, err error)

GetConfigRuleReport invokes the tag.GetConfigRuleReport API synchronously

func (*Client) GetConfigRuleReportWithCallback added in v1.61.1661

func (client *Client) GetConfigRuleReportWithCallback(request *GetConfigRuleReportRequest, callback func(response *GetConfigRuleReportResponse, err error)) <-chan int

GetConfigRuleReportWithCallback invokes the tag.GetConfigRuleReport API asynchronously

func (*Client) GetConfigRuleReportWithChan added in v1.61.1661

func (client *Client) GetConfigRuleReportWithChan(request *GetConfigRuleReportRequest) (<-chan *GetConfigRuleReportResponse, <-chan error)

GetConfigRuleReportWithChan invokes the tag.GetConfigRuleReport API asynchronously

func (*Client) GetEffectivePolicy added in v1.61.1661

func (client *Client) GetEffectivePolicy(request *GetEffectivePolicyRequest) (response *GetEffectivePolicyResponse, err error)

GetEffectivePolicy invokes the tag.GetEffectivePolicy API synchronously

func (*Client) GetEffectivePolicyWithCallback added in v1.61.1661

func (client *Client) GetEffectivePolicyWithCallback(request *GetEffectivePolicyRequest, callback func(response *GetEffectivePolicyResponse, err error)) <-chan int

GetEffectivePolicyWithCallback invokes the tag.GetEffectivePolicy API asynchronously

func (*Client) GetEffectivePolicyWithChan added in v1.61.1661

func (client *Client) GetEffectivePolicyWithChan(request *GetEffectivePolicyRequest) (<-chan *GetEffectivePolicyResponse, <-chan error)

GetEffectivePolicyWithChan invokes the tag.GetEffectivePolicy API asynchronously

func (*Client) GetPolicy added in v1.61.1661

func (client *Client) GetPolicy(request *GetPolicyRequest) (response *GetPolicyResponse, err error)

GetPolicy invokes the tag.GetPolicy API synchronously

func (*Client) GetPolicyEnableStatus added in v1.61.1661

func (client *Client) GetPolicyEnableStatus(request *GetPolicyEnableStatusRequest) (response *GetPolicyEnableStatusResponse, err error)

GetPolicyEnableStatus invokes the tag.GetPolicyEnableStatus API synchronously

func (*Client) GetPolicyEnableStatusWithCallback added in v1.61.1661

func (client *Client) GetPolicyEnableStatusWithCallback(request *GetPolicyEnableStatusRequest, callback func(response *GetPolicyEnableStatusResponse, err error)) <-chan int

GetPolicyEnableStatusWithCallback invokes the tag.GetPolicyEnableStatus API asynchronously

func (*Client) GetPolicyEnableStatusWithChan added in v1.61.1661

func (client *Client) GetPolicyEnableStatusWithChan(request *GetPolicyEnableStatusRequest) (<-chan *GetPolicyEnableStatusResponse, <-chan error)

GetPolicyEnableStatusWithChan invokes the tag.GetPolicyEnableStatus API asynchronously

func (*Client) GetPolicyWithCallback added in v1.61.1661

func (client *Client) GetPolicyWithCallback(request *GetPolicyRequest, callback func(response *GetPolicyResponse, err error)) <-chan int

GetPolicyWithCallback invokes the tag.GetPolicy API asynchronously

func (*Client) GetPolicyWithChan added in v1.61.1661

func (client *Client) GetPolicyWithChan(request *GetPolicyRequest) (<-chan *GetPolicyResponse, <-chan error)

GetPolicyWithChan invokes the tag.GetPolicy API asynchronously

func (*Client) ListConfigRulesForTarget added in v1.61.1661

func (client *Client) ListConfigRulesForTarget(request *ListConfigRulesForTargetRequest) (response *ListConfigRulesForTargetResponse, err error)

ListConfigRulesForTarget invokes the tag.ListConfigRulesForTarget API synchronously

func (*Client) ListConfigRulesForTargetWithCallback added in v1.61.1661

func (client *Client) ListConfigRulesForTargetWithCallback(request *ListConfigRulesForTargetRequest, callback func(response *ListConfigRulesForTargetResponse, err error)) <-chan int

ListConfigRulesForTargetWithCallback invokes the tag.ListConfigRulesForTarget API asynchronously

func (*Client) ListConfigRulesForTargetWithChan added in v1.61.1661

func (client *Client) ListConfigRulesForTargetWithChan(request *ListConfigRulesForTargetRequest) (<-chan *ListConfigRulesForTargetResponse, <-chan error)

ListConfigRulesForTargetWithChan invokes the tag.ListConfigRulesForTarget API asynchronously

func (*Client) ListPolicies added in v1.61.1661

func (client *Client) ListPolicies(request *ListPoliciesRequest) (response *ListPoliciesResponse, err error)

ListPolicies invokes the tag.ListPolicies API synchronously

func (*Client) ListPoliciesForTarget added in v1.61.1661

func (client *Client) ListPoliciesForTarget(request *ListPoliciesForTargetRequest) (response *ListPoliciesForTargetResponse, err error)

ListPoliciesForTarget invokes the tag.ListPoliciesForTarget API synchronously

func (*Client) ListPoliciesForTargetWithCallback added in v1.61.1661

func (client *Client) ListPoliciesForTargetWithCallback(request *ListPoliciesForTargetRequest, callback func(response *ListPoliciesForTargetResponse, err error)) <-chan int

ListPoliciesForTargetWithCallback invokes the tag.ListPoliciesForTarget API asynchronously

func (*Client) ListPoliciesForTargetWithChan added in v1.61.1661

func (client *Client) ListPoliciesForTargetWithChan(request *ListPoliciesForTargetRequest) (<-chan *ListPoliciesForTargetResponse, <-chan error)

ListPoliciesForTargetWithChan invokes the tag.ListPoliciesForTarget API asynchronously

func (*Client) ListPoliciesWithCallback added in v1.61.1661

func (client *Client) ListPoliciesWithCallback(request *ListPoliciesRequest, callback func(response *ListPoliciesResponse, err error)) <-chan int

ListPoliciesWithCallback invokes the tag.ListPolicies API asynchronously

func (*Client) ListPoliciesWithChan added in v1.61.1661

func (client *Client) ListPoliciesWithChan(request *ListPoliciesRequest) (<-chan *ListPoliciesResponse, <-chan error)

ListPoliciesWithChan invokes the tag.ListPolicies API asynchronously

func (*Client) ListResourcesByTag added in v1.61.1370

func (client *Client) ListResourcesByTag(request *ListResourcesByTagRequest) (response *ListResourcesByTagResponse, err error)

ListResourcesByTag invokes the tag.ListResourcesByTag API synchronously

func (*Client) ListResourcesByTagWithCallback added in v1.61.1370

func (client *Client) ListResourcesByTagWithCallback(request *ListResourcesByTagRequest, callback func(response *ListResourcesByTagResponse, err error)) <-chan int

ListResourcesByTagWithCallback invokes the tag.ListResourcesByTag API asynchronously

func (*Client) ListResourcesByTagWithChan added in v1.61.1370

func (client *Client) ListResourcesByTagWithChan(request *ListResourcesByTagRequest) (<-chan *ListResourcesByTagResponse, <-chan error)

ListResourcesByTagWithChan invokes the tag.ListResourcesByTag API asynchronously

func (*Client) ListSupportResourceTypes added in v1.61.1661

func (client *Client) ListSupportResourceTypes(request *ListSupportResourceTypesRequest) (response *ListSupportResourceTypesResponse, err error)

ListSupportResourceTypes invokes the tag.ListSupportResourceTypes API synchronously

func (*Client) ListSupportResourceTypesWithCallback added in v1.61.1661

func (client *Client) ListSupportResourceTypesWithCallback(request *ListSupportResourceTypesRequest, callback func(response *ListSupportResourceTypesResponse, err error)) <-chan int

ListSupportResourceTypesWithCallback invokes the tag.ListSupportResourceTypes API asynchronously

func (*Client) ListSupportResourceTypesWithChan added in v1.61.1661

func (client *Client) ListSupportResourceTypesWithChan(request *ListSupportResourceTypesRequest) (<-chan *ListSupportResourceTypesResponse, <-chan error)

ListSupportResourceTypesWithChan invokes the tag.ListSupportResourceTypes API asynchronously

func (*Client) ListTagKeys added in v1.61.267

func (client *Client) ListTagKeys(request *ListTagKeysRequest) (response *ListTagKeysResponse, err error)

ListTagKeys invokes the tag.ListTagKeys API synchronously

func (*Client) ListTagKeysWithCallback added in v1.61.267

func (client *Client) ListTagKeysWithCallback(request *ListTagKeysRequest, callback func(response *ListTagKeysResponse, err error)) <-chan int

ListTagKeysWithCallback invokes the tag.ListTagKeys API asynchronously

func (*Client) ListTagKeysWithChan added in v1.61.267

func (client *Client) ListTagKeysWithChan(request *ListTagKeysRequest) (<-chan *ListTagKeysResponse, <-chan error)

ListTagKeysWithChan invokes the tag.ListTagKeys API asynchronously

func (*Client) ListTagResources

func (client *Client) ListTagResources(request *ListTagResourcesRequest) (response *ListTagResourcesResponse, err error)

ListTagResources invokes the tag.ListTagResources API synchronously

func (*Client) ListTagResourcesWithCallback

func (client *Client) ListTagResourcesWithCallback(request *ListTagResourcesRequest, callback func(response *ListTagResourcesResponse, err error)) <-chan int

ListTagResourcesWithCallback invokes the tag.ListTagResources API asynchronously

func (*Client) ListTagResourcesWithChan

func (client *Client) ListTagResourcesWithChan(request *ListTagResourcesRequest) (<-chan *ListTagResourcesResponse, <-chan error)

ListTagResourcesWithChan invokes the tag.ListTagResources API asynchronously

func (*Client) ListTagValues added in v1.61.267

func (client *Client) ListTagValues(request *ListTagValuesRequest) (response *ListTagValuesResponse, err error)

ListTagValues invokes the tag.ListTagValues API synchronously

func (*Client) ListTagValuesWithCallback added in v1.61.267

func (client *Client) ListTagValuesWithCallback(request *ListTagValuesRequest, callback func(response *ListTagValuesResponse, err error)) <-chan int

ListTagValuesWithCallback invokes the tag.ListTagValues API asynchronously

func (*Client) ListTagValuesWithChan added in v1.61.267

func (client *Client) ListTagValuesWithChan(request *ListTagValuesRequest) (<-chan *ListTagValuesResponse, <-chan error)

ListTagValuesWithChan invokes the tag.ListTagValues API asynchronously

func (*Client) ListTargetsForPolicy added in v1.61.1661

func (client *Client) ListTargetsForPolicy(request *ListTargetsForPolicyRequest) (response *ListTargetsForPolicyResponse, err error)

ListTargetsForPolicy invokes the tag.ListTargetsForPolicy API synchronously

func (*Client) ListTargetsForPolicyWithCallback added in v1.61.1661

func (client *Client) ListTargetsForPolicyWithCallback(request *ListTargetsForPolicyRequest, callback func(response *ListTargetsForPolicyResponse, err error)) <-chan int

ListTargetsForPolicyWithCallback invokes the tag.ListTargetsForPolicy API asynchronously

func (*Client) ListTargetsForPolicyWithChan added in v1.61.1661

func (client *Client) ListTargetsForPolicyWithChan(request *ListTargetsForPolicyRequest) (<-chan *ListTargetsForPolicyResponse, <-chan error)

ListTargetsForPolicyWithChan invokes the tag.ListTargetsForPolicy API asynchronously

func (*Client) ModifyPolicy added in v1.61.1661

func (client *Client) ModifyPolicy(request *ModifyPolicyRequest) (response *ModifyPolicyResponse, err error)

ModifyPolicy invokes the tag.ModifyPolicy API synchronously

func (*Client) ModifyPolicyWithCallback added in v1.61.1661

func (client *Client) ModifyPolicyWithCallback(request *ModifyPolicyRequest, callback func(response *ModifyPolicyResponse, err error)) <-chan int

ModifyPolicyWithCallback invokes the tag.ModifyPolicy API asynchronously

func (*Client) ModifyPolicyWithChan added in v1.61.1661

func (client *Client) ModifyPolicyWithChan(request *ModifyPolicyRequest) (<-chan *ModifyPolicyResponse, <-chan error)

ModifyPolicyWithChan invokes the tag.ModifyPolicy API asynchronously

func (*Client) OpenCreatedBy added in v1.62.377

func (client *Client) OpenCreatedBy(request *OpenCreatedByRequest) (response *OpenCreatedByResponse, err error)

OpenCreatedBy invokes the tag.OpenCreatedBy API synchronously

func (*Client) OpenCreatedByWithCallback added in v1.62.377

func (client *Client) OpenCreatedByWithCallback(request *OpenCreatedByRequest, callback func(response *OpenCreatedByResponse, err error)) <-chan int

OpenCreatedByWithCallback invokes the tag.OpenCreatedBy API asynchronously

func (*Client) OpenCreatedByWithChan added in v1.62.377

func (client *Client) OpenCreatedByWithChan(request *OpenCreatedByRequest) (<-chan *OpenCreatedByResponse, <-chan error)

OpenCreatedByWithChan invokes the tag.OpenCreatedBy API asynchronously

func (*Client) TagResources

func (client *Client) TagResources(request *TagResourcesRequest) (response *TagResourcesResponse, err error)

TagResources invokes the tag.TagResources API synchronously

func (*Client) TagResourcesWithCallback

func (client *Client) TagResourcesWithCallback(request *TagResourcesRequest, callback func(response *TagResourcesResponse, err error)) <-chan int

TagResourcesWithCallback invokes the tag.TagResources API asynchronously

func (*Client) TagResourcesWithChan

func (client *Client) TagResourcesWithChan(request *TagResourcesRequest) (<-chan *TagResourcesResponse, <-chan error)

TagResourcesWithChan invokes the tag.TagResources API asynchronously

func (*Client) UntagResources

func (client *Client) UntagResources(request *UntagResourcesRequest) (response *UntagResourcesResponse, err error)

UntagResources invokes the tag.UntagResources API synchronously

func (*Client) UntagResourcesWithCallback

func (client *Client) UntagResourcesWithCallback(request *UntagResourcesRequest, callback func(response *UntagResourcesResponse, err error)) <-chan int

UntagResourcesWithCallback invokes the tag.UntagResources API asynchronously

func (*Client) UntagResourcesWithChan

func (client *Client) UntagResourcesWithChan(request *UntagResourcesRequest) (<-chan *UntagResourcesResponse, <-chan error)

UntagResourcesWithChan invokes the tag.UntagResources API asynchronously

type CloseCreatedByRequest added in v1.62.377

type CloseCreatedByRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      string           `position:"Query" name:"ResourceOwnerId"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
}

CloseCreatedByRequest is the request struct for api CloseCreatedBy

func CreateCloseCreatedByRequest added in v1.62.377

func CreateCloseCreatedByRequest() (request *CloseCreatedByRequest)

CreateCloseCreatedByRequest creates a request to invoke CloseCreatedBy API

type CloseCreatedByResponse added in v1.62.377

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

CloseCreatedByResponse is the response struct for api CloseCreatedBy

func CreateCloseCreatedByResponse added in v1.62.377

func CreateCloseCreatedByResponse() (response *CloseCreatedByResponse)

CreateCloseCreatedByResponse creates a response to parse from CloseCreatedBy response

type CreatePolicyRequest added in v1.61.1661

type CreatePolicyRequest struct {
	*requests.RpcRequest
	PolicyDesc           string           `position:"Query" name:"PolicyDesc"`
	PolicyContent        string           `position:"Query" name:"PolicyContent"`
	DryRun               requests.Boolean `position:"Query" name:"DryRun"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	UserType             string           `position:"Query" name:"UserType"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	PolicyName           string           `position:"Query" name:"PolicyName"`
}

CreatePolicyRequest is the request struct for api CreatePolicy

func CreateCreatePolicyRequest added in v1.61.1661

func CreateCreatePolicyRequest() (request *CreatePolicyRequest)

CreateCreatePolicyRequest creates a request to invoke CreatePolicy API

type CreatePolicyResponse added in v1.61.1661

type CreatePolicyResponse struct {
	*responses.BaseResponse
	RequestId  string `json:"RequestId" xml:"RequestId"`
	PolicyId   string `json:"PolicyId" xml:"PolicyId"`
	PolicyName string `json:"PolicyName" xml:"PolicyName"`
}

CreatePolicyResponse is the response struct for api CreatePolicy

func CreateCreatePolicyResponse added in v1.61.1661

func CreateCreatePolicyResponse() (response *CreatePolicyResponse)

CreateCreatePolicyResponse creates a response to parse from CreatePolicy response

type CreateTagsRequest added in v1.61.1370

type CreateTagsRequest struct {
	*requests.RpcRequest
	ResourceOwnerAccount string                            `position:"Query" name:"ResourceOwnerAccount"`
	OwnerAccount         string                            `position:"Query" name:"OwnerAccount"`
	OwnerId              requests.Integer                  `position:"Query" name:"OwnerId"`
	TagKeyValueParamList *[]CreateTagsTagKeyValueParamList `position:"Query" name:"TagKeyValueParamList"  type:"Repeated"`
}

CreateTagsRequest is the request struct for api CreateTags

func CreateCreateTagsRequest added in v1.61.1370

func CreateCreateTagsRequest() (request *CreateTagsRequest)

CreateCreateTagsRequest creates a request to invoke CreateTags API

type CreateTagsResponse added in v1.61.1370

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

CreateTagsResponse is the response struct for api CreateTags

func CreateCreateTagsResponse added in v1.61.1370

func CreateCreateTagsResponse() (response *CreateTagsResponse)

CreateCreateTagsResponse creates a response to parse from CreateTags response

type CreateTagsTagKeyValueParamList added in v1.61.1370

type CreateTagsTagKeyValueParamList struct {
	Key               string                                             `name:"Key"`
	TagValueParamList *[]CreateTagsTagKeyValueParamListTagValueParamList `name:"TagValueParamList" type:"Repeated"`
	Description       string                                             `name:"Description"`
}

CreateTagsTagKeyValueParamList is a repeated param struct in CreateTagsRequest

type CreateTagsTagKeyValueParamListTagValueParamList added in v1.61.1370

type CreateTagsTagKeyValueParamListTagValueParamList struct {
	Value       string `name:"Value"`
	Description string `name:"Description"`
}

CreateTagsTagKeyValueParamListTagValueParamList is a repeated param struct in CreateTagsRequest

type Data added in v1.61.1661

type Data struct {
	CreatedTime int64  `json:"CreatedTime" xml:"CreatedTime"`
	TargetId    string `json:"TargetId" xml:"TargetId"`
	ReportId    string `json:"ReportId" xml:"ReportId"`
	TargetType  string `json:"TargetType" xml:"TargetType"`
}

Data is a nested struct in tag response

type DataInListConfigRulesForTarget added in v1.61.1661

type DataInListConfigRulesForTarget struct {
	DataItem []DataItem `json:"Data" xml:"Data"`
}

DataInListConfigRulesForTarget is a nested struct in tag response

type DataInListPoliciesForTarget added in v1.61.1661

type DataInListPoliciesForTarget struct {
	DataItem []DataItem `json:"Data" xml:"Data"`
}

DataInListPoliciesForTarget is a nested struct in tag response

type DataItem added in v1.61.1661

type DataItem struct {
	PolicyType    string `json:"PolicyType" xml:"PolicyType"`
	Remediation   bool   `json:"Remediation" xml:"Remediation"`
	AggregatorId  string `json:"AggregatorId" xml:"AggregatorId"`
	PolicyContent string `json:"PolicyContent" xml:"PolicyContent"`
	PolicyName    string `json:"PolicyName" xml:"PolicyName"`
	ConfigRuleId  string `json:"ConfigRuleId" xml:"ConfigRuleId"`
	TargetType    string `json:"TargetType" xml:"TargetType"`
	UserType      string `json:"UserType" xml:"UserType"`
	PolicyDesc    string `json:"PolicyDesc" xml:"PolicyDesc"`
	PolicyId      string `json:"PolicyId" xml:"PolicyId"`
	TargetId      string `json:"TargetId" xml:"TargetId"`
	TagValue      string `json:"TagValue" xml:"TagValue"`
	TagKey        string `json:"TagKey" xml:"TagKey"`
}

DataItem is a nested struct in tag response

type DeletePolicyRequest added in v1.61.1661

type DeletePolicyRequest struct {
	*requests.RpcRequest
	PolicyId             string           `position:"Query" name:"PolicyId"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
}

DeletePolicyRequest is the request struct for api DeletePolicy

func CreateDeletePolicyRequest added in v1.61.1661

func CreateDeletePolicyRequest() (request *DeletePolicyRequest)

CreateDeletePolicyRequest creates a request to invoke DeletePolicy API

type DeletePolicyResponse added in v1.61.1661

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

DeletePolicyResponse is the response struct for api DeletePolicy

func CreateDeletePolicyResponse added in v1.61.1661

func CreateDeletePolicyResponse() (response *DeletePolicyResponse)

CreateDeletePolicyResponse creates a response to parse from DeletePolicy response

type DeleteTagRequest added in v1.61.1370

type DeleteTagRequest struct {
	*requests.RpcRequest
	Value                string           `position:"Query" name:"Value"`
	Key                  string           `position:"Query" name:"Key"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
}

DeleteTagRequest is the request struct for api DeleteTag

func CreateDeleteTagRequest added in v1.61.1370

func CreateDeleteTagRequest() (request *DeleteTagRequest)

CreateDeleteTagRequest creates a request to invoke DeleteTag API

type DeleteTagResponse added in v1.61.1370

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

DeleteTagResponse is the response struct for api DeleteTag

func CreateDeleteTagResponse added in v1.61.1370

func CreateDeleteTagResponse() (response *DeleteTagResponse)

CreateDeleteTagResponse creates a response to parse from DeleteTag response

type DescribeRegionsRequest added in v1.61.1370

type DescribeRegionsRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	AcceptLanguage       string           `position:"Query" name:"AcceptLanguage"`
}

DescribeRegionsRequest is the request struct for api DescribeRegions

func CreateDescribeRegionsRequest added in v1.61.1370

func CreateDescribeRegionsRequest() (request *DescribeRegionsRequest)

CreateDescribeRegionsRequest creates a request to invoke DescribeRegions API

type DescribeRegionsResponse added in v1.61.1370

type DescribeRegionsResponse struct {
	*responses.BaseResponse
	RequestId string  `json:"RequestId" xml:"RequestId"`
	Regions   Regions `json:"Regions" xml:"Regions"`
}

DescribeRegionsResponse is the response struct for api DescribeRegions

func CreateDescribeRegionsResponse added in v1.61.1370

func CreateDescribeRegionsResponse() (response *DescribeRegionsResponse)

CreateDescribeRegionsResponse creates a response to parse from DescribeRegions response

type DetachPolicyRequest added in v1.61.1661

type DetachPolicyRequest struct {
	*requests.RpcRequest
	TargetId             string           `position:"Query" name:"TargetId"`
	TargetType           string           `position:"Query" name:"TargetType"`
	PolicyId             string           `position:"Query" name:"PolicyId"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
}

DetachPolicyRequest is the request struct for api DetachPolicy

func CreateDetachPolicyRequest added in v1.61.1661

func CreateDetachPolicyRequest() (request *DetachPolicyRequest)

CreateDetachPolicyRequest creates a request to invoke DetachPolicy API

type DetachPolicyResponse added in v1.61.1661

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

DetachPolicyResponse is the response struct for api DetachPolicy

func CreateDetachPolicyResponse added in v1.61.1661

func CreateDetachPolicyResponse() (response *DetachPolicyResponse)

CreateDetachPolicyResponse creates a response to parse from DetachPolicy response

type DisablePolicyTypeRequest added in v1.62.377

type DisablePolicyTypeRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      string           `position:"Query" name:"ResourceOwnerId"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	UserType             string           `position:"Query" name:"UserType"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	OpenType             string           `position:"Query" name:"OpenType"`
}

DisablePolicyTypeRequest is the request struct for api DisablePolicyType

func CreateDisablePolicyTypeRequest added in v1.62.377

func CreateDisablePolicyTypeRequest() (request *DisablePolicyTypeRequest)

CreateDisablePolicyTypeRequest creates a request to invoke DisablePolicyType API

type DisablePolicyTypeResponse added in v1.62.377

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

DisablePolicyTypeResponse is the response struct for api DisablePolicyType

func CreateDisablePolicyTypeResponse added in v1.62.377

func CreateDisablePolicyTypeResponse() (response *DisablePolicyTypeResponse)

CreateDisablePolicyTypeResponse creates a response to parse from DisablePolicyType response

type EnablePolicyTypeRequest added in v1.62.377

type EnablePolicyTypeRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      string           `position:"Query" name:"ResourceOwnerId"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	UserType             string           `position:"Query" name:"UserType"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	OpenType             string           `position:"Query" name:"OpenType"`
}

EnablePolicyTypeRequest is the request struct for api EnablePolicyType

func CreateEnablePolicyTypeRequest added in v1.62.377

func CreateEnablePolicyTypeRequest() (request *EnablePolicyTypeRequest)

CreateEnablePolicyTypeRequest creates a request to invoke EnablePolicyType API

type EnablePolicyTypeResponse added in v1.62.377

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

EnablePolicyTypeResponse is the response struct for api EnablePolicyType

func CreateEnablePolicyTypeResponse added in v1.62.377

func CreateEnablePolicyTypeResponse() (response *EnablePolicyTypeResponse)

CreateEnablePolicyTypeResponse creates a response to parse from EnablePolicyType response

type FailedResource

type FailedResource struct {
	ResourceARN string `json:"ResourceARN" xml:"ResourceARN"`
	Result      Result `json:"Result" xml:"Result"`
}

FailedResource is a nested struct in tag response

type FailedResourcesInTagResources

type FailedResourcesInTagResources struct {
	FailedResource []FailedResource `json:"FailedResource" xml:"FailedResource"`
}

FailedResourcesInTagResources is a nested struct in tag response

type FailedResourcesInUntagResources

type FailedResourcesInUntagResources struct {
	FailedResource []FailedResource `json:"FailedResource" xml:"FailedResource"`
}

FailedResourcesInUntagResources is a nested struct in tag response

type GenerateConfigRuleReportRequest added in v1.61.1661

type GenerateConfigRuleReportRequest struct {
	*requests.RpcRequest
	TargetId             string           `position:"Query" name:"TargetId"`
	TargetType           string           `position:"Query" name:"TargetType"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	UserType             string           `position:"Query" name:"UserType"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
}

GenerateConfigRuleReportRequest is the request struct for api GenerateConfigRuleReport

func CreateGenerateConfigRuleReportRequest added in v1.61.1661

func CreateGenerateConfigRuleReportRequest() (request *GenerateConfigRuleReportRequest)

CreateGenerateConfigRuleReportRequest creates a request to invoke GenerateConfigRuleReport API

type GenerateConfigRuleReportResponse added in v1.61.1661

type GenerateConfigRuleReportResponse struct {
	*responses.BaseResponse
	ReportId  string `json:"ReportId" xml:"ReportId"`
	RequestId string `json:"RequestId" xml:"RequestId"`
}

GenerateConfigRuleReportResponse is the response struct for api GenerateConfigRuleReport

func CreateGenerateConfigRuleReportResponse added in v1.61.1661

func CreateGenerateConfigRuleReportResponse() (response *GenerateConfigRuleReportResponse)

CreateGenerateConfigRuleReportResponse creates a response to parse from GenerateConfigRuleReport response

type GetConfigRuleReportRequest added in v1.61.1661

type GetConfigRuleReportRequest struct {
	*requests.RpcRequest
	TargetId             string           `position:"Query" name:"TargetId"`
	TargetType           string           `position:"Query" name:"TargetType"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	UserType             string           `position:"Query" name:"UserType"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
}

GetConfigRuleReportRequest is the request struct for api GetConfigRuleReport

func CreateGetConfigRuleReportRequest added in v1.61.1661

func CreateGetConfigRuleReportRequest() (request *GetConfigRuleReportRequest)

CreateGetConfigRuleReportRequest creates a request to invoke GetConfigRuleReport API

type GetConfigRuleReportResponse added in v1.61.1661

type GetConfigRuleReportResponse struct {
	*responses.BaseResponse
	HttpStatusCode int    `json:"HttpStatusCode" xml:"HttpStatusCode"`
	RequestId      string `json:"RequestId" xml:"RequestId"`
	Success        bool   `json:"Success" xml:"Success"`
	Data           Data   `json:"Data" xml:"Data"`
}

GetConfigRuleReportResponse is the response struct for api GetConfigRuleReport

func CreateGetConfigRuleReportResponse added in v1.61.1661

func CreateGetConfigRuleReportResponse() (response *GetConfigRuleReportResponse)

CreateGetConfigRuleReportResponse creates a response to parse from GetConfigRuleReport response

type GetEffectivePolicyRequest added in v1.61.1661

type GetEffectivePolicyRequest struct {
	*requests.RpcRequest
	TargetId             string           `position:"Query" name:"TargetId"`
	TargetType           string           `position:"Query" name:"TargetType"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
}

GetEffectivePolicyRequest is the request struct for api GetEffectivePolicy

func CreateGetEffectivePolicyRequest added in v1.61.1661

func CreateGetEffectivePolicyRequest() (request *GetEffectivePolicyRequest)

CreateGetEffectivePolicyRequest creates a request to invoke GetEffectivePolicy API

type GetEffectivePolicyResponse added in v1.61.1661

type GetEffectivePolicyResponse struct {
	*responses.BaseResponse
	RequestId       string `json:"RequestId" xml:"RequestId"`
	EffectivePolicy string `json:"EffectivePolicy" xml:"EffectivePolicy"`
}

GetEffectivePolicyResponse is the response struct for api GetEffectivePolicy

func CreateGetEffectivePolicyResponse added in v1.61.1661

func CreateGetEffectivePolicyResponse() (response *GetEffectivePolicyResponse)

CreateGetEffectivePolicyResponse creates a response to parse from GetEffectivePolicy response

type GetPolicyEnableStatusRequest added in v1.61.1661

type GetPolicyEnableStatusRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      string           `position:"Query" name:"ResourceOwnerId"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	UserType             string           `position:"Query" name:"UserType"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	OpenType             string           `position:"Query" name:"OpenType"`
}

GetPolicyEnableStatusRequest is the request struct for api GetPolicyEnableStatus

func CreateGetPolicyEnableStatusRequest added in v1.61.1661

func CreateGetPolicyEnableStatusRequest() (request *GetPolicyEnableStatusRequest)

CreateGetPolicyEnableStatusRequest creates a request to invoke GetPolicyEnableStatus API

type GetPolicyEnableStatusResponse added in v1.61.1661

type GetPolicyEnableStatusResponse struct {
	*responses.BaseResponse
	RequestId    string             `json:"RequestId" xml:"RequestId"`
	StatusModels []StatusModelsItem `json:"StatusModels" xml:"StatusModels"`
}

GetPolicyEnableStatusResponse is the response struct for api GetPolicyEnableStatus

func CreateGetPolicyEnableStatusResponse added in v1.61.1661

func CreateGetPolicyEnableStatusResponse() (response *GetPolicyEnableStatusResponse)

CreateGetPolicyEnableStatusResponse creates a response to parse from GetPolicyEnableStatus response

type GetPolicyRequest added in v1.61.1661

type GetPolicyRequest struct {
	*requests.RpcRequest
	PolicyId             string           `position:"Query" name:"PolicyId"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
}

GetPolicyRequest is the request struct for api GetPolicy

func CreateGetPolicyRequest added in v1.61.1661

func CreateGetPolicyRequest() (request *GetPolicyRequest)

CreateGetPolicyRequest creates a request to invoke GetPolicy API

type GetPolicyResponse added in v1.61.1661

type GetPolicyResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Policy    Policy `json:"Policy" xml:"Policy"`
}

GetPolicyResponse is the response struct for api GetPolicy

func CreateGetPolicyResponse added in v1.61.1661

func CreateGetPolicyResponse() (response *GetPolicyResponse)

CreateGetPolicyResponse creates a response to parse from GetPolicy response

type Key added in v1.61.267

type Key struct {
	Key         string `json:"Key" xml:"Key"`
	Category    string `json:"Category" xml:"Category"`
	Description string `json:"Description" xml:"Description"`
}

Key is a nested struct in tag response

type Keys added in v1.61.267

type Keys struct {
	Key []Key `json:"Key" xml:"Key"`
}

Keys is a nested struct in tag response

type ListConfigRulesForTargetRequest added in v1.61.1661

type ListConfigRulesForTargetRequest struct {
	*requests.RpcRequest
	TargetId             string           `position:"Query" name:"TargetId"`
	TargetType           string           `position:"Query" name:"TargetType"`
	NextToken            string           `position:"Query" name:"NextToken"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	PolicyType           string           `position:"Query" name:"PolicyType"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	UserType             string           `position:"Query" name:"UserType"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	MaxResult            requests.Integer `position:"Query" name:"MaxResult"`
	TagKey               string           `position:"Query" name:"TagKey"`
}

ListConfigRulesForTargetRequest is the request struct for api ListConfigRulesForTarget

func CreateListConfigRulesForTargetRequest added in v1.61.1661

func CreateListConfigRulesForTargetRequest() (request *ListConfigRulesForTargetRequest)

CreateListConfigRulesForTargetRequest creates a request to invoke ListConfigRulesForTarget API

type ListConfigRulesForTargetResponse added in v1.61.1661

type ListConfigRulesForTargetResponse struct {
	*responses.BaseResponse
	NextToken string     `json:"NextToken" xml:"NextToken"`
	RequestId string     `json:"RequestId" xml:"RequestId"`
	Data      []DataItem `json:"Data" xml:"Data"`
}

ListConfigRulesForTargetResponse is the response struct for api ListConfigRulesForTarget

func CreateListConfigRulesForTargetResponse added in v1.61.1661

func CreateListConfigRulesForTargetResponse() (response *ListConfigRulesForTargetResponse)

CreateListConfigRulesForTargetResponse creates a response to parse from ListConfigRulesForTarget response

type ListPoliciesForTargetRequest added in v1.61.1661

type ListPoliciesForTargetRequest struct {
	*requests.RpcRequest
	TargetId             string           `position:"Query" name:"TargetId"`
	TargetType           string           `position:"Query" name:"TargetType"`
	NextToken            string           `position:"Query" name:"NextToken"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	MaxResult            requests.Integer `position:"Query" name:"MaxResult"`
}

ListPoliciesForTargetRequest is the request struct for api ListPoliciesForTarget

func CreateListPoliciesForTargetRequest added in v1.61.1661

func CreateListPoliciesForTargetRequest() (request *ListPoliciesForTargetRequest)

CreateListPoliciesForTargetRequest creates a request to invoke ListPoliciesForTarget API

type ListPoliciesForTargetResponse added in v1.61.1661

type ListPoliciesForTargetResponse struct {
	*responses.BaseResponse
	NextToken string     `json:"NextToken" xml:"NextToken"`
	RequestId string     `json:"RequestId" xml:"RequestId"`
	Data      []DataItem `json:"Data" xml:"Data"`
}

ListPoliciesForTargetResponse is the response struct for api ListPoliciesForTarget

func CreateListPoliciesForTargetResponse added in v1.61.1661

func CreateListPoliciesForTargetResponse() (response *ListPoliciesForTargetResponse)

CreateListPoliciesForTargetResponse creates a response to parse from ListPoliciesForTarget response

type ListPoliciesRequest added in v1.61.1661

type ListPoliciesRequest struct {
	*requests.RpcRequest
	PolicyNames          *[]string        `position:"Query" name:"PolicyNames"  type:"Repeated"`
	PolicyIds            *[]string        `position:"Query" name:"PolicyIds"  type:"Repeated"`
	NextToken            string           `position:"Query" name:"NextToken"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	UserType             string           `position:"Query" name:"UserType"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	MaxResult            requests.Integer `position:"Query" name:"MaxResult"`
}

ListPoliciesRequest is the request struct for api ListPolicies

func CreateListPoliciesRequest added in v1.61.1661

func CreateListPoliciesRequest() (request *ListPoliciesRequest)

CreateListPoliciesRequest creates a request to invoke ListPolicies API

type ListPoliciesResponse added in v1.61.1661

type ListPoliciesResponse struct {
	*responses.BaseResponse
	NextToken  string   `json:"NextToken" xml:"NextToken"`
	RequestId  string   `json:"RequestId" xml:"RequestId"`
	PolicyList []Policy `json:"PolicyList" xml:"PolicyList"`
}

ListPoliciesResponse is the response struct for api ListPolicies

func CreateListPoliciesResponse added in v1.61.1661

func CreateListPoliciesResponse() (response *ListPoliciesResponse)

CreateListPoliciesResponse creates a response to parse from ListPolicies response

type ListResourcesByTagRequest added in v1.61.1370

type ListResourcesByTagRequest struct {
	*requests.RpcRequest
	TagFilterKey         string           `position:"Query" name:"TagFilter.Key"`
	NextToken            string           `position:"Query" name:"NextToken"`
	IncludeAllTags       requests.Boolean `position:"Query" name:"IncludeAllTags"`
	TagFilterValue       string           `position:"Query" name:"TagFilter.Value"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	ResourceType         string           `position:"Query" name:"ResourceType"`
	MaxResult            requests.Integer `position:"Query" name:"MaxResult"`
	FuzzyType            string           `position:"Query" name:"FuzzyType"`
}

ListResourcesByTagRequest is the request struct for api ListResourcesByTag

func CreateListResourcesByTagRequest added in v1.61.1370

func CreateListResourcesByTagRequest() (request *ListResourcesByTagRequest)

CreateListResourcesByTagRequest creates a request to invoke ListResourcesByTag API

type ListResourcesByTagResponse added in v1.61.1370

type ListResourcesByTagResponse struct {
	*responses.BaseResponse
	NextToken string        `json:"NextToken" xml:"NextToken"`
	RequestId string        `json:"RequestId" xml:"RequestId"`
	Resources []TagResource `json:"Resources" xml:"Resources"`
}

ListResourcesByTagResponse is the response struct for api ListResourcesByTag

func CreateListResourcesByTagResponse added in v1.61.1370

func CreateListResourcesByTagResponse() (response *ListResourcesByTagResponse)

CreateListResourcesByTagResponse creates a response to parse from ListResourcesByTag response

type ListSupportResourceTypesRequest added in v1.61.1661

type ListSupportResourceTypesRequest struct {
	*requests.RpcRequest
	ProductCode          string           `position:"Query" name:"ProductCode"`
	SupportCode          string           `position:"Query" name:"SupportCode"`
	NextToken            string           `position:"Query" name:"NextToken"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	ResourceTye          string           `position:"Query" name:"ResourceTye"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	MaxResult            requests.Integer `position:"Query" name:"MaxResult"`
	ShowItems            requests.Boolean `position:"Query" name:"ShowItems"`
}

ListSupportResourceTypesRequest is the request struct for api ListSupportResourceTypes

func CreateListSupportResourceTypesRequest added in v1.61.1661

func CreateListSupportResourceTypesRequest() (request *ListSupportResourceTypesRequest)

CreateListSupportResourceTypesRequest creates a request to invoke ListSupportResourceTypes API

type ListSupportResourceTypesResponse added in v1.61.1661

type ListSupportResourceTypesResponse struct {
	*responses.BaseResponse
	NextToken            string                `json:"NextToken" xml:"NextToken"`
	RequestId            string                `json:"RequestId" xml:"RequestId"`
	SupportResourceTypes []SupportResourceType `json:"SupportResourceTypes" xml:"SupportResourceTypes"`
}

ListSupportResourceTypesResponse is the response struct for api ListSupportResourceTypes

func CreateListSupportResourceTypesResponse added in v1.61.1661

func CreateListSupportResourceTypesResponse() (response *ListSupportResourceTypesResponse)

CreateListSupportResourceTypesResponse creates a response to parse from ListSupportResourceTypes response

type ListTagKeysRequest added in v1.61.267

type ListTagKeysRequest struct {
	*requests.RpcRequest
	TagProduct           string           `position:"Query" name:"TagProduct"`
	TagFilterKey         string           `position:"Query" name:"TagFilter.Key"`
	NextToken            string           `position:"Query" name:"NextToken"`
	PageSize             requests.Integer `position:"Query" name:"PageSize"`
	QueryType            string           `position:"Query" name:"QueryType"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	ResourceType         string           `position:"Query" name:"ResourceType"`
	FuzzyType            string           `position:"Query" name:"FuzzyType"`
	Category             string           `position:"Query" name:"Category"`
}

ListTagKeysRequest is the request struct for api ListTagKeys

func CreateListTagKeysRequest added in v1.61.267

func CreateListTagKeysRequest() (request *ListTagKeysRequest)

CreateListTagKeysRequest creates a request to invoke ListTagKeys API

type ListTagKeysResponse added in v1.61.267

type ListTagKeysResponse struct {
	*responses.BaseResponse
	NextToken string `json:"NextToken" xml:"NextToken"`
	RequestId string `json:"RequestId" xml:"RequestId"`
	Keys      Keys   `json:"Keys" xml:"Keys"`
}

ListTagKeysResponse is the response struct for api ListTagKeys

func CreateListTagKeysResponse added in v1.61.267

func CreateListTagKeysResponse() (response *ListTagKeysResponse)

CreateListTagKeysResponse creates a response to parse from ListTagKeys response

type ListTagResourcesRequest

type ListTagResourcesRequest struct {
	*requests.RpcRequest
	NextToken            string           `position:"Query" name:"NextToken"`
	PageSize             requests.Integer `position:"Query" name:"PageSize"`
	ResourceARN          *[]string        `position:"Query" name:"ResourceARN"  type:"Repeated"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	Tags                 string           `position:"Query" name:"Tags"`
	Category             string           `position:"Query" name:"Category"`
}

ListTagResourcesRequest is the request struct for api ListTagResources

func CreateListTagResourcesRequest

func CreateListTagResourcesRequest() (request *ListTagResourcesRequest)

CreateListTagResourcesRequest creates a request to invoke ListTagResources API

type ListTagResourcesResponse

type ListTagResourcesResponse struct {
	*responses.BaseResponse
	NextToken    string        `json:"NextToken" xml:"NextToken"`
	RequestId    string        `json:"RequestId" xml:"RequestId"`
	TagResources []TagResource `json:"TagResources" xml:"TagResources"`
}

ListTagResourcesResponse is the response struct for api ListTagResources

func CreateListTagResourcesResponse

func CreateListTagResourcesResponse() (response *ListTagResourcesResponse)

CreateListTagResourcesResponse creates a response to parse from ListTagResources response

type ListTagValuesRequest added in v1.61.267

type ListTagValuesRequest struct {
	*requests.RpcRequest
	TagProduct           string           `position:"Query" name:"TagProduct"`
	NextToken            string           `position:"Query" name:"NextToken"`
	PageSize             requests.Integer `position:"Query" name:"PageSize"`
	TagFilterValue       string           `position:"Query" name:"TagFilter.Value"`
	Key                  string           `position:"Query" name:"Key"`
	QueryType            string           `position:"Query" name:"QueryType"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	ResourceType         string           `position:"Query" name:"ResourceType"`
	FuzzyType            string           `position:"Query" name:"FuzzyType"`
}

ListTagValuesRequest is the request struct for api ListTagValues

func CreateListTagValuesRequest added in v1.61.267

func CreateListTagValuesRequest() (request *ListTagValuesRequest)

CreateListTagValuesRequest creates a request to invoke ListTagValues API

type ListTagValuesResponse added in v1.61.267

type ListTagValuesResponse struct {
	*responses.BaseResponse
	NextToken string `json:"NextToken" xml:"NextToken"`
	RequestId string `json:"RequestId" xml:"RequestId"`
	Values    Values `json:"Values" xml:"Values"`
}

ListTagValuesResponse is the response struct for api ListTagValues

func CreateListTagValuesResponse added in v1.61.267

func CreateListTagValuesResponse() (response *ListTagValuesResponse)

CreateListTagValuesResponse creates a response to parse from ListTagValues response

type ListTargetsForPolicyRequest added in v1.61.1661

type ListTargetsForPolicyRequest struct {
	*requests.RpcRequest
	PolicyId             string           `position:"Query" name:"PolicyId"`
	NextToken            string           `position:"Query" name:"NextToken"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	MaxResult            requests.Integer `position:"Query" name:"MaxResult"`
}

ListTargetsForPolicyRequest is the request struct for api ListTargetsForPolicy

func CreateListTargetsForPolicyRequest added in v1.61.1661

func CreateListTargetsForPolicyRequest() (request *ListTargetsForPolicyRequest)

CreateListTargetsForPolicyRequest creates a request to invoke ListTargetsForPolicy API

type ListTargetsForPolicyResponse added in v1.61.1661

type ListTargetsForPolicyResponse struct {
	*responses.BaseResponse
	IsRd      bool     `json:"IsRd" xml:"IsRd"`
	NextToken string   `json:"NextToken" xml:"NextToken"`
	RdId      string   `json:"RdId" xml:"RdId"`
	RequestId string   `json:"RequestId" xml:"RequestId"`
	Targets   []Target `json:"Targets" xml:"Targets"`
}

ListTargetsForPolicyResponse is the response struct for api ListTargetsForPolicy

func CreateListTargetsForPolicyResponse added in v1.61.1661

func CreateListTargetsForPolicyResponse() (response *ListTargetsForPolicyResponse)

CreateListTargetsForPolicyResponse creates a response to parse from ListTargetsForPolicy response

type ModifyPolicyRequest added in v1.61.1661

type ModifyPolicyRequest struct {
	*requests.RpcRequest
	PolicyDesc           string           `position:"Query" name:"PolicyDesc"`
	PolicyId             string           `position:"Query" name:"PolicyId"`
	PolicyContent        string           `position:"Query" name:"PolicyContent"`
	DryRun               requests.Boolean `position:"Query" name:"DryRun"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	PolicyName           string           `position:"Query" name:"PolicyName"`
}

ModifyPolicyRequest is the request struct for api ModifyPolicy

func CreateModifyPolicyRequest added in v1.61.1661

func CreateModifyPolicyRequest() (request *ModifyPolicyRequest)

CreateModifyPolicyRequest creates a request to invoke ModifyPolicy API

type ModifyPolicyResponse added in v1.61.1661

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

ModifyPolicyResponse is the response struct for api ModifyPolicy

func CreateModifyPolicyResponse added in v1.61.1661

func CreateModifyPolicyResponse() (response *ModifyPolicyResponse)

CreateModifyPolicyResponse creates a response to parse from ModifyPolicy response

type OpenCreatedByRequest added in v1.62.377

type OpenCreatedByRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      string           `position:"Query" name:"ResourceOwnerId"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
}

OpenCreatedByRequest is the request struct for api OpenCreatedBy

func CreateOpenCreatedByRequest added in v1.62.377

func CreateOpenCreatedByRequest() (request *OpenCreatedByRequest)

CreateOpenCreatedByRequest creates a request to invoke OpenCreatedBy API

type OpenCreatedByResponse added in v1.62.377

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

OpenCreatedByResponse is the response struct for api OpenCreatedBy

func CreateOpenCreatedByResponse added in v1.62.377

func CreateOpenCreatedByResponse() (response *OpenCreatedByResponse)

CreateOpenCreatedByResponse creates a response to parse from OpenCreatedBy response

type Policy added in v1.61.1661

type Policy struct {
	UserType      string `json:"UserType" xml:"UserType"`
	PolicyDesc    string `json:"PolicyDesc" xml:"PolicyDesc"`
	PolicyId      string `json:"PolicyId" xml:"PolicyId"`
	PolicyContent string `json:"PolicyContent" xml:"PolicyContent"`
	PolicyName    string `json:"PolicyName" xml:"PolicyName"`
}

Policy is a nested struct in tag response

type PolicyList added in v1.61.1661

type PolicyList struct {
	Policy []Policy `json:"Policy" xml:"Policy"`
}

PolicyList is a nested struct in tag response

type Region added in v1.61.1370

type Region struct {
	LocalName      string `json:"LocalName" xml:"LocalName"`
	RegionEndpoint string `json:"RegionEndpoint" xml:"RegionEndpoint"`
	RegionId       string `json:"RegionId" xml:"RegionId"`
}

Region is a nested struct in tag response

type Regions added in v1.61.1370

type Regions struct {
	Region []Region `json:"Region" xml:"Region"`
}

Regions is a nested struct in tag response

type Resources added in v1.61.1370

type Resources struct {
	TagResource []TagResource `json:"TagResource" xml:"TagResource"`
}

Resources is a nested struct in tag response

type Result

type Result struct {
	Message string `json:"Message" xml:"Message"`
	Code    string `json:"Code" xml:"Code"`
}

Result is a nested struct in tag response

type StatusModels added in v1.61.1661

type StatusModels struct {
	StatusModelsItem []StatusModelsItem `json:"StatusModels" xml:"StatusModels"`
}

StatusModels is a nested struct in tag response

type StatusModelsItem added in v1.61.1661

type StatusModelsItem struct {
	Status   string `json:"Status" xml:"Status"`
	UserType string `json:"UserType" xml:"UserType"`
}

StatusModelsItem is a nested struct in tag response

type SupportDetails added in v1.63.23

type SupportDetails struct {
	SupportDetails []map[string]interface{} `json:"SupportDetails" xml:"SupportDetails"`
}

SupportDetails is a nested struct in tag response

type SupportItems added in v1.61.1661

type SupportItems struct {
	SupportItemsItem []SupportItemsItem `json:"SupportItems" xml:"SupportItems"`
}

SupportItems is a nested struct in tag response

type SupportItemsItem added in v1.61.1661

type SupportItemsItem struct {
	Support        bool                     `json:"Support" xml:"Support"`
	SupportCode    string                   `json:"SupportCode" xml:"SupportCode"`
	SupportDetails []map[string]interface{} `json:"SupportDetails" xml:"SupportDetails"`
}

SupportItemsItem is a nested struct in tag response

type SupportResourceType added in v1.61.1661

type SupportResourceType struct {
	ArnTemplate  string             `json:"ArnTemplate" xml:"ArnTemplate"`
	ProductCode  string             `json:"ProductCode" xml:"ProductCode"`
	ResourceType string             `json:"ResourceType" xml:"ResourceType"`
	SupportItems []SupportItemsItem `json:"SupportItems" xml:"SupportItems"`
}

SupportResourceType is a nested struct in tag response

type SupportResourceTypes added in v1.61.1661

type SupportResourceTypes struct {
	SupportResourceType []SupportResourceType `json:"SupportResourceType" xml:"SupportResourceType"`
}

SupportResourceTypes is a nested struct in tag response

type Tag

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

Tag is a nested struct in tag response

type TagResource

type TagResource struct {
	ResourceId  string `json:"ResourceId" xml:"ResourceId"`
	ResourceARN string `json:"ResourceARN" xml:"ResourceARN"`
	Tags        []Tag  `json:"Tags" xml:"Tags"`
}

TagResource is a nested struct in tag response

type TagResources

type TagResources struct {
	TagResource []TagResource `json:"TagResource" xml:"TagResource"`
}

TagResources is a nested struct in tag response

type TagResourcesRequest

type TagResourcesRequest struct {
	*requests.RpcRequest
	ResourceARN          *[]string        `position:"Query" name:"ResourceARN"  type:"Repeated"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	Tags                 string           `position:"Query" name:"Tags"`
}

TagResourcesRequest is the request struct for api TagResources

func CreateTagResourcesRequest

func CreateTagResourcesRequest() (request *TagResourcesRequest)

CreateTagResourcesRequest creates a request to invoke TagResources API

type TagResourcesResponse

type TagResourcesResponse struct {
	*responses.BaseResponse
	RequestId       string                        `json:"RequestId" xml:"RequestId"`
	FailedResources FailedResourcesInTagResources `json:"FailedResources" xml:"FailedResources"`
}

TagResourcesResponse is the response struct for api TagResources

func CreateTagResourcesResponse

func CreateTagResourcesResponse() (response *TagResourcesResponse)

CreateTagResourcesResponse creates a response to parse from TagResources response

type TagsInListResourcesByTag added in v1.61.1370

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

TagsInListResourcesByTag is a nested struct in tag response

type TagsInListTagResources added in v1.61.1370

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

TagsInListTagResources is a nested struct in tag response

type Target added in v1.61.1661

type Target struct {
	TargetId   string `json:"TargetId" xml:"TargetId"`
	TargetType int    `json:"TargetType" xml:"TargetType"`
}

Target is a nested struct in tag response

type Targets added in v1.61.1661

type Targets struct {
	Target []Target `json:"Target" xml:"Target"`
}

Targets is a nested struct in tag response

type UntagResourcesRequest

type UntagResourcesRequest struct {
	*requests.RpcRequest
	ResourceARN          *[]string        `position:"Query" name:"ResourceARN"  type:"Repeated"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	TagKey               *[]string        `position:"Query" name:"TagKey"  type:"Repeated"`
}

UntagResourcesRequest is the request struct for api UntagResources

func CreateUntagResourcesRequest

func CreateUntagResourcesRequest() (request *UntagResourcesRequest)

CreateUntagResourcesRequest creates a request to invoke UntagResources API

type UntagResourcesResponse

type UntagResourcesResponse struct {
	*responses.BaseResponse
	RequestId       string                          `json:"RequestId" xml:"RequestId"`
	FailedResources FailedResourcesInUntagResources `json:"FailedResources" xml:"FailedResources"`
}

UntagResourcesResponse is the response struct for api UntagResources

func CreateUntagResourcesResponse

func CreateUntagResourcesResponse() (response *UntagResourcesResponse)

CreateUntagResourcesResponse creates a response to parse from UntagResources response

type Values added in v1.61.267

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

Values is a nested struct in tag response

Jump to

Keyboard shortcuts

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