Documentation ¶
Index ¶
- Constants
- type AddResourceTagRequest
- type AddResourceTagResponse
- type AttachResourcesTagRequest
- type AttachResourcesTagResponse
- type Client
- func (c *Client) AddResourceTag(request *AddResourceTagRequest) (response *AddResourceTagResponse, err error)
- func (c *Client) AddResourceTagWithContext(ctx context.Context, request *AddResourceTagRequest) (response *AddResourceTagResponse, err error)
- func (c *Client) AttachResourcesTag(request *AttachResourcesTagRequest) (response *AttachResourcesTagResponse, err error)
- func (c *Client) AttachResourcesTagWithContext(ctx context.Context, request *AttachResourcesTagRequest) (response *AttachResourcesTagResponse, err error)
- func (c *Client) CreateTag(request *CreateTagRequest) (response *CreateTagResponse, err error)
- func (c *Client) CreateTagWithContext(ctx context.Context, request *CreateTagRequest) (response *CreateTagResponse, err error)
- func (c *Client) CreateTags(request *CreateTagsRequest) (response *CreateTagsResponse, err error)
- func (c *Client) CreateTagsWithContext(ctx context.Context, request *CreateTagsRequest) (response *CreateTagsResponse, err error)
- func (c *Client) DeleteResourceTag(request *DeleteResourceTagRequest) (response *DeleteResourceTagResponse, err error)
- func (c *Client) DeleteResourceTagWithContext(ctx context.Context, request *DeleteResourceTagRequest) (response *DeleteResourceTagResponse, err error)
- func (c *Client) DeleteTag(request *DeleteTagRequest) (response *DeleteTagResponse, err error)
- func (c *Client) DeleteTagWithContext(ctx context.Context, request *DeleteTagRequest) (response *DeleteTagResponse, err error)
- func (c *Client) DeleteTags(request *DeleteTagsRequest) (response *DeleteTagsResponse, err error)
- func (c *Client) DeleteTagsWithContext(ctx context.Context, request *DeleteTagsRequest) (response *DeleteTagsResponse, err error)
- func (c *Client) DescribeResourceTags(request *DescribeResourceTagsRequest) (response *DescribeResourceTagsResponse, err error)
- func (c *Client) DescribeResourceTagsByResourceIds(request *DescribeResourceTagsByResourceIdsRequest) (response *DescribeResourceTagsByResourceIdsResponse, err error)
- func (c *Client) DescribeResourceTagsByResourceIdsSeq(request *DescribeResourceTagsByResourceIdsSeqRequest) (response *DescribeResourceTagsByResourceIdsSeqResponse, err error)
- func (c *Client) DescribeResourceTagsByResourceIdsSeqWithContext(ctx context.Context, request *DescribeResourceTagsByResourceIdsSeqRequest) (response *DescribeResourceTagsByResourceIdsSeqResponse, err error)
- func (c *Client) DescribeResourceTagsByResourceIdsWithContext(ctx context.Context, request *DescribeResourceTagsByResourceIdsRequest) (response *DescribeResourceTagsByResourceIdsResponse, err error)
- func (c *Client) DescribeResourceTagsByTagKeys(request *DescribeResourceTagsByTagKeysRequest) (response *DescribeResourceTagsByTagKeysResponse, err error)
- func (c *Client) DescribeResourceTagsByTagKeysWithContext(ctx context.Context, request *DescribeResourceTagsByTagKeysRequest) (response *DescribeResourceTagsByTagKeysResponse, err error)
- func (c *Client) DescribeResourceTagsWithContext(ctx context.Context, request *DescribeResourceTagsRequest) (response *DescribeResourceTagsResponse, err error)
- func (c *Client) DescribeResourcesByTags(request *DescribeResourcesByTagsRequest) (response *DescribeResourcesByTagsResponse, err error)
- func (c *Client) DescribeResourcesByTagsUnion(request *DescribeResourcesByTagsUnionRequest) (response *DescribeResourcesByTagsUnionResponse, err error)
- func (c *Client) DescribeResourcesByTagsUnionWithContext(ctx context.Context, request *DescribeResourcesByTagsUnionRequest) (response *DescribeResourcesByTagsUnionResponse, err error)
- func (c *Client) DescribeResourcesByTagsWithContext(ctx context.Context, request *DescribeResourcesByTagsRequest) (response *DescribeResourcesByTagsResponse, err error)
- func (c *Client) DescribeTagKeys(request *DescribeTagKeysRequest) (response *DescribeTagKeysResponse, err error)
- func (c *Client) DescribeTagKeysWithContext(ctx context.Context, request *DescribeTagKeysRequest) (response *DescribeTagKeysResponse, err error)
- func (c *Client) DescribeTagValues(request *DescribeTagValuesRequest) (response *DescribeTagValuesResponse, err error)
- func (c *Client) DescribeTagValuesSeq(request *DescribeTagValuesSeqRequest) (response *DescribeTagValuesSeqResponse, err error)
- func (c *Client) DescribeTagValuesSeqWithContext(ctx context.Context, request *DescribeTagValuesSeqRequest) (response *DescribeTagValuesSeqResponse, err error)
- func (c *Client) DescribeTagValuesWithContext(ctx context.Context, request *DescribeTagValuesRequest) (response *DescribeTagValuesResponse, err error)
- func (c *Client) DescribeTags(request *DescribeTagsRequest) (response *DescribeTagsResponse, err error)
- func (c *Client) DescribeTagsSeq(request *DescribeTagsSeqRequest) (response *DescribeTagsSeqResponse, err error)
- func (c *Client) DescribeTagsSeqWithContext(ctx context.Context, request *DescribeTagsSeqRequest) (response *DescribeTagsSeqResponse, err error)
- func (c *Client) DescribeTagsWithContext(ctx context.Context, request *DescribeTagsRequest) (response *DescribeTagsResponse, err error)
- func (c *Client) DetachResourcesTag(request *DetachResourcesTagRequest) (response *DetachResourcesTagResponse, err error)
- func (c *Client) DetachResourcesTagWithContext(ctx context.Context, request *DetachResourcesTagRequest) (response *DetachResourcesTagResponse, err error)
- func (c *Client) GetResources(request *GetResourcesRequest) (response *GetResourcesResponse, err error)
- func (c *Client) GetResourcesWithContext(ctx context.Context, request *GetResourcesRequest) (response *GetResourcesResponse, err error)
- func (c *Client) GetTagKeys(request *GetTagKeysRequest) (response *GetTagKeysResponse, err error)
- func (c *Client) GetTagKeysWithContext(ctx context.Context, request *GetTagKeysRequest) (response *GetTagKeysResponse, err error)
- func (c *Client) GetTagValues(request *GetTagValuesRequest) (response *GetTagValuesResponse, err error)
- func (c *Client) GetTagValuesWithContext(ctx context.Context, request *GetTagValuesRequest) (response *GetTagValuesResponse, err error)
- func (c *Client) GetTags(request *GetTagsRequest) (response *GetTagsResponse, err error)
- func (c *Client) GetTagsWithContext(ctx context.Context, request *GetTagsRequest) (response *GetTagsResponse, err error)
- func (c *Client) ModifyResourceTags(request *ModifyResourceTagsRequest) (response *ModifyResourceTagsResponse, err error)
- func (c *Client) ModifyResourceTagsWithContext(ctx context.Context, request *ModifyResourceTagsRequest) (response *ModifyResourceTagsResponse, err error)
- func (c *Client) ModifyResourcesTagValue(request *ModifyResourcesTagValueRequest) (response *ModifyResourcesTagValueResponse, err error)
- func (c *Client) ModifyResourcesTagValueWithContext(ctx context.Context, request *ModifyResourcesTagValueRequest) (response *ModifyResourcesTagValueResponse, err error)
- func (c *Client) TagResources(request *TagResourcesRequest) (response *TagResourcesResponse, err error)
- func (c *Client) TagResourcesWithContext(ctx context.Context, request *TagResourcesRequest) (response *TagResourcesResponse, err error)
- func (c *Client) UnTagResources(request *UnTagResourcesRequest) (response *UnTagResourcesResponse, err error)
- func (c *Client) UnTagResourcesWithContext(ctx context.Context, request *UnTagResourcesRequest) (response *UnTagResourcesResponse, err error)
- func (c *Client) UpdateResourceTagValue(request *UpdateResourceTagValueRequest) (response *UpdateResourceTagValueResponse, err error)
- func (c *Client) UpdateResourceTagValueWithContext(ctx context.Context, request *UpdateResourceTagValueRequest) (response *UpdateResourceTagValueResponse, err error)
- type CreateTagRequest
- type CreateTagResponse
- type CreateTagsRequest
- type CreateTagsResponse
- type DeleteResourceTagRequest
- type DeleteResourceTagResponse
- type DeleteTagRequest
- type DeleteTagResponse
- type DeleteTagsRequest
- type DeleteTagsResponse
- type DescribeResourceTagsByResourceIdsRequest
- type DescribeResourceTagsByResourceIdsResponse
- type DescribeResourceTagsByResourceIdsSeqRequest
- type DescribeResourceTagsByResourceIdsSeqResponse
- type DescribeResourceTagsByTagKeysRequest
- type DescribeResourceTagsByTagKeysResponse
- type DescribeResourceTagsRequest
- type DescribeResourceTagsResponse
- type DescribeResourcesByTagsRequest
- type DescribeResourcesByTagsResponse
- type DescribeResourcesByTagsUnionRequest
- type DescribeResourcesByTagsUnionResponse
- type DescribeTagKeysRequest
- type DescribeTagKeysResponse
- type DescribeTagValuesRequest
- type DescribeTagValuesResponse
- type DescribeTagValuesSeqRequest
- type DescribeTagValuesSeqResponse
- type DescribeTagsRequest
- type DescribeTagsResponse
- type DescribeTagsSeqRequest
- type DescribeTagsSeqResponse
- type DetachResourcesTagRequest
- type DetachResourcesTagResponse
- type FailedResource
- type GetResourcesRequest
- type GetResourcesResponse
- type GetTagKeysRequest
- type GetTagKeysResponse
- type GetTagValuesRequest
- type GetTagValuesResponse
- type GetTagsRequest
- type GetTagsResponse
- type ModifyResourceTagsRequest
- type ModifyResourceTagsResponse
- type ModifyResourcesTagValueRequest
- type ModifyResourcesTagValueResponse
- type ResourceIdTag
- type ResourceTag
- type ResourceTagMapping
- type Tag
- type TagFilter
- type TagKeyObject
- type TagResource
- type TagResourcesRequest
- type TagResourcesResponse
- type TagWithDelete
- type UnTagResourcesRequest
- type UnTagResourcesResponse
- type UpdateResourceTagValueRequest
- type UpdateResourceTagValueResponse
Constants ¶
const ( // CAM authentication failed. AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" // The operation failed. FAILEDOPERATION = "FailedOperation" // The `appId` of resources in one single request must be the same. FAILEDOPERATION_RESOURCEAPPIDNOTSAME = "FailedOperation.ResourceAppIdNotSame" // The resource tag is being processed. FAILEDOPERATION_RESOURCETAGPROCESSING = "FailedOperation.ResourceTagProcessing" // Tags associated with resources cannot be deleted. FAILEDOPERATION_TAGATTACHEDRESOURCE = "FailedOperation.TagAttachedResource" // Incorrect parameter. INVALIDPARAMETER = "InvalidParameter" // The `PaginationToken` parameter is invalid. INVALIDPARAMETER_PAGINATIONTOKENINVALID = "InvalidParameter.PaginationTokenInvalid" // System reserved tag keys `qcloud`, `tencent` and `project` cannot be created. INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" // `Tag` parameter error. INVALIDPARAMETER_TAG = "InvalidParameter.Tag" // The current business does not support tag operations. INVALIDPARAMETER_UNSUPPORTEDSERVICE = "InvalidParameter.UnsupportedService" // `DeleteTags` cannot contain the elements in `ReplaceTags` or `AddTags`. INVALIDPARAMETERVALUE_DELETETAGSPARAMERROR = "InvalidParameterValue.DeleteTagsParamError" // Offset error. INVALIDPARAMETERVALUE_OFFSETINVALID = "InvalidParameterValue.OffsetInvalid" // Region error. INVALIDPARAMETERVALUE_REGIONINVALID = "InvalidParameterValue.RegionInvalid" // System reserved tag keys `qcloud`, `tencent` and `project` cannot be created. INVALIDPARAMETERVALUE_RESERVEDTAGKEY = "InvalidParameterValue.ReservedTagKey" // Resource description error. INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" // Resource ID error. INVALIDPARAMETERVALUE_RESOURCEIDINVALID = "InvalidParameterValue.ResourceIdInvalid" // Resource prefix error. INVALIDPARAMETERVALUE_RESOURCEPREFIXINVALID = "InvalidParameterValue.ResourcePrefixInvalid" // Service type error. INVALIDPARAMETERVALUE_SERVICETYPEINVALID = "InvalidParameterValue.ServiceTypeInvalid" // `TagFilters` parameter error INVALIDPARAMETERVALUE_TAGFILTERS = "InvalidParameterValue.TagFilters" // Tag filtering arrays reached the upper limit 6 when querying resources by tag. INVALIDPARAMETERVALUE_TAGFILTERSLENGTHEXCEEDED = "InvalidParameterValue.TagFiltersLengthExceeded" // Tag key contains illegal characters. INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" // There are duplicate `TagKeys` in `TagList`. INVALIDPARAMETERVALUE_TAGKEYDUPLICATE = "InvalidParameterValue.TagKeyDuplicate" // Tag key cannot be empty. INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" // Tag key length exceeds limit. INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" // Tag value contains illegal characters. INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" // The tag value cannot be empty. INVALIDPARAMETERVALUE_TAGVALUEEMPTY = "InvalidParameterValue.TagValueEmpty" // Tag value length exceeds limit. INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" // `Uin` parameter is invalid. INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid" // The quota limit is exceeded. LIMITEXCEEDED = "LimitExceeded" // The number of tags associated with the resource exceeds the limit. LIMITEXCEEDED_RESOURCEATTACHEDTAGS = "LimitExceeded.ResourceAttachedTags" // The number of resources requested at a time reaches the upper limit. LIMITEXCEEDED_RESOURCENUMPERREQUEST = "LimitExceeded.ResourceNumPerRequest" // The number of created tag keys reaches the limit of 1,000. LIMITEXCEEDED_TAGKEY = "LimitExceeded.TagKey" // The number of tags in a single request exceeds the limit. LIMITEXCEEDED_TAGNUMPERREQUEST = "LimitExceeded.TagNumPerRequest" // Each tag key can have up to 1,000 values. LIMITEXCEEDED_TAGVALUE = "LimitExceeded.TagValue" // Missing parameter. MISSINGPARAMETER = "MissingParameter" // Operation denied. OPERATIONDENIED = "OperationDenied" // Tag already exists. RESOURCEINUSE_TAGDUPLICATE = "ResourceInUse.TagDuplicate" // The corresponding tag key has already been associated with the resource. RESOURCEINUSE_TAGKEYATTACHED = "ResourceInUse.TagKeyAttached" // The tag key associated with the resource doesn’t exist. RESOURCENOTFOUND_ATTACHEDTAGKEYNOTFOUND = "ResourceNotFound.AttachedTagKeyNotFound" // Tag does not exist. RESOURCENOTFOUND_TAGNONEXIST = "ResourceNotFound.TagNonExist" )
const APIVersion = "2018-08-13"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddResourceTagRequest ¶
type AddResourceTagRequest struct { *tchttp.BaseRequest // Tag key. TagKey *string `json:"TagKey,omitempty" name:"TagKey"` // Tag value. TagValue *string `json:"TagValue,omitempty" name:"TagValue"` // [Six-segment resource description](https://intl.cloud.tencent.com/document/product/598/10606?from_cn_redirect=1) Resource *string `json:"Resource,omitempty" name:"Resource"` }
func NewAddResourceTagRequest ¶
func NewAddResourceTagRequest() (request *AddResourceTagRequest)
func (*AddResourceTagRequest) FromJsonString ¶
func (r *AddResourceTagRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddResourceTagRequest) ToJsonString ¶
func (r *AddResourceTagRequest) ToJsonString() string
type AddResourceTagResponse ¶
type AddResourceTagResponse struct { *tchttp.BaseResponse Response *struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewAddResourceTagResponse ¶
func NewAddResourceTagResponse() (response *AddResourceTagResponse)
func (*AddResourceTagResponse) FromJsonString ¶
func (r *AddResourceTagResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddResourceTagResponse) ToJsonString ¶
func (r *AddResourceTagResponse) ToJsonString() string
type AttachResourcesTagRequest ¶
type AttachResourcesTagRequest struct { *tchttp.BaseRequest // Resource service name (the third segment in the six-segment resource description) ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"` // Resource ID array, which can contain up to 50 resources ResourceIds []*string `json:"ResourceIds,omitempty" name:"ResourceIds"` // Tag key TagKey *string `json:"TagKey,omitempty" name:"TagKey"` // Tag value TagValue *string `json:"TagValue,omitempty" name:"TagValue"` // Resource region. If resources have the region attribute, this field is required; otherwise, it is optional. ResourceRegion *string `json:"ResourceRegion,omitempty" name:"ResourceRegion"` // Resource prefix (the part before "/" in the last segment in the six-segment resource description), which is optional for COS buckets but required for other Tencent Cloud resources. ResourcePrefix *string `json:"ResourcePrefix,omitempty" name:"ResourcePrefix"` }
func NewAttachResourcesTagRequest ¶
func NewAttachResourcesTagRequest() (request *AttachResourcesTagRequest)
func (*AttachResourcesTagRequest) FromJsonString ¶
func (r *AttachResourcesTagRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AttachResourcesTagRequest) ToJsonString ¶
func (r *AttachResourcesTagRequest) ToJsonString() string
type AttachResourcesTagResponse ¶
type AttachResourcesTagResponse struct { *tchttp.BaseResponse Response *struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewAttachResourcesTagResponse ¶
func NewAttachResourcesTagResponse() (response *AttachResourcesTagResponse)
func (*AttachResourcesTagResponse) FromJsonString ¶
func (r *AttachResourcesTagResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AttachResourcesTagResponse) ToJsonString ¶
func (r *AttachResourcesTagResponse) ToJsonString() string
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) AddResourceTag ¶
func (c *Client) AddResourceTag(request *AddResourceTagRequest) (response *AddResourceTagResponse, err error)
AddResourceTag This API is used to associate resources with tags.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" LIMITEXCEEDED_RESOURCEATTACHEDTAGS = "LimitExceeded.ResourceAttachedTags" LIMITEXCEEDED_TAGKEY = "LimitExceeded.TagKey" LIMITEXCEEDED_TAGVALUE = "LimitExceeded.TagValue" RESOURCEINUSE_TAGKEYATTACHED = "ResourceInUse.TagKeyAttached"
func (*Client) AddResourceTagWithContext ¶
func (c *Client) AddResourceTagWithContext(ctx context.Context, request *AddResourceTagRequest) (response *AddResourceTagResponse, err error)
AddResourceTag This API is used to associate resources with tags.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" LIMITEXCEEDED_RESOURCEATTACHEDTAGS = "LimitExceeded.ResourceAttachedTags" LIMITEXCEEDED_TAGKEY = "LimitExceeded.TagKey" LIMITEXCEEDED_TAGVALUE = "LimitExceeded.TagValue" RESOURCEINUSE_TAGKEYATTACHED = "ResourceInUse.TagKeyAttached"
func (*Client) AttachResourcesTag ¶
func (c *Client) AttachResourcesTag(request *AttachResourcesTagRequest) (response *AttachResourcesTagResponse, err error)
AttachResourcesTag This API is used to associate a tag with multiple resources.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCEAPPIDNOTSAME = "FailedOperation.ResourceAppIdNotSame" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETERVALUE_REGIONINVALID = "InvalidParameterValue.RegionInvalid" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_RESOURCEIDINVALID = "InvalidParameterValue.ResourceIdInvalid" INVALIDPARAMETERVALUE_RESOURCEPREFIXINVALID = "InvalidParameterValue.ResourcePrefixInvalid" INVALIDPARAMETERVALUE_SERVICETYPEINVALID = "InvalidParameterValue.ServiceTypeInvalid" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid" LIMITEXCEEDED_RESOURCEATTACHEDTAGS = "LimitExceeded.ResourceAttachedTags" LIMITEXCEEDED_RESOURCENUMPERREQUEST = "LimitExceeded.ResourceNumPerRequest" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE_TAGKEYATTACHED = "ResourceInUse.TagKeyAttached" RESOURCENOTFOUND_TAGNONEXIST = "ResourceNotFound.TagNonExist"
func (*Client) AttachResourcesTagWithContext ¶
func (c *Client) AttachResourcesTagWithContext(ctx context.Context, request *AttachResourcesTagRequest) (response *AttachResourcesTagResponse, err error)
AttachResourcesTag This API is used to associate a tag with multiple resources.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCEAPPIDNOTSAME = "FailedOperation.ResourceAppIdNotSame" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETERVALUE_REGIONINVALID = "InvalidParameterValue.RegionInvalid" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_RESOURCEIDINVALID = "InvalidParameterValue.ResourceIdInvalid" INVALIDPARAMETERVALUE_RESOURCEPREFIXINVALID = "InvalidParameterValue.ResourcePrefixInvalid" INVALIDPARAMETERVALUE_SERVICETYPEINVALID = "InvalidParameterValue.ServiceTypeInvalid" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid" LIMITEXCEEDED_RESOURCEATTACHEDTAGS = "LimitExceeded.ResourceAttachedTags" LIMITEXCEEDED_RESOURCENUMPERREQUEST = "LimitExceeded.ResourceNumPerRequest" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE_TAGKEYATTACHED = "ResourceInUse.TagKeyAttached" RESOURCENOTFOUND_TAGNONEXIST = "ResourceNotFound.TagNonExist"
func (*Client) CreateTag ¶
func (c *Client) CreateTag(request *CreateTagRequest) (response *CreateTagResponse, err error)
CreateTag This API is used to create a tag key and tag value pair.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETERVALUE_RESERVEDTAGKEY = "InvalidParameterValue.ReservedTagKey" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUEEMPTY = "InvalidParameterValue.TagValueEmpty" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" LIMITEXCEEDED_TAGKEY = "LimitExceeded.TagKey" LIMITEXCEEDED_TAGVALUE = "LimitExceeded.TagValue" RESOURCEINUSE_TAGDUPLICATE = "ResourceInUse.TagDuplicate"
func (*Client) CreateTagWithContext ¶
func (c *Client) CreateTagWithContext(ctx context.Context, request *CreateTagRequest) (response *CreateTagResponse, err error)
CreateTag This API is used to create a tag key and tag value pair.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETERVALUE_RESERVEDTAGKEY = "InvalidParameterValue.ReservedTagKey" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUEEMPTY = "InvalidParameterValue.TagValueEmpty" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" LIMITEXCEEDED_TAGKEY = "LimitExceeded.TagKey" LIMITEXCEEDED_TAGVALUE = "LimitExceeded.TagValue" RESOURCEINUSE_TAGDUPLICATE = "ResourceInUse.TagDuplicate"
func (*Client) CreateTags ¶
func (c *Client) CreateTags(request *CreateTagsRequest) (response *CreateTagsResponse, err error)
CreateTags This API is used to create multiple tag key-value pairs.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETERVALUE_RESERVEDTAGKEY = "InvalidParameterValue.ReservedTagKey" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUEEMPTY = "InvalidParameterValue.TagValueEmpty" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" LIMITEXCEEDED_TAGKEY = "LimitExceeded.TagKey" LIMITEXCEEDED_TAGVALUE = "LimitExceeded.TagValue" RESOURCEINUSE_TAGDUPLICATE = "ResourceInUse.TagDuplicate"
func (*Client) CreateTagsWithContext ¶
func (c *Client) CreateTagsWithContext(ctx context.Context, request *CreateTagsRequest) (response *CreateTagsResponse, err error)
CreateTags This API is used to create multiple tag key-value pairs.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETERVALUE_RESERVEDTAGKEY = "InvalidParameterValue.ReservedTagKey" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUEEMPTY = "InvalidParameterValue.TagValueEmpty" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" LIMITEXCEEDED_TAGKEY = "LimitExceeded.TagKey" LIMITEXCEEDED_TAGVALUE = "LimitExceeded.TagValue" RESOURCEINUSE_TAGDUPLICATE = "ResourceInUse.TagDuplicate"
func (*Client) DeleteResourceTag ¶
func (c *Client) DeleteResourceTag(request *DeleteResourceTagRequest) (response *DeleteResourceTagResponse, err error)
DeleteResourceTag This API is used to unassociate tags and resources.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" RESOURCENOTFOUND_ATTACHEDTAGKEYNOTFOUND = "ResourceNotFound.AttachedTagKeyNotFound"
func (*Client) DeleteResourceTagWithContext ¶
func (c *Client) DeleteResourceTagWithContext(ctx context.Context, request *DeleteResourceTagRequest) (response *DeleteResourceTagResponse, err error)
DeleteResourceTag This API is used to unassociate tags and resources.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" RESOURCENOTFOUND_ATTACHEDTAGKEYNOTFOUND = "ResourceNotFound.AttachedTagKeyNotFound"
func (*Client) DeleteTag ¶
func (c *Client) DeleteTag(request *DeleteTagRequest) (response *DeleteTagResponse, err error)
DeleteTag This API is used to delete a tag key and tag value pair.
error code that may be returned:
FAILEDOPERATION_TAGATTACHEDRESOURCE = "FailedOperation.TagAttachedResource" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUEEMPTY = "InvalidParameterValue.TagValueEmpty" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" RESOURCENOTFOUND_TAGNONEXIST = "ResourceNotFound.TagNonExist"
func (*Client) DeleteTagWithContext ¶
func (c *Client) DeleteTagWithContext(ctx context.Context, request *DeleteTagRequest) (response *DeleteTagResponse, err error)
DeleteTag This API is used to delete a tag key and tag value pair.
error code that may be returned:
FAILEDOPERATION_TAGATTACHEDRESOURCE = "FailedOperation.TagAttachedResource" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUEEMPTY = "InvalidParameterValue.TagValueEmpty" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" RESOURCENOTFOUND_TAGNONEXIST = "ResourceNotFound.TagNonExist"
func (*Client) DeleteTags ¶
func (c *Client) DeleteTags(request *DeleteTagsRequest) (response *DeleteTagsResponse, err error)
DeleteTags This API is used to delete multiple tag key-value pairs.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TAGATTACHEDRESOURCE = "FailedOperation.TagAttachedResource" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUEEMPTY = "InvalidParameterValue.TagValueEmpty" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" RESOURCENOTFOUND_TAGNONEXIST = "ResourceNotFound.TagNonExist"
func (*Client) DeleteTagsWithContext ¶
func (c *Client) DeleteTagsWithContext(ctx context.Context, request *DeleteTagsRequest) (response *DeleteTagsResponse, err error)
DeleteTags This API is used to delete multiple tag key-value pairs.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TAGATTACHEDRESOURCE = "FailedOperation.TagAttachedResource" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUEEMPTY = "InvalidParameterValue.TagValueEmpty" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" RESOURCENOTFOUND_TAGNONEXIST = "ResourceNotFound.TagNonExist"
func (*Client) DescribeResourceTags ¶
func (c *Client) DescribeResourceTags(request *DescribeResourceTagsRequest) (response *DescribeResourceTagsResponse, err error)
DescribeResourceTags This API is used to query the tags associated with a resource.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeResourceTagsByResourceIds ¶
func (c *Client) DescribeResourceTagsByResourceIds(request *DescribeResourceTagsByResourceIdsRequest) (response *DescribeResourceTagsByResourceIdsResponse, err error)
DescribeResourceTagsByResourceIds This API is used to query the tag key-value pairs associated with an existing resource.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_REGIONINVALID = "InvalidParameterValue.RegionInvalid" INVALIDPARAMETERVALUE_RESOURCEIDINVALID = "InvalidParameterValue.ResourceIdInvalid" INVALIDPARAMETERVALUE_RESOURCEPREFIXINVALID = "InvalidParameterValue.ResourcePrefixInvalid" INVALIDPARAMETERVALUE_SERVICETYPEINVALID = "InvalidParameterValue.ServiceTypeInvalid" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid"
func (*Client) DescribeResourceTagsByResourceIdsSeq ¶
func (c *Client) DescribeResourceTagsByResourceIdsSeq(request *DescribeResourceTagsByResourceIdsSeqRequest) (response *DescribeResourceTagsByResourceIdsSeqResponse, err error)
DescribeResourceTagsByResourceIdsSeq This API is used to view the tags associated with a resource in sequence.
error code that may be returned:
INVALIDPARAMETERVALUE_OFFSETINVALID = "InvalidParameterValue.OffsetInvalid" INVALIDPARAMETERVALUE_REGIONINVALID = "InvalidParameterValue.RegionInvalid" INVALIDPARAMETERVALUE_RESOURCEIDINVALID = "InvalidParameterValue.ResourceIdInvalid" INVALIDPARAMETERVALUE_RESOURCEPREFIXINVALID = "InvalidParameterValue.ResourcePrefixInvalid" INVALIDPARAMETERVALUE_SERVICETYPEINVALID = "InvalidParameterValue.ServiceTypeInvalid" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid"
func (*Client) DescribeResourceTagsByResourceIdsSeqWithContext ¶
func (c *Client) DescribeResourceTagsByResourceIdsSeqWithContext(ctx context.Context, request *DescribeResourceTagsByResourceIdsSeqRequest) (response *DescribeResourceTagsByResourceIdsSeqResponse, err error)
DescribeResourceTagsByResourceIdsSeq This API is used to view the tags associated with a resource in sequence.
error code that may be returned:
INVALIDPARAMETERVALUE_OFFSETINVALID = "InvalidParameterValue.OffsetInvalid" INVALIDPARAMETERVALUE_REGIONINVALID = "InvalidParameterValue.RegionInvalid" INVALIDPARAMETERVALUE_RESOURCEIDINVALID = "InvalidParameterValue.ResourceIdInvalid" INVALIDPARAMETERVALUE_RESOURCEPREFIXINVALID = "InvalidParameterValue.ResourcePrefixInvalid" INVALIDPARAMETERVALUE_SERVICETYPEINVALID = "InvalidParameterValue.ServiceTypeInvalid" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid"
func (*Client) DescribeResourceTagsByResourceIdsWithContext ¶
func (c *Client) DescribeResourceTagsByResourceIdsWithContext(ctx context.Context, request *DescribeResourceTagsByResourceIdsRequest) (response *DescribeResourceTagsByResourceIdsResponse, err error)
DescribeResourceTagsByResourceIds This API is used to query the tag key-value pairs associated with an existing resource.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_REGIONINVALID = "InvalidParameterValue.RegionInvalid" INVALIDPARAMETERVALUE_RESOURCEIDINVALID = "InvalidParameterValue.ResourceIdInvalid" INVALIDPARAMETERVALUE_RESOURCEPREFIXINVALID = "InvalidParameterValue.ResourcePrefixInvalid" INVALIDPARAMETERVALUE_SERVICETYPEINVALID = "InvalidParameterValue.ServiceTypeInvalid" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid"
func (*Client) DescribeResourceTagsByTagKeys ¶
func (c *Client) DescribeResourceTagsByTagKeys(request *DescribeResourceTagsByTagKeysRequest) (response *DescribeResourceTagsByTagKeysResponse, err error)
DescribeResourceTagsByTagKeys This API is used to get resource tags based on tag keys.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_TAG = "InvalidParameter.Tag" INVALIDPARAMETERVALUE_REGIONINVALID = "InvalidParameterValue.RegionInvalid" INVALIDPARAMETERVALUE_RESOURCEIDINVALID = "InvalidParameterValue.ResourceIdInvalid" INVALIDPARAMETERVALUE_RESOURCEPREFIXINVALID = "InvalidParameterValue.ResourcePrefixInvalid" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded"
func (*Client) DescribeResourceTagsByTagKeysWithContext ¶
func (c *Client) DescribeResourceTagsByTagKeysWithContext(ctx context.Context, request *DescribeResourceTagsByTagKeysRequest) (response *DescribeResourceTagsByTagKeysResponse, err error)
DescribeResourceTagsByTagKeys This API is used to get resource tags based on tag keys.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_TAG = "InvalidParameter.Tag" INVALIDPARAMETERVALUE_REGIONINVALID = "InvalidParameterValue.RegionInvalid" INVALIDPARAMETERVALUE_RESOURCEIDINVALID = "InvalidParameterValue.ResourceIdInvalid" INVALIDPARAMETERVALUE_RESOURCEPREFIXINVALID = "InvalidParameterValue.ResourcePrefixInvalid" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded"
func (*Client) DescribeResourceTagsWithContext ¶
func (c *Client) DescribeResourceTagsWithContext(ctx context.Context, request *DescribeResourceTagsRequest) (response *DescribeResourceTagsResponse, err error)
DescribeResourceTags This API is used to query the tags associated with a resource.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeResourcesByTags ¶
func (c *Client) DescribeResourcesByTags(request *DescribeResourcesByTagsRequest) (response *DescribeResourcesByTagsResponse, err error)
DescribeResourcesByTags This API is used to query resources by tags.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_TAGFILTERS = "InvalidParameterValue.TagFilters" INVALIDPARAMETERVALUE_TAGFILTERSLENGTHEXCEEDED = "InvalidParameterValue.TagFiltersLengthExceeded" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid"
func (*Client) DescribeResourcesByTagsUnion ¶
func (c *Client) DescribeResourcesByTagsUnion(request *DescribeResourcesByTagsUnionRequest) (response *DescribeResourcesByTagsUnionResponse, err error)
DescribeResourcesByTagsUnion This API is used to query resource list by tags.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_TAGFILTERS = "InvalidParameterValue.TagFilters" INVALIDPARAMETERVALUE_TAGFILTERSLENGTHEXCEEDED = "InvalidParameterValue.TagFiltersLengthExceeded" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid"
func (*Client) DescribeResourcesByTagsUnionWithContext ¶
func (c *Client) DescribeResourcesByTagsUnionWithContext(ctx context.Context, request *DescribeResourcesByTagsUnionRequest) (response *DescribeResourcesByTagsUnionResponse, err error)
DescribeResourcesByTagsUnion This API is used to query resource list by tags.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_TAGFILTERS = "InvalidParameterValue.TagFilters" INVALIDPARAMETERVALUE_TAGFILTERSLENGTHEXCEEDED = "InvalidParameterValue.TagFiltersLengthExceeded" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid"
func (*Client) DescribeResourcesByTagsWithContext ¶
func (c *Client) DescribeResourcesByTagsWithContext(ctx context.Context, request *DescribeResourcesByTagsRequest) (response *DescribeResourcesByTagsResponse, err error)
DescribeResourcesByTags This API is used to query resources by tags.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_TAGFILTERS = "InvalidParameterValue.TagFilters" INVALIDPARAMETERVALUE_TAGFILTERSLENGTHEXCEEDED = "InvalidParameterValue.TagFiltersLengthExceeded" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid"
func (*Client) DescribeTagKeys ¶
func (c *Client) DescribeTagKeys(request *DescribeTagKeysRequest) (response *DescribeTagKeysResponse, err error)
DescribeTagKeys This API is used to query tag keys in an existing tag list.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid"
func (*Client) DescribeTagKeysWithContext ¶
func (c *Client) DescribeTagKeysWithContext(ctx context.Context, request *DescribeTagKeysRequest) (response *DescribeTagKeysResponse, err error)
DescribeTagKeys This API is used to query tag keys in an existing tag list.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid"
func (*Client) DescribeTagValues ¶
func (c *Client) DescribeTagValues(request *DescribeTagValuesRequest) (response *DescribeTagValuesResponse, err error)
DescribeTagValues This API is used to query tag values in an existing tag list.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid"
func (*Client) DescribeTagValuesSeq ¶
func (c *Client) DescribeTagValuesSeq(request *DescribeTagValuesSeqRequest) (response *DescribeTagValuesSeqResponse, err error)
DescribeTagValuesSeq This API is used to query tag values in a created tag list.
error code that may be returned:
INVALIDPARAMETERVALUE_OFFSETINVALID = "InvalidParameterValue.OffsetInvalid" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid"
func (*Client) DescribeTagValuesSeqWithContext ¶
func (c *Client) DescribeTagValuesSeqWithContext(ctx context.Context, request *DescribeTagValuesSeqRequest) (response *DescribeTagValuesSeqResponse, err error)
DescribeTagValuesSeq This API is used to query tag values in a created tag list.
error code that may be returned:
INVALIDPARAMETERVALUE_OFFSETINVALID = "InvalidParameterValue.OffsetInvalid" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid"
func (*Client) DescribeTagValuesWithContext ¶
func (c *Client) DescribeTagValuesWithContext(ctx context.Context, request *DescribeTagValuesRequest) (response *DescribeTagValuesResponse, err error)
DescribeTagValues This API is used to query tag values in an existing tag list.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid"
func (*Client) DescribeTags ¶
func (c *Client) DescribeTags(request *DescribeTagsRequest) (response *DescribeTagsResponse, err error)
DescribeTags This API is used to query existing tag lists.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid"
func (*Client) DescribeTagsSeq ¶
func (c *Client) DescribeTagsSeq(request *DescribeTagsSeqRequest) (response *DescribeTagsSeqResponse, err error)
DescribeTagsSeq This API is used to query the created tag lists.
error code that may be returned:
INVALIDPARAMETERVALUE_OFFSETINVALID = "InvalidParameterValue.OffsetInvalid" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid"
func (*Client) DescribeTagsSeqWithContext ¶
func (c *Client) DescribeTagsSeqWithContext(ctx context.Context, request *DescribeTagsSeqRequest) (response *DescribeTagsSeqResponse, err error)
DescribeTagsSeq This API is used to query the created tag lists.
error code that may be returned:
INVALIDPARAMETERVALUE_OFFSETINVALID = "InvalidParameterValue.OffsetInvalid" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid"
func (*Client) DescribeTagsWithContext ¶
func (c *Client) DescribeTagsWithContext(ctx context.Context, request *DescribeTagsRequest) (response *DescribeTagsResponse, err error)
DescribeTags This API is used to query existing tag lists.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid"
func (*Client) DetachResourcesTag ¶
func (c *Client) DetachResourcesTag(request *DetachResourcesTagRequest) (response *DetachResourcesTagResponse, err error)
DetachResourcesTag This API is used to unbind a tag from multiple resources.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCEAPPIDNOTSAME = "FailedOperation.ResourceAppIdNotSame" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_REGIONINVALID = "InvalidParameterValue.RegionInvalid" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_RESOURCEIDINVALID = "InvalidParameterValue.ResourceIdInvalid" INVALIDPARAMETERVALUE_RESOURCEPREFIXINVALID = "InvalidParameterValue.ResourcePrefixInvalid" INVALIDPARAMETERVALUE_SERVICETYPEINVALID = "InvalidParameterValue.ServiceTypeInvalid" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" LIMITEXCEEDED_RESOURCENUMPERREQUEST = "LimitExceeded.ResourceNumPerRequest" RESOURCENOTFOUND_ATTACHEDTAGKEYNOTFOUND = "ResourceNotFound.AttachedTagKeyNotFound"
func (*Client) DetachResourcesTagWithContext ¶
func (c *Client) DetachResourcesTagWithContext(ctx context.Context, request *DetachResourcesTagRequest) (response *DetachResourcesTagResponse, err error)
DetachResourcesTag This API is used to unbind a tag from multiple resources.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCEAPPIDNOTSAME = "FailedOperation.ResourceAppIdNotSame" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_REGIONINVALID = "InvalidParameterValue.RegionInvalid" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_RESOURCEIDINVALID = "InvalidParameterValue.ResourceIdInvalid" INVALIDPARAMETERVALUE_RESOURCEPREFIXINVALID = "InvalidParameterValue.ResourcePrefixInvalid" INVALIDPARAMETERVALUE_SERVICETYPEINVALID = "InvalidParameterValue.ServiceTypeInvalid" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" LIMITEXCEEDED_RESOURCENUMPERREQUEST = "LimitExceeded.ResourceNumPerRequest" RESOURCENOTFOUND_ATTACHEDTAGKEYNOTFOUND = "ResourceNotFound.AttachedTagKeyNotFound"
func (*Client) GetResources ¶
func (c *Client) GetResources(request *GetResourcesRequest) (response *GetResourcesResponse, err error)
GetResources This API is used to query the list of resources associated with a tag.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCETAGPROCESSING = "FailedOperation.ResourceTagProcessing" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETER_TAG = "InvalidParameter.Tag" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_TAGKEYDUPLICATE = "InvalidParameterValue.TagKeyDuplicate" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" LIMITEXCEEDED_RESOURCENUMPERREQUEST = "LimitExceeded.ResourceNumPerRequest" LIMITEXCEEDED_TAGNUMPERREQUEST = "LimitExceeded.TagNumPerRequest" LIMITEXCEEDED_TAGVALUE = "LimitExceeded.TagValue"
func (*Client) GetResourcesWithContext ¶
func (c *Client) GetResourcesWithContext(ctx context.Context, request *GetResourcesRequest) (response *GetResourcesResponse, err error)
GetResources This API is used to query the list of resources associated with a tag.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCETAGPROCESSING = "FailedOperation.ResourceTagProcessing" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETER_TAG = "InvalidParameter.Tag" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_TAGKEYDUPLICATE = "InvalidParameterValue.TagKeyDuplicate" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" LIMITEXCEEDED_RESOURCENUMPERREQUEST = "LimitExceeded.ResourceNumPerRequest" LIMITEXCEEDED_TAGNUMPERREQUEST = "LimitExceeded.TagNumPerRequest" LIMITEXCEEDED_TAGVALUE = "LimitExceeded.TagValue"
func (*Client) GetTagKeys ¶
func (c *Client) GetTagKeys(request *GetTagKeysRequest) (response *GetTagKeysResponse, err error)
GetTagKeys This API is used to query the list of tag keys.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PAGINATIONTOKENINVALID = "InvalidParameter.PaginationTokenInvalid" INVALIDPARAMETERVALUE_RESERVEDTAGKEY = "InvalidParameterValue.ReservedTagKey" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" LIMITEXCEEDED = "LimitExceeded"
func (*Client) GetTagKeysWithContext ¶
func (c *Client) GetTagKeysWithContext(ctx context.Context, request *GetTagKeysRequest) (response *GetTagKeysResponse, err error)
GetTagKeys This API is used to query the list of tag keys.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PAGINATIONTOKENINVALID = "InvalidParameter.PaginationTokenInvalid" INVALIDPARAMETERVALUE_RESERVEDTAGKEY = "InvalidParameterValue.ReservedTagKey" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" LIMITEXCEEDED = "LimitExceeded"
func (*Client) GetTagValues ¶
func (c *Client) GetTagValues(request *GetTagValuesRequest) (response *GetTagValuesResponse, err error)
GetTagValues This API is used to query tag values in the list of created tags.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PAGINATIONTOKENINVALID = "InvalidParameter.PaginationTokenInvalid" INVALIDPARAMETERVALUE_RESERVEDTAGKEY = "InvalidParameterValue.ReservedTagKey" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter"
func (*Client) GetTagValuesWithContext ¶
func (c *Client) GetTagValuesWithContext(ctx context.Context, request *GetTagValuesRequest) (response *GetTagValuesResponse, err error)
GetTagValues This API is used to query tag values in the list of created tags.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PAGINATIONTOKENINVALID = "InvalidParameter.PaginationTokenInvalid" INVALIDPARAMETERVALUE_RESERVEDTAGKEY = "InvalidParameterValue.ReservedTagKey" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter"
func (*Client) GetTags ¶
func (c *Client) GetTags(request *GetTagsRequest) (response *GetTagsResponse, err error)
GetTags This API is used to get the list of created tags.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PAGINATIONTOKENINVALID = "InvalidParameter.PaginationTokenInvalid" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" LIMITEXCEEDED = "LimitExceeded"
func (*Client) GetTagsWithContext ¶
func (c *Client) GetTagsWithContext(ctx context.Context, request *GetTagsRequest) (response *GetTagsResponse, err error)
GetTags This API is used to get the list of created tags.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PAGINATIONTOKENINVALID = "InvalidParameter.PaginationTokenInvalid" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" LIMITEXCEEDED = "LimitExceeded"
func (*Client) ModifyResourceTags ¶
func (c *Client) ModifyResourceTags(request *ModifyResourceTagsRequest) (response *ModifyResourceTagsResponse, err error)
ModifyResourceTags This API is used to modify all tags associated with a resource.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETER_TAG = "InvalidParameter.Tag" INVALIDPARAMETERVALUE_DELETETAGSPARAMERROR = "InvalidParameterValue.DeleteTagsParamError" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" LIMITEXCEEDED_RESOURCEATTACHEDTAGS = "LimitExceeded.ResourceAttachedTags" LIMITEXCEEDED_TAGKEY = "LimitExceeded.TagKey" LIMITEXCEEDED_TAGVALUE = "LimitExceeded.TagValue"
func (*Client) ModifyResourceTagsWithContext ¶
func (c *Client) ModifyResourceTagsWithContext(ctx context.Context, request *ModifyResourceTagsRequest) (response *ModifyResourceTagsResponse, err error)
ModifyResourceTags This API is used to modify all tags associated with a resource.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETER_TAG = "InvalidParameter.Tag" INVALIDPARAMETERVALUE_DELETETAGSPARAMERROR = "InvalidParameterValue.DeleteTagsParamError" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" LIMITEXCEEDED_RESOURCEATTACHEDTAGS = "LimitExceeded.ResourceAttachedTags" LIMITEXCEEDED_TAGKEY = "LimitExceeded.TagKey" LIMITEXCEEDED_TAGVALUE = "LimitExceeded.TagValue"
func (*Client) ModifyResourcesTagValue ¶
func (c *Client) ModifyResourcesTagValue(request *ModifyResourcesTagValueRequest) (response *ModifyResourcesTagValueResponse, err error)
ModifyResourcesTagValue This API is used to modify the tag value corresponding to a tag key associated with multiple resources.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCEAPPIDNOTSAME = "FailedOperation.ResourceAppIdNotSame" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_REGIONINVALID = "InvalidParameterValue.RegionInvalid" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_RESOURCEIDINVALID = "InvalidParameterValue.ResourceIdInvalid" INVALIDPARAMETERVALUE_RESOURCEPREFIXINVALID = "InvalidParameterValue.ResourcePrefixInvalid" INVALIDPARAMETERVALUE_SERVICETYPEINVALID = "InvalidParameterValue.ServiceTypeInvalid" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid" LIMITEXCEEDED_RESOURCENUMPERREQUEST = "LimitExceeded.ResourceNumPerRequest" RESOURCENOTFOUND_ATTACHEDTAGKEYNOTFOUND = "ResourceNotFound.AttachedTagKeyNotFound" RESOURCENOTFOUND_TAGNONEXIST = "ResourceNotFound.TagNonExist"
func (*Client) ModifyResourcesTagValueWithContext ¶
func (c *Client) ModifyResourcesTagValueWithContext(ctx context.Context, request *ModifyResourcesTagValueRequest) (response *ModifyResourcesTagValueResponse, err error)
ModifyResourcesTagValue This API is used to modify the tag value corresponding to a tag key associated with multiple resources.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCEAPPIDNOTSAME = "FailedOperation.ResourceAppIdNotSame" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_REGIONINVALID = "InvalidParameterValue.RegionInvalid" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_RESOURCEIDINVALID = "InvalidParameterValue.ResourceIdInvalid" INVALIDPARAMETERVALUE_RESOURCEPREFIXINVALID = "InvalidParameterValue.ResourcePrefixInvalid" INVALIDPARAMETERVALUE_SERVICETYPEINVALID = "InvalidParameterValue.ServiceTypeInvalid" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid" LIMITEXCEEDED_RESOURCENUMPERREQUEST = "LimitExceeded.ResourceNumPerRequest" RESOURCENOTFOUND_ATTACHEDTAGKEYNOTFOUND = "ResourceNotFound.AttachedTagKeyNotFound" RESOURCENOTFOUND_TAGNONEXIST = "ResourceNotFound.TagNonExist"
func (*Client) TagResources ¶
func (c *Client) TagResources(request *TagResourcesRequest) (response *TagResourcesResponse, err error)
TagResources This API is used to create and bind a tag uniformly to multiple specified resources of multiple Tencent Cloud services.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCETAGPROCESSING = "FailedOperation.ResourceTagProcessing" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETER_TAG = "InvalidParameter.Tag" INVALIDPARAMETER_UNSUPPORTEDSERVICE = "InvalidParameter.UnsupportedService" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_TAGKEYDUPLICATE = "InvalidParameterValue.TagKeyDuplicate" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUEEMPTY = "InvalidParameterValue.TagValueEmpty" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" LIMITEXCEEDED_RESOURCENUMPERREQUEST = "LimitExceeded.ResourceNumPerRequest" LIMITEXCEEDED_TAGNUMPERREQUEST = "LimitExceeded.TagNumPerRequest" LIMITEXCEEDED_TAGVALUE = "LimitExceeded.TagValue"
func (*Client) TagResourcesWithContext ¶
func (c *Client) TagResourcesWithContext(ctx context.Context, request *TagResourcesRequest) (response *TagResourcesResponse, err error)
TagResources This API is used to create and bind a tag uniformly to multiple specified resources of multiple Tencent Cloud services.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCETAGPROCESSING = "FailedOperation.ResourceTagProcessing" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETER_TAG = "InvalidParameter.Tag" INVALIDPARAMETER_UNSUPPORTEDSERVICE = "InvalidParameter.UnsupportedService" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_TAGKEYDUPLICATE = "InvalidParameterValue.TagKeyDuplicate" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUEEMPTY = "InvalidParameterValue.TagValueEmpty" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" LIMITEXCEEDED_RESOURCENUMPERREQUEST = "LimitExceeded.ResourceNumPerRequest" LIMITEXCEEDED_TAGNUMPERREQUEST = "LimitExceeded.TagNumPerRequest" LIMITEXCEEDED_TAGVALUE = "LimitExceeded.TagValue"
func (*Client) UnTagResources ¶
func (c *Client) UnTagResources(request *UnTagResourcesRequest) (response *UnTagResourcesResponse, err error)
UnTagResources This API is used to unbind a tag uniformly from multiple specified resources of multiple Tencent Cloud services.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCETAGPROCESSING = "FailedOperation.ResourceTagProcessing" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETER_TAG = "InvalidParameter.Tag" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_TAGKEYDUPLICATE = "InvalidParameterValue.TagKeyDuplicate" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" LIMITEXCEEDED_RESOURCENUMPERREQUEST = "LimitExceeded.ResourceNumPerRequest" LIMITEXCEEDED_TAGNUMPERREQUEST = "LimitExceeded.TagNumPerRequest"
func (*Client) UnTagResourcesWithContext ¶
func (c *Client) UnTagResourcesWithContext(ctx context.Context, request *UnTagResourcesRequest) (response *UnTagResourcesResponse, err error)
UnTagResources This API is used to unbind a tag uniformly from multiple specified resources of multiple Tencent Cloud services.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCETAGPROCESSING = "FailedOperation.ResourceTagProcessing" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETER_TAG = "InvalidParameter.Tag" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_TAGKEYDUPLICATE = "InvalidParameterValue.TagKeyDuplicate" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" LIMITEXCEEDED_RESOURCENUMPERREQUEST = "LimitExceeded.ResourceNumPerRequest" LIMITEXCEEDED_TAGNUMPERREQUEST = "LimitExceeded.TagNumPerRequest"
func (*Client) UpdateResourceTagValue ¶
func (c *Client) UpdateResourceTagValue(request *UpdateResourceTagValueRequest) (response *UpdateResourceTagValueResponse, err error)
UpdateResourceTagValue This API is used to modify the values of tags associated with a resource (the tag key does not change).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" LIMITEXCEEDED_TAGVALUE = "LimitExceeded.TagValue" RESOURCENOTFOUND_ATTACHEDTAGKEYNOTFOUND = "ResourceNotFound.AttachedTagKeyNotFound"
func (*Client) UpdateResourceTagValueWithContext ¶
func (c *Client) UpdateResourceTagValueWithContext(ctx context.Context, request *UpdateResourceTagValueRequest) (response *UpdateResourceTagValueResponse, err error)
UpdateResourceTagValue This API is used to modify the values of tags associated with a resource (the tag key does not change).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" LIMITEXCEEDED_TAGVALUE = "LimitExceeded.TagValue" RESOURCENOTFOUND_ATTACHEDTAGKEYNOTFOUND = "ResourceNotFound.AttachedTagKeyNotFound"
type CreateTagRequest ¶
type CreateTagRequest struct { *tchttp.BaseRequest // Tag key. TagKey *string `json:"TagKey,omitempty" name:"TagKey"` // Tag value. TagValue *string `json:"TagValue,omitempty" name:"TagValue"` }
func NewCreateTagRequest ¶
func NewCreateTagRequest() (request *CreateTagRequest)
func (*CreateTagRequest) FromJsonString ¶
func (r *CreateTagRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTagRequest) ToJsonString ¶
func (r *CreateTagRequest) ToJsonString() string
type CreateTagResponse ¶
type CreateTagResponse struct { *tchttp.BaseResponse Response *struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateTagResponse ¶
func NewCreateTagResponse() (response *CreateTagResponse)
func (*CreateTagResponse) FromJsonString ¶
func (r *CreateTagResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTagResponse) ToJsonString ¶
func (r *CreateTagResponse) ToJsonString() string
type CreateTagsRequest ¶
type CreateTagsRequest struct { *tchttp.BaseRequest // Tag list. // Value range of N: 0–9 Tags []*Tag `json:"Tags,omitempty" name:"Tags"` }
func NewCreateTagsRequest ¶
func NewCreateTagsRequest() (request *CreateTagsRequest)
func (*CreateTagsRequest) FromJsonString ¶
func (r *CreateTagsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTagsRequest) ToJsonString ¶
func (r *CreateTagsRequest) ToJsonString() string
type CreateTagsResponse ¶
type CreateTagsResponse struct { *tchttp.BaseResponse Response *struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateTagsResponse ¶
func NewCreateTagsResponse() (response *CreateTagsResponse)
func (*CreateTagsResponse) FromJsonString ¶
func (r *CreateTagsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTagsResponse) ToJsonString ¶
func (r *CreateTagsResponse) ToJsonString() string
type DeleteResourceTagRequest ¶
type DeleteResourceTagRequest struct { *tchttp.BaseRequest // Tag key. TagKey *string `json:"TagKey,omitempty" name:"TagKey"` // [Six-segment resource description](https://intl.cloud.tencent.com/document/product/598/10606?from_cn_redirect=1) Resource *string `json:"Resource,omitempty" name:"Resource"` }
func NewDeleteResourceTagRequest ¶
func NewDeleteResourceTagRequest() (request *DeleteResourceTagRequest)
func (*DeleteResourceTagRequest) FromJsonString ¶
func (r *DeleteResourceTagRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteResourceTagRequest) ToJsonString ¶
func (r *DeleteResourceTagRequest) ToJsonString() string
type DeleteResourceTagResponse ¶
type DeleteResourceTagResponse struct { *tchttp.BaseResponse Response *struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteResourceTagResponse ¶
func NewDeleteResourceTagResponse() (response *DeleteResourceTagResponse)
func (*DeleteResourceTagResponse) FromJsonString ¶
func (r *DeleteResourceTagResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteResourceTagResponse) ToJsonString ¶
func (r *DeleteResourceTagResponse) ToJsonString() string
type DeleteTagRequest ¶
type DeleteTagRequest struct { *tchttp.BaseRequest // The tag key to be deleted. TagKey *string `json:"TagKey,omitempty" name:"TagKey"` // The tag value to be deleted. TagValue *string `json:"TagValue,omitempty" name:"TagValue"` }
func NewDeleteTagRequest ¶
func NewDeleteTagRequest() (request *DeleteTagRequest)
func (*DeleteTagRequest) FromJsonString ¶
func (r *DeleteTagRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTagRequest) ToJsonString ¶
func (r *DeleteTagRequest) ToJsonString() string
type DeleteTagResponse ¶
type DeleteTagResponse struct { *tchttp.BaseResponse Response *struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteTagResponse ¶
func NewDeleteTagResponse() (response *DeleteTagResponse)
func (*DeleteTagResponse) FromJsonString ¶
func (r *DeleteTagResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTagResponse) ToJsonString ¶
func (r *DeleteTagResponse) ToJsonString() string
type DeleteTagsRequest ¶
type DeleteTagsRequest struct { *tchttp.BaseRequest // Tag list. // Value range of N: 0–9 Tags []*Tag `json:"Tags,omitempty" name:"Tags"` }
func NewDeleteTagsRequest ¶
func NewDeleteTagsRequest() (request *DeleteTagsRequest)
func (*DeleteTagsRequest) FromJsonString ¶
func (r *DeleteTagsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTagsRequest) ToJsonString ¶
func (r *DeleteTagsRequest) ToJsonString() string
type DeleteTagsResponse ¶
type DeleteTagsResponse struct { *tchttp.BaseResponse Response *struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteTagsResponse ¶
func NewDeleteTagsResponse() (response *DeleteTagsResponse)
func (*DeleteTagsResponse) FromJsonString ¶
func (r *DeleteTagsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTagsResponse) ToJsonString ¶
func (r *DeleteTagsResponse) ToJsonString() string
type DescribeResourceTagsByResourceIdsRequest ¶
type DescribeResourceTagsByResourceIdsRequest struct { *tchttp.BaseRequest // Service type. ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"` // Resource prefix. ResourcePrefix *string `json:"ResourcePrefix,omitempty" name:"ResourcePrefix"` // Array of resource IDs (up to 50) ResourceIds []*string `json:"ResourceIds,omitempty" name:"ResourceIds"` // The resource's region. ResourceRegion *string `json:"ResourceRegion,omitempty" name:"ResourceRegion"` // Data offset. The default value is 0. Must be an integral multiple of the `Limit` parameter. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Page size. The default value is 0. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeResourceTagsByResourceIdsRequest ¶
func NewDescribeResourceTagsByResourceIdsRequest() (request *DescribeResourceTagsByResourceIdsRequest)
func (*DescribeResourceTagsByResourceIdsRequest) FromJsonString ¶
func (r *DescribeResourceTagsByResourceIdsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourceTagsByResourceIdsRequest) ToJsonString ¶
func (r *DescribeResourceTagsByResourceIdsRequest) ToJsonString() string
type DescribeResourceTagsByResourceIdsResponse ¶
type DescribeResourceTagsByResourceIdsResponse struct { *tchttp.BaseResponse Response *struct { // Total number of results. TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // Data offset. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Page size. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Tag list. Tags []*TagResource `json:"Tags,omitempty" name:"Tags"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeResourceTagsByResourceIdsResponse ¶
func NewDescribeResourceTagsByResourceIdsResponse() (response *DescribeResourceTagsByResourceIdsResponse)
func (*DescribeResourceTagsByResourceIdsResponse) FromJsonString ¶
func (r *DescribeResourceTagsByResourceIdsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourceTagsByResourceIdsResponse) ToJsonString ¶
func (r *DescribeResourceTagsByResourceIdsResponse) ToJsonString() string
type DescribeResourceTagsByResourceIdsSeqRequest ¶
type DescribeResourceTagsByResourceIdsSeqRequest struct { *tchttp.BaseRequest // Service type ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"` // Resource prefix ResourcePrefix *string `json:"ResourcePrefix,omitempty" name:"ResourcePrefix"` // Unique resource ID ResourceIds []*string `json:"ResourceIds,omitempty" name:"ResourceIds"` // Resource region ResourceRegion *string `json:"ResourceRegion,omitempty" name:"ResourceRegion"` // Data offset. Default value: 0. It must be an integer multiple of the `Limit` parameter Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of entries per page. Default value: 15 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeResourceTagsByResourceIdsSeqRequest ¶
func NewDescribeResourceTagsByResourceIdsSeqRequest() (request *DescribeResourceTagsByResourceIdsSeqRequest)
func (*DescribeResourceTagsByResourceIdsSeqRequest) FromJsonString ¶
func (r *DescribeResourceTagsByResourceIdsSeqRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourceTagsByResourceIdsSeqRequest) ToJsonString ¶
func (r *DescribeResourceTagsByResourceIdsSeqRequest) ToJsonString() string
type DescribeResourceTagsByResourceIdsSeqResponse ¶
type DescribeResourceTagsByResourceIdsSeqResponse struct { *tchttp.BaseResponse Response *struct { // Total number of results TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // Data offset Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of entries per page Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Tag list Tags []*TagResource `json:"Tags,omitempty" name:"Tags"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeResourceTagsByResourceIdsSeqResponse ¶
func NewDescribeResourceTagsByResourceIdsSeqResponse() (response *DescribeResourceTagsByResourceIdsSeqResponse)
func (*DescribeResourceTagsByResourceIdsSeqResponse) FromJsonString ¶
func (r *DescribeResourceTagsByResourceIdsSeqResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourceTagsByResourceIdsSeqResponse) ToJsonString ¶
func (r *DescribeResourceTagsByResourceIdsSeqResponse) ToJsonString() string
type DescribeResourceTagsByTagKeysRequest ¶
type DescribeResourceTagsByTagKeysRequest struct { *tchttp.BaseRequest // Service type ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"` // Resource prefix ResourcePrefix *string `json:"ResourcePrefix,omitempty" name:"ResourcePrefix"` // Resource region ResourceRegion *string `json:"ResourceRegion,omitempty" name:"ResourceRegion"` // Unique resource ID ResourceIds []*string `json:"ResourceIds,omitempty" name:"ResourceIds"` // Resource tag key TagKeys []*string `json:"TagKeys,omitempty" name:"TagKeys"` // Number of entries per page. Default value: 400 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Data offset. Default value: 0. It must be an integer multiple of the `Limit` parameter Offset *uint64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeResourceTagsByTagKeysRequest ¶
func NewDescribeResourceTagsByTagKeysRequest() (request *DescribeResourceTagsByTagKeysRequest)
func (*DescribeResourceTagsByTagKeysRequest) FromJsonString ¶
func (r *DescribeResourceTagsByTagKeysRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourceTagsByTagKeysRequest) ToJsonString ¶
func (r *DescribeResourceTagsByTagKeysRequest) ToJsonString() string
type DescribeResourceTagsByTagKeysResponse ¶
type DescribeResourceTagsByTagKeysResponse struct { *tchttp.BaseResponse Response *struct { // Total number of results TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // Data offset Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of entries per page Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Resource tag Rows []*ResourceIdTag `json:"Rows,omitempty" name:"Rows"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeResourceTagsByTagKeysResponse ¶
func NewDescribeResourceTagsByTagKeysResponse() (response *DescribeResourceTagsByTagKeysResponse)
func (*DescribeResourceTagsByTagKeysResponse) FromJsonString ¶
func (r *DescribeResourceTagsByTagKeysResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourceTagsByTagKeysResponse) ToJsonString ¶
func (r *DescribeResourceTagsByTagKeysResponse) ToJsonString() string
type DescribeResourceTagsRequest ¶
type DescribeResourceTagsRequest struct { *tchttp.BaseRequest // Creator `uin` CreateUin *uint64 `json:"CreateUin,omitempty" name:"CreateUin"` // Resource region. ResourceRegion *string `json:"ResourceRegion,omitempty" name:"ResourceRegion"` // Service type. ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"` // Resource prefix ResourcePrefix *string `json:"ResourcePrefix,omitempty" name:"ResourcePrefix"` // Unique resource ID. Queries with `ResourceId` only may be slow or fail to return results. We recommend you also enter `ServiceType`, `ResourcePrefix`, and `ResourceRegion` (which can be ignored for resources that don't have the region attribute) when entering `ResourceId`. ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"` // Data offset. Default value: 0. It must be an integer multiple of the `Limit` parameter Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of entries per page. Default value: 15 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Whether it is a COS resource (0 or 1). This parameter is required when the entered `ResourceId` is a COS resource. CosResourceId *uint64 `json:"CosResourceId,omitempty" name:"CosResourceId"` }
func NewDescribeResourceTagsRequest ¶
func NewDescribeResourceTagsRequest() (request *DescribeResourceTagsRequest)
func (*DescribeResourceTagsRequest) FromJsonString ¶
func (r *DescribeResourceTagsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourceTagsRequest) ToJsonString ¶
func (r *DescribeResourceTagsRequest) ToJsonString() string
type DescribeResourceTagsResponse ¶
type DescribeResourceTagsResponse struct { *tchttp.BaseResponse Response *struct { // Total number of results TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // Data offset. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of entries per page. // Note: this field may return null, indicating that no valid values can be obtained. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Resource tag Rows []*TagResource `json:"Rows,omitempty" name:"Rows"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeResourceTagsResponse ¶
func NewDescribeResourceTagsResponse() (response *DescribeResourceTagsResponse)
func (*DescribeResourceTagsResponse) FromJsonString ¶
func (r *DescribeResourceTagsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourceTagsResponse) ToJsonString ¶
func (r *DescribeResourceTagsResponse) ToJsonString() string
type DescribeResourcesByTagsRequest ¶
type DescribeResourcesByTagsRequest struct { *tchttp.BaseRequest // Tag filtering arrays. TagFilters []*TagFilter `json:"TagFilters,omitempty" name:"TagFilters"` // Tag creator uin. CreateUin *uint64 `json:"CreateUin,omitempty" name:"CreateUin"` // Data offset. The default value is 0. Must be an integral multiple of the `Limit` parameter. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Page size. The default value is 15. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Resource prefix. ResourcePrefix *string `json:"ResourcePrefix,omitempty" name:"ResourcePrefix"` // Unique resource ID. ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"` // The resource's region. ResourceRegion *string `json:"ResourceRegion,omitempty" name:"ResourceRegion"` // Service type. ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"` }
func NewDescribeResourcesByTagsRequest ¶
func NewDescribeResourcesByTagsRequest() (request *DescribeResourcesByTagsRequest)
func (*DescribeResourcesByTagsRequest) FromJsonString ¶
func (r *DescribeResourcesByTagsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourcesByTagsRequest) ToJsonString ¶
func (r *DescribeResourcesByTagsRequest) ToJsonString() string
type DescribeResourcesByTagsResponse ¶
type DescribeResourcesByTagsResponse struct { *tchttp.BaseResponse Response *struct { // Total number of results. TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // Data offset. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of entries per page. // Note: This field may return null, indicating that no valid value is found. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Resource tag. Rows []*ResourceTag `json:"Rows,omitempty" name:"Rows"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeResourcesByTagsResponse ¶
func NewDescribeResourcesByTagsResponse() (response *DescribeResourcesByTagsResponse)
func (*DescribeResourcesByTagsResponse) FromJsonString ¶
func (r *DescribeResourcesByTagsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourcesByTagsResponse) ToJsonString ¶
func (r *DescribeResourcesByTagsResponse) ToJsonString() string
type DescribeResourcesByTagsUnionRequest ¶
type DescribeResourcesByTagsUnionRequest struct { *tchttp.BaseRequest // Tag filtering arrays. TagFilters []*TagFilter `json:"TagFilters,omitempty" name:"TagFilters"` // Tag creator uin. CreateUin *uint64 `json:"CreateUin,omitempty" name:"CreateUin"` // Data offset. The default value is 0. Must be an integral multiple of the `Limit` parameter. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Page size. The default value is 15. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Resource prefix. ResourcePrefix *string `json:"ResourcePrefix,omitempty" name:"ResourcePrefix"` // Unique resource ID. ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"` // The resource’s region. ResourceRegion *string `json:"ResourceRegion,omitempty" name:"ResourceRegion"` // Service type ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"` }
func NewDescribeResourcesByTagsUnionRequest ¶
func NewDescribeResourcesByTagsUnionRequest() (request *DescribeResourcesByTagsUnionRequest)
func (*DescribeResourcesByTagsUnionRequest) FromJsonString ¶
func (r *DescribeResourcesByTagsUnionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourcesByTagsUnionRequest) ToJsonString ¶
func (r *DescribeResourcesByTagsUnionRequest) ToJsonString() string
type DescribeResourcesByTagsUnionResponse ¶
type DescribeResourcesByTagsUnionResponse struct { *tchttp.BaseResponse Response *struct { // Total number of results. TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // Data offset. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // The size of each page. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Resource tag. Rows []*ResourceTag `json:"Rows,omitempty" name:"Rows"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeResourcesByTagsUnionResponse ¶
func NewDescribeResourcesByTagsUnionResponse() (response *DescribeResourcesByTagsUnionResponse)
func (*DescribeResourcesByTagsUnionResponse) FromJsonString ¶
func (r *DescribeResourcesByTagsUnionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourcesByTagsUnionResponse) ToJsonString ¶
func (r *DescribeResourcesByTagsUnionResponse) ToJsonString() string
type DescribeTagKeysRequest ¶
type DescribeTagKeysRequest struct { *tchttp.BaseRequest // Creator `Uin`. If not specified, `Uin` is only used as the query condition. CreateUin *uint64 `json:"CreateUin,omitempty" name:"CreateUin"` // Data offset. The default value is 0. Must be an integral multiple of the `Limit` parameter. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Page size. The default value is 0. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Whether to show project ShowProject *uint64 `json:"ShowProject,omitempty" name:"ShowProject"` }
func NewDescribeTagKeysRequest ¶
func NewDescribeTagKeysRequest() (request *DescribeTagKeysRequest)
func (*DescribeTagKeysRequest) FromJsonString ¶
func (r *DescribeTagKeysRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTagKeysRequest) ToJsonString ¶
func (r *DescribeTagKeysRequest) ToJsonString() string
type DescribeTagKeysResponse ¶
type DescribeTagKeysResponse struct { *tchttp.BaseResponse Response *struct { // Total number of results. TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // Data offset. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Page size. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Tag list. Tags []*string `json:"Tags,omitempty" name:"Tags"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeTagKeysResponse ¶
func NewDescribeTagKeysResponse() (response *DescribeTagKeysResponse)
func (*DescribeTagKeysResponse) FromJsonString ¶
func (r *DescribeTagKeysResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTagKeysResponse) ToJsonString ¶
func (r *DescribeTagKeysResponse) ToJsonString() string
type DescribeTagValuesRequest ¶
type DescribeTagValuesRequest struct { *tchttp.BaseRequest // Tag key list. TagKeys []*string `json:"TagKeys,omitempty" name:"TagKeys"` // Creator `Uin`. If not specified, `Uin` is only used as the query condition. CreateUin *uint64 `json:"CreateUin,omitempty" name:"CreateUin"` // Data offset. The default value is 0. Must be an integral multiple of the `Limit` parameter. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Page size. The default value is 0. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeTagValuesRequest ¶
func NewDescribeTagValuesRequest() (request *DescribeTagValuesRequest)
func (*DescribeTagValuesRequest) FromJsonString ¶
func (r *DescribeTagValuesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTagValuesRequest) ToJsonString ¶
func (r *DescribeTagValuesRequest) ToJsonString() string
type DescribeTagValuesResponse ¶
type DescribeTagValuesResponse struct { *tchttp.BaseResponse Response *struct { // Total number of results. TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // Data offset. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Page size. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Tag list. Tags []*Tag `json:"Tags,omitempty" name:"Tags"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeTagValuesResponse ¶
func NewDescribeTagValuesResponse() (response *DescribeTagValuesResponse)
func (*DescribeTagValuesResponse) FromJsonString ¶
func (r *DescribeTagValuesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTagValuesResponse) ToJsonString ¶
func (r *DescribeTagValuesResponse) ToJsonString() string
type DescribeTagValuesSeqRequest ¶
type DescribeTagValuesSeqRequest struct { *tchttp.BaseRequest // Tag key list TagKeys []*string `json:"TagKeys,omitempty" name:"TagKeys"` // Creator `Uin`. If this parameter is blank or left empty, only `Uin` will be used as a condition for query CreateUin *uint64 `json:"CreateUin,omitempty" name:"CreateUin"` // Data offset. Default value: 0. It must be an integer multiple of the `Limit` parameter Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of entries per page. Default value: 15 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeTagValuesSeqRequest ¶
func NewDescribeTagValuesSeqRequest() (request *DescribeTagValuesSeqRequest)
func (*DescribeTagValuesSeqRequest) FromJsonString ¶
func (r *DescribeTagValuesSeqRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTagValuesSeqRequest) ToJsonString ¶
func (r *DescribeTagValuesSeqRequest) ToJsonString() string
type DescribeTagValuesSeqResponse ¶
type DescribeTagValuesSeqResponse struct { *tchttp.BaseResponse Response *struct { // Total number of results TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // Data offset Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of entries per page Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Tag list Tags []*Tag `json:"Tags,omitempty" name:"Tags"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeTagValuesSeqResponse ¶
func NewDescribeTagValuesSeqResponse() (response *DescribeTagValuesSeqResponse)
func (*DescribeTagValuesSeqResponse) FromJsonString ¶
func (r *DescribeTagValuesSeqResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTagValuesSeqResponse) ToJsonString ¶
func (r *DescribeTagValuesSeqResponse) ToJsonString() string
type DescribeTagsRequest ¶
type DescribeTagsRequest struct { *tchttp.BaseRequest // Tag key. Either exists or does not exist alongside the tag value. If it does not exist, all of the user's tags will be queried. TagKey *string `json:"TagKey,omitempty" name:"TagKey"` // Tag value. Either exists or does not exist alongside the tag key. If it does not exist, all of the user's tags will be queried. TagValue *string `json:"TagValue,omitempty" name:"TagValue"` // Data offset. The default value is 0. Must be an integral multiple of the `Limit` parameter. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Page size. The default value is 0. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Creator `Uin`. If not specified, `Uin` is only used as the query condition. CreateUin *uint64 `json:"CreateUin,omitempty" name:"CreateUin"` // Tag key array, which either exists or does not exist with the tag value. If it does not exist, all tags of the user will be queried. If it is passed in together with `TagKey`, it will be used and the `TagKey` will be ignored. TagKeys []*string `json:"TagKeys,omitempty" name:"TagKeys"` // Whether to show project tag ShowProject *uint64 `json:"ShowProject,omitempty" name:"ShowProject"` }
func NewDescribeTagsRequest ¶
func NewDescribeTagsRequest() (request *DescribeTagsRequest)
func (*DescribeTagsRequest) FromJsonString ¶
func (r *DescribeTagsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTagsRequest) ToJsonString ¶
func (r *DescribeTagsRequest) ToJsonString() string
type DescribeTagsResponse ¶
type DescribeTagsResponse struct { *tchttp.BaseResponse Response *struct { // Total number of results. TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // Data offset. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Page size. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Tag list. Tags []*TagWithDelete `json:"Tags,omitempty" name:"Tags"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeTagsResponse ¶
func NewDescribeTagsResponse() (response *DescribeTagsResponse)
func (*DescribeTagsResponse) FromJsonString ¶
func (r *DescribeTagsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTagsResponse) ToJsonString ¶
func (r *DescribeTagsResponse) ToJsonString() string
type DescribeTagsSeqRequest ¶
type DescribeTagsSeqRequest struct { *tchttp.BaseRequest // Tag key, which either exists or does not exist with the tag value. If it does not exist, all tags of the user will be queried TagKey *string `json:"TagKey,omitempty" name:"TagKey"` // Tag value, which either exists or does not exist with the tag key. If it does not exist, all tags of the user will be queried TagValue *string `json:"TagValue,omitempty" name:"TagValue"` // Data offset. Default value: 0. It must be an integer multiple of the `Limit` parameter Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of entries per page. Default value: 15 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Creator `Uin`. If this parameter is blank or left empty, only `Uin` will be used as a condition for query CreateUin *uint64 `json:"CreateUin,omitempty" name:"CreateUin"` // Tag key array, which either exists or does not exist with the tag value. If it does not exist, all tags of the user will be queried. If it is passed in together with `TagKey`, it will be used and the `TagKey` will be ignored. TagKeys []*string `json:"TagKeys,omitempty" name:"TagKeys"` // Whether to show project tag ShowProject *uint64 `json:"ShowProject,omitempty" name:"ShowProject"` }
func NewDescribeTagsSeqRequest ¶
func NewDescribeTagsSeqRequest() (request *DescribeTagsSeqRequest)
func (*DescribeTagsSeqRequest) FromJsonString ¶
func (r *DescribeTagsSeqRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTagsSeqRequest) ToJsonString ¶
func (r *DescribeTagsSeqRequest) ToJsonString() string
type DescribeTagsSeqResponse ¶
type DescribeTagsSeqResponse struct { *tchttp.BaseResponse Response *struct { // Total number of results TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // Data offset Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of entries per page Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Tag list Tags []*TagWithDelete `json:"Tags,omitempty" name:"Tags"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeTagsSeqResponse ¶
func NewDescribeTagsSeqResponse() (response *DescribeTagsSeqResponse)
func (*DescribeTagsSeqResponse) FromJsonString ¶
func (r *DescribeTagsSeqResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTagsSeqResponse) ToJsonString ¶
func (r *DescribeTagsSeqResponse) ToJsonString() string
type DetachResourcesTagRequest ¶
type DetachResourcesTagRequest struct { *tchttp.BaseRequest // Resource service name (the third segment in the six-segment resource description) ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"` // Resource ID array, which can contain up to 50 resources ResourceIds []*string `json:"ResourceIds,omitempty" name:"ResourceIds"` // Tag key to be unbound TagKey *string `json:"TagKey,omitempty" name:"TagKey"` // Resource region. If resources have the region attribute, this field is required; otherwise, it is optional. ResourceRegion *string `json:"ResourceRegion,omitempty" name:"ResourceRegion"` // Resource prefix (the part before "/" in the last segment in the six-segment resource description), which is optional for COS buckets but required for other Tencent Cloud resources. ResourcePrefix *string `json:"ResourcePrefix,omitempty" name:"ResourcePrefix"` }
func NewDetachResourcesTagRequest ¶
func NewDetachResourcesTagRequest() (request *DetachResourcesTagRequest)
func (*DetachResourcesTagRequest) FromJsonString ¶
func (r *DetachResourcesTagRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DetachResourcesTagRequest) ToJsonString ¶
func (r *DetachResourcesTagRequest) ToJsonString() string
type DetachResourcesTagResponse ¶
type DetachResourcesTagResponse struct { *tchttp.BaseResponse Response *struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDetachResourcesTagResponse ¶
func NewDetachResourcesTagResponse() (response *DetachResourcesTagResponse)
func (*DetachResourcesTagResponse) FromJsonString ¶
func (r *DetachResourcesTagResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DetachResourcesTagResponse) ToJsonString ¶
func (r *DetachResourcesTagResponse) ToJsonString() string
type FailedResource ¶
type GetResourcesRequest ¶
type GetResourcesRequest struct { *tchttp.BaseRequest // Six-segment resource description list. Tencent Cloud uses a six-segment value to describe a resource. // For example, ResourceList.1 = qcs::${ServiceType}:${Region}:${Account}:${ResourcePreifx}/${ResourceId}. // If this parameter is passed in, the list of all matching resources will be returned, and the specified `MaxResults` will become invalid. // Value range of N: 0–9 ResourceList []*string `json:"ResourceList,omitempty" name:"ResourceList"` // Tag key and value. // If multiple tags are specified, resources bound to all such tags will be queried. // Value range of N: 0–5 // There can be up to 10 `TagValues` in each `TagFilters`. TagFilters []*TagFilter `json:"TagFilters,omitempty" name:"TagFilters"` // The token value of the next page obtained from the response of the previous page. // Leave it empty for the first request. PaginationToken *string `json:"PaginationToken,omitempty" name:"PaginationToken"` // Number of data entries to return per page (up to 200). // Default value: 50. MaxResults *uint64 `json:"MaxResults,omitempty" name:"MaxResults"` }
func NewGetResourcesRequest ¶
func NewGetResourcesRequest() (request *GetResourcesRequest)
func (*GetResourcesRequest) FromJsonString ¶
func (r *GetResourcesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetResourcesRequest) ToJsonString ¶
func (r *GetResourcesRequest) ToJsonString() string
type GetResourcesResponse ¶
type GetResourcesResponse struct { *tchttp.BaseResponse Response *struct { // Token value obtained for the next page PaginationToken *string `json:"PaginationToken,omitempty" name:"PaginationToken"` // List of resources and their associated tags (key-value pairs) ResourceTagMappingList []*ResourceTagMapping `json:"ResourceTagMappingList,omitempty" name:"ResourceTagMappingList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetResourcesResponse ¶
func NewGetResourcesResponse() (response *GetResourcesResponse)
func (*GetResourcesResponse) FromJsonString ¶
func (r *GetResourcesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetResourcesResponse) ToJsonString ¶
func (r *GetResourcesResponse) ToJsonString() string
type GetTagKeysRequest ¶
type GetTagKeysRequest struct { *tchttp.BaseRequest // The token value of the next page obtained from the response of the previous page. // Leave it empty for the first request. PaginationToken *string `json:"PaginationToken,omitempty" name:"PaginationToken"` // Number of data entries to return per page (up to 1,000). // Default value: 50. MaxResults *uint64 `json:"MaxResults,omitempty" name:"MaxResults"` }
func NewGetTagKeysRequest ¶
func NewGetTagKeysRequest() (request *GetTagKeysRequest)
func (*GetTagKeysRequest) FromJsonString ¶
func (r *GetTagKeysRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetTagKeysRequest) ToJsonString ¶
func (r *GetTagKeysRequest) ToJsonString() string
type GetTagKeysResponse ¶
type GetTagKeysResponse struct { *tchttp.BaseResponse Response *struct { // Token value obtained for the next page PaginationToken *string `json:"PaginationToken,omitempty" name:"PaginationToken"` // Tag key information. TagKeys []*string `json:"TagKeys,omitempty" name:"TagKeys"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetTagKeysResponse ¶
func NewGetTagKeysResponse() (response *GetTagKeysResponse)
func (*GetTagKeysResponse) FromJsonString ¶
func (r *GetTagKeysResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetTagKeysResponse) ToJsonString ¶
func (r *GetTagKeysResponse) ToJsonString() string
type GetTagValuesRequest ¶
type GetTagValuesRequest struct { *tchttp.BaseRequest // Tag key. // All tag values corresponding to the list of tag keys. // Maximum length: 20 TagKeys []*string `json:"TagKeys,omitempty" name:"TagKeys"` // The token value of the next page obtained from the response of the previous page. // Leave it empty for the first request. PaginationToken *string `json:"PaginationToken,omitempty" name:"PaginationToken"` // Number of data entries to return per page (up to 1,000). // Default value: 50. MaxResults *uint64 `json:"MaxResults,omitempty" name:"MaxResults"` }
func NewGetTagValuesRequest ¶
func NewGetTagValuesRequest() (request *GetTagValuesRequest)
func (*GetTagValuesRequest) FromJsonString ¶
func (r *GetTagValuesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetTagValuesRequest) ToJsonString ¶
func (r *GetTagValuesRequest) ToJsonString() string
type GetTagValuesResponse ¶
type GetTagValuesResponse struct { *tchttp.BaseResponse Response *struct { // Token value obtained for the next page PaginationToken *string `json:"PaginationToken,omitempty" name:"PaginationToken"` // Tag list. Tags []*Tag `json:"Tags,omitempty" name:"Tags"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetTagValuesResponse ¶
func NewGetTagValuesResponse() (response *GetTagValuesResponse)
func (*GetTagValuesResponse) FromJsonString ¶
func (r *GetTagValuesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetTagValuesResponse) ToJsonString ¶
func (r *GetTagValuesResponse) ToJsonString() string
type GetTagsRequest ¶
type GetTagsRequest struct { *tchttp.BaseRequest // The token value of the next page obtained from the response of the previous page. // Leave it empty for the first request. PaginationToken *string `json:"PaginationToken,omitempty" name:"PaginationToken"` // Number of data entries to return per page (up to 1,000). // Default value: 50. MaxResults *uint64 `json:"MaxResults,omitempty" name:"MaxResults"` // Tag key. // All tags corresponding to the list of tag keys. // Maximum length: 20 TagKeys []*string `json:"TagKeys,omitempty" name:"TagKeys"` }
func NewGetTagsRequest ¶
func NewGetTagsRequest() (request *GetTagsRequest)
func (*GetTagsRequest) FromJsonString ¶
func (r *GetTagsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetTagsRequest) ToJsonString ¶
func (r *GetTagsRequest) ToJsonString() string
type GetTagsResponse ¶
type GetTagsResponse struct { *tchttp.BaseResponse Response *struct { // Token value obtained for the next page PaginationToken *string `json:"PaginationToken,omitempty" name:"PaginationToken"` // Tag list. Tags []*Tag `json:"Tags,omitempty" name:"Tags"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetTagsResponse ¶
func NewGetTagsResponse() (response *GetTagsResponse)
func (*GetTagsResponse) FromJsonString ¶
func (r *GetTagsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetTagsResponse) ToJsonString ¶
func (r *GetTagsResponse) ToJsonString() string
type ModifyResourceTagsRequest ¶
type ModifyResourceTagsRequest struct { *tchttp.BaseRequest // [Six-segment resource description](https://intl.cloud.tencent.com/document/product/598/10606?from_cn_redirect=1) Resource *string `json:"Resource,omitempty" name:"Resource"` // The tags to be added or modified. If the resource described by `Resource` is not associated with the input tag keys, an association will be added. If the tag keys are already associated, the values corresponding to the associated tag keys will be modified to the input values. This API must contain either `ReplaceTags` or `DeleteTag`, and these two parameters cannot include the same tag keys. This parameter can be omitted, but it cannot be an empty array. ReplaceTags []*Tag `json:"ReplaceTags,omitempty" name:"ReplaceTags"` // The tags to be disassociated. This API must contain either `ReplaceTags` or `DeleteTag`, and these two parameters cannot include the same tag keys. This parameter can be omitted, but it cannot be an empty array. DeleteTags []*TagKeyObject `json:"DeleteTags,omitempty" name:"DeleteTags"` }
func NewModifyResourceTagsRequest ¶
func NewModifyResourceTagsRequest() (request *ModifyResourceTagsRequest)
func (*ModifyResourceTagsRequest) FromJsonString ¶
func (r *ModifyResourceTagsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyResourceTagsRequest) ToJsonString ¶
func (r *ModifyResourceTagsRequest) ToJsonString() string
type ModifyResourceTagsResponse ¶
type ModifyResourceTagsResponse struct { *tchttp.BaseResponse Response *struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyResourceTagsResponse ¶
func NewModifyResourceTagsResponse() (response *ModifyResourceTagsResponse)
func (*ModifyResourceTagsResponse) FromJsonString ¶
func (r *ModifyResourceTagsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyResourceTagsResponse) ToJsonString ¶
func (r *ModifyResourceTagsResponse) ToJsonString() string
type ModifyResourcesTagValueRequest ¶
type ModifyResourcesTagValueRequest struct { *tchttp.BaseRequest // Resource service name (the third segment in the six-segment resource description) ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"` // Resource ID array, which can contain up to 50 resources ResourceIds []*string `json:"ResourceIds,omitempty" name:"ResourceIds"` // Tag key TagKey *string `json:"TagKey,omitempty" name:"TagKey"` // Tag value TagValue *string `json:"TagValue,omitempty" name:"TagValue"` // Resource region. If resources have the region attribute, this field is required; otherwise, it is optional. ResourceRegion *string `json:"ResourceRegion,omitempty" name:"ResourceRegion"` // Resource prefix (the part before "/" in the last segment in the six-segment resource description), which is optional for COS buckets but required for other Tencent Cloud resources. ResourcePrefix *string `json:"ResourcePrefix,omitempty" name:"ResourcePrefix"` }
func NewModifyResourcesTagValueRequest ¶
func NewModifyResourcesTagValueRequest() (request *ModifyResourcesTagValueRequest)
func (*ModifyResourcesTagValueRequest) FromJsonString ¶
func (r *ModifyResourcesTagValueRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyResourcesTagValueRequest) ToJsonString ¶
func (r *ModifyResourcesTagValueRequest) ToJsonString() string
type ModifyResourcesTagValueResponse ¶
type ModifyResourcesTagValueResponse struct { *tchttp.BaseResponse Response *struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyResourcesTagValueResponse ¶
func NewModifyResourcesTagValueResponse() (response *ModifyResourcesTagValueResponse)
func (*ModifyResourcesTagValueResponse) FromJsonString ¶
func (r *ModifyResourcesTagValueResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyResourcesTagValueResponse) ToJsonString ¶
func (r *ModifyResourcesTagValueResponse) ToJsonString() string
type ResourceIdTag ¶
type ResourceIdTag struct { // Unique resource ID // Note: this field may return null, indicating that no valid values can be obtained ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"` // Tag key-value pair // Note: this field may return null, indicating that no valid values can be obtained TagKeyValues []*Tag `json:"TagKeyValues,omitempty" name:"TagKeyValues"` }
type ResourceTag ¶
type ResourceTag struct { // The resource's region. // Note: This field may return null, indicating that no valid value is found. ResourceRegion *string `json:"ResourceRegion,omitempty" name:"ResourceRegion"` // Service type. // Note: This field may return null, indicating that no valid value is found. ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"` // Resource prefix. // Note: This field may return null, indicating that no valid value is found. ResourcePrefix *string `json:"ResourcePrefix,omitempty" name:"ResourcePrefix"` // Unique resource ID. // Note: This field may return null, indicating that no valid value is found. ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"` // Resource tag. // Note: This field may return null, indicating that no valid value is found. Tags []*Tag `json:"Tags,omitempty" name:"Tags"` }
type ResourceTagMapping ¶
type ResourceTagMapping struct { // Six-segment resource description. Tencent Cloud uses a six-segment value to describe a resource. // For example, ResourceList.1 = qcs::${ServiceType}:${Region}:${Account}:${ResourcePreifx}/${ResourceId}. Resource *string `json:"Resource,omitempty" name:"Resource"` // List of tags associated with the resource Tags []*Tag `json:"Tags,omitempty" name:"Tags"` }
type TagKeyObject ¶
type TagKeyObject struct { // Tag key. TagKey *string `json:"TagKey,omitempty" name:"TagKey"` }
type TagResource ¶
type TagResource struct { // Tag key. TagKey *string `json:"TagKey,omitempty" name:"TagKey"` // Tag value. TagValue *string `json:"TagValue,omitempty" name:"TagValue"` // Resource ID. ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"` // Tag key MD5 value. TagKeyMd5 *string `json:"TagKeyMd5,omitempty" name:"TagKeyMd5"` // Tag value MD5 value. TagValueMd5 *string `json:"TagValueMd5,omitempty" name:"TagValueMd5"` // Resource type // Note: this field may return null, indicating that no valid values found. ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"` }
type TagResourcesRequest ¶
type TagResourcesRequest struct { *tchttp.BaseRequest // Six-segment resource description list. Tencent Cloud uses a six-segment value to describe a resource. For more information, see [CAM](https://intl.cloud.tencent.com/document/product/598/67350?from_cn_redirect=1) > Overview > API List > Six-Segment Resource Information. // For example, ResourceList.1 = qcs::${ServiceType}:${Region}:${Account}:${ResourcePreifx}/${ResourceId}. // Value range of N: 0–9 ResourceList []*string `json:"ResourceList,omitempty" name:"ResourceList"` // Tag key and value. // If multiple tags are specified, all such tags will be created and bound to the specified resources. // For each resource, each tag key can have only one value. If you try to add an existing tag key, the corresponding tag value will be updated to the new value. // Non-existent tags will be automatically created. // Value range of N: 0–9 Tags []*Tag `json:"Tags,omitempty" name:"Tags"` }
func NewTagResourcesRequest ¶
func NewTagResourcesRequest() (request *TagResourcesRequest)
func (*TagResourcesRequest) FromJsonString ¶
func (r *TagResourcesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*TagResourcesRequest) ToJsonString ¶
func (r *TagResourcesRequest) ToJsonString() string
type TagResourcesResponse ¶
type TagResourcesResponse struct { *tchttp.BaseResponse Response *struct { // Information of failed resources. // When tag creating and binding succeeds, the returned `FailedResources` will be empty. // When tag creating and binding partially or completely fails, the returned `FailedResources` will display the details of failed resources. FailedResources []*FailedResource `json:"FailedResources,omitempty" name:"FailedResources"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewTagResourcesResponse ¶
func NewTagResourcesResponse() (response *TagResourcesResponse)
func (*TagResourcesResponse) FromJsonString ¶
func (r *TagResourcesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*TagResourcesResponse) ToJsonString ¶
func (r *TagResourcesResponse) ToJsonString() string
type TagWithDelete ¶
type UnTagResourcesRequest ¶
type UnTagResourcesRequest struct { *tchttp.BaseRequest // Six-segment resource description list. Tencent Cloud uses a six-segment value to describe a resource. For more information, see [CAM](https://intl.cloud.tencent.com/document/product/598/67350?from_cn_redirect=1) > Overview > API List > Six-Segment Resource Information. // For example, ResourceList.1 = qcs::${ServiceType}:${Region}:${Account}:${ResourcePreifx}/${ResourceId}. // Value range of N: 0–9 ResourceList []*string `json:"ResourceList,omitempty" name:"ResourceList"` // Tag key. // Value range: 0–9 TagKeys []*string `json:"TagKeys,omitempty" name:"TagKeys"` }
func NewUnTagResourcesRequest ¶
func NewUnTagResourcesRequest() (request *UnTagResourcesRequest)
func (*UnTagResourcesRequest) FromJsonString ¶
func (r *UnTagResourcesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UnTagResourcesRequest) ToJsonString ¶
func (r *UnTagResourcesRequest) ToJsonString() string
type UnTagResourcesResponse ¶
type UnTagResourcesResponse struct { *tchttp.BaseResponse Response *struct { // Information of failed resources. // When tag unbinding succeeds, the returned `FailedResources` will be empty. // When tag unbinding partially or completely fails, the returned `FailedResources` will display the details of failed resources. FailedResources []*FailedResource `json:"FailedResources,omitempty" name:"FailedResources"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewUnTagResourcesResponse ¶
func NewUnTagResourcesResponse() (response *UnTagResourcesResponse)
func (*UnTagResourcesResponse) FromJsonString ¶
func (r *UnTagResourcesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UnTagResourcesResponse) ToJsonString ¶
func (r *UnTagResourcesResponse) ToJsonString() string
type UpdateResourceTagValueRequest ¶
type UpdateResourceTagValueRequest struct { *tchttp.BaseRequest // Tag key associated with the resource. TagKey *string `json:"TagKey,omitempty" name:"TagKey"` // Modified tag value. TagValue *string `json:"TagValue,omitempty" name:"TagValue"` // [Six-segment resource description](https://intl.cloud.tencent.com/document/product/598/10606?from_cn_redirect=1) Resource *string `json:"Resource,omitempty" name:"Resource"` }
func NewUpdateResourceTagValueRequest ¶
func NewUpdateResourceTagValueRequest() (request *UpdateResourceTagValueRequest)
func (*UpdateResourceTagValueRequest) FromJsonString ¶
func (r *UpdateResourceTagValueRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateResourceTagValueRequest) ToJsonString ¶
func (r *UpdateResourceTagValueRequest) ToJsonString() string
type UpdateResourceTagValueResponse ¶
type UpdateResourceTagValueResponse struct { *tchttp.BaseResponse Response *struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewUpdateResourceTagValueResponse ¶
func NewUpdateResourceTagValueResponse() (response *UpdateResourceTagValueResponse)
func (*UpdateResourceTagValueResponse) FromJsonString ¶
func (r *UpdateResourceTagValueResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateResourceTagValueResponse) ToJsonString ¶
func (r *UpdateResourceTagValueResponse) ToJsonString() string