tag

package
v1.61.1651 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 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 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) 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) 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) 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) 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) 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 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 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 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 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 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
	RequestId string        `json:"RequestId" xml:"RequestId"`
	NextToken string        `json:"NextToken" xml:"NextToken"`
	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 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 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 Tag

type Tag struct {
	Key      string `json:"Key" xml:"Key"`
	Category string `json:"Category" xml:"Category"`
	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 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